0

inspector_protocol: switch headless/ to use_embedders_types

mostly a no-op here.

Bug: 1294416, 1296032
Change-Id: Iacebb77bc41d05c0b9aa96d907f91f4d858789a0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3453505
Reviewed-by: Peter Kvitek <kvitekp@chromium.org>
Commit-Queue: Andrey Kosyakov <caseq@chromium.org>
Cr-Commit-Position: refs/heads/main@{#970084}
This commit is contained in:
Andrey Kosyakov
2022-02-11 19:47:27 +00:00
committed by Chromium LUCI CQ
parent 2d0b16ba9f
commit d1f445c99c
3 changed files with 2 additions and 5 deletions

@ -273,6 +273,7 @@ inspector_protocol_generate("protocol_sources") {
out_dir = target_gen_dir
config_file = "protocol_config.json"
config_values = [ "protocol.path=$_blink_protocol_path" ]
use_embedder_types = true
inputs = [
"$root_gen_dir/third_party/blink/public/devtools_protocol/protocol.json",
@ -281,8 +282,6 @@ inspector_protocol_generate("protocol_sources") {
# These are relative to $target_gen_dir.
outputs = [
"lib/browser/protocol/base_string_adapter.cc",
"lib/browser/protocol/base_string_adapter.h",
"lib/browser/protocol/browser.cc",
"lib/browser/protocol/browser.h",
"lib/browser/protocol/headless_experimental.cc",
@ -291,7 +290,6 @@ inspector_protocol_generate("protocol_sources") {
"lib/browser/protocol/page.h",
"lib/browser/protocol/target.cc",
"lib/browser/protocol/target.h",
"lib/browser/protocol/protocol.cc",
"lib/browser/protocol/protocol.h",
]
}

@ -39,7 +39,6 @@
#include "headless/lib/browser/headless_browser_main_parts.h"
#include "headless/lib/browser/headless_devtools_agent_host_client.h"
#include "headless/lib/browser/protocol/headless_handler.h"
#include "headless/public/internal/headless_devtools_client_impl.h"
#include "printing/buildflags/buildflags.h"
#include "third_party/blink/public/common/renderer_preferences/renderer_preferences.h"
#include "third_party/skia/include/core/SkBitmap.h"

@ -35,7 +35,7 @@
"lib": {
"package": "headless/lib/browser/protocol",
"output": "lib/browser/protocol",
"string_header": "headless/lib/browser/protocol/base_string_adapter.h",
"protocol_traits": "third_party/inspector_protocol/crdtp/chromium/protocol_traits.h",
"export_macro": "HEADLESS_EXPORT",
"export_header": "headless/public/headless_export.h"
},