Merge "perfetto: switch sys stats counter to use proto lite not pzero"
diff --git a/src/tracing/BUILD.gn b/src/tracing/BUILD.gn
index ba44411..cae4c23 100644
--- a/src/tracing/BUILD.gn
+++ b/src/tracing/BUILD.gn
@@ -65,19 +65,6 @@
]
}
-source_set("api") {
- deps = [
- ":ipc",
- ":tracing",
- "../../gn:default_deps",
- "../../protos/perfetto/config:lite",
- "../base",
- ]
- sources = [
- "api_impl/consumer_api.cc",
- ]
-}
-
executable("consumer_api_test") {
deps = [
":api",
@@ -225,4 +212,19 @@
"test/hello_world_benchmark.cc",
]
}
+
+ # Imlementation of the public-facing consumer API in libperfetto.so (only for
+ # Android builds).
+ source_set("api") {
+ deps = [
+ ":ipc",
+ ":tracing",
+ "../../gn:default_deps",
+ "../../protos/perfetto/config:lite",
+ "../base",
+ ]
+ sources = [
+ "api_impl/consumer_api.cc",
+ ]
+ }
}