diff --git a/BUILD.gn b/BUILD.gn index 421364d751..1003b566bb 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -4558,6 +4558,8 @@ v8_source_set("cppgc_base") { if (cppgc_is_standalone) { sources += [ "//base/trace_event/common/trace_event_common.h" ] + } else { + deps = [ ":v8_tracing" ] } if (cppgc_enable_caged_heap) {