11cb0ef41Sopenharmony_ci# Chromium inspector (devtools) protocol
21cb0ef41Sopenharmony_ci
31cb0ef41Sopenharmony_ciThis package contains code generators and templates for the Chromium
41cb0ef41Sopenharmony_ciinspector protocol.
51cb0ef41Sopenharmony_ci
61cb0ef41Sopenharmony_ciThe canonical location of this package is at
71cb0ef41Sopenharmony_cihttps://chromium.googlesource.com/deps/inspector_protocol/
81cb0ef41Sopenharmony_ci
91cb0ef41Sopenharmony_ciIn the Chromium tree, it's rolled into
101cb0ef41Sopenharmony_cihttps://cs.chromium.org/chromium/src/third_party/inspector_protocol/
111cb0ef41Sopenharmony_ci
121cb0ef41Sopenharmony_ciIn the V8 tree, it's rolled into
131cb0ef41Sopenharmony_cihttps://cs.chromium.org/chromium/src/v8/third_party/inspector_protocol/
141cb0ef41Sopenharmony_ci
151cb0ef41Sopenharmony_ciSee also [Contributing to Chrome Devtools Protocol](https://docs.google.com/document/d/1c-COD2kaK__5iMM5SEx-PzNA7HFmgttcYfOHHX0HaOM/edit).
161cb0ef41Sopenharmony_ci
171cb0ef41Sopenharmony_ciWe're working on enabling standalone builds for parts of this package for
181cb0ef41Sopenharmony_citesting and development, please feel free to ignore this for now.
191cb0ef41Sopenharmony_ciBut, if you're familiar with
201cb0ef41Sopenharmony_ci[Chromium's development process](https://www.chromium.org/developers/contributing-code)
211cb0ef41Sopenharmony_ciand have the depot_tools installed, you may use these commands
221cb0ef41Sopenharmony_cito fetch the package (and dependencies) and build and run the tests:
231cb0ef41Sopenharmony_ci
241cb0ef41Sopenharmony_ci    fetch inspector_protocol
251cb0ef41Sopenharmony_ci    cd src
261cb0ef41Sopenharmony_ci    gn gen out/Release
271cb0ef41Sopenharmony_ci    ninja -C out/Release json_parser_test
281cb0ef41Sopenharmony_ci    out/Release/json_parser_test
291cb0ef41Sopenharmony_ci
301cb0ef41Sopenharmony_ciYou'll probably also need to install g++, since Clang uses this to find the
311cb0ef41Sopenharmony_cistandard C++ headers. E.g.,
321cb0ef41Sopenharmony_ci
331cb0ef41Sopenharmony_ci    sudo apt-get install g++-8
34