blob: 9ab91e98786afaede4e08201d5ceffba1c0422ab [file] [log] [blame]
Lalit Maganti279ecde2019-04-01 16:57:12 +01001# Copyright (C) 2019 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14#
Sami Kyostila3c88a1d2019-05-22 18:29:42 +010015# This file is automatically generated by tools/gen_bazel. Do not edit.
Lalit Maganti279ecde2019-04-01 16:57:12 +010016
Primiano Tucci1d409982019-09-19 10:15:18 +010017load("@perfetto_cfg//:perfetto_cfg.bzl", "PERFETTO_CONFIG")
18load(
19 "@perfetto//bazel:rules.bzl",
Harvey Yang321c4fc2021-10-25 14:11:50 +080020 "perfetto_build_config_cc_library",
Lalit Magantie277dcb2022-11-09 15:57:58 +000021 "perfetto_cc_amalgamated_sql",
Primiano Tucci1d409982019-09-19 10:15:18 +010022 "perfetto_cc_binary",
23 "perfetto_cc_ipc_library",
24 "perfetto_cc_library",
Lalit Maganti117272f2020-09-11 14:01:18 +010025 "perfetto_cc_proto_descriptor",
Primiano Tucci1d409982019-09-19 10:15:18 +010026 "perfetto_cc_proto_library",
Primiano Tucci57dd66b2019-10-15 23:09:04 +010027 "perfetto_cc_protocpp_library",
Primiano Tucci1d409982019-09-19 10:15:18 +010028 "perfetto_cc_protozero_library",
Lalit Maganti3dc8e302022-12-01 20:32:46 +000029 "perfetto_cc_tp_tables",
Lalit Maganti88e64de2022-11-21 18:29:57 +000030 "perfetto_filegroup",
31 "perfetto_genrule",
Lalit Maganti225ae652022-06-27 21:28:21 +010032 "perfetto_go_proto_library",
Lalit Maganti46e2bda2020-05-06 12:51:33 +010033 "perfetto_java_lite_proto_library",
Lalit Maganti88e64de2022-11-21 18:29:57 +000034 "perfetto_java_proto_library",
Lalit Maganti117272f2020-09-11 14:01:18 +010035 "perfetto_proto_descriptor",
Lalit Maganti88e64de2022-11-21 18:29:57 +000036 "perfetto_proto_library",
Primiano Tucci1d409982019-09-19 10:15:18 +010037 "perfetto_py_binary",
Anindita Ghosh237a7762020-06-30 10:46:52 +000038 "perfetto_py_library",
Lalit Maganti06f638c2022-04-01 18:44:14 +010039 "perfetto_py_proto_library",
Primiano Tucci1d409982019-09-19 10:15:18 +010040)
Lalit Maganti279ecde2019-04-01 16:57:12 +010041
Lalit Maganti3dc8e302022-12-01 20:32:46 +000042package(default_visibility = [PERFETTO_CONFIG.root + ":__subpackages__"])
Lalit Maganti279ecde2019-04-01 16:57:12 +010043
Lalit Magantibb037f72019-09-24 16:22:45 +010044licenses(["notice"])
Lalit Maganti65600342019-09-19 21:35:35 +010045
46exports_files(["NOTICE"])
Lalit Magantia48710d2019-09-24 13:10:11 +010047
Primiano Tucci1d409982019-09-19 10:15:18 +010048# ##############################################################################
49# Internal targets
50# ##############################################################################
Lalit Maganti279ecde2019-04-01 16:57:12 +010051
Lalit Maganti52f13362023-01-23 16:38:01 +000052# GN target: //src/base:perfetto_base_default_platform
53perfetto_cc_library(
54 name = "perfetto_base_default_platform",
55 srcs = [
56 "src/base/default_platform.cc",
57 ],
58 hdrs = [
59 ":include_perfetto_base_base",
60 ":include_perfetto_ext_base_base",
61 ":include_perfetto_public_abi_base",
62 ":include_perfetto_public_base",
63 ],
64 linkstatic = True,
65)
66
Primiano Tucci1d409982019-09-19 10:15:18 +010067# GN target: //src/ipc/protoc_plugin:ipc_plugin
68perfetto_cc_binary(
69 name = "ipc_plugin",
Lalit Maganti26f69bd2019-04-29 18:23:47 +010070 srcs = [
Lalit Maganti65600342019-09-19 21:35:35 +010071 "src/ipc/protoc_plugin/ipc_plugin.cc",
Primiano Tucci1d409982019-09-19 10:15:18 +010072 ],
73 deps = [
Primiano Tucci916f4e52020-10-16 20:40:33 +020074 ":src_base_base",
Lalit Maganti65600342019-09-19 21:35:35 +010075 ] + PERFETTO_CONFIG.deps.protoc_lib,
Primiano Tucci1d409982019-09-19 10:15:18 +010076)
77
78# GN target: //src/ipc:perfetto_ipc
79perfetto_cc_library(
80 name = "perfetto_ipc",
81 srcs = [
Primiano Tuccic4c063b2020-01-27 09:34:46 +000082 ":src_ipc_client",
83 ":src_ipc_common",
84 ":src_ipc_host",
Primiano Tucci1d409982019-09-19 10:15:18 +010085 ],
86 hdrs = [
87 ":include_perfetto_base_base",
88 ":include_perfetto_ext_base_base",
89 ":include_perfetto_ext_ipc_ipc",
Primiano Tuccie8020f92019-11-26 13:24:01 +000090 ":include_perfetto_protozero_protozero",
Daniele Di Proietto8b46d692022-04-22 15:59:40 +010091 ":include_perfetto_public_abi_base",
92 ":include_perfetto_public_base",
Primiano Tucci1d409982019-09-19 10:15:18 +010093 ],
94 deps = [
Primiano Tuccib3e08d02019-11-19 11:10:11 +000095 ":protos_perfetto_ipc_wire_protocol_cpp",
Primiano Tucci916f4e52020-10-16 20:40:33 +020096 ":src_base_base",
97 ":src_base_unix_socket",
Primiano Tuccie8020f92019-11-26 13:24:01 +000098 ],
Lalit Magantif9c004d2020-01-06 14:44:34 +000099 linkstatic = True,
Primiano Tucci1d409982019-09-19 10:15:18 +0100100)
101
Primiano Tucci57dd66b2019-10-15 23:09:04 +0100102# GN target: //src/protozero/protoc_plugin:cppgen_plugin
103perfetto_cc_binary(
104 name = "cppgen_plugin",
105 srcs = [
106 "src/protozero/protoc_plugin/cppgen_plugin.cc",
Primiano Tucci57dd66b2019-10-15 23:09:04 +0100107 ],
108 deps = [
Primiano Tucci916f4e52020-10-16 20:40:33 +0200109 ":src_base_base",
Primiano Tucci57dd66b2019-10-15 23:09:04 +0100110 ] + PERFETTO_CONFIG.deps.protoc_lib,
111)
112
Primiano Tucci1d409982019-09-19 10:15:18 +0100113# GN target: //src/protozero/protoc_plugin:protozero_plugin
114perfetto_cc_binary(
115 name = "protozero_plugin",
116 srcs = [
Lalit Maganti65600342019-09-19 21:35:35 +0100117 "src/protozero/protoc_plugin/protozero_plugin.cc",
Primiano Tucci1d409982019-09-19 10:15:18 +0100118 ],
119 deps = [
Primiano Tucci916f4e52020-10-16 20:40:33 +0200120 ":src_base_base",
Lalit Maganti65600342019-09-19 21:35:35 +0100121 ] + PERFETTO_CONFIG.deps.protoc_lib,
Primiano Tucci1d409982019-09-19 10:15:18 +0100122)
123
Primiano Tucci916f4e52020-10-16 20:40:33 +0200124# GN target: //src/protozero:protozero
Primiano Tucci1d409982019-09-19 10:15:18 +0100125perfetto_cc_library(
Primiano Tucci916f4e52020-10-16 20:40:33 +0200126 name = "protozero",
Primiano Tucci1d409982019-09-19 10:15:18 +0100127 srcs = [
Primiano Tucci916f4e52020-10-16 20:40:33 +0200128 "src/protozero/field.cc",
Daniele Di Proiettoa8559af2022-12-15 16:20:17 +0000129 "src/protozero/gen_field_helpers.cc",
Primiano Tucci916f4e52020-10-16 20:40:33 +0200130 "src/protozero/message.cc",
131 "src/protozero/message_arena.cc",
132 "src/protozero/message_handle.cc",
133 "src/protozero/packed_repeated_fields.cc",
134 "src/protozero/proto_decoder.cc",
135 "src/protozero/scattered_heap_buffer.cc",
136 "src/protozero/scattered_stream_null_delegate.cc",
137 "src/protozero/scattered_stream_writer.cc",
138 "src/protozero/static_buffer.cc",
139 "src/protozero/virtual_destructors.cc",
Primiano Tucci1d409982019-09-19 10:15:18 +0100140 ],
141 hdrs = [
142 ":include_perfetto_base_base",
Primiano Tucci1d409982019-09-19 10:15:18 +0100143 ":include_perfetto_protozero_protozero",
Daniele Di Proietto8b46d692022-04-22 15:59:40 +0100144 ":include_perfetto_public_abi_base",
145 ":include_perfetto_public_base",
Primiano Tucci1d409982019-09-19 10:15:18 +0100146 ],
Primiano Tucci916f4e52020-10-16 20:40:33 +0200147 deps = [
148 ":src_base_base",
149 ],
Lalit Magantif9c004d2020-01-06 14:44:34 +0000150 linkstatic = True,
Primiano Tucci1d409982019-09-19 10:15:18 +0100151)
152
Hector Dearman772a7e02022-05-12 15:47:54 +0100153# GN target: //src/tools/proto_filter:proto_filter
154perfetto_cc_binary(
155 name = "proto_filter",
156 srcs = [
157 ":src_protozero_filtering_bytecode_common",
158 ":src_protozero_filtering_bytecode_generator",
159 ":src_protozero_filtering_bytecode_parser",
160 ":src_protozero_filtering_filter_util",
161 ":src_protozero_filtering_message_filter",
162 "src/tools/proto_filter/proto_filter.cc",
163 ],
164 deps = [
165 ":protozero",
166 ":src_base_base",
Daniele Di Proietto15b801e2022-06-30 12:56:13 +0100167 ":src_base_version",
Hector Dearman772a7e02022-05-12 15:47:54 +0100168 ] + PERFETTO_CONFIG.deps.protobuf_full,
169)
170
171# GN target: //src/tools/proto_merger:proto_merger
172perfetto_cc_binary(
173 name = "proto_merger",
174 srcs = [
175 "src/tools/proto_merger/allowlist.cc",
176 "src/tools/proto_merger/allowlist.h",
177 "src/tools/proto_merger/main.cc",
178 "src/tools/proto_merger/proto_file.cc",
179 "src/tools/proto_merger/proto_file.h",
180 "src/tools/proto_merger/proto_file_serializer.cc",
181 "src/tools/proto_merger/proto_file_serializer.h",
182 "src/tools/proto_merger/proto_merger.cc",
183 "src/tools/proto_merger/proto_merger.h",
184 ],
185 deps = [
186 ":src_base_base",
Daniele Di Proietto15b801e2022-06-30 12:56:13 +0100187 ":src_base_version",
Hector Dearman772a7e02022-05-12 15:47:54 +0100188 ] + PERFETTO_CONFIG.deps.protobuf_full,
189)
190
Lalit Maganti01deefa2019-12-19 14:20:12 +0000191# GN target: //test:client_api_example
192perfetto_cc_binary(
193 name = "client_api_example",
194 srcs = [
Lalit Magantid6d9b4a2019-12-19 15:11:17 +0000195 ":include_perfetto_base_base",
196 ":include_perfetto_protozero_protozero",
Daniele Di Proietto8b46d692022-04-22 15:59:40 +0100197 ":include_perfetto_public_abi_base",
198 ":include_perfetto_public_base",
Lalit Magantid6d9b4a2019-12-19 15:11:17 +0000199 ":include_perfetto_tracing_core_forward_decls",
200 ":include_perfetto_tracing_tracing",
Primiano Tucci34bc5592021-02-19 17:53:36 +0100201 "test/client_api_example.cc",
Lalit Maganti01deefa2019-12-19 14:20:12 +0000202 ],
203 deps = [
204 ":libperfetto_client_experimental",
Lalit Magantid6d9b4a2019-12-19 15:11:17 +0000205 ":protos_perfetto_common_cpp",
Lalit Maganti01deefa2019-12-19 14:20:12 +0000206 ":protos_perfetto_common_zero",
207 ":protos_perfetto_config_android_zero",
208 ":protos_perfetto_config_ftrace_zero",
209 ":protos_perfetto_config_gpu_zero",
210 ":protos_perfetto_config_inode_file_zero",
Sami Kyostiladd1cfd72020-12-14 15:48:25 +0000211 ":protos_perfetto_config_interceptors_zero",
Lalit Maganti01deefa2019-12-19 14:20:12 +0000212 ":protos_perfetto_config_power_zero",
213 ":protos_perfetto_config_process_stats_zero",
214 ":protos_perfetto_config_profiling_zero",
Hector Dearman5974de02022-06-23 15:31:40 +0100215 ":protos_perfetto_config_statsd_zero",
Lalit Maganti01deefa2019-12-19 14:20:12 +0000216 ":protos_perfetto_config_sys_stats_zero",
Hector Dearman48047d12022-08-02 14:00:46 +0100217 ":protos_perfetto_config_system_info_zero",
Sami Kyostila38cd0412020-02-12 17:09:52 +0000218 ":protos_perfetto_config_track_event_cpp",
219 ":protos_perfetto_config_track_event_zero",
Lalit Maganti01deefa2019-12-19 14:20:12 +0000220 ":protos_perfetto_config_zero",
221 ":protos_perfetto_trace_android_zero",
222 ":protos_perfetto_trace_chrome_zero",
223 ":protos_perfetto_trace_filesystem_zero",
224 ":protos_perfetto_trace_ftrace_zero",
225 ":protos_perfetto_trace_gpu_zero",
226 ":protos_perfetto_trace_interned_data_zero",
227 ":protos_perfetto_trace_minimal_zero",
228 ":protos_perfetto_trace_non_minimal_zero",
229 ":protos_perfetto_trace_perfetto_zero",
230 ":protos_perfetto_trace_power_zero",
231 ":protos_perfetto_trace_profiling_zero",
232 ":protos_perfetto_trace_ps_zero",
Hector Dearman5974de02022-06-23 15:31:40 +0100233 ":protos_perfetto_trace_statsd_zero",
Lalit Maganti01deefa2019-12-19 14:20:12 +0000234 ":protos_perfetto_trace_sys_stats_zero",
Rafal Slawikb013a112020-04-03 16:12:02 +0100235 ":protos_perfetto_trace_system_info_zero",
Sami Kyostilad4eec8e2020-05-05 15:56:42 +0100236 ":protos_perfetto_trace_track_event_cpp",
Lalit Maganti01deefa2019-12-19 14:20:12 +0000237 ":protos_perfetto_trace_track_event_zero",
Igor Kraskevich49b42882022-03-21 13:03:02 +0000238 ":protos_perfetto_trace_translation_zero",
Lalit Maganti01deefa2019-12-19 14:20:12 +0000239 ],
240)
241
Primiano Tucci1d409982019-09-19 10:15:18 +0100242# GN target: //:libperfetto
243perfetto_cc_library(
244 name = "libperfetto",
245 srcs = [
246 ":src_android_internal_headers",
247 ":src_android_internal_lazy_library_loader",
Lalit Magantiea7631b2021-01-13 12:33:55 +0000248 ":src_android_stats_android_stats",
Lalit Magantid37172d2020-12-10 19:30:05 +0000249 ":src_android_stats_perfetto_atoms",
Ryan Savitskidc218882020-11-16 18:02:02 +0000250 ":src_kallsyms_kallsyms",
Ryan Zuklieec18eb32022-07-25 15:51:59 -0700251 ":src_kernel_utils_syscall_table",
Primiano Tuccif18ab812021-05-14 23:01:19 +0100252 ":src_protozero_filtering_bytecode_common",
253 ":src_protozero_filtering_bytecode_parser",
254 ":src_protozero_filtering_message_filter",
Hector Dearman09db5b02022-07-11 13:35:23 +0100255 ":src_protozero_proto_ring_buffer",
Andy Yu2b0a2132022-04-07 16:17:10 -0700256 ":src_traced_probes_android_game_intervention_list_android_game_intervention_list",
Primiano Tucci1d409982019-09-19 10:15:18 +0100257 ":src_traced_probes_android_log_android_log",
Simon MacMullenf0a6b382022-07-06 16:35:55 +0000258 ":src_traced_probes_android_system_property_android_system_property",
Rafal Slawik8053a682020-04-08 17:26:40 +0100259 ":src_traced_probes_common_common",
Primiano Tucci1d409982019-09-19 10:15:18 +0100260 ":src_traced_probes_data_source",
261 ":src_traced_probes_filesystem_filesystem",
Primiano Tucci65a4fb12020-12-21 18:35:15 +0100262 ":src_traced_probes_ftrace_format_parser_format_parser",
Primiano Tucci1d409982019-09-19 10:15:18 +0100263 ":src_traced_probes_ftrace_ftrace",
Ryan Savitskiec35afb2021-01-29 18:39:36 +0000264 ":src_traced_probes_ftrace_ftrace_procfs",
Simon MacMullen3d4c54a2020-04-17 16:40:53 +0100265 ":src_traced_probes_initial_display_state_initial_display_state",
Primiano Tucci1d409982019-09-19 10:15:18 +0100266 ":src_traced_probes_metatrace_metatrace",
267 ":src_traced_probes_packages_list_packages_list",
Florian Mayer29e17182020-12-23 10:59:02 +0000268 ":src_traced_probes_packages_list_packages_list_parser",
Primiano Tucci1d409982019-09-19 10:15:18 +0100269 ":src_traced_probes_power_power",
270 ":src_traced_probes_probes",
271 ":src_traced_probes_probes_src",
272 ":src_traced_probes_ps_ps",
Hector Dearman09db5b02022-07-11 13:35:23 +0100273 ":src_traced_probes_statsd_client_statsd_client",
Primiano Tucci1d409982019-09-19 10:15:18 +0100274 ":src_traced_probes_sys_stats_sys_stats",
Rafal Slawikb013a112020-04-03 16:12:02 +0100275 ":src_traced_probes_system_info_system_info",
Primiano Tucci1d409982019-09-19 10:15:18 +0100276 ":src_traced_service_service",
277 ":src_tracing_common",
Primiano Tuccic4c063b2020-01-27 09:34:46 +0000278 ":src_tracing_core_core",
279 ":src_tracing_core_service",
280 ":src_tracing_ipc_common",
Primiano Tucci8761a312021-11-25 17:17:23 +0000281 ":src_tracing_ipc_default_socket",
Primiano Tuccic4c063b2020-01-27 09:34:46 +0000282 ":src_tracing_ipc_producer_producer",
283 ":src_tracing_ipc_service_service",
Primiano Tucci1d409982019-09-19 10:15:18 +0100284 ],
285 hdrs = [
286 ":include_perfetto_base_base",
287 ":include_perfetto_ext_base_base",
288 ":include_perfetto_ext_ipc_ipc",
289 ":include_perfetto_ext_traced_sys_stats_counters",
290 ":include_perfetto_ext_traced_traced",
291 ":include_perfetto_ext_tracing_core_core",
292 ":include_perfetto_ext_tracing_ipc_ipc",
293 ":include_perfetto_protozero_protozero",
Daniele Di Proietto8b46d692022-04-22 15:59:40 +0100294 ":include_perfetto_public_abi_base",
295 ":include_perfetto_public_base",
Primiano Tucci1d409982019-09-19 10:15:18 +0100296 ":include_perfetto_tracing_core_core",
Primiano Tuccicb8cea22019-11-22 11:05:35 +0000297 ":include_perfetto_tracing_core_forward_decls",
Primiano Tucci1d409982019-09-19 10:15:18 +0100298 ":include_perfetto_tracing_tracing",
299 ],
300 deps = [
Primiano Tucci916f4e52020-10-16 20:40:33 +0200301 ":perfetto_ipc",
Primiano Tucci57dd66b2019-10-15 23:09:04 +0100302 ":protos_perfetto_common_cpp",
Primiano Tucci1d409982019-09-19 10:15:18 +0100303 ":protos_perfetto_common_zero",
Primiano Tucci57dd66b2019-10-15 23:09:04 +0100304 ":protos_perfetto_config_android_cpp",
Primiano Tucci1d409982019-09-19 10:15:18 +0100305 ":protos_perfetto_config_android_zero",
Primiano Tucci57dd66b2019-10-15 23:09:04 +0100306 ":protos_perfetto_config_cpp",
307 ":protos_perfetto_config_ftrace_cpp",
Primiano Tucci1d409982019-09-19 10:15:18 +0100308 ":protos_perfetto_config_ftrace_zero",
Primiano Tucci57dd66b2019-10-15 23:09:04 +0100309 ":protos_perfetto_config_gpu_cpp",
Primiano Tucci1d409982019-09-19 10:15:18 +0100310 ":protos_perfetto_config_gpu_zero",
Primiano Tucci57dd66b2019-10-15 23:09:04 +0100311 ":protos_perfetto_config_inode_file_cpp",
Primiano Tucci1d409982019-09-19 10:15:18 +0100312 ":protos_perfetto_config_inode_file_zero",
Sami Kyostiladd1cfd72020-12-14 15:48:25 +0000313 ":protos_perfetto_config_interceptors_cpp",
314 ":protos_perfetto_config_interceptors_zero",
Primiano Tucci57dd66b2019-10-15 23:09:04 +0100315 ":protos_perfetto_config_power_cpp",
Primiano Tucci1d409982019-09-19 10:15:18 +0100316 ":protos_perfetto_config_power_zero",
Primiano Tucci57dd66b2019-10-15 23:09:04 +0100317 ":protos_perfetto_config_process_stats_cpp",
Primiano Tucci1d409982019-09-19 10:15:18 +0100318 ":protos_perfetto_config_process_stats_zero",
Primiano Tucci57dd66b2019-10-15 23:09:04 +0100319 ":protos_perfetto_config_profiling_cpp",
Primiano Tucci1d409982019-09-19 10:15:18 +0100320 ":protos_perfetto_config_profiling_zero",
Hector Dearman5974de02022-06-23 15:31:40 +0100321 ":protos_perfetto_config_statsd_cpp",
322 ":protos_perfetto_config_statsd_zero",
Primiano Tucci57dd66b2019-10-15 23:09:04 +0100323 ":protos_perfetto_config_sys_stats_cpp",
Primiano Tucci1d409982019-09-19 10:15:18 +0100324 ":protos_perfetto_config_sys_stats_zero",
Hector Dearman48047d12022-08-02 14:00:46 +0100325 ":protos_perfetto_config_system_info_cpp",
326 ":protos_perfetto_config_system_info_zero",
Sami Kyostila38cd0412020-02-12 17:09:52 +0000327 ":protos_perfetto_config_track_event_cpp",
328 ":protos_perfetto_config_track_event_zero",
Primiano Tucci1d409982019-09-19 10:15:18 +0100329 ":protos_perfetto_config_zero",
Primiano Tuccie8020f92019-11-26 13:24:01 +0000330 ":protos_perfetto_ipc_cpp",
Primiano Tucci1d409982019-09-19 10:15:18 +0100331 ":protos_perfetto_ipc_ipc",
Primiano Tucci1d409982019-09-19 10:15:18 +0100332 ":protos_perfetto_trace_android_zero",
Primiano Tucci1d409982019-09-19 10:15:18 +0100333 ":protos_perfetto_trace_chrome_zero",
334 ":protos_perfetto_trace_filesystem_zero",
335 ":protos_perfetto_trace_ftrace_zero",
336 ":protos_perfetto_trace_gpu_zero",
337 ":protos_perfetto_trace_interned_data_zero",
Primiano Tucci1d409982019-09-19 10:15:18 +0100338 ":protos_perfetto_trace_minimal_zero",
339 ":protos_perfetto_trace_non_minimal_zero",
340 ":protos_perfetto_trace_perfetto_zero",
341 ":protos_perfetto_trace_power_zero",
342 ":protos_perfetto_trace_profiling_zero",
343 ":protos_perfetto_trace_ps_zero",
Hector Dearman09db5b02022-07-11 13:35:23 +0100344 ":protos_perfetto_trace_statsd_cpp",
Hector Dearman5974de02022-06-23 15:31:40 +0100345 ":protos_perfetto_trace_statsd_zero",
Primiano Tucci1d409982019-09-19 10:15:18 +0100346 ":protos_perfetto_trace_sys_stats_zero",
Rafal Slawikb013a112020-04-03 16:12:02 +0100347 ":protos_perfetto_trace_system_info_zero",
Sami Kyostilad4eec8e2020-05-05 15:56:42 +0100348 ":protos_perfetto_trace_track_event_cpp",
Primiano Tucci1d409982019-09-19 10:15:18 +0100349 ":protos_perfetto_trace_track_event_zero",
Igor Kraskevich49b42882022-03-21 13:03:02 +0000350 ":protos_perfetto_trace_translation_zero",
Hector Dearman09db5b02022-07-11 13:35:23 +0100351 ":protos_third_party_statsd_config_zero",
Primiano Tucci916f4e52020-10-16 20:40:33 +0200352 ":protozero",
353 ":src_base_base",
Daniele Di Proietto15b801e2022-06-30 12:56:13 +0100354 ":src_base_version",
Primiano Tuccie8020f92019-11-26 13:24:01 +0000355 ],
Lalit Magantif9c004d2020-01-06 14:44:34 +0000356 linkstatic = True,
Primiano Tucci1d409982019-09-19 10:15:18 +0100357)
358
359# GN target: //include/perfetto/base:base
Harvey Yang321c4fc2021-10-25 14:11:50 +0800360perfetto_filegroup(
Primiano Tucci1d409982019-09-19 10:15:18 +0100361 name = "include_perfetto_base_base",
362 srcs = [
363 "include/perfetto/base/build_config.h",
364 "include/perfetto/base/compiler.h",
Primiano Tucci1d409982019-09-19 10:15:18 +0100365 "include/perfetto/base/export.h",
Sami Kyostila26a04372020-01-13 12:46:48 +0000366 "include/perfetto/base/flat_set.h",
Primiano Tucci1d409982019-09-19 10:15:18 +0100367 "include/perfetto/base/logging.h",
Primiano Tuccif9460fa2020-12-09 01:28:33 +0100368 "include/perfetto/base/platform_handle.h",
Sami Kyostila26a04372020-01-13 12:46:48 +0000369 "include/perfetto/base/proc_utils.h",
Primiano Tuccidf440312020-10-30 16:43:58 +0100370 "include/perfetto/base/status.h",
Primiano Tucci1d409982019-09-19 10:15:18 +0100371 "include/perfetto/base/task_runner.h",
Alexander Timinba53cc72021-02-05 15:46:57 +0000372 "include/perfetto/base/template_util.h",
Sami Kyostila26a04372020-01-13 12:46:48 +0000373 "include/perfetto/base/thread_utils.h",
Primiano Tucci1d409982019-09-19 10:15:18 +0100374 "include/perfetto/base/time.h",
375 ],
376)
377
Primiano Tucci44a15be2021-11-06 21:40:18 +0000378# GN target: //include/perfetto/ext/base/http:http
379perfetto_filegroup(
380 name = "include_perfetto_ext_base_http_http",
381 srcs = [
382 "include/perfetto/ext/base/http/http_server.h",
Primiano Tucci95dbb702021-11-25 13:27:04 +0000383 "include/perfetto/ext/base/http/sha1.h",
Primiano Tucci44a15be2021-11-06 21:40:18 +0000384 ],
385)
386
Primiano Tucci1d409982019-09-19 10:15:18 +0100387# GN target: //include/perfetto/ext/base:base
Harvey Yang321c4fc2021-10-25 14:11:50 +0800388perfetto_filegroup(
Primiano Tucci1d409982019-09-19 10:15:18 +0100389 name = "include_perfetto_ext_base_base",
390 srcs = [
Daniele Di Proietto5ce0d142021-11-01 18:30:44 +0000391 "include/perfetto/ext/base/android_utils.h",
Primiano Tuccif4f2b452021-11-06 12:14:40 +0000392 "include/perfetto/ext/base/base64.h",
Primiano Tucci1d409982019-09-19 10:15:18 +0100393 "include/perfetto/ext/base/circular_queue.h",
394 "include/perfetto/ext/base/container_annotations.h",
Primiano Tucciab699b72021-10-15 11:53:00 +0100395 "include/perfetto/ext/base/crash_keys.h",
Primiano Tucci1bc10c62021-01-06 09:38:07 +0100396 "include/perfetto/ext/base/ctrl_c_handler.h",
Primiano Tucciabbc9fd2020-10-08 22:09:07 +0200397 "include/perfetto/ext/base/endian.h",
Primiano Tucci1d409982019-09-19 10:15:18 +0100398 "include/perfetto/ext/base/event_fd.h",
399 "include/perfetto/ext/base/file_utils.h",
Primiano Tuccic986ca12021-11-18 20:51:24 +0000400 "include/perfetto/ext/base/flat_hash_map.h",
Primiano Tucciccaf6db2021-01-05 22:32:26 +0100401 "include/perfetto/ext/base/getopt.h",
402 "include/perfetto/ext/base/getopt_compat.h",
Primiano Tucci1d409982019-09-19 10:15:18 +0100403 "include/perfetto/ext/base/hash.h",
Primiano Tucci1d409982019-09-19 10:15:18 +0100404 "include/perfetto/ext/base/metatrace.h",
405 "include/perfetto/ext/base/metatrace_events.h",
406 "include/perfetto/ext/base/no_destructor.h",
407 "include/perfetto/ext/base/optional.h",
408 "include/perfetto/ext/base/paged_memory.h",
Primiano Tuccidac91702021-04-30 15:47:51 +0100409 "include/perfetto/ext/base/periodic_task.h",
Primiano Tucci1d409982019-09-19 10:15:18 +0100410 "include/perfetto/ext/base/pipe.h",
Lalit Maganti52f13362023-01-23 16:38:01 +0000411 "include/perfetto/ext/base/platform.h",
Primiano Tucci1d409982019-09-19 10:15:18 +0100412 "include/perfetto/ext/base/scoped_file.h",
413 "include/perfetto/ext/base/small_set.h",
Primiano Tucci34abb8d2021-11-16 13:38:01 +0000414 "include/perfetto/ext/base/small_vector.h",
Lalit Maganti8ef27df2023-01-10 21:38:46 +0000415 "include/perfetto/ext/base/status_or.h",
Primiano Tucci1d409982019-09-19 10:15:18 +0100416 "include/perfetto/ext/base/string_splitter.h",
417 "include/perfetto/ext/base/string_utils.h",
418 "include/perfetto/ext/base/string_view.h",
419 "include/perfetto/ext/base/string_writer.h",
Primiano Tucci6d7d2542020-03-17 20:03:48 +0000420 "include/perfetto/ext/base/subprocess.h",
Primiano Tuccibc44c3c2022-01-14 12:59:01 +0000421 "include/perfetto/ext/base/sys_types.h",
Primiano Tucci1d409982019-09-19 10:15:18 +0100422 "include/perfetto/ext/base/temp_file.h",
423 "include/perfetto/ext/base/thread_annotations.h",
424 "include/perfetto/ext/base/thread_checker.h",
425 "include/perfetto/ext/base/thread_task_runner.h",
Ryana67749d2020-04-03 18:43:31 +0100426 "include/perfetto/ext/base/thread_utils.h",
Primiano Tucci1d409982019-09-19 10:15:18 +0100427 "include/perfetto/ext/base/unix_socket.h",
428 "include/perfetto/ext/base/unix_task_runner.h",
429 "include/perfetto/ext/base/utils.h",
430 "include/perfetto/ext/base/uuid.h",
431 "include/perfetto/ext/base/waitable_event.h",
432 "include/perfetto/ext/base/watchdog.h",
433 "include/perfetto/ext/base/watchdog_noop.h",
434 "include/perfetto/ext/base/watchdog_posix.h",
435 "include/perfetto/ext/base/weak_ptr.h",
436 ],
437)
438
Daniele Di Proietto15b801e2022-06-30 12:56:13 +0100439# GN target: //include/perfetto/ext/base:version
440perfetto_filegroup(
441 name = "include_perfetto_ext_base_version",
442 srcs = [
443 "include/perfetto/ext/base/version.h",
444 ],
445)
446
Primiano Tucci1d409982019-09-19 10:15:18 +0100447# GN target: //include/perfetto/ext/ipc:ipc
Harvey Yang321c4fc2021-10-25 14:11:50 +0800448perfetto_filegroup(
Primiano Tucci1d409982019-09-19 10:15:18 +0100449 name = "include_perfetto_ext_ipc_ipc",
450 srcs = [
451 "include/perfetto/ext/ipc/async_result.h",
452 "include/perfetto/ext/ipc/basic_types.h",
453 "include/perfetto/ext/ipc/client.h",
454 "include/perfetto/ext/ipc/client_info.h",
455 "include/perfetto/ext/ipc/codegen_helpers.h",
456 "include/perfetto/ext/ipc/deferred.h",
457 "include/perfetto/ext/ipc/host.h",
458 "include/perfetto/ext/ipc/service.h",
459 "include/perfetto/ext/ipc/service_descriptor.h",
460 "include/perfetto/ext/ipc/service_proxy.h",
461 ],
462)
463
Sylwester Blaszczyk76aa7002020-11-27 15:48:21 +0100464# GN target: //include/perfetto/ext/trace_processor/importers/memory_tracker:memory_tracker
Harvey Yang321c4fc2021-10-25 14:11:50 +0800465perfetto_filegroup(
Sylwester Blaszczyk76aa7002020-11-27 15:48:21 +0100466 name = "include_perfetto_ext_trace_processor_importers_memory_tracker_memory_tracker",
467 srcs = [
468 "include/perfetto/ext/trace_processor/importers/memory_tracker/graph.h",
469 "include/perfetto/ext/trace_processor/importers/memory_tracker/graph_processor.h",
470 "include/perfetto/ext/trace_processor/importers/memory_tracker/memory_allocator_node_id.h",
471 "include/perfetto/ext/trace_processor/importers/memory_tracker/memory_graph_edge.h",
472 "include/perfetto/ext/trace_processor/importers/memory_tracker/raw_memory_graph_node.h",
473 "include/perfetto/ext/trace_processor/importers/memory_tracker/raw_process_memory_node.h",
474 ],
475)
476
Ryan Savitskie65c4052022-03-24 18:22:19 +0000477# GN target: //include/perfetto/ext/trace_processor:demangle
478perfetto_filegroup(
479 name = "include_perfetto_ext_trace_processor_demangle",
480 srcs = [
481 "include/perfetto/ext/trace_processor/demangle.h",
482 ],
483)
484
Eric Seckler7fb1d232019-10-23 14:42:43 +0100485# GN target: //include/perfetto/ext/trace_processor:export_json
Harvey Yang321c4fc2021-10-25 14:11:50 +0800486perfetto_filegroup(
Eric Seckler7fb1d232019-10-23 14:42:43 +0100487 name = "include_perfetto_ext_trace_processor_export_json",
488 srcs = [
489 "include/perfetto/ext/trace_processor/export_json.h",
490 ],
491)
492
Primiano Tucci1d409982019-09-19 10:15:18 +0100493# GN target: //include/perfetto/ext/traced:sys_stats_counters
Harvey Yang321c4fc2021-10-25 14:11:50 +0800494perfetto_filegroup(
Primiano Tucci1d409982019-09-19 10:15:18 +0100495 name = "include_perfetto_ext_traced_sys_stats_counters",
496 srcs = [
497 "include/perfetto/ext/traced/sys_stats_counters.h",
498 ],
499)
500
501# GN target: //include/perfetto/ext/traced:traced
Harvey Yang321c4fc2021-10-25 14:11:50 +0800502perfetto_filegroup(
Primiano Tucci1d409982019-09-19 10:15:18 +0100503 name = "include_perfetto_ext_traced_traced",
504 srcs = [
505 "include/perfetto/ext/traced/data_source_types.h",
506 "include/perfetto/ext/traced/traced.h",
507 ],
508)
509
510# GN target: //include/perfetto/ext/tracing/core:core
Harvey Yang321c4fc2021-10-25 14:11:50 +0800511perfetto_filegroup(
Primiano Tucci1d409982019-09-19 10:15:18 +0100512 name = "include_perfetto_ext_tracing_core_core",
513 srcs = [
514 "include/perfetto/ext/tracing/core/basic_types.h",
Primiano Tucci1d409982019-09-19 10:15:18 +0100515 "include/perfetto/ext/tracing/core/commit_data_request.h",
516 "include/perfetto/ext/tracing/core/consumer.h",
517 "include/perfetto/ext/tracing/core/observable_events.h",
518 "include/perfetto/ext/tracing/core/producer.h",
519 "include/perfetto/ext/tracing/core/shared_memory.h",
520 "include/perfetto/ext/tracing/core/shared_memory_abi.h",
521 "include/perfetto/ext/tracing/core/shared_memory_arbiter.h",
522 "include/perfetto/ext/tracing/core/slice.h",
Primiano Tucci1d409982019-09-19 10:15:18 +0100523 "include/perfetto/ext/tracing/core/trace_packet.h",
524 "include/perfetto/ext/tracing/core/trace_stats.h",
525 "include/perfetto/ext/tracing/core/trace_writer.h",
526 "include/perfetto/ext/tracing/core/tracing_service.h",
527 ],
528)
529
530# GN target: //include/perfetto/ext/tracing/ipc:ipc
Harvey Yang321c4fc2021-10-25 14:11:50 +0800531perfetto_filegroup(
Primiano Tucci1d409982019-09-19 10:15:18 +0100532 name = "include_perfetto_ext_tracing_ipc_ipc",
533 srcs = [
534 "include/perfetto/ext/tracing/ipc/consumer_ipc_client.h",
535 "include/perfetto/ext/tracing/ipc/default_socket.h",
536 "include/perfetto/ext/tracing/ipc/producer_ipc_client.h",
537 "include/perfetto/ext/tracing/ipc/service_ipc_host.h",
538 ],
539)
540
Florian Mayerbd88ff82019-12-18 16:36:37 +0000541# GN target: //include/perfetto/profiling:pprof_builder
Harvey Yang321c4fc2021-10-25 14:11:50 +0800542perfetto_filegroup(
Florian Mayerbd88ff82019-12-18 16:36:37 +0000543 name = "include_perfetto_profiling_pprof_builder",
Lalit Magantia4244e42019-09-20 12:03:32 +0100544 srcs = [
545 "include/perfetto/profiling/pprof_builder.h",
Lalit Magantia4244e42019-09-20 12:03:32 +0100546 ],
547)
548
Primiano Tucci1d409982019-09-19 10:15:18 +0100549# GN target: //include/perfetto/protozero:protozero
Harvey Yang321c4fc2021-10-25 14:11:50 +0800550perfetto_filegroup(
Primiano Tucci1d409982019-09-19 10:15:18 +0100551 name = "include_perfetto_protozero_protozero",
552 srcs = [
553 "include/perfetto/protozero/contiguous_memory_range.h",
Primiano Tuccie4144b72019-11-07 16:10:19 +0000554 "include/perfetto/protozero/copyable_ptr.h",
Primiano Tuccicb8cea22019-11-22 11:05:35 +0000555 "include/perfetto/protozero/cpp_message_obj.h",
Primiano Tucci1d409982019-09-19 10:15:18 +0100556 "include/perfetto/protozero/field.h",
Alexander Timinbaeb8b32021-04-15 11:16:24 +0000557 "include/perfetto/protozero/field_writer.h",
Daniele Di Proiettoa8559af2022-12-15 16:20:17 +0000558 "include/perfetto/protozero/gen_field_helpers.h",
Primiano Tucci1d409982019-09-19 10:15:18 +0100559 "include/perfetto/protozero/message.h",
Primiano Tucciacb6ca32020-08-19 13:27:52 +0200560 "include/perfetto/protozero/message_arena.h",
Primiano Tucci1d409982019-09-19 10:15:18 +0100561 "include/perfetto/protozero/message_handle.h",
562 "include/perfetto/protozero/packed_repeated_fields.h",
563 "include/perfetto/protozero/proto_decoder.h",
564 "include/perfetto/protozero/proto_utils.h",
Primiano Tucciacb6ca32020-08-19 13:27:52 +0200565 "include/perfetto/protozero/root_message.h",
Primiano Tucci1d409982019-09-19 10:15:18 +0100566 "include/perfetto/protozero/scattered_heap_buffer.h",
567 "include/perfetto/protozero/scattered_stream_null_delegate.h",
568 "include/perfetto/protozero/scattered_stream_writer.h",
Primiano Tucci6a7fa5f2019-11-19 11:09:20 +0000569 "include/perfetto/protozero/static_buffer.h",
Primiano Tucci1d409982019-09-19 10:15:18 +0100570 ],
571)
572
Daniele Di Proietto8b46d692022-04-22 15:59:40 +0100573# GN target: //include/perfetto/public/abi:base
574perfetto_filegroup(
575 name = "include_perfetto_public_abi_base",
576 srcs = [
Daniele Di Proietto713ab932022-04-22 15:59:57 +0100577 "include/perfetto/public/abi/atomic.h",
Daniele Di Proietto8b46d692022-04-22 15:59:40 +0100578 "include/perfetto/public/abi/export.h",
579 ],
580)
581
582# GN target: //include/perfetto/public:base
583perfetto_filegroup(
584 name = "include_perfetto_public_base",
585 srcs = [
586 "include/perfetto/public/compiler.h",
587 ],
588)
589
Eric Secklera7870e62019-11-01 10:11:58 +0000590# GN target: //include/perfetto/trace_processor:basic_types
Harvey Yang321c4fc2021-10-25 14:11:50 +0800591perfetto_filegroup(
Eric Secklera7870e62019-11-01 10:11:58 +0000592 name = "include_perfetto_trace_processor_basic_types",
593 srcs = [
594 "include/perfetto/trace_processor/basic_types.h",
595 "include/perfetto/trace_processor/status.h",
596 ],
597)
598
599# GN target: //include/perfetto/trace_processor:storage
Harvey Yang321c4fc2021-10-25 14:11:50 +0800600perfetto_filegroup(
Eric Secklera7870e62019-11-01 10:11:58 +0000601 name = "include_perfetto_trace_processor_storage",
602 srcs = [
Primiano Tucci3264b592021-11-08 18:20:51 +0000603 "include/perfetto/trace_processor/trace_blob.h",
604 "include/perfetto/trace_processor/trace_blob_view.h",
Eric Secklera7870e62019-11-01 10:11:58 +0000605 "include/perfetto/trace_processor/trace_processor_storage.h",
606 ],
607)
608
Primiano Tucci1d409982019-09-19 10:15:18 +0100609# GN target: //include/perfetto/trace_processor:trace_processor
Harvey Yang321c4fc2021-10-25 14:11:50 +0800610perfetto_filegroup(
Primiano Tucci1d409982019-09-19 10:15:18 +0100611 name = "include_perfetto_trace_processor_trace_processor",
612 srcs = [
Primiano Tucci4e01f632020-06-11 17:03:05 +0100613 "include/perfetto/trace_processor/iterator.h",
Alexander Timinbaf9b872022-11-09 23:46:46 +0000614 "include/perfetto/trace_processor/metatrace_config.h",
Eric Seckler8f70bbf2019-10-09 09:37:43 +0100615 "include/perfetto/trace_processor/read_trace.h",
Primiano Tucci8b970aa2021-11-09 20:21:33 +0000616 "include/perfetto/trace_processor/ref_counted.h",
Primiano Tucci1d409982019-09-19 10:15:18 +0100617 "include/perfetto/trace_processor/trace_processor.h",
618 ],
619)
620
621# GN target: //include/perfetto/tracing/core:core
Harvey Yang321c4fc2021-10-25 14:11:50 +0800622perfetto_filegroup(
Primiano Tucci1d409982019-09-19 10:15:18 +0100623 name = "include_perfetto_tracing_core_core",
624 srcs = [
625 "include/perfetto/tracing/core/chrome_config.h",
626 "include/perfetto/tracing/core/data_source_config.h",
627 "include/perfetto/tracing/core/data_source_descriptor.h",
Primiano Tucci1d409982019-09-19 10:15:18 +0100628 "include/perfetto/tracing/core/trace_config.h",
Primiano Tuccif5a94cc2020-03-26 10:02:13 +0000629 "include/perfetto/tracing/core/tracing_service_capabilities.h",
Primiano Tucci1d409982019-09-19 10:15:18 +0100630 "include/perfetto/tracing/core/tracing_service_state.h",
631 ],
632)
633
Primiano Tuccicb8cea22019-11-22 11:05:35 +0000634# GN target: //include/perfetto/tracing/core:forward_decls
Harvey Yang321c4fc2021-10-25 14:11:50 +0800635perfetto_filegroup(
Primiano Tuccicb8cea22019-11-22 11:05:35 +0000636 name = "include_perfetto_tracing_core_forward_decls",
637 srcs = [
638 "include/perfetto/tracing/core/forward_decls.h",
639 ],
640)
641
Primiano Tucci1d409982019-09-19 10:15:18 +0100642# GN target: //include/perfetto/tracing:tracing
Harvey Yang321c4fc2021-10-25 14:11:50 +0800643perfetto_filegroup(
Primiano Tucci1d409982019-09-19 10:15:18 +0100644 name = "include_perfetto_tracing_tracing",
645 srcs = [
Eric Seckleref4e7732021-03-30 13:55:03 +0100646 "include/perfetto/tracing/backend_type.h",
Florian Mayer974a8b82019-10-03 10:04:27 +0100647 "include/perfetto/tracing/buffer_exhausted_policy.h",
Sami Kyostiladd1cfd72020-12-14 15:48:25 +0000648 "include/perfetto/tracing/console_interceptor.h",
Primiano Tucci1d409982019-09-19 10:15:18 +0100649 "include/perfetto/tracing/data_source.h",
Sami Kyostila29ff8442019-11-26 16:05:13 +0000650 "include/perfetto/tracing/debug_annotation.h",
Sami Kyostila10b270a2019-11-19 19:12:03 +0000651 "include/perfetto/tracing/event_context.h",
Sami Kyostila927cd762020-12-01 17:09:14 +0000652 "include/perfetto/tracing/interceptor.h",
Primiano Tucci1d409982019-09-19 10:15:18 +0100653 "include/perfetto/tracing/internal/basic_types.h",
Alexander Timinab5cba12021-01-19 17:23:19 +0000654 "include/perfetto/tracing/internal/checked_scope.h",
Sami Kyostilaedf7c862021-03-11 13:33:35 +0000655 "include/perfetto/tracing/internal/compile_time_hash.h",
Primiano Tucci1d409982019-09-19 10:15:18 +0100656 "include/perfetto/tracing/internal/data_source_internal.h",
Daniele Di Proietto1cb3efc2022-05-06 19:45:52 +0100657 "include/perfetto/tracing/internal/data_source_type.h",
Primiano Tucci3feec552020-02-04 11:14:42 +0000658 "include/perfetto/tracing/internal/in_process_tracing_backend.h",
Sami Kyostila927cd762020-12-01 17:09:14 +0000659 "include/perfetto/tracing/internal/interceptor_trace_writer.h",
Primiano Tucci3feec552020-02-04 11:14:42 +0000660 "include/perfetto/tracing/internal/system_tracing_backend.h",
Eric Seckler36881d12021-02-10 10:55:31 +0000661 "include/perfetto/tracing/internal/tracing_backend_fake.h",
Primiano Tucci1d409982019-09-19 10:15:18 +0100662 "include/perfetto/tracing/internal/tracing_muxer.h",
663 "include/perfetto/tracing/internal/tracing_tls.h",
Pascal Muetschardb4966c52019-09-24 13:38:09 -0700664 "include/perfetto/tracing/internal/track_event_data_source.h",
Sami Kyostila1eebf5e2019-10-24 17:36:15 +0100665 "include/perfetto/tracing/internal/track_event_internal.h",
Alexander Timin8ef1db32021-04-30 12:52:59 +0000666 "include/perfetto/tracing/internal/track_event_interned_fields.h",
Sami Kyostila1eebf5e2019-10-24 17:36:15 +0100667 "include/perfetto/tracing/internal/track_event_macros.h",
Alexander Timin129c37c2021-04-08 19:17:59 +0000668 "include/perfetto/tracing/internal/write_track_event_args.h",
Primiano Tucci1d409982019-09-19 10:15:18 +0100669 "include/perfetto/tracing/locked_handle.h",
670 "include/perfetto/tracing/platform.h",
Alexander Timin27290e82021-03-12 20:39:23 +0000671 "include/perfetto/tracing/string_helpers.h",
Primiano Tucci1d409982019-09-19 10:15:18 +0100672 "include/perfetto/tracing/trace_writer_base.h",
Alexander Timin129bdcf2021-04-16 11:36:37 +0000673 "include/perfetto/tracing/traced_proto.h",
Alexander Timin02d79852021-01-15 16:31:24 +0000674 "include/perfetto/tracing/traced_value.h",
Alexander Timin4e669c82021-02-05 13:48:29 +0000675 "include/perfetto/tracing/traced_value_forward.h",
Primiano Tucci1d409982019-09-19 10:15:18 +0100676 "include/perfetto/tracing/tracing.h",
677 "include/perfetto/tracing/tracing_backend.h",
Eric Seckleref4e7732021-03-30 13:55:03 +0100678 "include/perfetto/tracing/tracing_policy.h",
Sami Kyostila26a04372020-01-13 12:46:48 +0000679 "include/perfetto/tracing/track.h",
Pascal Muetschardb4966c52019-09-24 13:38:09 -0700680 "include/perfetto/tracing/track_event.h",
Alexander Timin84af38b2021-10-05 17:10:31 +0100681 "include/perfetto/tracing/track_event_args.h",
Sami Kyostila1eebf5e2019-10-24 17:36:15 +0100682 "include/perfetto/tracing/track_event_category_registry.h",
Sami Kyostilabe5d0e32019-11-07 12:53:25 +0000683 "include/perfetto/tracing/track_event_interned_data_index.h",
Sami Kyostila4ac4a662020-01-17 11:10:57 +0000684 "include/perfetto/tracing/track_event_legacy.h",
Sami Kyostiladd1cfd72020-12-14 15:48:25 +0000685 "include/perfetto/tracing/track_event_state_tracker.h",
Primiano Tucci1d409982019-09-19 10:15:18 +0100686 ],
687)
688
689# GN target: //src/android_internal:headers
Harvey Yang321c4fc2021-10-25 14:11:50 +0800690perfetto_filegroup(
Primiano Tucci1d409982019-09-19 10:15:18 +0100691 name = "src_android_internal_headers",
692 srcs = [
693 "src/android_internal/atrace_hal.h",
Primiano Tucci1d409982019-09-19 10:15:18 +0100694 "src/android_internal/health_hal.h",
695 "src/android_internal/incident_service.h",
Raymond Chiu6403a0e2021-03-19 12:35:34 +0000696 "src/android_internal/power_stats.h",
Hector Dearman92d7d112019-12-05 15:19:57 +0000697 "src/android_internal/statsd_logging.h",
Collin Fijalkovichef96fb72021-01-06 16:14:33 -0800698 "src/android_internal/tracing_service_proxy.h",
Primiano Tucci1d409982019-09-19 10:15:18 +0100699 ],
700)
701
702# GN target: //src/android_internal:lazy_library_loader
Harvey Yang321c4fc2021-10-25 14:11:50 +0800703perfetto_filegroup(
Primiano Tucci1d409982019-09-19 10:15:18 +0100704 name = "src_android_internal_lazy_library_loader",
705 srcs = [
706 "src/android_internal/lazy_library_loader.cc",
707 "src/android_internal/lazy_library_loader.h",
708 ],
709)
710
Lalit Magantif2d81b72020-12-11 01:53:29 +0000711# GN target: //src/android_stats:android_stats
Harvey Yang321c4fc2021-10-25 14:11:50 +0800712perfetto_filegroup(
Lalit Magantif2d81b72020-12-11 01:53:29 +0000713 name = "src_android_stats_android_stats",
714 srcs = [
715 "src/android_stats/statsd_logging_helper.cc",
716 "src/android_stats/statsd_logging_helper.h",
717 ],
718)
719
Lalit Magantid37172d2020-12-10 19:30:05 +0000720# GN target: //src/android_stats:perfetto_atoms
Harvey Yang321c4fc2021-10-25 14:11:50 +0800721perfetto_filegroup(
Lalit Magantid37172d2020-12-10 19:30:05 +0000722 name = "src_android_stats_perfetto_atoms",
723 srcs = [
724 "src/android_stats/perfetto_atoms.h",
725 ],
726)
727
Primiano Tucci44a15be2021-11-06 21:40:18 +0000728# GN target: //src/base/http:http
729perfetto_cc_library(
730 name = "src_base_http_http",
731 srcs = [
732 "src/base/http/http_server.cc",
Primiano Tucci95dbb702021-11-25 13:27:04 +0000733 "src/base/http/sha1.cc",
Primiano Tucci44a15be2021-11-06 21:40:18 +0000734 ],
735 hdrs = [
736 ":include_perfetto_base_base",
737 ":include_perfetto_ext_base_base",
738 ":include_perfetto_ext_base_http_http",
Daniele Di Proietto8b46d692022-04-22 15:59:40 +0100739 ":include_perfetto_public_abi_base",
740 ":include_perfetto_public_base",
Primiano Tucci44a15be2021-11-06 21:40:18 +0000741 ],
742 deps = [
743 ":src_base_base",
744 ":src_base_unix_socket",
745 ],
746 linkstatic = True,
747)
748
Primiano Tucci1d409982019-09-19 10:15:18 +0100749# GN target: //src/base:base
Primiano Tucci916f4e52020-10-16 20:40:33 +0200750perfetto_cc_library(
Primiano Tucci1d409982019-09-19 10:15:18 +0100751 name = "src_base_base",
752 srcs = [
Daniele Di Proietto5ce0d142021-11-01 18:30:44 +0000753 "src/base/android_utils.cc",
Primiano Tuccif4f2b452021-11-06 12:14:40 +0000754 "src/base/base64.cc",
Primiano Tucciab699b72021-10-15 11:53:00 +0100755 "src/base/crash_keys.cc",
Primiano Tucci1bc10c62021-01-06 09:38:07 +0100756 "src/base/ctrl_c_handler.cc",
Primiano Tucci1d409982019-09-19 10:15:18 +0100757 "src/base/event_fd.cc",
758 "src/base/file_utils.cc",
Primiano Tucciccaf6db2021-01-05 22:32:26 +0100759 "src/base/getopt_compat.cc",
Primiano Tuccic7fb63f2021-10-11 16:28:05 +0100760 "src/base/log_ring_buffer.h",
Primiano Tuccic64b05f2019-12-05 10:30:52 +0000761 "src/base/logging.cc",
Primiano Tucci1d409982019-09-19 10:15:18 +0100762 "src/base/metatrace.cc",
763 "src/base/paged_memory.cc",
Primiano Tuccidac91702021-04-30 15:47:51 +0100764 "src/base/periodic_task.cc",
Primiano Tucci1d409982019-09-19 10:15:18 +0100765 "src/base/pipe.cc",
Primiano Tuccidf440312020-10-30 16:43:58 +0100766 "src/base/status.cc",
Primiano Tucci1d409982019-09-19 10:15:18 +0100767 "src/base/string_splitter.cc",
768 "src/base/string_utils.cc",
769 "src/base/string_view.cc",
Primiano Tucci6aa3b752021-01-05 14:22:43 +0100770 "src/base/subprocess.cc",
Primiano Tucci8163b2c2020-12-21 15:26:04 +0100771 "src/base/subprocess_posix.cc",
Primiano Tucci6aa3b752021-01-05 14:22:43 +0100772 "src/base/subprocess_windows.cc",
Primiano Tucci1d409982019-09-19 10:15:18 +0100773 "src/base/temp_file.cc",
774 "src/base/thread_checker.cc",
775 "src/base/thread_task_runner.cc",
Sergey Ulanov6ac6b2f2022-10-21 10:48:23 -0700776 "src/base/thread_utils.cc",
Primiano Tucci1d409982019-09-19 10:15:18 +0100777 "src/base/time.cc",
778 "src/base/unix_task_runner.cc",
Primiano Tuccia81d2772020-10-07 00:12:41 +0200779 "src/base/utils.cc",
Primiano Tucci1d409982019-09-19 10:15:18 +0100780 "src/base/uuid.cc",
781 "src/base/virtual_destructors.cc",
782 "src/base/waitable_event.cc",
783 "src/base/watchdog_posix.cc",
784 ],
Primiano Tucci916f4e52020-10-16 20:40:33 +0200785 hdrs = [
786 ":include_perfetto_base_base",
787 ":include_perfetto_ext_base_base",
Daniele Di Proietto8b46d692022-04-22 15:59:40 +0100788 ":include_perfetto_public_abi_base",
789 ":include_perfetto_public_base",
Primiano Tucci916f4e52020-10-16 20:40:33 +0200790 ],
Lalit Maganti52f13362023-01-23 16:38:01 +0000791 deps = [
792 ] + PERFETTO_CONFIG.deps.base_platform,
Primiano Tucci916f4e52020-10-16 20:40:33 +0200793 linkstatic = True,
Primiano Tucci1d409982019-09-19 10:15:18 +0100794)
795
796# GN target: //src/base:unix_socket
Primiano Tucci916f4e52020-10-16 20:40:33 +0200797perfetto_cc_library(
Primiano Tucci1d409982019-09-19 10:15:18 +0100798 name = "src_base_unix_socket",
799 srcs = [
800 "src/base/unix_socket.cc",
801 ],
Primiano Tucci916f4e52020-10-16 20:40:33 +0200802 hdrs = [
803 ":include_perfetto_base_base",
804 ":include_perfetto_ext_base_base",
Daniele Di Proietto8b46d692022-04-22 15:59:40 +0100805 ":include_perfetto_public_abi_base",
806 ":include_perfetto_public_base",
Primiano Tucci916f4e52020-10-16 20:40:33 +0200807 ],
808 linkstatic = True,
Primiano Tucci1d409982019-09-19 10:15:18 +0100809)
810
Daniele Di Proietto15b801e2022-06-30 12:56:13 +0100811# GN target: //src/base:version
812perfetto_cc_library(
813 name = "src_base_version",
814 srcs = [
815 "src/base/version.cc",
816 ],
817 hdrs = [
818 ":include_perfetto_ext_base_version",
819 ],
820 deps = [
821 ":src_base_base",
822 ] + PERFETTO_CONFIG.deps.version_header,
823 linkstatic = True,
824)
825
Harvey Yang321c4fc2021-10-25 14:11:50 +0800826perfetto_genrule(
Primiano Tucciec590132020-11-16 14:16:44 +0100827 name = "src_base_version_gen_h",
828 srcs = [
829 "CHANGELOG",
830 ],
831 outs = [
832 "perfetto_version.gen.h",
833 ],
Joshua Gilpatrick042931b2020-12-04 08:55:59 -0800834 cmd = "$(location gen_version_header_py) --cpp_out=$@ --changelog=$(location CHANGELOG)",
Primiano Tucciec590132020-11-16 14:16:44 +0100835 exec_tools = [
836 ":gen_version_header_py",
837 ],
838)
839
Primiano Tuccic4c063b2020-01-27 09:34:46 +0000840# GN target: //src/ipc:client
Harvey Yang321c4fc2021-10-25 14:11:50 +0800841perfetto_filegroup(
Primiano Tuccic4c063b2020-01-27 09:34:46 +0000842 name = "src_ipc_client",
843 srcs = [
844 "src/ipc/client_impl.cc",
845 "src/ipc/client_impl.h",
846 "src/ipc/service_proxy.cc",
847 ],
848)
849
850# GN target: //src/ipc:common
Harvey Yang321c4fc2021-10-25 14:11:50 +0800851perfetto_filegroup(
Primiano Tuccic4c063b2020-01-27 09:34:46 +0000852 name = "src_ipc_common",
Primiano Tucci1d409982019-09-19 10:15:18 +0100853 srcs = [
854 "src/ipc/buffered_frame_deserializer.cc",
855 "src/ipc/buffered_frame_deserializer.h",
Primiano Tucci1d409982019-09-19 10:15:18 +0100856 "src/ipc/deferred.cc",
Primiano Tuccic4c063b2020-01-27 09:34:46 +0000857 "src/ipc/virtual_destructors.cc",
858 ],
859)
860
861# GN target: //src/ipc:host
Harvey Yang321c4fc2021-10-25 14:11:50 +0800862perfetto_filegroup(
Primiano Tuccic4c063b2020-01-27 09:34:46 +0000863 name = "src_ipc_host",
864 srcs = [
Primiano Tucci1d409982019-09-19 10:15:18 +0100865 "src/ipc/host_impl.cc",
866 "src/ipc/host_impl.h",
Primiano Tucci1d409982019-09-19 10:15:18 +0100867 ],
868)
869
Ryan Savitskidc218882020-11-16 18:02:02 +0000870# GN target: //src/kallsyms:kallsyms
Harvey Yang321c4fc2021-10-25 14:11:50 +0800871perfetto_filegroup(
Ryan Savitskidc218882020-11-16 18:02:02 +0000872 name = "src_kallsyms_kallsyms",
873 srcs = [
874 "src/kallsyms/kernel_symbol_map.cc",
875 "src/kallsyms/kernel_symbol_map.h",
876 "src/kallsyms/lazy_kernel_symbolizer.cc",
877 "src/kallsyms/lazy_kernel_symbolizer.h",
878 ],
879)
880
Ryan Zuklieec18eb32022-07-25 15:51:59 -0700881# GN target: //src/kernel_utils:syscall_table
882perfetto_filegroup(
883 name = "src_kernel_utils_syscall_table",
884 srcs = [
885 "src/kernel_utils/syscall_table.cc",
886 "src/kernel_utils/syscall_table.h",
887 "src/kernel_utils/syscalls_aarch32.h",
888 "src/kernel_utils/syscalls_aarch64.h",
889 "src/kernel_utils/syscalls_armeabi.h",
890 "src/kernel_utils/syscalls_x86.h",
891 "src/kernel_utils/syscalls_x86_64.h",
892 ],
893)
894
Lalit Maganti88e64de2022-11-21 18:29:57 +0000895# GN target: //src/perfetto_cmd:gen_cc_config_descriptor
Lalit Maganti2939c082021-03-11 17:25:44 +0000896perfetto_cc_proto_descriptor(
897 name = "src_perfetto_cmd_gen_cc_config_descriptor",
898 deps = [
Lalit Maganti8d6d7c12022-02-24 20:35:23 +0000899 ":protos_perfetto_config_descriptor",
Lalit Maganti2939c082021-03-11 17:25:44 +0000900 ],
901 outs = [
Lalit Maganti8d6d7c12022-02-24 20:35:23 +0000902 "src/perfetto_cmd/config.descriptor.h",
Lalit Maganti2939c082021-03-11 17:25:44 +0000903 ],
904)
905
Primiano Tucci1d409982019-09-19 10:15:18 +0100906# GN target: //src/perfetto_cmd:perfetto_cmd
Harvey Yang321c4fc2021-10-25 14:11:50 +0800907perfetto_filegroup(
Primiano Tucci1d409982019-09-19 10:15:18 +0100908 name = "src_perfetto_cmd_perfetto_cmd",
909 srcs = [
910 "src/perfetto_cmd/config.cc",
911 "src/perfetto_cmd/config.h",
912 "src/perfetto_cmd/packet_writer.cc",
913 "src/perfetto_cmd/packet_writer.h",
914 "src/perfetto_cmd/pbtxt_to_pb.cc",
915 "src/perfetto_cmd/pbtxt_to_pb.h",
916 "src/perfetto_cmd/perfetto_cmd.cc",
917 "src/perfetto_cmd/perfetto_cmd.h",
Primiano Tucci1d409982019-09-19 10:15:18 +0100918 "src/perfetto_cmd/rate_limiter.cc",
919 "src/perfetto_cmd/rate_limiter.h",
920 ],
921)
922
923# GN target: //src/perfetto_cmd:trigger_producer
Harvey Yang321c4fc2021-10-25 14:11:50 +0800924perfetto_filegroup(
Primiano Tucci1d409982019-09-19 10:15:18 +0100925 name = "src_perfetto_cmd_trigger_producer",
926 srcs = [
927 "src/perfetto_cmd/trigger_producer.cc",
928 "src/perfetto_cmd/trigger_producer.h",
929 ],
930)
931
Florian Mayerbd88ff82019-12-18 16:36:37 +0000932# GN target: //src/profiling/symbolizer:symbolize_database
Harvey Yang321c4fc2021-10-25 14:11:50 +0800933perfetto_filegroup(
Florian Mayerbd88ff82019-12-18 16:36:37 +0000934 name = "src_profiling_symbolizer_symbolize_database",
935 srcs = [
936 "src/profiling/symbolizer/symbolize_database.cc",
937 "src/profiling/symbolizer/symbolize_database.h",
938 ],
939)
940
941# GN target: //src/profiling/symbolizer:symbolizer
Harvey Yang321c4fc2021-10-25 14:11:50 +0800942perfetto_filegroup(
Florian Mayerbd88ff82019-12-18 16:36:37 +0000943 name = "src_profiling_symbolizer_symbolizer",
944 srcs = [
Uwem Wilsonecda9a22021-07-01 22:29:17 +0000945 "src/profiling/symbolizer/breakpad_parser.cc",
946 "src/profiling/symbolizer/breakpad_parser.h",
Uwem Wilson3e99f332021-07-09 16:05:29 +0000947 "src/profiling/symbolizer/breakpad_symbolizer.cc",
948 "src/profiling/symbolizer/breakpad_symbolizer.h",
Daniele Di Proietto25f80692021-09-17 10:14:41 +0000949 "src/profiling/symbolizer/elf.h",
Florian Mayerbd88ff82019-12-18 16:36:37 +0000950 "src/profiling/symbolizer/local_symbolizer.cc",
951 "src/profiling/symbolizer/local_symbolizer.h",
Joshua Gilpatrickcd349942020-11-11 15:18:37 -0800952 "src/profiling/symbolizer/scoped_read_mmap.h",
953 "src/profiling/symbolizer/scoped_read_mmap_posix.cc",
Joshua Gilpatrickd964ea22020-11-18 11:55:00 -0800954 "src/profiling/symbolizer/scoped_read_mmap_windows.cc",
Joshua Gilpatrickcd349942020-11-11 15:18:37 -0800955 "src/profiling/symbolizer/subprocess.h",
956 "src/profiling/symbolizer/subprocess_posix.cc",
Joshua Gilpatrickd964ea22020-11-18 11:55:00 -0800957 "src/profiling/symbolizer/subprocess_windows.cc",
Florian Mayerbd88ff82019-12-18 16:36:37 +0000958 "src/profiling/symbolizer/symbolizer.cc",
959 "src/profiling/symbolizer/symbolizer.h",
960 ],
961)
962
Florian Mayer3be55fb2019-11-22 13:08:47 +0000963# GN target: //src/profiling:deobfuscator
Harvey Yang321c4fc2021-10-25 14:11:50 +0800964perfetto_filegroup(
Florian Mayer3be55fb2019-11-22 13:08:47 +0000965 name = "src_profiling_deobfuscator",
966 srcs = [
967 "src/profiling/deobfuscator.cc",
Florian Mayer9a683092020-12-23 18:30:00 +0000968 "src/profiling/deobfuscator.h",
Florian Mayer3be55fb2019-11-22 13:08:47 +0000969 ],
970)
971
Primiano Tuccif18ab812021-05-14 23:01:19 +0100972# GN target: //src/protozero/filtering:bytecode_common
Harvey Yang321c4fc2021-10-25 14:11:50 +0800973perfetto_filegroup(
Primiano Tuccif18ab812021-05-14 23:01:19 +0100974 name = "src_protozero_filtering_bytecode_common",
975 srcs = [
976 "src/protozero/filtering/filter_bytecode_common.h",
977 ],
978)
979
Lalit Magantiff9b3262021-07-01 22:24:01 +0100980# GN target: //src/protozero/filtering:bytecode_generator
Harvey Yang321c4fc2021-10-25 14:11:50 +0800981perfetto_filegroup(
Lalit Magantiff9b3262021-07-01 22:24:01 +0100982 name = "src_protozero_filtering_bytecode_generator",
983 srcs = [
984 "src/protozero/filtering/filter_bytecode_generator.cc",
985 "src/protozero/filtering/filter_bytecode_generator.h",
986 ],
987)
988
Primiano Tuccif18ab812021-05-14 23:01:19 +0100989# GN target: //src/protozero/filtering:bytecode_parser
Harvey Yang321c4fc2021-10-25 14:11:50 +0800990perfetto_filegroup(
Primiano Tuccif18ab812021-05-14 23:01:19 +0100991 name = "src_protozero_filtering_bytecode_parser",
992 srcs = [
993 "src/protozero/filtering/filter_bytecode_parser.cc",
994 "src/protozero/filtering/filter_bytecode_parser.h",
995 ],
996)
997
Lalit Magantiff9b3262021-07-01 22:24:01 +0100998# GN target: //src/protozero/filtering:filter_util
Harvey Yang321c4fc2021-10-25 14:11:50 +0800999perfetto_filegroup(
Lalit Magantiff9b3262021-07-01 22:24:01 +01001000 name = "src_protozero_filtering_filter_util",
1001 srcs = [
1002 "src/protozero/filtering/filter_util.cc",
1003 "src/protozero/filtering/filter_util.h",
1004 ],
1005)
1006
Primiano Tuccif18ab812021-05-14 23:01:19 +01001007# GN target: //src/protozero/filtering:message_filter
Harvey Yang321c4fc2021-10-25 14:11:50 +08001008perfetto_filegroup(
Primiano Tuccif18ab812021-05-14 23:01:19 +01001009 name = "src_protozero_filtering_message_filter",
1010 srcs = [
1011 "src/protozero/filtering/message_filter.cc",
1012 "src/protozero/filtering/message_filter.h",
1013 "src/protozero/filtering/message_tokenizer.h",
1014 ],
1015)
1016
Lalit Maganti7d4b92b2021-05-20 17:16:51 +01001017# GN target: //src/protozero:proto_ring_buffer
Harvey Yang321c4fc2021-10-25 14:11:50 +08001018perfetto_filegroup(
Lalit Maganti7d4b92b2021-05-20 17:16:51 +01001019 name = "src_protozero_proto_ring_buffer",
1020 srcs = [
1021 "src/protozero/proto_ring_buffer.cc",
1022 "src/protozero/proto_ring_buffer.h",
1023 ],
1024)
1025
Lalit Maganti2aa88582019-12-17 17:06:49 +00001026# GN target: //src/trace_processor/containers:containers
Ryan7ad6b7d2021-04-22 17:03:54 +01001027perfetto_cc_library(
Lalit Maganti2aa88582019-12-17 17:06:49 +00001028 name = "src_trace_processor_containers_containers",
1029 srcs = [
1030 "src/trace_processor/containers/bit_vector.cc",
Lalit Maganti2aa88582019-12-17 17:06:49 +00001031 "src/trace_processor/containers/bit_vector_iterators.cc",
Ryan7ad6b7d2021-04-22 17:03:54 +01001032 "src/trace_processor/containers/row_map.cc",
1033 "src/trace_processor/containers/string_pool.cc",
1034 ],
1035 hdrs = [
1036 ":include_perfetto_base_base",
1037 ":include_perfetto_protozero_protozero",
Daniele Di Proietto8b46d692022-04-22 15:59:40 +01001038 ":include_perfetto_public_abi_base",
1039 ":include_perfetto_public_base",
Ryan7ad6b7d2021-04-22 17:03:54 +01001040 "src/trace_processor/containers/bit_vector.h",
Lalit Maganti2aa88582019-12-17 17:06:49 +00001041 "src/trace_processor/containers/bit_vector_iterators.h",
Lalit Maganti9ecfab32019-12-17 17:45:38 +00001042 "src/trace_processor/containers/null_term_string_view.h",
Lalit Maganti78358592020-06-04 17:13:13 +01001043 "src/trace_processor/containers/nullable_vector.h",
Lalit Maganti2aa88582019-12-17 17:06:49 +00001044 "src/trace_processor/containers/row_map.h",
Lalit Maganti2572ddc2022-05-05 00:25:37 +01001045 "src/trace_processor/containers/row_map_algorithms.h",
Lalit Maganti9ecfab32019-12-17 17:45:38 +00001046 "src/trace_processor/containers/string_pool.h",
Lalit Maganti2aa88582019-12-17 17:06:49 +00001047 ],
Ryan0331ac02021-04-26 15:41:47 +01001048 deps = [
1049 ":src_base_base",
1050 ],
1051 linkstatic = True,
Lalit Maganti2aa88582019-12-17 17:06:49 +00001052)
1053
Lalit Maganti1534bb72021-04-23 14:11:26 +01001054# GN target: //src/trace_processor/db:db
Harvey Yang321c4fc2021-10-25 14:11:50 +08001055perfetto_filegroup(
Lalit Maganti1534bb72021-04-23 14:11:26 +01001056 name = "src_trace_processor_db_db",
Primiano Tucci1d409982019-09-19 10:15:18 +01001057 srcs = [
Lalit Maganti03376e52022-05-24 01:23:34 +01001058 "src/trace_processor/db/base_id.h",
Primiano Tucci1d409982019-09-19 10:15:18 +01001059 "src/trace_processor/db/column.cc",
1060 "src/trace_processor/db/column.h",
Lalit Maganti0fc85432022-06-17 15:26:22 +01001061 "src/trace_processor/db/column_storage.cc",
1062 "src/trace_processor/db/column_storage.h",
Lalit Magantic57ab902022-07-08 15:35:48 +01001063 "src/trace_processor/db/column_storage_overlay.h",
Lalit Maganti42a5dd92019-12-12 13:28:00 +00001064 "src/trace_processor/db/compare.h",
Primiano Tucci1d409982019-09-19 10:15:18 +01001065 "src/trace_processor/db/table.cc",
1066 "src/trace_processor/db/table.h",
1067 "src/trace_processor/db/typed_column.h",
Lalit Magantia8e11e82020-01-29 11:47:56 +00001068 "src/trace_processor/db/typed_column_internal.h",
Lalit Maganti2410f202022-05-27 20:57:53 +01001069 "src/trace_processor/db/view.cc",
1070 "src/trace_processor/db/view.h",
Primiano Tucci1d409982019-09-19 10:15:18 +01001071 ],
1072)
1073
Lalit Maganti3927af82022-05-09 20:23:40 +01001074# GN target: //src/trace_processor/dynamic:dynamic
1075perfetto_filegroup(
1076 name = "src_trace_processor_dynamic_dynamic",
1077 srcs = [
1078 "src/trace_processor/dynamic/ancestor_generator.cc",
1079 "src/trace_processor/dynamic/ancestor_generator.h",
1080 "src/trace_processor/dynamic/connected_flow_generator.cc",
1081 "src/trace_processor/dynamic/connected_flow_generator.h",
1082 "src/trace_processor/dynamic/descendant_generator.cc",
1083 "src/trace_processor/dynamic/descendant_generator.h",
Lalit Maganti3927af82022-05-09 20:23:40 +01001084 "src/trace_processor/dynamic/dynamic_table_generator.cc",
1085 "src/trace_processor/dynamic/dynamic_table_generator.h",
1086 "src/trace_processor/dynamic/experimental_annotated_stack_generator.cc",
1087 "src/trace_processor/dynamic/experimental_annotated_stack_generator.h",
1088 "src/trace_processor/dynamic/experimental_counter_dur_generator.cc",
1089 "src/trace_processor/dynamic/experimental_counter_dur_generator.h",
1090 "src/trace_processor/dynamic/experimental_flamegraph_generator.cc",
1091 "src/trace_processor/dynamic/experimental_flamegraph_generator.h",
1092 "src/trace_processor/dynamic/experimental_flat_slice_generator.cc",
1093 "src/trace_processor/dynamic/experimental_flat_slice_generator.h",
1094 "src/trace_processor/dynamic/experimental_sched_upid_generator.cc",
1095 "src/trace_processor/dynamic/experimental_sched_upid_generator.h",
1096 "src/trace_processor/dynamic/experimental_slice_layout_generator.cc",
1097 "src/trace_processor/dynamic/experimental_slice_layout_generator.h",
1098 "src/trace_processor/dynamic/flamegraph_construction_algorithms.cc",
1099 "src/trace_processor/dynamic/flamegraph_construction_algorithms.h",
Lalit Maganti66127e82022-05-31 18:35:46 +01001100 "src/trace_processor/dynamic/view_generator.cc",
1101 "src/trace_processor/dynamic/view_generator.h",
Lalit Maganti3927af82022-05-09 20:23:40 +01001102 ],
1103)
1104
Primiano Tuccic9d912e2022-07-28 23:30:11 +01001105# GN target: //src/trace_processor/importers/android_bugreport:android_bugreport
1106perfetto_filegroup(
1107 name = "src_trace_processor_importers_android_bugreport_android_bugreport",
1108 srcs = [
1109 "src/trace_processor/importers/android_bugreport/android_bugreport_parser.cc",
1110 "src/trace_processor/importers/android_bugreport/android_bugreport_parser.h",
1111 "src/trace_processor/importers/android_bugreport/android_log_parser.cc",
1112 "src/trace_processor/importers/android_bugreport/android_log_parser.h",
1113 ],
1114)
1115
Lalit Maganti1534bb72021-04-23 14:11:26 +01001116# GN target: //src/trace_processor/importers/common:common
Harvey Yang321c4fc2021-10-25 14:11:50 +08001117perfetto_filegroup(
Lalit Maganti1534bb72021-04-23 14:11:26 +01001118 name = "src_trace_processor_importers_common_common",
Lalit Maganticcdcbae2020-04-15 14:31:40 +01001119 srcs = [
1120 "src/trace_processor/importers/common/args_tracker.cc",
1121 "src/trace_processor/importers/common/args_tracker.h",
Igor Kraskevichbadba0b2022-03-22 19:44:20 +00001122 "src/trace_processor/importers/common/args_translation_table.cc",
1123 "src/trace_processor/importers/common/args_translation_table.h",
Lalit Magantib9a5b432022-12-01 16:13:11 +00001124 "src/trace_processor/importers/common/async_track_set_tracker.cc",
1125 "src/trace_processor/importers/common/async_track_set_tracker.h",
Lalit Maganti1534bb72021-04-23 14:11:26 +01001126 "src/trace_processor/importers/common/chunked_trace_reader.h",
Lalit Maganticcdcbae2020-04-15 14:31:40 +01001127 "src/trace_processor/importers/common/clock_tracker.cc",
1128 "src/trace_processor/importers/common/clock_tracker.h",
Violetta Fedotovaffe20e62022-11-23 11:00:08 +00001129 "src/trace_processor/importers/common/deobfuscation_mapping_table.cc",
1130 "src/trace_processor/importers/common/deobfuscation_mapping_table.h",
Lalit Maganticcdcbae2020-04-15 14:31:40 +01001131 "src/trace_processor/importers/common/event_tracker.cc",
1132 "src/trace_processor/importers/common/event_tracker.h",
AndrewB330c879ea42020-07-29 14:12:39 +03001133 "src/trace_processor/importers/common/flow_tracker.cc",
1134 "src/trace_processor/importers/common/flow_tracker.h",
Lalit Maganticcdcbae2020-04-15 14:31:40 +01001135 "src/trace_processor/importers/common/global_args_tracker.cc",
1136 "src/trace_processor/importers/common/global_args_tracker.h",
1137 "src/trace_processor/importers/common/process_tracker.cc",
1138 "src/trace_processor/importers/common/process_tracker.h",
1139 "src/trace_processor/importers/common/slice_tracker.cc",
1140 "src/trace_processor/importers/common/slice_tracker.h",
Igor Kraskevich4f062ad2022-04-11 16:29:06 +00001141 "src/trace_processor/importers/common/slice_translation_table.cc",
1142 "src/trace_processor/importers/common/slice_translation_table.h",
Isabelle Taylore908fe82020-06-01 01:52:17 +01001143 "src/trace_processor/importers/common/system_info_tracker.cc",
1144 "src/trace_processor/importers/common/system_info_tracker.h",
Lalit Magantieb2645a2022-11-25 15:49:35 +00001145 "src/trace_processor/importers/common/trace_parser.cc",
Lalit Maganticcdcbae2020-04-15 14:31:40 +01001146 "src/trace_processor/importers/common/track_tracker.cc",
1147 "src/trace_processor/importers/common/track_tracker.h",
1148 ],
1149)
1150
Lalit Magantieb2645a2022-11-25 15:49:35 +00001151# GN target: //src/trace_processor/importers/common:parser_types
Lalit Magantife2519b2022-11-24 21:12:05 +00001152perfetto_filegroup(
Lalit Magantieb2645a2022-11-25 15:49:35 +00001153 name = "src_trace_processor_importers_common_parser_types",
1154 srcs = [
1155 "src/trace_processor/importers/common/parser_types.h",
1156 ],
1157)
1158
1159# GN target: //src/trace_processor/importers/common:trace_parser_hdr
1160perfetto_filegroup(
1161 name = "src_trace_processor_importers_common_trace_parser_hdr",
Lalit Magantife2519b2022-11-24 21:12:05 +00001162 srcs = [
1163 "src/trace_processor/importers/common/trace_parser.h",
1164 ],
1165)
1166
Lalit Magantib9a5b432022-12-01 16:13:11 +00001167# GN target: //src/trace_processor/importers/ftrace:ftrace_descriptors
1168perfetto_filegroup(
1169 name = "src_trace_processor_importers_ftrace_ftrace_descriptors",
1170 srcs = [
1171 "src/trace_processor/importers/ftrace/ftrace_descriptors.cc",
1172 "src/trace_processor/importers/ftrace/ftrace_descriptors.h",
1173 ],
1174)
1175
1176# GN target: //src/trace_processor/importers/ftrace:full
1177perfetto_filegroup(
1178 name = "src_trace_processor_importers_ftrace_full",
1179 srcs = [
1180 "src/trace_processor/importers/ftrace/binder_tracker.cc",
1181 "src/trace_processor/importers/ftrace/binder_tracker.h",
1182 "src/trace_processor/importers/ftrace/drm_tracker.cc",
1183 "src/trace_processor/importers/ftrace/drm_tracker.h",
1184 "src/trace_processor/importers/ftrace/ftrace_module_impl.cc",
1185 "src/trace_processor/importers/ftrace/ftrace_module_impl.h",
1186 "src/trace_processor/importers/ftrace/ftrace_parser.cc",
1187 "src/trace_processor/importers/ftrace/ftrace_parser.h",
1188 "src/trace_processor/importers/ftrace/ftrace_tokenizer.cc",
1189 "src/trace_processor/importers/ftrace/ftrace_tokenizer.h",
1190 "src/trace_processor/importers/ftrace/iostat_tracker.cc",
1191 "src/trace_processor/importers/ftrace/iostat_tracker.h",
Devika Krishnadasab3673c2022-12-20 23:55:20 +00001192 "src/trace_processor/importers/ftrace/mali_gpu_event_tracker.cc",
1193 "src/trace_processor/importers/ftrace/mali_gpu_event_tracker.h",
Lalit Magantib9a5b432022-12-01 16:13:11 +00001194 "src/trace_processor/importers/ftrace/rss_stat_tracker.cc",
1195 "src/trace_processor/importers/ftrace/rss_stat_tracker.h",
1196 "src/trace_processor/importers/ftrace/sched_event_tracker.cc",
1197 "src/trace_processor/importers/ftrace/sched_event_tracker.h",
1198 "src/trace_processor/importers/ftrace/thread_state_tracker.cc",
1199 "src/trace_processor/importers/ftrace/thread_state_tracker.h",
1200 "src/trace_processor/importers/ftrace/v4l2_tracker.cc",
1201 "src/trace_processor/importers/ftrace/v4l2_tracker.h",
Rob Clark50b20aa2022-11-29 14:24:18 -08001202 "src/trace_processor/importers/ftrace/virtio_gpu_tracker.cc",
1203 "src/trace_processor/importers/ftrace/virtio_gpu_tracker.h",
Lalit Magantib9a5b432022-12-01 16:13:11 +00001204 "src/trace_processor/importers/ftrace/virtio_video_tracker.cc",
1205 "src/trace_processor/importers/ftrace/virtio_video_tracker.h",
1206 ],
1207)
1208
1209# GN target: //src/trace_processor/importers/ftrace:minimal
1210perfetto_filegroup(
1211 name = "src_trace_processor_importers_ftrace_minimal",
1212 srcs = [
1213 "src/trace_processor/importers/ftrace/ftrace_module.cc",
1214 "src/trace_processor/importers/ftrace/ftrace_module.h",
1215 ],
1216)
1217
Lalit Magantife2519b2022-11-24 21:12:05 +00001218# GN target: //src/trace_processor/importers/fuchsia:fuchsia_record
1219perfetto_filegroup(
1220 name = "src_trace_processor_importers_fuchsia_fuchsia_record",
1221 srcs = [
1222 "src/trace_processor/importers/fuchsia/fuchsia_record.cc",
1223 "src/trace_processor/importers/fuchsia/fuchsia_record.h",
1224 ],
1225)
1226
Lalit Magantiecf23662022-12-02 18:34:37 +00001227# GN target: //src/trace_processor/importers/fuchsia:full
1228perfetto_filegroup(
1229 name = "src_trace_processor_importers_fuchsia_full",
1230 srcs = [
1231 "src/trace_processor/importers/fuchsia/fuchsia_trace_parser.cc",
1232 "src/trace_processor/importers/fuchsia/fuchsia_trace_parser.h",
1233 "src/trace_processor/importers/fuchsia/fuchsia_trace_tokenizer.cc",
1234 "src/trace_processor/importers/fuchsia/fuchsia_trace_tokenizer.h",
1235 "src/trace_processor/importers/fuchsia/fuchsia_trace_utils.cc",
1236 ],
1237)
1238
1239# GN target: //src/trace_processor/importers/fuchsia:minimal
1240perfetto_filegroup(
1241 name = "src_trace_processor_importers_fuchsia_minimal",
1242 srcs = [
1243 "src/trace_processor/importers/fuchsia/fuchsia_trace_utils.h",
1244 ],
1245)
1246
1247# GN target: //src/trace_processor/importers/gzip:full
1248perfetto_filegroup(
1249 name = "src_trace_processor_importers_gzip_full",
1250 srcs = [
1251 "src/trace_processor/importers/gzip/gzip_trace_parser.cc",
1252 "src/trace_processor/importers/gzip/gzip_trace_parser.h",
1253 ],
1254)
1255
Lalit Magantib9a5b432022-12-01 16:13:11 +00001256# GN target: //src/trace_processor/importers/i2c:full
1257perfetto_filegroup(
1258 name = "src_trace_processor_importers_i2c_full",
1259 srcs = [
1260 "src/trace_processor/importers/i2c/i2c_tracker.cc",
1261 "src/trace_processor/importers/i2c/i2c_tracker.h",
1262 ],
1263)
1264
Lalit Magantiecf23662022-12-02 18:34:37 +00001265# GN target: //src/trace_processor/importers/json:full
1266perfetto_filegroup(
1267 name = "src_trace_processor_importers_json_full",
1268 srcs = [
1269 "src/trace_processor/importers/json/json_trace_parser.cc",
1270 "src/trace_processor/importers/json/json_trace_parser.h",
1271 "src/trace_processor/importers/json/json_trace_tokenizer.cc",
1272 "src/trace_processor/importers/json/json_trace_tokenizer.h",
1273 ],
1274)
1275
Lalit Magantib9a5b432022-12-01 16:13:11 +00001276# GN target: //src/trace_processor/importers/json:minimal
1277perfetto_filegroup(
1278 name = "src_trace_processor_importers_json_minimal",
1279 srcs = [
1280 "src/trace_processor/importers/json/json_utils.cc",
1281 "src/trace_processor/importers/json/json_utils.h",
1282 ],
1283)
1284
Lalit Maganti1534bb72021-04-23 14:11:26 +01001285# GN target: //src/trace_processor/importers/memory_tracker:graph_processor
Harvey Yang321c4fc2021-10-25 14:11:50 +08001286perfetto_filegroup(
Lalit Maganti1534bb72021-04-23 14:11:26 +01001287 name = "src_trace_processor_importers_memory_tracker_graph_processor",
1288 srcs = [
1289 "src/trace_processor/importers/memory_tracker/graph.cc",
1290 "src/trace_processor/importers/memory_tracker/graph_processor.cc",
1291 "src/trace_processor/importers/memory_tracker/memory_allocator_node_id.cc",
1292 "src/trace_processor/importers/memory_tracker/raw_memory_graph_node.cc",
1293 "src/trace_processor/importers/memory_tracker/raw_process_memory_node.cc",
1294 ],
1295)
1296
Lalit Maganti1bfdccc2022-11-28 21:19:35 +00001297# GN target: //src/trace_processor/importers/ninja:ninja
1298perfetto_filegroup(
1299 name = "src_trace_processor_importers_ninja_ninja",
1300 srcs = [
1301 "src/trace_processor/importers/ninja/ninja_log_parser.cc",
1302 "src/trace_processor/importers/ninja/ninja_log_parser.h",
1303 ],
1304)
1305
Lalit Magantib7ad13b2022-11-25 15:55:38 +00001306# GN target: //src/trace_processor/importers/proto:full
Lalit Magantiba07dcf2022-11-25 13:58:09 +00001307perfetto_filegroup(
Lalit Magantib7ad13b2022-11-25 15:55:38 +00001308 name = "src_trace_processor_importers_proto_full",
Lalit Maganti3927af82022-05-09 20:23:40 +01001309 srcs = [
Lalit Magantiecf23662022-12-02 18:34:37 +00001310 "src/trace_processor/importers/proto/additional_modules.cc",
1311 "src/trace_processor/importers/proto/additional_modules.h",
Lalit Magantiecd5c3d2022-11-30 15:56:14 +00001312 "src/trace_processor/importers/proto/android_camera_event_module.cc",
1313 "src/trace_processor/importers/proto/android_camera_event_module.h",
1314 "src/trace_processor/importers/proto/android_probes_module.cc",
1315 "src/trace_processor/importers/proto/android_probes_module.h",
1316 "src/trace_processor/importers/proto/android_probes_parser.cc",
1317 "src/trace_processor/importers/proto/android_probes_parser.h",
1318 "src/trace_processor/importers/proto/android_probes_tracker.cc",
1319 "src/trace_processor/importers/proto/android_probes_tracker.h",
1320 "src/trace_processor/importers/proto/content_analyzer.cc",
1321 "src/trace_processor/importers/proto/content_analyzer.h",
1322 "src/trace_processor/importers/proto/frame_timeline_event_parser.cc",
1323 "src/trace_processor/importers/proto/frame_timeline_event_parser.h",
1324 "src/trace_processor/importers/proto/gpu_event_parser.cc",
1325 "src/trace_processor/importers/proto/gpu_event_parser.h",
1326 "src/trace_processor/importers/proto/graphics_event_module.cc",
1327 "src/trace_processor/importers/proto/graphics_event_module.h",
1328 "src/trace_processor/importers/proto/graphics_frame_event_parser.cc",
1329 "src/trace_processor/importers/proto/graphics_frame_event_parser.h",
1330 "src/trace_processor/importers/proto/heap_graph_module.cc",
1331 "src/trace_processor/importers/proto/heap_graph_module.h",
Lalit Magantib9a5b432022-12-01 16:13:11 +00001332 "src/trace_processor/importers/proto/heap_graph_tracker.cc",
1333 "src/trace_processor/importers/proto/heap_graph_tracker.h",
1334 "src/trace_processor/importers/proto/metadata_module.cc",
1335 "src/trace_processor/importers/proto/metadata_module.h",
1336 "src/trace_processor/importers/proto/statsd_module.cc",
1337 "src/trace_processor/importers/proto/statsd_module.h",
Lalit Magantiecd5c3d2022-11-30 15:56:14 +00001338 "src/trace_processor/importers/proto/system_probes_module.cc",
1339 "src/trace_processor/importers/proto/system_probes_module.h",
1340 "src/trace_processor/importers/proto/system_probes_parser.cc",
1341 "src/trace_processor/importers/proto/system_probes_parser.h",
1342 "src/trace_processor/importers/proto/translation_table_module.cc",
1343 "src/trace_processor/importers/proto/translation_table_module.h",
1344 "src/trace_processor/importers/proto/vulkan_memory_tracker.cc",
1345 "src/trace_processor/importers/proto/vulkan_memory_tracker.h",
Lalit Magantib9a5b432022-12-01 16:13:11 +00001346 ],
1347)
1348
Lalit Magantiecf23662022-12-02 18:34:37 +00001349# GN target: //src/trace_processor/importers/proto:gen_cc_chrome_track_event_descriptor
1350perfetto_cc_proto_descriptor(
1351 name = "src_trace_processor_importers_proto_gen_cc_chrome_track_event_descriptor",
1352 deps = [
1353 ":protos_third_party_chromium_descriptor",
1354 ],
1355 outs = [
1356 "src/trace_processor/importers/proto/chrome_track_event.descriptor.h",
1357 ],
1358)
1359
1360# GN target: //src/trace_processor/importers/proto:gen_cc_config_descriptor
1361perfetto_cc_proto_descriptor(
1362 name = "src_trace_processor_importers_proto_gen_cc_config_descriptor",
1363 deps = [
1364 ":protos_perfetto_config_descriptor",
1365 ],
1366 outs = [
1367 "src/trace_processor/importers/proto/config.descriptor.h",
1368 ],
1369)
1370
Lalit Magantib9a5b432022-12-01 16:13:11 +00001371# GN target: //src/trace_processor/importers/proto:gen_cc_statsd_atoms_descriptor
1372perfetto_cc_proto_descriptor(
1373 name = "src_trace_processor_importers_proto_gen_cc_statsd_atoms_descriptor",
1374 deps = [
1375 "src/trace_processor/importers/proto/atoms.descriptor",
1376 ],
1377 outs = [
1378 "src/trace_processor/importers/proto/atoms.descriptor.h",
1379 ],
1380)
1381
1382# GN target: //src/trace_processor/importers/proto:gen_cc_trace_descriptor
1383perfetto_cc_proto_descriptor(
1384 name = "src_trace_processor_importers_proto_gen_cc_trace_descriptor",
1385 deps = [
1386 ":protos_perfetto_trace_descriptor",
1387 ],
1388 outs = [
1389 "src/trace_processor/importers/proto/trace.descriptor.h",
1390 ],
1391)
1392
Lalit Magantiecf23662022-12-02 18:34:37 +00001393# GN target: //src/trace_processor/importers/proto:gen_cc_track_event_descriptor
1394perfetto_cc_proto_descriptor(
1395 name = "src_trace_processor_importers_proto_gen_cc_track_event_descriptor",
1396 deps = [
1397 ":protos_perfetto_trace_track_event_descriptor",
1398 ],
1399 outs = [
1400 "src/trace_processor/importers/proto/track_event.descriptor.h",
1401 ],
1402)
1403
Lalit Magantib9a5b432022-12-01 16:13:11 +00001404# GN target: //src/trace_processor/importers/proto:minimal
1405perfetto_filegroup(
1406 name = "src_trace_processor_importers_proto_minimal",
1407 srcs = [
1408 "src/trace_processor/importers/proto/active_chrome_processes_tracker.cc",
1409 "src/trace_processor/importers/proto/active_chrome_processes_tracker.h",
1410 "src/trace_processor/importers/proto/chrome_string_lookup.cc",
1411 "src/trace_processor/importers/proto/chrome_string_lookup.h",
1412 "src/trace_processor/importers/proto/chrome_system_probes_module.cc",
1413 "src/trace_processor/importers/proto/chrome_system_probes_module.h",
1414 "src/trace_processor/importers/proto/chrome_system_probes_parser.cc",
1415 "src/trace_processor/importers/proto/chrome_system_probes_parser.h",
Lalit Magantiecf23662022-12-02 18:34:37 +00001416 "src/trace_processor/importers/proto/default_modules.cc",
1417 "src/trace_processor/importers/proto/default_modules.h",
Lalit Magantib9a5b432022-12-01 16:13:11 +00001418 "src/trace_processor/importers/proto/heap_profile_tracker.cc",
1419 "src/trace_processor/importers/proto/heap_profile_tracker.h",
1420 "src/trace_processor/importers/proto/memory_tracker_snapshot_module.cc",
1421 "src/trace_processor/importers/proto/memory_tracker_snapshot_module.h",
1422 "src/trace_processor/importers/proto/memory_tracker_snapshot_parser.cc",
1423 "src/trace_processor/importers/proto/memory_tracker_snapshot_parser.h",
1424 "src/trace_processor/importers/proto/metadata_minimal_module.cc",
1425 "src/trace_processor/importers/proto/metadata_minimal_module.h",
1426 "src/trace_processor/importers/proto/metadata_tracker.cc",
1427 "src/trace_processor/importers/proto/metadata_tracker.h",
Etienne Pierre-doray53971a42023-01-18 19:10:03 +00001428 "src/trace_processor/importers/proto/packet_analyzer.cc",
1429 "src/trace_processor/importers/proto/packet_analyzer.h",
Lalit Magantib9a5b432022-12-01 16:13:11 +00001430 "src/trace_processor/importers/proto/packet_sequence_state.h",
1431 "src/trace_processor/importers/proto/packet_sequence_state_generation.cc",
1432 "src/trace_processor/importers/proto/perf_sample_tracker.cc",
1433 "src/trace_processor/importers/proto/perf_sample_tracker.h",
1434 "src/trace_processor/importers/proto/profile_module.cc",
1435 "src/trace_processor/importers/proto/profile_module.h",
1436 "src/trace_processor/importers/proto/profile_packet_utils.cc",
1437 "src/trace_processor/importers/proto/profile_packet_utils.h",
1438 "src/trace_processor/importers/proto/profiler_util.cc",
1439 "src/trace_processor/importers/proto/profiler_util.h",
1440 "src/trace_processor/importers/proto/proto_incremental_state.h",
1441 "src/trace_processor/importers/proto/proto_trace_parser.cc",
1442 "src/trace_processor/importers/proto/proto_trace_parser.h",
1443 "src/trace_processor/importers/proto/proto_trace_reader.cc",
1444 "src/trace_processor/importers/proto/proto_trace_reader.h",
1445 "src/trace_processor/importers/proto/proto_trace_tokenizer.cc",
1446 "src/trace_processor/importers/proto/proto_trace_tokenizer.h",
1447 "src/trace_processor/importers/proto/stack_profile_tracker.cc",
1448 "src/trace_processor/importers/proto/stack_profile_tracker.h",
1449 "src/trace_processor/importers/proto/track_event_module.cc",
1450 "src/trace_processor/importers/proto/track_event_module.h",
1451 "src/trace_processor/importers/proto/track_event_parser.cc",
1452 "src/trace_processor/importers/proto/track_event_parser.h",
1453 "src/trace_processor/importers/proto/track_event_tokenizer.cc",
1454 "src/trace_processor/importers/proto/track_event_tokenizer.h",
1455 "src/trace_processor/importers/proto/track_event_tracker.cc",
1456 "src/trace_processor/importers/proto/track_event_tracker.h",
1457 ],
1458)
1459
1460# GN target: //src/trace_processor/importers/proto:packet_sequence_state_generation_hdr
1461perfetto_filegroup(
1462 name = "src_trace_processor_importers_proto_packet_sequence_state_generation_hdr",
1463 srcs = [
1464 "src/trace_processor/importers/proto/packet_sequence_state_generation.h",
1465 ],
1466)
1467
1468# GN target: //src/trace_processor/importers/proto:proto_importer_module
1469perfetto_filegroup(
1470 name = "src_trace_processor_importers_proto_proto_importer_module",
1471 srcs = [
1472 "src/trace_processor/importers/proto/proto_importer_module.cc",
1473 "src/trace_processor/importers/proto/proto_importer_module.h",
1474 ],
1475)
1476
1477# GN target: //src/trace_processor/importers/syscalls:full
1478perfetto_filegroup(
1479 name = "src_trace_processor_importers_syscalls_full",
1480 srcs = [
Lalit Magantiecd5c3d2022-11-30 15:56:14 +00001481 "src/trace_processor/importers/syscalls/syscall_tracker.cc",
1482 "src/trace_processor/importers/syscalls/syscall_tracker.h",
Lalit Magantib9a5b432022-12-01 16:13:11 +00001483 ],
1484)
1485
Lalit Magantiecf23662022-12-02 18:34:37 +00001486# GN target: //src/trace_processor/importers/systrace:full
1487perfetto_filegroup(
1488 name = "src_trace_processor_importers_systrace_full",
1489 srcs = [
1490 "src/trace_processor/importers/systrace/systrace_line_parser.cc",
1491 "src/trace_processor/importers/systrace/systrace_line_parser.h",
1492 "src/trace_processor/importers/systrace/systrace_line_tokenizer.cc",
1493 "src/trace_processor/importers/systrace/systrace_line_tokenizer.h",
1494 "src/trace_processor/importers/systrace/systrace_trace_parser.cc",
1495 "src/trace_processor/importers/systrace/systrace_trace_parser.h",
1496 ],
1497)
1498
Lalit Magantib9a5b432022-12-01 16:13:11 +00001499# GN target: //src/trace_processor/importers/systrace:systrace_line
1500perfetto_filegroup(
1501 name = "src_trace_processor_importers_systrace_systrace_line",
1502 srcs = [
1503 "src/trace_processor/importers/systrace/systrace_line.h",
1504 ],
1505)
1506
1507# GN target: //src/trace_processor/importers/systrace:systrace_parser
1508perfetto_filegroup(
1509 name = "src_trace_processor_importers_systrace_systrace_parser",
1510 srcs = [
1511 "src/trace_processor/importers/systrace/systrace_parser.cc",
1512 "src/trace_processor/importers/systrace/systrace_parser.h",
1513 ],
1514)
1515
Lalit Magantib7ec94f2022-11-09 15:44:23 +00001516# GN target: //src/trace_processor/metrics/sql/android:android
1517perfetto_filegroup(
1518 name = "src_trace_processor_metrics_sql_android_android",
Lalit Maganti4c328e32021-11-09 19:29:50 +00001519 srcs = [
1520 "src/trace_processor/metrics/sql/android/android_batt.sql",
Jon Spivackb0974a72022-04-27 16:07:10 -07001521 "src/trace_processor/metrics/sql/android/android_binder.sql",
Lalit Maganti4c328e32021-11-09 19:29:50 +00001522 "src/trace_processor/metrics/sql/android/android_camera.sql",
Lalit Magantic16c7212021-12-16 17:32:55 +00001523 "src/trace_processor/metrics/sql/android/android_camera_unagg.sql",
Lalit Maganti4c328e32021-11-09 19:29:50 +00001524 "src/trace_processor/metrics/sql/android/android_cpu.sql",
1525 "src/trace_processor/metrics/sql/android/android_cpu_agg.sql",
1526 "src/trace_processor/metrics/sql/android/android_cpu_raw_metrics_per_core.sql",
1527 "src/trace_processor/metrics/sql/android/android_dma_heap.sql",
Luke Chang476e9442021-11-09 23:14:34 +08001528 "src/trace_processor/metrics/sql/android/android_dvfs.sql",
Lalit Maganti4c328e32021-11-09 19:29:50 +00001529 "src/trace_processor/metrics/sql/android/android_fastrpc.sql",
Shihhsun Ho7edcbe62022-05-09 13:55:52 +08001530 "src/trace_processor/metrics/sql/android/android_frame_timeline_metric.sql",
Lalit Maganti4c328e32021-11-09 19:29:50 +00001531 "src/trace_processor/metrics/sql/android/android_gpu.sql",
1532 "src/trace_processor/metrics/sql/android/android_hwcomposer.sql",
1533 "src/trace_processor/metrics/sql/android/android_hwui_metric.sql",
1534 "src/trace_processor/metrics/sql/android/android_hwui_threads.sql",
1535 "src/trace_processor/metrics/sql/android/android_ion.sql",
Shihhsun Ho2305a1d2022-01-13 19:58:02 +08001536 "src/trace_processor/metrics/sql/android/android_irq_runtime.sql",
Marcin Oczeretko7bde3642022-07-14 17:26:02 +01001537 "src/trace_processor/metrics/sql/android/android_jank_cuj.sql",
Lalit Maganti4c328e32021-11-09 19:29:50 +00001538 "src/trace_processor/metrics/sql/android/android_lmk.sql",
1539 "src/trace_processor/metrics/sql/android/android_lmk_reason.sql",
1540 "src/trace_processor/metrics/sql/android/android_mem.sql",
1541 "src/trace_processor/metrics/sql/android/android_mem_unagg.sql",
1542 "src/trace_processor/metrics/sql/android/android_multiuser.sql",
1543 "src/trace_processor/metrics/sql/android/android_multiuser_populator.sql",
Luke Change25d2c42021-12-07 16:08:32 +08001544 "src/trace_processor/metrics/sql/android/android_netperf.sql",
Daniele Di Proietto0767bff2022-04-05 11:07:15 +01001545 "src/trace_processor/metrics/sql/android/android_other_traces.sql",
Lalit Maganti4c328e32021-11-09 19:29:50 +00001546 "src/trace_processor/metrics/sql/android/android_package_list.sql",
1547 "src/trace_processor/metrics/sql/android/android_powrails.sql",
1548 "src/trace_processor/metrics/sql/android/android_proxy_power.sql",
Shihhsun Ho9cc8d502022-01-03 13:21:23 +08001549 "src/trace_processor/metrics/sql/android/android_rt_runtime.sql",
Lalit Maganti4c328e32021-11-09 19:29:50 +00001550 "src/trace_processor/metrics/sql/android/android_simpleperf.sql",
1551 "src/trace_processor/metrics/sql/android/android_startup.sql",
1552 "src/trace_processor/metrics/sql/android/android_surfaceflinger.sql",
Lalit Maganti4c328e32021-11-09 19:29:50 +00001553 "src/trace_processor/metrics/sql/android/android_task_names.sql",
Lalit Maganti4c328e32021-11-09 19:29:50 +00001554 "src/trace_processor/metrics/sql/android/android_trace_quality.sql",
David LeGare20d39c42022-01-20 20:38:43 +00001555 "src/trace_processor/metrics/sql/android/android_trusty_workqueues.sql",
Lalit Maganti4c328e32021-11-09 19:29:50 +00001556 "src/trace_processor/metrics/sql/android/composer_execution.sql",
1557 "src/trace_processor/metrics/sql/android/composition_layers.sql",
1558 "src/trace_processor/metrics/sql/android/cpu_info.sql",
1559 "src/trace_processor/metrics/sql/android/display_metrics.sql",
1560 "src/trace_processor/metrics/sql/android/frame_missed.sql",
1561 "src/trace_processor/metrics/sql/android/g2d.sql",
1562 "src/trace_processor/metrics/sql/android/g2d_duration.sql",
1563 "src/trace_processor/metrics/sql/android/global_counter_span_view.sql",
Simon MacMullenbd675ab2022-08-25 11:56:18 +00001564 "src/trace_processor/metrics/sql/android/global_counter_span_view_merged.sql",
Lalit Maganti4c328e32021-11-09 19:29:50 +00001565 "src/trace_processor/metrics/sql/android/gpu_counter_span_view.sql",
Marcin Oczeretko7bde3642022-07-14 17:26:02 +01001566 "src/trace_processor/metrics/sql/android/jank/cujs.sql",
1567 "src/trace_processor/metrics/sql/android/jank/cujs_boundaries.sql",
1568 "src/trace_processor/metrics/sql/android/jank/frames.sql",
1569 "src/trace_processor/metrics/sql/android/jank/internal/counters.sql",
1570 "src/trace_processor/metrics/sql/android/jank/internal/derived_events.sql",
Marcin Oczeretko986289e2022-07-21 12:35:19 +01001571 "src/trace_processor/metrics/sql/android/jank/internal/query_base.sql",
1572 "src/trace_processor/metrics/sql/android/jank/internal/query_frame_slice.sql",
Marcin Oczeretko76ac5c72022-10-31 15:34:01 +00001573 "src/trace_processor/metrics/sql/android/jank/params.sql",
Marcin Oczeretko986289e2022-07-21 12:35:19 +01001574 "src/trace_processor/metrics/sql/android/jank/query_functions.sql",
Marcin Oczeretko7bde3642022-07-14 17:26:02 +01001575 "src/trace_processor/metrics/sql/android/jank/relevant_slices.sql",
1576 "src/trace_processor/metrics/sql/android/jank/relevant_threads.sql",
Marcin Oczeretko986289e2022-07-21 12:35:19 +01001577 "src/trace_processor/metrics/sql/android/jank/slices.sql",
Lalit Maganti4c328e32021-11-09 19:29:50 +00001578 "src/trace_processor/metrics/sql/android/java_heap_histogram.sql",
1579 "src/trace_processor/metrics/sql/android/java_heap_stats.sql",
1580 "src/trace_processor/metrics/sql/android/mem_stats_priority_breakdown.sql",
Anna Mayznerd57d4ef2022-09-22 14:54:12 +00001581 "src/trace_processor/metrics/sql/android/p_state.sql",
Lalit Maganti4c328e32021-11-09 19:29:50 +00001582 "src/trace_processor/metrics/sql/android/power_drain_in_watts.sql",
1583 "src/trace_processor/metrics/sql/android/power_profile_data.sql",
Anna Mayznerfd6227c2022-09-12 16:15:38 +00001584 "src/trace_processor/metrics/sql/android/power_profile_data/barbet.sql",
1585 "src/trace_processor/metrics/sql/android/power_profile_data/bluejay.sql",
1586 "src/trace_processor/metrics/sql/android/power_profile_data/blueline.sql",
1587 "src/trace_processor/metrics/sql/android/power_profile_data/bonito.sql",
1588 "src/trace_processor/metrics/sql/android/power_profile_data/bramble.sql",
1589 "src/trace_processor/metrics/sql/android/power_profile_data/coral.sql",
1590 "src/trace_processor/metrics/sql/android/power_profile_data/crosshatch.sql",
1591 "src/trace_processor/metrics/sql/android/power_profile_data/flame.sql",
1592 "src/trace_processor/metrics/sql/android/power_profile_data/marlin.sql",
1593 "src/trace_processor/metrics/sql/android/power_profile_data/oriole.sql",
1594 "src/trace_processor/metrics/sql/android/power_profile_data/raven.sql",
1595 "src/trace_processor/metrics/sql/android/power_profile_data/redfin.sql",
1596 "src/trace_processor/metrics/sql/android/power_profile_data/sargo.sql",
1597 "src/trace_processor/metrics/sql/android/power_profile_data/sunfish.sql",
1598 "src/trace_processor/metrics/sql/android/power_profile_data/taimen.sql",
1599 "src/trace_processor/metrics/sql/android/power_profile_data/walleye.sql",
Lalit Maganti4c328e32021-11-09 19:29:50 +00001600 "src/trace_processor/metrics/sql/android/process_counter_span_view.sql",
1601 "src/trace_processor/metrics/sql/android/process_mem.sql",
1602 "src/trace_processor/metrics/sql/android/process_metadata.sql",
1603 "src/trace_processor/metrics/sql/android/process_oom_score.sql",
1604 "src/trace_processor/metrics/sql/android/process_unagg_mem_view.sql",
1605 "src/trace_processor/metrics/sql/android/profiler_smaps.sql",
1606 "src/trace_processor/metrics/sql/android/span_view_stats.sql",
Lalit Magantifb9252f2022-06-21 20:38:37 +01001607 "src/trace_processor/metrics/sql/android/startup/gc_slices.sql",
Lalit Maganti4c328e32021-11-09 19:29:50 +00001608 "src/trace_processor/metrics/sql/android/startup/hsc.sql",
1609 "src/trace_processor/metrics/sql/android/startup/launches.sql",
Lalit Maganti186ed0f2021-12-02 18:13:15 +00001610 "src/trace_processor/metrics/sql/android/startup/launches_maxsdk28.sql",
1611 "src/trace_processor/metrics/sql/android/startup/launches_minsdk29.sql",
Ioannis Ilkos39fd25c2022-03-31 13:29:15 +01001612 "src/trace_processor/metrics/sql/android/startup/launches_minsdk33.sql",
Lalit Magantifb9252f2022-06-21 20:38:37 +01001613 "src/trace_processor/metrics/sql/android/startup/mcycles_per_launch.sql",
1614 "src/trace_processor/metrics/sql/android/startup/slice_functions.sql",
Lalit Maganti6f97a862022-06-23 15:12:42 +01001615 "src/trace_processor/metrics/sql/android/startup/system_state.sql",
Lalit Magantifb9252f2022-06-21 20:38:37 +01001616 "src/trace_processor/metrics/sql/android/startup/thread_state_breakdown.sql",
Lalit Maganti4c328e32021-11-09 19:29:50 +00001617 "src/trace_processor/metrics/sql/android/unsymbolized_frames.sql",
Lalit Magantib7ec94f2022-11-09 15:44:23 +00001618 ],
1619)
1620
Lalit Maganti6197e6b2022-11-10 14:49:22 +00001621# GN target: //src/trace_processor/metrics/sql/chrome:chrome_sql
Lalit Magantib7ec94f2022-11-09 15:44:23 +00001622perfetto_filegroup(
Lalit Maganti6197e6b2022-11-10 14:49:22 +00001623 name = "src_trace_processor_metrics_sql_chrome_chrome_sql",
Lalit Magantib7ec94f2022-11-09 15:44:23 +00001624 srcs = [
Lalit Maganti4c328e32021-11-09 19:29:50 +00001625 "src/trace_processor/metrics/sql/chrome/actual_power_by_category.sql",
1626 "src/trace_processor/metrics/sql/chrome/actual_power_by_rail_mode.sql",
Violetta Fedotovaae0f6142022-11-22 12:14:17 +00001627 "src/trace_processor/metrics/sql/chrome/chrome_args_class_names.sql",
Lalit Maganti4c328e32021-11-09 19:29:50 +00001628 "src/trace_processor/metrics/sql/chrome/chrome_event_metadata.sql",
Igor Kraskevich95d635f2022-03-24 16:03:57 +00001629 "src/trace_processor/metrics/sql/chrome/chrome_histogram_hashes.sql",
Omar Elmekkawyc77393b2022-06-21 10:33:34 +00001630 "src/trace_processor/metrics/sql/chrome/chrome_input_to_browser_intervals.sql",
Harkiran Bolaria277ea4f2023-01-09 14:24:26 +00001631 "src/trace_processor/metrics/sql/chrome/chrome_input_to_browser_intervals_base.sql",
Igor Kraskevich5871f1f2022-10-07 08:48:33 +00001632 "src/trace_processor/metrics/sql/chrome/chrome_input_to_browser_intervals_template.sql",
Harkiran Bolariad52e26d2022-12-23 15:09:23 +00001633 "src/trace_processor/metrics/sql/chrome/chrome_long_tasks.sql",
1634 "src/trace_processor/metrics/sql/chrome/chrome_long_tasks_delaying_input_processing.sql",
Igor Kraskevichf7cf8182022-04-04 11:41:28 +00001635 "src/trace_processor/metrics/sql/chrome/chrome_performance_mark_hashes.sql",
Lalit Maganti4c328e32021-11-09 19:29:50 +00001636 "src/trace_processor/metrics/sql/chrome/chrome_processes.sql",
Igor Kraskevichc30d46b2022-09-13 09:39:41 +00001637 "src/trace_processor/metrics/sql/chrome/chrome_reliable_range.sql",
Omar Elmekkawye1ee55c2022-08-04 13:52:52 +00001638 "src/trace_processor/metrics/sql/chrome/chrome_scroll_inputs_per_frame.sql",
Omar Elmekkawyfa109742022-07-20 14:32:45 +00001639 "src/trace_processor/metrics/sql/chrome/chrome_scroll_jank_caused_by_scheduling.sql",
Igor Kraskevich1888cff2022-04-07 11:07:37 +00001640 "src/trace_processor/metrics/sql/chrome/chrome_slice_names.sql",
Omar Elmekkawyaa60a0c2022-07-19 14:48:40 +00001641 "src/trace_processor/metrics/sql/chrome/chrome_stack_samples_for_task.sql",
Alexander Timin1e01a9c2022-05-27 18:05:20 +00001642 "src/trace_processor/metrics/sql/chrome/chrome_tasks.sql",
Omar Elmekkawy5e9f3eb2022-07-20 13:35:32 +00001643 "src/trace_processor/metrics/sql/chrome/chrome_tasks_delaying_input_processing.sql",
Harkiran Bolariad52e26d2022-12-23 15:09:23 +00001644 "src/trace_processor/metrics/sql/chrome/chrome_tasks_delaying_input_processing_base.sql",
Igor Kraskevich5871f1f2022-10-07 08:48:33 +00001645 "src/trace_processor/metrics/sql/chrome/chrome_tasks_delaying_input_processing_template.sql",
1646 "src/trace_processor/metrics/sql/chrome/chrome_tasks_template.sql",
Omar Elmekkawy07d02b02021-12-14 20:36:36 +00001647 "src/trace_processor/metrics/sql/chrome/chrome_thread_slice.sql",
Igor Kraskevich92c7c5a2022-06-23 16:24:17 +00001648 "src/trace_processor/metrics/sql/chrome/chrome_unsymbolized_args.sql",
Igor Kraskevich32214832022-03-25 13:12:53 +00001649 "src/trace_processor/metrics/sql/chrome/chrome_user_event_hashes.sql",
Lalit Maganti4c328e32021-11-09 19:29:50 +00001650 "src/trace_processor/metrics/sql/chrome/cpu_time_by_category.sql",
1651 "src/trace_processor/metrics/sql/chrome/cpu_time_by_rail_mode.sql",
1652 "src/trace_processor/metrics/sql/chrome/estimated_power_by_category.sql",
1653 "src/trace_processor/metrics/sql/chrome/estimated_power_by_rail_mode.sql",
Violetta Fedotova7b04e572022-10-12 16:55:04 +00001654 "src/trace_processor/metrics/sql/chrome/event_latency_scroll_jank.sql",
Violetta Fedotovaec3ccc32022-12-15 08:12:38 +00001655 "src/trace_processor/metrics/sql/chrome/event_latency_scroll_jank_cause.sql",
Violetta Fedotovacbd64282022-09-14 10:43:18 +00001656 "src/trace_processor/metrics/sql/chrome/event_latency_to_breakdowns.sql",
Igor Kraskevich5871f1f2022-10-07 08:48:33 +00001657 "src/trace_processor/metrics/sql/chrome/experimental_reliable_chrome_tasks_delaying_input_processing.sql",
Lalit Maganti4c328e32021-11-09 19:29:50 +00001658 "src/trace_processor/metrics/sql/chrome/gesture_flow_event.sql",
1659 "src/trace_processor/metrics/sql/chrome/gesture_flow_event_queuing_delay.sql",
1660 "src/trace_processor/metrics/sql/chrome/gesture_jank.sql",
Omar Elmekkawyc50cd612022-01-20 16:18:33 +00001661 "src/trace_processor/metrics/sql/chrome/jank_utilities.sql",
Lalit Maganti4c328e32021-11-09 19:29:50 +00001662 "src/trace_processor/metrics/sql/chrome/rail_modes.sql",
1663 "src/trace_processor/metrics/sql/chrome/scroll_flow_event.sql",
1664 "src/trace_processor/metrics/sql/chrome/scroll_flow_event_queuing_delay.sql",
1665 "src/trace_processor/metrics/sql/chrome/scroll_jank.sql",
1666 "src/trace_processor/metrics/sql/chrome/scroll_jank_cause.sql",
1667 "src/trace_processor/metrics/sql/chrome/scroll_jank_cause_blocking_task.sql",
1668 "src/trace_processor/metrics/sql/chrome/scroll_jank_cause_blocking_touch_move.sql",
1669 "src/trace_processor/metrics/sql/chrome/scroll_jank_cause_get_bitmap.sql",
1670 "src/trace_processor/metrics/sql/chrome/scroll_jank_cause_queuing_delay.sql",
Omar Elmekkawy0d6b3462021-12-09 20:28:02 +00001671 "src/trace_processor/metrics/sql/chrome/sufficient_chrome_processes.sql",
Lalit Maganti4c328e32021-11-09 19:29:50 +00001672 "src/trace_processor/metrics/sql/chrome/test_chrome_metric.sql",
1673 "src/trace_processor/metrics/sql/chrome/touch_flow_event.sql",
1674 "src/trace_processor/metrics/sql/chrome/touch_flow_event_queuing_delay.sql",
1675 "src/trace_processor/metrics/sql/chrome/touch_jank.sql",
Violetta Fedotova7b04e572022-10-12 16:55:04 +00001676 "src/trace_processor/metrics/sql/chrome/vsync_intervals.sql",
Lalit Magantib7ec94f2022-11-09 15:44:23 +00001677 ],
1678)
1679
1680# GN target: //src/trace_processor/metrics/sql/common:common
1681perfetto_filegroup(
1682 name = "src_trace_processor_metrics_sql_common_common",
1683 srcs = [
Lalit Maganti9c317492022-09-13 20:01:55 +01001684 "src/trace_processor/metrics/sql/common/parent_slice.sql",
Lalit Magantib7ec94f2022-11-09 15:44:23 +00001685 ],
1686)
1687
1688# GN target: //src/trace_processor/metrics/sql/experimental:experimental
1689perfetto_filegroup(
1690 name = "src_trace_processor_metrics_sql_experimental_experimental",
1691 srcs = [
Lalit Maganti4c328e32021-11-09 19:29:50 +00001692 "src/trace_processor/metrics/sql/experimental/blink_gc_metric.sql",
1693 "src/trace_processor/metrics/sql/experimental/chrome_dropped_frames.sql",
Mingjing Zhang2a32f6b2022-03-22 16:13:21 -04001694 "src/trace_processor/metrics/sql/experimental/chrome_long_latency.sql",
Lalit Maganti4c328e32021-11-09 19:29:50 +00001695 "src/trace_processor/metrics/sql/experimental/frame_times.sql",
1696 "src/trace_processor/metrics/sql/experimental/media_metric.sql",
1697 "src/trace_processor/metrics/sql/experimental/reported_by_page.sql",
Lalit Magantib7ec94f2022-11-09 15:44:23 +00001698 ],
1699)
1700
1701# GN target: //src/trace_processor/metrics/sql/webview:webview
1702perfetto_filegroup(
1703 name = "src_trace_processor_metrics_sql_webview_webview",
1704 srcs = [
Lalit Maganti4c328e32021-11-09 19:29:50 +00001705 "src/trace_processor/metrics/sql/webview/webview_power_usage.sql",
1706 ],
Lalit Magantib7ec94f2022-11-09 15:44:23 +00001707)
1708
Lalit Maganti88e64de2022-11-21 18:29:57 +00001709# GN target: //src/trace_processor/metrics/sql:gen_amalgamated_sql_metrics
Lalit Magantie277dcb2022-11-09 15:57:58 +00001710perfetto_cc_amalgamated_sql(
Lalit Magantib7ec94f2022-11-09 15:44:23 +00001711 name = "src_trace_processor_metrics_sql_gen_amalgamated_sql_metrics",
Lalit Magantie277dcb2022-11-09 15:57:58 +00001712 deps = [
Lalit Magantib7ec94f2022-11-09 15:44:23 +00001713 ":src_trace_processor_metrics_sql_android_android",
Lalit Maganti6197e6b2022-11-10 14:49:22 +00001714 ":src_trace_processor_metrics_sql_chrome_chrome_sql",
Lalit Magantib7ec94f2022-11-09 15:44:23 +00001715 ":src_trace_processor_metrics_sql_common_common",
1716 ":src_trace_processor_metrics_sql_experimental_experimental",
1717 ":src_trace_processor_metrics_sql_misc_sql",
1718 ":src_trace_processor_metrics_sql_webview_webview",
1719 ],
Lalit Maganti4c328e32021-11-09 19:29:50 +00001720 outs = [
1721 "src/trace_processor/metrics/sql/amalgamated_sql_metrics.h",
1722 ],
Lalit Magantie277dcb2022-11-09 15:57:58 +00001723 namespace = "sql_metrics",
Lalit Maganti4c328e32021-11-09 19:29:50 +00001724)
1725
Lalit Magantib7ec94f2022-11-09 15:44:23 +00001726# GN target: //src/trace_processor/metrics/sql:misc_sql
1727perfetto_filegroup(
1728 name = "src_trace_processor_metrics_sql_misc_sql",
1729 srcs = [
1730 "src/trace_processor/metrics/sql/trace_metadata.sql",
1731 "src/trace_processor/metrics/sql/trace_stats.sql",
1732 ],
1733)
1734
Lalit Maganti88e64de2022-11-21 18:29:57 +00001735# GN target: //src/trace_processor/metrics:gen_cc_all_chrome_metrics_descriptor
Andrew Shulaeve72d1a32021-01-13 12:59:55 +00001736perfetto_cc_proto_descriptor(
Lalit Maganti3b09a3f2020-09-14 13:28:44 +01001737 name = "src_trace_processor_metrics_gen_cc_all_chrome_metrics_descriptor",
1738 deps = [
1739 ":protos_perfetto_metrics_chrome_descriptor",
1740 ],
1741 outs = [
Lalit Maganti4c328e32021-11-09 19:29:50 +00001742 "src/trace_processor/metrics/all_chrome_metrics.descriptor.h",
Lalit Maganti3b09a3f2020-09-14 13:28:44 +01001743 ],
1744)
1745
Lalit Maganti88e64de2022-11-21 18:29:57 +00001746# GN target: //src/trace_processor/metrics:gen_cc_metrics_descriptor
Lalit Maganti3b09a3f2020-09-14 13:28:44 +01001747perfetto_cc_proto_descriptor(
Lalit Maganti117272f2020-09-11 14:01:18 +01001748 name = "src_trace_processor_metrics_gen_cc_metrics_descriptor",
1749 deps = [
1750 ":protos_perfetto_metrics_descriptor",
1751 ],
1752 outs = [
1753 "src/trace_processor/metrics/metrics.descriptor.h",
1754 ],
1755)
1756
Lalit Maganti4c328e32021-11-09 19:29:50 +00001757# GN target: //src/trace_processor/metrics:metrics
Harvey Yang321c4fc2021-10-25 14:11:50 +08001758perfetto_filegroup(
Lalit Maganti4c328e32021-11-09 19:29:50 +00001759 name = "src_trace_processor_metrics_metrics",
Primiano Tucci1d409982019-09-19 10:15:18 +01001760 srcs = [
Primiano Tucci1d409982019-09-19 10:15:18 +01001761 "src/trace_processor/metrics/metrics.cc",
Primiano Tucci1d409982019-09-19 10:15:18 +01001762 "src/trace_processor/metrics/metrics.h",
1763 ],
1764)
1765
Lalit Maganti628aca72022-12-08 14:20:25 +00001766# GN target: //src/trace_processor/prelude/functions:functions
1767perfetto_filegroup(
1768 name = "src_trace_processor_prelude_functions_functions",
1769 srcs = [
1770 "src/trace_processor/prelude/functions/create_function.cc",
1771 "src/trace_processor/prelude/functions/create_function.h",
1772 "src/trace_processor/prelude/functions/create_function_internal.cc",
1773 "src/trace_processor/prelude/functions/create_function_internal.h",
1774 "src/trace_processor/prelude/functions/create_view_function.cc",
1775 "src/trace_processor/prelude/functions/create_view_function.h",
1776 "src/trace_processor/prelude/functions/import.cc",
1777 "src/trace_processor/prelude/functions/import.h",
1778 "src/trace_processor/prelude/functions/pprof_functions.cc",
1779 "src/trace_processor/prelude/functions/pprof_functions.h",
1780 "src/trace_processor/prelude/functions/register_function.cc",
1781 "src/trace_processor/prelude/functions/register_function.h",
1782 "src/trace_processor/prelude/functions/sqlite3_str_split.cc",
1783 "src/trace_processor/prelude/functions/sqlite3_str_split.h",
1784 "src/trace_processor/prelude/functions/utils.h",
1785 "src/trace_processor/prelude/functions/window_functions.h",
1786 ],
1787)
1788
1789# GN target: //src/trace_processor/prelude/operators:operators
1790perfetto_filegroup(
1791 name = "src_trace_processor_prelude_operators_operators",
1792 srcs = [
1793 "src/trace_processor/prelude/operators/span_join_operator.cc",
1794 "src/trace_processor/prelude/operators/span_join_operator.h",
1795 "src/trace_processor/prelude/operators/window_operator.cc",
1796 "src/trace_processor/prelude/operators/window_operator.h",
1797 ],
1798)
1799
Primiano Tuccia36cccc2019-10-27 13:15:04 +01001800# GN target: //src/trace_processor/rpc:httpd
Harvey Yang321c4fc2021-10-25 14:11:50 +08001801perfetto_filegroup(
Primiano Tuccia36cccc2019-10-27 13:15:04 +01001802 name = "src_trace_processor_rpc_httpd",
1803 srcs = [
1804 "src/trace_processor/rpc/httpd.cc",
1805 "src/trace_processor/rpc/httpd.h",
1806 ],
1807)
1808
1809# GN target: //src/trace_processor/rpc:rpc
Harvey Yang321c4fc2021-10-25 14:11:50 +08001810perfetto_filegroup(
Primiano Tuccia36cccc2019-10-27 13:15:04 +01001811 name = "src_trace_processor_rpc_rpc",
1812 srcs = [
Primiano Tucci4079d1d2020-06-30 11:03:38 +01001813 "src/trace_processor/rpc/query_result_serializer.cc",
1814 "src/trace_processor/rpc/query_result_serializer.h",
Primiano Tuccia36cccc2019-10-27 13:15:04 +01001815 "src/trace_processor/rpc/rpc.cc",
1816 "src/trace_processor/rpc/rpc.h",
1817 ],
1818)
1819
Lalit Maganti1e7a5bb2022-11-25 15:50:43 +00001820# GN target: //src/trace_processor/sorter:sorter
1821perfetto_filegroup(
1822 name = "src_trace_processor_sorter_sorter",
1823 srcs = [
1824 "src/trace_processor/sorter/trace_sorter.cc",
1825 "src/trace_processor/sorter/trace_sorter.h",
1826 "src/trace_processor/sorter/trace_sorter_internal.h",
1827 "src/trace_processor/sorter/trace_sorter_queue.h",
1828 ],
1829)
1830
Primiano Tucci1d409982019-09-19 10:15:18 +01001831# GN target: //src/trace_processor/sqlite:sqlite
Harvey Yang321c4fc2021-10-25 14:11:50 +08001832perfetto_filegroup(
Primiano Tucci1d409982019-09-19 10:15:18 +01001833 name = "src_trace_processor_sqlite_sqlite",
1834 srcs = [
1835 "src/trace_processor/sqlite/db_sqlite_table.cc",
1836 "src/trace_processor/sqlite/db_sqlite_table.h",
Lalit Maganti65800eb2020-01-30 15:18:59 +00001837 "src/trace_processor/sqlite/query_cache.h",
Lalit Maganti655adae2020-04-14 21:01:25 +01001838 "src/trace_processor/sqlite/sql_stats_table.cc",
1839 "src/trace_processor/sqlite/sql_stats_table.h",
Lalit Maganti655adae2020-04-14 21:01:25 +01001840 "src/trace_processor/sqlite/sqlite_raw_table.cc",
1841 "src/trace_processor/sqlite/sqlite_raw_table.h",
Carlos Caballero Grolimund62b4a1d2022-10-14 10:24:34 +00001842 "src/trace_processor/sqlite/sqlite_utils.cc",
Primiano Tucci1d409982019-09-19 10:15:18 +01001843 "src/trace_processor/sqlite/sqlite_utils.h",
Lalit Maganti655adae2020-04-14 21:01:25 +01001844 "src/trace_processor/sqlite/stats_table.cc",
1845 "src/trace_processor/sqlite/stats_table.h",
Primiano Tucci1d409982019-09-19 10:15:18 +01001846 ],
1847)
1848
Lalit Maganti3927af82022-05-09 20:23:40 +01001849# GN target: //src/trace_processor/sqlite:sqlite_minimal
1850perfetto_filegroup(
1851 name = "src_trace_processor_sqlite_sqlite_minimal",
1852 srcs = [
1853 "src/trace_processor/sqlite/query_constraints.cc",
1854 "src/trace_processor/sqlite/query_constraints.h",
1855 "src/trace_processor/sqlite/scoped_db.h",
1856 "src/trace_processor/sqlite/sqlite_table.cc",
1857 "src/trace_processor/sqlite/sqlite_table.h",
1858 "src/trace_processor/sqlite/sqlite_utils.h",
1859 ],
1860)
1861
Anna Mayzner72cd93d2022-12-16 13:36:09 +00001862# GN target: //src/trace_processor/stdlib/android/startup:startup
1863perfetto_filegroup(
1864 name = "src_trace_processor_stdlib_android_startup_startup",
1865 srcs = [
1866 "src/trace_processor/stdlib/android/startup/internal_startups_maxsdk28.sql",
1867 "src/trace_processor/stdlib/android/startup/internal_startups_minsdk29.sql",
1868 "src/trace_processor/stdlib/android/startup/internal_startups_minsdk33.sql",
1869 "src/trace_processor/stdlib/android/startup/startups.sql",
1870 ],
1871)
1872
Lalit Maganti358a7e42022-11-09 15:16:21 +00001873# GN target: //src/trace_processor/stdlib/android:android
1874perfetto_filegroup(
1875 name = "src_trace_processor_stdlib_android_android",
1876 srcs = [
Anna Mayzner72cd93d2022-12-16 13:36:09 +00001877 "src/trace_processor/stdlib/android/battery.sql",
Lalit Maganti358a7e42022-11-09 15:16:21 +00001878 "src/trace_processor/stdlib/android/binder.sql",
Anna Mayzner72cd93d2022-12-16 13:36:09 +00001879 "src/trace_processor/stdlib/android/process_metadata.sql",
Lalit Maganti358a7e42022-11-09 15:16:21 +00001880 ],
1881)
1882
Anna Mayzner96d69f72022-12-16 13:37:12 +00001883# GN target: //src/trace_processor/stdlib/chrome:chrome_sql
Joseph Koshy7ab2ef92022-12-08 14:56:34 +00001884perfetto_filegroup(
Anna Mayzner96d69f72022-12-16 13:37:12 +00001885 name = "src_trace_processor_stdlib_chrome_chrome_sql",
Joseph Koshy7ab2ef92022-12-08 14:56:34 +00001886 srcs = [
1887 "src/trace_processor/stdlib/chrome/cpu_powerups.sql",
1888 ],
1889)
1890
Igor Kraskevich49756332022-12-01 18:05:57 +00001891# GN target: //src/trace_processor/stdlib/common:common
1892perfetto_filegroup(
1893 name = "src_trace_processor_stdlib_common_common",
1894 srcs = [
Anna Mayzner93345462023-01-24 10:16:44 +00001895 "src/trace_processor/stdlib/common/counters.sql",
Igor Kraskevich49756332022-12-01 18:05:57 +00001896 "src/trace_processor/stdlib/common/metadata.sql",
Anna Mayzner93345462023-01-24 10:16:44 +00001897 "src/trace_processor/stdlib/common/percentiles.sql",
Anna Mayzner72cd93d2022-12-16 13:36:09 +00001898 "src/trace_processor/stdlib/common/slices.sql",
1899 "src/trace_processor/stdlib/common/timestamps.sql",
Igor Kraskevich49756332022-12-01 18:05:57 +00001900 ],
1901)
1902
Lalit Maganti358a7e42022-11-09 15:16:21 +00001903# GN target: //src/trace_processor/stdlib/experimental:experimental
1904perfetto_filegroup(
1905 name = "src_trace_processor_stdlib_experimental_experimental",
1906 srcs = [
Lalit Magantidf817362022-11-10 15:27:46 +00001907 "src/trace_processor/stdlib/experimental/android_broadcast.sql",
Lalit Maganti358a7e42022-11-09 15:16:21 +00001908 ],
1909)
1910
Lalit Maganti88e64de2022-11-21 18:29:57 +00001911# GN target: //src/trace_processor/stdlib:gen_amalgamated_stdlib
Lalit Magantie277dcb2022-11-09 15:57:58 +00001912perfetto_cc_amalgamated_sql(
Anna Mayznercc18bfd2022-11-03 14:05:19 +00001913 name = "src_trace_processor_stdlib_gen_amalgamated_stdlib",
Lalit Magantie277dcb2022-11-09 15:57:58 +00001914 deps = [
Lalit Maganti358a7e42022-11-09 15:16:21 +00001915 ":src_trace_processor_stdlib_android_android",
Anna Mayzner72cd93d2022-12-16 13:36:09 +00001916 ":src_trace_processor_stdlib_android_startup_startup",
Anna Mayzner96d69f72022-12-16 13:37:12 +00001917 ":src_trace_processor_stdlib_chrome_chrome_sql",
Igor Kraskevich49756332022-12-01 18:05:57 +00001918 ":src_trace_processor_stdlib_common_common",
Lalit Maganti358a7e42022-11-09 15:16:21 +00001919 ":src_trace_processor_stdlib_experimental_experimental",
Anna Mayznercc18bfd2022-11-03 14:05:19 +00001920 ],
1921 outs = [
1922 "src/trace_processor/stdlib/amalgamated_stdlib.h",
1923 ],
Lalit Magantie277dcb2022-11-09 15:57:58 +00001924 namespace = "stdlib",
Anna Mayznercc18bfd2022-11-03 14:05:19 +00001925)
1926
Lalit Maganti7010b332020-02-07 10:51:15 +00001927# GN target: //src/trace_processor/storage:storage
Harvey Yang321c4fc2021-10-25 14:11:50 +08001928perfetto_filegroup(
Lalit Maganti7010b332020-02-07 10:51:15 +00001929 name = "src_trace_processor_storage_storage",
1930 srcs = [
1931 "src/trace_processor/storage/metadata.h",
1932 "src/trace_processor/storage/stats.h",
1933 "src/trace_processor/storage/trace_storage.cc",
1934 "src/trace_processor/storage/trace_storage.h",
1935 ],
1936)
1937
Primiano Tucci1d409982019-09-19 10:15:18 +01001938# GN target: //src/trace_processor/tables:tables
Harvey Yang321c4fc2021-10-25 14:11:50 +08001939perfetto_filegroup(
Primiano Tucci1d409982019-09-19 10:15:18 +01001940 name = "src_trace_processor_tables_tables",
1941 srcs = [
Lalit Magantif1ab24f2020-01-07 17:42:26 +00001942 "src/trace_processor/tables/android_tables.h",
Lalit Maganti4b3b3ad2019-12-04 19:27:35 +00001943 "src/trace_processor/tables/counter_tables.h",
AndrewB330c879ea42020-07-29 14:12:39 +03001944 "src/trace_processor/tables/flow_tables.h",
Primiano Tucci1d409982019-09-19 10:15:18 +01001945 "src/trace_processor/tables/macros.h",
1946 "src/trace_processor/tables/macros_internal.h",
Witold Fijalkowskicdaed0e2020-10-02 09:47:21 +02001947 "src/trace_processor/tables/memory_tables.h",
Lalit Magantiededb0e2020-01-08 12:50:34 +00001948 "src/trace_processor/tables/metadata_tables.h",
Primiano Tucci1d409982019-09-19 10:15:18 +01001949 "src/trace_processor/tables/profiler_tables.h",
1950 "src/trace_processor/tables/slice_tables.h",
Lalit Maganti49155ea2020-03-31 14:53:33 +01001951 "src/trace_processor/tables/table_destructors.cc",
Igor Kraskevich3da925d2022-08-22 12:02:30 +00001952 "src/trace_processor/tables/trace_proto_tables.h",
Primiano Tucci1d409982019-09-19 10:15:18 +01001953 "src/trace_processor/tables/track_tables.h",
1954 ],
1955)
1956
Lalit Maganti3dc8e302022-12-01 20:32:46 +00001957# GN target: //src/trace_processor/tables:tables_python
1958perfetto_cc_tp_tables(
1959 name = "src_trace_processor_tables_tables_python",
1960 srcs = [
1961 "src/trace_processor/tables/android_tables.py",
1962 "src/trace_processor/tables/metadata_tables.py",
1963 ],
1964 outs = [
1965 "src/trace_processor/tables/android_tables_py.h",
1966 "src/trace_processor/tables/metadata_tables_py.h",
1967 ],
1968)
1969
Lalit Maganti83b53fa2020-01-13 12:55:36 +00001970# GN target: //src/trace_processor/types:types
Harvey Yang321c4fc2021-10-25 14:11:50 +08001971perfetto_filegroup(
Lalit Maganti83b53fa2020-01-13 12:55:36 +00001972 name = "src_trace_processor_types_types",
1973 srcs = [
Lalit Maganti0faddc42020-04-10 17:58:24 +01001974 "src/trace_processor/types/destructible.cc",
1975 "src/trace_processor/types/destructible.h",
Lalit Maganti83b53fa2020-01-13 12:55:36 +00001976 "src/trace_processor/types/gfp_flags.cc",
1977 "src/trace_processor/types/gfp_flags.h",
Isabelle Taylorb74a55b2020-06-24 13:56:19 +12001978 "src/trace_processor/types/softirq_action.h",
Lalit Maganti616bc082020-04-09 19:03:12 +01001979 "src/trace_processor/types/task_state.cc",
1980 "src/trace_processor/types/task_state.h",
Luke Chang1b904072022-01-26 09:33:19 +08001981 "src/trace_processor/types/tcp_state.h",
Lalit Maganti0faddc42020-04-10 17:58:24 +01001982 "src/trace_processor/types/trace_processor_context.h",
Lalit Maganti83b53fa2020-01-13 12:55:36 +00001983 "src/trace_processor/types/variadic.cc",
1984 "src/trace_processor/types/variadic.h",
Isabelle Taylore908fe82020-06-01 01:52:17 +01001985 "src/trace_processor/types/version_number.h",
Lalit Maganti83b53fa2020-01-13 12:55:36 +00001986 ],
1987)
1988
Lalit Magantie7107402020-04-15 13:41:12 +01001989# GN target: //src/trace_processor/util:descriptors
Harvey Yang321c4fc2021-10-25 14:11:50 +08001990perfetto_filegroup(
Lalit Magantie7107402020-04-15 13:41:12 +01001991 name = "src_trace_processor_util_descriptors",
Stephen Nuskobc76a6c2019-12-03 11:55:27 +00001992 srcs = [
Lalit Maganti3d9bbff2020-04-15 13:40:58 +01001993 "src/trace_processor/util/descriptors.cc",
1994 "src/trace_processor/util/descriptors.h",
Stephen Nuskobc76a6c2019-12-03 11:55:27 +00001995 ],
1996)
1997
Lalit Maganti83ddffe2022-10-18 17:47:44 +01001998# GN target: //src/trace_processor/util:glob
1999perfetto_filegroup(
2000 name = "src_trace_processor_util_glob",
2001 srcs = [
2002 "src/trace_processor/util/glob.cc",
2003 "src/trace_processor/util/glob.h",
2004 ],
2005)
2006
Lalit Maganti69216ec2021-05-21 14:10:42 +01002007# GN target: //src/trace_processor/util:gzip
Harvey Yang321c4fc2021-10-25 14:11:50 +08002008perfetto_filegroup(
Lalit Maganti69216ec2021-05-21 14:10:42 +01002009 name = "src_trace_processor_util_gzip",
2010 srcs = [
2011 "src/trace_processor/util/gzip_utils.cc",
2012 "src/trace_processor/util/gzip_utils.h",
2013 ],
2014)
2015
Alexander Timin97d87852021-05-17 18:01:33 +00002016# GN target: //src/trace_processor/util:interned_message_view
Harvey Yang321c4fc2021-10-25 14:11:50 +08002017perfetto_filegroup(
Alexander Timin97d87852021-05-17 18:01:33 +00002018 name = "src_trace_processor_util_interned_message_view",
2019 srcs = [
2020 "src/trace_processor/util/interned_message_view.h",
2021 ],
2022)
2023
Carlos Caballero Grolimund8a495a72022-09-05 09:29:09 +00002024# GN target: //src/trace_processor/util:profile_builder
2025perfetto_filegroup(
2026 name = "src_trace_processor_util_profile_builder",
2027 srcs = [
Carlos Caballero Grolimund689ef042022-09-26 14:58:20 +00002028 "src/trace_processor/util/annotated_callsites.cc",
2029 "src/trace_processor/util/annotated_callsites.h",
Carlos Caballero Grolimund8a495a72022-09-05 09:29:09 +00002030 "src/trace_processor/util/profile_builder.cc",
2031 "src/trace_processor/util/profile_builder.h",
2032 ],
2033)
2034
Igor Kraskevich3da925d2022-08-22 12:02:30 +00002035# GN target: //src/trace_processor/util:proto_profiler
2036perfetto_filegroup(
2037 name = "src_trace_processor_util_proto_profiler",
2038 srcs = [
2039 "src/trace_processor/util/proto_profiler.cc",
2040 "src/trace_processor/util/proto_profiler.h",
2041 ],
2042)
2043
Alexander Timin5a99b5c2021-05-11 22:48:07 +00002044# GN target: //src/trace_processor/util:proto_to_args_parser
Harvey Yang321c4fc2021-10-25 14:11:50 +08002045perfetto_filegroup(
Alexander Timin5a99b5c2021-05-11 22:48:07 +00002046 name = "src_trace_processor_util_proto_to_args_parser",
2047 srcs = [
Alexander Timin97d87852021-05-17 18:01:33 +00002048 "src/trace_processor/util/debug_annotation_parser.cc",
2049 "src/trace_processor/util/debug_annotation_parser.h",
Alexander Timin5a99b5c2021-05-11 22:48:07 +00002050 "src/trace_processor/util/proto_to_args_parser.cc",
2051 "src/trace_processor/util/proto_to_args_parser.h",
2052 ],
2053)
2054
Deepanjan Roy1e048012020-09-23 12:49:04 -04002055# GN target: //src/trace_processor/util:protozero_to_text
Harvey Yang321c4fc2021-10-25 14:11:50 +08002056perfetto_filegroup(
Deepanjan Roy1e048012020-09-23 12:49:04 -04002057 name = "src_trace_processor_util_protozero_to_text",
2058 srcs = [
2059 "src/trace_processor/util/protozero_to_text.cc",
2060 "src/trace_processor/util/protozero_to_text.h",
2061 ],
2062)
2063
Lalit Magantiea630542022-11-21 19:35:02 +00002064# GN target: //src/trace_processor/util:sql_argument
2065perfetto_filegroup(
2066 name = "src_trace_processor_util_sql_argument",
2067 srcs = [
2068 "src/trace_processor/util/sql_argument.cc",
2069 "src/trace_processor/util/sql_argument.h",
2070 ],
2071)
2072
Omar Elmekkawyd1c53452022-07-20 08:48:34 +00002073# GN target: //src/trace_processor/util:stack_traces_util
2074perfetto_filegroup(
2075 name = "src_trace_processor_util_stack_traces_util",
2076 srcs = [
2077 "src/trace_processor/util/stack_traces_util.cc",
2078 "src/trace_processor/util/stack_traces_util.h",
2079 ],
2080)
2081
Anna Mayzner5980c712022-11-24 15:09:11 +00002082# GN target: //src/trace_processor/util:stdlib
2083perfetto_filegroup(
2084 name = "src_trace_processor_util_stdlib",
2085 srcs = [
2086 "src/trace_processor/util/sql_modules.h",
2087 ],
2088)
2089
Lalit Magantie7107402020-04-15 13:41:12 +01002090# GN target: //src/trace_processor/util:util
Harvey Yang321c4fc2021-10-25 14:11:50 +08002091perfetto_filegroup(
Lalit Magantie7107402020-04-15 13:41:12 +01002092 name = "src_trace_processor_util_util",
2093 srcs = [
2094 "src/trace_processor/util/status_macros.h",
2095 ],
2096)
2097
Primiano Tuccic9d912e2022-07-28 23:30:11 +01002098# GN target: //src/trace_processor/util:zip_reader
2099perfetto_filegroup(
2100 name = "src_trace_processor_util_zip_reader",
2101 srcs = [
2102 "src/trace_processor/util/streaming_line_reader.cc",
2103 "src/trace_processor/util/streaming_line_reader.h",
2104 "src/trace_processor/util/zip_reader.cc",
2105 "src/trace_processor/util/zip_reader.h",
2106 ],
2107)
2108
Lalit Maganti2410f202022-05-27 20:57:53 +01002109# GN target: //src/trace_processor/views:views
2110perfetto_filegroup(
2111 name = "src_trace_processor_views_views",
2112 srcs = [
2113 "src/trace_processor/views/macros.h",
2114 "src/trace_processor/views/macros_internal.h",
Lalit Maganti66127e82022-05-31 18:35:46 +01002115 "src/trace_processor/views/slice_views.h",
2116 "src/trace_processor/views/view_destructors.cc",
Lalit Maganti2410f202022-05-27 20:57:53 +01002117 ],
2118)
2119
Ryan Savitskie65c4052022-03-24 18:22:19 +00002120# GN target: //src/trace_processor:demangle
2121perfetto_cc_library(
2122 name = "src_trace_processor_demangle",
2123 srcs = [
2124 "src/trace_processor/demangle.cc",
2125 ],
2126 hdrs = [
2127 ":include_perfetto_base_base",
2128 ":include_perfetto_ext_base_base",
2129 ":include_perfetto_ext_trace_processor_demangle",
Daniele Di Proietto8b46d692022-04-22 15:59:40 +01002130 ":include_perfetto_public_abi_base",
2131 ":include_perfetto_public_base",
Ryan Savitskie65c4052022-03-24 18:22:19 +00002132 ],
Ryan Savitski5d6592d2022-03-31 13:33:23 +01002133 deps = [
2134 ] + PERFETTO_CONFIG.deps.llvm_demangle,
Ryan Savitskie65c4052022-03-24 18:22:19 +00002135 linkstatic = True,
2136)
2137
Eric Secklera7870e62019-11-01 10:11:58 +00002138# GN target: //src/trace_processor:export_json
Harvey Yang321c4fc2021-10-25 14:11:50 +08002139perfetto_filegroup(
Eric Secklera7870e62019-11-01 10:11:58 +00002140 name = "src_trace_processor_export_json",
2141 srcs = [
2142 "src/trace_processor/export_json.cc",
2143 "src/trace_processor/export_json.h",
2144 ],
2145)
2146
Primiano Tucci1d409982019-09-19 10:15:18 +01002147# GN target: //src/trace_processor:lib
Harvey Yang321c4fc2021-10-25 14:11:50 +08002148perfetto_filegroup(
Primiano Tucci1d409982019-09-19 10:15:18 +01002149 name = "src_trace_processor_lib",
2150 srcs = [
Primiano Tucci4e01f632020-06-11 17:03:05 +01002151 "src/trace_processor/iterator_impl.cc",
2152 "src/trace_processor/iterator_impl.h",
Eric Secklera7870e62019-11-01 10:11:58 +00002153 "src/trace_processor/read_trace.cc",
Anna Mayznerec507902022-07-07 15:40:14 +00002154 "src/trace_processor/read_trace_internal.cc",
2155 "src/trace_processor/read_trace_internal.h",
Eric Secklera7870e62019-11-01 10:11:58 +00002156 "src/trace_processor/trace_processor.cc",
2157 "src/trace_processor/trace_processor_impl.cc",
2158 "src/trace_processor/trace_processor_impl.h",
Eric Secklera7870e62019-11-01 10:11:58 +00002159 ],
2160)
2161
Lalit Maganti427b8332020-05-27 16:09:45 +01002162# GN target: //src/trace_processor:metatrace
Harvey Yang321c4fc2021-10-25 14:11:50 +08002163perfetto_filegroup(
Lalit Maganti427b8332020-05-27 16:09:45 +01002164 name = "src_trace_processor_metatrace",
2165 srcs = [
2166 "src/trace_processor/tp_metatrace.cc",
2167 "src/trace_processor/tp_metatrace.h",
2168 ],
2169)
2170
Mikhail Khokhlov692087e2019-12-11 10:53:45 +00002171# GN target: //src/trace_processor:storage_minimal
Harvey Yang321c4fc2021-10-25 14:11:50 +08002172perfetto_filegroup(
Mikhail Khokhlov692087e2019-12-11 10:53:45 +00002173 name = "src_trace_processor_storage_minimal",
Eric Secklera7870e62019-11-01 10:11:58 +00002174 srcs = [
Primiano Tucci1d409982019-09-19 10:15:18 +01002175 "src/trace_processor/forwarding_trace_parser.cc",
2176 "src/trace_processor/forwarding_trace_parser.h",
Primiano Tucci3264b592021-11-08 18:20:51 +00002177 "src/trace_processor/trace_blob.cc",
Primiano Tucci1d409982019-09-19 10:15:18 +01002178 "src/trace_processor/trace_processor_context.cc",
Eric Secklera7870e62019-11-01 10:11:58 +00002179 "src/trace_processor/trace_processor_storage.cc",
2180 "src/trace_processor/trace_processor_storage_impl.cc",
2181 "src/trace_processor/trace_processor_storage_impl.h",
Primiano Tucci1d409982019-09-19 10:15:18 +01002182 "src/trace_processor/virtual_destructors.cc",
Primiano Tucci1d409982019-09-19 10:15:18 +01002183 ],
2184)
2185
Lalit Maganti88e64de2022-11-21 18:29:57 +00002186# GN target: //src/traceconv:gen_cc_trace_descriptor
Hector Dearmana9545e52022-05-17 12:23:25 +01002187perfetto_cc_proto_descriptor(
2188 name = "src_traceconv_gen_cc_trace_descriptor",
2189 deps = [
2190 ":protos_perfetto_trace_descriptor",
2191 ],
2192 outs = [
2193 "src/traceconv/trace.descriptor.h",
2194 ],
2195)
2196
2197# GN target: //src/traceconv:lib
2198perfetto_filegroup(
2199 name = "src_traceconv_lib",
2200 srcs = [
2201 "src/traceconv/deobfuscate_profile.cc",
2202 "src/traceconv/deobfuscate_profile.h",
2203 "src/traceconv/symbolize_profile.cc",
2204 "src/traceconv/symbolize_profile.h",
2205 "src/traceconv/trace_to_hprof.cc",
2206 "src/traceconv/trace_to_hprof.h",
2207 "src/traceconv/trace_to_json.cc",
2208 "src/traceconv/trace_to_json.h",
2209 "src/traceconv/trace_to_profile.cc",
2210 "src/traceconv/trace_to_profile.h",
2211 "src/traceconv/trace_to_systrace.cc",
2212 "src/traceconv/trace_to_systrace.h",
2213 "src/traceconv/trace_to_text.cc",
2214 "src/traceconv/trace_to_text.h",
2215 ],
2216)
2217
2218# GN target: //src/traceconv:main
2219perfetto_filegroup(
2220 name = "src_traceconv_main",
2221 srcs = [
2222 "src/traceconv/main.cc",
2223 ],
2224)
2225
2226# GN target: //src/traceconv:pprofbuilder
2227perfetto_filegroup(
2228 name = "src_traceconv_pprofbuilder",
2229 srcs = [
2230 "src/traceconv/pprof_builder.cc",
2231 ],
2232)
2233
2234# GN target: //src/traceconv:utils
2235perfetto_filegroup(
2236 name = "src_traceconv_utils",
2237 srcs = [
2238 "src/traceconv/utils.cc",
2239 "src/traceconv/utils.h",
2240 ],
2241)
2242
Andy Yu2b0a2132022-04-07 16:17:10 -07002243# GN target: //src/traced/probes/android_game_intervention_list:android_game_intervention_list
2244perfetto_filegroup(
2245 name = "src_traced_probes_android_game_intervention_list_android_game_intervention_list",
2246 srcs = [
2247 "src/traced/probes/android_game_intervention_list/android_game_intervention_list_data_source.cc",
2248 "src/traced/probes/android_game_intervention_list/android_game_intervention_list_data_source.h",
2249 ],
2250)
2251
Primiano Tucci1d409982019-09-19 10:15:18 +01002252# GN target: //src/traced/probes/android_log:android_log
Harvey Yang321c4fc2021-10-25 14:11:50 +08002253perfetto_filegroup(
Primiano Tucci1d409982019-09-19 10:15:18 +01002254 name = "src_traced_probes_android_log_android_log",
2255 srcs = [
2256 "src/traced/probes/android_log/android_log_data_source.cc",
2257 "src/traced/probes/android_log/android_log_data_source.h",
2258 ],
2259)
2260
Simon MacMullenf0a6b382022-07-06 16:35:55 +00002261# GN target: //src/traced/probes/android_system_property:android_system_property
2262perfetto_filegroup(
2263 name = "src_traced_probes_android_system_property_android_system_property",
2264 srcs = [
2265 "src/traced/probes/android_system_property/android_system_property_data_source.cc",
2266 "src/traced/probes/android_system_property/android_system_property_data_source.h",
2267 ],
2268)
2269
Rafal Slawik8053a682020-04-08 17:26:40 +01002270# GN target: //src/traced/probes/common:common
Harvey Yang321c4fc2021-10-25 14:11:50 +08002271perfetto_filegroup(
Rafal Slawik8053a682020-04-08 17:26:40 +01002272 name = "src_traced_probes_common_common",
2273 srcs = [
2274 "src/traced/probes/common/cpu_freq_info.cc",
2275 "src/traced/probes/common/cpu_freq_info.h",
2276 ],
2277)
2278
Primiano Tucci1d409982019-09-19 10:15:18 +01002279# GN target: //src/traced/probes/filesystem:filesystem
Harvey Yang321c4fc2021-10-25 14:11:50 +08002280perfetto_filegroup(
Primiano Tucci1d409982019-09-19 10:15:18 +01002281 name = "src_traced_probes_filesystem_filesystem",
2282 srcs = [
2283 "src/traced/probes/filesystem/file_scanner.cc",
2284 "src/traced/probes/filesystem/file_scanner.h",
2285 "src/traced/probes/filesystem/fs_mount.cc",
2286 "src/traced/probes/filesystem/fs_mount.h",
2287 "src/traced/probes/filesystem/inode_file_data_source.cc",
2288 "src/traced/probes/filesystem/inode_file_data_source.h",
2289 "src/traced/probes/filesystem/lru_inode_cache.cc",
2290 "src/traced/probes/filesystem/lru_inode_cache.h",
2291 "src/traced/probes/filesystem/prefix_finder.cc",
2292 "src/traced/probes/filesystem/prefix_finder.h",
2293 "src/traced/probes/filesystem/range_tree.cc",
2294 "src/traced/probes/filesystem/range_tree.h",
2295 ],
2296)
2297
Primiano Tucci65a4fb12020-12-21 18:35:15 +01002298# GN target: //src/traced/probes/ftrace/format_parser:format_parser
Harvey Yang321c4fc2021-10-25 14:11:50 +08002299perfetto_filegroup(
Primiano Tucci65a4fb12020-12-21 18:35:15 +01002300 name = "src_traced_probes_ftrace_format_parser_format_parser",
Primiano Tucci1d409982019-09-19 10:15:18 +01002301 srcs = [
Primiano Tucci65a4fb12020-12-21 18:35:15 +01002302 "src/traced/probes/ftrace/format_parser/format_parser.cc",
2303 "src/traced/probes/ftrace/format_parser/format_parser.h",
Primiano Tucci1d409982019-09-19 10:15:18 +01002304 ],
2305)
2306
2307# GN target: //src/traced/probes/ftrace:ftrace
Harvey Yang321c4fc2021-10-25 14:11:50 +08002308perfetto_filegroup(
Primiano Tucci1d409982019-09-19 10:15:18 +01002309 name = "src_traced_probes_ftrace_ftrace",
2310 srcs = [
2311 "src/traced/probes/ftrace/atrace_hal_wrapper.cc",
2312 "src/traced/probes/ftrace/atrace_hal_wrapper.h",
2313 "src/traced/probes/ftrace/atrace_wrapper.cc",
2314 "src/traced/probes/ftrace/atrace_wrapper.h",
Lalit Maganti44817b62019-09-19 16:58:23 +01002315 "src/traced/probes/ftrace/compact_sched.cc",
2316 "src/traced/probes/ftrace/compact_sched.h",
Primiano Tucci1d409982019-09-19 10:15:18 +01002317 "src/traced/probes/ftrace/cpu_reader.cc",
2318 "src/traced/probes/ftrace/cpu_reader.h",
2319 "src/traced/probes/ftrace/cpu_stats_parser.cc",
2320 "src/traced/probes/ftrace/cpu_stats_parser.h",
2321 "src/traced/probes/ftrace/event_info.cc",
2322 "src/traced/probes/ftrace/event_info.h",
2323 "src/traced/probes/ftrace/event_info_constants.cc",
2324 "src/traced/probes/ftrace/event_info_constants.h",
Primiano Tucci1d409982019-09-19 10:15:18 +01002325 "src/traced/probes/ftrace/ftrace_config_muxer.cc",
2326 "src/traced/probes/ftrace/ftrace_config_muxer.h",
2327 "src/traced/probes/ftrace/ftrace_config_utils.cc",
2328 "src/traced/probes/ftrace/ftrace_config_utils.h",
2329 "src/traced/probes/ftrace/ftrace_controller.cc",
2330 "src/traced/probes/ftrace/ftrace_controller.h",
2331 "src/traced/probes/ftrace/ftrace_data_source.cc",
2332 "src/traced/probes/ftrace/ftrace_data_source.h",
Primiano Tucci1d409982019-09-19 10:15:18 +01002333 "src/traced/probes/ftrace/ftrace_metadata.h",
Daniele Di Proietto5c4b4432022-10-05 14:54:11 +01002334 "src/traced/probes/ftrace/ftrace_print_filter.cc",
2335 "src/traced/probes/ftrace/ftrace_print_filter.h",
Primiano Tucci1d409982019-09-19 10:15:18 +01002336 "src/traced/probes/ftrace/ftrace_stats.cc",
2337 "src/traced/probes/ftrace/ftrace_stats.h",
Hector Dearmanf0566952020-11-19 12:51:01 +00002338 "src/traced/probes/ftrace/printk_formats_parser.cc",
2339 "src/traced/probes/ftrace/printk_formats_parser.h",
Primiano Tucci1d409982019-09-19 10:15:18 +01002340 "src/traced/probes/ftrace/proto_translation_table.cc",
2341 "src/traced/probes/ftrace/proto_translation_table.h",
Daniele Di Proietto9ffc5bf2022-10-03 10:03:24 +00002342 "src/traced/probes/ftrace/vendor_tracepoints.cc",
2343 "src/traced/probes/ftrace/vendor_tracepoints.h",
Primiano Tucci1d409982019-09-19 10:15:18 +01002344 ],
2345)
2346
Ryan Savitskiec35afb2021-01-29 18:39:36 +00002347# GN target: //src/traced/probes/ftrace:ftrace_procfs
Harvey Yang321c4fc2021-10-25 14:11:50 +08002348perfetto_filegroup(
Ryan Savitskiec35afb2021-01-29 18:39:36 +00002349 name = "src_traced_probes_ftrace_ftrace_procfs",
2350 srcs = [
2351 "src/traced/probes/ftrace/ftrace_procfs.cc",
2352 "src/traced/probes/ftrace/ftrace_procfs.h",
2353 ],
2354)
2355
Simon MacMullen3d4c54a2020-04-17 16:40:53 +01002356# GN target: //src/traced/probes/initial_display_state:initial_display_state
Harvey Yang321c4fc2021-10-25 14:11:50 +08002357perfetto_filegroup(
Simon MacMullen3d4c54a2020-04-17 16:40:53 +01002358 name = "src_traced_probes_initial_display_state_initial_display_state",
2359 srcs = [
2360 "src/traced/probes/initial_display_state/initial_display_state_data_source.cc",
2361 "src/traced/probes/initial_display_state/initial_display_state_data_source.h",
2362 ],
2363)
2364
Primiano Tucci1d409982019-09-19 10:15:18 +01002365# GN target: //src/traced/probes/metatrace:metatrace
Harvey Yang321c4fc2021-10-25 14:11:50 +08002366perfetto_filegroup(
Primiano Tucci1d409982019-09-19 10:15:18 +01002367 name = "src_traced_probes_metatrace_metatrace",
2368 srcs = [
2369 "src/traced/probes/metatrace/metatrace_data_source.cc",
2370 "src/traced/probes/metatrace/metatrace_data_source.h",
2371 ],
2372)
2373
2374# GN target: //src/traced/probes/packages_list:packages_list
Harvey Yang321c4fc2021-10-25 14:11:50 +08002375perfetto_filegroup(
Primiano Tucci1d409982019-09-19 10:15:18 +01002376 name = "src_traced_probes_packages_list_packages_list",
2377 srcs = [
2378 "src/traced/probes/packages_list/packages_list_data_source.cc",
2379 "src/traced/probes/packages_list/packages_list_data_source.h",
2380 ],
2381)
2382
Florian Mayer29e17182020-12-23 10:59:02 +00002383# GN target: //src/traced/probes/packages_list:packages_list_parser
Harvey Yang321c4fc2021-10-25 14:11:50 +08002384perfetto_filegroup(
Florian Mayer29e17182020-12-23 10:59:02 +00002385 name = "src_traced_probes_packages_list_packages_list_parser",
2386 srcs = [
2387 "src/traced/probes/packages_list/packages_list_parser.cc",
2388 "src/traced/probes/packages_list/packages_list_parser.h",
2389 ],
2390)
2391
Primiano Tucci1d409982019-09-19 10:15:18 +01002392# GN target: //src/traced/probes/power:power
Harvey Yang321c4fc2021-10-25 14:11:50 +08002393perfetto_filegroup(
Primiano Tucci1d409982019-09-19 10:15:18 +01002394 name = "src_traced_probes_power_power",
2395 srcs = [
2396 "src/traced/probes/power/android_power_data_source.cc",
2397 "src/traced/probes/power/android_power_data_source.h",
Chinglin Yu819ef1a2021-11-15 22:25:05 +08002398 "src/traced/probes/power/linux_power_sysfs_data_source.cc",
2399 "src/traced/probes/power/linux_power_sysfs_data_source.h",
Primiano Tucci1d409982019-09-19 10:15:18 +01002400 ],
2401)
2402
2403# GN target: //src/traced/probes/ps:ps
Harvey Yang321c4fc2021-10-25 14:11:50 +08002404perfetto_filegroup(
Primiano Tucci1d409982019-09-19 10:15:18 +01002405 name = "src_traced_probes_ps_ps",
2406 srcs = [
2407 "src/traced/probes/ps/process_stats_data_source.cc",
2408 "src/traced/probes/ps/process_stats_data_source.h",
2409 ],
2410)
2411
Hector Dearman09db5b02022-07-11 13:35:23 +01002412# GN target: //src/traced/probes/statsd_client:statsd_client
2413perfetto_filegroup(
2414 name = "src_traced_probes_statsd_client_statsd_client",
2415 srcs = [
2416 "src/traced/probes/statsd_client/statsd_data_source.cc",
2417 "src/traced/probes/statsd_client/statsd_data_source.h",
2418 ],
2419)
2420
Primiano Tucci1d409982019-09-19 10:15:18 +01002421# GN target: //src/traced/probes/sys_stats:sys_stats
Harvey Yang321c4fc2021-10-25 14:11:50 +08002422perfetto_filegroup(
Primiano Tucci1d409982019-09-19 10:15:18 +01002423 name = "src_traced_probes_sys_stats_sys_stats",
2424 srcs = [
2425 "src/traced/probes/sys_stats/sys_stats_data_source.cc",
2426 "src/traced/probes/sys_stats/sys_stats_data_source.h",
2427 ],
2428)
2429
Rafal Slawikb013a112020-04-03 16:12:02 +01002430# GN target: //src/traced/probes/system_info:system_info
Harvey Yang321c4fc2021-10-25 14:11:50 +08002431perfetto_filegroup(
Rafal Slawikb013a112020-04-03 16:12:02 +01002432 name = "src_traced_probes_system_info_system_info",
2433 srcs = [
2434 "src/traced/probes/system_info/system_info_data_source.cc",
2435 "src/traced/probes/system_info/system_info_data_source.h",
2436 ],
2437)
2438
Primiano Tucci1d409982019-09-19 10:15:18 +01002439# GN target: //src/traced/probes:data_source
Harvey Yang321c4fc2021-10-25 14:11:50 +08002440perfetto_filegroup(
Primiano Tucci1d409982019-09-19 10:15:18 +01002441 name = "src_traced_probes_data_source",
2442 srcs = [
2443 "src/traced/probes/probes_data_source.cc",
2444 "src/traced/probes/probes_data_source.h",
2445 ],
2446)
2447
2448# GN target: //src/traced/probes:probes
Harvey Yang321c4fc2021-10-25 14:11:50 +08002449perfetto_filegroup(
Primiano Tucci1d409982019-09-19 10:15:18 +01002450 name = "src_traced_probes_probes",
2451 srcs = [
2452 "src/traced/probes/probes.cc",
2453 ],
2454)
2455
2456# GN target: //src/traced/probes:probes_src
Harvey Yang321c4fc2021-10-25 14:11:50 +08002457perfetto_filegroup(
Primiano Tucci1d409982019-09-19 10:15:18 +01002458 name = "src_traced_probes_probes_src",
2459 srcs = [
Kalesh Singh340cc0b2021-01-14 20:14:27 -05002460 "src/traced/probes/kmem_activity_trigger.cc",
2461 "src/traced/probes/kmem_activity_trigger.h",
Primiano Tucci1d409982019-09-19 10:15:18 +01002462 "src/traced/probes/probes_producer.cc",
2463 "src/traced/probes/probes_producer.h",
2464 ],
2465)
2466
2467# GN target: //src/traced/service:service
Harvey Yang321c4fc2021-10-25 14:11:50 +08002468perfetto_filegroup(
Primiano Tucci1d409982019-09-19 10:15:18 +01002469 name = "src_traced_service_service",
2470 srcs = [
2471 "src/traced/service/builtin_producer.cc",
2472 "src/traced/service/builtin_producer.h",
2473 "src/traced/service/service.cc",
2474 ],
2475)
2476
Primiano Tuccic4c063b2020-01-27 09:34:46 +00002477# GN target: //src/tracing/core:core
Harvey Yang321c4fc2021-10-25 14:11:50 +08002478perfetto_filegroup(
Primiano Tuccic4c063b2020-01-27 09:34:46 +00002479 name = "src_tracing_core_core",
2480 srcs = [
2481 "src/tracing/core/id_allocator.cc",
2482 "src/tracing/core/id_allocator.h",
2483 "src/tracing/core/null_trace_writer.cc",
2484 "src/tracing/core/null_trace_writer.h",
2485 "src/tracing/core/patch_list.h",
2486 "src/tracing/core/shared_memory_abi.cc",
2487 "src/tracing/core/shared_memory_arbiter_impl.cc",
2488 "src/tracing/core/shared_memory_arbiter_impl.h",
Primiano Tuccic4c063b2020-01-27 09:34:46 +00002489 "src/tracing/core/trace_packet.cc",
2490 "src/tracing/core/trace_writer_impl.cc",
2491 "src/tracing/core/trace_writer_impl.h",
2492 "src/tracing/core/virtual_destructors.cc",
2493 ],
2494)
2495
2496# GN target: //src/tracing/core:service
Harvey Yang321c4fc2021-10-25 14:11:50 +08002497perfetto_filegroup(
Primiano Tuccic4c063b2020-01-27 09:34:46 +00002498 name = "src_tracing_core_service",
2499 srcs = [
2500 "src/tracing/core/metatrace_writer.cc",
2501 "src/tracing/core/metatrace_writer.h",
2502 "src/tracing/core/packet_stream_validator.cc",
2503 "src/tracing/core/packet_stream_validator.h",
2504 "src/tracing/core/trace_buffer.cc",
2505 "src/tracing/core/trace_buffer.h",
2506 "src/tracing/core/tracing_service_impl.cc",
2507 "src/tracing/core/tracing_service_impl.h",
2508 ],
2509)
2510
2511# GN target: //src/tracing/ipc/consumer:consumer
Harvey Yang321c4fc2021-10-25 14:11:50 +08002512perfetto_filegroup(
Primiano Tuccic4c063b2020-01-27 09:34:46 +00002513 name = "src_tracing_ipc_consumer_consumer",
2514 srcs = [
2515 "src/tracing/ipc/consumer/consumer_ipc_client_impl.cc",
2516 "src/tracing/ipc/consumer/consumer_ipc_client_impl.h",
2517 ],
2518)
2519
2520# GN target: //src/tracing/ipc/producer:producer
Harvey Yang321c4fc2021-10-25 14:11:50 +08002521perfetto_filegroup(
Primiano Tuccic4c063b2020-01-27 09:34:46 +00002522 name = "src_tracing_ipc_producer_producer",
2523 srcs = [
2524 "src/tracing/ipc/producer/producer_ipc_client_impl.cc",
2525 "src/tracing/ipc/producer/producer_ipc_client_impl.h",
2526 ],
2527)
2528
2529# GN target: //src/tracing/ipc/service:service
Harvey Yang321c4fc2021-10-25 14:11:50 +08002530perfetto_filegroup(
Primiano Tuccic4c063b2020-01-27 09:34:46 +00002531 name = "src_tracing_ipc_service_service",
2532 srcs = [
2533 "src/tracing/ipc/service/consumer_ipc_service.cc",
2534 "src/tracing/ipc/service/consumer_ipc_service.h",
2535 "src/tracing/ipc/service/producer_ipc_service.cc",
2536 "src/tracing/ipc/service/producer_ipc_service.h",
2537 "src/tracing/ipc/service/service_ipc_host_impl.cc",
2538 "src/tracing/ipc/service/service_ipc_host_impl.h",
2539 ],
2540)
2541
2542# GN target: //src/tracing/ipc:common
Harvey Yang321c4fc2021-10-25 14:11:50 +08002543perfetto_filegroup(
Primiano Tuccic4c063b2020-01-27 09:34:46 +00002544 name = "src_tracing_ipc_common",
2545 srcs = [
Eric Seckler14a22db2020-02-03 13:47:08 +00002546 "src/tracing/ipc/memfd.cc",
2547 "src/tracing/ipc/memfd.h",
Primiano Tuccic4c063b2020-01-27 09:34:46 +00002548 "src/tracing/ipc/posix_shared_memory.cc",
2549 "src/tracing/ipc/posix_shared_memory.h",
Primiano Tucci5f3008e2021-05-19 21:34:45 +01002550 "src/tracing/ipc/shared_memory_windows.cc",
2551 "src/tracing/ipc/shared_memory_windows.h",
Primiano Tuccic4c063b2020-01-27 09:34:46 +00002552 ],
2553)
2554
Primiano Tucci8761a312021-11-25 17:17:23 +00002555# GN target: //src/tracing/ipc:default_socket
2556perfetto_filegroup(
2557 name = "src_tracing_ipc_default_socket",
2558 srcs = [
2559 "src/tracing/ipc/default_socket.cc",
2560 ],
2561)
2562
Primiano Tucci3feec552020-02-04 11:14:42 +00002563# GN target: //src/tracing:client_api_without_backends
Harvey Yang321c4fc2021-10-25 14:11:50 +08002564perfetto_filegroup(
Primiano Tucci3feec552020-02-04 11:14:42 +00002565 name = "src_tracing_client_api_without_backends",
Pascal Muetschardb4966c52019-09-24 13:38:09 -07002566 srcs = [
Sami Kyostiladd1cfd72020-12-14 15:48:25 +00002567 "src/tracing/console_interceptor.cc",
Pascal Muetschardb4966c52019-09-24 13:38:09 -07002568 "src/tracing/data_source.cc",
Sami Kyostila29ff8442019-11-26 16:05:13 +00002569 "src/tracing/debug_annotation.cc",
Sami Kyostila10b270a2019-11-19 19:12:03 +00002570 "src/tracing/event_context.cc",
Sami Kyostila927cd762020-12-01 17:09:14 +00002571 "src/tracing/interceptor.cc",
Alexander Timinab5cba12021-01-19 17:23:19 +00002572 "src/tracing/internal/checked_scope.cc",
Sami Kyostila927cd762020-12-01 17:09:14 +00002573 "src/tracing/internal/interceptor_trace_writer.cc",
Eric Seckler36881d12021-02-10 10:55:31 +00002574 "src/tracing/internal/tracing_backend_fake.cc",
Sami Kyostila19e28c82021-01-14 17:15:27 +00002575 "src/tracing/internal/tracing_muxer_fake.cc",
2576 "src/tracing/internal/tracing_muxer_fake.h",
Pascal Muetschardb4966c52019-09-24 13:38:09 -07002577 "src/tracing/internal/tracing_muxer_impl.cc",
2578 "src/tracing/internal/tracing_muxer_impl.h",
Sami Kyostila1eebf5e2019-10-24 17:36:15 +01002579 "src/tracing/internal/track_event_internal.cc",
Alexander Timin8ef1db32021-04-30 12:52:59 +00002580 "src/tracing/internal/track_event_interned_fields.cc",
Pascal Muetschardb4966c52019-09-24 13:38:09 -07002581 "src/tracing/platform.cc",
Alexander Timin02d79852021-01-15 16:31:24 +00002582 "src/tracing/traced_value.cc",
Pascal Muetschardb4966c52019-09-24 13:38:09 -07002583 "src/tracing/tracing.cc",
Eric Seckleref4e7732021-03-30 13:55:03 +01002584 "src/tracing/tracing_policy.cc",
Sami Kyostila26a04372020-01-13 12:46:48 +00002585 "src/tracing/track.cc",
Sami Kyostila1eebf5e2019-10-24 17:36:15 +01002586 "src/tracing/track_event_category_registry.cc",
Sami Kyostila91f38e42020-02-03 13:59:23 +00002587 "src/tracing/track_event_legacy.cc",
Sami Kyostiladd1cfd72020-12-14 15:48:25 +00002588 "src/tracing/track_event_state_tracker.cc",
Pascal Muetschardb4966c52019-09-24 13:38:09 -07002589 "src/tracing/virtual_destructors.cc",
2590 ],
2591)
2592
Primiano Tucci1d409982019-09-19 10:15:18 +01002593# GN target: //src/tracing:common
Harvey Yang321c4fc2021-10-25 14:11:50 +08002594perfetto_filegroup(
Primiano Tucci1d409982019-09-19 10:15:18 +01002595 name = "src_tracing_common",
2596 srcs = [
2597 "src/tracing/trace_writer_base.cc",
2598 ],
2599)
2600
Primiano Tucci55b4d912020-01-28 11:17:51 +00002601# GN target: //src/tracing:in_process_backend
Harvey Yang321c4fc2021-10-25 14:11:50 +08002602perfetto_filegroup(
Primiano Tucci55b4d912020-01-28 11:17:51 +00002603 name = "src_tracing_in_process_backend",
2604 srcs = [
2605 "src/tracing/internal/in_process_tracing_backend.cc",
2606 ],
2607)
2608
Primiano Tucci10c9e9e2021-01-08 13:04:40 +01002609# GN target: //src/tracing:platform_impl
Harvey Yang321c4fc2021-10-25 14:11:50 +08002610perfetto_filegroup(
Primiano Tucci10c9e9e2021-01-08 13:04:40 +01002611 name = "src_tracing_platform_impl",
Pascal Muetschardb4966c52019-09-24 13:38:09 -07002612 srcs = [
2613 "src/tracing/platform_posix.cc",
Primiano Tucci5f3008e2021-05-19 21:34:45 +01002614 "src/tracing/platform_windows.cc",
Pascal Muetschardb4966c52019-09-24 13:38:09 -07002615 ],
2616)
2617
Primiano Tucci3feec552020-02-04 11:14:42 +00002618# GN target: //src/tracing:system_backend
Harvey Yang321c4fc2021-10-25 14:11:50 +08002619perfetto_filegroup(
Primiano Tucci3feec552020-02-04 11:14:42 +00002620 name = "src_tracing_system_backend",
Primiano Tucci55b4d912020-01-28 11:17:51 +00002621 srcs = [
2622 "src/tracing/internal/system_tracing_backend.cc",
2623 ],
2624)
2625
Primiano Tucci1d409982019-09-19 10:15:18 +01002626# ##############################################################################
2627# Proto libraries
2628# ##############################################################################
2629
Lalit Maganti8d6d7c12022-02-24 20:35:23 +00002630# GN target: [//protos/perfetto/config:source_set]
2631perfetto_proto_library(
2632 name = "config_proto",
2633 visibility = PERFETTO_CONFIG.public_visibility,
Primiano Tucci57dd66b2019-10-15 23:09:04 +01002634 deps = [
Lalit Magantie69b1dc2022-02-25 20:21:57 +00002635 ":protos_perfetto_common_protos",
2636 ":protos_perfetto_config_android_protos",
2637 ":protos_perfetto_config_ftrace_protos",
2638 ":protos_perfetto_config_gpu_protos",
2639 ":protos_perfetto_config_inode_file_protos",
2640 ":protos_perfetto_config_interceptors_protos",
2641 ":protos_perfetto_config_power_protos",
2642 ":protos_perfetto_config_process_stats_protos",
2643 ":protos_perfetto_config_profiling_protos",
Lalit Maganti8d6d7c12022-02-24 20:35:23 +00002644 ":protos_perfetto_config_protos",
Hector Dearman5974de02022-06-23 15:31:40 +01002645 ":protos_perfetto_config_statsd_protos",
Lalit Magantie69b1dc2022-02-25 20:21:57 +00002646 ":protos_perfetto_config_sys_stats_protos",
Hector Dearman48047d12022-08-02 14:00:46 +01002647 ":protos_perfetto_config_system_info_protos",
Lalit Magantie69b1dc2022-02-25 20:21:57 +00002648 ":protos_perfetto_config_track_event_protos",
Primiano Tucci57dd66b2019-10-15 23:09:04 +01002649 ],
2650)
2651
Lalit Magantie69b1dc2022-02-25 20:21:57 +00002652# GN target: [//protos/perfetto/config:source_set]
Lalit Maganti16c28ca2022-02-17 12:20:07 +00002653perfetto_cc_proto_library(
Lalit Maganti8d6d7c12022-02-24 20:35:23 +00002654 name = "config_cc_proto",
2655 visibility = PERFETTO_CONFIG.public_visibility,
2656 deps = [
2657 ":config_proto",
2658 ],
2659)
2660
Lalit Magantie69b1dc2022-02-25 20:21:57 +00002661# GN target: [//protos/perfetto/config:source_set]
Lalit Maganti8d6d7c12022-02-24 20:35:23 +00002662perfetto_java_proto_library(
2663 name = "config_java_proto",
2664 visibility = PERFETTO_CONFIG.public_visibility,
2665 deps = [
2666 ":config_proto",
2667 ],
2668)
2669
Lalit Magantie69b1dc2022-02-25 20:21:57 +00002670# GN target: [//protos/perfetto/config:source_set]
2671perfetto_java_lite_proto_library(
Lalit Maganti8d6d7c12022-02-24 20:35:23 +00002672 name = "config_java_proto_lite",
2673 visibility = PERFETTO_CONFIG.public_visibility,
2674 deps = [
2675 ":config_proto",
2676 ],
2677)
2678
Lalit Maganti06f638c2022-04-01 18:44:14 +01002679# GN target: [//protos/perfetto/config:source_set]
2680perfetto_py_proto_library(
2681 name = "config_py_pb2",
2682 visibility = PERFETTO_CONFIG.public_visibility,
2683 deps = [
2684 ":config_proto",
2685 ],
2686)
2687
Lalit Maganti8d6d7c12022-02-24 20:35:23 +00002688# GN target: [//protos/perfetto/trace:non_minimal_source_set, //protos/perfetto/trace:minimal_source_set]
2689perfetto_proto_library(
2690 name = "trace_proto",
2691 visibility = PERFETTO_CONFIG.public_visibility,
2692 deps = [
Lalit Magantie69b1dc2022-02-25 20:21:57 +00002693 ":protos_perfetto_common_protos",
2694 ":protos_perfetto_config_android_protos",
2695 ":protos_perfetto_config_ftrace_protos",
2696 ":protos_perfetto_config_gpu_protos",
2697 ":protos_perfetto_config_inode_file_protos",
2698 ":protos_perfetto_config_interceptors_protos",
2699 ":protos_perfetto_config_power_protos",
2700 ":protos_perfetto_config_process_stats_protos",
2701 ":protos_perfetto_config_profiling_protos",
2702 ":protos_perfetto_config_protos",
Hector Dearman5974de02022-06-23 15:31:40 +01002703 ":protos_perfetto_config_statsd_protos",
Lalit Magantie69b1dc2022-02-25 20:21:57 +00002704 ":protos_perfetto_config_sys_stats_protos",
Hector Dearman48047d12022-08-02 14:00:46 +01002705 ":protos_perfetto_config_system_info_protos",
Lalit Magantie69b1dc2022-02-25 20:21:57 +00002706 ":protos_perfetto_config_track_event_protos",
2707 ":protos_perfetto_trace_android_protos",
2708 ":protos_perfetto_trace_chrome_protos",
2709 ":protos_perfetto_trace_filesystem_protos",
2710 ":protos_perfetto_trace_ftrace_protos",
2711 ":protos_perfetto_trace_gpu_protos",
2712 ":protos_perfetto_trace_interned_data_protos",
Lalit Maganti8d6d7c12022-02-24 20:35:23 +00002713 ":protos_perfetto_trace_minimal_protos",
2714 ":protos_perfetto_trace_non_minimal_protos",
Lalit Magantie69b1dc2022-02-25 20:21:57 +00002715 ":protos_perfetto_trace_perfetto_protos",
2716 ":protos_perfetto_trace_power_protos",
2717 ":protos_perfetto_trace_profiling_protos",
2718 ":protos_perfetto_trace_ps_protos",
Hector Dearman5974de02022-06-23 15:31:40 +01002719 ":protos_perfetto_trace_statsd_protos",
Lalit Magantie69b1dc2022-02-25 20:21:57 +00002720 ":protos_perfetto_trace_sys_stats_protos",
2721 ":protos_perfetto_trace_system_info_protos",
2722 ":protos_perfetto_trace_track_event_protos",
Igor Kraskevich49b42882022-03-21 13:03:02 +00002723 ":protos_perfetto_trace_translation_protos",
Lalit Maganti8d6d7c12022-02-24 20:35:23 +00002724 ],
2725)
2726
Lalit Magantie69b1dc2022-02-25 20:21:57 +00002727# GN target: [//protos/perfetto/trace:non_minimal_source_set, //protos/perfetto/trace:minimal_source_set]
Lalit Maganti8d6d7c12022-02-24 20:35:23 +00002728perfetto_cc_proto_library(
2729 name = "trace_cc_proto",
2730 visibility = PERFETTO_CONFIG.public_visibility,
2731 deps = [
2732 ":trace_proto",
2733 ],
2734)
2735
Lalit Magantie69b1dc2022-02-25 20:21:57 +00002736# GN target: [//protos/perfetto/trace:non_minimal_source_set, //protos/perfetto/trace:minimal_source_set]
Lalit Maganti8d6d7c12022-02-24 20:35:23 +00002737perfetto_java_proto_library(
2738 name = "trace_java_proto",
2739 visibility = PERFETTO_CONFIG.public_visibility,
2740 deps = [
2741 ":trace_proto",
2742 ],
2743)
2744
Lalit Magantie69b1dc2022-02-25 20:21:57 +00002745# GN target: [//protos/perfetto/trace:non_minimal_source_set, //protos/perfetto/trace:minimal_source_set]
2746perfetto_java_lite_proto_library(
Lalit Maganti8d6d7c12022-02-24 20:35:23 +00002747 name = "trace_java_proto_lite",
2748 visibility = PERFETTO_CONFIG.public_visibility,
2749 deps = [
2750 ":trace_proto",
2751 ],
2752)
2753
Lalit Maganti06f638c2022-04-01 18:44:14 +01002754# GN target: [//protos/perfetto/trace:non_minimal_source_set, //protos/perfetto/trace:minimal_source_set]
2755perfetto_py_proto_library(
2756 name = "trace_py_pb2",
2757 visibility = PERFETTO_CONFIG.public_visibility,
2758 deps = [
2759 ":trace_proto",
2760 ],
2761)
2762
Lalit Maganti3a7d7532022-03-02 18:11:06 +00002763# GN target: [//protos/perfetto/metrics:source_set]
2764perfetto_proto_library(
2765 name = "metrics_proto",
2766 visibility = PERFETTO_CONFIG.public_visibility,
2767 deps = [
2768 ":protos_perfetto_metrics_android_protos",
2769 ":protos_perfetto_metrics_protos",
2770 ],
2771)
2772
2773# GN target: [//protos/perfetto/metrics:source_set]
2774perfetto_cc_proto_library(
2775 name = "metrics_cc_proto",
2776 visibility = PERFETTO_CONFIG.public_visibility,
2777 deps = [
2778 ":metrics_proto",
2779 ],
2780)
2781
2782# GN target: [//protos/perfetto/metrics:source_set]
2783perfetto_java_proto_library(
2784 name = "metrics_java_proto",
2785 visibility = PERFETTO_CONFIG.public_visibility,
2786 deps = [
2787 ":metrics_proto",
2788 ],
2789)
2790
2791# GN target: [//protos/perfetto/metrics:source_set]
2792perfetto_java_lite_proto_library(
2793 name = "metrics_java_proto_lite",
2794 visibility = PERFETTO_CONFIG.public_visibility,
2795 deps = [
2796 ":metrics_proto",
2797 ],
2798)
2799
Lalit Maganti06f638c2022-04-01 18:44:14 +01002800# GN target: [//protos/perfetto/metrics:source_set]
2801perfetto_py_proto_library(
2802 name = "metrics_py_pb2",
2803 visibility = PERFETTO_CONFIG.public_visibility,
2804 deps = [
2805 ":metrics_proto",
2806 ],
2807)
2808
Lalit Maganti3a7d7532022-03-02 18:11:06 +00002809# GN target: [//protos/third_party/chromium:source_set]
2810perfetto_proto_library(
2811 name = "chromium_proto",
2812 visibility = PERFETTO_CONFIG.public_visibility,
2813 deps = [
2814 ":protos_perfetto_trace_track_event_protos",
2815 ":protos_third_party_chromium_protos",
2816 ],
2817)
2818
2819# GN target: [//protos/third_party/chromium:source_set]
2820perfetto_cc_proto_library(
2821 name = "chromium_cc_proto",
2822 visibility = PERFETTO_CONFIG.public_visibility,
2823 deps = [
2824 ":chromium_proto",
2825 ],
2826)
2827
2828# GN target: [//protos/third_party/chromium:source_set]
2829perfetto_java_proto_library(
2830 name = "chromium_java_proto",
2831 visibility = PERFETTO_CONFIG.public_visibility,
2832 deps = [
2833 ":chromium_proto",
2834 ],
2835)
2836
2837# GN target: [//protos/third_party/chromium:source_set]
2838perfetto_java_lite_proto_library(
2839 name = "chromium_java_proto_lite",
2840 visibility = PERFETTO_CONFIG.public_visibility,
2841 deps = [
2842 ":chromium_proto",
2843 ],
2844)
2845
Lalit Maganti06f638c2022-04-01 18:44:14 +01002846# GN target: [//protos/third_party/chromium:source_set]
2847perfetto_py_proto_library(
2848 name = "chromium_py_pb2",
2849 visibility = PERFETTO_CONFIG.public_visibility,
2850 deps = [
2851 ":chromium_proto",
2852 ],
2853)
2854
Igor Kraskevich833f3cb2022-03-29 14:47:35 +00002855# GN target: [//protos/perfetto/metrics/chrome:source_set]
2856perfetto_proto_library(
2857 name = "chrome_metrics_proto",
2858 visibility = PERFETTO_CONFIG.public_visibility,
2859 deps = [
2860 ":protos_perfetto_metrics_android_protos",
2861 ":protos_perfetto_metrics_chrome_protos",
2862 ":protos_perfetto_metrics_custom_options_protos",
2863 ":protos_perfetto_metrics_protos",
2864 ],
2865)
2866
2867# GN target: [//protos/perfetto/metrics/chrome:source_set]
2868perfetto_cc_proto_library(
2869 name = "chrome_metrics_cc_proto",
2870 visibility = PERFETTO_CONFIG.public_visibility,
2871 deps = [
2872 ":chrome_metrics_proto",
2873 ],
2874)
2875
2876# GN target: [//protos/perfetto/metrics/chrome:source_set]
2877perfetto_java_proto_library(
2878 name = "chrome_metrics_java_proto",
2879 visibility = PERFETTO_CONFIG.public_visibility,
2880 deps = [
2881 ":chrome_metrics_proto",
2882 ],
2883)
2884
2885# GN target: [//protos/perfetto/metrics/chrome:source_set]
2886perfetto_java_lite_proto_library(
2887 name = "chrome_metrics_java_proto_lite",
2888 visibility = PERFETTO_CONFIG.public_visibility,
2889 deps = [
2890 ":chrome_metrics_proto",
2891 ],
2892)
2893
Lalit Maganti06f638c2022-04-01 18:44:14 +01002894# GN target: [//protos/perfetto/metrics/chrome:source_set]
2895perfetto_py_proto_library(
2896 name = "chrome_metrics_py_pb2",
2897 visibility = PERFETTO_CONFIG.public_visibility,
2898 deps = [
2899 ":chrome_metrics_proto",
2900 ],
2901)
2902
Lalit Maganti8d6d7c12022-02-24 20:35:23 +00002903# GN target: //protos/perfetto/common:cpp
2904perfetto_cc_protocpp_library(
2905 name = "protos_perfetto_common_cpp",
Lalit Maganti16c28ca2022-02-17 12:20:07 +00002906 deps = [
2907 ":protos_perfetto_common_protos",
2908 ],
2909)
2910
Lalit Maganti79d70fe2022-02-15 18:31:09 +00002911# GN target: //protos/perfetto/common:source_set
Primiano Tucci1d409982019-09-19 10:15:18 +01002912perfetto_proto_library(
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01002913 name = "protos_perfetto_common_protos",
Primiano Tucci1d409982019-09-19 10:15:18 +01002914 srcs = [
Raymond Chiu64b2fe52021-02-01 15:46:44 -08002915 "protos/perfetto/common/android_energy_consumer_descriptor.proto",
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01002916 "protos/perfetto/common/android_log_constants.proto",
Eric Secklerdc454522020-05-20 19:40:23 +01002917 "protos/perfetto/common/builtin_clock.proto",
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01002918 "protos/perfetto/common/commit_data_request.proto",
2919 "protos/perfetto/common/data_source_descriptor.proto",
2920 "protos/perfetto/common/descriptor.proto",
Daniele Di Proietto97c33812022-02-21 13:49:52 +00002921 "protos/perfetto/common/ftrace_descriptor.proto",
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01002922 "protos/perfetto/common/gpu_counter_descriptor.proto",
Sami Kyostila927cd762020-12-01 17:09:14 +00002923 "protos/perfetto/common/interceptor_descriptor.proto",
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01002924 "protos/perfetto/common/observable_events.proto",
Ryan Savitski9ad60aa2021-03-09 16:36:24 +00002925 "protos/perfetto/common/perf_events.proto",
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01002926 "protos/perfetto/common/sys_stats_counters.proto",
2927 "protos/perfetto/common/trace_stats.proto",
Primiano Tuccif5a94cc2020-03-26 10:02:13 +00002928 "protos/perfetto/common/tracing_service_capabilities.proto",
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01002929 "protos/perfetto/common/tracing_service_state.proto",
2930 "protos/perfetto/common/track_event_descriptor.proto",
Primiano Tucci1d409982019-09-19 10:15:18 +01002931 ],
Primiano Tuccie88d9392019-11-19 17:42:41 +00002932 visibility = [
2933 PERFETTO_CONFIG.proto_library_visibility,
2934 ],
Primiano Tucci1d409982019-09-19 10:15:18 +01002935)
2936
2937# GN target: //protos/perfetto/common:zero
2938perfetto_cc_protozero_library(
2939 name = "protos_perfetto_common_zero",
2940 deps = [
2941 ":protos_perfetto_common_protos",
2942 ],
2943)
2944
Primiano Tucci57dd66b2019-10-15 23:09:04 +01002945# GN target: //protos/perfetto/config/android:cpp
2946perfetto_cc_protocpp_library(
2947 name = "protos_perfetto_config_android_cpp",
2948 deps = [
Primiano Tucci57dd66b2019-10-15 23:09:04 +01002949 ":protos_perfetto_common_cpp",
Primiano Tucci34bc5592021-02-19 17:53:36 +01002950 ":protos_perfetto_config_android_protos",
Primiano Tucci57dd66b2019-10-15 23:09:04 +01002951 ],
2952)
2953
Lalit Maganti79d70fe2022-02-15 18:31:09 +00002954# GN target: //protos/perfetto/config/android:source_set
Primiano Tucci1d409982019-09-19 10:15:18 +01002955perfetto_proto_library(
2956 name = "protos_perfetto_config_android_protos",
2957 srcs = [
Andy Yu2e3c9b62022-05-31 11:23:18 -07002958 "protos/perfetto/config/android/android_game_intervention_list_config.proto",
Primiano Tucci1d409982019-09-19 10:15:18 +01002959 "protos/perfetto/config/android/android_log_config.proto",
Simon MacMullen1f5319f2020-05-01 16:30:44 +01002960 "protos/perfetto/config/android/android_polled_state_config.proto",
Simon MacMullenf0a6b382022-07-06 16:35:55 +00002961 "protos/perfetto/config/android/android_system_property_config.proto",
Ryan Zuklie1c0a5002022-11-18 17:03:37 -08002962 "protos/perfetto/config/android/network_trace_config.proto",
Primiano Tucci1d409982019-09-19 10:15:18 +01002963 "protos/perfetto/config/android/packages_list_config.proto",
2964 ],
Primiano Tuccie88d9392019-11-19 17:42:41 +00002965 visibility = [
2966 PERFETTO_CONFIG.proto_library_visibility,
2967 ],
Primiano Tucci1d409982019-09-19 10:15:18 +01002968 deps = [
2969 ":protos_perfetto_common_protos",
2970 ],
2971)
2972
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01002973# GN target: //protos/perfetto/config/android:zero
2974perfetto_cc_protozero_library(
2975 name = "protos_perfetto_config_android_zero",
2976 deps = [
Lalit Maganti25b59732021-04-20 16:18:32 +01002977 ":protos_perfetto_common_zero",
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01002978 ":protos_perfetto_config_android_protos",
2979 ],
2980)
2981
Primiano Tucci57dd66b2019-10-15 23:09:04 +01002982# GN target: //protos/perfetto/config:cpp
2983perfetto_cc_protocpp_library(
2984 name = "protos_perfetto_config_cpp",
2985 deps = [
Primiano Tucci34bc5592021-02-19 17:53:36 +01002986 ":protos_perfetto_common_cpp",
Primiano Tuccie8020f92019-11-26 13:24:01 +00002987 ":protos_perfetto_config_android_cpp",
Primiano Tuccie8020f92019-11-26 13:24:01 +00002988 ":protos_perfetto_config_ftrace_cpp",
Primiano Tucci57dd66b2019-10-15 23:09:04 +01002989 ":protos_perfetto_config_gpu_cpp",
Primiano Tucci34bc5592021-02-19 17:53:36 +01002990 ":protos_perfetto_config_inode_file_cpp",
Sami Kyostiladd1cfd72020-12-14 15:48:25 +00002991 ":protos_perfetto_config_interceptors_cpp",
Primiano Tuccie8020f92019-11-26 13:24:01 +00002992 ":protos_perfetto_config_power_cpp",
Primiano Tucci34bc5592021-02-19 17:53:36 +01002993 ":protos_perfetto_config_process_stats_cpp",
2994 ":protos_perfetto_config_profiling_cpp",
2995 ":protos_perfetto_config_protos",
Hector Dearman5974de02022-06-23 15:31:40 +01002996 ":protos_perfetto_config_statsd_cpp",
Primiano Tucci57dd66b2019-10-15 23:09:04 +01002997 ":protos_perfetto_config_sys_stats_cpp",
Hector Dearman48047d12022-08-02 14:00:46 +01002998 ":protos_perfetto_config_system_info_cpp",
Primiano Tucci34bc5592021-02-19 17:53:36 +01002999 ":protos_perfetto_config_track_event_cpp",
Primiano Tucci57dd66b2019-10-15 23:09:04 +01003000 ],
3001)
3002
Hector Dearmana1d75242020-10-02 09:47:24 +01003003# GN target: //protos/perfetto/config:descriptor
3004perfetto_proto_descriptor(
3005 name = "protos_perfetto_config_descriptor",
3006 deps = [
3007 ":protos_perfetto_config_protos",
3008 ],
3009 outs = [
3010 "protos_perfetto_config_descriptor.bin",
3011 ],
3012)
3013
Primiano Tucci57dd66b2019-10-15 23:09:04 +01003014# GN target: //protos/perfetto/config/ftrace:cpp
3015perfetto_cc_protocpp_library(
3016 name = "protos_perfetto_config_ftrace_cpp",
3017 deps = [
Primiano Tucci57dd66b2019-10-15 23:09:04 +01003018 ":protos_perfetto_config_ftrace_protos",
3019 ],
3020)
3021
Lalit Maganti79d70fe2022-02-15 18:31:09 +00003022# GN target: //protos/perfetto/config/ftrace:source_set
Primiano Tucci1d409982019-09-19 10:15:18 +01003023perfetto_proto_library(
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003024 name = "protos_perfetto_config_ftrace_protos",
Primiano Tucci1d409982019-09-19 10:15:18 +01003025 srcs = [
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003026 "protos/perfetto/config/ftrace/ftrace_config.proto",
Primiano Tucci1d409982019-09-19 10:15:18 +01003027 ],
Primiano Tuccie88d9392019-11-19 17:42:41 +00003028 visibility = [
3029 PERFETTO_CONFIG.proto_library_visibility,
3030 ],
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003031)
3032
3033# GN target: //protos/perfetto/config/ftrace:zero
3034perfetto_cc_protozero_library(
3035 name = "protos_perfetto_config_ftrace_zero",
Primiano Tucci1d409982019-09-19 10:15:18 +01003036 deps = [
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003037 ":protos_perfetto_config_ftrace_protos",
Primiano Tucci1d409982019-09-19 10:15:18 +01003038 ],
3039)
3040
Primiano Tucci57dd66b2019-10-15 23:09:04 +01003041# GN target: //protos/perfetto/config/gpu:cpp
3042perfetto_cc_protocpp_library(
3043 name = "protos_perfetto_config_gpu_cpp",
3044 deps = [
Primiano Tucci57dd66b2019-10-15 23:09:04 +01003045 ":protos_perfetto_config_gpu_protos",
3046 ],
3047)
3048
Lalit Maganti79d70fe2022-02-15 18:31:09 +00003049# GN target: //protos/perfetto/config/gpu:source_set
Primiano Tucci1d409982019-09-19 10:15:18 +01003050perfetto_proto_library(
3051 name = "protos_perfetto_config_gpu_protos",
3052 srcs = [
3053 "protos/perfetto/config/gpu/gpu_counter_config.proto",
Mohammad Reza Zakerinasabd9a209c2019-11-28 14:12:55 -05003054 "protos/perfetto/config/gpu/vulkan_memory_config.proto",
Primiano Tucci1d409982019-09-19 10:15:18 +01003055 ],
Primiano Tuccie88d9392019-11-19 17:42:41 +00003056 visibility = [
3057 PERFETTO_CONFIG.proto_library_visibility,
3058 ],
Primiano Tucci1d409982019-09-19 10:15:18 +01003059)
3060
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003061# GN target: //protos/perfetto/config/gpu:zero
3062perfetto_cc_protozero_library(
3063 name = "protos_perfetto_config_gpu_zero",
3064 deps = [
3065 ":protos_perfetto_config_gpu_protos",
3066 ],
3067)
3068
Primiano Tucci57dd66b2019-10-15 23:09:04 +01003069# GN target: //protos/perfetto/config/inode_file:cpp
3070perfetto_cc_protocpp_library(
3071 name = "protos_perfetto_config_inode_file_cpp",
3072 deps = [
Primiano Tucci57dd66b2019-10-15 23:09:04 +01003073 ":protos_perfetto_config_inode_file_protos",
3074 ],
3075)
3076
Lalit Maganti79d70fe2022-02-15 18:31:09 +00003077# GN target: //protos/perfetto/config/inode_file:source_set
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003078perfetto_proto_library(
3079 name = "protos_perfetto_config_inode_file_protos",
3080 srcs = [
3081 "protos/perfetto/config/inode_file/inode_file_config.proto",
3082 ],
Primiano Tuccie88d9392019-11-19 17:42:41 +00003083 visibility = [
3084 PERFETTO_CONFIG.proto_library_visibility,
3085 ],
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003086)
3087
3088# GN target: //protos/perfetto/config/inode_file:zero
3089perfetto_cc_protozero_library(
3090 name = "protos_perfetto_config_inode_file_zero",
3091 deps = [
3092 ":protos_perfetto_config_inode_file_protos",
3093 ],
3094)
3095
Sami Kyostiladd1cfd72020-12-14 15:48:25 +00003096# GN target: //protos/perfetto/config/interceptors:cpp
3097perfetto_cc_protocpp_library(
3098 name = "protos_perfetto_config_interceptors_cpp",
3099 deps = [
Sami Kyostiladd1cfd72020-12-14 15:48:25 +00003100 ":protos_perfetto_common_cpp",
Primiano Tucci34bc5592021-02-19 17:53:36 +01003101 ":protos_perfetto_config_interceptors_protos",
Sami Kyostiladd1cfd72020-12-14 15:48:25 +00003102 ],
3103)
3104
Lalit Maganti79d70fe2022-02-15 18:31:09 +00003105# GN target: //protos/perfetto/config/interceptors:source_set
Sami Kyostiladd1cfd72020-12-14 15:48:25 +00003106perfetto_proto_library(
3107 name = "protos_perfetto_config_interceptors_protos",
3108 srcs = [
3109 "protos/perfetto/config/interceptors/console_config.proto",
3110 ],
3111 visibility = [
3112 PERFETTO_CONFIG.proto_library_visibility,
3113 ],
3114 deps = [
3115 ":protos_perfetto_common_protos",
3116 ],
3117)
3118
3119# GN target: //protos/perfetto/config/interceptors:zero
3120perfetto_cc_protozero_library(
3121 name = "protos_perfetto_config_interceptors_zero",
3122 deps = [
Lalit Maganti25b59732021-04-20 16:18:32 +01003123 ":protos_perfetto_common_zero",
Sami Kyostiladd1cfd72020-12-14 15:48:25 +00003124 ":protos_perfetto_config_interceptors_protos",
3125 ],
3126)
3127
Primiano Tucci57dd66b2019-10-15 23:09:04 +01003128# GN target: //protos/perfetto/config/power:cpp
3129perfetto_cc_protocpp_library(
3130 name = "protos_perfetto_config_power_cpp",
3131 deps = [
Primiano Tucci57dd66b2019-10-15 23:09:04 +01003132 ":protos_perfetto_config_power_protos",
3133 ],
3134)
3135
Lalit Maganti79d70fe2022-02-15 18:31:09 +00003136# GN target: //protos/perfetto/config/power:source_set
Primiano Tucci1d409982019-09-19 10:15:18 +01003137perfetto_proto_library(
3138 name = "protos_perfetto_config_power_protos",
3139 srcs = [
3140 "protos/perfetto/config/power/android_power_config.proto",
3141 ],
Primiano Tuccie88d9392019-11-19 17:42:41 +00003142 visibility = [
3143 PERFETTO_CONFIG.proto_library_visibility,
3144 ],
Primiano Tucci1d409982019-09-19 10:15:18 +01003145)
3146
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003147# GN target: //protos/perfetto/config/power:zero
3148perfetto_cc_protozero_library(
3149 name = "protos_perfetto_config_power_zero",
Primiano Tucci1d409982019-09-19 10:15:18 +01003150 deps = [
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003151 ":protos_perfetto_config_power_protos",
Primiano Tucci1d409982019-09-19 10:15:18 +01003152 ],
3153)
3154
Primiano Tucci57dd66b2019-10-15 23:09:04 +01003155# GN target: //protos/perfetto/config/process_stats:cpp
3156perfetto_cc_protocpp_library(
3157 name = "protos_perfetto_config_process_stats_cpp",
3158 deps = [
Primiano Tucci57dd66b2019-10-15 23:09:04 +01003159 ":protos_perfetto_config_process_stats_protos",
3160 ],
3161)
3162
Lalit Maganti79d70fe2022-02-15 18:31:09 +00003163# GN target: //protos/perfetto/config/process_stats:source_set
Primiano Tucci1d409982019-09-19 10:15:18 +01003164perfetto_proto_library(
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003165 name = "protos_perfetto_config_process_stats_protos",
Primiano Tucci1d409982019-09-19 10:15:18 +01003166 srcs = [
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003167 "protos/perfetto/config/process_stats/process_stats_config.proto",
3168 ],
Primiano Tuccie88d9392019-11-19 17:42:41 +00003169 visibility = [
3170 PERFETTO_CONFIG.proto_library_visibility,
3171 ],
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003172)
3173
3174# GN target: //protos/perfetto/config/process_stats:zero
3175perfetto_cc_protozero_library(
3176 name = "protos_perfetto_config_process_stats_zero",
3177 deps = [
3178 ":protos_perfetto_config_process_stats_protos",
3179 ],
3180)
3181
Primiano Tucci57dd66b2019-10-15 23:09:04 +01003182# GN target: //protos/perfetto/config/profiling:cpp
3183perfetto_cc_protocpp_library(
3184 name = "protos_perfetto_config_profiling_cpp",
3185 deps = [
Ryan Savitski9ad60aa2021-03-09 16:36:24 +00003186 ":protos_perfetto_common_cpp",
Primiano Tucci57dd66b2019-10-15 23:09:04 +01003187 ":protos_perfetto_config_profiling_protos",
3188 ],
3189)
3190
Lalit Maganti79d70fe2022-02-15 18:31:09 +00003191# GN target: //protos/perfetto/config/profiling:source_set
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003192perfetto_proto_library(
3193 name = "protos_perfetto_config_profiling_protos",
3194 srcs = [
3195 "protos/perfetto/config/profiling/heapprofd_config.proto",
3196 "protos/perfetto/config/profiling/java_hprof_config.proto",
Ryan Savitski09ff3b22019-11-20 15:20:16 +00003197 "protos/perfetto/config/profiling/perf_event_config.proto",
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003198 ],
Primiano Tuccie88d9392019-11-19 17:42:41 +00003199 visibility = [
3200 PERFETTO_CONFIG.proto_library_visibility,
3201 ],
Ryan Savitski9ad60aa2021-03-09 16:36:24 +00003202 deps = [
3203 ":protos_perfetto_common_protos",
3204 ],
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003205)
3206
3207# GN target: //protos/perfetto/config/profiling:zero
3208perfetto_cc_protozero_library(
3209 name = "protos_perfetto_config_profiling_zero",
3210 deps = [
Lalit Maganti25b59732021-04-20 16:18:32 +01003211 ":protos_perfetto_common_zero",
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003212 ":protos_perfetto_config_profiling_protos",
3213 ],
3214)
3215
Lalit Maganti79d70fe2022-02-15 18:31:09 +00003216# GN target: //protos/perfetto/config:source_set
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003217perfetto_proto_library(
3218 name = "protos_perfetto_config_protos",
3219 srcs = [
3220 "protos/perfetto/config/chrome/chrome_config.proto",
3221 "protos/perfetto/config/data_source_config.proto",
Sami Kyostila927cd762020-12-01 17:09:14 +00003222 "protos/perfetto/config/interceptor_config.proto",
Primiano Tucciff68cac2020-08-06 18:13:17 +02003223 "protos/perfetto/config/stress_test_config.proto",
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003224 "protos/perfetto/config/test_config.proto",
3225 "protos/perfetto/config/trace_config.proto",
Primiano Tucci1d409982019-09-19 10:15:18 +01003226 ],
Lalit Maganti8d6d7c12022-02-24 20:35:23 +00003227 visibility = [
3228 PERFETTO_CONFIG.proto_library_visibility,
3229 ],
Primiano Tucci1d409982019-09-19 10:15:18 +01003230 deps = [
3231 ":protos_perfetto_common_protos",
3232 ":protos_perfetto_config_android_protos",
3233 ":protos_perfetto_config_ftrace_protos",
3234 ":protos_perfetto_config_gpu_protos",
3235 ":protos_perfetto_config_inode_file_protos",
Sami Kyostiladd1cfd72020-12-14 15:48:25 +00003236 ":protos_perfetto_config_interceptors_protos",
Primiano Tucci1d409982019-09-19 10:15:18 +01003237 ":protos_perfetto_config_power_protos",
3238 ":protos_perfetto_config_process_stats_protos",
3239 ":protos_perfetto_config_profiling_protos",
Hector Dearman5974de02022-06-23 15:31:40 +01003240 ":protos_perfetto_config_statsd_protos",
Primiano Tucci1d409982019-09-19 10:15:18 +01003241 ":protos_perfetto_config_sys_stats_protos",
Hector Dearman48047d12022-08-02 14:00:46 +01003242 ":protos_perfetto_config_system_info_protos",
Sami Kyostila38cd0412020-02-12 17:09:52 +00003243 ":protos_perfetto_config_track_event_protos",
Primiano Tucci1d409982019-09-19 10:15:18 +01003244 ],
3245)
3246
Hector Dearman5974de02022-06-23 15:31:40 +01003247# GN target: //protos/perfetto/config/statsd:cpp
3248perfetto_cc_protocpp_library(
3249 name = "protos_perfetto_config_statsd_cpp",
3250 deps = [
3251 ":protos_perfetto_config_statsd_protos",
3252 ],
3253)
3254
3255# GN target: //protos/perfetto/config/statsd:source_set
3256perfetto_proto_library(
3257 name = "protos_perfetto_config_statsd_protos",
3258 srcs = [
3259 "protos/perfetto/config/statsd/atom_ids.proto",
3260 "protos/perfetto/config/statsd/statsd_tracing_config.proto",
3261 ],
3262 visibility = [
3263 PERFETTO_CONFIG.proto_library_visibility,
3264 ],
3265)
3266
3267# GN target: //protos/perfetto/config/statsd:zero
3268perfetto_cc_protozero_library(
3269 name = "protos_perfetto_config_statsd_zero",
3270 deps = [
3271 ":protos_perfetto_config_statsd_protos",
3272 ],
3273)
3274
Primiano Tucci57dd66b2019-10-15 23:09:04 +01003275# GN target: //protos/perfetto/config/sys_stats:cpp
3276perfetto_cc_protocpp_library(
3277 name = "protos_perfetto_config_sys_stats_cpp",
3278 deps = [
Primiano Tucci57dd66b2019-10-15 23:09:04 +01003279 ":protos_perfetto_common_cpp",
Primiano Tucci34bc5592021-02-19 17:53:36 +01003280 ":protos_perfetto_config_sys_stats_protos",
Primiano Tucci57dd66b2019-10-15 23:09:04 +01003281 ],
3282)
3283
Lalit Maganti79d70fe2022-02-15 18:31:09 +00003284# GN target: //protos/perfetto/config/sys_stats:source_set
Primiano Tucci1d409982019-09-19 10:15:18 +01003285perfetto_proto_library(
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003286 name = "protos_perfetto_config_sys_stats_protos",
Primiano Tucci1d409982019-09-19 10:15:18 +01003287 srcs = [
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003288 "protos/perfetto/config/sys_stats/sys_stats_config.proto",
Primiano Tucci1d409982019-09-19 10:15:18 +01003289 ],
Primiano Tuccie88d9392019-11-19 17:42:41 +00003290 visibility = [
3291 PERFETTO_CONFIG.proto_library_visibility,
3292 ],
Primiano Tucci1d409982019-09-19 10:15:18 +01003293 deps = [
3294 ":protos_perfetto_common_protos",
3295 ],
3296)
3297
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003298# GN target: //protos/perfetto/config/sys_stats:zero
3299perfetto_cc_protozero_library(
3300 name = "protos_perfetto_config_sys_stats_zero",
3301 deps = [
Lalit Maganti25b59732021-04-20 16:18:32 +01003302 ":protos_perfetto_common_zero",
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003303 ":protos_perfetto_config_sys_stats_protos",
3304 ],
3305)
3306
Hector Dearman48047d12022-08-02 14:00:46 +01003307# GN target: //protos/perfetto/config/system_info:cpp
3308perfetto_cc_protocpp_library(
3309 name = "protos_perfetto_config_system_info_cpp",
3310 deps = [
3311 ":protos_perfetto_common_cpp",
3312 ":protos_perfetto_config_system_info_protos",
3313 ],
3314)
3315
3316# GN target: //protos/perfetto/config/system_info:source_set
3317perfetto_proto_library(
3318 name = "protos_perfetto_config_system_info_protos",
3319 srcs = [
3320 "protos/perfetto/config/system_info/system_info.proto",
3321 ],
3322 visibility = [
3323 PERFETTO_CONFIG.proto_library_visibility,
3324 ],
3325 deps = [
3326 ":protos_perfetto_common_protos",
3327 ],
3328)
3329
3330# GN target: //protos/perfetto/config/system_info:zero
3331perfetto_cc_protozero_library(
3332 name = "protos_perfetto_config_system_info_zero",
3333 deps = [
3334 ":protos_perfetto_common_zero",
3335 ":protos_perfetto_config_system_info_protos",
3336 ],
3337)
3338
Sami Kyostila38cd0412020-02-12 17:09:52 +00003339# GN target: //protos/perfetto/config/track_event:cpp
3340perfetto_cc_protocpp_library(
3341 name = "protos_perfetto_config_track_event_cpp",
3342 deps = [
3343 ":protos_perfetto_config_track_event_protos",
3344 ],
3345)
3346
Lalit Maganti79d70fe2022-02-15 18:31:09 +00003347# GN target: //protos/perfetto/config/track_event:source_set
Sami Kyostila38cd0412020-02-12 17:09:52 +00003348perfetto_proto_library(
3349 name = "protos_perfetto_config_track_event_protos",
3350 srcs = [
3351 "protos/perfetto/config/track_event/track_event_config.proto",
3352 ],
3353 visibility = [
3354 PERFETTO_CONFIG.proto_library_visibility,
3355 ],
3356)
3357
3358# GN target: //protos/perfetto/config/track_event:zero
3359perfetto_cc_protozero_library(
3360 name = "protos_perfetto_config_track_event_zero",
3361 deps = [
3362 ":protos_perfetto_config_track_event_protos",
3363 ],
3364)
3365
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003366# GN target: //protos/perfetto/config:zero
3367perfetto_cc_protozero_library(
3368 name = "protos_perfetto_config_zero",
3369 deps = [
Lalit Maganti25b59732021-04-20 16:18:32 +01003370 ":protos_perfetto_common_zero",
3371 ":protos_perfetto_config_android_zero",
3372 ":protos_perfetto_config_ftrace_zero",
3373 ":protos_perfetto_config_gpu_zero",
3374 ":protos_perfetto_config_inode_file_zero",
3375 ":protos_perfetto_config_interceptors_zero",
3376 ":protos_perfetto_config_power_zero",
3377 ":protos_perfetto_config_process_stats_zero",
3378 ":protos_perfetto_config_profiling_zero",
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003379 ":protos_perfetto_config_protos",
Hector Dearman5974de02022-06-23 15:31:40 +01003380 ":protos_perfetto_config_statsd_zero",
Lalit Maganti25b59732021-04-20 16:18:32 +01003381 ":protos_perfetto_config_sys_stats_zero",
Hector Dearman48047d12022-08-02 14:00:46 +01003382 ":protos_perfetto_config_system_info_zero",
Lalit Maganti25b59732021-04-20 16:18:32 +01003383 ":protos_perfetto_config_track_event_zero",
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003384 ],
3385)
3386
Primiano Tuccie8020f92019-11-26 13:24:01 +00003387# GN target: //protos/perfetto/ipc:cpp
3388perfetto_cc_protocpp_library(
3389 name = "protos_perfetto_ipc_cpp",
3390 deps = [
Primiano Tuccie8020f92019-11-26 13:24:01 +00003391 ":protos_perfetto_common_cpp",
Primiano Tucci34bc5592021-02-19 17:53:36 +01003392 ":protos_perfetto_config_android_cpp",
3393 ":protos_perfetto_config_cpp",
3394 ":protos_perfetto_config_ftrace_cpp",
3395 ":protos_perfetto_config_gpu_cpp",
3396 ":protos_perfetto_config_inode_file_cpp",
3397 ":protos_perfetto_config_interceptors_cpp",
3398 ":protos_perfetto_config_power_cpp",
3399 ":protos_perfetto_config_process_stats_cpp",
3400 ":protos_perfetto_config_profiling_cpp",
Hector Dearman5974de02022-06-23 15:31:40 +01003401 ":protos_perfetto_config_statsd_cpp",
Primiano Tuccie8020f92019-11-26 13:24:01 +00003402 ":protos_perfetto_config_sys_stats_cpp",
Hector Dearman48047d12022-08-02 14:00:46 +01003403 ":protos_perfetto_config_system_info_cpp",
Primiano Tucci34bc5592021-02-19 17:53:36 +01003404 ":protos_perfetto_config_track_event_cpp",
3405 ":protos_perfetto_ipc_protos",
Primiano Tuccie8020f92019-11-26 13:24:01 +00003406 ],
3407)
3408
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003409# GN target: //protos/perfetto/ipc:ipc
3410perfetto_cc_ipc_library(
3411 name = "protos_perfetto_ipc_ipc",
3412 deps = [
Sami Kyostila38cd0412020-02-12 17:09:52 +00003413 ":protos_perfetto_common_cpp",
Primiano Tucci34bc5592021-02-19 17:53:36 +01003414 ":protos_perfetto_config_android_cpp",
Primiano Tuccie8020f92019-11-26 13:24:01 +00003415 ":protos_perfetto_config_cpp",
Primiano Tucci34bc5592021-02-19 17:53:36 +01003416 ":protos_perfetto_config_ftrace_cpp",
3417 ":protos_perfetto_config_gpu_cpp",
3418 ":protos_perfetto_config_inode_file_cpp",
3419 ":protos_perfetto_config_interceptors_cpp",
Primiano Tuccie8020f92019-11-26 13:24:01 +00003420 ":protos_perfetto_config_power_cpp",
Primiano Tucci34bc5592021-02-19 17:53:36 +01003421 ":protos_perfetto_config_process_stats_cpp",
3422 ":protos_perfetto_config_profiling_cpp",
Hector Dearman5974de02022-06-23 15:31:40 +01003423 ":protos_perfetto_config_statsd_cpp",
Primiano Tuccie8020f92019-11-26 13:24:01 +00003424 ":protos_perfetto_config_sys_stats_cpp",
Hector Dearman48047d12022-08-02 14:00:46 +01003425 ":protos_perfetto_config_system_info_cpp",
Primiano Tucci34bc5592021-02-19 17:53:36 +01003426 ":protos_perfetto_config_track_event_cpp",
3427 ":protos_perfetto_ipc_cpp",
3428 ":protos_perfetto_ipc_protos",
Primiano Tucci1d409982019-09-19 10:15:18 +01003429 ],
3430)
3431
Lalit Maganti79d70fe2022-02-15 18:31:09 +00003432# GN target: //protos/perfetto/ipc:source_set
Primiano Tucci1d409982019-09-19 10:15:18 +01003433perfetto_proto_library(
Primiano Tuccif0d63af2019-11-19 17:07:37 +00003434 name = "protos_perfetto_ipc_protos",
Primiano Tucci1d409982019-09-19 10:15:18 +01003435 srcs = [
3436 "protos/perfetto/ipc/consumer_port.proto",
3437 "protos/perfetto/ipc/producer_port.proto",
3438 ],
Primiano Tuccie88d9392019-11-19 17:42:41 +00003439 visibility = [
3440 PERFETTO_CONFIG.proto_library_visibility,
3441 ],
Primiano Tucci1d409982019-09-19 10:15:18 +01003442 deps = [
3443 ":protos_perfetto_common_protos",
3444 ":protos_perfetto_config_android_protos",
3445 ":protos_perfetto_config_ftrace_protos",
3446 ":protos_perfetto_config_gpu_protos",
3447 ":protos_perfetto_config_inode_file_protos",
Sami Kyostiladd1cfd72020-12-14 15:48:25 +00003448 ":protos_perfetto_config_interceptors_protos",
Primiano Tucci1d409982019-09-19 10:15:18 +01003449 ":protos_perfetto_config_power_protos",
3450 ":protos_perfetto_config_process_stats_protos",
3451 ":protos_perfetto_config_profiling_protos",
3452 ":protos_perfetto_config_protos",
Hector Dearman5974de02022-06-23 15:31:40 +01003453 ":protos_perfetto_config_statsd_protos",
Primiano Tucci1d409982019-09-19 10:15:18 +01003454 ":protos_perfetto_config_sys_stats_protos",
Hector Dearman48047d12022-08-02 14:00:46 +01003455 ":protos_perfetto_config_system_info_protos",
Sami Kyostila38cd0412020-02-12 17:09:52 +00003456 ":protos_perfetto_config_track_event_protos",
Primiano Tucci1d409982019-09-19 10:15:18 +01003457 ],
3458)
3459
Primiano Tuccib3e08d02019-11-19 11:10:11 +00003460# GN target: //protos/perfetto/ipc:wire_protocol_cpp
3461perfetto_cc_protocpp_library(
3462 name = "protos_perfetto_ipc_wire_protocol_cpp",
3463 deps = [
3464 ":protos_perfetto_ipc_wire_protocol_protos",
Primiano Tuccib3e08d02019-11-19 11:10:11 +00003465 ],
3466)
3467
Lalit Maganti79d70fe2022-02-15 18:31:09 +00003468# GN target: //protos/perfetto/ipc:wire_protocol_source_set
Primiano Tucci1d409982019-09-19 10:15:18 +01003469perfetto_proto_library(
3470 name = "protos_perfetto_ipc_wire_protocol_protos",
3471 srcs = [
3472 "protos/perfetto/ipc/wire_protocol.proto",
3473 ],
Primiano Tuccie88d9392019-11-19 17:42:41 +00003474 visibility = [
3475 PERFETTO_CONFIG.proto_library_visibility,
3476 ],
Primiano Tucci1d409982019-09-19 10:15:18 +01003477)
3478
Lalit Maganti64cd1f62020-09-14 17:44:52 +01003479# GN target: //protos/perfetto/metrics/android:source_set
Primiano Tucci1d409982019-09-19 10:15:18 +01003480perfetto_proto_library(
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003481 name = "protos_perfetto_metrics_android_protos",
Primiano Tucci1d409982019-09-19 10:15:18 +01003482 srcs = [
Shihhsun Ho7edcbe62022-05-09 13:55:52 +08003483 "protos/perfetto/metrics/android/android_frame_timeline_metric.proto",
David LeGare20d39c42022-01-20 20:38:43 +00003484 "protos/perfetto/metrics/android/android_trusty_workqueues.proto",
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003485 "protos/perfetto/metrics/android/batt_metric.proto",
Jon Spivackb0974a72022-04-27 16:07:10 -07003486 "protos/perfetto/metrics/android/binder_metric.proto",
Lalit Maganti262252a2021-10-15 12:17:53 +01003487 "protos/perfetto/metrics/android/camera_metric.proto",
Lalit Magantic16c7212021-12-16 17:32:55 +00003488 "protos/perfetto/metrics/android/camera_unagg_metric.proto",
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003489 "protos/perfetto/metrics/android/cpu_metric.proto",
Edgar Arriaga32975d22020-03-03 10:31:44 -08003490 "protos/perfetto/metrics/android/display_metrics.proto",
Hridya Valsarajucd4887a2021-03-16 14:49:22 -07003491 "protos/perfetto/metrics/android/dma_heap_metric.proto",
Luke Chang476e9442021-11-09 23:14:34 +08003492 "protos/perfetto/metrics/android/dvfs_metric.proto",
Collin Fijalkovichb2acc472021-02-24 12:27:18 -08003493 "protos/perfetto/metrics/android/fastrpc_metric.proto",
Wiwit Rifa'i9124a1e2021-02-22 17:41:47 +08003494 "protos/perfetto/metrics/android/g2d_metric.proto",
Yiwei Zhang617d3f62020-09-07 15:57:38 -07003495 "protos/perfetto/metrics/android/gpu_metric.proto",
Midas Chien9b804b12020-12-12 00:46:58 +08003496 "protos/perfetto/metrics/android/hwcomposer.proto",
Stan Iliev1d531822020-01-17 11:12:18 -05003497 "protos/perfetto/metrics/android/hwui_metric.proto",
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003498 "protos/perfetto/metrics/android/ion_metric.proto",
Shihhsun Ho2305a1d2022-01-13 19:58:02 +08003499 "protos/perfetto/metrics/android/irq_runtime_metric.proto",
Marcin Oczeretko7bde3642022-07-14 17:26:02 +01003500 "protos/perfetto/metrics/android/jank_cuj_metric.proto",
Ioannis Ilkosf6b6aae2020-02-25 12:14:54 +00003501 "protos/perfetto/metrics/android/java_heap_histogram.proto",
Ioannis Ilkos2c832dc2019-11-08 11:35:03 +00003502 "protos/perfetto/metrics/android/java_heap_stats.proto",
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003503 "protos/perfetto/metrics/android/lmk_metric.proto",
Rafal Slawik88ffa442019-11-27 14:42:06 +00003504 "protos/perfetto/metrics/android/lmk_reason_metric.proto",
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003505 "protos/perfetto/metrics/android/mem_metric.proto",
3506 "protos/perfetto/metrics/android/mem_unagg_metric.proto",
Adam Bookatzd5aa7632021-08-25 16:13:44 -07003507 "protos/perfetto/metrics/android/multiuser_metric.proto",
Luke Change25d2c42021-12-07 16:08:32 +08003508 "protos/perfetto/metrics/android/network_metric.proto",
Daniele Di Proietto0767bff2022-04-05 11:07:15 +01003509 "protos/perfetto/metrics/android/other_traces.proto",
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003510 "protos/perfetto/metrics/android/package_list.proto",
3511 "protos/perfetto/metrics/android/powrails_metric.proto",
Ioannis Ilkoscfcd7f82019-11-19 14:43:24 +00003512 "protos/perfetto/metrics/android/process_metadata.proto",
Ioannis Ilkose7a7f4c2021-07-05 16:27:58 +01003513 "protos/perfetto/metrics/android/profiler_smaps.proto",
Shihhsun Ho9cc8d502022-01-03 13:21:23 +08003514 "protos/perfetto/metrics/android/rt_runtime_metric.proto",
Wiwit Rifa'ia944ed62021-09-29 15:11:18 +08003515 "protos/perfetto/metrics/android/simpleperf.proto",
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003516 "protos/perfetto/metrics/android/startup_metric.proto",
Lalit Maganti5fb5b4c2020-06-10 13:06:41 +01003517 "protos/perfetto/metrics/android/surfaceflinger.proto",
Ioannis Ilkos07270452020-03-06 17:50:17 +00003518 "protos/perfetto/metrics/android/task_names.proto",
Rafal Slawik7eaddac2020-04-21 17:35:05 +01003519 "protos/perfetto/metrics/android/thread_time_in_state_metric.proto",
Lalit Maganti98002fb2021-06-18 20:31:15 +01003520 "protos/perfetto/metrics/android/trace_quality.proto",
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003521 "protos/perfetto/metrics/android/unsymbolized_frames.proto",
Primiano Tucci1d409982019-09-19 10:15:18 +01003522 ],
Lalit Maganti7d37c752022-03-08 15:41:00 +00003523 visibility = [
3524 PERFETTO_CONFIG.proto_library_visibility,
3525 ],
Primiano Tucci1d409982019-09-19 10:15:18 +01003526)
3527
Lalit Maganti3b09a3f2020-09-14 13:28:44 +01003528# GN target: //protos/perfetto/metrics/chrome:descriptor
3529perfetto_proto_descriptor(
3530 name = "protos_perfetto_metrics_chrome_descriptor",
3531 deps = [
Lalit Maganti64cd1f62020-09-14 17:44:52 +01003532 ":protos_perfetto_metrics_chrome_protos",
Lalit Maganti3b09a3f2020-09-14 13:28:44 +01003533 ],
3534 outs = [
3535 "protos_perfetto_metrics_chrome_descriptor.bin",
3536 ],
3537)
3538
Lalit Maganti3b09a3f2020-09-14 13:28:44 +01003539# GN target: //protos/perfetto/metrics/chrome:source_set
3540perfetto_proto_library(
Lalit Maganti64cd1f62020-09-14 17:44:52 +01003541 name = "protos_perfetto_metrics_chrome_protos",
Lalit Maganti3b09a3f2020-09-14 13:28:44 +01003542 srcs = [
3543 "protos/perfetto/metrics/chrome/all_chrome_metrics.proto",
Violetta Fedotovaae0f6142022-11-22 12:14:17 +00003544 "protos/perfetto/metrics/chrome/args_class_names.proto",
Stephen Nuskof848d462021-04-06 13:28:04 +01003545 "protos/perfetto/metrics/chrome/blink_gc_metric.proto",
Mingjing Zhang309a1c02021-11-04 22:41:40 -04003546 "protos/perfetto/metrics/chrome/dropped_frames.proto",
Mikhail Khokhlovc74a9452021-01-28 17:23:05 +00003547 "protos/perfetto/metrics/chrome/frame_times.proto",
Igor Kraskevich95d635f2022-03-24 16:03:57 +00003548 "protos/perfetto/metrics/chrome/histogram_hashes.proto",
Mingjing Zhang2a32f6b2022-03-22 16:13:21 -04003549 "protos/perfetto/metrics/chrome/long_latency.proto",
Eric Seckler3955ba52021-04-07 12:12:43 +01003550 "protos/perfetto/metrics/chrome/media_metric.proto",
Igor Kraskevichf7cf8182022-04-04 11:41:28 +00003551 "protos/perfetto/metrics/chrome/performance_mark_hashes.proto",
Sami Kyostila7a51fc22021-02-10 18:07:53 +00003552 "protos/perfetto/metrics/chrome/reported_by_page.proto",
Stephen Nuskoefa22bd2021-03-29 17:38:22 +01003553 "protos/perfetto/metrics/chrome/scroll_jank.proto",
Igor Kraskevich1888cff2022-04-07 11:07:37 +00003554 "protos/perfetto/metrics/chrome/slice_names.proto",
Lalit Maganti3b09a3f2020-09-14 13:28:44 +01003555 "protos/perfetto/metrics/chrome/test_chrome_metric.proto",
Dan Elphick08baa102021-09-02 16:06:44 +01003556 "protos/perfetto/metrics/chrome/touch_jank.proto",
Igor Kraskevich92c7c5a2022-06-23 16:24:17 +00003557 "protos/perfetto/metrics/chrome/unsymbolized_args.proto",
Igor Kraskevich32214832022-03-25 13:12:53 +00003558 "protos/perfetto/metrics/chrome/user_event_hashes.proto",
Lalit Maganti3b09a3f2020-09-14 13:28:44 +01003559 ],
3560 visibility = [
3561 PERFETTO_CONFIG.proto_library_visibility,
3562 ],
3563 deps = [
Lalit Maganti64cd1f62020-09-14 17:44:52 +01003564 ":protos_perfetto_metrics_android_protos",
3565 ":protos_perfetto_metrics_custom_options_protos",
3566 ":protos_perfetto_metrics_protos",
Lalit Maganti3b09a3f2020-09-14 13:28:44 +01003567 ] + PERFETTO_CONFIG.deps.protobuf_descriptor_proto,
3568)
3569
3570# GN target: //protos/perfetto/metrics:custom_options_source_set
3571perfetto_proto_library(
Lalit Maganti64cd1f62020-09-14 17:44:52 +01003572 name = "protos_perfetto_metrics_custom_options_protos",
Lalit Maganti3b09a3f2020-09-14 13:28:44 +01003573 srcs = [
3574 "protos/perfetto/metrics/custom_options.proto",
3575 ],
3576 visibility = [
3577 PERFETTO_CONFIG.proto_library_visibility,
3578 ],
3579 deps = [
3580 ] + PERFETTO_CONFIG.deps.protobuf_descriptor_proto,
3581)
3582
Lalit Maganti117272f2020-09-11 14:01:18 +01003583# GN target: //protos/perfetto/metrics:descriptor
3584perfetto_proto_descriptor(
3585 name = "protos_perfetto_metrics_descriptor",
3586 deps = [
Lalit Maganti64cd1f62020-09-14 17:44:52 +01003587 ":protos_perfetto_metrics_protos",
Lalit Maganti117272f2020-09-11 14:01:18 +01003588 ],
3589 outs = [
3590 "protos_perfetto_metrics_descriptor.bin",
3591 ],
3592)
3593
Lalit Maganti64cd1f62020-09-14 17:44:52 +01003594# GN target: //protos/perfetto/metrics:source_set
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003595perfetto_proto_library(
3596 name = "protos_perfetto_metrics_protos",
3597 srcs = [
3598 "protos/perfetto/metrics/metrics.proto",
3599 ],
Lalit Maganti7d37c752022-03-08 15:41:00 +00003600 visibility = [
3601 PERFETTO_CONFIG.proto_library_visibility,
3602 ],
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003603 deps = [
3604 ":protos_perfetto_metrics_android_protos",
3605 ],
3606)
3607
Lalit Maganti79d70fe2022-02-15 18:31:09 +00003608# GN target: //protos/perfetto/trace/android:source_set
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003609perfetto_proto_library(
3610 name = "protos_perfetto_trace_android_protos",
3611 srcs = [
Andy Yu2e3c9b62022-05-31 11:23:18 -07003612 "protos/perfetto/trace/android/android_game_intervention_list.proto",
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003613 "protos/perfetto/trace/android/android_log.proto",
Simon MacMullenf0a6b382022-07-06 16:35:55 +00003614 "protos/perfetto/trace/android/android_system_property.proto",
Michael Eastwoodeb86b892022-01-20 15:59:09 -08003615 "protos/perfetto/trace/android/camera_event.proto",
Adithya Srinivasan4bf3c0e2020-11-04 21:09:57 -08003616 "protos/perfetto/trace/android/frame_timeline_event.proto",
Yiwei Zhangc8411942020-06-25 14:41:23 -07003617 "protos/perfetto/trace/android/gpu_mem_event.proto",
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003618 "protos/perfetto/trace/android/graphics_frame_event.proto",
Simon MacMullen3d4c54a2020-04-17 16:40:53 +01003619 "protos/perfetto/trace/android/initial_display_state.proto",
Ryan Zuklie1c0a5002022-11-18 17:03:37 -08003620 "protos/perfetto/trace/android/network_trace.proto",
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003621 "protos/perfetto/trace/android/packages_list.proto",
3622 ],
Primiano Tuccie88d9392019-11-19 17:42:41 +00003623 visibility = [
3624 PERFETTO_CONFIG.proto_library_visibility,
3625 ],
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003626 deps = [
3627 ":protos_perfetto_common_protos",
3628 ],
3629)
3630
3631# GN target: //protos/perfetto/trace/android:zero
3632perfetto_cc_protozero_library(
3633 name = "protos_perfetto_trace_android_zero",
3634 deps = [
Lalit Maganti25b59732021-04-20 16:18:32 +01003635 ":protos_perfetto_common_zero",
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003636 ":protos_perfetto_trace_android_protos",
3637 ],
3638)
3639
Lalit Maganti79d70fe2022-02-15 18:31:09 +00003640# GN target: //protos/perfetto/trace/chrome:source_set
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003641perfetto_proto_library(
3642 name = "protos_perfetto_trace_chrome_protos",
3643 srcs = [
3644 "protos/perfetto/trace/chrome/chrome_benchmark_metadata.proto",
3645 "protos/perfetto/trace/chrome/chrome_metadata.proto",
3646 "protos/perfetto/trace/chrome/chrome_trace_event.proto",
3647 ],
Primiano Tuccie88d9392019-11-19 17:42:41 +00003648 visibility = [
3649 PERFETTO_CONFIG.proto_library_visibility,
3650 ],
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003651)
3652
3653# GN target: //protos/perfetto/trace/chrome:zero
3654perfetto_cc_protozero_library(
3655 name = "protos_perfetto_trace_chrome_zero",
3656 deps = [
3657 ":protos_perfetto_trace_chrome_protos",
3658 ],
3659)
3660
Lalit Maganti9c2318c2021-05-20 16:21:41 +01003661# GN target: //protos/perfetto/trace:descriptor
3662perfetto_proto_descriptor(
3663 name = "protos_perfetto_trace_descriptor",
3664 deps = [
Lalit Maganti79d70fe2022-02-15 18:31:09 +00003665 ":protos_perfetto_trace_non_minimal_protos",
Lalit Maganti9c2318c2021-05-20 16:21:41 +01003666 ],
3667 outs = [
3668 "protos_perfetto_trace_descriptor.bin",
3669 ],
3670)
3671
Lalit Maganti79d70fe2022-02-15 18:31:09 +00003672# GN target: //protos/perfetto/trace/filesystem:source_set
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003673perfetto_proto_library(
3674 name = "protos_perfetto_trace_filesystem_protos",
3675 srcs = [
3676 "protos/perfetto/trace/filesystem/inode_file_map.proto",
3677 ],
Primiano Tuccie88d9392019-11-19 17:42:41 +00003678 visibility = [
3679 PERFETTO_CONFIG.proto_library_visibility,
3680 ],
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003681)
3682
3683# GN target: //protos/perfetto/trace/filesystem:zero
3684perfetto_cc_protozero_library(
3685 name = "protos_perfetto_trace_filesystem_zero",
3686 deps = [
3687 ":protos_perfetto_trace_filesystem_protos",
Primiano Tucci1d409982019-09-19 10:15:18 +01003688 ],
3689)
3690
Lalit Maganti79d70fe2022-02-15 18:31:09 +00003691# GN target: //protos/perfetto/trace/ftrace:source_set
Primiano Tucci1d409982019-09-19 10:15:18 +01003692perfetto_proto_library(
3693 name = "protos_perfetto_trace_ftrace_protos",
3694 srcs = [
Rahul Dandamudic8169462022-09-11 13:36:37 -04003695 "protos/perfetto/trace/ftrace/android_fs.proto",
Primiano Tucci1d409982019-09-19 10:15:18 +01003696 "protos/perfetto/trace/ftrace/binder.proto",
3697 "protos/perfetto/trace/ftrace/block.proto",
3698 "protos/perfetto/trace/ftrace/cgroup.proto",
3699 "protos/perfetto/trace/ftrace/clk.proto",
Martin Liu2a4a27f2022-11-11 15:47:47 +08003700 "protos/perfetto/trace/ftrace/cma.proto",
Primiano Tucci1d409982019-09-19 10:15:18 +01003701 "protos/perfetto/trace/ftrace/compaction.proto",
Hector Dearman30fa3982020-08-11 17:09:40 +01003702 "protos/perfetto/trace/ftrace/cpuhp.proto",
Harvey Yangcb9754b2022-02-09 18:13:06 +08003703 "protos/perfetto/trace/ftrace/cros_ec.proto",
Chia-I Wu56619782022-03-28 16:02:01 -07003704 "protos/perfetto/trace/ftrace/dma_fence.proto",
Hridya Valsaraju1c79edc2021-03-16 13:53:19 -07003705 "protos/perfetto/trace/ftrace/dmabuf_heap.proto",
Hector Dearman66f52002020-10-29 11:28:02 +00003706 "protos/perfetto/trace/ftrace/dpu.proto",
Chia-I Wu56619782022-03-28 16:02:01 -07003707 "protos/perfetto/trace/ftrace/drm.proto",
Primiano Tucci1d409982019-09-19 10:15:18 +01003708 "protos/perfetto/trace/ftrace/ext4.proto",
3709 "protos/perfetto/trace/ftrace/f2fs.proto",
Hector Dearmana90ad9e2020-10-14 11:21:39 +01003710 "protos/perfetto/trace/ftrace/fastrpc.proto",
Primiano Tucci1d409982019-09-19 10:15:18 +01003711 "protos/perfetto/trace/ftrace/fence.proto",
3712 "protos/perfetto/trace/ftrace/filemap.proto",
3713 "protos/perfetto/trace/ftrace/ftrace.proto",
3714 "protos/perfetto/trace/ftrace/ftrace_event.proto",
3715 "protos/perfetto/trace/ftrace/ftrace_event_bundle.proto",
3716 "protos/perfetto/trace/ftrace/ftrace_stats.proto",
Hector Dearman66f52002020-10-29 11:28:02 +00003717 "protos/perfetto/trace/ftrace/g2d.proto",
Primiano Tucci1d409982019-09-19 10:15:18 +01003718 "protos/perfetto/trace/ftrace/generic.proto",
Adithya Srinivasanc615dec2020-06-24 14:50:06 -07003719 "protos/perfetto/trace/ftrace/gpu_mem.proto",
Chia-I Wu56619782022-03-28 16:02:01 -07003720 "protos/perfetto/trace/ftrace/gpu_scheduler.proto",
Primiano Tucci1d409982019-09-19 10:15:18 +01003721 "protos/perfetto/trace/ftrace/i2c.proto",
Ioannis Ilkose5ddb4a2020-04-22 09:45:19 +01003722 "protos/perfetto/trace/ftrace/ion.proto",
Primiano Tucci1d409982019-09-19 10:15:18 +01003723 "protos/perfetto/trace/ftrace/ipi.proto",
3724 "protos/perfetto/trace/ftrace/irq.proto",
3725 "protos/perfetto/trace/ftrace/kmem.proto",
Primiano Tuccif954f862022-03-04 13:58:18 +00003726 "protos/perfetto/trace/ftrace/kvm.proto",
Primiano Tucci1d409982019-09-19 10:15:18 +01003727 "protos/perfetto/trace/ftrace/lowmemorykiller.proto",
Nick Chung8f4dd962022-12-14 12:08:07 +00003728 "protos/perfetto/trace/ftrace/lwis.proto",
Lalit Magantid5debd42021-02-25 15:56:16 +00003729 "protos/perfetto/trace/ftrace/mali.proto",
Primiano Tucci1d409982019-09-19 10:15:18 +01003730 "protos/perfetto/trace/ftrace/mdss.proto",
3731 "protos/perfetto/trace/ftrace/mm_event.proto",
Luke Chang496f94a2021-12-03 17:13:00 +08003732 "protos/perfetto/trace/ftrace/net.proto",
Primiano Tucci1d409982019-09-19 10:15:18 +01003733 "protos/perfetto/trace/ftrace/oom.proto",
Jeremy DeHaan57d8b862022-09-02 22:08:43 +00003734 "protos/perfetto/trace/ftrace/panel.proto",
Primiano Tucci1d409982019-09-19 10:15:18 +01003735 "protos/perfetto/trace/ftrace/power.proto",
Hector Dearmanae5a60e2022-03-30 19:30:43 +01003736 "protos/perfetto/trace/ftrace/printk.proto",
Primiano Tucci1d409982019-09-19 10:15:18 +01003737 "protos/perfetto/trace/ftrace/raw_syscalls.proto",
3738 "protos/perfetto/trace/ftrace/regulator.proto",
3739 "protos/perfetto/trace/ftrace/sched.proto",
Hector Dearman324cc4b2020-06-16 12:42:26 +01003740 "protos/perfetto/trace/ftrace/scm.proto",
Hector Dearman3cd7cd52019-12-04 16:07:16 +00003741 "protos/perfetto/trace/ftrace/sde.proto",
Primiano Tucci1d409982019-09-19 10:15:18 +01003742 "protos/perfetto/trace/ftrace/signal.proto",
Luke Changd041e6e2022-02-25 13:24:42 +08003743 "protos/perfetto/trace/ftrace/skb.proto",
Luke Chang1b904072022-01-26 09:33:19 +08003744 "protos/perfetto/trace/ftrace/sock.proto",
Primiano Tucci1d409982019-09-19 10:15:18 +01003745 "protos/perfetto/trace/ftrace/sync.proto",
Kalesh Singh84f62e42021-11-15 19:01:23 -08003746 "protos/perfetto/trace/ftrace/synthetic.proto",
Primiano Tucci1d409982019-09-19 10:15:18 +01003747 "protos/perfetto/trace/ftrace/systrace.proto",
3748 "protos/perfetto/trace/ftrace/task.proto",
Luke Chang4eb23ab2022-01-27 16:31:46 +08003749 "protos/perfetto/trace/ftrace/tcp.proto",
Primiano Tucci1d409982019-09-19 10:15:18 +01003750 "protos/perfetto/trace/ftrace/test_bundle_wrapper.proto",
Isabelle Taylor9cc87862020-07-21 16:53:32 +01003751 "protos/perfetto/trace/ftrace/thermal.proto",
Padmanabha V0e45bba2022-10-20 05:26:21 +00003752 "protos/perfetto/trace/ftrace/trusty.proto",
YH Linbce42862022-03-15 02:45:18 +08003753 "protos/perfetto/trace/ftrace/ufs.proto",
Bartłomiej Grzesik6b257532022-08-08 09:34:15 +00003754 "protos/perfetto/trace/ftrace/v4l2.proto",
Rob Clark50b20aa2022-11-29 14:24:18 -08003755 "protos/perfetto/trace/ftrace/virtio_gpu.proto",
Bartłomiej Grzesikfa4c9c92022-10-03 11:12:18 +00003756 "protos/perfetto/trace/ftrace/virtio_video.proto",
Primiano Tucci1d409982019-09-19 10:15:18 +01003757 "protos/perfetto/trace/ftrace/vmscan.proto",
3758 "protos/perfetto/trace/ftrace/workqueue.proto",
3759 ],
Primiano Tuccie88d9392019-11-19 17:42:41 +00003760 visibility = [
3761 PERFETTO_CONFIG.proto_library_visibility,
3762 ],
Primiano Tucci1d409982019-09-19 10:15:18 +01003763)
3764
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003765# GN target: //protos/perfetto/trace/ftrace:zero
3766perfetto_cc_protozero_library(
3767 name = "protos_perfetto_trace_ftrace_zero",
3768 deps = [
3769 ":protos_perfetto_trace_ftrace_protos",
Primiano Tucci1d409982019-09-19 10:15:18 +01003770 ],
3771)
3772
Lalit Maganti79d70fe2022-02-15 18:31:09 +00003773# GN target: //protos/perfetto/trace/gpu:source_set
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003774perfetto_proto_library(
3775 name = "protos_perfetto_trace_gpu_protos",
3776 srcs = [
3777 "protos/perfetto/trace/gpu/gpu_counter_event.proto",
Raymond Chiuc612b7f2019-09-18 14:53:28 -07003778 "protos/perfetto/trace/gpu/gpu_log.proto",
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003779 "protos/perfetto/trace/gpu/gpu_render_stage_event.proto",
Raymond Chiu5d526b82019-11-22 14:18:51 -08003780 "protos/perfetto/trace/gpu/vulkan_api_event.proto",
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003781 "protos/perfetto/trace/gpu/vulkan_memory_event.proto",
3782 ],
Primiano Tuccie88d9392019-11-19 17:42:41 +00003783 visibility = [
3784 PERFETTO_CONFIG.proto_library_visibility,
3785 ],
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003786 deps = [
3787 ":protos_perfetto_common_protos",
3788 ],
3789)
3790
3791# GN target: //protos/perfetto/trace/gpu:zero
3792perfetto_cc_protozero_library(
3793 name = "protos_perfetto_trace_gpu_zero",
3794 deps = [
Lalit Maganti25b59732021-04-20 16:18:32 +01003795 ":protos_perfetto_common_zero",
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003796 ":protos_perfetto_trace_gpu_protos",
3797 ],
3798)
3799
Lalit Maganti79d70fe2022-02-15 18:31:09 +00003800# GN target: //protos/perfetto/trace/interned_data:source_set
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003801perfetto_proto_library(
3802 name = "protos_perfetto_trace_interned_data_protos",
3803 srcs = [
3804 "protos/perfetto/trace/interned_data/interned_data.proto",
3805 ],
Primiano Tuccie88d9392019-11-19 17:42:41 +00003806 visibility = [
3807 PERFETTO_CONFIG.proto_library_visibility,
3808 ],
Primiano Tucci1d409982019-09-19 10:15:18 +01003809 deps = [
Raymond Chiu37532e62020-04-06 16:15:48 -07003810 ":protos_perfetto_common_protos",
3811 ":protos_perfetto_trace_gpu_protos",
Primiano Tucci1d409982019-09-19 10:15:18 +01003812 ":protos_perfetto_trace_profiling_protos",
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003813 ":protos_perfetto_trace_track_event_protos",
Primiano Tucci1d409982019-09-19 10:15:18 +01003814 ],
3815)
3816
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003817# GN target: //protos/perfetto/trace/interned_data:zero
Primiano Tucci1d409982019-09-19 10:15:18 +01003818perfetto_cc_protozero_library(
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003819 name = "protos_perfetto_trace_interned_data_zero",
Primiano Tucci1d409982019-09-19 10:15:18 +01003820 deps = [
Lalit Maganti25b59732021-04-20 16:18:32 +01003821 ":protos_perfetto_common_zero",
3822 ":protos_perfetto_trace_gpu_zero",
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003823 ":protos_perfetto_trace_interned_data_protos",
Lalit Maganti25b59732021-04-20 16:18:32 +01003824 ":protos_perfetto_trace_profiling_zero",
3825 ":protos_perfetto_trace_track_event_zero",
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003826 ],
3827)
3828
Lalit Maganti79d70fe2022-02-15 18:31:09 +00003829# GN target: //protos/perfetto/trace:minimal_source_set
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003830perfetto_proto_library(
3831 name = "protos_perfetto_trace_minimal_protos",
3832 srcs = [
3833 "protos/perfetto/trace/clock_snapshot.proto",
3834 "protos/perfetto/trace/system_info.proto",
Primiano Tucci7c327c22022-11-23 12:24:49 +00003835 "protos/perfetto/trace/trace_uuid.proto",
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003836 "protos/perfetto/trace/trigger.proto",
Primiano Tucci1d409982019-09-19 10:15:18 +01003837 ],
Primiano Tuccie88d9392019-11-19 17:42:41 +00003838 visibility = [
3839 PERFETTO_CONFIG.proto_library_visibility,
3840 ],
Primiano Tucci1d409982019-09-19 10:15:18 +01003841 deps = [
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003842 ":protos_perfetto_common_protos",
3843 ":protos_perfetto_config_android_protos",
Primiano Tucci1d409982019-09-19 10:15:18 +01003844 ":protos_perfetto_config_ftrace_protos",
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003845 ":protos_perfetto_config_gpu_protos",
Primiano Tucci1d409982019-09-19 10:15:18 +01003846 ":protos_perfetto_config_inode_file_protos",
Sami Kyostiladd1cfd72020-12-14 15:48:25 +00003847 ":protos_perfetto_config_interceptors_protos",
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003848 ":protos_perfetto_config_power_protos",
3849 ":protos_perfetto_config_process_stats_protos",
3850 ":protos_perfetto_config_profiling_protos",
3851 ":protos_perfetto_config_protos",
Hector Dearman5974de02022-06-23 15:31:40 +01003852 ":protos_perfetto_config_statsd_protos",
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003853 ":protos_perfetto_config_sys_stats_protos",
Hector Dearman48047d12022-08-02 14:00:46 +01003854 ":protos_perfetto_config_system_info_protos",
Sami Kyostila38cd0412020-02-12 17:09:52 +00003855 ":protos_perfetto_config_track_event_protos",
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003856 ],
3857)
3858
3859# GN target: //protos/perfetto/trace:minimal_zero
3860perfetto_cc_protozero_library(
3861 name = "protos_perfetto_trace_minimal_zero",
3862 deps = [
Lalit Maganti25b59732021-04-20 16:18:32 +01003863 ":protos_perfetto_common_zero",
3864 ":protos_perfetto_config_android_zero",
3865 ":protos_perfetto_config_ftrace_zero",
3866 ":protos_perfetto_config_gpu_zero",
3867 ":protos_perfetto_config_inode_file_zero",
3868 ":protos_perfetto_config_interceptors_zero",
3869 ":protos_perfetto_config_power_zero",
3870 ":protos_perfetto_config_process_stats_zero",
3871 ":protos_perfetto_config_profiling_zero",
Hector Dearman5974de02022-06-23 15:31:40 +01003872 ":protos_perfetto_config_statsd_zero",
Lalit Maganti25b59732021-04-20 16:18:32 +01003873 ":protos_perfetto_config_sys_stats_zero",
Hector Dearman48047d12022-08-02 14:00:46 +01003874 ":protos_perfetto_config_system_info_zero",
Lalit Maganti25b59732021-04-20 16:18:32 +01003875 ":protos_perfetto_config_track_event_zero",
3876 ":protos_perfetto_config_zero",
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003877 ":protos_perfetto_trace_minimal_protos",
Primiano Tucci1d409982019-09-19 10:15:18 +01003878 ],
3879)
3880
Lalit Maganti79d70fe2022-02-15 18:31:09 +00003881# GN target: //protos/perfetto/trace:non_minimal_source_set
Primiano Tucci1d409982019-09-19 10:15:18 +01003882perfetto_proto_library(
3883 name = "protos_perfetto_trace_non_minimal_protos",
3884 srcs = [
Andrew Shulaev46b12a92020-07-09 00:45:37 +01003885 "protos/perfetto/trace/extension_descriptor.proto",
Piotr Roguski10ee0502020-08-12 14:05:48 +02003886 "protos/perfetto/trace/memory_graph.proto",
Primiano Tucci1d409982019-09-19 10:15:18 +01003887 "protos/perfetto/trace/test_event.proto",
Alexander Timin129bdcf2021-04-16 11:36:37 +00003888 "protos/perfetto/trace/test_extensions.proto",
Primiano Tucci1d409982019-09-19 10:15:18 +01003889 "protos/perfetto/trace/trace.proto",
3890 "protos/perfetto/trace/trace_packet.proto",
3891 "protos/perfetto/trace/trace_packet_defaults.proto",
Lalit Maganti8532fc92021-03-30 15:48:15 +01003892 "protos/perfetto/trace/ui_state.proto",
Primiano Tucci1d409982019-09-19 10:15:18 +01003893 ],
Lalit Maganti8d6d7c12022-02-24 20:35:23 +00003894 visibility = [
3895 PERFETTO_CONFIG.proto_library_visibility,
3896 ],
Primiano Tucci1d409982019-09-19 10:15:18 +01003897 deps = [
3898 ":protos_perfetto_common_protos",
3899 ":protos_perfetto_config_android_protos",
3900 ":protos_perfetto_config_ftrace_protos",
3901 ":protos_perfetto_config_gpu_protos",
3902 ":protos_perfetto_config_inode_file_protos",
Sami Kyostiladd1cfd72020-12-14 15:48:25 +00003903 ":protos_perfetto_config_interceptors_protos",
Primiano Tucci1d409982019-09-19 10:15:18 +01003904 ":protos_perfetto_config_power_protos",
3905 ":protos_perfetto_config_process_stats_protos",
3906 ":protos_perfetto_config_profiling_protos",
3907 ":protos_perfetto_config_protos",
Hector Dearman5974de02022-06-23 15:31:40 +01003908 ":protos_perfetto_config_statsd_protos",
Primiano Tucci1d409982019-09-19 10:15:18 +01003909 ":protos_perfetto_config_sys_stats_protos",
Hector Dearman48047d12022-08-02 14:00:46 +01003910 ":protos_perfetto_config_system_info_protos",
Sami Kyostila38cd0412020-02-12 17:09:52 +00003911 ":protos_perfetto_config_track_event_protos",
Primiano Tucci1d409982019-09-19 10:15:18 +01003912 ":protos_perfetto_trace_android_protos",
Primiano Tucci1d409982019-09-19 10:15:18 +01003913 ":protos_perfetto_trace_chrome_protos",
3914 ":protos_perfetto_trace_filesystem_protos",
3915 ":protos_perfetto_trace_ftrace_protos",
3916 ":protos_perfetto_trace_gpu_protos",
3917 ":protos_perfetto_trace_interned_data_protos",
3918 ":protos_perfetto_trace_minimal_protos",
3919 ":protos_perfetto_trace_perfetto_protos",
3920 ":protos_perfetto_trace_power_protos",
3921 ":protos_perfetto_trace_profiling_protos",
3922 ":protos_perfetto_trace_ps_protos",
Hector Dearman5974de02022-06-23 15:31:40 +01003923 ":protos_perfetto_trace_statsd_protos",
Primiano Tucci1d409982019-09-19 10:15:18 +01003924 ":protos_perfetto_trace_sys_stats_protos",
Rafal Slawikb013a112020-04-03 16:12:02 +01003925 ":protos_perfetto_trace_system_info_protos",
Primiano Tucci1d409982019-09-19 10:15:18 +01003926 ":protos_perfetto_trace_track_event_protos",
Igor Kraskevich49b42882022-03-21 13:03:02 +00003927 ":protos_perfetto_trace_translation_protos",
Primiano Tucci1d409982019-09-19 10:15:18 +01003928 ],
Lalit Magantiba364ec2022-02-15 19:53:20 +00003929 exports = [
3930 ":protos_perfetto_trace_track_event_protos",
3931 ],
Primiano Tucci1d409982019-09-19 10:15:18 +01003932)
3933
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003934# GN target: //protos/perfetto/trace:non_minimal_zero
3935perfetto_cc_protozero_library(
3936 name = "protos_perfetto_trace_non_minimal_zero",
3937 deps = [
Lalit Maganti25b59732021-04-20 16:18:32 +01003938 ":protos_perfetto_common_zero",
3939 ":protos_perfetto_config_android_zero",
3940 ":protos_perfetto_config_ftrace_zero",
3941 ":protos_perfetto_config_gpu_zero",
3942 ":protos_perfetto_config_inode_file_zero",
3943 ":protos_perfetto_config_interceptors_zero",
3944 ":protos_perfetto_config_power_zero",
3945 ":protos_perfetto_config_process_stats_zero",
3946 ":protos_perfetto_config_profiling_zero",
Hector Dearman5974de02022-06-23 15:31:40 +01003947 ":protos_perfetto_config_statsd_zero",
Lalit Maganti25b59732021-04-20 16:18:32 +01003948 ":protos_perfetto_config_sys_stats_zero",
Hector Dearman48047d12022-08-02 14:00:46 +01003949 ":protos_perfetto_config_system_info_zero",
Lalit Maganti25b59732021-04-20 16:18:32 +01003950 ":protos_perfetto_config_track_event_zero",
3951 ":protos_perfetto_config_zero",
3952 ":protos_perfetto_trace_android_zero",
3953 ":protos_perfetto_trace_chrome_zero",
3954 ":protos_perfetto_trace_filesystem_zero",
3955 ":protos_perfetto_trace_ftrace_zero",
3956 ":protos_perfetto_trace_gpu_zero",
3957 ":protos_perfetto_trace_interned_data_zero",
3958 ":protos_perfetto_trace_minimal_zero",
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003959 ":protos_perfetto_trace_non_minimal_protos",
Lalit Maganti25b59732021-04-20 16:18:32 +01003960 ":protos_perfetto_trace_perfetto_zero",
3961 ":protos_perfetto_trace_power_zero",
3962 ":protos_perfetto_trace_profiling_zero",
3963 ":protos_perfetto_trace_ps_zero",
Hector Dearman5974de02022-06-23 15:31:40 +01003964 ":protos_perfetto_trace_statsd_zero",
Lalit Maganti25b59732021-04-20 16:18:32 +01003965 ":protos_perfetto_trace_sys_stats_zero",
3966 ":protos_perfetto_trace_system_info_zero",
3967 ":protos_perfetto_trace_track_event_zero",
Igor Kraskevich49b42882022-03-21 13:03:02 +00003968 ":protos_perfetto_trace_translation_zero",
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003969 ],
3970)
3971
Lalit Maganti79d70fe2022-02-15 18:31:09 +00003972# GN target: //protos/perfetto/trace/perfetto:source_set
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003973perfetto_proto_library(
3974 name = "protos_perfetto_trace_perfetto_protos",
3975 srcs = [
3976 "protos/perfetto/trace/perfetto/perfetto_metatrace.proto",
Primiano Tucci79e4dcb2020-04-08 09:51:02 +01003977 "protos/perfetto/trace/perfetto/tracing_service_event.proto",
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003978 ],
Primiano Tuccie88d9392019-11-19 17:42:41 +00003979 visibility = [
3980 PERFETTO_CONFIG.proto_library_visibility,
3981 ],
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003982)
3983
3984# GN target: //protos/perfetto/trace/perfetto:zero
3985perfetto_cc_protozero_library(
3986 name = "protos_perfetto_trace_perfetto_zero",
3987 deps = [
3988 ":protos_perfetto_trace_perfetto_protos",
3989 ],
3990)
3991
Lalit Maganti79d70fe2022-02-15 18:31:09 +00003992# GN target: //protos/perfetto/trace/power:source_set
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003993perfetto_proto_library(
3994 name = "protos_perfetto_trace_power_protos",
3995 srcs = [
Raymond Chiu64b2fe52021-02-01 15:46:44 -08003996 "protos/perfetto/trace/power/android_energy_estimation_breakdown.proto",
Simon MacMullen1777bde2023-02-17 14:54:01 +00003997 "protos/perfetto/trace/power/android_entity_state_residency.proto",
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01003998 "protos/perfetto/trace/power/battery_counters.proto",
3999 "protos/perfetto/trace/power/power_rails.proto",
4000 ],
Primiano Tuccie88d9392019-11-19 17:42:41 +00004001 visibility = [
4002 PERFETTO_CONFIG.proto_library_visibility,
4003 ],
Raymond Chiu64b2fe52021-02-01 15:46:44 -08004004 deps = [
4005 ":protos_perfetto_common_protos",
4006 ],
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01004007)
4008
4009# GN target: //protos/perfetto/trace/power:zero
4010perfetto_cc_protozero_library(
4011 name = "protos_perfetto_trace_power_zero",
4012 deps = [
Lalit Maganti25b59732021-04-20 16:18:32 +01004013 ":protos_perfetto_common_zero",
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01004014 ":protos_perfetto_trace_power_protos",
4015 ],
4016)
4017
Lalit Maganti79d70fe2022-02-15 18:31:09 +00004018# GN target: //protos/perfetto/trace_processor:metrics_impl_source_set
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01004019perfetto_proto_library(
4020 name = "protos_perfetto_trace_processor_metrics_impl_protos",
4021 srcs = [
4022 "protos/perfetto/trace_processor/metrics_impl.proto",
4023 ],
Primiano Tuccie88d9392019-11-19 17:42:41 +00004024 visibility = [
4025 PERFETTO_CONFIG.proto_library_visibility,
4026 ],
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01004027)
4028
4029# GN target: //protos/perfetto/trace_processor:metrics_impl_zero
4030perfetto_cc_protozero_library(
4031 name = "protos_perfetto_trace_processor_metrics_impl_zero",
4032 deps = [
4033 ":protos_perfetto_trace_processor_metrics_impl_protos",
4034 ],
4035)
4036
Lalit Maganti79d70fe2022-02-15 18:31:09 +00004037# GN target: //protos/perfetto/trace_processor:source_set
Primiano Tuccia36cccc2019-10-27 13:15:04 +01004038perfetto_proto_library(
4039 name = "protos_perfetto_trace_processor_protos",
4040 srcs = [
Lalit Magantiba9e1bf2023-02-13 16:40:46 +00004041 "protos/perfetto/trace_processor/cloud_trace_processor.proto",
Alexander Timinb5102912022-10-12 22:18:35 +01004042 "protos/perfetto/trace_processor/metatrace_categories.proto",
Primiano Tuccia36cccc2019-10-27 13:15:04 +01004043 "protos/perfetto/trace_processor/trace_processor.proto",
4044 ],
Primiano Tuccie88d9392019-11-19 17:42:41 +00004045 visibility = [
4046 PERFETTO_CONFIG.proto_library_visibility,
4047 ],
Deepanjan Roy77747772020-09-01 15:10:33 -04004048 deps = [
4049 ":protos_perfetto_common_protos",
4050 ],
Primiano Tuccia36cccc2019-10-27 13:15:04 +01004051)
4052
4053# GN target: //protos/perfetto/trace_processor:zero
4054perfetto_cc_protozero_library(
4055 name = "protos_perfetto_trace_processor_zero",
4056 deps = [
Lalit Maganti25b59732021-04-20 16:18:32 +01004057 ":protos_perfetto_common_zero",
Primiano Tuccia36cccc2019-10-27 13:15:04 +01004058 ":protos_perfetto_trace_processor_protos",
4059 ],
4060)
4061
Lalit Maganti79d70fe2022-02-15 18:31:09 +00004062# GN target: //protos/perfetto/trace/profiling:source_set
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01004063perfetto_proto_library(
4064 name = "protos_perfetto_trace_profiling_protos",
4065 srcs = [
Florian Mayerc2d09962020-08-12 15:52:50 +01004066 "protos/perfetto/trace/profiling/deobfuscation.proto",
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01004067 "protos/perfetto/trace/profiling/heap_graph.proto",
4068 "protos/perfetto/trace/profiling/profile_common.proto",
4069 "protos/perfetto/trace/profiling/profile_packet.proto",
Florian Mayer633b4442020-04-04 11:54:17 +02004070 "protos/perfetto/trace/profiling/smaps.proto",
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01004071 ],
Primiano Tuccie88d9392019-11-19 17:42:41 +00004072 visibility = [
4073 PERFETTO_CONFIG.proto_library_visibility,
4074 ],
Ryan Savitski45517322021-03-09 16:38:19 +00004075 deps = [
4076 ":protos_perfetto_common_protos",
4077 ],
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01004078)
4079
4080# GN target: //protos/perfetto/trace/profiling:zero
4081perfetto_cc_protozero_library(
4082 name = "protos_perfetto_trace_profiling_zero",
4083 deps = [
Lalit Maganti25b59732021-04-20 16:18:32 +01004084 ":protos_perfetto_common_zero",
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01004085 ":protos_perfetto_trace_profiling_protos",
4086 ],
4087)
4088
Lalit Maganti79d70fe2022-02-15 18:31:09 +00004089# GN target: //protos/perfetto/trace/ps:source_set
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01004090perfetto_proto_library(
4091 name = "protos_perfetto_trace_ps_protos",
4092 srcs = [
4093 "protos/perfetto/trace/ps/process_stats.proto",
4094 "protos/perfetto/trace/ps/process_tree.proto",
4095 ],
Primiano Tuccie88d9392019-11-19 17:42:41 +00004096 visibility = [
4097 PERFETTO_CONFIG.proto_library_visibility,
4098 ],
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01004099)
4100
4101# GN target: //protos/perfetto/trace/ps:zero
4102perfetto_cc_protozero_library(
4103 name = "protos_perfetto_trace_ps_zero",
4104 deps = [
4105 ":protos_perfetto_trace_ps_protos",
4106 ],
4107)
4108
Hector Dearman09db5b02022-07-11 13:35:23 +01004109# GN target: //protos/perfetto/trace/statsd:cpp
4110perfetto_cc_protocpp_library(
4111 name = "protos_perfetto_trace_statsd_cpp",
4112 deps = [
4113 ":protos_perfetto_common_cpp",
4114 ":protos_perfetto_trace_statsd_protos",
4115 ],
4116)
4117
Hector Dearman5974de02022-06-23 15:31:40 +01004118# GN target: //protos/perfetto/trace/statsd:source_set
4119perfetto_proto_library(
4120 name = "protos_perfetto_trace_statsd_protos",
4121 srcs = [
4122 "protos/perfetto/trace/statsd/statsd_atom.proto",
4123 ],
4124 visibility = [
4125 PERFETTO_CONFIG.proto_library_visibility,
4126 ],
4127 deps = [
4128 ":protos_perfetto_common_protos",
4129 ],
4130)
4131
4132# GN target: //protos/perfetto/trace/statsd:zero
4133perfetto_cc_protozero_library(
4134 name = "protos_perfetto_trace_statsd_zero",
4135 deps = [
4136 ":protos_perfetto_common_zero",
4137 ":protos_perfetto_trace_statsd_protos",
4138 ],
4139)
4140
Lalit Maganti79d70fe2022-02-15 18:31:09 +00004141# GN target: //protos/perfetto/trace/sys_stats:source_set
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01004142perfetto_proto_library(
4143 name = "protos_perfetto_trace_sys_stats_protos",
4144 srcs = [
4145 "protos/perfetto/trace/sys_stats/sys_stats.proto",
4146 ],
Primiano Tuccie88d9392019-11-19 17:42:41 +00004147 visibility = [
4148 PERFETTO_CONFIG.proto_library_visibility,
4149 ],
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01004150 deps = [
4151 ":protos_perfetto_common_protos",
4152 ],
4153)
4154
4155# GN target: //protos/perfetto/trace/sys_stats:zero
4156perfetto_cc_protozero_library(
4157 name = "protos_perfetto_trace_sys_stats_zero",
4158 deps = [
Lalit Maganti25b59732021-04-20 16:18:32 +01004159 ":protos_perfetto_common_zero",
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01004160 ":protos_perfetto_trace_sys_stats_protos",
4161 ],
4162)
4163
Lalit Maganti79d70fe2022-02-15 18:31:09 +00004164# GN target: //protos/perfetto/trace/system_info:source_set
Rafal Slawikb013a112020-04-03 16:12:02 +01004165perfetto_proto_library(
4166 name = "protos_perfetto_trace_system_info_protos",
4167 srcs = [
4168 "protos/perfetto/trace/system_info/cpu_info.proto",
4169 ],
4170 visibility = [
4171 PERFETTO_CONFIG.proto_library_visibility,
4172 ],
4173)
4174
4175# GN target: //protos/perfetto/trace/system_info:zero
4176perfetto_cc_protozero_library(
4177 name = "protos_perfetto_trace_system_info_zero",
4178 deps = [
4179 ":protos_perfetto_trace_system_info_protos",
4180 ],
4181)
4182
Sami Kyostilad4eec8e2020-05-05 15:56:42 +01004183# GN target: //protos/perfetto/trace/track_event:cpp
4184perfetto_cc_protocpp_library(
4185 name = "protos_perfetto_trace_track_event_cpp",
4186 deps = [
4187 ":protos_perfetto_trace_track_event_protos",
4188 ],
4189)
4190
Lalit Magantic21a4a82022-02-15 16:08:46 +00004191# GN target: //protos/perfetto/trace/track_event:descriptor
4192perfetto_proto_descriptor(
4193 name = "protos_perfetto_trace_track_event_descriptor",
4194 deps = [
4195 ":protos_perfetto_trace_track_event_protos",
4196 ],
4197 outs = [
4198 "protos_perfetto_trace_track_event_descriptor.bin",
4199 ],
4200)
4201
Lalit Maganti79d70fe2022-02-15 18:31:09 +00004202# GN target: //protos/perfetto/trace/track_event:source_set
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01004203perfetto_proto_library(
4204 name = "protos_perfetto_trace_track_event_protos",
4205 srcs = [
Igor Kraskevichebf48602022-10-25 10:28:36 +00004206 "protos/perfetto/trace/track_event/chrome_active_processes.proto",
Salvador Guerrero6ae1db82020-11-06 12:06:03 -08004207 "protos/perfetto/trace/track_event/chrome_application_state_info.proto",
Stephen Nusko3db31c82019-11-27 16:32:01 +00004208 "protos/perfetto/trace/track_event/chrome_compositor_scheduler_state.proto",
Salvador Guerreroec21ade2021-01-19 13:10:29 -08004209 "protos/perfetto/trace/track_event/chrome_content_settings_event_info.proto",
Sadrul Habib Chowdhury2d5e2a62020-06-15 11:24:18 -04004210 "protos/perfetto/trace/track_event/chrome_frame_reporter.proto",
Oystein Eftevaagbe533b22019-12-05 11:01:05 -08004211 "protos/perfetto/trace/track_event/chrome_histogram_sample.proto",
Eric Secklere1e8ff42019-12-04 11:05:43 +00004212 "protos/perfetto/trace/track_event/chrome_keyed_service.proto",
Andrew Shulaev784967b2020-02-03 08:22:20 +00004213 "protos/perfetto/trace/track_event/chrome_latency_info.proto",
Eric Secklere1e8ff42019-12-04 11:05:43 +00004214 "protos/perfetto/trace/track_event/chrome_legacy_ipc.proto",
Oystein Eftevaag324adbb2020-09-22 09:33:05 -07004215 "protos/perfetto/trace/track_event/chrome_message_pump.proto",
ssid77ab7cf2020-10-05 11:18:48 -07004216 "protos/perfetto/trace/track_event/chrome_mojo_event_info.proto",
Sami Kyostilab0686c92020-01-07 12:56:55 +00004217 "protos/perfetto/trace/track_event/chrome_process_descriptor.proto",
Dan Elphick39689022020-10-13 17:30:16 +01004218 "protos/perfetto/trace/track_event/chrome_renderer_scheduler_state.proto",
Sami Kyostilab0686c92020-01-07 12:56:55 +00004219 "protos/perfetto/trace/track_event/chrome_thread_descriptor.proto",
Eric Secklere1e8ff42019-12-04 11:05:43 +00004220 "protos/perfetto/trace/track_event/chrome_user_event.proto",
Salvador Guerrerocd1c7642020-10-15 11:42:25 -07004221 "protos/perfetto/trace/track_event/chrome_window_handle_event_info.proto",
Eric Seckler39559492020-03-03 18:04:25 +00004222 "protos/perfetto/trace/track_event/counter_descriptor.proto",
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01004223 "protos/perfetto/trace/track_event/debug_annotation.proto",
4224 "protos/perfetto/trace/track_event/log_message.proto",
4225 "protos/perfetto/trace/track_event/process_descriptor.proto",
Igor Kraskevich49756332022-12-01 18:05:57 +00004226 "protos/perfetto/trace/track_event/range_of_interest.proto",
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01004227 "protos/perfetto/trace/track_event/source_location.proto",
4228 "protos/perfetto/trace/track_event/task_execution.proto",
4229 "protos/perfetto/trace/track_event/thread_descriptor.proto",
4230 "protos/perfetto/trace/track_event/track_descriptor.proto",
4231 "protos/perfetto/trace/track_event/track_event.proto",
4232 ],
Primiano Tuccie88d9392019-11-19 17:42:41 +00004233 visibility = [
4234 PERFETTO_CONFIG.proto_library_visibility,
4235 ],
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01004236)
4237
4238# GN target: //protos/perfetto/trace/track_event:zero
4239perfetto_cc_protozero_library(
4240 name = "protos_perfetto_trace_track_event_zero",
4241 deps = [
4242 ":protos_perfetto_trace_track_event_protos",
4243 ],
4244)
4245
Igor Kraskevich49b42882022-03-21 13:03:02 +00004246# GN target: //protos/perfetto/trace/translation:source_set
4247perfetto_proto_library(
4248 name = "protos_perfetto_trace_translation_protos",
4249 srcs = [
4250 "protos/perfetto/trace/translation/translation_table.proto",
4251 ],
4252 visibility = [
4253 PERFETTO_CONFIG.proto_library_visibility,
4254 ],
4255)
4256
4257# GN target: //protos/perfetto/trace/translation:zero
4258perfetto_cc_protozero_library(
4259 name = "protos_perfetto_trace_translation_zero",
4260 deps = [
4261 ":protos_perfetto_trace_translation_protos",
4262 ],
4263)
4264
Lalit Magantic21a4a82022-02-15 16:08:46 +00004265# GN target: //protos/third_party/chromium:descriptor
Andrew Shulaevba0a5d12021-01-07 08:44:50 +00004266perfetto_proto_descriptor(
Lalit Magantic21a4a82022-02-15 16:08:46 +00004267 name = "protos_third_party_chromium_descriptor",
Andrew Shulaevba0a5d12021-01-07 08:44:50 +00004268 deps = [
Lalit Magantic21a4a82022-02-15 16:08:46 +00004269 ":protos_third_party_chromium_protos",
Andrew Shulaevba0a5d12021-01-07 08:44:50 +00004270 ],
4271 outs = [
Lalit Magantic21a4a82022-02-15 16:08:46 +00004272 "protos_third_party_chromium_descriptor.bin",
Andrew Shulaevba0a5d12021-01-07 08:44:50 +00004273 ],
4274)
4275
Lalit Magantic21a4a82022-02-15 16:08:46 +00004276# GN target: //protos/third_party/chromium:source_set
ssid3d81d4d2021-06-21 16:08:02 -07004277perfetto_proto_library(
4278 name = "protos_third_party_chromium_protos",
4279 srcs = [
4280 "protos/third_party/chromium/chrome_track_event.proto",
4281 ],
Lalit Maganti7d37c752022-03-08 15:41:00 +00004282 visibility = [
4283 PERFETTO_CONFIG.proto_library_visibility,
4284 ],
ssid3d81d4d2021-06-21 16:08:02 -07004285 deps = [
4286 ":protos_perfetto_trace_track_event_protos",
4287 ],
Lalit Magantiba364ec2022-02-15 19:53:20 +00004288 exports = [
4289 ":protos_perfetto_trace_track_event_protos",
4290 ],
ssid3d81d4d2021-06-21 16:08:02 -07004291)
4292
Lalit Maganti79d70fe2022-02-15 18:31:09 +00004293# GN target: //protos/third_party/pprof:source_set
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01004294perfetto_proto_library(
4295 name = "protos_third_party_pprof_protos",
4296 srcs = [
4297 "protos/third_party/pprof/profile.proto",
4298 ],
Primiano Tuccie88d9392019-11-19 17:42:41 +00004299 visibility = [
4300 PERFETTO_CONFIG.proto_library_visibility,
4301 ],
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01004302)
4303
Primiano Tucci2d813fd2019-11-26 17:27:07 +00004304# GN target: //protos/third_party/pprof:zero
4305perfetto_cc_protozero_library(
4306 name = "protos_third_party_pprof_zero",
4307 deps = [
4308 ":protos_third_party_pprof_protos",
4309 ],
4310)
4311
Hector Dearman09db5b02022-07-11 13:35:23 +01004312# GN target: //protos/third_party/statsd:config_source_set
4313perfetto_proto_library(
4314 name = "protos_third_party_statsd_config_protos",
4315 srcs = [
4316 "protos/third_party/statsd/shell_config.proto",
4317 ],
4318 visibility = [
4319 PERFETTO_CONFIG.proto_library_visibility,
4320 ],
4321)
4322
4323# GN target: //protos/third_party/statsd:config_zero
4324perfetto_cc_protozero_library(
4325 name = "protos_third_party_statsd_config_zero",
4326 deps = [
4327 ":protos_third_party_statsd_config_protos",
4328 ],
4329)
4330
Lalit Maganti79d70fe2022-02-15 18:31:09 +00004331# GN target: //src/perfetto_cmd:protos_cpp
Hector Dearman040f9582019-12-03 18:06:33 +00004332perfetto_cc_protocpp_library(
Lalit Maganti79d70fe2022-02-15 18:31:09 +00004333 name = "src_perfetto_cmd_protos_cpp",
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01004334 deps = [
4335 ":src_perfetto_cmd_protos_protos",
4336 ],
4337)
4338
Lalit Maganti79d70fe2022-02-15 18:31:09 +00004339# GN target: //src/perfetto_cmd:protos_source_set
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01004340perfetto_proto_library(
4341 name = "src_perfetto_cmd_protos_protos",
4342 srcs = [
4343 "src/perfetto_cmd/perfetto_cmd_state.proto",
4344 ],
Primiano Tuccie88d9392019-11-19 17:42:41 +00004345 visibility = [
4346 PERFETTO_CONFIG.proto_library_visibility,
4347 ],
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01004348)
4349
Primiano Tucci1d409982019-09-19 10:15:18 +01004350# ##############################################################################
4351# Public targets
4352# ##############################################################################
4353
Pascal Muetschardb4966c52019-09-24 13:38:09 -07004354# GN target: //:libperfetto_client_experimental
4355perfetto_cc_library(
4356 name = "libperfetto_client_experimental",
4357 srcs = [
Lalit Magantiea7631b2021-01-13 12:33:55 +00004358 ":src_android_stats_android_stats",
4359 ":src_android_stats_perfetto_atoms",
Primiano Tuccif18ab812021-05-14 23:01:19 +01004360 ":src_protozero_filtering_bytecode_common",
4361 ":src_protozero_filtering_bytecode_parser",
4362 ":src_protozero_filtering_message_filter",
Primiano Tucci3feec552020-02-04 11:14:42 +00004363 ":src_tracing_client_api_without_backends",
Pascal Muetschardb4966c52019-09-24 13:38:09 -07004364 ":src_tracing_common",
Primiano Tuccic4c063b2020-01-27 09:34:46 +00004365 ":src_tracing_core_core",
4366 ":src_tracing_core_service",
Primiano Tucci55b4d912020-01-28 11:17:51 +00004367 ":src_tracing_in_process_backend",
Primiano Tuccic4c063b2020-01-27 09:34:46 +00004368 ":src_tracing_ipc_common",
4369 ":src_tracing_ipc_consumer_consumer",
Primiano Tucci8761a312021-11-25 17:17:23 +00004370 ":src_tracing_ipc_default_socket",
Primiano Tuccic4c063b2020-01-27 09:34:46 +00004371 ":src_tracing_ipc_producer_producer",
4372 ":src_tracing_ipc_service_service",
Primiano Tucci10c9e9e2021-01-08 13:04:40 +01004373 ":src_tracing_platform_impl",
Primiano Tucci3feec552020-02-04 11:14:42 +00004374 ":src_tracing_system_backend",
Pascal Muetschardb4966c52019-09-24 13:38:09 -07004375 ],
4376 hdrs = [
4377 ":include_perfetto_base_base",
4378 ":include_perfetto_ext_base_base",
4379 ":include_perfetto_ext_ipc_ipc",
4380 ":include_perfetto_ext_tracing_core_core",
4381 ":include_perfetto_ext_tracing_ipc_ipc",
4382 ":include_perfetto_protozero_protozero",
Daniele Di Proietto8b46d692022-04-22 15:59:40 +01004383 ":include_perfetto_public_abi_base",
4384 ":include_perfetto_public_base",
Pascal Muetschardb4966c52019-09-24 13:38:09 -07004385 ":include_perfetto_tracing_core_core",
Primiano Tuccicb8cea22019-11-22 11:05:35 +00004386 ":include_perfetto_tracing_core_forward_decls",
Pascal Muetschardb4966c52019-09-24 13:38:09 -07004387 ":include_perfetto_tracing_tracing",
Lalit Maganti91d223e2019-12-20 12:28:19 +00004388 "include/perfetto/tracing.h",
Pascal Muetschardb4966c52019-09-24 13:38:09 -07004389 ],
4390 visibility = [
4391 "//visibility:public",
4392 ],
4393 deps = [
Primiano Tucci916f4e52020-10-16 20:40:33 +02004394 ":perfetto_ipc",
Primiano Tucci57dd66b2019-10-15 23:09:04 +01004395 ":protos_perfetto_common_cpp",
Pascal Muetschardb4966c52019-09-24 13:38:09 -07004396 ":protos_perfetto_common_zero",
Primiano Tucci57dd66b2019-10-15 23:09:04 +01004397 ":protos_perfetto_config_android_cpp",
Pascal Muetschardb4966c52019-09-24 13:38:09 -07004398 ":protos_perfetto_config_android_zero",
Primiano Tucci57dd66b2019-10-15 23:09:04 +01004399 ":protos_perfetto_config_cpp",
4400 ":protos_perfetto_config_ftrace_cpp",
Pascal Muetschardb4966c52019-09-24 13:38:09 -07004401 ":protos_perfetto_config_ftrace_zero",
Primiano Tucci57dd66b2019-10-15 23:09:04 +01004402 ":protos_perfetto_config_gpu_cpp",
Pascal Muetschardb4966c52019-09-24 13:38:09 -07004403 ":protos_perfetto_config_gpu_zero",
Primiano Tucci57dd66b2019-10-15 23:09:04 +01004404 ":protos_perfetto_config_inode_file_cpp",
Pascal Muetschardb4966c52019-09-24 13:38:09 -07004405 ":protos_perfetto_config_inode_file_zero",
Sami Kyostiladd1cfd72020-12-14 15:48:25 +00004406 ":protos_perfetto_config_interceptors_cpp",
4407 ":protos_perfetto_config_interceptors_zero",
Primiano Tucci57dd66b2019-10-15 23:09:04 +01004408 ":protos_perfetto_config_power_cpp",
Pascal Muetschardb4966c52019-09-24 13:38:09 -07004409 ":protos_perfetto_config_power_zero",
Primiano Tucci57dd66b2019-10-15 23:09:04 +01004410 ":protos_perfetto_config_process_stats_cpp",
Pascal Muetschardb4966c52019-09-24 13:38:09 -07004411 ":protos_perfetto_config_process_stats_zero",
Primiano Tucci57dd66b2019-10-15 23:09:04 +01004412 ":protos_perfetto_config_profiling_cpp",
Pascal Muetschardb4966c52019-09-24 13:38:09 -07004413 ":protos_perfetto_config_profiling_zero",
Hector Dearman5974de02022-06-23 15:31:40 +01004414 ":protos_perfetto_config_statsd_cpp",
4415 ":protos_perfetto_config_statsd_zero",
Primiano Tucci57dd66b2019-10-15 23:09:04 +01004416 ":protos_perfetto_config_sys_stats_cpp",
Pascal Muetschardb4966c52019-09-24 13:38:09 -07004417 ":protos_perfetto_config_sys_stats_zero",
Hector Dearman48047d12022-08-02 14:00:46 +01004418 ":protos_perfetto_config_system_info_cpp",
4419 ":protos_perfetto_config_system_info_zero",
Sami Kyostila38cd0412020-02-12 17:09:52 +00004420 ":protos_perfetto_config_track_event_cpp",
4421 ":protos_perfetto_config_track_event_zero",
Pascal Muetschardb4966c52019-09-24 13:38:09 -07004422 ":protos_perfetto_config_zero",
Primiano Tuccie8020f92019-11-26 13:24:01 +00004423 ":protos_perfetto_ipc_cpp",
Pascal Muetschardb4966c52019-09-24 13:38:09 -07004424 ":protos_perfetto_ipc_ipc",
Pascal Muetschardb4966c52019-09-24 13:38:09 -07004425 ":protos_perfetto_trace_android_zero",
4426 ":protos_perfetto_trace_chrome_zero",
4427 ":protos_perfetto_trace_filesystem_zero",
4428 ":protos_perfetto_trace_ftrace_zero",
4429 ":protos_perfetto_trace_gpu_zero",
4430 ":protos_perfetto_trace_interned_data_zero",
Pascal Muetschardb4966c52019-09-24 13:38:09 -07004431 ":protos_perfetto_trace_minimal_zero",
4432 ":protos_perfetto_trace_non_minimal_zero",
4433 ":protos_perfetto_trace_perfetto_zero",
4434 ":protos_perfetto_trace_power_zero",
4435 ":protos_perfetto_trace_profiling_zero",
4436 ":protos_perfetto_trace_ps_zero",
Hector Dearman5974de02022-06-23 15:31:40 +01004437 ":protos_perfetto_trace_statsd_zero",
Pascal Muetschardb4966c52019-09-24 13:38:09 -07004438 ":protos_perfetto_trace_sys_stats_zero",
Rafal Slawikb013a112020-04-03 16:12:02 +01004439 ":protos_perfetto_trace_system_info_zero",
Sami Kyostilad4eec8e2020-05-05 15:56:42 +01004440 ":protos_perfetto_trace_track_event_cpp",
Pascal Muetschardb4966c52019-09-24 13:38:09 -07004441 ":protos_perfetto_trace_track_event_zero",
Igor Kraskevich49b42882022-03-21 13:03:02 +00004442 ":protos_perfetto_trace_translation_zero",
Primiano Tucci916f4e52020-10-16 20:40:33 +02004443 ":protozero",
4444 ":src_base_base",
Daniele Di Proietto15b801e2022-06-30 12:56:13 +01004445 ":src_base_version",
Primiano Tuccie8020f92019-11-26 13:24:01 +00004446 ],
Lalit Magantif9c004d2020-01-06 14:44:34 +00004447 linkstatic = True,
Pascal Muetschardb4966c52019-09-24 13:38:09 -07004448)
4449
Primiano Tucci1d409982019-09-19 10:15:18 +01004450# GN target: //src/perfetto_cmd:perfetto
4451perfetto_cc_binary(
4452 name = "perfetto",
4453 srcs = [
4454 ":include_perfetto_base_base",
4455 ":include_perfetto_ext_base_base",
4456 ":include_perfetto_ext_ipc_ipc",
4457 ":include_perfetto_ext_traced_traced",
4458 ":include_perfetto_ext_tracing_core_core",
4459 ":include_perfetto_ext_tracing_ipc_ipc",
4460 ":include_perfetto_protozero_protozero",
Daniele Di Proietto8b46d692022-04-22 15:59:40 +01004461 ":include_perfetto_public_abi_base",
4462 ":include_perfetto_public_base",
Primiano Tucci1d409982019-09-19 10:15:18 +01004463 ":include_perfetto_tracing_core_core",
Primiano Tuccicb8cea22019-11-22 11:05:35 +00004464 ":include_perfetto_tracing_core_forward_decls",
Primiano Tucci1d409982019-09-19 10:15:18 +01004465 ":include_perfetto_tracing_tracing",
Lalit Magantif2d81b72020-12-11 01:53:29 +00004466 ":src_android_stats_android_stats",
Lalit Magantid37172d2020-12-10 19:30:05 +00004467 ":src_android_stats_perfetto_atoms",
Primiano Tucci1d409982019-09-19 10:15:18 +01004468 ":src_perfetto_cmd_perfetto_cmd",
4469 ":src_perfetto_cmd_trigger_producer",
Primiano Tucci1d409982019-09-19 10:15:18 +01004470 ":src_tracing_common",
Primiano Tuccic4c063b2020-01-27 09:34:46 +00004471 ":src_tracing_core_core",
4472 ":src_tracing_ipc_common",
4473 ":src_tracing_ipc_consumer_consumer",
Primiano Tucci8761a312021-11-25 17:17:23 +00004474 ":src_tracing_ipc_default_socket",
Primiano Tuccic4c063b2020-01-27 09:34:46 +00004475 ":src_tracing_ipc_producer_producer",
Primiano Tucci34bc5592021-02-19 17:53:36 +01004476 "src/perfetto_cmd/main.cc",
Primiano Tucci1d409982019-09-19 10:15:18 +01004477 ],
4478 visibility = [
4479 "//visibility:public",
4480 ],
4481 deps = [
Primiano Tucci916f4e52020-10-16 20:40:33 +02004482 ":perfetto_ipc",
Primiano Tuccie8020f92019-11-26 13:24:01 +00004483 ":protos_perfetto_common_cpp",
Primiano Tuccie8020f92019-11-26 13:24:01 +00004484 ":protos_perfetto_common_zero",
4485 ":protos_perfetto_config_android_cpp",
Primiano Tuccie8020f92019-11-26 13:24:01 +00004486 ":protos_perfetto_config_android_zero",
4487 ":protos_perfetto_config_cpp",
4488 ":protos_perfetto_config_ftrace_cpp",
Primiano Tuccie8020f92019-11-26 13:24:01 +00004489 ":protos_perfetto_config_ftrace_zero",
4490 ":protos_perfetto_config_gpu_cpp",
Primiano Tuccie8020f92019-11-26 13:24:01 +00004491 ":protos_perfetto_config_gpu_zero",
4492 ":protos_perfetto_config_inode_file_cpp",
Primiano Tuccie8020f92019-11-26 13:24:01 +00004493 ":protos_perfetto_config_inode_file_zero",
Sami Kyostiladd1cfd72020-12-14 15:48:25 +00004494 ":protos_perfetto_config_interceptors_cpp",
4495 ":protos_perfetto_config_interceptors_zero",
Primiano Tuccie8020f92019-11-26 13:24:01 +00004496 ":protos_perfetto_config_power_cpp",
Primiano Tuccie8020f92019-11-26 13:24:01 +00004497 ":protos_perfetto_config_power_zero",
4498 ":protos_perfetto_config_process_stats_cpp",
Primiano Tuccie8020f92019-11-26 13:24:01 +00004499 ":protos_perfetto_config_process_stats_zero",
4500 ":protos_perfetto_config_profiling_cpp",
Primiano Tuccie8020f92019-11-26 13:24:01 +00004501 ":protos_perfetto_config_profiling_zero",
Hector Dearman5974de02022-06-23 15:31:40 +01004502 ":protos_perfetto_config_statsd_cpp",
4503 ":protos_perfetto_config_statsd_zero",
Primiano Tuccie8020f92019-11-26 13:24:01 +00004504 ":protos_perfetto_config_sys_stats_cpp",
Primiano Tuccie8020f92019-11-26 13:24:01 +00004505 ":protos_perfetto_config_sys_stats_zero",
Hector Dearman48047d12022-08-02 14:00:46 +01004506 ":protos_perfetto_config_system_info_cpp",
4507 ":protos_perfetto_config_system_info_zero",
Sami Kyostila38cd0412020-02-12 17:09:52 +00004508 ":protos_perfetto_config_track_event_cpp",
4509 ":protos_perfetto_config_track_event_zero",
Primiano Tuccie8020f92019-11-26 13:24:01 +00004510 ":protos_perfetto_config_zero",
4511 ":protos_perfetto_ipc_cpp",
4512 ":protos_perfetto_ipc_ipc",
Primiano Tuccie8020f92019-11-26 13:24:01 +00004513 ":protos_perfetto_trace_android_zero",
4514 ":protos_perfetto_trace_chrome_zero",
4515 ":protos_perfetto_trace_filesystem_zero",
4516 ":protos_perfetto_trace_ftrace_zero",
4517 ":protos_perfetto_trace_gpu_zero",
4518 ":protos_perfetto_trace_interned_data_zero",
4519 ":protos_perfetto_trace_minimal_zero",
4520 ":protos_perfetto_trace_non_minimal_zero",
4521 ":protos_perfetto_trace_perfetto_zero",
4522 ":protos_perfetto_trace_power_zero",
4523 ":protos_perfetto_trace_profiling_zero",
4524 ":protos_perfetto_trace_ps_zero",
Hector Dearman5974de02022-06-23 15:31:40 +01004525 ":protos_perfetto_trace_statsd_zero",
Primiano Tuccie8020f92019-11-26 13:24:01 +00004526 ":protos_perfetto_trace_sys_stats_zero",
Rafal Slawikb013a112020-04-03 16:12:02 +01004527 ":protos_perfetto_trace_system_info_zero",
Sami Kyostilad4eec8e2020-05-05 15:56:42 +01004528 ":protos_perfetto_trace_track_event_cpp",
Primiano Tuccie8020f92019-11-26 13:24:01 +00004529 ":protos_perfetto_trace_track_event_zero",
Igor Kraskevich49b42882022-03-21 13:03:02 +00004530 ":protos_perfetto_trace_translation_zero",
Primiano Tucci916f4e52020-10-16 20:40:33 +02004531 ":protozero",
4532 ":src_base_base",
Daniele Di Proietto15b801e2022-06-30 12:56:13 +01004533 ":src_base_version",
Lalit Maganti2939c082021-03-11 17:25:44 +00004534 ":src_perfetto_cmd_gen_cc_config_descriptor",
Lalit Maganti79d70fe2022-02-15 18:31:09 +00004535 ":src_perfetto_cmd_protos_cpp",
Primiano Tuccie8020f92019-11-26 13:24:01 +00004536 ] + PERFETTO_CONFIG.deps.zlib,
Primiano Tucci1d409982019-09-19 10:15:18 +01004537)
4538
4539# GN target: //src/trace_processor:trace_processor
4540perfetto_cc_library(
4541 name = "trace_processor",
4542 srcs = [
Ryan Zuklieec18eb32022-07-25 15:51:59 -07004543 ":src_kernel_utils_syscall_table",
Lalit Maganti1534bb72021-04-23 14:11:26 +01004544 ":src_trace_processor_db_db",
Lalit Maganti3927af82022-05-09 20:23:40 +01004545 ":src_trace_processor_dynamic_dynamic",
Eric Secklera7870e62019-11-01 10:11:58 +00004546 ":src_trace_processor_export_json",
Primiano Tuccic9d912e2022-07-28 23:30:11 +01004547 ":src_trace_processor_importers_android_bugreport_android_bugreport",
Lalit Maganti1534bb72021-04-23 14:11:26 +01004548 ":src_trace_processor_importers_common_common",
Lalit Magantieb2645a2022-11-25 15:49:35 +00004549 ":src_trace_processor_importers_common_parser_types",
4550 ":src_trace_processor_importers_common_trace_parser_hdr",
Lalit Magantib9a5b432022-12-01 16:13:11 +00004551 ":src_trace_processor_importers_ftrace_ftrace_descriptors",
4552 ":src_trace_processor_importers_ftrace_full",
4553 ":src_trace_processor_importers_ftrace_minimal",
Lalit Magantife2519b2022-11-24 21:12:05 +00004554 ":src_trace_processor_importers_fuchsia_fuchsia_record",
Lalit Magantiecf23662022-12-02 18:34:37 +00004555 ":src_trace_processor_importers_fuchsia_full",
4556 ":src_trace_processor_importers_fuchsia_minimal",
4557 ":src_trace_processor_importers_gzip_full",
Lalit Magantib9a5b432022-12-01 16:13:11 +00004558 ":src_trace_processor_importers_i2c_full",
Lalit Magantiecf23662022-12-02 18:34:37 +00004559 ":src_trace_processor_importers_json_full",
Lalit Magantib9a5b432022-12-01 16:13:11 +00004560 ":src_trace_processor_importers_json_minimal",
Sylwester Blaszczyk76aa7002020-11-27 15:48:21 +01004561 ":src_trace_processor_importers_memory_tracker_graph_processor",
Lalit Maganti1bfdccc2022-11-28 21:19:35 +00004562 ":src_trace_processor_importers_ninja_ninja",
Lalit Magantib7ad13b2022-11-25 15:55:38 +00004563 ":src_trace_processor_importers_proto_full",
4564 ":src_trace_processor_importers_proto_minimal",
Lalit Magantiba07dcf2022-11-25 13:58:09 +00004565 ":src_trace_processor_importers_proto_packet_sequence_state_generation_hdr",
Lalit Magantib9a5b432022-12-01 16:13:11 +00004566 ":src_trace_processor_importers_proto_proto_importer_module",
4567 ":src_trace_processor_importers_syscalls_full",
Lalit Magantiecf23662022-12-02 18:34:37 +00004568 ":src_trace_processor_importers_systrace_full",
Lalit Magantife2519b2022-11-24 21:12:05 +00004569 ":src_trace_processor_importers_systrace_systrace_line",
Lalit Magantib9a5b432022-12-01 16:13:11 +00004570 ":src_trace_processor_importers_systrace_systrace_parser",
Primiano Tucci1d409982019-09-19 10:15:18 +01004571 ":src_trace_processor_lib",
Lalit Maganti427b8332020-05-27 16:09:45 +01004572 ":src_trace_processor_metatrace",
Lalit Maganti4c328e32021-11-09 19:29:50 +00004573 ":src_trace_processor_metrics_metrics",
Lalit Maganti628aca72022-12-08 14:20:25 +00004574 ":src_trace_processor_prelude_functions_functions",
4575 ":src_trace_processor_prelude_operators_operators",
Lalit Maganti1e7a5bb2022-11-25 15:50:43 +00004576 ":src_trace_processor_sorter_sorter",
Primiano Tucci1d409982019-09-19 10:15:18 +01004577 ":src_trace_processor_sqlite_sqlite",
Lalit Maganti3927af82022-05-09 20:23:40 +01004578 ":src_trace_processor_sqlite_sqlite_minimal",
Mikhail Khokhlov692087e2019-12-11 10:53:45 +00004579 ":src_trace_processor_storage_minimal",
Lalit Maganti7010b332020-02-07 10:51:15 +00004580 ":src_trace_processor_storage_storage",
Primiano Tucci1d409982019-09-19 10:15:18 +01004581 ":src_trace_processor_tables_tables",
Lalit Maganti779c02e2023-01-11 14:59:21 +00004582 ":src_trace_processor_tables_tables_python",
Lalit Maganti83b53fa2020-01-13 12:55:36 +00004583 ":src_trace_processor_types_types",
Lalit Magantie7107402020-04-15 13:41:12 +01004584 ":src_trace_processor_util_descriptors",
Lalit Maganti83ddffe2022-10-18 17:47:44 +01004585 ":src_trace_processor_util_glob",
Lalit Maganti69216ec2021-05-21 14:10:42 +01004586 ":src_trace_processor_util_gzip",
Alexander Timin97d87852021-05-17 18:01:33 +00004587 ":src_trace_processor_util_interned_message_view",
Carlos Caballero Grolimund8a495a72022-09-05 09:29:09 +00004588 ":src_trace_processor_util_profile_builder",
Igor Kraskevich3da925d2022-08-22 12:02:30 +00004589 ":src_trace_processor_util_proto_profiler",
Alexander Timin5a99b5c2021-05-11 22:48:07 +00004590 ":src_trace_processor_util_proto_to_args_parser",
Deepanjan Roy1e048012020-09-23 12:49:04 -04004591 ":src_trace_processor_util_protozero_to_text",
Lalit Magantiea630542022-11-21 19:35:02 +00004592 ":src_trace_processor_util_sql_argument",
Omar Elmekkawyd1c53452022-07-20 08:48:34 +00004593 ":src_trace_processor_util_stack_traces_util",
Anna Mayzner5980c712022-11-24 15:09:11 +00004594 ":src_trace_processor_util_stdlib",
Lalit Magantie7107402020-04-15 13:41:12 +01004595 ":src_trace_processor_util_util",
Primiano Tuccic9d912e2022-07-28 23:30:11 +01004596 ":src_trace_processor_util_zip_reader",
Lalit Maganti2410f202022-05-27 20:57:53 +01004597 ":src_trace_processor_views_views",
Primiano Tucci1d409982019-09-19 10:15:18 +01004598 ],
4599 hdrs = [
4600 ":include_perfetto_base_base",
4601 ":include_perfetto_ext_base_base",
Carlos Caballero Grolimund8a495a72022-09-05 09:29:09 +00004602 ":include_perfetto_ext_trace_processor_demangle",
Eric Seckler7fb1d232019-10-23 14:42:43 +01004603 ":include_perfetto_ext_trace_processor_export_json",
Sylwester Blaszczyk76aa7002020-11-27 15:48:21 +01004604 ":include_perfetto_ext_trace_processor_importers_memory_tracker_memory_tracker",
Primiano Tucci1d409982019-09-19 10:15:18 +01004605 ":include_perfetto_ext_traced_sys_stats_counters",
Carlos Caballero Grolimund8a495a72022-09-05 09:29:09 +00004606 ":include_perfetto_protozero_protozero",
Daniele Di Proietto8b46d692022-04-22 15:59:40 +01004607 ":include_perfetto_public_abi_base",
4608 ":include_perfetto_public_base",
Eric Secklera7870e62019-11-01 10:11:58 +00004609 ":include_perfetto_trace_processor_basic_types",
4610 ":include_perfetto_trace_processor_storage",
Primiano Tucci1d409982019-09-19 10:15:18 +01004611 ":include_perfetto_trace_processor_trace_processor",
4612 ],
4613 visibility = [
4614 "//visibility:public",
4615 ],
4616 deps = [
Lalit Maganti65600342019-09-19 21:35:35 +01004617 ":protos_perfetto_common_zero",
4618 ":protos_perfetto_config_android_zero",
4619 ":protos_perfetto_config_ftrace_zero",
4620 ":protos_perfetto_config_gpu_zero",
4621 ":protos_perfetto_config_inode_file_zero",
Sami Kyostiladd1cfd72020-12-14 15:48:25 +00004622 ":protos_perfetto_config_interceptors_zero",
Lalit Maganti65600342019-09-19 21:35:35 +01004623 ":protos_perfetto_config_power_zero",
4624 ":protos_perfetto_config_process_stats_zero",
4625 ":protos_perfetto_config_profiling_zero",
Hector Dearman5974de02022-06-23 15:31:40 +01004626 ":protos_perfetto_config_statsd_zero",
Lalit Maganti65600342019-09-19 21:35:35 +01004627 ":protos_perfetto_config_sys_stats_zero",
Hector Dearman48047d12022-08-02 14:00:46 +01004628 ":protos_perfetto_config_system_info_zero",
Sami Kyostila38cd0412020-02-12 17:09:52 +00004629 ":protos_perfetto_config_track_event_zero",
Lalit Maganti65600342019-09-19 21:35:35 +01004630 ":protos_perfetto_config_zero",
Lalit Maganti65600342019-09-19 21:35:35 +01004631 ":protos_perfetto_trace_android_zero",
Lalit Maganti65600342019-09-19 21:35:35 +01004632 ":protos_perfetto_trace_chrome_zero",
4633 ":protos_perfetto_trace_filesystem_zero",
4634 ":protos_perfetto_trace_ftrace_zero",
4635 ":protos_perfetto_trace_gpu_zero",
4636 ":protos_perfetto_trace_interned_data_zero",
4637 ":protos_perfetto_trace_minimal_zero",
4638 ":protos_perfetto_trace_non_minimal_zero",
4639 ":protos_perfetto_trace_perfetto_zero",
4640 ":protos_perfetto_trace_power_zero",
4641 ":protos_perfetto_trace_processor_metrics_impl_zero",
Deepanjan Roy77747772020-09-01 15:10:33 -04004642 ":protos_perfetto_trace_processor_zero",
Lalit Maganti65600342019-09-19 21:35:35 +01004643 ":protos_perfetto_trace_profiling_zero",
4644 ":protos_perfetto_trace_ps_zero",
Hector Dearman5974de02022-06-23 15:31:40 +01004645 ":protos_perfetto_trace_statsd_zero",
Lalit Maganti65600342019-09-19 21:35:35 +01004646 ":protos_perfetto_trace_sys_stats_zero",
Rafal Slawikb013a112020-04-03 16:12:02 +01004647 ":protos_perfetto_trace_system_info_zero",
Lalit Maganti65600342019-09-19 21:35:35 +01004648 ":protos_perfetto_trace_track_event_zero",
Igor Kraskevich49b42882022-03-21 13:03:02 +00004649 ":protos_perfetto_trace_translation_zero",
Igor Kraskevich3da925d2022-08-22 12:02:30 +00004650 ":protos_third_party_pprof_zero",
Primiano Tucci916f4e52020-10-16 20:40:33 +02004651 ":protozero",
4652 ":src_base_base",
Ryan7ad6b7d2021-04-22 17:03:54 +01004653 ":src_trace_processor_containers_containers",
Lalit Magantiecf23662022-12-02 18:34:37 +00004654 ":src_trace_processor_importers_proto_gen_cc_chrome_track_event_descriptor",
4655 ":src_trace_processor_importers_proto_gen_cc_config_descriptor",
Lalit Magantib7ad13b2022-11-25 15:55:38 +00004656 ":src_trace_processor_importers_proto_gen_cc_statsd_atoms_descriptor",
Lalit Magantib9a5b432022-12-01 16:13:11 +00004657 ":src_trace_processor_importers_proto_gen_cc_trace_descriptor",
Lalit Magantiecf23662022-12-02 18:34:37 +00004658 ":src_trace_processor_importers_proto_gen_cc_track_event_descriptor",
Lalit Maganti3b09a3f2020-09-14 13:28:44 +01004659 ":src_trace_processor_metrics_gen_cc_all_chrome_metrics_descriptor",
Lalit Maganti117272f2020-09-11 14:01:18 +01004660 ":src_trace_processor_metrics_gen_cc_metrics_descriptor",
Lalit Magantie277dcb2022-11-09 15:57:58 +00004661 ":src_trace_processor_metrics_sql_gen_amalgamated_sql_metrics",
4662 ":src_trace_processor_stdlib_gen_amalgamated_stdlib",
Lalit Maganti65600342019-09-19 21:35:35 +01004663 ] + PERFETTO_CONFIG.deps.jsoncpp +
Lalit Maganti65600342019-09-19 21:35:35 +01004664 PERFETTO_CONFIG.deps.sqlite +
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01004665 PERFETTO_CONFIG.deps.sqlite_ext_percentile +
Lalit Magantie277dcb2022-11-09 15:57:58 +00004666 PERFETTO_CONFIG.deps.zlib +
Ryan Savitskie65c4052022-03-24 18:22:19 +00004667 PERFETTO_CONFIG.deps.demangle_wrapper,
Lalit Magantif9c004d2020-01-06 14:44:34 +00004668 linkstatic = True,
Primiano Tucci1d409982019-09-19 10:15:18 +01004669)
4670
4671# GN target: //src/trace_processor:trace_processor_shell
4672perfetto_cc_binary(
4673 name = "trace_processor_shell",
4674 srcs = [
4675 ":include_perfetto_base_base",
4676 ":include_perfetto_ext_base_base",
Carlos Caballero Grolimund8a495a72022-09-05 09:29:09 +00004677 ":include_perfetto_ext_trace_processor_demangle",
Eric Seckler7fb1d232019-10-23 14:42:43 +01004678 ":include_perfetto_ext_trace_processor_export_json",
Sylwester Blaszczyk76aa7002020-11-27 15:48:21 +01004679 ":include_perfetto_ext_trace_processor_importers_memory_tracker_memory_tracker",
Primiano Tucci1d409982019-09-19 10:15:18 +01004680 ":include_perfetto_ext_traced_sys_stats_counters",
4681 ":include_perfetto_protozero_protozero",
Daniele Di Proietto8b46d692022-04-22 15:59:40 +01004682 ":include_perfetto_public_abi_base",
4683 ":include_perfetto_public_base",
Eric Secklera7870e62019-11-01 10:11:58 +00004684 ":include_perfetto_trace_processor_basic_types",
4685 ":include_perfetto_trace_processor_storage",
Primiano Tucci1d409982019-09-19 10:15:18 +01004686 ":include_perfetto_trace_processor_trace_processor",
Ryan Zuklieec18eb32022-07-25 15:51:59 -07004687 ":src_kernel_utils_syscall_table",
Florian Mayerf4255a42020-12-14 19:12:34 +00004688 ":src_profiling_deobfuscator",
Florian Mayer6cc8b1d2019-12-18 16:37:32 +00004689 ":src_profiling_symbolizer_symbolize_database",
4690 ":src_profiling_symbolizer_symbolizer",
Lalit Maganti7d4b92b2021-05-20 17:16:51 +01004691 ":src_protozero_proto_ring_buffer",
Lalit Maganti1534bb72021-04-23 14:11:26 +01004692 ":src_trace_processor_db_db",
Lalit Maganti3927af82022-05-09 20:23:40 +01004693 ":src_trace_processor_dynamic_dynamic",
Eric Secklera7870e62019-11-01 10:11:58 +00004694 ":src_trace_processor_export_json",
Primiano Tuccic9d912e2022-07-28 23:30:11 +01004695 ":src_trace_processor_importers_android_bugreport_android_bugreport",
Lalit Maganti1534bb72021-04-23 14:11:26 +01004696 ":src_trace_processor_importers_common_common",
Lalit Magantieb2645a2022-11-25 15:49:35 +00004697 ":src_trace_processor_importers_common_parser_types",
4698 ":src_trace_processor_importers_common_trace_parser_hdr",
Lalit Magantib9a5b432022-12-01 16:13:11 +00004699 ":src_trace_processor_importers_ftrace_ftrace_descriptors",
4700 ":src_trace_processor_importers_ftrace_full",
4701 ":src_trace_processor_importers_ftrace_minimal",
Lalit Magantife2519b2022-11-24 21:12:05 +00004702 ":src_trace_processor_importers_fuchsia_fuchsia_record",
Lalit Magantiecf23662022-12-02 18:34:37 +00004703 ":src_trace_processor_importers_fuchsia_full",
4704 ":src_trace_processor_importers_fuchsia_minimal",
4705 ":src_trace_processor_importers_gzip_full",
Lalit Magantib9a5b432022-12-01 16:13:11 +00004706 ":src_trace_processor_importers_i2c_full",
Lalit Magantiecf23662022-12-02 18:34:37 +00004707 ":src_trace_processor_importers_json_full",
Lalit Magantib9a5b432022-12-01 16:13:11 +00004708 ":src_trace_processor_importers_json_minimal",
Sylwester Blaszczyk76aa7002020-11-27 15:48:21 +01004709 ":src_trace_processor_importers_memory_tracker_graph_processor",
Lalit Maganti1bfdccc2022-11-28 21:19:35 +00004710 ":src_trace_processor_importers_ninja_ninja",
Lalit Magantib7ad13b2022-11-25 15:55:38 +00004711 ":src_trace_processor_importers_proto_full",
4712 ":src_trace_processor_importers_proto_minimal",
Lalit Magantiba07dcf2022-11-25 13:58:09 +00004713 ":src_trace_processor_importers_proto_packet_sequence_state_generation_hdr",
Lalit Magantib9a5b432022-12-01 16:13:11 +00004714 ":src_trace_processor_importers_proto_proto_importer_module",
4715 ":src_trace_processor_importers_syscalls_full",
Lalit Magantiecf23662022-12-02 18:34:37 +00004716 ":src_trace_processor_importers_systrace_full",
Lalit Magantife2519b2022-11-24 21:12:05 +00004717 ":src_trace_processor_importers_systrace_systrace_line",
Lalit Magantib9a5b432022-12-01 16:13:11 +00004718 ":src_trace_processor_importers_systrace_systrace_parser",
Primiano Tucci1d409982019-09-19 10:15:18 +01004719 ":src_trace_processor_lib",
Lalit Maganti427b8332020-05-27 16:09:45 +01004720 ":src_trace_processor_metatrace",
Lalit Maganti4c328e32021-11-09 19:29:50 +00004721 ":src_trace_processor_metrics_metrics",
Lalit Maganti628aca72022-12-08 14:20:25 +00004722 ":src_trace_processor_prelude_functions_functions",
4723 ":src_trace_processor_prelude_operators_operators",
Primiano Tuccia36cccc2019-10-27 13:15:04 +01004724 ":src_trace_processor_rpc_httpd",
4725 ":src_trace_processor_rpc_rpc",
Lalit Maganti1e7a5bb2022-11-25 15:50:43 +00004726 ":src_trace_processor_sorter_sorter",
Primiano Tucci1d409982019-09-19 10:15:18 +01004727 ":src_trace_processor_sqlite_sqlite",
Lalit Maganti3927af82022-05-09 20:23:40 +01004728 ":src_trace_processor_sqlite_sqlite_minimal",
Mikhail Khokhlov692087e2019-12-11 10:53:45 +00004729 ":src_trace_processor_storage_minimal",
Lalit Maganti7010b332020-02-07 10:51:15 +00004730 ":src_trace_processor_storage_storage",
Primiano Tucci1d409982019-09-19 10:15:18 +01004731 ":src_trace_processor_tables_tables",
Lalit Maganti779c02e2023-01-11 14:59:21 +00004732 ":src_trace_processor_tables_tables_python",
Lalit Maganti83b53fa2020-01-13 12:55:36 +00004733 ":src_trace_processor_types_types",
Lalit Magantie7107402020-04-15 13:41:12 +01004734 ":src_trace_processor_util_descriptors",
Lalit Maganti83ddffe2022-10-18 17:47:44 +01004735 ":src_trace_processor_util_glob",
Lalit Maganti69216ec2021-05-21 14:10:42 +01004736 ":src_trace_processor_util_gzip",
Alexander Timin97d87852021-05-17 18:01:33 +00004737 ":src_trace_processor_util_interned_message_view",
Carlos Caballero Grolimund8a495a72022-09-05 09:29:09 +00004738 ":src_trace_processor_util_profile_builder",
Igor Kraskevich3da925d2022-08-22 12:02:30 +00004739 ":src_trace_processor_util_proto_profiler",
Alexander Timin5a99b5c2021-05-11 22:48:07 +00004740 ":src_trace_processor_util_proto_to_args_parser",
Deepanjan Roy1e048012020-09-23 12:49:04 -04004741 ":src_trace_processor_util_protozero_to_text",
Lalit Magantiea630542022-11-21 19:35:02 +00004742 ":src_trace_processor_util_sql_argument",
Omar Elmekkawyd1c53452022-07-20 08:48:34 +00004743 ":src_trace_processor_util_stack_traces_util",
Anna Mayzner5980c712022-11-24 15:09:11 +00004744 ":src_trace_processor_util_stdlib",
Lalit Magantie7107402020-04-15 13:41:12 +01004745 ":src_trace_processor_util_util",
Primiano Tuccic9d912e2022-07-28 23:30:11 +01004746 ":src_trace_processor_util_zip_reader",
Lalit Maganti2410f202022-05-27 20:57:53 +01004747 ":src_trace_processor_views_views",
Primiano Tucci34bc5592021-02-19 17:53:36 +01004748 "src/trace_processor/trace_processor_shell.cc",
4749 "src/trace_processor/util/proto_to_json.cc",
4750 "src/trace_processor/util/proto_to_json.h",
Primiano Tucci1d409982019-09-19 10:15:18 +01004751 ],
4752 visibility = [
4753 "//visibility:public",
4754 ],
4755 deps = [
Lalit Maganti65600342019-09-19 21:35:35 +01004756 ":protos_perfetto_common_zero",
4757 ":protos_perfetto_config_android_zero",
4758 ":protos_perfetto_config_ftrace_zero",
4759 ":protos_perfetto_config_gpu_zero",
4760 ":protos_perfetto_config_inode_file_zero",
Sami Kyostiladd1cfd72020-12-14 15:48:25 +00004761 ":protos_perfetto_config_interceptors_zero",
Lalit Maganti65600342019-09-19 21:35:35 +01004762 ":protos_perfetto_config_power_zero",
4763 ":protos_perfetto_config_process_stats_zero",
4764 ":protos_perfetto_config_profiling_zero",
Hector Dearman5974de02022-06-23 15:31:40 +01004765 ":protos_perfetto_config_statsd_zero",
Lalit Maganti65600342019-09-19 21:35:35 +01004766 ":protos_perfetto_config_sys_stats_zero",
Hector Dearman48047d12022-08-02 14:00:46 +01004767 ":protos_perfetto_config_system_info_zero",
Sami Kyostila38cd0412020-02-12 17:09:52 +00004768 ":protos_perfetto_config_track_event_zero",
Lalit Maganti65600342019-09-19 21:35:35 +01004769 ":protos_perfetto_config_zero",
Lalit Maganti65600342019-09-19 21:35:35 +01004770 ":protos_perfetto_trace_android_zero",
Lalit Maganti65600342019-09-19 21:35:35 +01004771 ":protos_perfetto_trace_chrome_zero",
4772 ":protos_perfetto_trace_filesystem_zero",
4773 ":protos_perfetto_trace_ftrace_zero",
4774 ":protos_perfetto_trace_gpu_zero",
4775 ":protos_perfetto_trace_interned_data_zero",
4776 ":protos_perfetto_trace_minimal_zero",
4777 ":protos_perfetto_trace_non_minimal_zero",
4778 ":protos_perfetto_trace_perfetto_zero",
4779 ":protos_perfetto_trace_power_zero",
4780 ":protos_perfetto_trace_processor_metrics_impl_zero",
Primiano Tuccia36cccc2019-10-27 13:15:04 +01004781 ":protos_perfetto_trace_processor_zero",
Lalit Maganti65600342019-09-19 21:35:35 +01004782 ":protos_perfetto_trace_profiling_zero",
4783 ":protos_perfetto_trace_ps_zero",
Hector Dearman5974de02022-06-23 15:31:40 +01004784 ":protos_perfetto_trace_statsd_zero",
Lalit Maganti65600342019-09-19 21:35:35 +01004785 ":protos_perfetto_trace_sys_stats_zero",
Rafal Slawikb013a112020-04-03 16:12:02 +01004786 ":protos_perfetto_trace_system_info_zero",
Lalit Maganti65600342019-09-19 21:35:35 +01004787 ":protos_perfetto_trace_track_event_zero",
Igor Kraskevich49b42882022-03-21 13:03:02 +00004788 ":protos_perfetto_trace_translation_zero",
Igor Kraskevich3da925d2022-08-22 12:02:30 +00004789 ":protos_third_party_pprof_zero",
Primiano Tucci916f4e52020-10-16 20:40:33 +02004790 ":protozero",
4791 ":src_base_base",
Primiano Tucci44a15be2021-11-06 21:40:18 +00004792 ":src_base_http_http",
Daniele Di Proietto15b801e2022-06-30 12:56:13 +01004793 ":src_base_version",
Ryan7ad6b7d2021-04-22 17:03:54 +01004794 ":src_trace_processor_containers_containers",
Lalit Magantiecf23662022-12-02 18:34:37 +00004795 ":src_trace_processor_importers_proto_gen_cc_chrome_track_event_descriptor",
4796 ":src_trace_processor_importers_proto_gen_cc_config_descriptor",
Lalit Magantib7ad13b2022-11-25 15:55:38 +00004797 ":src_trace_processor_importers_proto_gen_cc_statsd_atoms_descriptor",
Lalit Magantib9a5b432022-12-01 16:13:11 +00004798 ":src_trace_processor_importers_proto_gen_cc_trace_descriptor",
Lalit Magantiecf23662022-12-02 18:34:37 +00004799 ":src_trace_processor_importers_proto_gen_cc_track_event_descriptor",
Lalit Maganti3b09a3f2020-09-14 13:28:44 +01004800 ":src_trace_processor_metrics_gen_cc_all_chrome_metrics_descriptor",
Lalit Maganti117272f2020-09-11 14:01:18 +01004801 ":src_trace_processor_metrics_gen_cc_metrics_descriptor",
Lalit Magantie277dcb2022-11-09 15:57:58 +00004802 ":src_trace_processor_metrics_sql_gen_amalgamated_sql_metrics",
4803 ":src_trace_processor_stdlib_gen_amalgamated_stdlib",
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01004804 ] + PERFETTO_CONFIG.deps.jsoncpp +
Lalit Maganti65600342019-09-19 21:35:35 +01004805 PERFETTO_CONFIG.deps.linenoise +
Lalit Magantia97798d2020-09-16 17:40:57 +01004806 PERFETTO_CONFIG.deps.protobuf_full +
Lalit Maganti65600342019-09-19 21:35:35 +01004807 PERFETTO_CONFIG.deps.sqlite +
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01004808 PERFETTO_CONFIG.deps.sqlite_ext_percentile +
Lalit Magantie277dcb2022-11-09 15:57:58 +00004809 PERFETTO_CONFIG.deps.zlib +
Ryan Savitskie65c4052022-03-24 18:22:19 +00004810 PERFETTO_CONFIG.deps.demangle_wrapper,
Primiano Tucci1d409982019-09-19 10:15:18 +01004811)
4812
Hector Dearmana9545e52022-05-17 12:23:25 +01004813# GN target: //src/traceconv:libpprofbuilder
Primiano Tucci1d409982019-09-19 10:15:18 +01004814perfetto_cc_library(
Primiano Tucci02c11762019-08-30 00:57:59 +02004815 name = "libpprofbuilder",
Ioannis Ilkosbd4ee3f2019-06-21 17:40:09 +01004816 srcs = [
Florian Mayer3be55fb2019-11-22 13:08:47 +00004817 ":src_profiling_deobfuscator",
Florian Mayerbd88ff82019-12-18 16:36:37 +00004818 ":src_profiling_symbolizer_symbolize_database",
4819 ":src_profiling_symbolizer_symbolizer",
Omar Elmekkawyd1c53452022-07-20 08:48:34 +00004820 ":src_trace_processor_util_stack_traces_util",
Hector Dearmana9545e52022-05-17 12:23:25 +01004821 ":src_traceconv_pprofbuilder",
4822 ":src_traceconv_utils",
Ioannis Ilkosbd4ee3f2019-06-21 17:40:09 +01004823 ],
4824 hdrs = [
Primiano Tucci1d409982019-09-19 10:15:18 +01004825 ":include_perfetto_base_base",
4826 ":include_perfetto_ext_base_base",
Florian Mayerbd88ff82019-12-18 16:36:37 +00004827 ":include_perfetto_profiling_pprof_builder",
Primiano Tucci1d409982019-09-19 10:15:18 +01004828 ":include_perfetto_protozero_protozero",
Daniele Di Proietto8b46d692022-04-22 15:59:40 +01004829 ":include_perfetto_public_abi_base",
4830 ":include_perfetto_public_base",
Eric Secklera7870e62019-11-01 10:11:58 +00004831 ":include_perfetto_trace_processor_basic_types",
4832 ":include_perfetto_trace_processor_storage",
Florian Mayer5403ce92019-09-19 19:55:17 +01004833 ":include_perfetto_trace_processor_trace_processor",
Primiano Tucci1d409982019-09-19 10:15:18 +01004834 ],
4835 visibility = [
4836 "//visibility:public",
Ioannis Ilkosbd4ee3f2019-06-21 17:40:09 +01004837 ],
4838 deps = [
Primiano Tucci2d813fd2019-11-26 17:27:07 +00004839 ":protos_perfetto_common_zero",
4840 ":protos_perfetto_config_android_zero",
4841 ":protos_perfetto_config_ftrace_zero",
4842 ":protos_perfetto_config_gpu_zero",
4843 ":protos_perfetto_config_inode_file_zero",
Sami Kyostiladd1cfd72020-12-14 15:48:25 +00004844 ":protos_perfetto_config_interceptors_zero",
Primiano Tucci2d813fd2019-11-26 17:27:07 +00004845 ":protos_perfetto_config_power_zero",
4846 ":protos_perfetto_config_process_stats_zero",
4847 ":protos_perfetto_config_profiling_zero",
Hector Dearman5974de02022-06-23 15:31:40 +01004848 ":protos_perfetto_config_statsd_zero",
Primiano Tucci2d813fd2019-11-26 17:27:07 +00004849 ":protos_perfetto_config_sys_stats_zero",
Hector Dearman48047d12022-08-02 14:00:46 +01004850 ":protos_perfetto_config_system_info_zero",
Sami Kyostila38cd0412020-02-12 17:09:52 +00004851 ":protos_perfetto_config_track_event_zero",
Primiano Tucci2d813fd2019-11-26 17:27:07 +00004852 ":protos_perfetto_config_zero",
4853 ":protos_perfetto_trace_android_zero",
4854 ":protos_perfetto_trace_chrome_zero",
4855 ":protos_perfetto_trace_filesystem_zero",
4856 ":protos_perfetto_trace_ftrace_zero",
4857 ":protos_perfetto_trace_gpu_zero",
4858 ":protos_perfetto_trace_interned_data_zero",
4859 ":protos_perfetto_trace_minimal_zero",
4860 ":protos_perfetto_trace_non_minimal_zero",
4861 ":protos_perfetto_trace_perfetto_zero",
4862 ":protos_perfetto_trace_power_zero",
4863 ":protos_perfetto_trace_profiling_zero",
4864 ":protos_perfetto_trace_ps_zero",
Hector Dearman5974de02022-06-23 15:31:40 +01004865 ":protos_perfetto_trace_statsd_zero",
Primiano Tucci2d813fd2019-11-26 17:27:07 +00004866 ":protos_perfetto_trace_sys_stats_zero",
Rafal Slawikb013a112020-04-03 16:12:02 +01004867 ":protos_perfetto_trace_system_info_zero",
Primiano Tucci2d813fd2019-11-26 17:27:07 +00004868 ":protos_perfetto_trace_track_event_zero",
Igor Kraskevich49b42882022-03-21 13:03:02 +00004869 ":protos_perfetto_trace_translation_zero",
Primiano Tucci2d813fd2019-11-26 17:27:07 +00004870 ":protos_third_party_pprof_zero",
Florian Mayerf4255a42020-12-14 19:12:34 +00004871 ":protozero",
Ryan7ad6b7d2021-04-22 17:03:54 +01004872 ":src_trace_processor_containers_containers",
Primiano Tucci2d813fd2019-11-26 17:27:07 +00004873 ] + PERFETTO_CONFIG.deps.zlib,
Lalit Magantif9c004d2020-01-06 14:44:34 +00004874 linkstatic = True,
Ioannis Ilkosbd4ee3f2019-06-21 17:40:09 +01004875)
4876
Hector Dearmana9545e52022-05-17 12:23:25 +01004877# GN target: //src/traceconv:traceconv
Lalit Maganti65600342019-09-19 21:35:35 +01004878perfetto_cc_binary(
Hector Dearmana9545e52022-05-17 12:23:25 +01004879 name = "traceconv",
Lalit Maganti65600342019-09-19 21:35:35 +01004880 srcs = [
4881 ":include_perfetto_base_base",
4882 ":include_perfetto_ext_base_base",
Carlos Caballero Grolimund8a495a72022-09-05 09:29:09 +00004883 ":include_perfetto_ext_trace_processor_demangle",
Eric Seckler7fb1d232019-10-23 14:42:43 +01004884 ":include_perfetto_ext_trace_processor_export_json",
Sylwester Blaszczyk76aa7002020-11-27 15:48:21 +01004885 ":include_perfetto_ext_trace_processor_importers_memory_tracker_memory_tracker",
Lalit Maganti65600342019-09-19 21:35:35 +01004886 ":include_perfetto_ext_traced_sys_stats_counters",
Florian Mayerbd88ff82019-12-18 16:36:37 +00004887 ":include_perfetto_profiling_pprof_builder",
Lalit Maganti65600342019-09-19 21:35:35 +01004888 ":include_perfetto_protozero_protozero",
Daniele Di Proietto8b46d692022-04-22 15:59:40 +01004889 ":include_perfetto_public_abi_base",
4890 ":include_perfetto_public_base",
Eric Secklera7870e62019-11-01 10:11:58 +00004891 ":include_perfetto_trace_processor_basic_types",
4892 ":include_perfetto_trace_processor_storage",
Lalit Maganti65600342019-09-19 21:35:35 +01004893 ":include_perfetto_trace_processor_trace_processor",
Ryan Zuklieec18eb32022-07-25 15:51:59 -07004894 ":src_kernel_utils_syscall_table",
Florian Mayer3be55fb2019-11-22 13:08:47 +00004895 ":src_profiling_deobfuscator",
Florian Mayerbd88ff82019-12-18 16:36:37 +00004896 ":src_profiling_symbolizer_symbolize_database",
4897 ":src_profiling_symbolizer_symbolizer",
Lalit Maganti7ee64682021-05-20 17:56:09 +01004898 ":src_protozero_proto_ring_buffer",
Lalit Maganti1534bb72021-04-23 14:11:26 +01004899 ":src_trace_processor_db_db",
Lalit Maganti3927af82022-05-09 20:23:40 +01004900 ":src_trace_processor_dynamic_dynamic",
Eric Secklera7870e62019-11-01 10:11:58 +00004901 ":src_trace_processor_export_json",
Primiano Tuccic9d912e2022-07-28 23:30:11 +01004902 ":src_trace_processor_importers_android_bugreport_android_bugreport",
Lalit Maganti1534bb72021-04-23 14:11:26 +01004903 ":src_trace_processor_importers_common_common",
Lalit Magantieb2645a2022-11-25 15:49:35 +00004904 ":src_trace_processor_importers_common_parser_types",
4905 ":src_trace_processor_importers_common_trace_parser_hdr",
Lalit Magantib9a5b432022-12-01 16:13:11 +00004906 ":src_trace_processor_importers_ftrace_ftrace_descriptors",
4907 ":src_trace_processor_importers_ftrace_full",
4908 ":src_trace_processor_importers_ftrace_minimal",
Lalit Magantife2519b2022-11-24 21:12:05 +00004909 ":src_trace_processor_importers_fuchsia_fuchsia_record",
Lalit Magantiecf23662022-12-02 18:34:37 +00004910 ":src_trace_processor_importers_fuchsia_full",
4911 ":src_trace_processor_importers_fuchsia_minimal",
4912 ":src_trace_processor_importers_gzip_full",
Lalit Magantib9a5b432022-12-01 16:13:11 +00004913 ":src_trace_processor_importers_i2c_full",
Lalit Magantiecf23662022-12-02 18:34:37 +00004914 ":src_trace_processor_importers_json_full",
Lalit Magantib9a5b432022-12-01 16:13:11 +00004915 ":src_trace_processor_importers_json_minimal",
Sylwester Blaszczyk76aa7002020-11-27 15:48:21 +01004916 ":src_trace_processor_importers_memory_tracker_graph_processor",
Lalit Maganti1bfdccc2022-11-28 21:19:35 +00004917 ":src_trace_processor_importers_ninja_ninja",
Lalit Magantib7ad13b2022-11-25 15:55:38 +00004918 ":src_trace_processor_importers_proto_full",
4919 ":src_trace_processor_importers_proto_minimal",
Lalit Magantiba07dcf2022-11-25 13:58:09 +00004920 ":src_trace_processor_importers_proto_packet_sequence_state_generation_hdr",
Lalit Magantib9a5b432022-12-01 16:13:11 +00004921 ":src_trace_processor_importers_proto_proto_importer_module",
4922 ":src_trace_processor_importers_syscalls_full",
Lalit Magantiecf23662022-12-02 18:34:37 +00004923 ":src_trace_processor_importers_systrace_full",
Lalit Magantife2519b2022-11-24 21:12:05 +00004924 ":src_trace_processor_importers_systrace_systrace_line",
Lalit Magantib9a5b432022-12-01 16:13:11 +00004925 ":src_trace_processor_importers_systrace_systrace_parser",
Lalit Maganti65600342019-09-19 21:35:35 +01004926 ":src_trace_processor_lib",
Lalit Maganti427b8332020-05-27 16:09:45 +01004927 ":src_trace_processor_metatrace",
Lalit Maganti4c328e32021-11-09 19:29:50 +00004928 ":src_trace_processor_metrics_metrics",
Lalit Maganti628aca72022-12-08 14:20:25 +00004929 ":src_trace_processor_prelude_functions_functions",
4930 ":src_trace_processor_prelude_operators_operators",
Lalit Maganti1e7a5bb2022-11-25 15:50:43 +00004931 ":src_trace_processor_sorter_sorter",
Lalit Maganti65600342019-09-19 21:35:35 +01004932 ":src_trace_processor_sqlite_sqlite",
Lalit Maganti3927af82022-05-09 20:23:40 +01004933 ":src_trace_processor_sqlite_sqlite_minimal",
Mikhail Khokhlov692087e2019-12-11 10:53:45 +00004934 ":src_trace_processor_storage_minimal",
Lalit Maganti7010b332020-02-07 10:51:15 +00004935 ":src_trace_processor_storage_storage",
Lalit Maganti65600342019-09-19 21:35:35 +01004936 ":src_trace_processor_tables_tables",
Lalit Maganti779c02e2023-01-11 14:59:21 +00004937 ":src_trace_processor_tables_tables_python",
Lalit Maganti83b53fa2020-01-13 12:55:36 +00004938 ":src_trace_processor_types_types",
Lalit Magantie7107402020-04-15 13:41:12 +01004939 ":src_trace_processor_util_descriptors",
Lalit Maganti83ddffe2022-10-18 17:47:44 +01004940 ":src_trace_processor_util_glob",
Lalit Maganti69216ec2021-05-21 14:10:42 +01004941 ":src_trace_processor_util_gzip",
Alexander Timin97d87852021-05-17 18:01:33 +00004942 ":src_trace_processor_util_interned_message_view",
Carlos Caballero Grolimund8a495a72022-09-05 09:29:09 +00004943 ":src_trace_processor_util_profile_builder",
Igor Kraskevich3da925d2022-08-22 12:02:30 +00004944 ":src_trace_processor_util_proto_profiler",
Alexander Timin5a99b5c2021-05-11 22:48:07 +00004945 ":src_trace_processor_util_proto_to_args_parser",
Deepanjan Roy1e048012020-09-23 12:49:04 -04004946 ":src_trace_processor_util_protozero_to_text",
Lalit Magantiea630542022-11-21 19:35:02 +00004947 ":src_trace_processor_util_sql_argument",
Omar Elmekkawyd1c53452022-07-20 08:48:34 +00004948 ":src_trace_processor_util_stack_traces_util",
Anna Mayzner5980c712022-11-24 15:09:11 +00004949 ":src_trace_processor_util_stdlib",
Lalit Magantie7107402020-04-15 13:41:12 +01004950 ":src_trace_processor_util_util",
Primiano Tuccic9d912e2022-07-28 23:30:11 +01004951 ":src_trace_processor_util_zip_reader",
Lalit Maganti2410f202022-05-27 20:57:53 +01004952 ":src_trace_processor_views_views",
Hector Dearmana9545e52022-05-17 12:23:25 +01004953 ":src_traceconv_lib",
4954 ":src_traceconv_main",
4955 ":src_traceconv_pprofbuilder",
4956 ":src_traceconv_utils",
Lalit Maganti65600342019-09-19 21:35:35 +01004957 ],
4958 visibility = [
4959 "//visibility:public",
4960 ],
4961 deps = [
Lalit Maganti65600342019-09-19 21:35:35 +01004962 ":protos_perfetto_common_zero",
Lalit Maganti65600342019-09-19 21:35:35 +01004963 ":protos_perfetto_config_android_zero",
Lalit Maganti65600342019-09-19 21:35:35 +01004964 ":protos_perfetto_config_ftrace_zero",
Lalit Maganti65600342019-09-19 21:35:35 +01004965 ":protos_perfetto_config_gpu_zero",
Lalit Maganti65600342019-09-19 21:35:35 +01004966 ":protos_perfetto_config_inode_file_zero",
Sami Kyostiladd1cfd72020-12-14 15:48:25 +00004967 ":protos_perfetto_config_interceptors_zero",
Lalit Maganti65600342019-09-19 21:35:35 +01004968 ":protos_perfetto_config_power_zero",
Lalit Maganti65600342019-09-19 21:35:35 +01004969 ":protos_perfetto_config_process_stats_zero",
Lalit Maganti65600342019-09-19 21:35:35 +01004970 ":protos_perfetto_config_profiling_zero",
Hector Dearman5974de02022-06-23 15:31:40 +01004971 ":protos_perfetto_config_statsd_zero",
Lalit Maganti65600342019-09-19 21:35:35 +01004972 ":protos_perfetto_config_sys_stats_zero",
Hector Dearman48047d12022-08-02 14:00:46 +01004973 ":protos_perfetto_config_system_info_zero",
Sami Kyostila38cd0412020-02-12 17:09:52 +00004974 ":protos_perfetto_config_track_event_zero",
Lalit Maganti65600342019-09-19 21:35:35 +01004975 ":protos_perfetto_config_zero",
Lalit Maganti65600342019-09-19 21:35:35 +01004976 ":protos_perfetto_trace_android_zero",
Lalit Maganti65600342019-09-19 21:35:35 +01004977 ":protos_perfetto_trace_chrome_zero",
Lalit Maganti65600342019-09-19 21:35:35 +01004978 ":protos_perfetto_trace_filesystem_zero",
Lalit Maganti65600342019-09-19 21:35:35 +01004979 ":protos_perfetto_trace_ftrace_zero",
Lalit Maganti65600342019-09-19 21:35:35 +01004980 ":protos_perfetto_trace_gpu_zero",
Lalit Maganti65600342019-09-19 21:35:35 +01004981 ":protos_perfetto_trace_interned_data_zero",
Lalit Maganti65600342019-09-19 21:35:35 +01004982 ":protos_perfetto_trace_minimal_zero",
Lalit Maganti65600342019-09-19 21:35:35 +01004983 ":protos_perfetto_trace_non_minimal_zero",
Lalit Maganti65600342019-09-19 21:35:35 +01004984 ":protos_perfetto_trace_perfetto_zero",
Lalit Maganti65600342019-09-19 21:35:35 +01004985 ":protos_perfetto_trace_power_zero",
4986 ":protos_perfetto_trace_processor_metrics_impl_zero",
Deepanjan Roy77747772020-09-01 15:10:33 -04004987 ":protos_perfetto_trace_processor_zero",
Lalit Maganti65600342019-09-19 21:35:35 +01004988 ":protos_perfetto_trace_profiling_zero",
Lalit Maganti65600342019-09-19 21:35:35 +01004989 ":protos_perfetto_trace_ps_zero",
Hector Dearman5974de02022-06-23 15:31:40 +01004990 ":protos_perfetto_trace_statsd_zero",
Lalit Maganti65600342019-09-19 21:35:35 +01004991 ":protos_perfetto_trace_sys_stats_zero",
Rafal Slawikb013a112020-04-03 16:12:02 +01004992 ":protos_perfetto_trace_system_info_zero",
Lalit Maganti65600342019-09-19 21:35:35 +01004993 ":protos_perfetto_trace_track_event_zero",
Igor Kraskevich49b42882022-03-21 13:03:02 +00004994 ":protos_perfetto_trace_translation_zero",
Primiano Tucci2d813fd2019-11-26 17:27:07 +00004995 ":protos_third_party_pprof_zero",
Primiano Tucci916f4e52020-10-16 20:40:33 +02004996 ":protozero",
4997 ":src_base_base",
Daniele Di Proietto15b801e2022-06-30 12:56:13 +01004998 ":src_base_version",
Ryan7ad6b7d2021-04-22 17:03:54 +01004999 ":src_trace_processor_containers_containers",
Lalit Magantiecf23662022-12-02 18:34:37 +00005000 ":src_trace_processor_importers_proto_gen_cc_chrome_track_event_descriptor",
5001 ":src_trace_processor_importers_proto_gen_cc_config_descriptor",
Lalit Magantib7ad13b2022-11-25 15:55:38 +00005002 ":src_trace_processor_importers_proto_gen_cc_statsd_atoms_descriptor",
Lalit Magantib9a5b432022-12-01 16:13:11 +00005003 ":src_trace_processor_importers_proto_gen_cc_trace_descriptor",
Lalit Magantiecf23662022-12-02 18:34:37 +00005004 ":src_trace_processor_importers_proto_gen_cc_track_event_descriptor",
Lalit Maganti3b09a3f2020-09-14 13:28:44 +01005005 ":src_trace_processor_metrics_gen_cc_all_chrome_metrics_descriptor",
Lalit Maganti117272f2020-09-11 14:01:18 +01005006 ":src_trace_processor_metrics_gen_cc_metrics_descriptor",
Lalit Magantie277dcb2022-11-09 15:57:58 +00005007 ":src_trace_processor_metrics_sql_gen_amalgamated_sql_metrics",
5008 ":src_trace_processor_stdlib_gen_amalgamated_stdlib",
Hector Dearmana9545e52022-05-17 12:23:25 +01005009 ":src_traceconv_gen_cc_trace_descriptor",
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01005010 ] + PERFETTO_CONFIG.deps.jsoncpp +
Lalit Maganti65600342019-09-19 21:35:35 +01005011 PERFETTO_CONFIG.deps.sqlite +
Matthew Clarkson9a5dfa52019-10-03 09:54:04 +01005012 PERFETTO_CONFIG.deps.sqlite_ext_percentile +
Lalit Magantie277dcb2022-11-09 15:57:58 +00005013 PERFETTO_CONFIG.deps.zlib +
Ryan Savitskie65c4052022-03-24 18:22:19 +00005014 PERFETTO_CONFIG.deps.demangle_wrapper,
Lalit Maganti65600342019-09-19 21:35:35 +01005015)
5016
Hector Dearmana9545e52022-05-17 12:23:25 +01005017# GN target: //src/traced/probes:traced_probes
5018perfetto_cc_binary(
5019 name = "traced_probes",
5020 srcs = [
5021 ":include_perfetto_ext_traced_traced",
5022 "src/traced/probes/main.cc",
5023 ],
5024 visibility = [
5025 "//visibility:public",
5026 ],
5027 deps = [
5028 ":libperfetto",
5029 ],
5030)
5031
5032# GN target: //src/traced/service:traced
5033perfetto_cc_binary(
5034 name = "traced",
5035 srcs = [
5036 ":include_perfetto_ext_traced_traced",
5037 "src/traced/service/main.cc",
5038 ],
5039 visibility = [
5040 "//visibility:public",
5041 ],
5042 deps = [
5043 ":libperfetto",
5044 ],
5045)
5046
Primiano Tucci1d409982019-09-19 10:15:18 +01005047# Content from BUILD.extras
5048
5049build_config_dir_ = "include/perfetto/base/build_configs/bazel"
5050
5051# Deliberately NOT a perfetto_cc_library, to avoid cyclic deps.
5052# This is pulled as a default dep by all targets.
Harvey Yang321c4fc2021-10-25 14:11:50 +08005053perfetto_build_config_cc_library(
Primiano Tucci1d409982019-09-19 10:15:18 +01005054 name = "build_config_hdr",
5055 hdrs = [build_config_dir_ + "/perfetto_build_flags.h"],
5056 includes = [build_config_dir_],
Primiano Tucci02c11762019-08-30 00:57:59 +02005057)
5058
Primiano Tucci1d409982019-09-19 10:15:18 +01005059perfetto_py_binary(
Anna Mayznercc18bfd2022-11-03 14:05:19 +00005060 name = "gen_amalgamated_sql_py",
Lalit Maganti26f69bd2019-04-29 18:23:47 +01005061 srcs = [
Anna Mayznercc18bfd2022-11-03 14:05:19 +00005062 "tools/gen_amalgamated_sql.py",
Lalit Magantiab619fa2019-05-02 12:56:37 +01005063 ],
Anna Mayznercc18bfd2022-11-03 14:05:19 +00005064 main = "tools/gen_amalgamated_sql.py",
Lalit Magantic449f772020-06-03 14:20:10 +01005065 python_version = "PY3",
Lalit Maganti26f69bd2019-04-29 18:23:47 +01005066)
Lalit Maganti65600342019-09-19 21:35:35 +01005067
Lalit Maganti117272f2020-09-11 14:01:18 +01005068perfetto_py_binary(
5069 name = "gen_cc_proto_descriptor_py",
5070 srcs = [
5071 "tools/gen_cc_proto_descriptor.py",
5072 ],
5073 main = "tools/gen_cc_proto_descriptor.py",
5074 python_version = "PY3",
5075)
5076
Lalit Maganti225ae652022-06-27 21:28:21 +01005077perfetto_go_proto_library(
5078 name = "protos_perfetto_trace_non_minimal_protos_go_proto",
5079 visibility = PERFETTO_CONFIG.go_proto_library_visibility,
Lalit Maganti65600342019-09-19 21:35:35 +01005080 deps = [
Lalit Maganti225ae652022-06-27 21:28:21 +01005081 ":protos_perfetto_trace_non_minimal_protos",
Lalit Maganti65600342019-09-19 21:35:35 +01005082 ],
5083)
5084
Lalit Maganti225ae652022-06-27 21:28:21 +01005085perfetto_go_proto_library(
5086 name = "protos_perfetto_trace_track_event_protos_go_proto",
5087 visibility = PERFETTO_CONFIG.go_proto_library_visibility,
Lalit Maganti65600342019-09-19 21:35:35 +01005088 deps = [
Lalit Maganti225ae652022-06-27 21:28:21 +01005089 ":protos_perfetto_trace_track_event_protos",
Lalit Maganti65600342019-09-19 21:35:35 +01005090 ],
Lalit Maganti46e2bda2020-05-06 12:51:33 +01005091)
5092
Lalit Maganti66732a02022-10-06 11:53:46 +01005093perfetto_go_proto_library(
5094 name = "protos_perfetto_metrics_protos_go_proto",
5095 visibility = PERFETTO_CONFIG.go_proto_library_visibility,
5096 deps = [
5097 ":protos_perfetto_metrics_protos",
5098 ],
5099)
5100
5101perfetto_go_proto_library(
5102 name = "protos_perfetto_metrics_android_protos_go_proto",
5103 visibility = PERFETTO_CONFIG.go_proto_library_visibility,
5104 deps = [
5105 ":protos_perfetto_metrics_android_protos",
5106 ],
5107)
5108
Primiano Tucciec590132020-11-16 14:16:44 +01005109# This is overridden in google internal builds via
5110# PERFETTO_CONFIG.deps.version_header (see perfetto_cfg.bzl).
5111perfetto_cc_library(
5112 name = "cc_perfetto_version_header",
5113 hdrs = ["perfetto_version.gen.h"],
5114)
5115
5116perfetto_py_binary(
5117 name = "gen_version_header_py",
5118 srcs = ["tools/write_version_header.py"],
5119 data = ["CHANGELOG"],
5120 main = "tools/write_version_header.py",
5121 python_version = "PY3",
5122)