v8/third_party/inspector_protocol
Johannes Henkel ee0e4c33bb Add script for rolling the inspector protocol to V8.
This is a tweaked version of the script that I just added to Chromium:

https://cs.chromium.org/chromium/src/third_party/inspector_protocol/roll.py

Change-Id: I21566f2472c20ecfd713996974c0833b7988a122
Reviewed-on: https://chromium-review.googlesource.com/c/1469376
Reviewed-by: Pavel Feldman <pfeldman@chromium.org>
Commit-Queue: Johannes Henkel <johannes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#59609}
2019-02-14 18:44:08 +00:00
..
lib [DevTools] Roll inspector_protocol (v8) ... 2019-02-14 04:42:24 +00:00
templates Roll third_party/inspector_protocol to a0abcb6bfbd8d13071bb0d2ac4ee1066703eb60a. 2019-02-13 00:12:13 +00:00
check_protocol_compatibility.py [DevTools] Roll inspector_protocol (v8) ... 2019-02-14 04:42:24 +00:00
code_generator.py [DevTools] Roll inspector_protocol to 02ca2bc2bb337cb2d4143157383b554f9b75dc99. 2019-02-09 01:54:28 +00:00
codereview.settings Roll inspector_protocol to 0d4255502019144a5dec5669d7992165ae8924e7. 2018-07-17 19:32:31 +00:00
concatenate_protocols.py Roll inspector_protocol to 0d4255502019144a5dec5669d7992165ae8924e7. 2018-07-17 19:32:31 +00:00
convert_protocol_to_json.py Roll inspector_protocol to 460186cff1f0eead0d418626e7e75f52105182b2. 2018-10-24 01:05:53 +00:00
inspector_protocol.gni [DevTools] Roll inspector_protocol to 02ca2bc2bb337cb2d4143157383b554f9b75dc99. 2019-02-09 01:54:28 +00:00
inspector_protocol.gypi [DevTools] Roll inspector_protocol to 02ca2bc2bb337cb2d4143157383b554f9b75dc99. 2019-02-09 01:54:28 +00:00
LICENSE [inspector] use own copy of third_party/inspector_protocol 2016-10-28 18:20:47 +00:00
OWNERS Remove myself from non-toplevel owners files 2017-06-28 10:00:48 +00:00
pdl.py [DevTools] Roll inspector_protocol to 02ca2bc2bb337cb2d4143157383b554f9b75dc99. 2019-02-09 01:54:28 +00:00
README.md [DevTools] Roll inspector_protocol (v8) ... 2019-02-14 04:42:24 +00:00
README.v8 [DevTools] Roll inspector_protocol (v8) ... 2019-02-14 04:42:24 +00:00
roll.py Add script for rolling the inspector protocol to V8. 2019-02-14 18:44:08 +00:00

Chromium inspector (devtools) protocol

This package contains code generators and templates for the Chromium inspector protocol.

The canonical location of this package is at https://chromium.googlesource.com/deps/inspector_protocol/

In the Chromium tree, it's rolled into https://cs.chromium.org/chromium/src/third_party/inspector_protocol/

In the V8 tree, it's rolled into https://cs.chromium.org/chromium/src/v8/third_party/inspector_protocol/

See also Contributing to Chrome Devtools Protocol.

We're working on enabling standalone builds for parts of this package for testing and development, please feel free to ignore this for now. But, if you're familiar with Chromium's development process and have the depot_tools installed, you may use these commands to fetch the package (and dependencies) and build and run the tests:

fetch inspector_protocol
cd src
gn gen out/Release
ninja -C out/Release json_parser_test
out/Release/json_parser_test

You'll probably also need to install g++, since Clang uses this to find the standard C++ headers. E.g.,

sudo apt-get install g++-8