Commit 93d5dd7c authored by Dan Elphick's avatar Dan Elphick Committed by Commit Bot

[build] Fix perfetto build

Moves the handling of base/trace_event/common/trace_event_common.h from
v8_base_without_compiler to v8_internal_headers to fix a build break
caused by:
https://chromium-review.googlesource.com/c/v8/v8/+/2712569

Change-Id: Ie3c161874e18cdfaf30286ff0fa299a4c4e2c1a6
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2729340Reviewed-by: 's avatarMythri Alle <mythria@chromium.org>
Commit-Queue: Dan Elphick <delphick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#73133}
parent 7dfe0d17
......@@ -3005,6 +3005,10 @@ v8_header_set("v8_internal_headers") {
"src/zone/zone.h",
]
if (v8_use_perfetto) {
sources -= [ "//base/trace_event/common/trace_event_common.h" ]
}
if (v8_enable_webassembly) {
sources += [
"src/asmjs/asm-js.h",
......@@ -4266,7 +4270,6 @@ v8_source_set("v8_base_without_compiler") {
}
if (v8_use_perfetto) {
sources -= [ "//base/trace_event/common/trace_event_common.h" ]
sources += [
"src/tracing/trace-categories.cc",
"src/tracing/trace-categories.h",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment