Skip to content

Commit

Permalink
DevTools: roll third_party/inspector_protocol
Browse files Browse the repository at this point in the history
Bug: 929862

Change-Id: I3c12584095a1d2a45a3b6181bece071a2cd34dae
Reviewed-on: https://chromium-review.googlesource.com/c/1460186
Commit-Queue: Pavel Feldman <pfeldman@chromium.org>
Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#630185}
  • Loading branch information
pavelfeldman committed Feb 8, 2019
1 parent 51d2f79 commit 84b0216
Show file tree
Hide file tree
Showing 27 changed files with 195 additions and 782 deletions.
4 changes: 2 additions & 2 deletions chrome/browser/devtools/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ if (!is_android) {
import("$_inspector_protocol/inspector_protocol.gni")

_protocol_generated = [
"protocol/base_string_adapter.cc",
"protocol/base_string_adapter.h",
"protocol/browser.cc",
"protocol/browser.h",
"protocol/cast.cc",
Expand Down Expand Up @@ -206,8 +208,6 @@ static_library("devtools") {
"protocol/page_handler.h",
"protocol/target_handler.cc",
"protocol/target_handler.h",
"protocol_string.cc",
"protocol_string.h",
]
if (is_chromeos) {
sources += [
Expand Down
2 changes: 1 addition & 1 deletion chrome/browser/devtools/inspector_protocol_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@
"lib": {
"package": "chrome/browser/devtools/protocol",
"output": "protocol",
"string_header": "chrome/browser/devtools/protocol_string.h"
"string_header": "chrome/browser/devtools/protocol/base_string_adapter.h"
}
}
205 changes: 0 additions & 205 deletions chrome/browser/devtools/protocol_string.cc

This file was deleted.

115 changes: 0 additions & 115 deletions chrome/browser/devtools/protocol_string.h

This file was deleted.

4 changes: 2 additions & 2 deletions content/browser/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,8 @@ jumbo_source_set("browser") {
]

sources = [
"$target_gen_dir/devtools/protocol/base_string_adapter.cc",
"$target_gen_dir/devtools/protocol/base_string_adapter.h",
"$target_gen_dir/devtools/protocol/browser.cc",
"$target_gen_dir/devtools/protocol/browser.h",
"$target_gen_dir/devtools/protocol/dom.cc",
Expand Down Expand Up @@ -720,8 +722,6 @@ jumbo_source_set("browser") {
"devtools/protocol/tethering_handler.h",
"devtools/protocol/tracing_handler.cc",
"devtools/protocol/tracing_handler.h",
"devtools/protocol_string.cc",
"devtools/protocol_string.h",
"devtools/render_frame_devtools_agent_host.cc",
"devtools/render_frame_devtools_agent_host.h",
"devtools/service_worker_devtools_agent_host.cc",
Expand Down
4 changes: 3 additions & 1 deletion content/browser/devtools/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import("//tools/grit/grit_rule.gni")
import("//third_party/brotli/brotli.gni")
import("//third_party/inspector_protocol/inspector_protocol.gni")
import("//tools/grit/grit_rule.gni")

group("resources") {
if (!is_android) {
Expand Down Expand Up @@ -75,6 +75,8 @@ inspector_protocol_generate("protocol_sources") {

# These are relative to $target_gen_dir.
outputs = [
"protocol/base_string_adapter.cc",
"protocol/base_string_adapter.h",
"protocol/browser.cc",
"protocol/browser.h",
"protocol/dom.cc",
Expand Down
2 changes: 1 addition & 1 deletion content/browser/devtools/protocol_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
"lib": {
"package": "content/browser/devtools/protocol",
"output": "protocol",
"string_header": "content/browser/devtools/protocol_string.h",
"string_header": "content/browser/devtools/protocol/base_string_adapter.h",
"export_macro": "CONTENT_EXPORT",
"export_header": "content/common/content_export.h"
}
Expand Down
Loading

0 comments on commit 84b0216

Please sign in to comment.