tp: change export_json back to a source_set
Turns out static_library creates duplicate symbol problems so just turn
it back to a source_set
Change-Id: I75113cac81d3cf21d7de84d35db7c00a6dc50a98
diff --git a/BUILD b/BUILD
index 9f710ed..e6649d9 100644
--- a/BUILD
+++ b/BUILD
@@ -219,7 +219,7 @@
":src_trace_processor_db_column_column",
":src_trace_processor_db_db",
":src_trace_processor_db_minimal",
- ":src_trace_processor_export_json_sources",
+ ":src_trace_processor_export_json",
":src_trace_processor_importers_android_bugreport_android_bugreport",
":src_trace_processor_importers_common_common",
":src_trace_processor_importers_common_parser_types",
@@ -2822,9 +2822,9 @@
linkstatic = True,
)
-# GN target: //src/trace_processor:export_json_sources
+# GN target: //src/trace_processor:export_json
perfetto_filegroup(
- name = "src_trace_processor_export_json_sources",
+ name = "src_trace_processor_export_json",
srcs = [
"src/trace_processor/export_json.cc",
"src/trace_processor/export_json.h",
@@ -5538,7 +5538,7 @@
":src_trace_processor_db_column_column",
":src_trace_processor_db_db",
":src_trace_processor_db_minimal",
- ":src_trace_processor_export_json_sources",
+ ":src_trace_processor_export_json",
":src_trace_processor_importers_android_bugreport_android_bugreport",
":src_trace_processor_importers_common_common",
":src_trace_processor_importers_common_parser_types",
@@ -5704,7 +5704,7 @@
":src_trace_processor_db_column_column",
":src_trace_processor_db_db",
":src_trace_processor_db_minimal",
- ":src_trace_processor_export_json_sources",
+ ":src_trace_processor_export_json",
":src_trace_processor_importers_android_bugreport_android_bugreport",
":src_trace_processor_importers_common_common",
":src_trace_processor_importers_common_parser_types",
@@ -5928,7 +5928,7 @@
":src_trace_processor_db_column_column",
":src_trace_processor_db_db",
":src_trace_processor_db_minimal",
- ":src_trace_processor_export_json_sources",
+ ":src_trace_processor_export_json",
":src_trace_processor_importers_android_bugreport_android_bugreport",
":src_trace_processor_importers_common_common",
":src_trace_processor_importers_common_parser_types",