File tree Expand file tree Collapse file tree 2 files changed +39
-0
lines changed
doc/contributing/maintaining Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ This a list of all the dependencies:
19
19
* [ googletest] [ ]
20
20
* [ histogram] [ ]
21
21
* [ icu-small] [ ]
22
+ * [ inspector\_ protocol] [ inspector_protocol ]
22
23
* [ libuv] [ ]
23
24
* [ llhttp] [ ]
24
25
* [ minimatch] [ ]
@@ -272,6 +273,12 @@ and Java libraries providing Unicode and Globalization
272
273
support for software applications.
273
274
See [ maintaining-icu] [ ] for more information.
274
275
276
+ ### inspector\_ protocol
277
+
278
+ The [ inspector\_ protocol] ( https://chromium.googlesource.com/deps/inspector_protocol/ )
279
+ is Chromium's of code generators and templates for the inspector protocol.
280
+ See [ this doc] ( ../../../tools/inspector_protocol/README.md ) for more information.
281
+
275
282
### libuv
276
283
277
284
The [ libuv] ( https://github.com/libuv/libuv ) dependency is a
@@ -411,6 +418,7 @@ according to [RFC 8878](https://datatracker.ietf.org/doc/html/rfc8878).
411
418
[ googletest ] : #googletest
412
419
[ histogram ] : #histogram
413
420
[ icu-small ] : #icu-small
421
+ [ inspector_protocol ] : #inspector_protocol
414
422
[ libuv ] : #libuv
415
423
[ llhttp ] : #llhttp
416
424
[ maintaining-V8 ] : ./maintaining-V8.md
Original file line number Diff line number Diff line change 3
3
This directory contains scripts to update the [ Chromium inspector protocol] [ ]
4
4
to local at ` deps/inspector_protocol ` .
5
5
6
+ To run the ` roll.py ` , a local clone of the inspector_protocol project is required.
7
+ First, you will need to install Chromium's [ depot_tools] [ ] , with ` fetch ` available
8
+ in your ` PATH ` .
9
+
10
+ ``` sh
11
+ $ cd workspace
12
+ /workspace $ mkdir inspector_protocol
13
+ /workspace/inspector_protocol $ fetch inspector_protocol
14
+ # This will create a `src` directory in the current path.
15
+
16
+ # To update local clone.
17
+ /workspace/inspector_protocol $ cd src
18
+ /workspace/inspector_protocol/src $ git checkout main && git pull
19
+ ```
20
+
21
+ With a local clone of the inspector_protocol project up to date, run the following
22
+ commands to roll the dep.
23
+
24
+ ``` sh
25
+ $ cd workspace/node
26
+ /workspace/node $ python tools/inspector_protocol/roll.py \
27
+ --ip_src_upstream /workspace/inspector_protocol/src \
28
+ --node_src_downstream /workspace/node \
29
+ --force
30
+ # Add --force when you decided to take the update.
31
+ ```
32
+
33
+ The ` roll.py ` requires the node repository to be a clean state (no unstaged changes)
34
+ to avoid unexpected overrides.
35
+
6
36
[ Chromium inspector protocol ] : https://chromium.googlesource.com/deps/inspector_protocol/
37
+ [ depot_tools ] : https://commondatastorage.googleapis.com/chrome-infra-docs/flat/depot_tools/docs/html/depot_tools_tutorial.html#_setting_up
You can’t perform that action at this time.
0 commit comments