b67cafe716
This decomposes the crdtp library into multiple files. Since it wasn't previously rolled it's a bit more than just that. Upstream review: https://chromium-review.googlesource.com/c/deps/inspector_protocol/+/1907115 New Revision: d020a9e614d4a5116a7c71f288c0340e282e1a6e Change-Id: I5c588469654bec3e933804ac706fa967c6fe57bc Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1907973 Auto-Submit: Johannes Henkel <johannes@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Commit-Queue: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#64902} |
||
---|---|---|
.. | ||
crdtp | ||
lib | ||
templates | ||
.clang-format | ||
BUILD.gn | ||
check_protocol_compatibility.py | ||
code_generator.py | ||
codereview.settings | ||
concatenate_protocols.py | ||
convert_protocol_to_json.py | ||
inspector_protocol.gni | ||
LICENSE | ||
OWNERS | ||
pdl.py | ||
README.md | ||
README.v8 | ||
roll.py |
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. 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 encoding_test bindings_test
out/Release/encoding_test
out/Release/bindings_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