Reapply "Add TraceReaderRegistry"
This reverts commit 4d310afccde677cf949bcaf8bb4ee7847f98e158.
This relands commit b6747698e9e751716680c2b5a272df58e5a399d3.
+ Fixes the issue in the src/trace_processor/BUILD.gn where the
dependency was added in the wrong place. (See patchset 2)
Change-Id: Ib280f129c55e37a84df66723a4ad0993a623095e
diff --git a/Android.bp b/Android.bp
index f1f9b05..0ce4f00 100644
--- a/Android.bp
+++ b/Android.bp
@@ -2458,6 +2458,7 @@
":perfetto_src_trace_processor_util_regex",
":perfetto_src_trace_processor_util_sql_argument",
":perfetto_src_trace_processor_util_stdlib",
+ ":perfetto_src_trace_processor_util_trace_type",
":perfetto_src_trace_processor_util_util",
":perfetto_src_trace_processor_util_zip_reader",
":perfetto_src_traced_probes_android_game_intervention_list_android_game_intervention_list",
@@ -13182,6 +13183,7 @@
"src/trace_processor/trace_processor_context.cc",
"src/trace_processor/trace_processor_storage.cc",
"src/trace_processor/trace_processor_storage_impl.cc",
+ "src/trace_processor/trace_reader_registry.cc",
"src/trace_processor/virtual_destructors.cc",
],
}
@@ -13456,6 +13458,14 @@
name: "perfetto_src_trace_processor_util_stdlib",
}
+// GN: //src/trace_processor/util:trace_type
+filegroup {
+ name: "perfetto_src_trace_processor_util_trace_type",
+ srcs: [
+ "src/trace_processor/util/trace_type.cc",
+ ],
+}
+
// GN: //src/trace_processor/util:unittests
filegroup {
name: "perfetto_src_trace_processor_util_unittests",
@@ -15061,6 +15071,7 @@
":perfetto_src_trace_processor_util_regex",
":perfetto_src_trace_processor_util_sql_argument",
":perfetto_src_trace_processor_util_stdlib",
+ ":perfetto_src_trace_processor_util_trace_type",
":perfetto_src_trace_processor_util_unittests",
":perfetto_src_trace_processor_util_util",
":perfetto_src_trace_processor_util_zip_reader",
@@ -16043,6 +16054,7 @@
":perfetto_src_trace_processor_util_regex",
":perfetto_src_trace_processor_util_sql_argument",
":perfetto_src_trace_processor_util_stdlib",
+ ":perfetto_src_trace_processor_util_trace_type",
":perfetto_src_trace_processor_util_util",
":perfetto_src_trace_processor_util_zip_reader",
"src/trace_processor/trace_processor_shell.cc",
@@ -16238,6 +16250,7 @@
":perfetto_src_trace_processor_util_proto_to_args_parser",
":perfetto_src_trace_processor_util_protozero_to_text",
":perfetto_src_trace_processor_util_regex",
+ ":perfetto_src_trace_processor_util_trace_type",
":perfetto_src_trace_processor_util_util",
":perfetto_src_trace_redaction_trace_redaction",
"src/trace_redaction/main.cc",
@@ -16427,6 +16440,7 @@
":perfetto_src_trace_processor_util_regex",
":perfetto_src_trace_processor_util_sql_argument",
":perfetto_src_trace_processor_util_stdlib",
+ ":perfetto_src_trace_processor_util_trace_type",
":perfetto_src_trace_processor_util_util",
":perfetto_src_trace_processor_util_zip_reader",
":perfetto_src_traceconv_lib",