Add perfetto_test_support
Add a test-only TracedValueToString helper to make it easier to test
TracedValue support for user-defined classes.
R=skyostil@chromium.org
Change-Id: I90d72913c14db51375bd8583ad1f97412eb89b18
diff --git a/Android.bp b/Android.bp
index 6c1b67a..948d3a9 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1599,6 +1599,11 @@
name: "perfetto_include_perfetto_public_public",
}
+// GN: //include/perfetto/test:test_support
+filegroup {
+ name: "perfetto_include_perfetto_test_test_support",
+}
+
// GN: //include/perfetto/trace_processor:basic_types
filegroup {
name: "perfetto_include_perfetto_trace_processor_basic_types",
@@ -8474,6 +8479,7 @@
"src/tracing/test/mock_consumer.cc",
"src/tracing/test/mock_producer.cc",
"src/tracing/test/test_shared_memory.cc",
+ "src/tracing/test/traced_value_test_support.cc",
],
}
@@ -8686,6 +8692,7 @@
":perfetto_include_perfetto_ext_tracing_ipc_ipc",
":perfetto_include_perfetto_profiling_normalize",
":perfetto_include_perfetto_protozero_protozero",
+ ":perfetto_include_perfetto_test_test_support",
":perfetto_include_perfetto_trace_processor_basic_types",
":perfetto_include_perfetto_trace_processor_storage",
":perfetto_include_perfetto_trace_processor_trace_processor",