trace_processor: move all containers to new subfolder
Moving them to their own folder makes more sense as there is a clear grouping
to them which does not necessarily have to involve db code.
Context: go/perfetto-tp-refactor
Bug: 135177627
Change-Id: Id71adb66a3ae1c4268aa9d9a2d9ba408b9bd6844
diff --git a/BUILD b/BUILD
index 4ecf967..fa5f558 100644
--- a/BUILD
+++ b/BUILD
@@ -572,20 +572,27 @@
],
)
+# GN target: //src/trace_processor/containers:containers
+filegroup(
+ name = "src_trace_processor_containers_containers",
+ srcs = [
+ "src/trace_processor/containers/bit_vector.cc",
+ "src/trace_processor/containers/bit_vector.h",
+ "src/trace_processor/containers/bit_vector_iterators.cc",
+ "src/trace_processor/containers/bit_vector_iterators.h",
+ "src/trace_processor/containers/row_map.cc",
+ "src/trace_processor/containers/row_map.h",
+ "src/trace_processor/containers/sparse_vector.h",
+ ],
+)
+
# GN target: //src/trace_processor/db:lib
filegroup(
name = "src_trace_processor_db_lib",
srcs = [
- "src/trace_processor/db/bit_vector.cc",
- "src/trace_processor/db/bit_vector.h",
- "src/trace_processor/db/bit_vector_iterators.cc",
- "src/trace_processor/db/bit_vector_iterators.h",
"src/trace_processor/db/column.cc",
"src/trace_processor/db/column.h",
"src/trace_processor/db/compare.h",
- "src/trace_processor/db/row_map.cc",
- "src/trace_processor/db/row_map.h",
- "src/trace_processor/db/sparse_vector.h",
"src/trace_processor/db/table.cc",
"src/trace_processor/db/table.h",
"src/trace_processor/db/typed_column.h",
@@ -2521,6 +2528,7 @@
":src_base_base",
":src_protozero_protozero",
":src_trace_processor_common",
+ ":src_trace_processor_containers_containers",
":src_trace_processor_db_lib",
":src_trace_processor_descriptors",
":src_trace_processor_export_json",
@@ -2599,6 +2607,7 @@
":src_base_unix_socket",
":src_protozero_protozero",
":src_trace_processor_common",
+ ":src_trace_processor_containers_containers",
":src_trace_processor_db_lib",
":src_trace_processor_descriptors",
":src_trace_processor_export_json",
@@ -2752,6 +2761,7 @@
":src_profiling_deobfuscator",
":src_protozero_protozero",
":src_trace_processor_common",
+ ":src_trace_processor_containers_containers",
":src_trace_processor_db_lib",
":src_trace_processor_descriptors",
":src_trace_processor_export_json",