@@ -3202,7 +3202,6 @@ v8_header_set("v8_internal_headers") {
32023202 sources = [
32033203 # ## gcmole(all) ###
32043204 " $target_gen_dir /builtins-generated/bytecodes-builtins-list.h" ,
3205- " //base/trace_event/common/trace_event_common.h" ,
32063205 " include/cppgc/common.h" ,
32073206 " include/v8-inspector-protocol.h" ,
32083207 " include/v8-inspector.h" ,
@@ -4145,6 +4144,7 @@ v8_header_set("v8_internal_headers") {
41454144 " src/third_party/utf8-decoder/utf8-decoder.h" ,
41464145 " src/torque/runtime-macro-shims.h" ,
41474146 " src/tracing/trace-event.h" ,
4147+ " src/tracing/trace-event-no-perfetto.h" ,
41484148 " src/tracing/traced-value.h" ,
41494149 " src/tracing/tracing-category-observer.h" ,
41504150 " src/utils/address-map.h" ,
@@ -4186,7 +4186,7 @@ v8_header_set("v8_internal_headers") {
41864186 }
41874187
41884188 if (v8_use_perfetto ) {
4189- sources -= [ " //base/trace_event/common/trace_event_common .h" ]
4189+ sources -= [ " src/tracing/trace-event-no-perfetto .h" ]
41904190 sources += [
41914191 " src/tracing/code-data-source.h" ,
41924192 " src/tracing/code-trace-context.h" ,
@@ -6639,7 +6639,6 @@ if (v8_use_libm_trig_functions) {
66396639
66406640v8_component (" v8_libplatform" ) {
66416641 sources = [
6642- " //base/trace_event/common/trace_event_common.h" ,
66436642 " include/libplatform/libplatform-export.h" ,
66446643 " include/libplatform/libplatform.h" ,
66456644 " include/libplatform/v8-tracing.h" ,
@@ -6666,6 +6665,7 @@ v8_component("v8_libplatform") {
66666665 " src/libplatform/tracing/tracing-controller.cc" ,
66676666 " src/libplatform/worker-thread.cc" ,
66686667 " src/libplatform/worker-thread.h" ,
6668+ " src/tracing/trace-event-no-perfetto.h" ,
66696669 ]
66706670
66716671 configs = [ " :internal_config_base" ]
@@ -6686,12 +6686,12 @@ v8_component("v8_libplatform") {
66866686
66876687 if (v8_use_perfetto ) {
66886688 sources -= [
6689- " //base/trace_event/common/trace_event_common.h" ,
66906689 " src/libplatform/tracing/trace-buffer.cc" ,
66916690 " src/libplatform/tracing/trace-buffer.h" ,
66926691 " src/libplatform/tracing/trace-object.cc" ,
66936692 " src/libplatform/tracing/trace-writer.cc" ,
66946693 " src/libplatform/tracing/trace-writer.h" ,
6694+ " src/tracing/trace-event-no-perfetto.h" ,
66956695 ]
66966696 sources += [ " src/libplatform/tracing/trace-event-listener.h" ]
66976697 }
@@ -7014,7 +7014,7 @@ v8_source_set("cppgc_base") {
70147014 ]
70157015
70167016 if (cppgc_is_standalone && ! v8_use_perfetto ) {
7017- sources += [ " //base/trace_event/common/trace_event_common .h" ]
7017+ sources += [ " src/tracing/trace-event-no-perfetto .h" ]
70187018 } else {
70197019 public_deps += [ " :v8_tracing" ]
70207020 }
0 commit comments