tree: 6d84afe1a80623fc26273f90f6e81478a6f20de1 [path history] [tgz]
  1. BUILD.gn
  2. DEPS
  3. LICENSE
  4. OWNERS
  5. README.chromium
  6. README.md
  7. bindings/
  8. check_protocol_compatibility.py
  9. code_generator.py
  10. concatenate_protocols.py
  11. convert_protocol_to_json.py
  12. encoding/
  13. inspector_protocol.gni
  14. lib/
  15. pdl.py
  16. roll.py
  17. templates/
third_party/inspector_protocol/README.md

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