[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/+/2729340
Reviewed-by: Mythri Alle <mythria@chromium.org>
Commit-Queue: Dan Elphick <delphick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#73133}
This commit is contained in:
Dan Elphick 2021-03-02 16:31:12 +00:00 committed by Commit Bot
parent 7dfe0d170c
commit 93d5dd7c9b

View File

@ -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",