Speculatively fix chromium roll
Follow-up to aosp/1217305 that broke the
roll with https://chromium-review.googlesource.com/c/chromium/src/+/2021964
Change-Id: Ia426771c8c6cec4207570db796d10ff3dc50df1c
diff --git a/gn/perfetto_unittests.gni b/gn/perfetto_unittests.gni
index ca956bc..84467e6 100644
--- a/gn/perfetto_unittests.gni
+++ b/gn/perfetto_unittests.gni
@@ -21,9 +21,12 @@
"src/protozero:unittests",
"src/tracing/core:unittests",
"src/profiling:unittests",
- "src/tracing/test:tracing_integration_test",
]
+if (enable_perfetto_ipc) {
+ perfetto_unittests_targets += [ "src/tracing/test:tracing_integration_test" ]
+}
+
if (enable_perfetto_tools && current_toolchain == host_toolchain) {
perfetto_unittests_targets += [ "tools/ftrace_proto_gen:unittests" ]
}
diff --git a/src/tracing/BUILD.gn b/src/tracing/BUILD.gn
index 1a36879..c93d5a5 100644
--- a/src/tracing/BUILD.gn
+++ b/src/tracing/BUILD.gn
@@ -57,6 +57,7 @@
"../../protos/perfetto/config:cpp",
"../base",
"core",
+ "core:service",
]
public_deps = [
"../../gn:default_deps",