v8/third_party/inspector_protocol
Johannes Henkel c27c369a9e Revert "[DevTools] Add V8InspectorSession::state(), which returns binary (CBOR)."
This reverts commit b7134d3af6.

Reason for revert: breaks presubmit

Original change's description:
> [DevTools] Add V8InspectorSession::state(), which returns binary (CBOR).
> 
> Keep the existing method for compatibility, by converting
> to json from CBOR using the inspector_protocol_encoding library,
> via a v8 specific interface library that directs routines for
> converting between strings and doubles to v8's implementations.
> 
> This change also brings in the encoding.h / encoding.cc files from the
> upstream inspector_protocol project. The only modification here
> are the header guards, and the namespace. I will fix roll.py to
> make it so that we pick up future changes.
> 
> third_party/inspector_protocol/BUILD.gn is specific to v8, by necessity.
> third_party/inspector_protocol/.clang-format is a copy of the upstream
> file. If we don't put this, we'll find ourselves auto-formatting the roll,
> which is annoying.
> 
> Change-Id: I20fa8759164e7a39f8a7c30e0d2a3f8a7e4be227
> Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1590627
> Reviewed-by: Alexei Filippov <alph@chromium.org>
> Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
> Commit-Queue: Johannes Henkel <johannes@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#61187}

TBR=dgozman@chromium.org,alph@chromium.org,caseq@chromium.org,johannes@chromium.org

Change-Id: I67f297ef8454499036c94bf88e0d23657a579140
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1592130
Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
Commit-Queue: Johannes Henkel <johannes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#61189}
2019-05-02 20:15:49 +00:00
..
lib [DevTools] Roll inspector_protocol 2019-04-30 23:13:48 +00:00
templates [DevTools] Roll inspector_protocol 2019-04-30 23:13:48 +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 2019-04-30 23:13:48 +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 [DevTools] Roll inspector_protocol 2019-04-30 23:13:48 +00:00
inspector_protocol.gni [DevTools] Roll inspector_protocol to a7423d8ca937e658ab3b85e3b02676bced145ba6. 2019-03-13 18:19:28 +00:00
inspector_protocol.gypi [DevTools] Roll inspector_protocol to a7423d8ca937e658ab3b85e3b02676bced145ba6. 2019-03-13 18:19: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 2019-04-30 23:13:48 +00:00
README.md [DevTools] Roll inspector_protocol (v8) ... 2019-02-14 04:42:24 +00:00
README.v8 [DevTools] Roll inspector_protocol 2019-04-30 23:13:48 +00:00
roll.py [DevTools] Roll inspector_protocol for v8. 2019-04-16 19:49:11 +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