commit | e8ba1a7665bdcd8336915d5ca4b390e0cf6b1f6f | [log] [tgz] |
---|---|---|
author | Johannes Henkel <johannes@chromium.org> | Wed May 29 17:46:19 2019 |
committer | Johannes Henkel <johannes@chromium.org> | Wed May 29 17:46:19 2019 |
tree | dffd68a3f23718b16529560db8da5baa60ebd95d | |
parent | 39ca567f4a666c3638a370b8377fc9ef049b0081 [diff] |
Make the JINJA2 template for the encoding library copy conditional. A trial run of this for Chromium is here: https://chromium-review.googlesource.com/c/chromium/src/+/1626401 This includes a .json configuration to use the facility to eliminate one of the generated code copies. https://chromium-review.googlesource.com/c/chromium/src/+/1626401/4/content/browser/devtools/protocol_config.json A trial run for V8 is here: https://chromium-review.googlesource.com/c/v8/v8/+/1627901 Change-Id: I3368b3f8937db89e6ed382ba34c8dda797c77fe8
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