Don't build trace_to_text when building in Chrome
Change-Id: I193ab1e64c5881caa58bf7c56a6758175548a11b
diff --git a/BUILD.gn b/BUILD.gn
index 27e23e7..6f8b7b2 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -29,7 +29,6 @@
"src/ipc/protoc_plugin:ipc_plugin($host_toolchain)",
"src/protozero/protoc_plugin($host_toolchain)",
"tools/proto_to_cpp",
- "tools/trace_to_text",
]
if (is_linux || is_android) {
deps += [ "tools/ftrace_proto_gen:ftrace_proto_gen" ]
@@ -39,6 +38,7 @@
"protos/perfetto/config:merged_config", # For syntax-checking the proto.
"test/configs",
"tools:protoc_helper",
+ "tools/trace_to_text",
]
if (is_linux || is_android) {
deps += [