-
Notifications
You must be signed in to change notification settings - Fork 29.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tools: update inspector_protocol to 0aafd2
Co-authored-by: Ben Noordhuis <[email protected]> PR-URL: #27770 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Eugene Ostroukhov <[email protected]> Reviewed-By: Rich Trott <[email protected]>
- Loading branch information
1 parent
e72d4aa
commit a75a59d
Showing
29 changed files
with
7,733 additions
and
1,459 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Defines the Chromium style for automatic reformatting. | ||
# http://clang.llvm.org/docs/ClangFormatStyleOptions.html | ||
BasedOnStyle: Chromium | ||
# This defaults to 'Auto'. Explicitly set it for a while, so that | ||
# 'vector<vector<int> >' in existing files gets formatted to | ||
# 'vector<vector<int>>'. ('Auto' means that clang-format will only use | ||
# 'int>>' if the file already contains at least one such instance.) | ||
Standard: Cpp11 | ||
|
||
# Make sure code like: | ||
# IPC_BEGIN_MESSAGE_MAP() | ||
# IPC_MESSAGE_HANDLER(WidgetHostViewHost_Update, OnUpdate) | ||
# IPC_END_MESSAGE_MAP() | ||
# gets correctly indented. | ||
MacroBlockBegin: "^\ | ||
BEGIN_MSG_MAP|\ | ||
BEGIN_MSG_MAP_EX|\ | ||
BEGIN_SAFE_MSG_MAP_EX|\ | ||
CR_BEGIN_MSG_MAP_EX|\ | ||
IPC_BEGIN_MESSAGE_MAP|\ | ||
IPC_BEGIN_MESSAGE_MAP_WITH_PARAM|\ | ||
IPC_PROTOBUF_MESSAGE_TRAITS_BEGIN|\ | ||
IPC_STRUCT_BEGIN|\ | ||
IPC_STRUCT_BEGIN_WITH_PARENT|\ | ||
IPC_STRUCT_TRAITS_BEGIN|\ | ||
POLPARAMS_BEGIN|\ | ||
PPAPI_BEGIN_MESSAGE_MAP$" | ||
MacroBlockEnd: "^\ | ||
CR_END_MSG_MAP|\ | ||
END_MSG_MAP|\ | ||
IPC_END_MESSAGE_MAP|\ | ||
IPC_PROTOBUF_MESSAGE_TRAITS_END|\ | ||
IPC_STRUCT_END|\ | ||
IPC_STRUCT_TRAITS_END|\ | ||
POLPARAMS_END|\ | ||
PPAPI_END_MESSAGE_MAP$" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Copyright 2019 the V8 project authors. All rights reserved. | ||
# Use of this source code is governed by a BSD-style license that can be | ||
# found in the LICENSE file. | ||
|
||
static_library("encoding") { | ||
sources = [ | ||
"encoding/encoding.cc", | ||
"encoding/encoding.h", | ||
] | ||
} | ||
|
||
# encoding_test is part of the unittests, defined in | ||
# test/unittests/BUILD.gn. | ||
|
||
import("../../gni/v8.gni") | ||
|
||
v8_source_set("encoding_test") { | ||
sources = [ | ||
"encoding/encoding_test.cc", | ||
"encoding/encoding_test_helper.h", | ||
] | ||
configs = [ | ||
"../..:external_config", | ||
"../..:internal_config_base", | ||
] | ||
deps = [ | ||
":encoding", | ||
"../..:v8_libbase", | ||
"../../src/inspector:inspector_string_conversions", | ||
"//testing/gmock", | ||
"//testing/gtest", | ||
] | ||
testonly = true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# 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](https://docs.google.com/document/d/1c-COD2kaK__5iMM5SEx-PzNA7HFmgttcYfOHHX0HaOM/edit). | ||
|
||
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](https://www.chromium.org/developers/contributing-code) | ||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# This file is used by git-cl to get repository specific information. | ||
CC_LIST: [email protected] | ||
CODE_REVIEW_SERVER: codereview.chromium.org | ||
GERRIT_HOST: True | ||
PROJECT: inspector_protocol | ||
VIEW_VC: https://chromium.googlesource.com/deps/inspector_protocol/+/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.