blob: 12e2e6103444e45c2c59e71024aab6bd66e92ab5 [file] [log] [blame]
Sami Kyostilab27619f2017-12-13 19:22:16 +00001// Copyright (C) 2017 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//
15// This file is automatically generated by tools/gen_android_bp. Do not edit.
Sami Kyostila2357b032017-12-06 18:38:17 +000016
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010017// GN: //src/profiling/memory:heapprofd
Florian Mayerb6a921f2018-10-18 18:55:23 +010018cc_binary {
Colin Cross84172332021-09-14 16:41:33 -070019 name: "heapprofd",
20 srcs: [
Lalit Maganti52f13362023-01-23 16:38:01 +000021 ":perfetto_base_default_platform",
Colin Cross84172332021-09-14 16:41:33 -070022 ":perfetto_include_perfetto_base_base",
23 ":perfetto_include_perfetto_ext_base_base",
Daniele Di Proietto15b801e2022-06-30 12:56:13 +010024 ":perfetto_include_perfetto_ext_base_version",
Colin Cross84172332021-09-14 16:41:33 -070025 ":perfetto_include_perfetto_ext_ipc_ipc",
26 ":perfetto_include_perfetto_ext_tracing_core_core",
27 ":perfetto_include_perfetto_ext_tracing_ipc_ipc",
Colin Cross84172332021-09-14 16:41:33 -070028 ":perfetto_include_perfetto_protozero_protozero",
Daniele Di Proietto8b46d692022-04-22 15:59:40 +010029 ":perfetto_include_perfetto_public_abi_base",
30 ":perfetto_include_perfetto_public_base",
Daniele Di Proietto7451ea62023-01-09 11:31:16 +000031 ":perfetto_include_perfetto_public_protozero",
Colin Cross84172332021-09-14 16:41:33 -070032 ":perfetto_include_perfetto_tracing_core_core",
33 ":perfetto_include_perfetto_tracing_core_forward_decls",
34 ":perfetto_include_perfetto_tracing_tracing",
35 ":perfetto_protos_perfetto_common_cpp_gen",
36 ":perfetto_protos_perfetto_common_zero_gen",
37 ":perfetto_protos_perfetto_config_android_cpp_gen",
38 ":perfetto_protos_perfetto_config_android_zero_gen",
39 ":perfetto_protos_perfetto_config_cpp_gen",
40 ":perfetto_protos_perfetto_config_ftrace_cpp_gen",
41 ":perfetto_protos_perfetto_config_ftrace_zero_gen",
42 ":perfetto_protos_perfetto_config_gpu_cpp_gen",
43 ":perfetto_protos_perfetto_config_gpu_zero_gen",
44 ":perfetto_protos_perfetto_config_inode_file_cpp_gen",
45 ":perfetto_protos_perfetto_config_inode_file_zero_gen",
46 ":perfetto_protos_perfetto_config_interceptors_cpp_gen",
47 ":perfetto_protos_perfetto_config_interceptors_zero_gen",
48 ":perfetto_protos_perfetto_config_power_cpp_gen",
49 ":perfetto_protos_perfetto_config_power_zero_gen",
50 ":perfetto_protos_perfetto_config_process_stats_cpp_gen",
51 ":perfetto_protos_perfetto_config_process_stats_zero_gen",
52 ":perfetto_protos_perfetto_config_profiling_cpp_gen",
53 ":perfetto_protos_perfetto_config_profiling_zero_gen",
Hector Dearman5974de02022-06-23 15:31:40 +010054 ":perfetto_protos_perfetto_config_statsd_cpp_gen",
55 ":perfetto_protos_perfetto_config_statsd_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -070056 ":perfetto_protos_perfetto_config_sys_stats_cpp_gen",
57 ":perfetto_protos_perfetto_config_sys_stats_zero_gen",
Hector Dearman48047d12022-08-02 14:00:46 +010058 ":perfetto_protos_perfetto_config_system_info_cpp_gen",
59 ":perfetto_protos_perfetto_config_system_info_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -070060 ":perfetto_protos_perfetto_config_track_event_cpp_gen",
61 ":perfetto_protos_perfetto_config_track_event_zero_gen",
62 ":perfetto_protos_perfetto_config_zero_gen",
63 ":perfetto_protos_perfetto_ipc_cpp_gen",
64 ":perfetto_protos_perfetto_ipc_ipc_gen",
65 ":perfetto_protos_perfetto_ipc_wire_protocol_cpp_gen",
Kean Mariotti4ce4f042024-05-02 07:55:57 +000066 ":perfetto_protos_perfetto_trace_android_winscope_common_zero_gen",
67 ":perfetto_protos_perfetto_trace_android_winscope_regular_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -070068 ":perfetto_protos_perfetto_trace_android_zero_gen",
69 ":perfetto_protos_perfetto_trace_chrome_zero_gen",
Alex Attar3cacb1d2023-10-10 13:13:25 -040070 ":perfetto_protos_perfetto_trace_etw_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -070071 ":perfetto_protos_perfetto_trace_filesystem_zero_gen",
72 ":perfetto_protos_perfetto_trace_ftrace_zero_gen",
73 ":perfetto_protos_perfetto_trace_gpu_zero_gen",
74 ":perfetto_protos_perfetto_trace_interned_data_zero_gen",
75 ":perfetto_protos_perfetto_trace_minimal_zero_gen",
76 ":perfetto_protos_perfetto_trace_non_minimal_zero_gen",
77 ":perfetto_protos_perfetto_trace_perfetto_zero_gen",
78 ":perfetto_protos_perfetto_trace_power_zero_gen",
79 ":perfetto_protos_perfetto_trace_profiling_zero_gen",
80 ":perfetto_protos_perfetto_trace_ps_zero_gen",
Hector Dearman5974de02022-06-23 15:31:40 +010081 ":perfetto_protos_perfetto_trace_statsd_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -070082 ":perfetto_protos_perfetto_trace_sys_stats_zero_gen",
83 ":perfetto_protos_perfetto_trace_system_info_zero_gen",
84 ":perfetto_protos_perfetto_trace_track_event_cpp_gen",
85 ":perfetto_protos_perfetto_trace_track_event_zero_gen",
Igor Kraskevich49b42882022-03-21 13:03:02 +000086 ":perfetto_protos_perfetto_trace_translation_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -070087 ":perfetto_src_base_base",
88 ":perfetto_src_base_unix_socket",
Daniele Di Proietto15b801e2022-06-30 12:56:13 +010089 ":perfetto_src_base_version",
Colin Cross84172332021-09-14 16:41:33 -070090 ":perfetto_src_ipc_client",
91 ":perfetto_src_ipc_common",
92 ":perfetto_src_profiling_common_callstack_trie",
93 ":perfetto_src_profiling_common_interner",
94 ":perfetto_src_profiling_common_interning_output",
Ryan Savitskia3f29b32022-04-04 13:18:49 +010095 ":perfetto_src_profiling_common_proc_cmdline",
Colin Cross84172332021-09-14 16:41:33 -070096 ":perfetto_src_profiling_common_proc_utils",
97 ":perfetto_src_profiling_common_producer_support",
98 ":perfetto_src_profiling_common_profiler_guardrails",
99 ":perfetto_src_profiling_common_unwind_support",
100 ":perfetto_src_profiling_memory_daemon",
101 ":perfetto_src_profiling_memory_heapprofd_main",
102 ":perfetto_src_profiling_memory_ring_buffer",
103 ":perfetto_src_profiling_memory_scoped_spinlock",
104 ":perfetto_src_profiling_memory_wire_protocol",
105 ":perfetto_src_protozero_protozero",
106 ":perfetto_src_traced_probes_packages_list_packages_list_parser",
107 ":perfetto_src_tracing_common",
108 ":perfetto_src_tracing_core_core",
109 ":perfetto_src_tracing_ipc_common",
Primiano Tucci8761a312021-11-25 17:17:23 +0000110 ":perfetto_src_tracing_ipc_default_socket",
Colin Cross84172332021-09-14 16:41:33 -0700111 ":perfetto_src_tracing_ipc_producer_producer",
112 "src/profiling/memory/main.cc",
113 ],
114 shared_libs: [
115 "libbase",
116 "liblog",
117 "libprocinfo",
118 "libunwindstack",
119 ],
120 init_rc: [
121 "heapprofd.rc",
122 ],
123 generated_headers: [
124 "perfetto_protos_perfetto_common_cpp_gen_headers",
125 "perfetto_protos_perfetto_common_zero_gen_headers",
126 "perfetto_protos_perfetto_config_android_cpp_gen_headers",
127 "perfetto_protos_perfetto_config_android_zero_gen_headers",
128 "perfetto_protos_perfetto_config_cpp_gen_headers",
129 "perfetto_protos_perfetto_config_ftrace_cpp_gen_headers",
130 "perfetto_protos_perfetto_config_ftrace_zero_gen_headers",
131 "perfetto_protos_perfetto_config_gpu_cpp_gen_headers",
132 "perfetto_protos_perfetto_config_gpu_zero_gen_headers",
133 "perfetto_protos_perfetto_config_inode_file_cpp_gen_headers",
134 "perfetto_protos_perfetto_config_inode_file_zero_gen_headers",
135 "perfetto_protos_perfetto_config_interceptors_cpp_gen_headers",
136 "perfetto_protos_perfetto_config_interceptors_zero_gen_headers",
137 "perfetto_protos_perfetto_config_power_cpp_gen_headers",
138 "perfetto_protos_perfetto_config_power_zero_gen_headers",
139 "perfetto_protos_perfetto_config_process_stats_cpp_gen_headers",
140 "perfetto_protos_perfetto_config_process_stats_zero_gen_headers",
141 "perfetto_protos_perfetto_config_profiling_cpp_gen_headers",
142 "perfetto_protos_perfetto_config_profiling_zero_gen_headers",
Hector Dearman5974de02022-06-23 15:31:40 +0100143 "perfetto_protos_perfetto_config_statsd_cpp_gen_headers",
144 "perfetto_protos_perfetto_config_statsd_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -0700145 "perfetto_protos_perfetto_config_sys_stats_cpp_gen_headers",
146 "perfetto_protos_perfetto_config_sys_stats_zero_gen_headers",
Hector Dearman48047d12022-08-02 14:00:46 +0100147 "perfetto_protos_perfetto_config_system_info_cpp_gen_headers",
148 "perfetto_protos_perfetto_config_system_info_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -0700149 "perfetto_protos_perfetto_config_track_event_cpp_gen_headers",
150 "perfetto_protos_perfetto_config_track_event_zero_gen_headers",
151 "perfetto_protos_perfetto_config_zero_gen_headers",
152 "perfetto_protos_perfetto_ipc_cpp_gen_headers",
153 "perfetto_protos_perfetto_ipc_ipc_gen_headers",
154 "perfetto_protos_perfetto_ipc_wire_protocol_cpp_gen_headers",
Kean Mariotti4ce4f042024-05-02 07:55:57 +0000155 "perfetto_protos_perfetto_trace_android_winscope_common_zero_gen_headers",
156 "perfetto_protos_perfetto_trace_android_winscope_regular_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -0700157 "perfetto_protos_perfetto_trace_android_zero_gen_headers",
158 "perfetto_protos_perfetto_trace_chrome_zero_gen_headers",
Alex Attar3cacb1d2023-10-10 13:13:25 -0400159 "perfetto_protos_perfetto_trace_etw_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -0700160 "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers",
161 "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers",
162 "perfetto_protos_perfetto_trace_gpu_zero_gen_headers",
163 "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers",
164 "perfetto_protos_perfetto_trace_minimal_zero_gen_headers",
165 "perfetto_protos_perfetto_trace_non_minimal_zero_gen_headers",
166 "perfetto_protos_perfetto_trace_perfetto_zero_gen_headers",
167 "perfetto_protos_perfetto_trace_power_zero_gen_headers",
168 "perfetto_protos_perfetto_trace_profiling_zero_gen_headers",
169 "perfetto_protos_perfetto_trace_ps_zero_gen_headers",
Hector Dearman5974de02022-06-23 15:31:40 +0100170 "perfetto_protos_perfetto_trace_statsd_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -0700171 "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers",
172 "perfetto_protos_perfetto_trace_system_info_zero_gen_headers",
173 "perfetto_protos_perfetto_trace_track_event_cpp_gen_headers",
174 "perfetto_protos_perfetto_trace_track_event_zero_gen_headers",
Igor Kraskevich49b42882022-03-21 13:03:02 +0000175 "perfetto_protos_perfetto_trace_translation_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -0700176 "perfetto_src_base_version_gen_h",
177 ],
178 defaults: [
179 "perfetto_defaults",
180 ],
Colin Cross84172332021-09-14 16:41:33 -0700181 header_libs: [
182 "bionic_libc_platform_headers",
183 ],
Florian Mayerb6a921f2018-10-18 18:55:23 +0100184}
185
Florian Mayer72e87362020-12-11 19:37:25 +0000186// GN: //src/profiling/memory:heapprofd_api_noop
187cc_library_shared {
Colin Cross84172332021-09-14 16:41:33 -0700188 name: "heapprofd_api_noop",
189 srcs: [
190 "src/profiling/memory/client_api_noop.cc",
Florian Mayer5d09f5e2021-02-19 14:59:49 +0000191 ],
Colin Cross84172332021-09-14 16:41:33 -0700192 export_include_dirs: [
193 "src/profiling/memory/include",
194 ],
195 defaults: [
196 "perfetto_defaults",
197 ],
198 version_script: "src/profiling/memory/heapprofd_client_api.map.txt",
199 stubs: {
200 versions: [
201 "S",
202 ],
203 symbol_file: "src/profiling/memory/heapprofd_client_api.map.txt",
204 },
Florian Mayer72e87362020-12-11 19:37:25 +0000205}
206
Primiano Tuccif0d7ef82019-10-04 15:35:24 +0100207// GN: //src/profiling/memory:heapprofd_client
Florian Mayerb6a921f2018-10-18 18:55:23 +0100208cc_library_shared {
Colin Cross84172332021-09-14 16:41:33 -0700209 name: "heapprofd_client",
210 srcs: [
Lalit Maganti52f13362023-01-23 16:38:01 +0000211 ":perfetto_base_default_platform",
Colin Cross84172332021-09-14 16:41:33 -0700212 ":perfetto_include_perfetto_base_base",
213 ":perfetto_include_perfetto_ext_base_base",
Daniele Di Proietto8b46d692022-04-22 15:59:40 +0100214 ":perfetto_include_perfetto_public_abi_base",
215 ":perfetto_include_perfetto_public_base",
Colin Cross84172332021-09-14 16:41:33 -0700216 ":perfetto_src_base_base",
217 ":perfetto_src_profiling_memory_malloc_interceptor_bionic_hooks",
218 ":perfetto_src_profiling_memory_wrap_allocators",
219 ],
220 shared_libs: [
221 "heapprofd_client_api",
222 ],
223 static_libs: [
224 "libasync_safe",
225 ],
Colin Cross84172332021-09-14 16:41:33 -0700226 defaults: [
227 "perfetto_defaults",
228 ],
229 cflags: [
230 "-DPERFETTO_ANDROID_ASYNC_SAFE_LOG",
231 ],
232 include_dirs: [
233 "bionic/libc",
234 ],
235 header_libs: [
236 "bionic_libc_platform_headers",
237 ],
Florian Mayer23f79372020-06-16 14:37:06 +0200238}
239
240// GN: //src/profiling/memory:heapprofd_client_api
241cc_library_shared {
Colin Cross84172332021-09-14 16:41:33 -0700242 name: "heapprofd_client_api",
243 srcs: [
Lalit Maganti52f13362023-01-23 16:38:01 +0000244 ":perfetto_base_default_platform",
Colin Cross84172332021-09-14 16:41:33 -0700245 ":perfetto_include_perfetto_base_base",
246 ":perfetto_include_perfetto_ext_base_base",
Daniele Di Proietto8b46d692022-04-22 15:59:40 +0100247 ":perfetto_include_perfetto_public_abi_base",
248 ":perfetto_include_perfetto_public_base",
Colin Cross84172332021-09-14 16:41:33 -0700249 ":perfetto_src_base_base",
250 ":perfetto_src_base_unix_socket",
Colin Cross84172332021-09-14 16:41:33 -0700251 ":perfetto_src_profiling_memory_client",
252 ":perfetto_src_profiling_memory_client_api",
253 ":perfetto_src_profiling_memory_ring_buffer",
254 ":perfetto_src_profiling_memory_scoped_spinlock",
255 ":perfetto_src_profiling_memory_wire_protocol",
256 "src/profiling/memory/client_api_factory_android.cc",
Florian Mayer7ed3a952021-01-08 10:55:25 +0000257 ],
Colin Cross84172332021-09-14 16:41:33 -0700258 shared_libs: [
259 "libbase",
260 "libprocinfo",
261 "libunwindstack",
262 ],
263 static_libs: [
264 "libasync_safe",
265 ],
266 export_include_dirs: [
267 "src/profiling/memory/include",
268 ],
Colin Cross84172332021-09-14 16:41:33 -0700269 defaults: [
270 "perfetto_defaults",
271 ],
272 cflags: [
273 "-DPERFETTO_ANDROID_ASYNC_SAFE_LOG",
274 "-Werror=global-constructors",
275 "-Wglobal-constructors",
276 ],
277 header_libs: [
278 "bionic_libc_platform_headers",
279 ],
280 version_script: "src/profiling/memory/heapprofd_client_api.map.txt",
281 stubs: {
282 versions: [
283 "S",
284 ],
285 symbol_file: "src/profiling/memory/heapprofd_client_api.map.txt",
286 },
Florian Mayerb6a921f2018-10-18 18:55:23 +0100287}
288
Florian Mayer50f07a62020-07-15 17:15:58 +0100289// GN: //src/profiling/memory:heapprofd_standalone_client
290cc_library_shared {
Colin Cross84172332021-09-14 16:41:33 -0700291 name: "heapprofd_standalone_client",
292 srcs: [
Lalit Maganti52f13362023-01-23 16:38:01 +0000293 ":perfetto_base_default_platform",
Colin Cross84172332021-09-14 16:41:33 -0700294 ":perfetto_include_perfetto_base_base",
295 ":perfetto_include_perfetto_ext_base_base",
Daniele Di Proietto15b801e2022-06-30 12:56:13 +0100296 ":perfetto_include_perfetto_ext_base_version",
Colin Cross84172332021-09-14 16:41:33 -0700297 ":perfetto_include_perfetto_ext_ipc_ipc",
298 ":perfetto_include_perfetto_ext_tracing_core_core",
299 ":perfetto_include_perfetto_ext_tracing_ipc_ipc",
Colin Cross84172332021-09-14 16:41:33 -0700300 ":perfetto_include_perfetto_protozero_protozero",
Daniele Di Proietto8b46d692022-04-22 15:59:40 +0100301 ":perfetto_include_perfetto_public_abi_base",
302 ":perfetto_include_perfetto_public_base",
Daniele Di Proietto7451ea62023-01-09 11:31:16 +0000303 ":perfetto_include_perfetto_public_protozero",
Colin Cross84172332021-09-14 16:41:33 -0700304 ":perfetto_include_perfetto_tracing_core_core",
305 ":perfetto_include_perfetto_tracing_core_forward_decls",
306 ":perfetto_include_perfetto_tracing_tracing",
307 ":perfetto_protos_perfetto_common_cpp_gen",
308 ":perfetto_protos_perfetto_common_zero_gen",
309 ":perfetto_protos_perfetto_config_android_cpp_gen",
310 ":perfetto_protos_perfetto_config_android_zero_gen",
311 ":perfetto_protos_perfetto_config_cpp_gen",
312 ":perfetto_protos_perfetto_config_ftrace_cpp_gen",
313 ":perfetto_protos_perfetto_config_ftrace_zero_gen",
314 ":perfetto_protos_perfetto_config_gpu_cpp_gen",
315 ":perfetto_protos_perfetto_config_gpu_zero_gen",
316 ":perfetto_protos_perfetto_config_inode_file_cpp_gen",
317 ":perfetto_protos_perfetto_config_inode_file_zero_gen",
318 ":perfetto_protos_perfetto_config_interceptors_cpp_gen",
319 ":perfetto_protos_perfetto_config_interceptors_zero_gen",
320 ":perfetto_protos_perfetto_config_power_cpp_gen",
321 ":perfetto_protos_perfetto_config_power_zero_gen",
322 ":perfetto_protos_perfetto_config_process_stats_cpp_gen",
323 ":perfetto_protos_perfetto_config_process_stats_zero_gen",
324 ":perfetto_protos_perfetto_config_profiling_cpp_gen",
325 ":perfetto_protos_perfetto_config_profiling_zero_gen",
Hector Dearman5974de02022-06-23 15:31:40 +0100326 ":perfetto_protos_perfetto_config_statsd_cpp_gen",
327 ":perfetto_protos_perfetto_config_statsd_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -0700328 ":perfetto_protos_perfetto_config_sys_stats_cpp_gen",
329 ":perfetto_protos_perfetto_config_sys_stats_zero_gen",
Hector Dearman48047d12022-08-02 14:00:46 +0100330 ":perfetto_protos_perfetto_config_system_info_cpp_gen",
331 ":perfetto_protos_perfetto_config_system_info_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -0700332 ":perfetto_protos_perfetto_config_track_event_cpp_gen",
333 ":perfetto_protos_perfetto_config_track_event_zero_gen",
334 ":perfetto_protos_perfetto_config_zero_gen",
335 ":perfetto_protos_perfetto_ipc_cpp_gen",
336 ":perfetto_protos_perfetto_ipc_ipc_gen",
337 ":perfetto_protos_perfetto_ipc_wire_protocol_cpp_gen",
Kean Mariotti4ce4f042024-05-02 07:55:57 +0000338 ":perfetto_protos_perfetto_trace_android_winscope_common_zero_gen",
339 ":perfetto_protos_perfetto_trace_android_winscope_regular_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -0700340 ":perfetto_protos_perfetto_trace_android_zero_gen",
341 ":perfetto_protos_perfetto_trace_chrome_zero_gen",
Alex Attar3cacb1d2023-10-10 13:13:25 -0400342 ":perfetto_protos_perfetto_trace_etw_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -0700343 ":perfetto_protos_perfetto_trace_filesystem_zero_gen",
344 ":perfetto_protos_perfetto_trace_ftrace_zero_gen",
345 ":perfetto_protos_perfetto_trace_gpu_zero_gen",
346 ":perfetto_protos_perfetto_trace_interned_data_zero_gen",
347 ":perfetto_protos_perfetto_trace_minimal_zero_gen",
348 ":perfetto_protos_perfetto_trace_non_minimal_zero_gen",
349 ":perfetto_protos_perfetto_trace_perfetto_zero_gen",
350 ":perfetto_protos_perfetto_trace_power_zero_gen",
351 ":perfetto_protos_perfetto_trace_profiling_zero_gen",
352 ":perfetto_protos_perfetto_trace_ps_zero_gen",
Hector Dearman5974de02022-06-23 15:31:40 +0100353 ":perfetto_protos_perfetto_trace_statsd_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -0700354 ":perfetto_protos_perfetto_trace_sys_stats_zero_gen",
355 ":perfetto_protos_perfetto_trace_system_info_zero_gen",
356 ":perfetto_protos_perfetto_trace_track_event_cpp_gen",
357 ":perfetto_protos_perfetto_trace_track_event_zero_gen",
Igor Kraskevich49b42882022-03-21 13:03:02 +0000358 ":perfetto_protos_perfetto_trace_translation_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -0700359 ":perfetto_src_base_base",
360 ":perfetto_src_base_unix_socket",
Daniele Di Proietto15b801e2022-06-30 12:56:13 +0100361 ":perfetto_src_base_version",
Colin Cross84172332021-09-14 16:41:33 -0700362 ":perfetto_src_ipc_client",
363 ":perfetto_src_ipc_common",
364 ":perfetto_src_profiling_common_callstack_trie",
365 ":perfetto_src_profiling_common_interner",
366 ":perfetto_src_profiling_common_interning_output",
Ryan Savitskia3f29b32022-04-04 13:18:49 +0100367 ":perfetto_src_profiling_common_proc_cmdline",
Colin Cross84172332021-09-14 16:41:33 -0700368 ":perfetto_src_profiling_common_proc_utils",
369 ":perfetto_src_profiling_common_producer_support",
370 ":perfetto_src_profiling_common_profiler_guardrails",
371 ":perfetto_src_profiling_common_unwind_support",
372 ":perfetto_src_profiling_memory_client",
373 ":perfetto_src_profiling_memory_client_api",
374 ":perfetto_src_profiling_memory_client_api_standalone",
375 ":perfetto_src_profiling_memory_daemon",
376 ":perfetto_src_profiling_memory_ring_buffer",
377 ":perfetto_src_profiling_memory_scoped_spinlock",
378 ":perfetto_src_profiling_memory_wire_protocol",
379 ":perfetto_src_protozero_protozero",
380 ":perfetto_src_traced_probes_packages_list_packages_list_parser",
381 ":perfetto_src_tracing_common",
382 ":perfetto_src_tracing_core_core",
383 ":perfetto_src_tracing_ipc_common",
Primiano Tucci8761a312021-11-25 17:17:23 +0000384 ":perfetto_src_tracing_ipc_default_socket",
Colin Cross84172332021-09-14 16:41:33 -0700385 ":perfetto_src_tracing_ipc_producer_producer",
386 ],
387 shared_libs: [
388 "liblog",
Spandan Das2afea2d2024-01-22 02:55:24 +0000389 "libz",
Colin Cross84172332021-09-14 16:41:33 -0700390 ],
391 static_libs: [
392 "libasync_safe",
393 "libbase",
394 "libdexfile_support",
395 "liblzma",
396 "libprocinfo",
397 "libunwindstack",
398 ],
399 runtime_libs: [
400 "libdexfile",
401 ],
402 export_include_dirs: [
403 "src/profiling/memory/include",
404 ],
405 generated_headers: [
406 "perfetto_protos_perfetto_common_cpp_gen_headers",
407 "perfetto_protos_perfetto_common_zero_gen_headers",
408 "perfetto_protos_perfetto_config_android_cpp_gen_headers",
409 "perfetto_protos_perfetto_config_android_zero_gen_headers",
410 "perfetto_protos_perfetto_config_cpp_gen_headers",
411 "perfetto_protos_perfetto_config_ftrace_cpp_gen_headers",
412 "perfetto_protos_perfetto_config_ftrace_zero_gen_headers",
413 "perfetto_protos_perfetto_config_gpu_cpp_gen_headers",
414 "perfetto_protos_perfetto_config_gpu_zero_gen_headers",
415 "perfetto_protos_perfetto_config_inode_file_cpp_gen_headers",
416 "perfetto_protos_perfetto_config_inode_file_zero_gen_headers",
417 "perfetto_protos_perfetto_config_interceptors_cpp_gen_headers",
418 "perfetto_protos_perfetto_config_interceptors_zero_gen_headers",
419 "perfetto_protos_perfetto_config_power_cpp_gen_headers",
420 "perfetto_protos_perfetto_config_power_zero_gen_headers",
421 "perfetto_protos_perfetto_config_process_stats_cpp_gen_headers",
422 "perfetto_protos_perfetto_config_process_stats_zero_gen_headers",
423 "perfetto_protos_perfetto_config_profiling_cpp_gen_headers",
424 "perfetto_protos_perfetto_config_profiling_zero_gen_headers",
Hector Dearman5974de02022-06-23 15:31:40 +0100425 "perfetto_protos_perfetto_config_statsd_cpp_gen_headers",
426 "perfetto_protos_perfetto_config_statsd_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -0700427 "perfetto_protos_perfetto_config_sys_stats_cpp_gen_headers",
428 "perfetto_protos_perfetto_config_sys_stats_zero_gen_headers",
Hector Dearman48047d12022-08-02 14:00:46 +0100429 "perfetto_protos_perfetto_config_system_info_cpp_gen_headers",
430 "perfetto_protos_perfetto_config_system_info_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -0700431 "perfetto_protos_perfetto_config_track_event_cpp_gen_headers",
432 "perfetto_protos_perfetto_config_track_event_zero_gen_headers",
433 "perfetto_protos_perfetto_config_zero_gen_headers",
434 "perfetto_protos_perfetto_ipc_cpp_gen_headers",
435 "perfetto_protos_perfetto_ipc_ipc_gen_headers",
436 "perfetto_protos_perfetto_ipc_wire_protocol_cpp_gen_headers",
Kean Mariotti4ce4f042024-05-02 07:55:57 +0000437 "perfetto_protos_perfetto_trace_android_winscope_common_zero_gen_headers",
438 "perfetto_protos_perfetto_trace_android_winscope_regular_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -0700439 "perfetto_protos_perfetto_trace_android_zero_gen_headers",
440 "perfetto_protos_perfetto_trace_chrome_zero_gen_headers",
Alex Attar3cacb1d2023-10-10 13:13:25 -0400441 "perfetto_protos_perfetto_trace_etw_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -0700442 "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers",
443 "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers",
444 "perfetto_protos_perfetto_trace_gpu_zero_gen_headers",
445 "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers",
446 "perfetto_protos_perfetto_trace_minimal_zero_gen_headers",
447 "perfetto_protos_perfetto_trace_non_minimal_zero_gen_headers",
448 "perfetto_protos_perfetto_trace_perfetto_zero_gen_headers",
449 "perfetto_protos_perfetto_trace_power_zero_gen_headers",
450 "perfetto_protos_perfetto_trace_profiling_zero_gen_headers",
451 "perfetto_protos_perfetto_trace_ps_zero_gen_headers",
Hector Dearman5974de02022-06-23 15:31:40 +0100452 "perfetto_protos_perfetto_trace_statsd_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -0700453 "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers",
454 "perfetto_protos_perfetto_trace_system_info_zero_gen_headers",
455 "perfetto_protos_perfetto_trace_track_event_cpp_gen_headers",
456 "perfetto_protos_perfetto_trace_track_event_zero_gen_headers",
Igor Kraskevich49b42882022-03-21 13:03:02 +0000457 "perfetto_protos_perfetto_trace_translation_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -0700458 "perfetto_src_base_version_gen_h",
459 ],
460 defaults: [
461 "perfetto_defaults",
462 ],
463 cflags: [
Colin Cross84172332021-09-14 16:41:33 -0700464 "-DPERFETTO_ANDROID_ASYNC_SAFE_LOG",
465 ],
466 header_libs: [
467 "bionic_libc_platform_headers",
468 ],
469 stl: "libc++_static",
470 version_script: "src/profiling/memory/heapprofd_client_api.map.txt",
Florian Mayer50f07a62020-07-15 17:15:58 +0100471}
472
Primiano Tuccif0d7ef82019-10-04 15:35:24 +0100473// GN: //src/ipc/protoc_plugin:ipc_plugin
474cc_binary_host {
Colin Cross84172332021-09-14 16:41:33 -0700475 name: "ipc_plugin",
476 srcs: [
Lalit Maganti52f13362023-01-23 16:38:01 +0000477 ":perfetto_base_default_platform",
Colin Cross84172332021-09-14 16:41:33 -0700478 ":perfetto_include_perfetto_base_base",
479 ":perfetto_include_perfetto_ext_base_base",
Daniele Di Proietto8b46d692022-04-22 15:59:40 +0100480 ":perfetto_include_perfetto_public_abi_base",
481 ":perfetto_include_perfetto_public_base",
Colin Cross84172332021-09-14 16:41:33 -0700482 ":perfetto_src_base_base",
483 "src/ipc/protoc_plugin/ipc_plugin.cc",
484 ],
485 static_libs: [
486 "libprotoc",
487 ],
Colin Cross84172332021-09-14 16:41:33 -0700488 defaults: [
489 "perfetto_defaults",
490 ],
491 cflags: [
492 "-DGOOGLE_PROTOBUF_NO_RTTI",
493 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
494 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +0100495}
496
497// GN: //:libperfetto
Primiano Tucci6067e732018-01-08 16:19:40 +0000498cc_library_shared {
Colin Cross84172332021-09-14 16:41:33 -0700499 name: "libperfetto",
500 srcs: [
Lalit Maganti52f13362023-01-23 16:38:01 +0000501 ":perfetto_base_default_platform",
Colin Cross84172332021-09-14 16:41:33 -0700502 ":perfetto_include_perfetto_base_base",
503 ":perfetto_include_perfetto_ext_base_base",
Daniele Di Proietto15b801e2022-06-30 12:56:13 +0100504 ":perfetto_include_perfetto_ext_base_version",
Colin Cross84172332021-09-14 16:41:33 -0700505 ":perfetto_include_perfetto_ext_ipc_ipc",
Lalit Magantifd92a952024-02-28 11:58:53 +0000506 ":perfetto_include_perfetto_ext_protozero_protozero",
Colin Cross84172332021-09-14 16:41:33 -0700507 ":perfetto_include_perfetto_ext_traced_sys_stats_counters",
508 ":perfetto_include_perfetto_ext_traced_traced",
509 ":perfetto_include_perfetto_ext_tracing_core_core",
510 ":perfetto_include_perfetto_ext_tracing_ipc_ipc",
511 ":perfetto_include_perfetto_protozero_protozero",
Daniele Di Proietto8b46d692022-04-22 15:59:40 +0100512 ":perfetto_include_perfetto_public_abi_base",
513 ":perfetto_include_perfetto_public_base",
Daniele Di Proietto7451ea62023-01-09 11:31:16 +0000514 ":perfetto_include_perfetto_public_protozero",
Colin Cross84172332021-09-14 16:41:33 -0700515 ":perfetto_include_perfetto_tracing_core_core",
516 ":perfetto_include_perfetto_tracing_core_forward_decls",
517 ":perfetto_include_perfetto_tracing_tracing",
518 ":perfetto_protos_perfetto_common_cpp_gen",
519 ":perfetto_protos_perfetto_common_zero_gen",
520 ":perfetto_protos_perfetto_config_android_cpp_gen",
521 ":perfetto_protos_perfetto_config_android_zero_gen",
522 ":perfetto_protos_perfetto_config_cpp_gen",
523 ":perfetto_protos_perfetto_config_ftrace_cpp_gen",
524 ":perfetto_protos_perfetto_config_ftrace_zero_gen",
525 ":perfetto_protos_perfetto_config_gpu_cpp_gen",
526 ":perfetto_protos_perfetto_config_gpu_zero_gen",
527 ":perfetto_protos_perfetto_config_inode_file_cpp_gen",
528 ":perfetto_protos_perfetto_config_inode_file_zero_gen",
529 ":perfetto_protos_perfetto_config_interceptors_cpp_gen",
530 ":perfetto_protos_perfetto_config_interceptors_zero_gen",
531 ":perfetto_protos_perfetto_config_power_cpp_gen",
532 ":perfetto_protos_perfetto_config_power_zero_gen",
533 ":perfetto_protos_perfetto_config_process_stats_cpp_gen",
534 ":perfetto_protos_perfetto_config_process_stats_zero_gen",
535 ":perfetto_protos_perfetto_config_profiling_cpp_gen",
536 ":perfetto_protos_perfetto_config_profiling_zero_gen",
Hector Dearman5974de02022-06-23 15:31:40 +0100537 ":perfetto_protos_perfetto_config_statsd_cpp_gen",
538 ":perfetto_protos_perfetto_config_statsd_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -0700539 ":perfetto_protos_perfetto_config_sys_stats_cpp_gen",
540 ":perfetto_protos_perfetto_config_sys_stats_zero_gen",
Hector Dearman48047d12022-08-02 14:00:46 +0100541 ":perfetto_protos_perfetto_config_system_info_cpp_gen",
542 ":perfetto_protos_perfetto_config_system_info_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -0700543 ":perfetto_protos_perfetto_config_track_event_cpp_gen",
544 ":perfetto_protos_perfetto_config_track_event_zero_gen",
545 ":perfetto_protos_perfetto_config_zero_gen",
546 ":perfetto_protos_perfetto_ipc_cpp_gen",
547 ":perfetto_protos_perfetto_ipc_ipc_gen",
548 ":perfetto_protos_perfetto_ipc_wire_protocol_cpp_gen",
Kean Mariotti4ce4f042024-05-02 07:55:57 +0000549 ":perfetto_protos_perfetto_trace_android_winscope_common_zero_gen",
550 ":perfetto_protos_perfetto_trace_android_winscope_regular_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -0700551 ":perfetto_protos_perfetto_trace_android_zero_gen",
552 ":perfetto_protos_perfetto_trace_chrome_zero_gen",
Alex Attar3cacb1d2023-10-10 13:13:25 -0400553 ":perfetto_protos_perfetto_trace_etw_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -0700554 ":perfetto_protos_perfetto_trace_filesystem_zero_gen",
555 ":perfetto_protos_perfetto_trace_ftrace_zero_gen",
556 ":perfetto_protos_perfetto_trace_gpu_zero_gen",
557 ":perfetto_protos_perfetto_trace_interned_data_zero_gen",
558 ":perfetto_protos_perfetto_trace_minimal_zero_gen",
559 ":perfetto_protos_perfetto_trace_non_minimal_zero_gen",
560 ":perfetto_protos_perfetto_trace_perfetto_zero_gen",
561 ":perfetto_protos_perfetto_trace_power_zero_gen",
562 ":perfetto_protos_perfetto_trace_profiling_zero_gen",
563 ":perfetto_protos_perfetto_trace_ps_zero_gen",
Hector Dearman09db5b02022-07-11 13:35:23 +0100564 ":perfetto_protos_perfetto_trace_statsd_cpp_gen",
Hector Dearman5974de02022-06-23 15:31:40 +0100565 ":perfetto_protos_perfetto_trace_statsd_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -0700566 ":perfetto_protos_perfetto_trace_sys_stats_zero_gen",
567 ":perfetto_protos_perfetto_trace_system_info_zero_gen",
568 ":perfetto_protos_perfetto_trace_track_event_cpp_gen",
569 ":perfetto_protos_perfetto_trace_track_event_zero_gen",
Igor Kraskevich49b42882022-03-21 13:03:02 +0000570 ":perfetto_protos_perfetto_trace_translation_zero_gen",
Hector Dearman09db5b02022-07-11 13:35:23 +0100571 ":perfetto_protos_third_party_statsd_config_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -0700572 ":perfetto_src_android_internal_headers",
573 ":perfetto_src_android_internal_lazy_library_loader",
574 ":perfetto_src_android_stats_android_stats",
575 ":perfetto_src_android_stats_perfetto_atoms",
576 ":perfetto_src_base_base",
Lalit Maganti1e7aef12024-10-13 14:19:09 +0100577 ":perfetto_src_base_clock_snapshots",
Colin Cross84172332021-09-14 16:41:33 -0700578 ":perfetto_src_base_unix_socket",
Daniele Di Proietto15b801e2022-06-30 12:56:13 +0100579 ":perfetto_src_base_version",
Colin Cross84172332021-09-14 16:41:33 -0700580 ":perfetto_src_ipc_client",
581 ":perfetto_src_ipc_common",
582 ":perfetto_src_ipc_host",
583 ":perfetto_src_kallsyms_kallsyms",
Ryan Zuklieec18eb32022-07-25 15:51:59 -0700584 ":perfetto_src_kernel_utils_syscall_table",
Colin Cross84172332021-09-14 16:41:33 -0700585 ":perfetto_src_protozero_filtering_bytecode_common",
586 ":perfetto_src_protozero_filtering_bytecode_parser",
587 ":perfetto_src_protozero_filtering_message_filter",
Lalit Maganti43b2b942023-06-21 10:31:36 +0100588 ":perfetto_src_protozero_filtering_string_filter",
Hector Dearman09db5b02022-07-11 13:35:23 +0100589 ":perfetto_src_protozero_proto_ring_buffer",
Colin Cross84172332021-09-14 16:41:33 -0700590 ":perfetto_src_protozero_protozero",
Andy Yu2b0a2132022-04-07 16:17:10 -0700591 ":perfetto_src_traced_probes_android_game_intervention_list_android_game_intervention_list",
Colin Cross84172332021-09-14 16:41:33 -0700592 ":perfetto_src_traced_probes_android_log_android_log",
Simon MacMullenf0a6b382022-07-06 16:35:55 +0000593 ":perfetto_src_traced_probes_android_system_property_android_system_property",
Colin Cross84172332021-09-14 16:41:33 -0700594 ":perfetto_src_traced_probes_common_common",
595 ":perfetto_src_traced_probes_data_source",
596 ":perfetto_src_traced_probes_filesystem_filesystem",
597 ":perfetto_src_traced_probes_ftrace_format_parser_format_parser",
598 ":perfetto_src_traced_probes_ftrace_ftrace",
599 ":perfetto_src_traced_probes_ftrace_ftrace_procfs",
600 ":perfetto_src_traced_probes_initial_display_state_initial_display_state",
601 ":perfetto_src_traced_probes_metatrace_metatrace",
602 ":perfetto_src_traced_probes_packages_list_packages_list",
603 ":perfetto_src_traced_probes_packages_list_packages_list_parser",
604 ":perfetto_src_traced_probes_power_power",
605 ":perfetto_src_traced_probes_probes",
606 ":perfetto_src_traced_probes_probes_src",
607 ":perfetto_src_traced_probes_ps_ps",
Hector Dearman09db5b02022-07-11 13:35:23 +0100608 ":perfetto_src_traced_probes_statsd_client_statsd_client",
Colin Cross84172332021-09-14 16:41:33 -0700609 ":perfetto_src_traced_probes_sys_stats_sys_stats",
610 ":perfetto_src_traced_probes_system_info_system_info",
Daniele Di Proietto740dd922024-11-27 14:28:01 +0000611 ":perfetto_src_traced_service_builtin_producer",
Colin Cross84172332021-09-14 16:41:33 -0700612 ":perfetto_src_traced_service_service",
613 ":perfetto_src_tracing_common",
Colin Cross84172332021-09-14 16:41:33 -0700614 ":perfetto_src_tracing_core_core",
Colin Cross84172332021-09-14 16:41:33 -0700615 ":perfetto_src_tracing_ipc_common",
Primiano Tucci8761a312021-11-25 17:17:23 +0000616 ":perfetto_src_tracing_ipc_default_socket",
Colin Cross84172332021-09-14 16:41:33 -0700617 ":perfetto_src_tracing_ipc_producer_producer",
618 ":perfetto_src_tracing_ipc_service_service",
Daniele Di Proietto7c058852024-01-19 13:25:40 +0000619 ":perfetto_src_tracing_service_service",
620 ":perfetto_src_tracing_service_zlib_compressor",
Colin Cross84172332021-09-14 16:41:33 -0700621 ],
622 host_supported: true,
623 export_include_dirs: [
624 "include",
625 "include/perfetto/base/build_configs/android_tree",
626 ],
627 generated_headers: [
628 "perfetto_protos_perfetto_common_cpp_gen_headers",
629 "perfetto_protos_perfetto_common_zero_gen_headers",
630 "perfetto_protos_perfetto_config_android_cpp_gen_headers",
631 "perfetto_protos_perfetto_config_android_zero_gen_headers",
632 "perfetto_protos_perfetto_config_cpp_gen_headers",
633 "perfetto_protos_perfetto_config_ftrace_cpp_gen_headers",
634 "perfetto_protos_perfetto_config_ftrace_zero_gen_headers",
635 "perfetto_protos_perfetto_config_gpu_cpp_gen_headers",
636 "perfetto_protos_perfetto_config_gpu_zero_gen_headers",
637 "perfetto_protos_perfetto_config_inode_file_cpp_gen_headers",
638 "perfetto_protos_perfetto_config_inode_file_zero_gen_headers",
639 "perfetto_protos_perfetto_config_interceptors_cpp_gen_headers",
640 "perfetto_protos_perfetto_config_interceptors_zero_gen_headers",
641 "perfetto_protos_perfetto_config_power_cpp_gen_headers",
642 "perfetto_protos_perfetto_config_power_zero_gen_headers",
643 "perfetto_protos_perfetto_config_process_stats_cpp_gen_headers",
644 "perfetto_protos_perfetto_config_process_stats_zero_gen_headers",
645 "perfetto_protos_perfetto_config_profiling_cpp_gen_headers",
646 "perfetto_protos_perfetto_config_profiling_zero_gen_headers",
Hector Dearman5974de02022-06-23 15:31:40 +0100647 "perfetto_protos_perfetto_config_statsd_cpp_gen_headers",
648 "perfetto_protos_perfetto_config_statsd_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -0700649 "perfetto_protos_perfetto_config_sys_stats_cpp_gen_headers",
650 "perfetto_protos_perfetto_config_sys_stats_zero_gen_headers",
Hector Dearman48047d12022-08-02 14:00:46 +0100651 "perfetto_protos_perfetto_config_system_info_cpp_gen_headers",
652 "perfetto_protos_perfetto_config_system_info_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -0700653 "perfetto_protos_perfetto_config_track_event_cpp_gen_headers",
654 "perfetto_protos_perfetto_config_track_event_zero_gen_headers",
655 "perfetto_protos_perfetto_config_zero_gen_headers",
656 "perfetto_protos_perfetto_ipc_cpp_gen_headers",
657 "perfetto_protos_perfetto_ipc_ipc_gen_headers",
658 "perfetto_protos_perfetto_ipc_wire_protocol_cpp_gen_headers",
Kean Mariotti4ce4f042024-05-02 07:55:57 +0000659 "perfetto_protos_perfetto_trace_android_winscope_common_zero_gen_headers",
660 "perfetto_protos_perfetto_trace_android_winscope_regular_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -0700661 "perfetto_protos_perfetto_trace_android_zero_gen_headers",
662 "perfetto_protos_perfetto_trace_chrome_zero_gen_headers",
Alex Attar3cacb1d2023-10-10 13:13:25 -0400663 "perfetto_protos_perfetto_trace_etw_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -0700664 "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers",
665 "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers",
666 "perfetto_protos_perfetto_trace_gpu_zero_gen_headers",
667 "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers",
668 "perfetto_protos_perfetto_trace_minimal_zero_gen_headers",
669 "perfetto_protos_perfetto_trace_non_minimal_zero_gen_headers",
670 "perfetto_protos_perfetto_trace_perfetto_zero_gen_headers",
671 "perfetto_protos_perfetto_trace_power_zero_gen_headers",
672 "perfetto_protos_perfetto_trace_profiling_zero_gen_headers",
673 "perfetto_protos_perfetto_trace_ps_zero_gen_headers",
Hector Dearman09db5b02022-07-11 13:35:23 +0100674 "perfetto_protos_perfetto_trace_statsd_cpp_gen_headers",
Hector Dearman5974de02022-06-23 15:31:40 +0100675 "perfetto_protos_perfetto_trace_statsd_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -0700676 "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers",
677 "perfetto_protos_perfetto_trace_system_info_zero_gen_headers",
678 "perfetto_protos_perfetto_trace_track_event_cpp_gen_headers",
679 "perfetto_protos_perfetto_trace_track_event_zero_gen_headers",
Igor Kraskevich49b42882022-03-21 13:03:02 +0000680 "perfetto_protos_perfetto_trace_translation_zero_gen_headers",
Hector Dearman09db5b02022-07-11 13:35:23 +0100681 "perfetto_protos_third_party_statsd_config_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -0700682 "perfetto_src_base_version_gen_h",
683 ],
684 defaults: [
685 "perfetto_defaults",
686 ],
Daniele Di Proietto2789b5b2023-04-14 09:53:03 +0000687 cflags: [
688 "-DZLIB_IMPLEMENTATION",
689 ],
Colin Cross84172332021-09-14 16:41:33 -0700690 target: {
691 android: {
692 shared_libs: [
693 "liblog",
Daniele Di Proietto2789b5b2023-04-14 09:53:03 +0000694 "libz",
695 ],
696 },
697 host: {
698 static_libs: [
699 "libz",
Colin Cross84172332021-09-14 16:41:33 -0700700 ],
701 },
Lalit Magantie0986f32020-09-17 15:35:47 +0100702 },
Primiano Tucci6d848532018-01-17 10:32:33 +0000703}
704
Primiano Tuccif0d7ef82019-10-04 15:35:24 +0100705// GN: //src/android_internal:libperfetto_android_internal
Primiano Tucci676f0cc2018-12-03 20:03:26 +0100706cc_library_shared {
Colin Cross84172332021-09-14 16:41:33 -0700707 name: "libperfetto_android_internal",
708 srcs: [
709 ":perfetto_src_android_internal_headers",
710 ":perfetto_src_android_stats_perfetto_atoms",
711 "src/android_internal/atrace_hal.cc",
712 "src/android_internal/health_hal.cc",
713 "src/android_internal/incident_service.cc",
714 "src/android_internal/power_stats.cc",
Primiano Tucci8d0cb6f2023-05-16 15:57:02 +0100715 "src/android_internal/statsd.cc",
Colin Cross84172332021-09-14 16:41:33 -0700716 "src/android_internal/statsd_logging.cc",
717 "src/android_internal/tracing_service_proxy.cc",
718 ],
719 shared_libs: [
720 "android.hardware.atrace@1.0",
Jack Wu40d043b2022-11-24 20:54:45 +0800721 "android.hardware.health-V2-ndk",
Colin Cross84172332021-09-14 16:41:33 -0700722 "android.hardware.health@2.0",
723 "android.hardware.power.stats-V1-cpp",
724 "android.hardware.power.stats@1.0",
725 "libbase",
726 "libbinder",
Yifan Hong0011c632021-12-02 18:37:21 -0800727 "libbinder_ndk",
Colin Cross84172332021-09-14 16:41:33 -0700728 "libcutils",
729 "libhidlbase",
730 "libincident",
731 "liblog",
732 "libservices",
Primiano Tucci8d0cb6f2023-05-16 15:57:02 +0100733 "libstatspull",
Colin Cross84172332021-09-14 16:41:33 -0700734 "libstatssocket",
735 "libtracingproxy",
736 "libutils",
737 ],
738 static_libs: [
739 "libhealthhalutils",
740 "libstatslog_perfetto",
741 ],
742 defaults: [
743 "perfetto_defaults",
744 ],
Primiano Tucci676f0cc2018-12-03 20:03:26 +0100745}
746
Daniele Di Proiettoec4864e2022-12-14 17:32:38 +0000747// GN: //src/shared_lib:libperfetto_c
748cc_library_shared {
749 name: "libperfetto_c",
750 srcs: [
751 ":perfetto_base_default_platform",
752 ":perfetto_include_perfetto_base_base",
753 ":perfetto_include_perfetto_ext_base_base",
754 ":perfetto_include_perfetto_ext_base_version",
755 ":perfetto_include_perfetto_ext_ipc_ipc",
756 ":perfetto_include_perfetto_ext_tracing_core_core",
757 ":perfetto_include_perfetto_ext_tracing_ipc_ipc",
758 ":perfetto_include_perfetto_protozero_protozero",
759 ":perfetto_include_perfetto_public_abi_base",
760 ":perfetto_include_perfetto_public_abi_public",
761 ":perfetto_include_perfetto_public_base",
762 ":perfetto_include_perfetto_public_protos_protos",
763 ":perfetto_include_perfetto_public_protozero",
764 ":perfetto_include_perfetto_public_public",
765 ":perfetto_include_perfetto_tracing_core_core",
766 ":perfetto_include_perfetto_tracing_core_forward_decls",
767 ":perfetto_include_perfetto_tracing_tracing",
768 ":perfetto_protos_perfetto_common_cpp_gen",
769 ":perfetto_protos_perfetto_common_zero_gen",
770 ":perfetto_protos_perfetto_config_android_cpp_gen",
771 ":perfetto_protos_perfetto_config_android_zero_gen",
772 ":perfetto_protos_perfetto_config_cpp_gen",
773 ":perfetto_protos_perfetto_config_ftrace_cpp_gen",
774 ":perfetto_protos_perfetto_config_ftrace_zero_gen",
775 ":perfetto_protos_perfetto_config_gpu_cpp_gen",
776 ":perfetto_protos_perfetto_config_gpu_zero_gen",
777 ":perfetto_protos_perfetto_config_inode_file_cpp_gen",
778 ":perfetto_protos_perfetto_config_inode_file_zero_gen",
779 ":perfetto_protos_perfetto_config_interceptors_cpp_gen",
780 ":perfetto_protos_perfetto_config_interceptors_zero_gen",
781 ":perfetto_protos_perfetto_config_power_cpp_gen",
782 ":perfetto_protos_perfetto_config_power_zero_gen",
783 ":perfetto_protos_perfetto_config_process_stats_cpp_gen",
784 ":perfetto_protos_perfetto_config_process_stats_zero_gen",
785 ":perfetto_protos_perfetto_config_profiling_cpp_gen",
786 ":perfetto_protos_perfetto_config_profiling_zero_gen",
787 ":perfetto_protos_perfetto_config_statsd_cpp_gen",
788 ":perfetto_protos_perfetto_config_statsd_zero_gen",
789 ":perfetto_protos_perfetto_config_sys_stats_cpp_gen",
790 ":perfetto_protos_perfetto_config_sys_stats_zero_gen",
791 ":perfetto_protos_perfetto_config_system_info_cpp_gen",
792 ":perfetto_protos_perfetto_config_system_info_zero_gen",
793 ":perfetto_protos_perfetto_config_track_event_cpp_gen",
794 ":perfetto_protos_perfetto_config_track_event_zero_gen",
795 ":perfetto_protos_perfetto_config_zero_gen",
796 ":perfetto_protos_perfetto_ipc_cpp_gen",
797 ":perfetto_protos_perfetto_ipc_ipc_gen",
798 ":perfetto_protos_perfetto_ipc_wire_protocol_cpp_gen",
Kean Mariotti4ce4f042024-05-02 07:55:57 +0000799 ":perfetto_protos_perfetto_trace_android_winscope_common_zero_gen",
800 ":perfetto_protos_perfetto_trace_android_winscope_regular_zero_gen",
Daniele Di Proiettoec4864e2022-12-14 17:32:38 +0000801 ":perfetto_protos_perfetto_trace_android_zero_gen",
802 ":perfetto_protos_perfetto_trace_chrome_zero_gen",
Alex Attar3cacb1d2023-10-10 13:13:25 -0400803 ":perfetto_protos_perfetto_trace_etw_zero_gen",
Daniele Di Proiettoec4864e2022-12-14 17:32:38 +0000804 ":perfetto_protos_perfetto_trace_filesystem_zero_gen",
805 ":perfetto_protos_perfetto_trace_ftrace_zero_gen",
806 ":perfetto_protos_perfetto_trace_gpu_zero_gen",
807 ":perfetto_protos_perfetto_trace_interned_data_zero_gen",
808 ":perfetto_protos_perfetto_trace_minimal_zero_gen",
809 ":perfetto_protos_perfetto_trace_non_minimal_zero_gen",
810 ":perfetto_protos_perfetto_trace_perfetto_zero_gen",
811 ":perfetto_protos_perfetto_trace_power_zero_gen",
812 ":perfetto_protos_perfetto_trace_profiling_zero_gen",
813 ":perfetto_protos_perfetto_trace_ps_zero_gen",
814 ":perfetto_protos_perfetto_trace_statsd_zero_gen",
815 ":perfetto_protos_perfetto_trace_sys_stats_zero_gen",
816 ":perfetto_protos_perfetto_trace_system_info_zero_gen",
817 ":perfetto_protos_perfetto_trace_track_event_cpp_gen",
818 ":perfetto_protos_perfetto_trace_track_event_zero_gen",
819 ":perfetto_protos_perfetto_trace_translation_zero_gen",
820 ":perfetto_src_android_internal_headers",
821 ":perfetto_src_android_internal_lazy_library_loader",
822 ":perfetto_src_android_stats_android_stats",
823 ":perfetto_src_android_stats_perfetto_atoms",
824 ":perfetto_src_base_base",
Lalit Maganti1e7aef12024-10-13 14:19:09 +0100825 ":perfetto_src_base_clock_snapshots",
Daniele Di Proiettoec4864e2022-12-14 17:32:38 +0000826 ":perfetto_src_base_unix_socket",
827 ":perfetto_src_base_version",
828 ":perfetto_src_ipc_client",
829 ":perfetto_src_ipc_common",
830 ":perfetto_src_ipc_host",
831 ":perfetto_src_protozero_filtering_bytecode_common",
832 ":perfetto_src_protozero_filtering_bytecode_parser",
833 ":perfetto_src_protozero_filtering_message_filter",
834 ":perfetto_src_protozero_filtering_string_filter",
835 ":perfetto_src_protozero_protozero",
836 ":perfetto_src_shared_lib_intern_map",
837 ":perfetto_src_shared_lib_shared_lib",
838 ":perfetto_src_tracing_client_api_without_backends",
839 ":perfetto_src_tracing_common",
840 ":perfetto_src_tracing_core_core",
Daniele Di Proiettoec4864e2022-12-14 17:32:38 +0000841 ":perfetto_src_tracing_in_process_backend",
842 ":perfetto_src_tracing_ipc_common",
843 ":perfetto_src_tracing_ipc_consumer_consumer",
844 ":perfetto_src_tracing_ipc_default_socket",
845 ":perfetto_src_tracing_ipc_producer_producer",
846 ":perfetto_src_tracing_ipc_service_service",
847 ":perfetto_src_tracing_platform_impl",
Daniele Di Proietto7c058852024-01-19 13:25:40 +0000848 ":perfetto_src_tracing_service_service",
Daniele Di Proiettoec4864e2022-12-14 17:32:38 +0000849 ":perfetto_src_tracing_system_backend",
850 ],
851 host_supported: true,
852 export_include_dirs: [
853 "include",
854 ],
855 generated_headers: [
856 "perfetto_protos_perfetto_common_cpp_gen_headers",
857 "perfetto_protos_perfetto_common_zero_gen_headers",
858 "perfetto_protos_perfetto_config_android_cpp_gen_headers",
859 "perfetto_protos_perfetto_config_android_zero_gen_headers",
860 "perfetto_protos_perfetto_config_cpp_gen_headers",
861 "perfetto_protos_perfetto_config_ftrace_cpp_gen_headers",
862 "perfetto_protos_perfetto_config_ftrace_zero_gen_headers",
863 "perfetto_protos_perfetto_config_gpu_cpp_gen_headers",
864 "perfetto_protos_perfetto_config_gpu_zero_gen_headers",
865 "perfetto_protos_perfetto_config_inode_file_cpp_gen_headers",
866 "perfetto_protos_perfetto_config_inode_file_zero_gen_headers",
867 "perfetto_protos_perfetto_config_interceptors_cpp_gen_headers",
868 "perfetto_protos_perfetto_config_interceptors_zero_gen_headers",
869 "perfetto_protos_perfetto_config_power_cpp_gen_headers",
870 "perfetto_protos_perfetto_config_power_zero_gen_headers",
871 "perfetto_protos_perfetto_config_process_stats_cpp_gen_headers",
872 "perfetto_protos_perfetto_config_process_stats_zero_gen_headers",
873 "perfetto_protos_perfetto_config_profiling_cpp_gen_headers",
874 "perfetto_protos_perfetto_config_profiling_zero_gen_headers",
875 "perfetto_protos_perfetto_config_statsd_cpp_gen_headers",
876 "perfetto_protos_perfetto_config_statsd_zero_gen_headers",
877 "perfetto_protos_perfetto_config_sys_stats_cpp_gen_headers",
878 "perfetto_protos_perfetto_config_sys_stats_zero_gen_headers",
879 "perfetto_protos_perfetto_config_system_info_cpp_gen_headers",
880 "perfetto_protos_perfetto_config_system_info_zero_gen_headers",
881 "perfetto_protos_perfetto_config_track_event_cpp_gen_headers",
882 "perfetto_protos_perfetto_config_track_event_zero_gen_headers",
883 "perfetto_protos_perfetto_config_zero_gen_headers",
884 "perfetto_protos_perfetto_ipc_cpp_gen_headers",
885 "perfetto_protos_perfetto_ipc_ipc_gen_headers",
886 "perfetto_protos_perfetto_ipc_wire_protocol_cpp_gen_headers",
Kean Mariotti4ce4f042024-05-02 07:55:57 +0000887 "perfetto_protos_perfetto_trace_android_winscope_common_zero_gen_headers",
888 "perfetto_protos_perfetto_trace_android_winscope_regular_zero_gen_headers",
Daniele Di Proiettoec4864e2022-12-14 17:32:38 +0000889 "perfetto_protos_perfetto_trace_android_zero_gen_headers",
890 "perfetto_protos_perfetto_trace_chrome_zero_gen_headers",
Alex Attar3cacb1d2023-10-10 13:13:25 -0400891 "perfetto_protos_perfetto_trace_etw_zero_gen_headers",
Daniele Di Proiettoec4864e2022-12-14 17:32:38 +0000892 "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers",
893 "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers",
894 "perfetto_protos_perfetto_trace_gpu_zero_gen_headers",
895 "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers",
896 "perfetto_protos_perfetto_trace_minimal_zero_gen_headers",
897 "perfetto_protos_perfetto_trace_non_minimal_zero_gen_headers",
898 "perfetto_protos_perfetto_trace_perfetto_zero_gen_headers",
899 "perfetto_protos_perfetto_trace_power_zero_gen_headers",
900 "perfetto_protos_perfetto_trace_profiling_zero_gen_headers",
901 "perfetto_protos_perfetto_trace_ps_zero_gen_headers",
902 "perfetto_protos_perfetto_trace_statsd_zero_gen_headers",
903 "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers",
904 "perfetto_protos_perfetto_trace_system_info_zero_gen_headers",
905 "perfetto_protos_perfetto_trace_track_event_cpp_gen_headers",
906 "perfetto_protos_perfetto_trace_track_event_zero_gen_headers",
907 "perfetto_protos_perfetto_trace_translation_zero_gen_headers",
908 "perfetto_src_base_version_gen_h",
909 ],
910 defaults: [
911 "perfetto_defaults",
912 ],
913 cflags: [
914 "-DPERFETTO_SHLIB_SDK_IMPLEMENTATION",
915 ],
916 min_sdk_version: "30",
917 target: {
918 android: {
919 shared_libs: [
920 "liblog",
921 ],
922 },
923 },
924}
925
Primiano Tuccif0d7ef82019-10-04 15:35:24 +0100926// GN: //:libperfetto_client_experimental
Primiano Tucci0b651b82019-06-03 17:16:23 +0100927cc_library_static {
Colin Cross84172332021-09-14 16:41:33 -0700928 name: "libperfetto_client_experimental",
929 srcs: [
Lalit Maganti52f13362023-01-23 16:38:01 +0000930 ":perfetto_base_default_platform",
Colin Cross84172332021-09-14 16:41:33 -0700931 ":perfetto_include_perfetto_base_base",
932 ":perfetto_include_perfetto_ext_base_base",
Daniele Di Proietto15b801e2022-06-30 12:56:13 +0100933 ":perfetto_include_perfetto_ext_base_version",
Colin Cross84172332021-09-14 16:41:33 -0700934 ":perfetto_include_perfetto_ext_ipc_ipc",
935 ":perfetto_include_perfetto_ext_tracing_core_core",
936 ":perfetto_include_perfetto_ext_tracing_ipc_ipc",
937 ":perfetto_include_perfetto_protozero_protozero",
Daniele Di Proietto8b46d692022-04-22 15:59:40 +0100938 ":perfetto_include_perfetto_public_abi_base",
939 ":perfetto_include_perfetto_public_base",
Daniele Di Proietto7451ea62023-01-09 11:31:16 +0000940 ":perfetto_include_perfetto_public_protozero",
Colin Cross84172332021-09-14 16:41:33 -0700941 ":perfetto_include_perfetto_tracing_core_core",
942 ":perfetto_include_perfetto_tracing_core_forward_decls",
943 ":perfetto_include_perfetto_tracing_tracing",
944 ":perfetto_protos_perfetto_common_cpp_gen",
945 ":perfetto_protos_perfetto_common_zero_gen",
946 ":perfetto_protos_perfetto_config_android_cpp_gen",
947 ":perfetto_protos_perfetto_config_android_zero_gen",
948 ":perfetto_protos_perfetto_config_cpp_gen",
949 ":perfetto_protos_perfetto_config_ftrace_cpp_gen",
950 ":perfetto_protos_perfetto_config_ftrace_zero_gen",
951 ":perfetto_protos_perfetto_config_gpu_cpp_gen",
952 ":perfetto_protos_perfetto_config_gpu_zero_gen",
953 ":perfetto_protos_perfetto_config_inode_file_cpp_gen",
954 ":perfetto_protos_perfetto_config_inode_file_zero_gen",
955 ":perfetto_protos_perfetto_config_interceptors_cpp_gen",
956 ":perfetto_protos_perfetto_config_interceptors_zero_gen",
957 ":perfetto_protos_perfetto_config_power_cpp_gen",
958 ":perfetto_protos_perfetto_config_power_zero_gen",
959 ":perfetto_protos_perfetto_config_process_stats_cpp_gen",
960 ":perfetto_protos_perfetto_config_process_stats_zero_gen",
961 ":perfetto_protos_perfetto_config_profiling_cpp_gen",
962 ":perfetto_protos_perfetto_config_profiling_zero_gen",
Hector Dearman5974de02022-06-23 15:31:40 +0100963 ":perfetto_protos_perfetto_config_statsd_cpp_gen",
964 ":perfetto_protos_perfetto_config_statsd_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -0700965 ":perfetto_protos_perfetto_config_sys_stats_cpp_gen",
966 ":perfetto_protos_perfetto_config_sys_stats_zero_gen",
Hector Dearman48047d12022-08-02 14:00:46 +0100967 ":perfetto_protos_perfetto_config_system_info_cpp_gen",
968 ":perfetto_protos_perfetto_config_system_info_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -0700969 ":perfetto_protos_perfetto_config_track_event_cpp_gen",
970 ":perfetto_protos_perfetto_config_track_event_zero_gen",
971 ":perfetto_protos_perfetto_config_zero_gen",
972 ":perfetto_protos_perfetto_ipc_cpp_gen",
973 ":perfetto_protos_perfetto_ipc_ipc_gen",
974 ":perfetto_protos_perfetto_ipc_wire_protocol_cpp_gen",
Kean Mariotti4ce4f042024-05-02 07:55:57 +0000975 ":perfetto_protos_perfetto_trace_android_winscope_common_zero_gen",
976 ":perfetto_protos_perfetto_trace_android_winscope_regular_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -0700977 ":perfetto_protos_perfetto_trace_android_zero_gen",
978 ":perfetto_protos_perfetto_trace_chrome_zero_gen",
Alex Attar3cacb1d2023-10-10 13:13:25 -0400979 ":perfetto_protos_perfetto_trace_etw_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -0700980 ":perfetto_protos_perfetto_trace_filesystem_zero_gen",
981 ":perfetto_protos_perfetto_trace_ftrace_zero_gen",
982 ":perfetto_protos_perfetto_trace_gpu_zero_gen",
983 ":perfetto_protos_perfetto_trace_interned_data_zero_gen",
984 ":perfetto_protos_perfetto_trace_minimal_zero_gen",
985 ":perfetto_protos_perfetto_trace_non_minimal_zero_gen",
986 ":perfetto_protos_perfetto_trace_perfetto_zero_gen",
987 ":perfetto_protos_perfetto_trace_power_zero_gen",
988 ":perfetto_protos_perfetto_trace_profiling_zero_gen",
989 ":perfetto_protos_perfetto_trace_ps_zero_gen",
Hector Dearman5974de02022-06-23 15:31:40 +0100990 ":perfetto_protos_perfetto_trace_statsd_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -0700991 ":perfetto_protos_perfetto_trace_sys_stats_zero_gen",
992 ":perfetto_protos_perfetto_trace_system_info_zero_gen",
993 ":perfetto_protos_perfetto_trace_track_event_cpp_gen",
994 ":perfetto_protos_perfetto_trace_track_event_zero_gen",
Igor Kraskevich49b42882022-03-21 13:03:02 +0000995 ":perfetto_protos_perfetto_trace_translation_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -0700996 ":perfetto_src_android_internal_headers",
997 ":perfetto_src_android_internal_lazy_library_loader",
998 ":perfetto_src_android_stats_android_stats",
999 ":perfetto_src_android_stats_perfetto_atoms",
1000 ":perfetto_src_base_base",
Lalit Maganti1e7aef12024-10-13 14:19:09 +01001001 ":perfetto_src_base_clock_snapshots",
Colin Cross84172332021-09-14 16:41:33 -07001002 ":perfetto_src_base_unix_socket",
Daniele Di Proietto15b801e2022-06-30 12:56:13 +01001003 ":perfetto_src_base_version",
Colin Cross84172332021-09-14 16:41:33 -07001004 ":perfetto_src_ipc_client",
1005 ":perfetto_src_ipc_common",
1006 ":perfetto_src_ipc_host",
1007 ":perfetto_src_protozero_filtering_bytecode_common",
1008 ":perfetto_src_protozero_filtering_bytecode_parser",
1009 ":perfetto_src_protozero_filtering_message_filter",
Lalit Maganti43b2b942023-06-21 10:31:36 +01001010 ":perfetto_src_protozero_filtering_string_filter",
Colin Cross84172332021-09-14 16:41:33 -07001011 ":perfetto_src_protozero_protozero",
1012 ":perfetto_src_tracing_client_api_without_backends",
1013 ":perfetto_src_tracing_common",
1014 ":perfetto_src_tracing_core_core",
Colin Cross84172332021-09-14 16:41:33 -07001015 ":perfetto_src_tracing_in_process_backend",
1016 ":perfetto_src_tracing_ipc_common",
1017 ":perfetto_src_tracing_ipc_consumer_consumer",
Primiano Tucci8761a312021-11-25 17:17:23 +00001018 ":perfetto_src_tracing_ipc_default_socket",
Colin Cross84172332021-09-14 16:41:33 -07001019 ":perfetto_src_tracing_ipc_producer_producer",
1020 ":perfetto_src_tracing_ipc_service_service",
1021 ":perfetto_src_tracing_platform_impl",
Daniele Di Proietto7c058852024-01-19 13:25:40 +00001022 ":perfetto_src_tracing_service_service",
Colin Cross84172332021-09-14 16:41:33 -07001023 ":perfetto_src_tracing_system_backend",
1024 ],
1025 shared_libs: [
1026 "liblog",
1027 ],
Michael Eastwood6cbbff12021-12-09 15:34:35 -08001028 host_supported: true,
1029 vendor_available: true,
Nikita Putikhin94e30a02023-11-22 14:16:47 +01001030 product_available: true,
Colin Cross84172332021-09-14 16:41:33 -07001031 export_include_dirs: [
1032 "include",
1033 "include/perfetto/base/build_configs/android_tree",
1034 ],
1035 generated_headers: [
1036 "perfetto_protos_perfetto_common_cpp_gen_headers",
1037 "perfetto_protos_perfetto_common_zero_gen_headers",
1038 "perfetto_protos_perfetto_config_android_cpp_gen_headers",
1039 "perfetto_protos_perfetto_config_android_zero_gen_headers",
1040 "perfetto_protos_perfetto_config_cpp_gen_headers",
1041 "perfetto_protos_perfetto_config_ftrace_cpp_gen_headers",
1042 "perfetto_protos_perfetto_config_ftrace_zero_gen_headers",
1043 "perfetto_protos_perfetto_config_gpu_cpp_gen_headers",
1044 "perfetto_protos_perfetto_config_gpu_zero_gen_headers",
1045 "perfetto_protos_perfetto_config_inode_file_cpp_gen_headers",
1046 "perfetto_protos_perfetto_config_inode_file_zero_gen_headers",
1047 "perfetto_protos_perfetto_config_interceptors_cpp_gen_headers",
1048 "perfetto_protos_perfetto_config_interceptors_zero_gen_headers",
1049 "perfetto_protos_perfetto_config_power_cpp_gen_headers",
1050 "perfetto_protos_perfetto_config_power_zero_gen_headers",
1051 "perfetto_protos_perfetto_config_process_stats_cpp_gen_headers",
1052 "perfetto_protos_perfetto_config_process_stats_zero_gen_headers",
1053 "perfetto_protos_perfetto_config_profiling_cpp_gen_headers",
1054 "perfetto_protos_perfetto_config_profiling_zero_gen_headers",
Hector Dearman5974de02022-06-23 15:31:40 +01001055 "perfetto_protos_perfetto_config_statsd_cpp_gen_headers",
1056 "perfetto_protos_perfetto_config_statsd_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07001057 "perfetto_protos_perfetto_config_sys_stats_cpp_gen_headers",
1058 "perfetto_protos_perfetto_config_sys_stats_zero_gen_headers",
Hector Dearman48047d12022-08-02 14:00:46 +01001059 "perfetto_protos_perfetto_config_system_info_cpp_gen_headers",
1060 "perfetto_protos_perfetto_config_system_info_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07001061 "perfetto_protos_perfetto_config_track_event_cpp_gen_headers",
1062 "perfetto_protos_perfetto_config_track_event_zero_gen_headers",
1063 "perfetto_protos_perfetto_config_zero_gen_headers",
1064 "perfetto_protos_perfetto_ipc_cpp_gen_headers",
1065 "perfetto_protos_perfetto_ipc_ipc_gen_headers",
1066 "perfetto_protos_perfetto_ipc_wire_protocol_cpp_gen_headers",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00001067 "perfetto_protos_perfetto_trace_android_winscope_common_zero_gen_headers",
1068 "perfetto_protos_perfetto_trace_android_winscope_regular_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07001069 "perfetto_protos_perfetto_trace_android_zero_gen_headers",
1070 "perfetto_protos_perfetto_trace_chrome_zero_gen_headers",
Alex Attar3cacb1d2023-10-10 13:13:25 -04001071 "perfetto_protos_perfetto_trace_etw_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07001072 "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers",
1073 "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers",
1074 "perfetto_protos_perfetto_trace_gpu_zero_gen_headers",
1075 "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers",
1076 "perfetto_protos_perfetto_trace_minimal_zero_gen_headers",
1077 "perfetto_protos_perfetto_trace_non_minimal_zero_gen_headers",
1078 "perfetto_protos_perfetto_trace_perfetto_zero_gen_headers",
1079 "perfetto_protos_perfetto_trace_power_zero_gen_headers",
1080 "perfetto_protos_perfetto_trace_profiling_zero_gen_headers",
1081 "perfetto_protos_perfetto_trace_ps_zero_gen_headers",
Hector Dearman5974de02022-06-23 15:31:40 +01001082 "perfetto_protos_perfetto_trace_statsd_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07001083 "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers",
1084 "perfetto_protos_perfetto_trace_system_info_zero_gen_headers",
1085 "perfetto_protos_perfetto_trace_track_event_cpp_gen_headers",
1086 "perfetto_protos_perfetto_trace_track_event_zero_gen_headers",
Igor Kraskevich49b42882022-03-21 13:03:02 +00001087 "perfetto_protos_perfetto_trace_translation_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07001088 "perfetto_src_base_version_gen_h",
1089 ],
1090 export_generated_headers: [
1091 "perfetto_protos_perfetto_common_cpp_gen_headers",
1092 "perfetto_protos_perfetto_common_zero_gen_headers",
1093 "perfetto_protos_perfetto_config_android_cpp_gen_headers",
1094 "perfetto_protos_perfetto_config_android_zero_gen_headers",
1095 "perfetto_protos_perfetto_config_cpp_gen_headers",
1096 "perfetto_protos_perfetto_config_ftrace_cpp_gen_headers",
1097 "perfetto_protos_perfetto_config_ftrace_zero_gen_headers",
1098 "perfetto_protos_perfetto_config_gpu_cpp_gen_headers",
1099 "perfetto_protos_perfetto_config_gpu_zero_gen_headers",
1100 "perfetto_protos_perfetto_config_inode_file_cpp_gen_headers",
1101 "perfetto_protos_perfetto_config_inode_file_zero_gen_headers",
1102 "perfetto_protos_perfetto_config_interceptors_cpp_gen_headers",
1103 "perfetto_protos_perfetto_config_interceptors_zero_gen_headers",
1104 "perfetto_protos_perfetto_config_power_cpp_gen_headers",
1105 "perfetto_protos_perfetto_config_power_zero_gen_headers",
1106 "perfetto_protos_perfetto_config_process_stats_cpp_gen_headers",
1107 "perfetto_protos_perfetto_config_process_stats_zero_gen_headers",
1108 "perfetto_protos_perfetto_config_profiling_cpp_gen_headers",
1109 "perfetto_protos_perfetto_config_profiling_zero_gen_headers",
Hector Dearman5974de02022-06-23 15:31:40 +01001110 "perfetto_protos_perfetto_config_statsd_cpp_gen_headers",
1111 "perfetto_protos_perfetto_config_statsd_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07001112 "perfetto_protos_perfetto_config_sys_stats_cpp_gen_headers",
1113 "perfetto_protos_perfetto_config_sys_stats_zero_gen_headers",
Hector Dearman48047d12022-08-02 14:00:46 +01001114 "perfetto_protos_perfetto_config_system_info_cpp_gen_headers",
1115 "perfetto_protos_perfetto_config_system_info_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07001116 "perfetto_protos_perfetto_config_track_event_cpp_gen_headers",
1117 "perfetto_protos_perfetto_config_track_event_zero_gen_headers",
1118 "perfetto_protos_perfetto_config_zero_gen_headers",
1119 "perfetto_protos_perfetto_ipc_cpp_gen_headers",
1120 "perfetto_protos_perfetto_ipc_ipc_gen_headers",
1121 "perfetto_protos_perfetto_ipc_wire_protocol_cpp_gen_headers",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00001122 "perfetto_protos_perfetto_trace_android_winscope_common_zero_gen_headers",
1123 "perfetto_protos_perfetto_trace_android_winscope_regular_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07001124 "perfetto_protos_perfetto_trace_android_zero_gen_headers",
1125 "perfetto_protos_perfetto_trace_chrome_zero_gen_headers",
Alex Attar3cacb1d2023-10-10 13:13:25 -04001126 "perfetto_protos_perfetto_trace_etw_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07001127 "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers",
1128 "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers",
1129 "perfetto_protos_perfetto_trace_gpu_zero_gen_headers",
1130 "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers",
1131 "perfetto_protos_perfetto_trace_minimal_zero_gen_headers",
1132 "perfetto_protos_perfetto_trace_non_minimal_zero_gen_headers",
1133 "perfetto_protos_perfetto_trace_perfetto_zero_gen_headers",
1134 "perfetto_protos_perfetto_trace_power_zero_gen_headers",
1135 "perfetto_protos_perfetto_trace_profiling_zero_gen_headers",
1136 "perfetto_protos_perfetto_trace_ps_zero_gen_headers",
Hector Dearman5974de02022-06-23 15:31:40 +01001137 "perfetto_protos_perfetto_trace_statsd_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07001138 "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers",
1139 "perfetto_protos_perfetto_trace_system_info_zero_gen_headers",
1140 "perfetto_protos_perfetto_trace_track_event_cpp_gen_headers",
1141 "perfetto_protos_perfetto_trace_track_event_zero_gen_headers",
Igor Kraskevich49b42882022-03-21 13:03:02 +00001142 "perfetto_protos_perfetto_trace_translation_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07001143 "perfetto_src_base_version_gen_h",
1144 ],
1145 defaults: [
1146 "perfetto_defaults",
1147 ],
Colin Cross84172332021-09-14 16:41:33 -07001148 apex_available: [
Nikita Putikhin94e30a02023-11-22 14:16:47 +01001149 "//apex_available:anyapex",
Colin Cross84172332021-09-14 16:41:33 -07001150 "//apex_available:platform",
Colin Cross84172332021-09-14 16:41:33 -07001151 ],
Ryan Zuklie101f1b72022-10-25 16:22:07 -07001152 min_sdk_version: "30",
Primiano Tucci0b651b82019-06-03 17:16:23 +01001153}
1154
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01001155// GN: //src/perfetto_cmd:perfetto
Primiano Tucci6d848532018-01-17 10:32:33 +00001156cc_binary {
Colin Cross84172332021-09-14 16:41:33 -07001157 name: "perfetto",
1158 srcs: [
Daniele Di Proietto51e64112024-01-29 17:48:09 +00001159 ":perfetto_base_default_platform",
1160 ":perfetto_include_perfetto_base_base",
1161 ":perfetto_include_perfetto_ext_base_base",
1162 ":perfetto_include_perfetto_ext_base_version",
1163 ":perfetto_include_perfetto_ext_ipc_ipc",
Colin Cross84172332021-09-14 16:41:33 -07001164 ":perfetto_include_perfetto_ext_traced_traced",
Daniele Di Proietto51e64112024-01-29 17:48:09 +00001165 ":perfetto_include_perfetto_ext_tracing_core_core",
1166 ":perfetto_include_perfetto_ext_tracing_ipc_ipc",
1167 ":perfetto_include_perfetto_protozero_protozero",
1168 ":perfetto_include_perfetto_public_abi_base",
1169 ":perfetto_include_perfetto_public_base",
1170 ":perfetto_include_perfetto_public_protozero",
1171 ":perfetto_include_perfetto_tracing_core_core",
1172 ":perfetto_include_perfetto_tracing_core_forward_decls",
1173 ":perfetto_include_perfetto_tracing_tracing",
1174 ":perfetto_protos_perfetto_common_cpp_gen",
1175 ":perfetto_protos_perfetto_common_zero_gen",
1176 ":perfetto_protos_perfetto_config_android_cpp_gen",
1177 ":perfetto_protos_perfetto_config_android_zero_gen",
1178 ":perfetto_protos_perfetto_config_cpp_gen",
1179 ":perfetto_protos_perfetto_config_ftrace_cpp_gen",
1180 ":perfetto_protos_perfetto_config_ftrace_zero_gen",
1181 ":perfetto_protos_perfetto_config_gpu_cpp_gen",
1182 ":perfetto_protos_perfetto_config_gpu_zero_gen",
1183 ":perfetto_protos_perfetto_config_inode_file_cpp_gen",
1184 ":perfetto_protos_perfetto_config_inode_file_zero_gen",
1185 ":perfetto_protos_perfetto_config_interceptors_cpp_gen",
1186 ":perfetto_protos_perfetto_config_interceptors_zero_gen",
1187 ":perfetto_protos_perfetto_config_power_cpp_gen",
1188 ":perfetto_protos_perfetto_config_power_zero_gen",
1189 ":perfetto_protos_perfetto_config_process_stats_cpp_gen",
1190 ":perfetto_protos_perfetto_config_process_stats_zero_gen",
1191 ":perfetto_protos_perfetto_config_profiling_cpp_gen",
1192 ":perfetto_protos_perfetto_config_profiling_zero_gen",
1193 ":perfetto_protos_perfetto_config_statsd_cpp_gen",
1194 ":perfetto_protos_perfetto_config_statsd_zero_gen",
1195 ":perfetto_protos_perfetto_config_sys_stats_cpp_gen",
1196 ":perfetto_protos_perfetto_config_sys_stats_zero_gen",
1197 ":perfetto_protos_perfetto_config_system_info_cpp_gen",
1198 ":perfetto_protos_perfetto_config_system_info_zero_gen",
1199 ":perfetto_protos_perfetto_config_track_event_cpp_gen",
1200 ":perfetto_protos_perfetto_config_track_event_zero_gen",
1201 ":perfetto_protos_perfetto_config_zero_gen",
1202 ":perfetto_protos_perfetto_ipc_cpp_gen",
1203 ":perfetto_protos_perfetto_ipc_ipc_gen",
1204 ":perfetto_protos_perfetto_ipc_wire_protocol_cpp_gen",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00001205 ":perfetto_protos_perfetto_trace_android_winscope_common_zero_gen",
1206 ":perfetto_protos_perfetto_trace_android_winscope_regular_zero_gen",
Daniele Di Proietto51e64112024-01-29 17:48:09 +00001207 ":perfetto_protos_perfetto_trace_android_zero_gen",
1208 ":perfetto_protos_perfetto_trace_chrome_zero_gen",
1209 ":perfetto_protos_perfetto_trace_etw_zero_gen",
1210 ":perfetto_protos_perfetto_trace_filesystem_zero_gen",
1211 ":perfetto_protos_perfetto_trace_ftrace_zero_gen",
1212 ":perfetto_protos_perfetto_trace_gpu_zero_gen",
1213 ":perfetto_protos_perfetto_trace_interned_data_zero_gen",
1214 ":perfetto_protos_perfetto_trace_minimal_zero_gen",
1215 ":perfetto_protos_perfetto_trace_non_minimal_zero_gen",
1216 ":perfetto_protos_perfetto_trace_perfetto_zero_gen",
1217 ":perfetto_protos_perfetto_trace_power_zero_gen",
1218 ":perfetto_protos_perfetto_trace_profiling_zero_gen",
1219 ":perfetto_protos_perfetto_trace_ps_zero_gen",
1220 ":perfetto_protos_perfetto_trace_statsd_zero_gen",
1221 ":perfetto_protos_perfetto_trace_sys_stats_zero_gen",
1222 ":perfetto_protos_perfetto_trace_system_info_zero_gen",
1223 ":perfetto_protos_perfetto_trace_track_event_cpp_gen",
1224 ":perfetto_protos_perfetto_trace_track_event_zero_gen",
1225 ":perfetto_protos_perfetto_trace_translation_zero_gen",
1226 ":perfetto_src_android_internal_headers",
1227 ":perfetto_src_android_internal_lazy_library_loader",
1228 ":perfetto_src_android_stats_android_stats",
1229 ":perfetto_src_android_stats_perfetto_atoms",
1230 ":perfetto_src_base_base",
1231 ":perfetto_src_base_unix_socket",
1232 ":perfetto_src_base_version",
1233 ":perfetto_src_ipc_client",
1234 ":perfetto_src_ipc_common",
1235 ":perfetto_src_perfetto_cmd_bugreport_path",
Daniele Di Proietto51e64112024-01-29 17:48:09 +00001236 ":perfetto_src_perfetto_cmd_perfetto_cmd",
1237 ":perfetto_src_perfetto_cmd_protos_cpp_gen",
1238 ":perfetto_src_perfetto_cmd_trigger_producer",
1239 ":perfetto_src_protozero_protozero",
Primiano Tuccia6fd5e22024-11-29 12:08:29 +00001240 ":perfetto_src_trace_config_utils_txt_to_pb",
Daniele Di Proietto51e64112024-01-29 17:48:09 +00001241 ":perfetto_src_tracing_common",
1242 ":perfetto_src_tracing_core_core",
1243 ":perfetto_src_tracing_ipc_common",
1244 ":perfetto_src_tracing_ipc_consumer_consumer",
1245 ":perfetto_src_tracing_ipc_default_socket",
1246 ":perfetto_src_tracing_ipc_producer_producer",
Colin Cross84172332021-09-14 16:41:33 -07001247 "src/perfetto_cmd/main.cc",
1248 ],
1249 shared_libs: [
1250 "liblog",
Daniele Di Proietto51e64112024-01-29 17:48:09 +00001251 ],
1252 generated_headers: [
1253 "perfetto_protos_perfetto_common_cpp_gen_headers",
1254 "perfetto_protos_perfetto_common_zero_gen_headers",
1255 "perfetto_protos_perfetto_config_android_cpp_gen_headers",
1256 "perfetto_protos_perfetto_config_android_zero_gen_headers",
1257 "perfetto_protos_perfetto_config_cpp_gen_headers",
1258 "perfetto_protos_perfetto_config_ftrace_cpp_gen_headers",
1259 "perfetto_protos_perfetto_config_ftrace_zero_gen_headers",
1260 "perfetto_protos_perfetto_config_gpu_cpp_gen_headers",
1261 "perfetto_protos_perfetto_config_gpu_zero_gen_headers",
1262 "perfetto_protos_perfetto_config_inode_file_cpp_gen_headers",
1263 "perfetto_protos_perfetto_config_inode_file_zero_gen_headers",
1264 "perfetto_protos_perfetto_config_interceptors_cpp_gen_headers",
1265 "perfetto_protos_perfetto_config_interceptors_zero_gen_headers",
1266 "perfetto_protos_perfetto_config_power_cpp_gen_headers",
1267 "perfetto_protos_perfetto_config_power_zero_gen_headers",
1268 "perfetto_protos_perfetto_config_process_stats_cpp_gen_headers",
1269 "perfetto_protos_perfetto_config_process_stats_zero_gen_headers",
1270 "perfetto_protos_perfetto_config_profiling_cpp_gen_headers",
1271 "perfetto_protos_perfetto_config_profiling_zero_gen_headers",
1272 "perfetto_protos_perfetto_config_statsd_cpp_gen_headers",
1273 "perfetto_protos_perfetto_config_statsd_zero_gen_headers",
1274 "perfetto_protos_perfetto_config_sys_stats_cpp_gen_headers",
1275 "perfetto_protos_perfetto_config_sys_stats_zero_gen_headers",
1276 "perfetto_protos_perfetto_config_system_info_cpp_gen_headers",
1277 "perfetto_protos_perfetto_config_system_info_zero_gen_headers",
1278 "perfetto_protos_perfetto_config_track_event_cpp_gen_headers",
1279 "perfetto_protos_perfetto_config_track_event_zero_gen_headers",
1280 "perfetto_protos_perfetto_config_zero_gen_headers",
1281 "perfetto_protos_perfetto_ipc_cpp_gen_headers",
1282 "perfetto_protos_perfetto_ipc_ipc_gen_headers",
1283 "perfetto_protos_perfetto_ipc_wire_protocol_cpp_gen_headers",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00001284 "perfetto_protos_perfetto_trace_android_winscope_common_zero_gen_headers",
1285 "perfetto_protos_perfetto_trace_android_winscope_regular_zero_gen_headers",
Daniele Di Proietto51e64112024-01-29 17:48:09 +00001286 "perfetto_protos_perfetto_trace_android_zero_gen_headers",
1287 "perfetto_protos_perfetto_trace_chrome_zero_gen_headers",
1288 "perfetto_protos_perfetto_trace_etw_zero_gen_headers",
1289 "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers",
1290 "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers",
1291 "perfetto_protos_perfetto_trace_gpu_zero_gen_headers",
1292 "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers",
1293 "perfetto_protos_perfetto_trace_minimal_zero_gen_headers",
1294 "perfetto_protos_perfetto_trace_non_minimal_zero_gen_headers",
1295 "perfetto_protos_perfetto_trace_perfetto_zero_gen_headers",
1296 "perfetto_protos_perfetto_trace_power_zero_gen_headers",
1297 "perfetto_protos_perfetto_trace_profiling_zero_gen_headers",
1298 "perfetto_protos_perfetto_trace_ps_zero_gen_headers",
1299 "perfetto_protos_perfetto_trace_statsd_zero_gen_headers",
1300 "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers",
1301 "perfetto_protos_perfetto_trace_system_info_zero_gen_headers",
1302 "perfetto_protos_perfetto_trace_track_event_cpp_gen_headers",
1303 "perfetto_protos_perfetto_trace_track_event_zero_gen_headers",
1304 "perfetto_protos_perfetto_trace_translation_zero_gen_headers",
1305 "perfetto_src_base_version_gen_h",
Daniele Di Proietto51e64112024-01-29 17:48:09 +00001306 "perfetto_src_perfetto_cmd_protos_cpp_gen_headers",
Primiano Tuccia6fd5e22024-11-29 12:08:29 +00001307 "perfetto_src_trace_config_utils_gen_cc_config_descriptor",
Colin Cross84172332021-09-14 16:41:33 -07001308 ],
1309 defaults: [
1310 "perfetto_defaults",
1311 ],
Daniele Di Proiettoe8068062024-02-16 17:54:03 +00001312 required: [
1313 "perfetto_persistent_cfg.pbtxt",
1314 ],
Primiano Tucci6067e732018-01-08 16:19:40 +00001315}
1316
Lalit Maganti52f13362023-01-23 16:38:01 +00001317// GN: //src/base:perfetto_base_default_platform
1318filegroup {
1319 name: "perfetto_base_default_platform",
1320 srcs: [
1321 "src/base/default_platform.cc",
1322 ],
1323}
1324
Lalit Maganti0e5c8a72024-02-01 19:13:42 +00001325// GN: [//protos/perfetto/config:source_set]
Daniele Di Proietto40830782024-05-21 09:40:36 +00001326filegroup {
1327 name: "perfetto_config_filegroup_proto",
Lalit Maganti0e5c8a72024-02-01 19:13:42 +00001328 srcs: [
1329 "protos/perfetto/common/android_energy_consumer_descriptor.proto",
1330 "protos/perfetto/common/android_log_constants.proto",
1331 "protos/perfetto/common/builtin_clock.proto",
1332 "protos/perfetto/common/commit_data_request.proto",
1333 "protos/perfetto/common/data_source_descriptor.proto",
1334 "protos/perfetto/common/descriptor.proto",
1335 "protos/perfetto/common/ftrace_descriptor.proto",
1336 "protos/perfetto/common/gpu_counter_descriptor.proto",
1337 "protos/perfetto/common/interceptor_descriptor.proto",
1338 "protos/perfetto/common/observable_events.proto",
1339 "protos/perfetto/common/perf_events.proto",
1340 "protos/perfetto/common/protolog_common.proto",
1341 "protos/perfetto/common/sys_stats_counters.proto",
1342 "protos/perfetto/common/trace_stats.proto",
1343 "protos/perfetto/common/tracing_service_capabilities.proto",
1344 "protos/perfetto/common/tracing_service_state.proto",
1345 "protos/perfetto/common/track_event_descriptor.proto",
1346 "protos/perfetto/config/android/android_game_intervention_list_config.proto",
Prabir Pradhan278f4672024-01-16 21:01:06 +00001347 "protos/perfetto/config/android/android_input_event_config.proto",
Lalit Maganti0e5c8a72024-02-01 19:13:42 +00001348 "protos/perfetto/config/android/android_log_config.proto",
1349 "protos/perfetto/config/android/android_polled_state_config.proto",
1350 "protos/perfetto/config/android/android_sdk_sysprop_guard_config.proto",
1351 "protos/perfetto/config/android/android_system_property_config.proto",
1352 "protos/perfetto/config/android/network_trace_config.proto",
1353 "protos/perfetto/config/android/packages_list_config.proto",
Simon MacMullen10715962024-04-18 17:48:47 +00001354 "protos/perfetto/config/android/pixel_modem_config.proto",
Lalit Maganti0e5c8a72024-02-01 19:13:42 +00001355 "protos/perfetto/config/android/protolog_config.proto",
1356 "protos/perfetto/config/android/surfaceflinger_layers_config.proto",
1357 "protos/perfetto/config/android/surfaceflinger_transactions_config.proto",
Kean Mariotti1060a4a2024-06-26 08:01:48 +00001358 "protos/perfetto/config/android/windowmanager_config.proto",
Lalit Maganti0e5c8a72024-02-01 19:13:42 +00001359 "protos/perfetto/config/chrome/chrome_config.proto",
1360 "protos/perfetto/config/chrome/scenario_config.proto",
Etienne Pierre-doray0508c942024-10-31 15:38:19 +00001361 "protos/perfetto/config/chrome/system_metrics.proto",
Lalit Maganti0e5c8a72024-02-01 19:13:42 +00001362 "protos/perfetto/config/chrome/v8_config.proto",
1363 "protos/perfetto/config/data_source_config.proto",
1364 "protos/perfetto/config/etw/etw_config.proto",
1365 "protos/perfetto/config/ftrace/ftrace_config.proto",
1366 "protos/perfetto/config/gpu/gpu_counter_config.proto",
1367 "protos/perfetto/config/gpu/vulkan_memory_config.proto",
1368 "protos/perfetto/config/inode_file/inode_file_config.proto",
1369 "protos/perfetto/config/interceptor_config.proto",
1370 "protos/perfetto/config/interceptors/console_config.proto",
1371 "protos/perfetto/config/power/android_power_config.proto",
1372 "protos/perfetto/config/process_stats/process_stats_config.proto",
1373 "protos/perfetto/config/profiling/heapprofd_config.proto",
1374 "protos/perfetto/config/profiling/java_hprof_config.proto",
1375 "protos/perfetto/config/profiling/perf_event_config.proto",
1376 "protos/perfetto/config/statsd/atom_ids.proto",
1377 "protos/perfetto/config/statsd/statsd_tracing_config.proto",
1378 "protos/perfetto/config/stress_test_config.proto",
1379 "protos/perfetto/config/sys_stats/sys_stats_config.proto",
1380 "protos/perfetto/config/system_info/system_info.proto",
1381 "protos/perfetto/config/test_config.proto",
1382 "protos/perfetto/config/trace_config.proto",
1383 "protos/perfetto/config/track_event/track_event_config.proto",
1384 ],
Lalit Maganti0e5c8a72024-02-01 19:13:42 +00001385}
1386
Lalit Maganti9e8a9952024-09-09 11:52:56 +01001387// GN: [//protos/perfetto/config:source_set]
1388java_library {
1389 name: "perfetto_config_java_protos",
1390 srcs: [
1391 "protos/perfetto/common/android_energy_consumer_descriptor.proto",
1392 "protos/perfetto/common/android_log_constants.proto",
1393 "protos/perfetto/common/builtin_clock.proto",
1394 "protos/perfetto/common/commit_data_request.proto",
1395 "protos/perfetto/common/data_source_descriptor.proto",
1396 "protos/perfetto/common/descriptor.proto",
1397 "protos/perfetto/common/ftrace_descriptor.proto",
1398 "protos/perfetto/common/gpu_counter_descriptor.proto",
1399 "protos/perfetto/common/interceptor_descriptor.proto",
1400 "protos/perfetto/common/observable_events.proto",
1401 "protos/perfetto/common/perf_events.proto",
1402 "protos/perfetto/common/protolog_common.proto",
1403 "protos/perfetto/common/sys_stats_counters.proto",
1404 "protos/perfetto/common/trace_stats.proto",
1405 "protos/perfetto/common/tracing_service_capabilities.proto",
1406 "protos/perfetto/common/tracing_service_state.proto",
1407 "protos/perfetto/common/track_event_descriptor.proto",
1408 "protos/perfetto/config/android/android_game_intervention_list_config.proto",
1409 "protos/perfetto/config/android/android_input_event_config.proto",
1410 "protos/perfetto/config/android/android_log_config.proto",
1411 "protos/perfetto/config/android/android_polled_state_config.proto",
1412 "protos/perfetto/config/android/android_sdk_sysprop_guard_config.proto",
1413 "protos/perfetto/config/android/android_system_property_config.proto",
1414 "protos/perfetto/config/android/network_trace_config.proto",
1415 "protos/perfetto/config/android/packages_list_config.proto",
1416 "protos/perfetto/config/android/pixel_modem_config.proto",
1417 "protos/perfetto/config/android/protolog_config.proto",
1418 "protos/perfetto/config/android/surfaceflinger_layers_config.proto",
1419 "protos/perfetto/config/android/surfaceflinger_transactions_config.proto",
1420 "protos/perfetto/config/android/windowmanager_config.proto",
1421 "protos/perfetto/config/chrome/chrome_config.proto",
1422 "protos/perfetto/config/chrome/scenario_config.proto",
Etienne Pierre-doray0508c942024-10-31 15:38:19 +00001423 "protos/perfetto/config/chrome/system_metrics.proto",
Lalit Maganti9e8a9952024-09-09 11:52:56 +01001424 "protos/perfetto/config/chrome/v8_config.proto",
1425 "protos/perfetto/config/data_source_config.proto",
1426 "protos/perfetto/config/etw/etw_config.proto",
1427 "protos/perfetto/config/ftrace/ftrace_config.proto",
1428 "protos/perfetto/config/gpu/gpu_counter_config.proto",
1429 "protos/perfetto/config/gpu/vulkan_memory_config.proto",
1430 "protos/perfetto/config/inode_file/inode_file_config.proto",
1431 "protos/perfetto/config/interceptor_config.proto",
1432 "protos/perfetto/config/interceptors/console_config.proto",
1433 "protos/perfetto/config/power/android_power_config.proto",
1434 "protos/perfetto/config/process_stats/process_stats_config.proto",
1435 "protos/perfetto/config/profiling/heapprofd_config.proto",
1436 "protos/perfetto/config/profiling/java_hprof_config.proto",
1437 "protos/perfetto/config/profiling/perf_event_config.proto",
1438 "protos/perfetto/config/statsd/atom_ids.proto",
1439 "protos/perfetto/config/statsd/statsd_tracing_config.proto",
1440 "protos/perfetto/config/stress_test_config.proto",
1441 "protos/perfetto/config/sys_stats/sys_stats_config.proto",
1442 "protos/perfetto/config/system_info/system_info.proto",
1443 "protos/perfetto/config/test_config.proto",
1444 "protos/perfetto/config/trace_config.proto",
1445 "protos/perfetto/config/track_event/track_event_config.proto",
1446 ],
1447 proto: {
1448 type: "lite",
1449 canonical_path_from_root: false,
1450 },
1451}
1452
Primiano Tuccifbf4a732019-12-11 00:32:15 +00001453// GN: //test/cts:perfetto_cts_deps
1454cc_library_static {
Colin Cross84172332021-09-14 16:41:33 -07001455 name: "perfetto_cts_deps",
1456 srcs: [
Lalit Maganti52f13362023-01-23 16:38:01 +00001457 ":perfetto_base_default_platform",
Colin Cross84172332021-09-14 16:41:33 -07001458 ":perfetto_include_perfetto_base_base",
1459 ":perfetto_include_perfetto_ext_base_base",
Daniele Di Proietto15b801e2022-06-30 12:56:13 +01001460 ":perfetto_include_perfetto_ext_base_version",
Colin Cross84172332021-09-14 16:41:33 -07001461 ":perfetto_include_perfetto_ext_ipc_ipc",
Lalit Magantifd92a952024-02-28 11:58:53 +00001462 ":perfetto_include_perfetto_ext_protozero_protozero",
Colin Cross84172332021-09-14 16:41:33 -07001463 ":perfetto_include_perfetto_ext_traced_sys_stats_counters",
1464 ":perfetto_include_perfetto_ext_traced_traced",
1465 ":perfetto_include_perfetto_ext_tracing_core_core",
1466 ":perfetto_include_perfetto_ext_tracing_ipc_ipc",
1467 ":perfetto_include_perfetto_protozero_protozero",
Daniele Di Proietto8b46d692022-04-22 15:59:40 +01001468 ":perfetto_include_perfetto_public_abi_base",
1469 ":perfetto_include_perfetto_public_base",
Daniele Di Proietto7451ea62023-01-09 11:31:16 +00001470 ":perfetto_include_perfetto_public_protozero",
Colin Cross84172332021-09-14 16:41:33 -07001471 ":perfetto_include_perfetto_tracing_core_core",
1472 ":perfetto_include_perfetto_tracing_core_forward_decls",
1473 ":perfetto_include_perfetto_tracing_tracing",
1474 ":perfetto_protos_perfetto_common_cpp_gen",
1475 ":perfetto_protos_perfetto_common_zero_gen",
1476 ":perfetto_protos_perfetto_config_android_cpp_gen",
1477 ":perfetto_protos_perfetto_config_android_zero_gen",
1478 ":perfetto_protos_perfetto_config_cpp_gen",
1479 ":perfetto_protos_perfetto_config_ftrace_cpp_gen",
1480 ":perfetto_protos_perfetto_config_ftrace_zero_gen",
1481 ":perfetto_protos_perfetto_config_gpu_cpp_gen",
1482 ":perfetto_protos_perfetto_config_gpu_zero_gen",
1483 ":perfetto_protos_perfetto_config_inode_file_cpp_gen",
1484 ":perfetto_protos_perfetto_config_inode_file_zero_gen",
1485 ":perfetto_protos_perfetto_config_interceptors_cpp_gen",
1486 ":perfetto_protos_perfetto_config_interceptors_zero_gen",
1487 ":perfetto_protos_perfetto_config_power_cpp_gen",
1488 ":perfetto_protos_perfetto_config_power_zero_gen",
1489 ":perfetto_protos_perfetto_config_process_stats_cpp_gen",
1490 ":perfetto_protos_perfetto_config_process_stats_zero_gen",
1491 ":perfetto_protos_perfetto_config_profiling_cpp_gen",
1492 ":perfetto_protos_perfetto_config_profiling_zero_gen",
Hector Dearman5974de02022-06-23 15:31:40 +01001493 ":perfetto_protos_perfetto_config_statsd_cpp_gen",
1494 ":perfetto_protos_perfetto_config_statsd_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -07001495 ":perfetto_protos_perfetto_config_sys_stats_cpp_gen",
1496 ":perfetto_protos_perfetto_config_sys_stats_zero_gen",
Hector Dearman48047d12022-08-02 14:00:46 +01001497 ":perfetto_protos_perfetto_config_system_info_cpp_gen",
1498 ":perfetto_protos_perfetto_config_system_info_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -07001499 ":perfetto_protos_perfetto_config_track_event_cpp_gen",
1500 ":perfetto_protos_perfetto_config_track_event_zero_gen",
1501 ":perfetto_protos_perfetto_config_zero_gen",
1502 ":perfetto_protos_perfetto_ipc_cpp_gen",
1503 ":perfetto_protos_perfetto_ipc_ipc_gen",
1504 ":perfetto_protos_perfetto_ipc_wire_protocol_cpp_gen",
1505 ":perfetto_protos_perfetto_trace_android_cpp_gen",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00001506 ":perfetto_protos_perfetto_trace_android_winscope_common_cpp_gen",
1507 ":perfetto_protos_perfetto_trace_android_winscope_common_zero_gen",
1508 ":perfetto_protos_perfetto_trace_android_winscope_regular_cpp_gen",
1509 ":perfetto_protos_perfetto_trace_android_winscope_regular_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -07001510 ":perfetto_protos_perfetto_trace_android_zero_gen",
1511 ":perfetto_protos_perfetto_trace_chrome_cpp_gen",
1512 ":perfetto_protos_perfetto_trace_chrome_zero_gen",
Alex Attar3cacb1d2023-10-10 13:13:25 -04001513 ":perfetto_protos_perfetto_trace_etw_cpp_gen",
1514 ":perfetto_protos_perfetto_trace_etw_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -07001515 ":perfetto_protos_perfetto_trace_filesystem_cpp_gen",
1516 ":perfetto_protos_perfetto_trace_filesystem_zero_gen",
1517 ":perfetto_protos_perfetto_trace_ftrace_cpp_gen",
1518 ":perfetto_protos_perfetto_trace_ftrace_zero_gen",
1519 ":perfetto_protos_perfetto_trace_gpu_cpp_gen",
1520 ":perfetto_protos_perfetto_trace_gpu_zero_gen",
1521 ":perfetto_protos_perfetto_trace_interned_data_cpp_gen",
1522 ":perfetto_protos_perfetto_trace_interned_data_zero_gen",
1523 ":perfetto_protos_perfetto_trace_minimal_cpp_gen",
1524 ":perfetto_protos_perfetto_trace_minimal_zero_gen",
1525 ":perfetto_protos_perfetto_trace_non_minimal_cpp_gen",
1526 ":perfetto_protos_perfetto_trace_non_minimal_zero_gen",
1527 ":perfetto_protos_perfetto_trace_perfetto_cpp_gen",
1528 ":perfetto_protos_perfetto_trace_perfetto_zero_gen",
1529 ":perfetto_protos_perfetto_trace_power_cpp_gen",
1530 ":perfetto_protos_perfetto_trace_power_zero_gen",
1531 ":perfetto_protos_perfetto_trace_profiling_cpp_gen",
1532 ":perfetto_protos_perfetto_trace_profiling_zero_gen",
1533 ":perfetto_protos_perfetto_trace_ps_cpp_gen",
1534 ":perfetto_protos_perfetto_trace_ps_zero_gen",
Hector Dearman5974de02022-06-23 15:31:40 +01001535 ":perfetto_protos_perfetto_trace_statsd_cpp_gen",
1536 ":perfetto_protos_perfetto_trace_statsd_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -07001537 ":perfetto_protos_perfetto_trace_sys_stats_cpp_gen",
1538 ":perfetto_protos_perfetto_trace_sys_stats_zero_gen",
1539 ":perfetto_protos_perfetto_trace_system_info_cpp_gen",
1540 ":perfetto_protos_perfetto_trace_system_info_zero_gen",
1541 ":perfetto_protos_perfetto_trace_track_event_cpp_gen",
1542 ":perfetto_protos_perfetto_trace_track_event_zero_gen",
Igor Kraskevich49b42882022-03-21 13:03:02 +00001543 ":perfetto_protos_perfetto_trace_translation_cpp_gen",
1544 ":perfetto_protos_perfetto_trace_translation_zero_gen",
Hector Dearman09db5b02022-07-11 13:35:23 +01001545 ":perfetto_protos_third_party_statsd_config_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -07001546 ":perfetto_src_android_internal_headers",
1547 ":perfetto_src_android_internal_lazy_library_loader",
1548 ":perfetto_src_android_stats_android_stats",
1549 ":perfetto_src_android_stats_perfetto_atoms",
1550 ":perfetto_src_base_base",
Lalit Maganti1e7aef12024-10-13 14:19:09 +01001551 ":perfetto_src_base_clock_snapshots",
Colin Cross84172332021-09-14 16:41:33 -07001552 ":perfetto_src_base_test_support",
1553 ":perfetto_src_base_unix_socket",
Daniele Di Proietto15b801e2022-06-30 12:56:13 +01001554 ":perfetto_src_base_version",
Colin Cross84172332021-09-14 16:41:33 -07001555 ":perfetto_src_ipc_client",
1556 ":perfetto_src_ipc_common",
1557 ":perfetto_src_ipc_host",
1558 ":perfetto_src_ipc_perfetto_ipc",
1559 ":perfetto_src_kallsyms_kallsyms",
Ryan Zuklieec18eb32022-07-25 15:51:59 -07001560 ":perfetto_src_kernel_utils_syscall_table",
Colin Cross84172332021-09-14 16:41:33 -07001561 ":perfetto_src_protozero_filtering_bytecode_common",
Daniele Di Proietto9bccc2d2021-09-14 13:31:48 +00001562 ":perfetto_src_protozero_filtering_bytecode_generator",
Colin Cross84172332021-09-14 16:41:33 -07001563 ":perfetto_src_protozero_filtering_bytecode_parser",
1564 ":perfetto_src_protozero_filtering_message_filter",
Lalit Maganti43b2b942023-06-21 10:31:36 +01001565 ":perfetto_src_protozero_filtering_string_filter",
Hector Dearman09db5b02022-07-11 13:35:23 +01001566 ":perfetto_src_protozero_proto_ring_buffer",
Colin Cross84172332021-09-14 16:41:33 -07001567 ":perfetto_src_protozero_protozero",
Andy Yu2b0a2132022-04-07 16:17:10 -07001568 ":perfetto_src_traced_probes_android_game_intervention_list_android_game_intervention_list",
Colin Cross84172332021-09-14 16:41:33 -07001569 ":perfetto_src_traced_probes_android_log_android_log",
Simon MacMullenf0a6b382022-07-06 16:35:55 +00001570 ":perfetto_src_traced_probes_android_system_property_android_system_property",
Colin Cross84172332021-09-14 16:41:33 -07001571 ":perfetto_src_traced_probes_common_common",
1572 ":perfetto_src_traced_probes_data_source",
1573 ":perfetto_src_traced_probes_filesystem_filesystem",
1574 ":perfetto_src_traced_probes_ftrace_format_parser_format_parser",
1575 ":perfetto_src_traced_probes_ftrace_ftrace",
1576 ":perfetto_src_traced_probes_ftrace_ftrace_procfs",
1577 ":perfetto_src_traced_probes_initial_display_state_initial_display_state",
1578 ":perfetto_src_traced_probes_metatrace_metatrace",
1579 ":perfetto_src_traced_probes_packages_list_packages_list",
1580 ":perfetto_src_traced_probes_packages_list_packages_list_parser",
1581 ":perfetto_src_traced_probes_power_power",
1582 ":perfetto_src_traced_probes_probes_src",
1583 ":perfetto_src_traced_probes_ps_ps",
Hector Dearman09db5b02022-07-11 13:35:23 +01001584 ":perfetto_src_traced_probes_statsd_client_statsd_client",
Colin Cross84172332021-09-14 16:41:33 -07001585 ":perfetto_src_traced_probes_sys_stats_sys_stats",
1586 ":perfetto_src_traced_probes_system_info_system_info",
1587 ":perfetto_src_tracing_common",
1588 ":perfetto_src_tracing_core_core",
Colin Cross84172332021-09-14 16:41:33 -07001589 ":perfetto_src_tracing_ipc_common",
1590 ":perfetto_src_tracing_ipc_consumer_consumer",
Primiano Tucci8761a312021-11-25 17:17:23 +00001591 ":perfetto_src_tracing_ipc_default_socket",
Colin Cross84172332021-09-14 16:41:33 -07001592 ":perfetto_src_tracing_ipc_producer_producer",
1593 ":perfetto_src_tracing_ipc_service_service",
Daniele Di Proietto7c058852024-01-19 13:25:40 +00001594 ":perfetto_src_tracing_service_service",
Colin Cross84172332021-09-14 16:41:33 -07001595 ":perfetto_test_test_helper",
1596 "test/cts/device_feature_test_cts.cc",
Colin Cross84172332021-09-14 16:41:33 -07001597 "test/cts/heapprofd_java_test_cts.cc",
1598 "test/cts/heapprofd_test_cts.cc",
Daniele Di Proietto55674432023-06-02 10:46:53 +00001599 "test/cts/producer_to_consumer_integrationtest_cts.cc",
Colin Cross84172332021-09-14 16:41:33 -07001600 "test/cts/traced_perf_test_cts.cc",
1601 ],
1602 static_libs: [
1603 "libgmock",
1604 "libgtest",
1605 "libperfetto_client_experimental",
1606 ],
1607 whole_static_libs: [
1608 "perfetto_gtest_logcat_printer",
1609 ],
1610 generated_headers: [
1611 "perfetto_protos_perfetto_common_cpp_gen_headers",
1612 "perfetto_protos_perfetto_common_zero_gen_headers",
1613 "perfetto_protos_perfetto_config_android_cpp_gen_headers",
1614 "perfetto_protos_perfetto_config_android_zero_gen_headers",
1615 "perfetto_protos_perfetto_config_cpp_gen_headers",
1616 "perfetto_protos_perfetto_config_ftrace_cpp_gen_headers",
1617 "perfetto_protos_perfetto_config_ftrace_zero_gen_headers",
1618 "perfetto_protos_perfetto_config_gpu_cpp_gen_headers",
1619 "perfetto_protos_perfetto_config_gpu_zero_gen_headers",
1620 "perfetto_protos_perfetto_config_inode_file_cpp_gen_headers",
1621 "perfetto_protos_perfetto_config_inode_file_zero_gen_headers",
1622 "perfetto_protos_perfetto_config_interceptors_cpp_gen_headers",
1623 "perfetto_protos_perfetto_config_interceptors_zero_gen_headers",
1624 "perfetto_protos_perfetto_config_power_cpp_gen_headers",
1625 "perfetto_protos_perfetto_config_power_zero_gen_headers",
1626 "perfetto_protos_perfetto_config_process_stats_cpp_gen_headers",
1627 "perfetto_protos_perfetto_config_process_stats_zero_gen_headers",
1628 "perfetto_protos_perfetto_config_profiling_cpp_gen_headers",
1629 "perfetto_protos_perfetto_config_profiling_zero_gen_headers",
Hector Dearman5974de02022-06-23 15:31:40 +01001630 "perfetto_protos_perfetto_config_statsd_cpp_gen_headers",
1631 "perfetto_protos_perfetto_config_statsd_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07001632 "perfetto_protos_perfetto_config_sys_stats_cpp_gen_headers",
1633 "perfetto_protos_perfetto_config_sys_stats_zero_gen_headers",
Hector Dearman48047d12022-08-02 14:00:46 +01001634 "perfetto_protos_perfetto_config_system_info_cpp_gen_headers",
1635 "perfetto_protos_perfetto_config_system_info_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07001636 "perfetto_protos_perfetto_config_track_event_cpp_gen_headers",
1637 "perfetto_protos_perfetto_config_track_event_zero_gen_headers",
1638 "perfetto_protos_perfetto_config_zero_gen_headers",
1639 "perfetto_protos_perfetto_ipc_cpp_gen_headers",
1640 "perfetto_protos_perfetto_ipc_ipc_gen_headers",
1641 "perfetto_protos_perfetto_ipc_wire_protocol_cpp_gen_headers",
1642 "perfetto_protos_perfetto_trace_android_cpp_gen_headers",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00001643 "perfetto_protos_perfetto_trace_android_winscope_common_cpp_gen_headers",
1644 "perfetto_protos_perfetto_trace_android_winscope_common_zero_gen_headers",
1645 "perfetto_protos_perfetto_trace_android_winscope_regular_cpp_gen_headers",
1646 "perfetto_protos_perfetto_trace_android_winscope_regular_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07001647 "perfetto_protos_perfetto_trace_android_zero_gen_headers",
1648 "perfetto_protos_perfetto_trace_chrome_cpp_gen_headers",
1649 "perfetto_protos_perfetto_trace_chrome_zero_gen_headers",
Alex Attar3cacb1d2023-10-10 13:13:25 -04001650 "perfetto_protos_perfetto_trace_etw_cpp_gen_headers",
1651 "perfetto_protos_perfetto_trace_etw_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07001652 "perfetto_protos_perfetto_trace_filesystem_cpp_gen_headers",
1653 "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers",
1654 "perfetto_protos_perfetto_trace_ftrace_cpp_gen_headers",
1655 "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers",
1656 "perfetto_protos_perfetto_trace_gpu_cpp_gen_headers",
1657 "perfetto_protos_perfetto_trace_gpu_zero_gen_headers",
1658 "perfetto_protos_perfetto_trace_interned_data_cpp_gen_headers",
1659 "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers",
1660 "perfetto_protos_perfetto_trace_minimal_cpp_gen_headers",
1661 "perfetto_protos_perfetto_trace_minimal_zero_gen_headers",
1662 "perfetto_protos_perfetto_trace_non_minimal_cpp_gen_headers",
1663 "perfetto_protos_perfetto_trace_non_minimal_zero_gen_headers",
1664 "perfetto_protos_perfetto_trace_perfetto_cpp_gen_headers",
1665 "perfetto_protos_perfetto_trace_perfetto_zero_gen_headers",
1666 "perfetto_protos_perfetto_trace_power_cpp_gen_headers",
1667 "perfetto_protos_perfetto_trace_power_zero_gen_headers",
1668 "perfetto_protos_perfetto_trace_profiling_cpp_gen_headers",
1669 "perfetto_protos_perfetto_trace_profiling_zero_gen_headers",
1670 "perfetto_protos_perfetto_trace_ps_cpp_gen_headers",
1671 "perfetto_protos_perfetto_trace_ps_zero_gen_headers",
Hector Dearman5974de02022-06-23 15:31:40 +01001672 "perfetto_protos_perfetto_trace_statsd_cpp_gen_headers",
1673 "perfetto_protos_perfetto_trace_statsd_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07001674 "perfetto_protos_perfetto_trace_sys_stats_cpp_gen_headers",
1675 "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers",
1676 "perfetto_protos_perfetto_trace_system_info_cpp_gen_headers",
1677 "perfetto_protos_perfetto_trace_system_info_zero_gen_headers",
1678 "perfetto_protos_perfetto_trace_track_event_cpp_gen_headers",
1679 "perfetto_protos_perfetto_trace_track_event_zero_gen_headers",
Igor Kraskevich49b42882022-03-21 13:03:02 +00001680 "perfetto_protos_perfetto_trace_translation_cpp_gen_headers",
1681 "perfetto_protos_perfetto_trace_translation_zero_gen_headers",
Hector Dearman09db5b02022-07-11 13:35:23 +01001682 "perfetto_protos_third_party_statsd_config_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07001683 "perfetto_src_base_version_gen_h",
1684 ],
1685 export_generated_headers: [
1686 "perfetto_protos_perfetto_common_cpp_gen_headers",
1687 "perfetto_protos_perfetto_common_zero_gen_headers",
1688 "perfetto_protos_perfetto_config_android_cpp_gen_headers",
1689 "perfetto_protos_perfetto_config_android_zero_gen_headers",
1690 "perfetto_protos_perfetto_config_cpp_gen_headers",
1691 "perfetto_protos_perfetto_config_ftrace_cpp_gen_headers",
1692 "perfetto_protos_perfetto_config_ftrace_zero_gen_headers",
1693 "perfetto_protos_perfetto_config_gpu_cpp_gen_headers",
1694 "perfetto_protos_perfetto_config_gpu_zero_gen_headers",
1695 "perfetto_protos_perfetto_config_inode_file_cpp_gen_headers",
1696 "perfetto_protos_perfetto_config_inode_file_zero_gen_headers",
1697 "perfetto_protos_perfetto_config_interceptors_cpp_gen_headers",
1698 "perfetto_protos_perfetto_config_interceptors_zero_gen_headers",
1699 "perfetto_protos_perfetto_config_power_cpp_gen_headers",
1700 "perfetto_protos_perfetto_config_power_zero_gen_headers",
1701 "perfetto_protos_perfetto_config_process_stats_cpp_gen_headers",
1702 "perfetto_protos_perfetto_config_process_stats_zero_gen_headers",
1703 "perfetto_protos_perfetto_config_profiling_cpp_gen_headers",
1704 "perfetto_protos_perfetto_config_profiling_zero_gen_headers",
Hector Dearman5974de02022-06-23 15:31:40 +01001705 "perfetto_protos_perfetto_config_statsd_cpp_gen_headers",
1706 "perfetto_protos_perfetto_config_statsd_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07001707 "perfetto_protos_perfetto_config_sys_stats_cpp_gen_headers",
1708 "perfetto_protos_perfetto_config_sys_stats_zero_gen_headers",
Hector Dearman48047d12022-08-02 14:00:46 +01001709 "perfetto_protos_perfetto_config_system_info_cpp_gen_headers",
1710 "perfetto_protos_perfetto_config_system_info_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07001711 "perfetto_protos_perfetto_config_track_event_cpp_gen_headers",
1712 "perfetto_protos_perfetto_config_track_event_zero_gen_headers",
1713 "perfetto_protos_perfetto_config_zero_gen_headers",
1714 "perfetto_protos_perfetto_ipc_cpp_gen_headers",
1715 "perfetto_protos_perfetto_ipc_ipc_gen_headers",
1716 "perfetto_protos_perfetto_ipc_wire_protocol_cpp_gen_headers",
1717 "perfetto_protos_perfetto_trace_android_cpp_gen_headers",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00001718 "perfetto_protos_perfetto_trace_android_winscope_common_cpp_gen_headers",
1719 "perfetto_protos_perfetto_trace_android_winscope_common_zero_gen_headers",
1720 "perfetto_protos_perfetto_trace_android_winscope_regular_cpp_gen_headers",
1721 "perfetto_protos_perfetto_trace_android_winscope_regular_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07001722 "perfetto_protos_perfetto_trace_android_zero_gen_headers",
1723 "perfetto_protos_perfetto_trace_chrome_cpp_gen_headers",
1724 "perfetto_protos_perfetto_trace_chrome_zero_gen_headers",
Alex Attar3cacb1d2023-10-10 13:13:25 -04001725 "perfetto_protos_perfetto_trace_etw_cpp_gen_headers",
1726 "perfetto_protos_perfetto_trace_etw_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07001727 "perfetto_protos_perfetto_trace_filesystem_cpp_gen_headers",
1728 "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers",
1729 "perfetto_protos_perfetto_trace_ftrace_cpp_gen_headers",
1730 "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers",
1731 "perfetto_protos_perfetto_trace_gpu_cpp_gen_headers",
1732 "perfetto_protos_perfetto_trace_gpu_zero_gen_headers",
1733 "perfetto_protos_perfetto_trace_interned_data_cpp_gen_headers",
1734 "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers",
1735 "perfetto_protos_perfetto_trace_minimal_cpp_gen_headers",
1736 "perfetto_protos_perfetto_trace_minimal_zero_gen_headers",
1737 "perfetto_protos_perfetto_trace_non_minimal_cpp_gen_headers",
1738 "perfetto_protos_perfetto_trace_non_minimal_zero_gen_headers",
1739 "perfetto_protos_perfetto_trace_perfetto_cpp_gen_headers",
1740 "perfetto_protos_perfetto_trace_perfetto_zero_gen_headers",
1741 "perfetto_protos_perfetto_trace_power_cpp_gen_headers",
1742 "perfetto_protos_perfetto_trace_power_zero_gen_headers",
1743 "perfetto_protos_perfetto_trace_profiling_cpp_gen_headers",
1744 "perfetto_protos_perfetto_trace_profiling_zero_gen_headers",
1745 "perfetto_protos_perfetto_trace_ps_cpp_gen_headers",
1746 "perfetto_protos_perfetto_trace_ps_zero_gen_headers",
Hector Dearman5974de02022-06-23 15:31:40 +01001747 "perfetto_protos_perfetto_trace_statsd_cpp_gen_headers",
1748 "perfetto_protos_perfetto_trace_statsd_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07001749 "perfetto_protos_perfetto_trace_sys_stats_cpp_gen_headers",
1750 "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers",
1751 "perfetto_protos_perfetto_trace_system_info_cpp_gen_headers",
1752 "perfetto_protos_perfetto_trace_system_info_zero_gen_headers",
1753 "perfetto_protos_perfetto_trace_track_event_cpp_gen_headers",
1754 "perfetto_protos_perfetto_trace_track_event_zero_gen_headers",
Igor Kraskevich49b42882022-03-21 13:03:02 +00001755 "perfetto_protos_perfetto_trace_translation_cpp_gen_headers",
1756 "perfetto_protos_perfetto_trace_translation_zero_gen_headers",
Hector Dearman09db5b02022-07-11 13:35:23 +01001757 "perfetto_protos_third_party_statsd_config_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07001758 "perfetto_src_base_version_gen_h",
1759 ],
1760 defaults: [
1761 "perfetto_defaults",
1762 ],
Primiano Tuccifbf4a732019-12-11 00:32:15 +00001763}
1764
Lalit Maganti9782f492020-01-10 18:13:13 +00001765// GN: //test/cts:perfetto_cts_jni_deps
1766cc_library_static {
Colin Cross84172332021-09-14 16:41:33 -07001767 name: "perfetto_cts_jni_deps",
1768 srcs: [
Lalit Maganti52f13362023-01-23 16:38:01 +00001769 ":perfetto_base_default_platform",
Colin Cross84172332021-09-14 16:41:33 -07001770 ":perfetto_include_perfetto_base_base",
1771 ":perfetto_include_perfetto_ext_base_base",
Daniele Di Proietto15b801e2022-06-30 12:56:13 +01001772 ":perfetto_include_perfetto_ext_base_version",
Colin Cross84172332021-09-14 16:41:33 -07001773 ":perfetto_include_perfetto_ext_ipc_ipc",
Lalit Magantifd92a952024-02-28 11:58:53 +00001774 ":perfetto_include_perfetto_ext_protozero_protozero",
Colin Cross84172332021-09-14 16:41:33 -07001775 ":perfetto_include_perfetto_ext_traced_sys_stats_counters",
1776 ":perfetto_include_perfetto_ext_traced_traced",
1777 ":perfetto_include_perfetto_ext_tracing_core_core",
1778 ":perfetto_include_perfetto_ext_tracing_ipc_ipc",
1779 ":perfetto_include_perfetto_protozero_protozero",
Daniele Di Proietto8b46d692022-04-22 15:59:40 +01001780 ":perfetto_include_perfetto_public_abi_base",
1781 ":perfetto_include_perfetto_public_base",
Daniele Di Proietto7451ea62023-01-09 11:31:16 +00001782 ":perfetto_include_perfetto_public_protozero",
Colin Cross84172332021-09-14 16:41:33 -07001783 ":perfetto_include_perfetto_tracing_core_core",
1784 ":perfetto_include_perfetto_tracing_core_forward_decls",
1785 ":perfetto_include_perfetto_tracing_tracing",
1786 ":perfetto_protos_perfetto_common_cpp_gen",
1787 ":perfetto_protos_perfetto_common_zero_gen",
1788 ":perfetto_protos_perfetto_config_android_cpp_gen",
1789 ":perfetto_protos_perfetto_config_android_zero_gen",
1790 ":perfetto_protos_perfetto_config_cpp_gen",
1791 ":perfetto_protos_perfetto_config_ftrace_cpp_gen",
1792 ":perfetto_protos_perfetto_config_ftrace_zero_gen",
1793 ":perfetto_protos_perfetto_config_gpu_cpp_gen",
1794 ":perfetto_protos_perfetto_config_gpu_zero_gen",
1795 ":perfetto_protos_perfetto_config_inode_file_cpp_gen",
1796 ":perfetto_protos_perfetto_config_inode_file_zero_gen",
1797 ":perfetto_protos_perfetto_config_interceptors_cpp_gen",
1798 ":perfetto_protos_perfetto_config_interceptors_zero_gen",
1799 ":perfetto_protos_perfetto_config_power_cpp_gen",
1800 ":perfetto_protos_perfetto_config_power_zero_gen",
1801 ":perfetto_protos_perfetto_config_process_stats_cpp_gen",
1802 ":perfetto_protos_perfetto_config_process_stats_zero_gen",
1803 ":perfetto_protos_perfetto_config_profiling_cpp_gen",
1804 ":perfetto_protos_perfetto_config_profiling_zero_gen",
Hector Dearman5974de02022-06-23 15:31:40 +01001805 ":perfetto_protos_perfetto_config_statsd_cpp_gen",
1806 ":perfetto_protos_perfetto_config_statsd_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -07001807 ":perfetto_protos_perfetto_config_sys_stats_cpp_gen",
1808 ":perfetto_protos_perfetto_config_sys_stats_zero_gen",
Hector Dearman48047d12022-08-02 14:00:46 +01001809 ":perfetto_protos_perfetto_config_system_info_cpp_gen",
1810 ":perfetto_protos_perfetto_config_system_info_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -07001811 ":perfetto_protos_perfetto_config_track_event_cpp_gen",
1812 ":perfetto_protos_perfetto_config_track_event_zero_gen",
1813 ":perfetto_protos_perfetto_config_zero_gen",
1814 ":perfetto_protos_perfetto_ipc_cpp_gen",
1815 ":perfetto_protos_perfetto_ipc_ipc_gen",
1816 ":perfetto_protos_perfetto_ipc_wire_protocol_cpp_gen",
1817 ":perfetto_protos_perfetto_trace_android_cpp_gen",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00001818 ":perfetto_protos_perfetto_trace_android_winscope_common_cpp_gen",
1819 ":perfetto_protos_perfetto_trace_android_winscope_common_zero_gen",
1820 ":perfetto_protos_perfetto_trace_android_winscope_regular_cpp_gen",
1821 ":perfetto_protos_perfetto_trace_android_winscope_regular_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -07001822 ":perfetto_protos_perfetto_trace_android_zero_gen",
1823 ":perfetto_protos_perfetto_trace_chrome_cpp_gen",
1824 ":perfetto_protos_perfetto_trace_chrome_zero_gen",
Alex Attar3cacb1d2023-10-10 13:13:25 -04001825 ":perfetto_protos_perfetto_trace_etw_cpp_gen",
1826 ":perfetto_protos_perfetto_trace_etw_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -07001827 ":perfetto_protos_perfetto_trace_filesystem_cpp_gen",
1828 ":perfetto_protos_perfetto_trace_filesystem_zero_gen",
1829 ":perfetto_protos_perfetto_trace_ftrace_cpp_gen",
1830 ":perfetto_protos_perfetto_trace_ftrace_zero_gen",
1831 ":perfetto_protos_perfetto_trace_gpu_cpp_gen",
1832 ":perfetto_protos_perfetto_trace_gpu_zero_gen",
1833 ":perfetto_protos_perfetto_trace_interned_data_cpp_gen",
1834 ":perfetto_protos_perfetto_trace_interned_data_zero_gen",
1835 ":perfetto_protos_perfetto_trace_minimal_cpp_gen",
1836 ":perfetto_protos_perfetto_trace_minimal_zero_gen",
1837 ":perfetto_protos_perfetto_trace_non_minimal_cpp_gen",
1838 ":perfetto_protos_perfetto_trace_non_minimal_zero_gen",
1839 ":perfetto_protos_perfetto_trace_perfetto_cpp_gen",
1840 ":perfetto_protos_perfetto_trace_perfetto_zero_gen",
1841 ":perfetto_protos_perfetto_trace_power_cpp_gen",
1842 ":perfetto_protos_perfetto_trace_power_zero_gen",
1843 ":perfetto_protos_perfetto_trace_profiling_cpp_gen",
1844 ":perfetto_protos_perfetto_trace_profiling_zero_gen",
1845 ":perfetto_protos_perfetto_trace_ps_cpp_gen",
1846 ":perfetto_protos_perfetto_trace_ps_zero_gen",
Hector Dearman5974de02022-06-23 15:31:40 +01001847 ":perfetto_protos_perfetto_trace_statsd_cpp_gen",
1848 ":perfetto_protos_perfetto_trace_statsd_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -07001849 ":perfetto_protos_perfetto_trace_sys_stats_cpp_gen",
1850 ":perfetto_protos_perfetto_trace_sys_stats_zero_gen",
1851 ":perfetto_protos_perfetto_trace_system_info_cpp_gen",
1852 ":perfetto_protos_perfetto_trace_system_info_zero_gen",
1853 ":perfetto_protos_perfetto_trace_track_event_cpp_gen",
1854 ":perfetto_protos_perfetto_trace_track_event_zero_gen",
Igor Kraskevich49b42882022-03-21 13:03:02 +00001855 ":perfetto_protos_perfetto_trace_translation_cpp_gen",
1856 ":perfetto_protos_perfetto_trace_translation_zero_gen",
Hector Dearman09db5b02022-07-11 13:35:23 +01001857 ":perfetto_protos_third_party_statsd_config_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -07001858 ":perfetto_src_android_internal_headers",
1859 ":perfetto_src_android_internal_lazy_library_loader",
1860 ":perfetto_src_android_stats_android_stats",
1861 ":perfetto_src_android_stats_perfetto_atoms",
1862 ":perfetto_src_base_base",
Lalit Maganti1e7aef12024-10-13 14:19:09 +01001863 ":perfetto_src_base_clock_snapshots",
Colin Cross84172332021-09-14 16:41:33 -07001864 ":perfetto_src_base_test_support",
1865 ":perfetto_src_base_unix_socket",
Daniele Di Proietto15b801e2022-06-30 12:56:13 +01001866 ":perfetto_src_base_version",
Colin Cross84172332021-09-14 16:41:33 -07001867 ":perfetto_src_ipc_client",
1868 ":perfetto_src_ipc_common",
1869 ":perfetto_src_ipc_host",
1870 ":perfetto_src_ipc_perfetto_ipc",
1871 ":perfetto_src_kallsyms_kallsyms",
Ryan Zuklieec18eb32022-07-25 15:51:59 -07001872 ":perfetto_src_kernel_utils_syscall_table",
Colin Cross84172332021-09-14 16:41:33 -07001873 ":perfetto_src_protozero_filtering_bytecode_common",
1874 ":perfetto_src_protozero_filtering_bytecode_parser",
1875 ":perfetto_src_protozero_filtering_message_filter",
Lalit Maganti43b2b942023-06-21 10:31:36 +01001876 ":perfetto_src_protozero_filtering_string_filter",
Hector Dearman09db5b02022-07-11 13:35:23 +01001877 ":perfetto_src_protozero_proto_ring_buffer",
Colin Cross84172332021-09-14 16:41:33 -07001878 ":perfetto_src_protozero_protozero",
Andy Yu2b0a2132022-04-07 16:17:10 -07001879 ":perfetto_src_traced_probes_android_game_intervention_list_android_game_intervention_list",
Colin Cross84172332021-09-14 16:41:33 -07001880 ":perfetto_src_traced_probes_android_log_android_log",
Simon MacMullenf0a6b382022-07-06 16:35:55 +00001881 ":perfetto_src_traced_probes_android_system_property_android_system_property",
Colin Cross84172332021-09-14 16:41:33 -07001882 ":perfetto_src_traced_probes_common_common",
1883 ":perfetto_src_traced_probes_data_source",
1884 ":perfetto_src_traced_probes_filesystem_filesystem",
1885 ":perfetto_src_traced_probes_ftrace_format_parser_format_parser",
1886 ":perfetto_src_traced_probes_ftrace_ftrace",
1887 ":perfetto_src_traced_probes_ftrace_ftrace_procfs",
1888 ":perfetto_src_traced_probes_initial_display_state_initial_display_state",
1889 ":perfetto_src_traced_probes_metatrace_metatrace",
1890 ":perfetto_src_traced_probes_packages_list_packages_list",
1891 ":perfetto_src_traced_probes_packages_list_packages_list_parser",
1892 ":perfetto_src_traced_probes_power_power",
1893 ":perfetto_src_traced_probes_probes_src",
1894 ":perfetto_src_traced_probes_ps_ps",
Hector Dearman09db5b02022-07-11 13:35:23 +01001895 ":perfetto_src_traced_probes_statsd_client_statsd_client",
Colin Cross84172332021-09-14 16:41:33 -07001896 ":perfetto_src_traced_probes_sys_stats_sys_stats",
1897 ":perfetto_src_traced_probes_system_info_system_info",
1898 ":perfetto_src_tracing_common",
1899 ":perfetto_src_tracing_core_core",
Colin Cross84172332021-09-14 16:41:33 -07001900 ":perfetto_src_tracing_ipc_common",
1901 ":perfetto_src_tracing_ipc_consumer_consumer",
Primiano Tucci8761a312021-11-25 17:17:23 +00001902 ":perfetto_src_tracing_ipc_default_socket",
Colin Cross84172332021-09-14 16:41:33 -07001903 ":perfetto_src_tracing_ipc_producer_producer",
1904 ":perfetto_src_tracing_ipc_service_service",
Daniele Di Proietto7c058852024-01-19 13:25:40 +00001905 ":perfetto_src_tracing_service_service",
Colin Cross84172332021-09-14 16:41:33 -07001906 ":perfetto_test_test_helper",
1907 ],
Lalit Magantid36ed192024-01-18 17:07:41 +00001908 static_libs: [
1909 "libgmock",
1910 "libgtest",
1911 ],
1912 whole_static_libs: [
1913 "perfetto_gtest_logcat_printer",
1914 ],
Colin Cross84172332021-09-14 16:41:33 -07001915 generated_headers: [
1916 "perfetto_protos_perfetto_common_cpp_gen_headers",
1917 "perfetto_protos_perfetto_common_zero_gen_headers",
1918 "perfetto_protos_perfetto_config_android_cpp_gen_headers",
1919 "perfetto_protos_perfetto_config_android_zero_gen_headers",
1920 "perfetto_protos_perfetto_config_cpp_gen_headers",
1921 "perfetto_protos_perfetto_config_ftrace_cpp_gen_headers",
1922 "perfetto_protos_perfetto_config_ftrace_zero_gen_headers",
1923 "perfetto_protos_perfetto_config_gpu_cpp_gen_headers",
1924 "perfetto_protos_perfetto_config_gpu_zero_gen_headers",
1925 "perfetto_protos_perfetto_config_inode_file_cpp_gen_headers",
1926 "perfetto_protos_perfetto_config_inode_file_zero_gen_headers",
1927 "perfetto_protos_perfetto_config_interceptors_cpp_gen_headers",
1928 "perfetto_protos_perfetto_config_interceptors_zero_gen_headers",
1929 "perfetto_protos_perfetto_config_power_cpp_gen_headers",
1930 "perfetto_protos_perfetto_config_power_zero_gen_headers",
1931 "perfetto_protos_perfetto_config_process_stats_cpp_gen_headers",
1932 "perfetto_protos_perfetto_config_process_stats_zero_gen_headers",
1933 "perfetto_protos_perfetto_config_profiling_cpp_gen_headers",
1934 "perfetto_protos_perfetto_config_profiling_zero_gen_headers",
Hector Dearman5974de02022-06-23 15:31:40 +01001935 "perfetto_protos_perfetto_config_statsd_cpp_gen_headers",
1936 "perfetto_protos_perfetto_config_statsd_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07001937 "perfetto_protos_perfetto_config_sys_stats_cpp_gen_headers",
1938 "perfetto_protos_perfetto_config_sys_stats_zero_gen_headers",
Hector Dearman48047d12022-08-02 14:00:46 +01001939 "perfetto_protos_perfetto_config_system_info_cpp_gen_headers",
1940 "perfetto_protos_perfetto_config_system_info_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07001941 "perfetto_protos_perfetto_config_track_event_cpp_gen_headers",
1942 "perfetto_protos_perfetto_config_track_event_zero_gen_headers",
1943 "perfetto_protos_perfetto_config_zero_gen_headers",
1944 "perfetto_protos_perfetto_ipc_cpp_gen_headers",
1945 "perfetto_protos_perfetto_ipc_ipc_gen_headers",
1946 "perfetto_protos_perfetto_ipc_wire_protocol_cpp_gen_headers",
1947 "perfetto_protos_perfetto_trace_android_cpp_gen_headers",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00001948 "perfetto_protos_perfetto_trace_android_winscope_common_cpp_gen_headers",
1949 "perfetto_protos_perfetto_trace_android_winscope_common_zero_gen_headers",
1950 "perfetto_protos_perfetto_trace_android_winscope_regular_cpp_gen_headers",
1951 "perfetto_protos_perfetto_trace_android_winscope_regular_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07001952 "perfetto_protos_perfetto_trace_android_zero_gen_headers",
1953 "perfetto_protos_perfetto_trace_chrome_cpp_gen_headers",
1954 "perfetto_protos_perfetto_trace_chrome_zero_gen_headers",
Alex Attar3cacb1d2023-10-10 13:13:25 -04001955 "perfetto_protos_perfetto_trace_etw_cpp_gen_headers",
1956 "perfetto_protos_perfetto_trace_etw_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07001957 "perfetto_protos_perfetto_trace_filesystem_cpp_gen_headers",
1958 "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers",
1959 "perfetto_protos_perfetto_trace_ftrace_cpp_gen_headers",
1960 "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers",
1961 "perfetto_protos_perfetto_trace_gpu_cpp_gen_headers",
1962 "perfetto_protos_perfetto_trace_gpu_zero_gen_headers",
1963 "perfetto_protos_perfetto_trace_interned_data_cpp_gen_headers",
1964 "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers",
1965 "perfetto_protos_perfetto_trace_minimal_cpp_gen_headers",
1966 "perfetto_protos_perfetto_trace_minimal_zero_gen_headers",
1967 "perfetto_protos_perfetto_trace_non_minimal_cpp_gen_headers",
1968 "perfetto_protos_perfetto_trace_non_minimal_zero_gen_headers",
1969 "perfetto_protos_perfetto_trace_perfetto_cpp_gen_headers",
1970 "perfetto_protos_perfetto_trace_perfetto_zero_gen_headers",
1971 "perfetto_protos_perfetto_trace_power_cpp_gen_headers",
1972 "perfetto_protos_perfetto_trace_power_zero_gen_headers",
1973 "perfetto_protos_perfetto_trace_profiling_cpp_gen_headers",
1974 "perfetto_protos_perfetto_trace_profiling_zero_gen_headers",
1975 "perfetto_protos_perfetto_trace_ps_cpp_gen_headers",
1976 "perfetto_protos_perfetto_trace_ps_zero_gen_headers",
Hector Dearman5974de02022-06-23 15:31:40 +01001977 "perfetto_protos_perfetto_trace_statsd_cpp_gen_headers",
1978 "perfetto_protos_perfetto_trace_statsd_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07001979 "perfetto_protos_perfetto_trace_sys_stats_cpp_gen_headers",
1980 "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers",
1981 "perfetto_protos_perfetto_trace_system_info_cpp_gen_headers",
1982 "perfetto_protos_perfetto_trace_system_info_zero_gen_headers",
1983 "perfetto_protos_perfetto_trace_track_event_cpp_gen_headers",
1984 "perfetto_protos_perfetto_trace_track_event_zero_gen_headers",
Igor Kraskevich49b42882022-03-21 13:03:02 +00001985 "perfetto_protos_perfetto_trace_translation_cpp_gen_headers",
1986 "perfetto_protos_perfetto_trace_translation_zero_gen_headers",
Hector Dearman09db5b02022-07-11 13:35:23 +01001987 "perfetto_protos_third_party_statsd_config_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07001988 "perfetto_src_base_version_gen_h",
1989 ],
1990 export_generated_headers: [
1991 "perfetto_protos_perfetto_common_cpp_gen_headers",
1992 "perfetto_protos_perfetto_common_zero_gen_headers",
1993 "perfetto_protos_perfetto_config_android_cpp_gen_headers",
1994 "perfetto_protos_perfetto_config_android_zero_gen_headers",
1995 "perfetto_protos_perfetto_config_cpp_gen_headers",
1996 "perfetto_protos_perfetto_config_ftrace_cpp_gen_headers",
1997 "perfetto_protos_perfetto_config_ftrace_zero_gen_headers",
1998 "perfetto_protos_perfetto_config_gpu_cpp_gen_headers",
1999 "perfetto_protos_perfetto_config_gpu_zero_gen_headers",
2000 "perfetto_protos_perfetto_config_inode_file_cpp_gen_headers",
2001 "perfetto_protos_perfetto_config_inode_file_zero_gen_headers",
2002 "perfetto_protos_perfetto_config_interceptors_cpp_gen_headers",
2003 "perfetto_protos_perfetto_config_interceptors_zero_gen_headers",
2004 "perfetto_protos_perfetto_config_power_cpp_gen_headers",
2005 "perfetto_protos_perfetto_config_power_zero_gen_headers",
2006 "perfetto_protos_perfetto_config_process_stats_cpp_gen_headers",
2007 "perfetto_protos_perfetto_config_process_stats_zero_gen_headers",
2008 "perfetto_protos_perfetto_config_profiling_cpp_gen_headers",
2009 "perfetto_protos_perfetto_config_profiling_zero_gen_headers",
Hector Dearman5974de02022-06-23 15:31:40 +01002010 "perfetto_protos_perfetto_config_statsd_cpp_gen_headers",
2011 "perfetto_protos_perfetto_config_statsd_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07002012 "perfetto_protos_perfetto_config_sys_stats_cpp_gen_headers",
2013 "perfetto_protos_perfetto_config_sys_stats_zero_gen_headers",
Hector Dearman48047d12022-08-02 14:00:46 +01002014 "perfetto_protos_perfetto_config_system_info_cpp_gen_headers",
2015 "perfetto_protos_perfetto_config_system_info_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07002016 "perfetto_protos_perfetto_config_track_event_cpp_gen_headers",
2017 "perfetto_protos_perfetto_config_track_event_zero_gen_headers",
2018 "perfetto_protos_perfetto_config_zero_gen_headers",
2019 "perfetto_protos_perfetto_ipc_cpp_gen_headers",
2020 "perfetto_protos_perfetto_ipc_ipc_gen_headers",
2021 "perfetto_protos_perfetto_ipc_wire_protocol_cpp_gen_headers",
2022 "perfetto_protos_perfetto_trace_android_cpp_gen_headers",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00002023 "perfetto_protos_perfetto_trace_android_winscope_common_cpp_gen_headers",
2024 "perfetto_protos_perfetto_trace_android_winscope_common_zero_gen_headers",
2025 "perfetto_protos_perfetto_trace_android_winscope_regular_cpp_gen_headers",
2026 "perfetto_protos_perfetto_trace_android_winscope_regular_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07002027 "perfetto_protos_perfetto_trace_android_zero_gen_headers",
2028 "perfetto_protos_perfetto_trace_chrome_cpp_gen_headers",
2029 "perfetto_protos_perfetto_trace_chrome_zero_gen_headers",
Alex Attar3cacb1d2023-10-10 13:13:25 -04002030 "perfetto_protos_perfetto_trace_etw_cpp_gen_headers",
2031 "perfetto_protos_perfetto_trace_etw_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07002032 "perfetto_protos_perfetto_trace_filesystem_cpp_gen_headers",
2033 "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers",
2034 "perfetto_protos_perfetto_trace_ftrace_cpp_gen_headers",
2035 "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers",
2036 "perfetto_protos_perfetto_trace_gpu_cpp_gen_headers",
2037 "perfetto_protos_perfetto_trace_gpu_zero_gen_headers",
2038 "perfetto_protos_perfetto_trace_interned_data_cpp_gen_headers",
2039 "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers",
2040 "perfetto_protos_perfetto_trace_minimal_cpp_gen_headers",
2041 "perfetto_protos_perfetto_trace_minimal_zero_gen_headers",
2042 "perfetto_protos_perfetto_trace_non_minimal_cpp_gen_headers",
2043 "perfetto_protos_perfetto_trace_non_minimal_zero_gen_headers",
2044 "perfetto_protos_perfetto_trace_perfetto_cpp_gen_headers",
2045 "perfetto_protos_perfetto_trace_perfetto_zero_gen_headers",
2046 "perfetto_protos_perfetto_trace_power_cpp_gen_headers",
2047 "perfetto_protos_perfetto_trace_power_zero_gen_headers",
2048 "perfetto_protos_perfetto_trace_profiling_cpp_gen_headers",
2049 "perfetto_protos_perfetto_trace_profiling_zero_gen_headers",
2050 "perfetto_protos_perfetto_trace_ps_cpp_gen_headers",
2051 "perfetto_protos_perfetto_trace_ps_zero_gen_headers",
Hector Dearman5974de02022-06-23 15:31:40 +01002052 "perfetto_protos_perfetto_trace_statsd_cpp_gen_headers",
2053 "perfetto_protos_perfetto_trace_statsd_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07002054 "perfetto_protos_perfetto_trace_sys_stats_cpp_gen_headers",
2055 "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers",
2056 "perfetto_protos_perfetto_trace_system_info_cpp_gen_headers",
2057 "perfetto_protos_perfetto_trace_system_info_zero_gen_headers",
2058 "perfetto_protos_perfetto_trace_track_event_cpp_gen_headers",
2059 "perfetto_protos_perfetto_trace_track_event_zero_gen_headers",
Igor Kraskevich49b42882022-03-21 13:03:02 +00002060 "perfetto_protos_perfetto_trace_translation_cpp_gen_headers",
2061 "perfetto_protos_perfetto_trace_translation_zero_gen_headers",
Hector Dearman09db5b02022-07-11 13:35:23 +01002062 "perfetto_protos_third_party_statsd_config_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07002063 "perfetto_src_base_version_gen_h",
2064 ],
2065 defaults: [
2066 "perfetto_defaults",
2067 ],
Lalit Maganti9782f492020-01-10 18:13:13 +00002068}
2069
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01002070// GN: //gn:default_deps
Sami Kyostilab27619f2017-12-13 19:22:16 +00002071cc_defaults {
Colin Cross84172332021-09-14 16:41:33 -07002072 name: "perfetto_defaults",
2073 cflags: [
2074 "-O2",
2075 "-Wno-error=return-type",
2076 "-Wno-sign-compare",
2077 "-Wno-sign-promo",
2078 "-Wno-unused-parameter",
2079 "-fvisibility=hidden",
2080 ],
2081 include_dirs: [
2082 "external/perfetto",
2083 "external/perfetto/include",
2084 "external/perfetto/include/perfetto/base/build_configs/android_tree",
2085 "external/perfetto/src/profiling/memory/include",
2086 ],
2087 product_variables: {
2088 debuggable: {
2089 cflags: ["-DPERFETTO_BUILD_WITH_ANDROID_USERDEBUG"],
2090 },
Lalit Magantid8b1a1d2018-05-23 14:41:43 +01002091 },
Colin Cross84172332021-09-14 16:41:33 -07002092 target: {
2093 android: {
2094 lto: {
2095 thin: true,
2096 },
2097 },
Florian Mayer19f734f2019-07-05 12:08:01 +01002098 },
Sami Kyostilab27619f2017-12-13 19:22:16 +00002099}
Sami Kyostila2357b032017-12-06 18:38:17 +00002100
Daniele Di Proietto55674432023-06-02 10:46:53 +00002101// GN: //test:perfetto_end_to_end_integrationtests
2102filegroup {
2103 name: "perfetto_end_to_end_integrationtests",
2104 srcs: [
2105 "test/android_integrationtest.cc",
2106 "test/cmdline_integrationtest.cc",
2107 "test/ftrace_integrationtest.cc",
2108 "test/traced_integrationtest.cc",
2109 ],
2110}
2111
Primiano Tuccicbbe4802020-02-20 13:19:11 +00002112// GN: //test:perfetto_gtest_logcat_printer
2113cc_library_static {
Colin Cross84172332021-09-14 16:41:33 -07002114 name: "perfetto_gtest_logcat_printer",
2115 srcs: [
2116 "test/gtest_logcat_printer.cc",
2117 ],
2118 static_libs: [
2119 "libgmock",
2120 "libgtest",
2121 ],
2122 defaults: [
2123 "perfetto_defaults",
2124 ],
Primiano Tuccicbbe4802020-02-20 13:19:11 +00002125}
2126
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01002127// GN: //include/perfetto/base:base
2128filegroup {
Colin Cross84172332021-09-14 16:41:33 -07002129 name: "perfetto_include_perfetto_base_base",
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01002130}
2131
2132// GN: //include/perfetto/ext/base:base
2133filegroup {
Colin Cross84172332021-09-14 16:41:33 -07002134 name: "perfetto_include_perfetto_ext_base_base",
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01002135}
2136
Primiano Tucci44a15be2021-11-06 21:40:18 +00002137// GN: //include/perfetto/ext/base/http:http
2138filegroup {
2139 name: "perfetto_include_perfetto_ext_base_http_http",
2140}
2141
Lalit Maganti501742c2023-01-24 21:58:33 +00002142// GN: //include/perfetto/ext/base/threading:threading
2143filegroup {
2144 name: "perfetto_include_perfetto_ext_base_threading_threading",
2145}
2146
Daniele Di Proietto15b801e2022-06-30 12:56:13 +01002147// GN: //include/perfetto/ext/base:version
2148filegroup {
2149 name: "perfetto_include_perfetto_ext_base_version",
2150}
2151
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01002152// GN: //include/perfetto/ext/ipc:ipc
2153filegroup {
Colin Cross84172332021-09-14 16:41:33 -07002154 name: "perfetto_include_perfetto_ext_ipc_ipc",
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01002155}
2156
Lalit Magantifd92a952024-02-28 11:58:53 +00002157// GN: //include/perfetto/ext/protozero:protozero
2158filegroup {
2159 name: "perfetto_include_perfetto_ext_protozero_protozero",
2160}
2161
Ryan Savitskie65c4052022-03-24 18:22:19 +00002162// GN: //include/perfetto/ext/trace_processor:demangle
2163filegroup {
2164 name: "perfetto_include_perfetto_ext_trace_processor_demangle",
2165}
2166
Lalit Maganti0bfeb972020-03-14 03:57:30 +00002167// GN: //include/perfetto/ext/trace_processor:export_json
2168filegroup {
Colin Cross84172332021-09-14 16:41:33 -07002169 name: "perfetto_include_perfetto_ext_trace_processor_export_json",
Lalit Maganti0bfeb972020-03-14 03:57:30 +00002170}
2171
Sylwester Blaszczyk0430ce82020-08-07 16:00:51 +02002172// GN: //include/perfetto/ext/trace_processor/importers/memory_tracker:memory_tracker
2173filegroup {
Colin Cross84172332021-09-14 16:41:33 -07002174 name: "perfetto_include_perfetto_ext_trace_processor_importers_memory_tracker_memory_tracker",
Sylwester Blaszczyk0430ce82020-08-07 16:00:51 +02002175}
2176
Lalit Magantibe79bb22023-10-03 13:53:25 +01002177// GN: //include/perfetto/ext/trace_processor/rpc:query_result_serializer
2178filegroup {
2179 name: "perfetto_include_perfetto_ext_trace_processor_rpc_query_result_serializer",
2180}
2181
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01002182// GN: //include/perfetto/ext/traced:sys_stats_counters
2183filegroup {
Colin Cross84172332021-09-14 16:41:33 -07002184 name: "perfetto_include_perfetto_ext_traced_sys_stats_counters",
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01002185}
2186
2187// GN: //include/perfetto/ext/traced:traced
2188filegroup {
Colin Cross84172332021-09-14 16:41:33 -07002189 name: "perfetto_include_perfetto_ext_traced_traced",
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01002190}
2191
2192// GN: //include/perfetto/ext/tracing/core:core
2193filegroup {
Colin Cross84172332021-09-14 16:41:33 -07002194 name: "perfetto_include_perfetto_ext_tracing_core_core",
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01002195}
2196
Primiano Tuccib1093b42024-01-30 16:23:53 +00002197// GN: //include/perfetto/ext/tracing/core:test_support
2198filegroup {
2199 name: "perfetto_include_perfetto_ext_tracing_core_test_support",
2200}
2201
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01002202// GN: //include/perfetto/ext/tracing/ipc:ipc
2203filegroup {
Colin Cross84172332021-09-14 16:41:33 -07002204 name: "perfetto_include_perfetto_ext_tracing_ipc_ipc",
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01002205}
2206
Florian Mayerbd88ff82019-12-18 16:36:37 +00002207// GN: //include/perfetto/profiling:pprof_builder
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01002208filegroup {
Colin Cross84172332021-09-14 16:41:33 -07002209 name: "perfetto_include_perfetto_profiling_pprof_builder",
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01002210}
2211
2212// GN: //include/perfetto/protozero:protozero
2213filegroup {
Colin Cross84172332021-09-14 16:41:33 -07002214 name: "perfetto_include_perfetto_protozero_protozero",
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01002215}
2216
Daniele Di Proietto8b46d692022-04-22 15:59:40 +01002217// GN: //include/perfetto/public/abi:base
2218filegroup {
2219 name: "perfetto_include_perfetto_public_abi_base",
2220}
2221
Daniele Di Proietto5a86c7e2023-01-11 15:54:46 +00002222// GN: //include/perfetto/public/abi:public
2223filegroup {
2224 name: "perfetto_include_perfetto_public_abi_public",
2225}
2226
Daniele Di Proietto8b46d692022-04-22 15:59:40 +01002227// GN: //include/perfetto/public:base
2228filegroup {
2229 name: "perfetto_include_perfetto_public_base",
2230}
2231
Daniele Di Proietto5a86c7e2023-01-11 15:54:46 +00002232// GN: //include/perfetto/public/protos:protos
2233filegroup {
2234 name: "perfetto_include_perfetto_public_protos_protos",
2235}
2236
Daniele Di Proietto7451ea62023-01-09 11:31:16 +00002237// GN: //include/perfetto/public:protozero
2238filegroup {
2239 name: "perfetto_include_perfetto_public_protozero",
2240}
2241
Daniele Di Proietto5a86c7e2023-01-11 15:54:46 +00002242// GN: //include/perfetto/public:public
2243filegroup {
2244 name: "perfetto_include_perfetto_public_public",
2245}
2246
Alexander Timindfc4b692021-02-15 13:32:53 +00002247// GN: //include/perfetto/test:test_support
2248filegroup {
Colin Cross84172332021-09-14 16:41:33 -07002249 name: "perfetto_include_perfetto_test_test_support",
Alexander Timindfc4b692021-02-15 13:32:53 +00002250}
2251
Eric Secklera7870e62019-11-01 10:11:58 +00002252// GN: //include/perfetto/trace_processor:basic_types
2253filegroup {
Colin Cross84172332021-09-14 16:41:33 -07002254 name: "perfetto_include_perfetto_trace_processor_basic_types",
Eric Secklera7870e62019-11-01 10:11:58 +00002255}
2256
2257// GN: //include/perfetto/trace_processor:storage
2258filegroup {
Colin Cross84172332021-09-14 16:41:33 -07002259 name: "perfetto_include_perfetto_trace_processor_storage",
Eric Secklera7870e62019-11-01 10:11:58 +00002260}
2261
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01002262// GN: //include/perfetto/trace_processor:trace_processor
2263filegroup {
Colin Cross84172332021-09-14 16:41:33 -07002264 name: "perfetto_include_perfetto_trace_processor_trace_processor",
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01002265}
2266
2267// GN: //include/perfetto/tracing/core:core
2268filegroup {
Colin Cross84172332021-09-14 16:41:33 -07002269 name: "perfetto_include_perfetto_tracing_core_core",
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01002270}
2271
Primiano Tuccicb8cea22019-11-22 11:05:35 +00002272// GN: //include/perfetto/tracing/core:forward_decls
2273filegroup {
Colin Cross84172332021-09-14 16:41:33 -07002274 name: "perfetto_include_perfetto_tracing_core_forward_decls",
Primiano Tuccicb8cea22019-11-22 11:05:35 +00002275}
2276
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01002277// GN: //include/perfetto/tracing:tracing
2278filegroup {
Colin Cross84172332021-09-14 16:41:33 -07002279 name: "perfetto_include_perfetto_tracing_tracing",
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01002280}
2281
2282// GN: //:perfetto_integrationtests
Lalit Maganti79f2d7b2018-01-23 18:27:33 +00002283cc_test {
Colin Cross84172332021-09-14 16:41:33 -07002284 name: "perfetto_integrationtests",
2285 srcs: [
Lalit Maganti52f13362023-01-23 16:38:01 +00002286 ":perfetto_base_default_platform",
Daniele Di Proietto55674432023-06-02 10:46:53 +00002287 ":perfetto_end_to_end_integrationtests",
Colin Cross84172332021-09-14 16:41:33 -07002288 ":perfetto_include_perfetto_base_base",
2289 ":perfetto_include_perfetto_ext_base_base",
Daniele Di Proietto15b801e2022-06-30 12:56:13 +01002290 ":perfetto_include_perfetto_ext_base_version",
Colin Cross84172332021-09-14 16:41:33 -07002291 ":perfetto_include_perfetto_ext_ipc_ipc",
Lalit Magantifd92a952024-02-28 11:58:53 +00002292 ":perfetto_include_perfetto_ext_protozero_protozero",
Carlos Caballero Grolimund8a495a72022-09-05 09:29:09 +00002293 ":perfetto_include_perfetto_ext_trace_processor_demangle",
Colin Cross84172332021-09-14 16:41:33 -07002294 ":perfetto_include_perfetto_ext_trace_processor_export_json",
2295 ":perfetto_include_perfetto_ext_trace_processor_importers_memory_tracker_memory_tracker",
2296 ":perfetto_include_perfetto_ext_traced_sys_stats_counters",
2297 ":perfetto_include_perfetto_ext_traced_traced",
2298 ":perfetto_include_perfetto_ext_tracing_core_core",
Primiano Tuccib1093b42024-01-30 16:23:53 +00002299 ":perfetto_include_perfetto_ext_tracing_core_test_support",
Colin Cross84172332021-09-14 16:41:33 -07002300 ":perfetto_include_perfetto_ext_tracing_ipc_ipc",
Colin Cross84172332021-09-14 16:41:33 -07002301 ":perfetto_include_perfetto_protozero_protozero",
Daniele Di Proietto8b46d692022-04-22 15:59:40 +01002302 ":perfetto_include_perfetto_public_abi_base",
Daniele Di Proietto5a86c7e2023-01-11 15:54:46 +00002303 ":perfetto_include_perfetto_public_abi_public",
Daniele Di Proietto8b46d692022-04-22 15:59:40 +01002304 ":perfetto_include_perfetto_public_base",
Daniele Di Proietto5a86c7e2023-01-11 15:54:46 +00002305 ":perfetto_include_perfetto_public_protos_protos",
Daniele Di Proietto7451ea62023-01-09 11:31:16 +00002306 ":perfetto_include_perfetto_public_protozero",
Daniele Di Proietto5a86c7e2023-01-11 15:54:46 +00002307 ":perfetto_include_perfetto_public_public",
Hector Dearmanca273502022-05-12 08:46:34 +01002308 ":perfetto_include_perfetto_test_test_support",
Colin Cross84172332021-09-14 16:41:33 -07002309 ":perfetto_include_perfetto_trace_processor_basic_types",
2310 ":perfetto_include_perfetto_trace_processor_storage",
2311 ":perfetto_include_perfetto_trace_processor_trace_processor",
2312 ":perfetto_include_perfetto_tracing_core_core",
2313 ":perfetto_include_perfetto_tracing_core_forward_decls",
2314 ":perfetto_include_perfetto_tracing_tracing",
2315 ":perfetto_protos_perfetto_common_cpp_gen",
Hector Dearmanca273502022-05-12 08:46:34 +01002316 ":perfetto_protos_perfetto_common_lite_gen",
Colin Cross84172332021-09-14 16:41:33 -07002317 ":perfetto_protos_perfetto_common_zero_gen",
2318 ":perfetto_protos_perfetto_config_android_cpp_gen",
Hector Dearmanca273502022-05-12 08:46:34 +01002319 ":perfetto_protos_perfetto_config_android_lite_gen",
Colin Cross84172332021-09-14 16:41:33 -07002320 ":perfetto_protos_perfetto_config_android_zero_gen",
2321 ":perfetto_protos_perfetto_config_cpp_gen",
2322 ":perfetto_protos_perfetto_config_ftrace_cpp_gen",
Hector Dearmanca273502022-05-12 08:46:34 +01002323 ":perfetto_protos_perfetto_config_ftrace_lite_gen",
Colin Cross84172332021-09-14 16:41:33 -07002324 ":perfetto_protos_perfetto_config_ftrace_zero_gen",
2325 ":perfetto_protos_perfetto_config_gpu_cpp_gen",
Hector Dearmanca273502022-05-12 08:46:34 +01002326 ":perfetto_protos_perfetto_config_gpu_lite_gen",
Colin Cross84172332021-09-14 16:41:33 -07002327 ":perfetto_protos_perfetto_config_gpu_zero_gen",
2328 ":perfetto_protos_perfetto_config_inode_file_cpp_gen",
Hector Dearmanca273502022-05-12 08:46:34 +01002329 ":perfetto_protos_perfetto_config_inode_file_lite_gen",
Colin Cross84172332021-09-14 16:41:33 -07002330 ":perfetto_protos_perfetto_config_inode_file_zero_gen",
2331 ":perfetto_protos_perfetto_config_interceptors_cpp_gen",
Hector Dearmanca273502022-05-12 08:46:34 +01002332 ":perfetto_protos_perfetto_config_interceptors_lite_gen",
Colin Cross84172332021-09-14 16:41:33 -07002333 ":perfetto_protos_perfetto_config_interceptors_zero_gen",
Hector Dearmanca273502022-05-12 08:46:34 +01002334 ":perfetto_protos_perfetto_config_lite_gen",
Colin Cross84172332021-09-14 16:41:33 -07002335 ":perfetto_protos_perfetto_config_power_cpp_gen",
Hector Dearmanca273502022-05-12 08:46:34 +01002336 ":perfetto_protos_perfetto_config_power_lite_gen",
Colin Cross84172332021-09-14 16:41:33 -07002337 ":perfetto_protos_perfetto_config_power_zero_gen",
2338 ":perfetto_protos_perfetto_config_process_stats_cpp_gen",
Hector Dearmanca273502022-05-12 08:46:34 +01002339 ":perfetto_protos_perfetto_config_process_stats_lite_gen",
Colin Cross84172332021-09-14 16:41:33 -07002340 ":perfetto_protos_perfetto_config_process_stats_zero_gen",
2341 ":perfetto_protos_perfetto_config_profiling_cpp_gen",
Hector Dearmanca273502022-05-12 08:46:34 +01002342 ":perfetto_protos_perfetto_config_profiling_lite_gen",
Colin Cross84172332021-09-14 16:41:33 -07002343 ":perfetto_protos_perfetto_config_profiling_zero_gen",
Hector Dearman5974de02022-06-23 15:31:40 +01002344 ":perfetto_protos_perfetto_config_statsd_cpp_gen",
2345 ":perfetto_protos_perfetto_config_statsd_lite_gen",
2346 ":perfetto_protos_perfetto_config_statsd_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -07002347 ":perfetto_protos_perfetto_config_sys_stats_cpp_gen",
Hector Dearmanca273502022-05-12 08:46:34 +01002348 ":perfetto_protos_perfetto_config_sys_stats_lite_gen",
Colin Cross84172332021-09-14 16:41:33 -07002349 ":perfetto_protos_perfetto_config_sys_stats_zero_gen",
Hector Dearman48047d12022-08-02 14:00:46 +01002350 ":perfetto_protos_perfetto_config_system_info_cpp_gen",
2351 ":perfetto_protos_perfetto_config_system_info_lite_gen",
2352 ":perfetto_protos_perfetto_config_system_info_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -07002353 ":perfetto_protos_perfetto_config_track_event_cpp_gen",
Hector Dearmanca273502022-05-12 08:46:34 +01002354 ":perfetto_protos_perfetto_config_track_event_lite_gen",
Colin Cross84172332021-09-14 16:41:33 -07002355 ":perfetto_protos_perfetto_config_track_event_zero_gen",
2356 ":perfetto_protos_perfetto_config_zero_gen",
2357 ":perfetto_protos_perfetto_ipc_cpp_gen",
2358 ":perfetto_protos_perfetto_ipc_ipc_gen",
2359 ":perfetto_protos_perfetto_ipc_wire_protocol_cpp_gen",
2360 ":perfetto_protos_perfetto_trace_android_cpp_gen",
Hector Dearmanca273502022-05-12 08:46:34 +01002361 ":perfetto_protos_perfetto_trace_android_lite_gen",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00002362 ":perfetto_protos_perfetto_trace_android_winscope_common_cpp_gen",
2363 ":perfetto_protos_perfetto_trace_android_winscope_common_lite_gen",
2364 ":perfetto_protos_perfetto_trace_android_winscope_common_zero_gen",
2365 ":perfetto_protos_perfetto_trace_android_winscope_extensions_zero_gen",
2366 ":perfetto_protos_perfetto_trace_android_winscope_regular_cpp_gen",
2367 ":perfetto_protos_perfetto_trace_android_winscope_regular_lite_gen",
2368 ":perfetto_protos_perfetto_trace_android_winscope_regular_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -07002369 ":perfetto_protos_perfetto_trace_android_zero_gen",
2370 ":perfetto_protos_perfetto_trace_chrome_cpp_gen",
Hector Dearmanca273502022-05-12 08:46:34 +01002371 ":perfetto_protos_perfetto_trace_chrome_lite_gen",
Colin Cross84172332021-09-14 16:41:33 -07002372 ":perfetto_protos_perfetto_trace_chrome_zero_gen",
Alex Attar3cacb1d2023-10-10 13:13:25 -04002373 ":perfetto_protos_perfetto_trace_etw_cpp_gen",
2374 ":perfetto_protos_perfetto_trace_etw_lite_gen",
2375 ":perfetto_protos_perfetto_trace_etw_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -07002376 ":perfetto_protos_perfetto_trace_filesystem_cpp_gen",
Hector Dearmanca273502022-05-12 08:46:34 +01002377 ":perfetto_protos_perfetto_trace_filesystem_lite_gen",
Colin Cross84172332021-09-14 16:41:33 -07002378 ":perfetto_protos_perfetto_trace_filesystem_zero_gen",
2379 ":perfetto_protos_perfetto_trace_ftrace_cpp_gen",
Hector Dearmanca273502022-05-12 08:46:34 +01002380 ":perfetto_protos_perfetto_trace_ftrace_lite_gen",
Colin Cross84172332021-09-14 16:41:33 -07002381 ":perfetto_protos_perfetto_trace_ftrace_zero_gen",
2382 ":perfetto_protos_perfetto_trace_gpu_cpp_gen",
Hector Dearmanca273502022-05-12 08:46:34 +01002383 ":perfetto_protos_perfetto_trace_gpu_lite_gen",
Colin Cross84172332021-09-14 16:41:33 -07002384 ":perfetto_protos_perfetto_trace_gpu_zero_gen",
2385 ":perfetto_protos_perfetto_trace_interned_data_cpp_gen",
Hector Dearmanca273502022-05-12 08:46:34 +01002386 ":perfetto_protos_perfetto_trace_interned_data_lite_gen",
Colin Cross84172332021-09-14 16:41:33 -07002387 ":perfetto_protos_perfetto_trace_interned_data_zero_gen",
2388 ":perfetto_protos_perfetto_trace_minimal_cpp_gen",
Hector Dearmanca273502022-05-12 08:46:34 +01002389 ":perfetto_protos_perfetto_trace_minimal_lite_gen",
Colin Cross84172332021-09-14 16:41:33 -07002390 ":perfetto_protos_perfetto_trace_minimal_zero_gen",
2391 ":perfetto_protos_perfetto_trace_non_minimal_cpp_gen",
Hector Dearmanca273502022-05-12 08:46:34 +01002392 ":perfetto_protos_perfetto_trace_non_minimal_lite_gen",
Colin Cross84172332021-09-14 16:41:33 -07002393 ":perfetto_protos_perfetto_trace_non_minimal_zero_gen",
2394 ":perfetto_protos_perfetto_trace_perfetto_cpp_gen",
Hector Dearmanca273502022-05-12 08:46:34 +01002395 ":perfetto_protos_perfetto_trace_perfetto_lite_gen",
Colin Cross84172332021-09-14 16:41:33 -07002396 ":perfetto_protos_perfetto_trace_perfetto_zero_gen",
2397 ":perfetto_protos_perfetto_trace_power_cpp_gen",
Hector Dearmanca273502022-05-12 08:46:34 +01002398 ":perfetto_protos_perfetto_trace_power_lite_gen",
Colin Cross84172332021-09-14 16:41:33 -07002399 ":perfetto_protos_perfetto_trace_power_zero_gen",
2400 ":perfetto_protos_perfetto_trace_processor_metrics_impl_zero_gen",
2401 ":perfetto_protos_perfetto_trace_processor_zero_gen",
2402 ":perfetto_protos_perfetto_trace_profiling_cpp_gen",
Hector Dearmanca273502022-05-12 08:46:34 +01002403 ":perfetto_protos_perfetto_trace_profiling_lite_gen",
Colin Cross84172332021-09-14 16:41:33 -07002404 ":perfetto_protos_perfetto_trace_profiling_zero_gen",
2405 ":perfetto_protos_perfetto_trace_ps_cpp_gen",
Hector Dearmanca273502022-05-12 08:46:34 +01002406 ":perfetto_protos_perfetto_trace_ps_lite_gen",
Colin Cross84172332021-09-14 16:41:33 -07002407 ":perfetto_protos_perfetto_trace_ps_zero_gen",
Hector Dearman5974de02022-06-23 15:31:40 +01002408 ":perfetto_protos_perfetto_trace_statsd_cpp_gen",
2409 ":perfetto_protos_perfetto_trace_statsd_lite_gen",
2410 ":perfetto_protos_perfetto_trace_statsd_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -07002411 ":perfetto_protos_perfetto_trace_sys_stats_cpp_gen",
Hector Dearmanca273502022-05-12 08:46:34 +01002412 ":perfetto_protos_perfetto_trace_sys_stats_lite_gen",
Colin Cross84172332021-09-14 16:41:33 -07002413 ":perfetto_protos_perfetto_trace_sys_stats_zero_gen",
2414 ":perfetto_protos_perfetto_trace_system_info_cpp_gen",
Hector Dearmanca273502022-05-12 08:46:34 +01002415 ":perfetto_protos_perfetto_trace_system_info_lite_gen",
Colin Cross84172332021-09-14 16:41:33 -07002416 ":perfetto_protos_perfetto_trace_system_info_zero_gen",
2417 ":perfetto_protos_perfetto_trace_track_event_cpp_gen",
Hector Dearmanca273502022-05-12 08:46:34 +01002418 ":perfetto_protos_perfetto_trace_track_event_lite_gen",
Colin Cross84172332021-09-14 16:41:33 -07002419 ":perfetto_protos_perfetto_trace_track_event_zero_gen",
Igor Kraskevich49b42882022-03-21 13:03:02 +00002420 ":perfetto_protos_perfetto_trace_translation_cpp_gen",
Hector Dearmanca273502022-05-12 08:46:34 +01002421 ":perfetto_protos_perfetto_trace_translation_lite_gen",
Igor Kraskevich49b42882022-03-21 13:03:02 +00002422 ":perfetto_protos_perfetto_trace_translation_zero_gen",
Igor Kraskevich3da925d2022-08-22 12:02:30 +00002423 ":perfetto_protos_third_party_pprof_zero_gen",
Carlos Caballero7068d202024-05-22 23:33:31 +00002424 ":perfetto_protos_third_party_simpleperf_zero_gen",
Hector Dearman09db5b02022-07-11 13:35:23 +01002425 ":perfetto_protos_third_party_statsd_config_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -07002426 ":perfetto_src_android_internal_headers",
2427 ":perfetto_src_android_internal_lazy_library_loader",
2428 ":perfetto_src_android_stats_android_stats",
2429 ":perfetto_src_android_stats_perfetto_atoms",
2430 ":perfetto_src_base_base",
Lalit Maganti1e7aef12024-10-13 14:19:09 +01002431 ":perfetto_src_base_clock_snapshots",
Colin Cross84172332021-09-14 16:41:33 -07002432 ":perfetto_src_base_test_support",
2433 ":perfetto_src_base_unix_socket",
Daniele Di Proietto15b801e2022-06-30 12:56:13 +01002434 ":perfetto_src_base_version",
Colin Cross84172332021-09-14 16:41:33 -07002435 ":perfetto_src_ipc_client",
2436 ":perfetto_src_ipc_common",
2437 ":perfetto_src_ipc_host",
2438 ":perfetto_src_ipc_perfetto_ipc",
2439 ":perfetto_src_kallsyms_kallsyms",
Ryan Zuklieec18eb32022-07-25 15:51:59 -07002440 ":perfetto_src_kernel_utils_syscall_table",
Primiano Tucci3970dfd2023-03-28 13:02:27 +01002441 ":perfetto_src_perfetto_cmd_bugreport_path",
Colin Cross84172332021-09-14 16:41:33 -07002442 ":perfetto_src_profiling_common_callstack_trie",
2443 ":perfetto_src_profiling_common_interner",
2444 ":perfetto_src_profiling_common_interning_output",
Ryan Savitskia3f29b32022-04-04 13:18:49 +01002445 ":perfetto_src_profiling_common_proc_cmdline",
Colin Cross84172332021-09-14 16:41:33 -07002446 ":perfetto_src_profiling_common_proc_utils",
2447 ":perfetto_src_profiling_common_producer_support",
2448 ":perfetto_src_profiling_common_profiler_guardrails",
2449 ":perfetto_src_profiling_common_unwind_support",
2450 ":perfetto_src_profiling_memory_client",
2451 ":perfetto_src_profiling_memory_daemon",
2452 ":perfetto_src_profiling_memory_end_to_end_tests",
2453 ":perfetto_src_profiling_memory_ring_buffer",
2454 ":perfetto_src_profiling_memory_scoped_spinlock",
2455 ":perfetto_src_profiling_memory_wire_protocol",
2456 ":perfetto_src_protozero_filtering_bytecode_common",
Daniele Di Proietto9bccc2d2021-09-14 13:31:48 +00002457 ":perfetto_src_protozero_filtering_bytecode_generator",
Colin Cross84172332021-09-14 16:41:33 -07002458 ":perfetto_src_protozero_filtering_bytecode_parser",
2459 ":perfetto_src_protozero_filtering_message_filter",
Lalit Maganti43b2b942023-06-21 10:31:36 +01002460 ":perfetto_src_protozero_filtering_string_filter",
Hector Dearman09db5b02022-07-11 13:35:23 +01002461 ":perfetto_src_protozero_proto_ring_buffer",
Colin Cross84172332021-09-14 16:41:33 -07002462 ":perfetto_src_protozero_protozero",
Daniele Di Proietto65981022023-06-19 13:54:41 +00002463 ":perfetto_src_shared_lib_intern_map",
Daniele Di Proietto5a86c7e2023-01-11 15:54:46 +00002464 ":perfetto_src_shared_lib_shared_lib",
2465 ":perfetto_src_shared_lib_test_integrationtests",
Daniele Di Proietto2471cd82023-09-25 15:57:50 +00002466 ":perfetto_src_shared_lib_test_protos_protos",
Daniele Di Proietto5a86c7e2023-01-11 15:54:46 +00002467 ":perfetto_src_shared_lib_test_utils",
Colin Cross84172332021-09-14 16:41:33 -07002468 ":perfetto_src_trace_processor_containers_containers",
Anna Mayzner9d4f6cf2024-01-05 07:41:14 +00002469 ":perfetto_src_trace_processor_db_column_column",
Lalit Maganti3e31faf2024-05-23 18:04:23 +01002470 ":perfetto_src_trace_processor_db_compare",
Colin Cross84172332021-09-14 16:41:33 -07002471 ":perfetto_src_trace_processor_db_db",
Lalit Maganti202b26b2024-02-13 15:39:45 +00002472 ":perfetto_src_trace_processor_db_minimal",
Lalit Magantie459edf2024-02-16 15:39:30 +00002473 ":perfetto_src_trace_processor_export_json",
Primiano Tuccic9d912e2022-07-28 23:30:11 +01002474 ":perfetto_src_trace_processor_importers_android_bugreport_android_bugreport",
Carlos Caballero0735e7e2024-07-12 11:01:43 +00002475 ":perfetto_src_trace_processor_importers_android_bugreport_android_log_event",
Carlos Caballero57d05dc2024-10-14 12:05:54 +00002476 ":perfetto_src_trace_processor_importers_archive_archive",
Lalit Magantifd975122024-10-07 16:23:47 +01002477 ":perfetto_src_trace_processor_importers_art_method_art_method",
2478 ":perfetto_src_trace_processor_importers_art_method_art_method_event",
Colin Cross84172332021-09-14 16:41:33 -07002479 ":perfetto_src_trace_processor_importers_common_common",
Lalit Magantieb2645a2022-11-25 15:49:35 +00002480 ":perfetto_src_trace_processor_importers_common_parser_types",
2481 ":perfetto_src_trace_processor_importers_common_trace_parser_hdr",
Alex Attar9cc5ef22024-01-30 13:26:17 -05002482 ":perfetto_src_trace_processor_importers_etw_full",
Alex Attar3d0aae72024-04-16 14:40:30 -04002483 ":perfetto_src_trace_processor_importers_etw_minimal",
Lalit Magantib9a5b432022-12-01 16:13:11 +00002484 ":perfetto_src_trace_processor_importers_ftrace_ftrace_descriptors",
2485 ":perfetto_src_trace_processor_importers_ftrace_full",
2486 ":perfetto_src_trace_processor_importers_ftrace_minimal",
Lalit Magantife2519b2022-11-24 21:12:05 +00002487 ":perfetto_src_trace_processor_importers_fuchsia_fuchsia_record",
Lalit Magantiecf23662022-12-02 18:34:37 +00002488 ":perfetto_src_trace_processor_importers_fuchsia_full",
2489 ":perfetto_src_trace_processor_importers_fuchsia_minimal",
Lalit Maganti6713f7c2024-10-01 17:50:24 +01002490 ":perfetto_src_trace_processor_importers_gecko_gecko_event",
Lalit Magantib9a5b432022-12-01 16:13:11 +00002491 ":perfetto_src_trace_processor_importers_i2c_full",
Leszek Swirskia621a8a2024-08-30 18:12:37 +02002492 ":perfetto_src_trace_processor_importers_instruments_instruments",
2493 ":perfetto_src_trace_processor_importers_instruments_row",
Lalit Magantib9a5b432022-12-01 16:13:11 +00002494 ":perfetto_src_trace_processor_importers_json_minimal",
Colin Cross84172332021-09-14 16:41:33 -07002495 ":perfetto_src_trace_processor_importers_memory_tracker_graph_processor",
Lalit Maganti1bfdccc2022-11-28 21:19:35 +00002496 ":perfetto_src_trace_processor_importers_ninja_ninja",
Anna Mayzner5dbfc2d2023-10-26 10:42:53 +00002497 ":perfetto_src_trace_processor_importers_perf_perf",
Carlos Caballero3c1d6592024-05-13 10:22:49 +00002498 ":perfetto_src_trace_processor_importers_perf_record",
Lalit Maganti0044e3c2024-10-09 14:27:37 +01002499 ":perfetto_src_trace_processor_importers_perf_text_perf_text",
2500 ":perfetto_src_trace_processor_importers_perf_text_perf_text_event",
2501 ":perfetto_src_trace_processor_importers_perf_text_perf_text_sample_line_parser",
Lalit Magantib7ad13b2022-11-25 15:55:38 +00002502 ":perfetto_src_trace_processor_importers_proto_full",
2503 ":perfetto_src_trace_processor_importers_proto_minimal",
Lalit Magantiba07dcf2022-11-25 13:58:09 +00002504 ":perfetto_src_trace_processor_importers_proto_packet_sequence_state_generation_hdr",
Lalit Magantib9a5b432022-12-01 16:13:11 +00002505 ":perfetto_src_trace_processor_importers_proto_proto_importer_module",
Kean Mariotti248eebf2023-06-12 09:55:43 +00002506 ":perfetto_src_trace_processor_importers_proto_winscope_full",
Lalit Magantib9a5b432022-12-01 16:13:11 +00002507 ":perfetto_src_trace_processor_importers_syscalls_full",
Lalit Magantiecf23662022-12-02 18:34:37 +00002508 ":perfetto_src_trace_processor_importers_systrace_full",
Lalit Magantife2519b2022-11-24 21:12:05 +00002509 ":perfetto_src_trace_processor_importers_systrace_systrace_line",
Lalit Magantib9a5b432022-12-01 16:13:11 +00002510 ":perfetto_src_trace_processor_importers_systrace_systrace_parser",
Colin Cross84172332021-09-14 16:41:33 -07002511 ":perfetto_src_trace_processor_lib",
2512 ":perfetto_src_trace_processor_metatrace",
Lalit Maganti4c328e32021-11-09 19:29:50 +00002513 ":perfetto_src_trace_processor_metrics_metrics",
Lalit Maganti6e0c50c2023-06-22 18:13:58 +01002514 ":perfetto_src_trace_processor_perfetto_sql_engine_engine",
Lalit Maganti8ca73542024-09-17 03:10:35 +01002515 ":perfetto_src_trace_processor_perfetto_sql_grammar_grammar",
Lalit Maganti6e0c50c2023-06-22 18:13:58 +01002516 ":perfetto_src_trace_processor_perfetto_sql_intrinsics_functions_functions",
2517 ":perfetto_src_trace_processor_perfetto_sql_intrinsics_functions_interface",
2518 ":perfetto_src_trace_processor_perfetto_sql_intrinsics_operators_operators",
2519 ":perfetto_src_trace_processor_perfetto_sql_intrinsics_table_functions_interface",
2520 ":perfetto_src_trace_processor_perfetto_sql_intrinsics_table_functions_table_functions",
Lalit Magantia135a082024-06-17 12:05:29 +01002521 ":perfetto_src_trace_processor_perfetto_sql_intrinsics_types_types",
Lalit Magantia85f0752024-09-13 14:42:20 +01002522 ":perfetto_src_trace_processor_perfetto_sql_parser_parser",
Lalit Magantifcae3762024-09-13 14:38:10 +01002523 ":perfetto_src_trace_processor_perfetto_sql_preprocessor_grammar",
Lalit Maganti9b8abc22024-09-13 12:00:20 +01002524 ":perfetto_src_trace_processor_perfetto_sql_preprocessor_preprocessor",
Lalit Maganti8ca73542024-09-17 03:10:35 +01002525 ":perfetto_src_trace_processor_perfetto_sql_tokenizer_tokenize_internal",
Lalit Maganti870964a2024-09-13 17:27:26 +01002526 ":perfetto_src_trace_processor_perfetto_sql_tokenizer_tokenizer",
Lalit Maganti1e7a5bb2022-11-25 15:50:43 +00002527 ":perfetto_src_trace_processor_sorter_sorter",
Lalit Magantib7f8a072024-03-25 13:40:56 +00002528 ":perfetto_src_trace_processor_sqlite_bindings_bindings",
Colin Cross84172332021-09-14 16:41:33 -07002529 ":perfetto_src_trace_processor_sqlite_sqlite",
Colin Cross84172332021-09-14 16:41:33 -07002530 ":perfetto_src_trace_processor_storage_minimal",
2531 ":perfetto_src_trace_processor_storage_storage",
2532 ":perfetto_src_trace_processor_tables_tables",
2533 ":perfetto_src_trace_processor_types_types",
Carlos Caballero2f9ecd12024-03-04 17:56:06 +00002534 ":perfetto_src_trace_processor_util_build_id",
Lalit Magantiffaed7a2023-02-21 16:02:04 +00002535 ":perfetto_src_trace_processor_util_bump_allocator",
Colin Cross84172332021-09-14 16:41:33 -07002536 ":perfetto_src_trace_processor_util_descriptors",
Lalit Maganti83ddffe2022-10-18 17:47:44 +01002537 ":perfetto_src_trace_processor_util_glob",
Colin Cross84172332021-09-14 16:41:33 -07002538 ":perfetto_src_trace_processor_util_gzip",
2539 ":perfetto_src_trace_processor_util_interned_message_view",
Carlos Caballero Grolimund8a495a72022-09-05 09:29:09 +00002540 ":perfetto_src_trace_processor_util_profile_builder",
Carlos Caballero5903e022024-02-19 19:25:17 +00002541 ":perfetto_src_trace_processor_util_profiler_util",
Igor Kraskevich3da925d2022-08-22 12:02:30 +00002542 ":perfetto_src_trace_processor_util_proto_profiler",
Colin Cross84172332021-09-14 16:41:33 -07002543 ":perfetto_src_trace_processor_util_proto_to_args_parser",
Hector Dearmanc6cbdc52023-07-11 22:29:37 +01002544 ":perfetto_src_trace_processor_util_protozero_to_json",
Colin Cross84172332021-09-14 16:41:33 -07002545 ":perfetto_src_trace_processor_util_protozero_to_text",
Anna Mayznerb1146632023-07-05 14:14:25 +00002546 ":perfetto_src_trace_processor_util_regex",
Lalit Magantiea630542022-11-21 19:35:02 +00002547 ":perfetto_src_trace_processor_util_sql_argument",
Anna Mayzner5980c712022-11-24 15:09:11 +00002548 ":perfetto_src_trace_processor_util_stdlib",
Lalit Maganti58b22cc2024-07-10 08:28:51 +01002549 ":perfetto_src_trace_processor_util_trace_blob_view_reader",
Carlos Caballero462d1ac2024-05-17 13:10:22 +00002550 ":perfetto_src_trace_processor_util_trace_type",
Colin Cross84172332021-09-14 16:41:33 -07002551 ":perfetto_src_trace_processor_util_util",
Priyankaf1e96e32024-11-06 20:45:54 +00002552 ":perfetto_src_trace_processor_util_winscope_proto_mapping",
Primiano Tuccic9d912e2022-07-28 23:30:11 +01002553 ":perfetto_src_trace_processor_util_zip_reader",
Andy Yu2b0a2132022-04-07 16:17:10 -07002554 ":perfetto_src_traced_probes_android_game_intervention_list_android_game_intervention_list",
Colin Cross84172332021-09-14 16:41:33 -07002555 ":perfetto_src_traced_probes_android_log_android_log",
Simon MacMullenf0a6b382022-07-06 16:35:55 +00002556 ":perfetto_src_traced_probes_android_system_property_android_system_property",
Colin Cross84172332021-09-14 16:41:33 -07002557 ":perfetto_src_traced_probes_common_common",
2558 ":perfetto_src_traced_probes_data_source",
2559 ":perfetto_src_traced_probes_filesystem_filesystem",
2560 ":perfetto_src_traced_probes_ftrace_format_parser_format_parser",
2561 ":perfetto_src_traced_probes_ftrace_ftrace",
2562 ":perfetto_src_traced_probes_ftrace_ftrace_procfs",
2563 ":perfetto_src_traced_probes_ftrace_integrationtests",
2564 ":perfetto_src_traced_probes_ftrace_test_support",
2565 ":perfetto_src_traced_probes_initial_display_state_initial_display_state",
2566 ":perfetto_src_traced_probes_metatrace_metatrace",
2567 ":perfetto_src_traced_probes_packages_list_packages_list",
2568 ":perfetto_src_traced_probes_packages_list_packages_list_parser",
2569 ":perfetto_src_traced_probes_power_power",
2570 ":perfetto_src_traced_probes_probes_src",
2571 ":perfetto_src_traced_probes_ps_ps",
Hector Dearman09db5b02022-07-11 13:35:23 +01002572 ":perfetto_src_traced_probes_statsd_client_statsd_client",
Colin Cross84172332021-09-14 16:41:33 -07002573 ":perfetto_src_traced_probes_sys_stats_sys_stats",
2574 ":perfetto_src_traced_probes_system_info_system_info",
Chinglin Yu5682f422023-10-13 14:28:04 +08002575 ":perfetto_src_traced_relay_integrationtests",
2576 ":perfetto_src_traced_relay_lib",
Colin Cross84172332021-09-14 16:41:33 -07002577 ":perfetto_src_tracing_client_api_without_backends",
2578 ":perfetto_src_tracing_common",
2579 ":perfetto_src_tracing_core_core",
Hector Dearmanca273502022-05-12 08:46:34 +01002580 ":perfetto_src_tracing_core_test_support",
Colin Cross84172332021-09-14 16:41:33 -07002581 ":perfetto_src_tracing_in_process_backend",
Daniele Di Proietto03728272022-11-21 20:07:16 +00002582 ":perfetto_src_tracing_integrationtests",
Colin Cross84172332021-09-14 16:41:33 -07002583 ":perfetto_src_tracing_ipc_common",
2584 ":perfetto_src_tracing_ipc_consumer_consumer",
Primiano Tucci8761a312021-11-25 17:17:23 +00002585 ":perfetto_src_tracing_ipc_default_socket",
Colin Cross84172332021-09-14 16:41:33 -07002586 ":perfetto_src_tracing_ipc_producer_producer",
Chinglin Yu76788d22024-02-21 15:49:43 +08002587 ":perfetto_src_tracing_ipc_producer_relay",
Colin Cross84172332021-09-14 16:41:33 -07002588 ":perfetto_src_tracing_ipc_service_service",
2589 ":perfetto_src_tracing_platform_impl",
Daniele Di Proietto7c058852024-01-19 13:25:40 +00002590 ":perfetto_src_tracing_service_service",
Colin Cross84172332021-09-14 16:41:33 -07002591 ":perfetto_src_tracing_system_backend",
2592 ":perfetto_src_tracing_test_api_test_support",
2593 ":perfetto_src_tracing_test_client_api_integrationtests",
Hector Dearmanca273502022-05-12 08:46:34 +01002594 ":perfetto_src_tracing_test_test_support",
2595 ":perfetto_src_tracing_test_tracing_integration_test",
Daniele Di Proiettoc60ec0d2024-09-04 13:43:48 +00002596 ":perfetto_test_integrationtest_initializer",
2597 ":perfetto_test_integrationtest_main",
Colin Cross84172332021-09-14 16:41:33 -07002598 ":perfetto_test_test_helper",
2599 ],
2600 shared_libs: [
2601 "heapprofd_client_api",
Colin Cross84172332021-09-14 16:41:33 -07002602 "libbase",
Leszek Swirskia621a8a2024-08-30 18:12:37 +02002603 "libexpat",
Victor Changd0d65902022-03-10 11:54:27 +00002604 "libicu",
Colin Cross84172332021-09-14 16:41:33 -07002605 "liblog",
2606 "libprocinfo",
Hector Dearmanca273502022-05-12 08:46:34 +01002607 "libprotobuf-cpp-lite",
Colin Cross84172332021-09-14 16:41:33 -07002608 "libsqlite",
2609 "libunwindstack",
2610 "libutils",
2611 "libz",
2612 ],
2613 static_libs: [
2614 "libgmock",
2615 "libgtest",
2616 "libperfetto_client_experimental",
Ryan Savitskie65c4052022-03-24 18:22:19 +00002617 "perfetto_src_trace_processor_demangle",
Marcin Oczeretko1662f182022-08-18 10:29:46 +01002618 "sqlite_ext_percentile",
Colin Cross84172332021-09-14 16:41:33 -07002619 ],
2620 whole_static_libs: [
2621 "perfetto_gtest_logcat_printer",
2622 ],
2623 generated_headers: [
2624 "perfetto_protos_perfetto_common_cpp_gen_headers",
Hector Dearmanca273502022-05-12 08:46:34 +01002625 "perfetto_protos_perfetto_common_lite_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07002626 "perfetto_protos_perfetto_common_zero_gen_headers",
2627 "perfetto_protos_perfetto_config_android_cpp_gen_headers",
Hector Dearmanca273502022-05-12 08:46:34 +01002628 "perfetto_protos_perfetto_config_android_lite_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07002629 "perfetto_protos_perfetto_config_android_zero_gen_headers",
2630 "perfetto_protos_perfetto_config_cpp_gen_headers",
2631 "perfetto_protos_perfetto_config_ftrace_cpp_gen_headers",
Hector Dearmanca273502022-05-12 08:46:34 +01002632 "perfetto_protos_perfetto_config_ftrace_lite_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07002633 "perfetto_protos_perfetto_config_ftrace_zero_gen_headers",
2634 "perfetto_protos_perfetto_config_gpu_cpp_gen_headers",
Hector Dearmanca273502022-05-12 08:46:34 +01002635 "perfetto_protos_perfetto_config_gpu_lite_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07002636 "perfetto_protos_perfetto_config_gpu_zero_gen_headers",
2637 "perfetto_protos_perfetto_config_inode_file_cpp_gen_headers",
Hector Dearmanca273502022-05-12 08:46:34 +01002638 "perfetto_protos_perfetto_config_inode_file_lite_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07002639 "perfetto_protos_perfetto_config_inode_file_zero_gen_headers",
2640 "perfetto_protos_perfetto_config_interceptors_cpp_gen_headers",
Hector Dearmanca273502022-05-12 08:46:34 +01002641 "perfetto_protos_perfetto_config_interceptors_lite_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07002642 "perfetto_protos_perfetto_config_interceptors_zero_gen_headers",
Hector Dearmanca273502022-05-12 08:46:34 +01002643 "perfetto_protos_perfetto_config_lite_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07002644 "perfetto_protos_perfetto_config_power_cpp_gen_headers",
Hector Dearmanca273502022-05-12 08:46:34 +01002645 "perfetto_protos_perfetto_config_power_lite_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07002646 "perfetto_protos_perfetto_config_power_zero_gen_headers",
2647 "perfetto_protos_perfetto_config_process_stats_cpp_gen_headers",
Hector Dearmanca273502022-05-12 08:46:34 +01002648 "perfetto_protos_perfetto_config_process_stats_lite_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07002649 "perfetto_protos_perfetto_config_process_stats_zero_gen_headers",
2650 "perfetto_protos_perfetto_config_profiling_cpp_gen_headers",
Hector Dearmanca273502022-05-12 08:46:34 +01002651 "perfetto_protos_perfetto_config_profiling_lite_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07002652 "perfetto_protos_perfetto_config_profiling_zero_gen_headers",
Hector Dearman5974de02022-06-23 15:31:40 +01002653 "perfetto_protos_perfetto_config_statsd_cpp_gen_headers",
2654 "perfetto_protos_perfetto_config_statsd_lite_gen_headers",
2655 "perfetto_protos_perfetto_config_statsd_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07002656 "perfetto_protos_perfetto_config_sys_stats_cpp_gen_headers",
Hector Dearmanca273502022-05-12 08:46:34 +01002657 "perfetto_protos_perfetto_config_sys_stats_lite_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07002658 "perfetto_protos_perfetto_config_sys_stats_zero_gen_headers",
Hector Dearman48047d12022-08-02 14:00:46 +01002659 "perfetto_protos_perfetto_config_system_info_cpp_gen_headers",
2660 "perfetto_protos_perfetto_config_system_info_lite_gen_headers",
2661 "perfetto_protos_perfetto_config_system_info_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07002662 "perfetto_protos_perfetto_config_track_event_cpp_gen_headers",
Hector Dearmanca273502022-05-12 08:46:34 +01002663 "perfetto_protos_perfetto_config_track_event_lite_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07002664 "perfetto_protos_perfetto_config_track_event_zero_gen_headers",
2665 "perfetto_protos_perfetto_config_zero_gen_headers",
2666 "perfetto_protos_perfetto_ipc_cpp_gen_headers",
2667 "perfetto_protos_perfetto_ipc_ipc_gen_headers",
2668 "perfetto_protos_perfetto_ipc_wire_protocol_cpp_gen_headers",
2669 "perfetto_protos_perfetto_trace_android_cpp_gen_headers",
Hector Dearmanca273502022-05-12 08:46:34 +01002670 "perfetto_protos_perfetto_trace_android_lite_gen_headers",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00002671 "perfetto_protos_perfetto_trace_android_winscope_common_cpp_gen_headers",
2672 "perfetto_protos_perfetto_trace_android_winscope_common_lite_gen_headers",
2673 "perfetto_protos_perfetto_trace_android_winscope_common_zero_gen_headers",
2674 "perfetto_protos_perfetto_trace_android_winscope_extensions_zero_gen_headers",
2675 "perfetto_protos_perfetto_trace_android_winscope_regular_cpp_gen_headers",
2676 "perfetto_protos_perfetto_trace_android_winscope_regular_lite_gen_headers",
2677 "perfetto_protos_perfetto_trace_android_winscope_regular_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07002678 "perfetto_protos_perfetto_trace_android_zero_gen_headers",
2679 "perfetto_protos_perfetto_trace_chrome_cpp_gen_headers",
Hector Dearmanca273502022-05-12 08:46:34 +01002680 "perfetto_protos_perfetto_trace_chrome_lite_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07002681 "perfetto_protos_perfetto_trace_chrome_zero_gen_headers",
Alex Attar3cacb1d2023-10-10 13:13:25 -04002682 "perfetto_protos_perfetto_trace_etw_cpp_gen_headers",
2683 "perfetto_protos_perfetto_trace_etw_lite_gen_headers",
2684 "perfetto_protos_perfetto_trace_etw_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07002685 "perfetto_protos_perfetto_trace_filesystem_cpp_gen_headers",
Hector Dearmanca273502022-05-12 08:46:34 +01002686 "perfetto_protos_perfetto_trace_filesystem_lite_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07002687 "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers",
2688 "perfetto_protos_perfetto_trace_ftrace_cpp_gen_headers",
Hector Dearmanca273502022-05-12 08:46:34 +01002689 "perfetto_protos_perfetto_trace_ftrace_lite_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07002690 "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers",
2691 "perfetto_protos_perfetto_trace_gpu_cpp_gen_headers",
Hector Dearmanca273502022-05-12 08:46:34 +01002692 "perfetto_protos_perfetto_trace_gpu_lite_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07002693 "perfetto_protos_perfetto_trace_gpu_zero_gen_headers",
2694 "perfetto_protos_perfetto_trace_interned_data_cpp_gen_headers",
Hector Dearmanca273502022-05-12 08:46:34 +01002695 "perfetto_protos_perfetto_trace_interned_data_lite_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07002696 "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers",
2697 "perfetto_protos_perfetto_trace_minimal_cpp_gen_headers",
Hector Dearmanca273502022-05-12 08:46:34 +01002698 "perfetto_protos_perfetto_trace_minimal_lite_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07002699 "perfetto_protos_perfetto_trace_minimal_zero_gen_headers",
2700 "perfetto_protos_perfetto_trace_non_minimal_cpp_gen_headers",
Hector Dearmanca273502022-05-12 08:46:34 +01002701 "perfetto_protos_perfetto_trace_non_minimal_lite_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07002702 "perfetto_protos_perfetto_trace_non_minimal_zero_gen_headers",
2703 "perfetto_protos_perfetto_trace_perfetto_cpp_gen_headers",
Hector Dearmanca273502022-05-12 08:46:34 +01002704 "perfetto_protos_perfetto_trace_perfetto_lite_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07002705 "perfetto_protos_perfetto_trace_perfetto_zero_gen_headers",
2706 "perfetto_protos_perfetto_trace_power_cpp_gen_headers",
Hector Dearmanca273502022-05-12 08:46:34 +01002707 "perfetto_protos_perfetto_trace_power_lite_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07002708 "perfetto_protos_perfetto_trace_power_zero_gen_headers",
2709 "perfetto_protos_perfetto_trace_processor_metrics_impl_zero_gen_headers",
2710 "perfetto_protos_perfetto_trace_processor_zero_gen_headers",
2711 "perfetto_protos_perfetto_trace_profiling_cpp_gen_headers",
Hector Dearmanca273502022-05-12 08:46:34 +01002712 "perfetto_protos_perfetto_trace_profiling_lite_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07002713 "perfetto_protos_perfetto_trace_profiling_zero_gen_headers",
2714 "perfetto_protos_perfetto_trace_ps_cpp_gen_headers",
Hector Dearmanca273502022-05-12 08:46:34 +01002715 "perfetto_protos_perfetto_trace_ps_lite_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07002716 "perfetto_protos_perfetto_trace_ps_zero_gen_headers",
Hector Dearman5974de02022-06-23 15:31:40 +01002717 "perfetto_protos_perfetto_trace_statsd_cpp_gen_headers",
2718 "perfetto_protos_perfetto_trace_statsd_lite_gen_headers",
2719 "perfetto_protos_perfetto_trace_statsd_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07002720 "perfetto_protos_perfetto_trace_sys_stats_cpp_gen_headers",
Hector Dearmanca273502022-05-12 08:46:34 +01002721 "perfetto_protos_perfetto_trace_sys_stats_lite_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07002722 "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers",
2723 "perfetto_protos_perfetto_trace_system_info_cpp_gen_headers",
Hector Dearmanca273502022-05-12 08:46:34 +01002724 "perfetto_protos_perfetto_trace_system_info_lite_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07002725 "perfetto_protos_perfetto_trace_system_info_zero_gen_headers",
2726 "perfetto_protos_perfetto_trace_track_event_cpp_gen_headers",
Hector Dearmanca273502022-05-12 08:46:34 +01002727 "perfetto_protos_perfetto_trace_track_event_lite_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07002728 "perfetto_protos_perfetto_trace_track_event_zero_gen_headers",
Igor Kraskevich49b42882022-03-21 13:03:02 +00002729 "perfetto_protos_perfetto_trace_translation_cpp_gen_headers",
Hector Dearmanca273502022-05-12 08:46:34 +01002730 "perfetto_protos_perfetto_trace_translation_lite_gen_headers",
Igor Kraskevich49b42882022-03-21 13:03:02 +00002731 "perfetto_protos_perfetto_trace_translation_zero_gen_headers",
Igor Kraskevich3da925d2022-08-22 12:02:30 +00002732 "perfetto_protos_third_party_pprof_zero_gen_headers",
Carlos Caballero7068d202024-05-22 23:33:31 +00002733 "perfetto_protos_third_party_simpleperf_zero_gen_headers",
Hector Dearman09db5b02022-07-11 13:35:23 +01002734 "perfetto_protos_third_party_statsd_config_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -07002735 "perfetto_src_base_version_gen_h",
Daniele Di Proietto3a4b48a2024-06-27 11:46:04 +00002736 "perfetto_src_trace_processor_importers_proto_gen_cc_android_track_event_descriptor",
Lalit Magantiecf23662022-12-02 18:34:37 +00002737 "perfetto_src_trace_processor_importers_proto_gen_cc_chrome_track_event_descriptor",
2738 "perfetto_src_trace_processor_importers_proto_gen_cc_config_descriptor",
Lalit Magantib7ad13b2022-11-25 15:55:38 +00002739 "perfetto_src_trace_processor_importers_proto_gen_cc_statsd_atoms_descriptor",
Lalit Magantib9a5b432022-12-01 16:13:11 +00002740 "perfetto_src_trace_processor_importers_proto_gen_cc_trace_descriptor",
Lalit Magantiecf23662022-12-02 18:34:37 +00002741 "perfetto_src_trace_processor_importers_proto_gen_cc_track_event_descriptor",
Kean Mariotti248eebf2023-06-12 09:55:43 +00002742 "perfetto_src_trace_processor_importers_proto_winscope_gen_cc_winscope_descriptor",
Colin Cross84172332021-09-14 16:41:33 -07002743 "perfetto_src_trace_processor_metrics_gen_cc_all_chrome_metrics_descriptor",
Oksana Zhuravlova62ef13f2023-04-20 14:19:17 +00002744 "perfetto_src_trace_processor_metrics_gen_cc_all_webview_metrics_descriptor",
Colin Cross84172332021-09-14 16:41:33 -07002745 "perfetto_src_trace_processor_metrics_gen_cc_metrics_descriptor",
Lalit Maganti4c328e32021-11-09 19:29:50 +00002746 "perfetto_src_trace_processor_metrics_sql_gen_amalgamated_sql_metrics",
Lalit Magantiaa66b342024-04-02 16:20:50 +01002747 "perfetto_src_trace_processor_perfetto_sql_intrinsics_functions_tables",
Lalit Maganti6e0c50c2023-06-22 18:13:58 +01002748 "perfetto_src_trace_processor_perfetto_sql_intrinsics_table_functions_tables",
Lalit Maganti6e0c50c2023-06-22 18:13:58 +01002749 "perfetto_src_trace_processor_perfetto_sql_stdlib_stdlib",
Lalit Maganti3dc8e302022-12-01 20:32:46 +00002750 "perfetto_src_trace_processor_tables_tables_python",
Colin Cross84172332021-09-14 16:41:33 -07002751 ],
2752 defaults: [
2753 "perfetto_defaults",
2754 ],
2755 cflags: [
2756 "-DGOOGLE_PROTOBUF_NO_RTTI",
2757 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
Lalit Magantifa957e72023-03-16 18:22:23 +00002758 "-DZLIB_IMPLEMENTATION",
Colin Cross84172332021-09-14 16:41:33 -07002759 ],
2760 header_libs: [
2761 "bionic_libc_platform_headers",
2762 ],
2763 test_suites: [
2764 "general-tests",
2765 ],
2766 test_config: "PerfettoIntegrationTests.xml",
Lalit Maganti79f2d7b2018-01-23 18:27:33 +00002767}
2768
Lalit Magantie0f892c2024-09-09 11:49:21 +01002769// GN: [//protos/perfetto/metrics:source_set]
2770python_library_host {
2771 name: "perfetto_metrics_python_protos",
2772 srcs: [
2773 "protos/perfetto/metrics/android/ad_services_metric.proto",
2774 "protos/perfetto/metrics/android/android_anomaly_metric.proto",
2775 "protos/perfetto/metrics/android/android_blocking_call.proto",
2776 "protos/perfetto/metrics/android/android_blocking_calls_cuj_metric.proto",
2777 "protos/perfetto/metrics/android/android_blocking_calls_unagg.proto",
2778 "protos/perfetto/metrics/android/android_boot.proto",
2779 "protos/perfetto/metrics/android/android_boot_unagg.proto",
2780 "protos/perfetto/metrics/android/android_broadcasts_metric.proto",
2781 "protos/perfetto/metrics/android/android_frame_timeline_metric.proto",
2782 "protos/perfetto/metrics/android/android_garbage_collection_unagg_metric.proto",
2783 "protos/perfetto/metrics/android/android_oom_adjuster_metric.proto",
2784 "protos/perfetto/metrics/android/android_sysui_notifications_blocking_calls_metric.proto",
Lalit Magantie0f892c2024-09-09 11:49:21 +01002785 "protos/perfetto/metrics/android/anr_metric.proto",
2786 "protos/perfetto/metrics/android/app_process_starts_metric.proto",
2787 "protos/perfetto/metrics/android/auto_metric.proto",
2788 "protos/perfetto/metrics/android/batt_metric.proto",
2789 "protos/perfetto/metrics/android/binder_metric.proto",
2790 "protos/perfetto/metrics/android/camera_metric.proto",
2791 "protos/perfetto/metrics/android/camera_unagg_metric.proto",
2792 "protos/perfetto/metrics/android/codec_metrics.proto",
2793 "protos/perfetto/metrics/android/cpu_metric.proto",
2794 "protos/perfetto/metrics/android/display_metrics.proto",
2795 "protos/perfetto/metrics/android/dma_heap_metric.proto",
2796 "protos/perfetto/metrics/android/dvfs_metric.proto",
2797 "protos/perfetto/metrics/android/fastrpc_metric.proto",
2798 "protos/perfetto/metrics/android/g2d_metric.proto",
2799 "protos/perfetto/metrics/android/gpu_metric.proto",
2800 "protos/perfetto/metrics/android/hwcomposer.proto",
2801 "protos/perfetto/metrics/android/hwui_metric.proto",
2802 "protos/perfetto/metrics/android/io_metric.proto",
2803 "protos/perfetto/metrics/android/io_unagg_metric.proto",
2804 "protos/perfetto/metrics/android/ion_metric.proto",
2805 "protos/perfetto/metrics/android/irq_runtime_metric.proto",
2806 "protos/perfetto/metrics/android/jank_cuj_metric.proto",
2807 "protos/perfetto/metrics/android/java_heap_class_stats.proto",
2808 "protos/perfetto/metrics/android/java_heap_histogram.proto",
2809 "protos/perfetto/metrics/android/java_heap_stats.proto",
2810 "protos/perfetto/metrics/android/lmk_metric.proto",
2811 "protos/perfetto/metrics/android/lmk_reason_metric.proto",
2812 "protos/perfetto/metrics/android/mem_metric.proto",
2813 "protos/perfetto/metrics/android/mem_unagg_metric.proto",
2814 "protos/perfetto/metrics/android/monitor_contention_agg_metric.proto",
2815 "protos/perfetto/metrics/android/monitor_contention_metric.proto",
2816 "protos/perfetto/metrics/android/multiuser_metric.proto",
2817 "protos/perfetto/metrics/android/network_metric.proto",
Lalit Magantie0f892c2024-09-09 11:49:21 +01002818 "protos/perfetto/metrics/android/package_list.proto",
2819 "protos/perfetto/metrics/android/powrails_metric.proto",
2820 "protos/perfetto/metrics/android/process_metadata.proto",
2821 "protos/perfetto/metrics/android/profiler_smaps.proto",
2822 "protos/perfetto/metrics/android/rt_runtime_metric.proto",
2823 "protos/perfetto/metrics/android/simpleperf.proto",
2824 "protos/perfetto/metrics/android/startup_metric.proto",
2825 "protos/perfetto/metrics/android/surfaceflinger.proto",
2826 "protos/perfetto/metrics/android/sysui_notif_shade_list_builder_metric.proto",
2827 "protos/perfetto/metrics/android/sysui_slice_performance_statistical_data.proto",
2828 "protos/perfetto/metrics/android/sysui_update_notif_on_ui_mode_changed_metric.proto",
2829 "protos/perfetto/metrics/android/task_names.proto",
2830 "protos/perfetto/metrics/android/thread_time_in_state_metric.proto",
2831 "protos/perfetto/metrics/android/trace_quality.proto",
2832 "protos/perfetto/metrics/android/unsymbolized_frames.proto",
2833 "protos/perfetto/metrics/android/wattson_in_time_period.proto",
2834 "protos/perfetto/metrics/android/wattson_tasks_attribution.proto",
2835 "protos/perfetto/metrics/metrics.proto",
2836 ],
2837 proto: {
2838 canonical_path_from_root: false,
2839 },
2840}
2841
Primiano Tucci57dd66b2019-10-15 23:09:04 +01002842// GN: //protos/perfetto/common:cpp
Spandan Das34f1b982023-10-13 23:24:01 +00002843filegroup {
2844 name: "perfetto_protos_perfetto_common_cpp",
Colin Cross84172332021-09-14 16:41:33 -07002845 srcs: [
2846 "protos/perfetto/common/android_energy_consumer_descriptor.proto",
2847 "protos/perfetto/common/android_log_constants.proto",
2848 "protos/perfetto/common/builtin_clock.proto",
2849 "protos/perfetto/common/commit_data_request.proto",
2850 "protos/perfetto/common/data_source_descriptor.proto",
2851 "protos/perfetto/common/descriptor.proto",
Daniele Di Proietto97c33812022-02-21 13:49:52 +00002852 "protos/perfetto/common/ftrace_descriptor.proto",
Colin Cross84172332021-09-14 16:41:33 -07002853 "protos/perfetto/common/gpu_counter_descriptor.proto",
2854 "protos/perfetto/common/interceptor_descriptor.proto",
2855 "protos/perfetto/common/observable_events.proto",
2856 "protos/perfetto/common/perf_events.proto",
Pablo Gamito56893db2023-11-28 16:32:24 +00002857 "protos/perfetto/common/protolog_common.proto",
Colin Cross84172332021-09-14 16:41:33 -07002858 "protos/perfetto/common/sys_stats_counters.proto",
2859 "protos/perfetto/common/trace_stats.proto",
2860 "protos/perfetto/common/tracing_service_capabilities.proto",
2861 "protos/perfetto/common/tracing_service_state.proto",
2862 "protos/perfetto/common/track_event_descriptor.proto",
2863 ],
Spandan Das34f1b982023-10-13 23:24:01 +00002864}
2865
2866// GN: //protos/perfetto/common:cpp
2867genrule {
2868 name: "perfetto_protos_perfetto_common_cpp_gen",
2869 srcs: [
2870 ":perfetto_protos_perfetto_common_cpp",
2871 ],
Colin Cross84172332021-09-14 16:41:33 -07002872 tools: [
2873 "aprotoc",
2874 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
2875 ],
Spandan Das34f1b982023-10-13 23:24:01 +00002876 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_common_cpp)",
Colin Cross84172332021-09-14 16:41:33 -07002877 out: [
2878 "external/perfetto/protos/perfetto/common/android_energy_consumer_descriptor.gen.cc",
2879 "external/perfetto/protos/perfetto/common/android_log_constants.gen.cc",
2880 "external/perfetto/protos/perfetto/common/builtin_clock.gen.cc",
2881 "external/perfetto/protos/perfetto/common/commit_data_request.gen.cc",
2882 "external/perfetto/protos/perfetto/common/data_source_descriptor.gen.cc",
2883 "external/perfetto/protos/perfetto/common/descriptor.gen.cc",
Daniele Di Proietto97c33812022-02-21 13:49:52 +00002884 "external/perfetto/protos/perfetto/common/ftrace_descriptor.gen.cc",
Colin Cross84172332021-09-14 16:41:33 -07002885 "external/perfetto/protos/perfetto/common/gpu_counter_descriptor.gen.cc",
2886 "external/perfetto/protos/perfetto/common/interceptor_descriptor.gen.cc",
2887 "external/perfetto/protos/perfetto/common/observable_events.gen.cc",
2888 "external/perfetto/protos/perfetto/common/perf_events.gen.cc",
Pablo Gamito56893db2023-11-28 16:32:24 +00002889 "external/perfetto/protos/perfetto/common/protolog_common.gen.cc",
Colin Cross84172332021-09-14 16:41:33 -07002890 "external/perfetto/protos/perfetto/common/sys_stats_counters.gen.cc",
2891 "external/perfetto/protos/perfetto/common/trace_stats.gen.cc",
2892 "external/perfetto/protos/perfetto/common/tracing_service_capabilities.gen.cc",
2893 "external/perfetto/protos/perfetto/common/tracing_service_state.gen.cc",
2894 "external/perfetto/protos/perfetto/common/track_event_descriptor.gen.cc",
2895 ],
Primiano Tucci57dd66b2019-10-15 23:09:04 +01002896}
2897
2898// GN: //protos/perfetto/common:cpp
2899genrule {
Colin Cross84172332021-09-14 16:41:33 -07002900 name: "perfetto_protos_perfetto_common_cpp_gen_headers",
2901 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00002902 ":perfetto_protos_perfetto_common_cpp",
Colin Cross84172332021-09-14 16:41:33 -07002903 ],
2904 tools: [
2905 "aprotoc",
2906 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
2907 ],
Spandan Das34f1b982023-10-13 23:24:01 +00002908 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_common_cpp)",
Colin Cross84172332021-09-14 16:41:33 -07002909 out: [
2910 "external/perfetto/protos/perfetto/common/android_energy_consumer_descriptor.gen.h",
2911 "external/perfetto/protos/perfetto/common/android_log_constants.gen.h",
2912 "external/perfetto/protos/perfetto/common/builtin_clock.gen.h",
2913 "external/perfetto/protos/perfetto/common/commit_data_request.gen.h",
2914 "external/perfetto/protos/perfetto/common/data_source_descriptor.gen.h",
2915 "external/perfetto/protos/perfetto/common/descriptor.gen.h",
Daniele Di Proietto97c33812022-02-21 13:49:52 +00002916 "external/perfetto/protos/perfetto/common/ftrace_descriptor.gen.h",
Colin Cross84172332021-09-14 16:41:33 -07002917 "external/perfetto/protos/perfetto/common/gpu_counter_descriptor.gen.h",
2918 "external/perfetto/protos/perfetto/common/interceptor_descriptor.gen.h",
2919 "external/perfetto/protos/perfetto/common/observable_events.gen.h",
2920 "external/perfetto/protos/perfetto/common/perf_events.gen.h",
Pablo Gamito56893db2023-11-28 16:32:24 +00002921 "external/perfetto/protos/perfetto/common/protolog_common.gen.h",
Colin Cross84172332021-09-14 16:41:33 -07002922 "external/perfetto/protos/perfetto/common/sys_stats_counters.gen.h",
2923 "external/perfetto/protos/perfetto/common/trace_stats.gen.h",
2924 "external/perfetto/protos/perfetto/common/tracing_service_capabilities.gen.h",
2925 "external/perfetto/protos/perfetto/common/tracing_service_state.gen.h",
2926 "external/perfetto/protos/perfetto/common/track_event_descriptor.gen.h",
2927 ],
2928 export_include_dirs: [
2929 ".",
2930 "protos",
2931 ],
Primiano Tucci57dd66b2019-10-15 23:09:04 +01002932}
2933
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01002934// GN: //protos/perfetto/common:lite
Spandan Das34f1b982023-10-13 23:24:01 +00002935filegroup {
2936 name: "perfetto_protos_perfetto_common_lite",
Colin Cross84172332021-09-14 16:41:33 -07002937 srcs: [
2938 "protos/perfetto/common/android_energy_consumer_descriptor.proto",
2939 "protos/perfetto/common/android_log_constants.proto",
2940 "protos/perfetto/common/builtin_clock.proto",
2941 "protos/perfetto/common/commit_data_request.proto",
2942 "protos/perfetto/common/data_source_descriptor.proto",
2943 "protos/perfetto/common/descriptor.proto",
Daniele Di Proietto97c33812022-02-21 13:49:52 +00002944 "protos/perfetto/common/ftrace_descriptor.proto",
Colin Cross84172332021-09-14 16:41:33 -07002945 "protos/perfetto/common/gpu_counter_descriptor.proto",
2946 "protos/perfetto/common/interceptor_descriptor.proto",
2947 "protos/perfetto/common/observable_events.proto",
2948 "protos/perfetto/common/perf_events.proto",
Pablo Gamito56893db2023-11-28 16:32:24 +00002949 "protos/perfetto/common/protolog_common.proto",
Colin Cross84172332021-09-14 16:41:33 -07002950 "protos/perfetto/common/sys_stats_counters.proto",
2951 "protos/perfetto/common/trace_stats.proto",
2952 "protos/perfetto/common/tracing_service_capabilities.proto",
2953 "protos/perfetto/common/tracing_service_state.proto",
2954 "protos/perfetto/common/track_event_descriptor.proto",
2955 ],
Spandan Das34f1b982023-10-13 23:24:01 +00002956}
2957
2958// GN: //protos/perfetto/common:lite
2959genrule {
2960 name: "perfetto_protos_perfetto_common_lite_gen",
2961 srcs: [
2962 ":perfetto_protos_perfetto_common_lite",
2963 ],
Colin Cross84172332021-09-14 16:41:33 -07002964 tools: [
2965 "aprotoc",
2966 ],
Spandan Das34f1b982023-10-13 23:24:01 +00002967 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_common_lite)",
Colin Cross84172332021-09-14 16:41:33 -07002968 out: [
2969 "external/perfetto/protos/perfetto/common/android_energy_consumer_descriptor.pb.cc",
2970 "external/perfetto/protos/perfetto/common/android_log_constants.pb.cc",
2971 "external/perfetto/protos/perfetto/common/builtin_clock.pb.cc",
2972 "external/perfetto/protos/perfetto/common/commit_data_request.pb.cc",
2973 "external/perfetto/protos/perfetto/common/data_source_descriptor.pb.cc",
2974 "external/perfetto/protos/perfetto/common/descriptor.pb.cc",
Daniele Di Proietto97c33812022-02-21 13:49:52 +00002975 "external/perfetto/protos/perfetto/common/ftrace_descriptor.pb.cc",
Colin Cross84172332021-09-14 16:41:33 -07002976 "external/perfetto/protos/perfetto/common/gpu_counter_descriptor.pb.cc",
2977 "external/perfetto/protos/perfetto/common/interceptor_descriptor.pb.cc",
2978 "external/perfetto/protos/perfetto/common/observable_events.pb.cc",
2979 "external/perfetto/protos/perfetto/common/perf_events.pb.cc",
Pablo Gamito56893db2023-11-28 16:32:24 +00002980 "external/perfetto/protos/perfetto/common/protolog_common.pb.cc",
Colin Cross84172332021-09-14 16:41:33 -07002981 "external/perfetto/protos/perfetto/common/sys_stats_counters.pb.cc",
2982 "external/perfetto/protos/perfetto/common/trace_stats.pb.cc",
2983 "external/perfetto/protos/perfetto/common/tracing_service_capabilities.pb.cc",
2984 "external/perfetto/protos/perfetto/common/tracing_service_state.pb.cc",
2985 "external/perfetto/protos/perfetto/common/track_event_descriptor.pb.cc",
2986 ],
Primiano Tucci6aa75572018-03-21 05:33:14 -07002987}
2988
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01002989// GN: //protos/perfetto/common:lite
Primiano Tucci6aa75572018-03-21 05:33:14 -07002990genrule {
Colin Cross84172332021-09-14 16:41:33 -07002991 name: "perfetto_protos_perfetto_common_lite_gen_headers",
2992 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00002993 ":perfetto_protos_perfetto_common_lite",
Colin Cross84172332021-09-14 16:41:33 -07002994 ],
2995 tools: [
2996 "aprotoc",
2997 ],
Spandan Das34f1b982023-10-13 23:24:01 +00002998 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_common_lite)",
Colin Cross84172332021-09-14 16:41:33 -07002999 out: [
3000 "external/perfetto/protos/perfetto/common/android_energy_consumer_descriptor.pb.h",
3001 "external/perfetto/protos/perfetto/common/android_log_constants.pb.h",
3002 "external/perfetto/protos/perfetto/common/builtin_clock.pb.h",
3003 "external/perfetto/protos/perfetto/common/commit_data_request.pb.h",
3004 "external/perfetto/protos/perfetto/common/data_source_descriptor.pb.h",
3005 "external/perfetto/protos/perfetto/common/descriptor.pb.h",
Daniele Di Proietto97c33812022-02-21 13:49:52 +00003006 "external/perfetto/protos/perfetto/common/ftrace_descriptor.pb.h",
Colin Cross84172332021-09-14 16:41:33 -07003007 "external/perfetto/protos/perfetto/common/gpu_counter_descriptor.pb.h",
3008 "external/perfetto/protos/perfetto/common/interceptor_descriptor.pb.h",
3009 "external/perfetto/protos/perfetto/common/observable_events.pb.h",
3010 "external/perfetto/protos/perfetto/common/perf_events.pb.h",
Pablo Gamito56893db2023-11-28 16:32:24 +00003011 "external/perfetto/protos/perfetto/common/protolog_common.pb.h",
Colin Cross84172332021-09-14 16:41:33 -07003012 "external/perfetto/protos/perfetto/common/sys_stats_counters.pb.h",
3013 "external/perfetto/protos/perfetto/common/trace_stats.pb.h",
3014 "external/perfetto/protos/perfetto/common/tracing_service_capabilities.pb.h",
3015 "external/perfetto/protos/perfetto/common/tracing_service_state.pb.h",
3016 "external/perfetto/protos/perfetto/common/track_event_descriptor.pb.h",
3017 ],
3018 export_include_dirs: [
3019 ".",
3020 "protos",
3021 ],
Primiano Tucci6aa75572018-03-21 05:33:14 -07003022}
3023
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01003024// GN: //protos/perfetto/common:zero
Spandan Das34f1b982023-10-13 23:24:01 +00003025filegroup {
3026 name: "perfetto_protos_perfetto_common_zero",
Colin Cross84172332021-09-14 16:41:33 -07003027 srcs: [
3028 "protos/perfetto/common/android_energy_consumer_descriptor.proto",
3029 "protos/perfetto/common/android_log_constants.proto",
3030 "protos/perfetto/common/builtin_clock.proto",
3031 "protos/perfetto/common/commit_data_request.proto",
3032 "protos/perfetto/common/data_source_descriptor.proto",
3033 "protos/perfetto/common/descriptor.proto",
Daniele Di Proietto97c33812022-02-21 13:49:52 +00003034 "protos/perfetto/common/ftrace_descriptor.proto",
Colin Cross84172332021-09-14 16:41:33 -07003035 "protos/perfetto/common/gpu_counter_descriptor.proto",
3036 "protos/perfetto/common/interceptor_descriptor.proto",
3037 "protos/perfetto/common/observable_events.proto",
3038 "protos/perfetto/common/perf_events.proto",
Pablo Gamito56893db2023-11-28 16:32:24 +00003039 "protos/perfetto/common/protolog_common.proto",
Colin Cross84172332021-09-14 16:41:33 -07003040 "protos/perfetto/common/sys_stats_counters.proto",
3041 "protos/perfetto/common/trace_stats.proto",
3042 "protos/perfetto/common/tracing_service_capabilities.proto",
3043 "protos/perfetto/common/tracing_service_state.proto",
3044 "protos/perfetto/common/track_event_descriptor.proto",
3045 ],
Spandan Das34f1b982023-10-13 23:24:01 +00003046}
3047
3048// GN: //protos/perfetto/common:zero
3049genrule {
3050 name: "perfetto_protos_perfetto_common_zero_gen",
3051 srcs: [
3052 ":perfetto_protos_perfetto_common_zero",
3053 ],
Colin Cross84172332021-09-14 16:41:33 -07003054 tools: [
3055 "aprotoc",
3056 "protozero_plugin",
3057 ],
Spandan Das34f1b982023-10-13 23:24:01 +00003058 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_common_zero)",
Colin Cross84172332021-09-14 16:41:33 -07003059 out: [
3060 "external/perfetto/protos/perfetto/common/android_energy_consumer_descriptor.pbzero.cc",
3061 "external/perfetto/protos/perfetto/common/android_log_constants.pbzero.cc",
3062 "external/perfetto/protos/perfetto/common/builtin_clock.pbzero.cc",
3063 "external/perfetto/protos/perfetto/common/commit_data_request.pbzero.cc",
3064 "external/perfetto/protos/perfetto/common/data_source_descriptor.pbzero.cc",
3065 "external/perfetto/protos/perfetto/common/descriptor.pbzero.cc",
Daniele Di Proietto97c33812022-02-21 13:49:52 +00003066 "external/perfetto/protos/perfetto/common/ftrace_descriptor.pbzero.cc",
Colin Cross84172332021-09-14 16:41:33 -07003067 "external/perfetto/protos/perfetto/common/gpu_counter_descriptor.pbzero.cc",
3068 "external/perfetto/protos/perfetto/common/interceptor_descriptor.pbzero.cc",
3069 "external/perfetto/protos/perfetto/common/observable_events.pbzero.cc",
3070 "external/perfetto/protos/perfetto/common/perf_events.pbzero.cc",
Pablo Gamito56893db2023-11-28 16:32:24 +00003071 "external/perfetto/protos/perfetto/common/protolog_common.pbzero.cc",
Colin Cross84172332021-09-14 16:41:33 -07003072 "external/perfetto/protos/perfetto/common/sys_stats_counters.pbzero.cc",
3073 "external/perfetto/protos/perfetto/common/trace_stats.pbzero.cc",
3074 "external/perfetto/protos/perfetto/common/tracing_service_capabilities.pbzero.cc",
3075 "external/perfetto/protos/perfetto/common/tracing_service_state.pbzero.cc",
3076 "external/perfetto/protos/perfetto/common/track_event_descriptor.pbzero.cc",
3077 ],
Primiano Tucci82a8bfd2018-09-19 11:33:04 +01003078}
3079
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01003080// GN: //protos/perfetto/common:zero
Primiano Tucci82a8bfd2018-09-19 11:33:04 +01003081genrule {
Colin Cross84172332021-09-14 16:41:33 -07003082 name: "perfetto_protos_perfetto_common_zero_gen_headers",
3083 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00003084 ":perfetto_protos_perfetto_common_zero",
Colin Cross84172332021-09-14 16:41:33 -07003085 ],
3086 tools: [
3087 "aprotoc",
3088 "protozero_plugin",
3089 ],
Spandan Das34f1b982023-10-13 23:24:01 +00003090 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_common_zero)",
Colin Cross84172332021-09-14 16:41:33 -07003091 out: [
3092 "external/perfetto/protos/perfetto/common/android_energy_consumer_descriptor.pbzero.h",
3093 "external/perfetto/protos/perfetto/common/android_log_constants.pbzero.h",
3094 "external/perfetto/protos/perfetto/common/builtin_clock.pbzero.h",
3095 "external/perfetto/protos/perfetto/common/commit_data_request.pbzero.h",
3096 "external/perfetto/protos/perfetto/common/data_source_descriptor.pbzero.h",
3097 "external/perfetto/protos/perfetto/common/descriptor.pbzero.h",
Daniele Di Proietto97c33812022-02-21 13:49:52 +00003098 "external/perfetto/protos/perfetto/common/ftrace_descriptor.pbzero.h",
Colin Cross84172332021-09-14 16:41:33 -07003099 "external/perfetto/protos/perfetto/common/gpu_counter_descriptor.pbzero.h",
3100 "external/perfetto/protos/perfetto/common/interceptor_descriptor.pbzero.h",
3101 "external/perfetto/protos/perfetto/common/observable_events.pbzero.h",
3102 "external/perfetto/protos/perfetto/common/perf_events.pbzero.h",
Pablo Gamito56893db2023-11-28 16:32:24 +00003103 "external/perfetto/protos/perfetto/common/protolog_common.pbzero.h",
Colin Cross84172332021-09-14 16:41:33 -07003104 "external/perfetto/protos/perfetto/common/sys_stats_counters.pbzero.h",
3105 "external/perfetto/protos/perfetto/common/trace_stats.pbzero.h",
3106 "external/perfetto/protos/perfetto/common/tracing_service_capabilities.pbzero.h",
3107 "external/perfetto/protos/perfetto/common/tracing_service_state.pbzero.h",
3108 "external/perfetto/protos/perfetto/common/track_event_descriptor.pbzero.h",
3109 ],
3110 export_include_dirs: [
3111 ".",
3112 "protos",
3113 ],
Primiano Tucci82a8bfd2018-09-19 11:33:04 +01003114}
3115
Primiano Tucci57dd66b2019-10-15 23:09:04 +01003116// GN: //protos/perfetto/config/android:cpp
Spandan Das34f1b982023-10-13 23:24:01 +00003117filegroup {
3118 name: "perfetto_protos_perfetto_config_android_cpp",
Colin Cross84172332021-09-14 16:41:33 -07003119 srcs: [
Andy Yu2e3c9b62022-05-31 11:23:18 -07003120 "protos/perfetto/config/android/android_game_intervention_list_config.proto",
Prabir Pradhan278f4672024-01-16 21:01:06 +00003121 "protos/perfetto/config/android/android_input_event_config.proto",
Colin Cross84172332021-09-14 16:41:33 -07003122 "protos/perfetto/config/android/android_log_config.proto",
3123 "protos/perfetto/config/android/android_polled_state_config.proto",
Nolan Scobieae5edf02023-04-23 17:23:23 -04003124 "protos/perfetto/config/android/android_sdk_sysprop_guard_config.proto",
Simon MacMullenf0a6b382022-07-06 16:35:55 +00003125 "protos/perfetto/config/android/android_system_property_config.proto",
Ryan Zuklie1c0a5002022-11-18 17:03:37 -08003126 "protos/perfetto/config/android/network_trace_config.proto",
Colin Cross84172332021-09-14 16:41:33 -07003127 "protos/perfetto/config/android/packages_list_config.proto",
Simon MacMullen10715962024-04-18 17:48:47 +00003128 "protos/perfetto/config/android/pixel_modem_config.proto",
Pablo Gamito56893db2023-11-28 16:32:24 +00003129 "protos/perfetto/config/android/protolog_config.proto",
Kean Mariottia977e772023-06-06 08:27:55 +00003130 "protos/perfetto/config/android/surfaceflinger_layers_config.proto",
Kean Mariotti8200d062023-08-02 13:14:10 +00003131 "protos/perfetto/config/android/surfaceflinger_transactions_config.proto",
Kean Mariotti1060a4a2024-06-26 08:01:48 +00003132 "protos/perfetto/config/android/windowmanager_config.proto",
Colin Cross84172332021-09-14 16:41:33 -07003133 ],
Spandan Das34f1b982023-10-13 23:24:01 +00003134}
3135
3136// GN: //protos/perfetto/config/android:cpp
3137genrule {
3138 name: "perfetto_protos_perfetto_config_android_cpp_gen",
3139 srcs: [
3140 ":perfetto_protos_perfetto_common_cpp",
3141 ":perfetto_protos_perfetto_config_android_cpp",
3142 ],
Colin Cross84172332021-09-14 16:41:33 -07003143 tools: [
3144 "aprotoc",
3145 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
3146 ],
Spandan Das34f1b982023-10-13 23:24:01 +00003147 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_android_cpp)",
Colin Cross84172332021-09-14 16:41:33 -07003148 out: [
Andy Yu2e3c9b62022-05-31 11:23:18 -07003149 "external/perfetto/protos/perfetto/config/android/android_game_intervention_list_config.gen.cc",
Prabir Pradhan278f4672024-01-16 21:01:06 +00003150 "external/perfetto/protos/perfetto/config/android/android_input_event_config.gen.cc",
Colin Cross84172332021-09-14 16:41:33 -07003151 "external/perfetto/protos/perfetto/config/android/android_log_config.gen.cc",
3152 "external/perfetto/protos/perfetto/config/android/android_polled_state_config.gen.cc",
Nolan Scobieae5edf02023-04-23 17:23:23 -04003153 "external/perfetto/protos/perfetto/config/android/android_sdk_sysprop_guard_config.gen.cc",
Simon MacMullenf0a6b382022-07-06 16:35:55 +00003154 "external/perfetto/protos/perfetto/config/android/android_system_property_config.gen.cc",
Ryan Zuklie1c0a5002022-11-18 17:03:37 -08003155 "external/perfetto/protos/perfetto/config/android/network_trace_config.gen.cc",
Colin Cross84172332021-09-14 16:41:33 -07003156 "external/perfetto/protos/perfetto/config/android/packages_list_config.gen.cc",
Simon MacMullen10715962024-04-18 17:48:47 +00003157 "external/perfetto/protos/perfetto/config/android/pixel_modem_config.gen.cc",
Pablo Gamito56893db2023-11-28 16:32:24 +00003158 "external/perfetto/protos/perfetto/config/android/protolog_config.gen.cc",
Kean Mariottia977e772023-06-06 08:27:55 +00003159 "external/perfetto/protos/perfetto/config/android/surfaceflinger_layers_config.gen.cc",
Kean Mariotti8200d062023-08-02 13:14:10 +00003160 "external/perfetto/protos/perfetto/config/android/surfaceflinger_transactions_config.gen.cc",
Kean Mariotti1060a4a2024-06-26 08:01:48 +00003161 "external/perfetto/protos/perfetto/config/android/windowmanager_config.gen.cc",
Colin Cross84172332021-09-14 16:41:33 -07003162 ],
Primiano Tucci57dd66b2019-10-15 23:09:04 +01003163}
3164
3165// GN: //protos/perfetto/config/android:cpp
3166genrule {
Colin Cross84172332021-09-14 16:41:33 -07003167 name: "perfetto_protos_perfetto_config_android_cpp_gen_headers",
3168 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00003169 ":perfetto_protos_perfetto_common_cpp",
3170 ":perfetto_protos_perfetto_config_android_cpp",
Colin Cross84172332021-09-14 16:41:33 -07003171 ],
3172 tools: [
3173 "aprotoc",
3174 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
3175 ],
Spandan Das34f1b982023-10-13 23:24:01 +00003176 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_android_cpp)",
Colin Cross84172332021-09-14 16:41:33 -07003177 out: [
Andy Yu2e3c9b62022-05-31 11:23:18 -07003178 "external/perfetto/protos/perfetto/config/android/android_game_intervention_list_config.gen.h",
Prabir Pradhan278f4672024-01-16 21:01:06 +00003179 "external/perfetto/protos/perfetto/config/android/android_input_event_config.gen.h",
Colin Cross84172332021-09-14 16:41:33 -07003180 "external/perfetto/protos/perfetto/config/android/android_log_config.gen.h",
3181 "external/perfetto/protos/perfetto/config/android/android_polled_state_config.gen.h",
Nolan Scobieae5edf02023-04-23 17:23:23 -04003182 "external/perfetto/protos/perfetto/config/android/android_sdk_sysprop_guard_config.gen.h",
Simon MacMullenf0a6b382022-07-06 16:35:55 +00003183 "external/perfetto/protos/perfetto/config/android/android_system_property_config.gen.h",
Ryan Zuklie1c0a5002022-11-18 17:03:37 -08003184 "external/perfetto/protos/perfetto/config/android/network_trace_config.gen.h",
Colin Cross84172332021-09-14 16:41:33 -07003185 "external/perfetto/protos/perfetto/config/android/packages_list_config.gen.h",
Simon MacMullen10715962024-04-18 17:48:47 +00003186 "external/perfetto/protos/perfetto/config/android/pixel_modem_config.gen.h",
Pablo Gamito56893db2023-11-28 16:32:24 +00003187 "external/perfetto/protos/perfetto/config/android/protolog_config.gen.h",
Kean Mariottia977e772023-06-06 08:27:55 +00003188 "external/perfetto/protos/perfetto/config/android/surfaceflinger_layers_config.gen.h",
Kean Mariotti8200d062023-08-02 13:14:10 +00003189 "external/perfetto/protos/perfetto/config/android/surfaceflinger_transactions_config.gen.h",
Kean Mariotti1060a4a2024-06-26 08:01:48 +00003190 "external/perfetto/protos/perfetto/config/android/windowmanager_config.gen.h",
Colin Cross84172332021-09-14 16:41:33 -07003191 ],
3192 export_include_dirs: [
3193 ".",
3194 "protos",
3195 ],
Primiano Tucci57dd66b2019-10-15 23:09:04 +01003196}
3197
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01003198// GN: //protos/perfetto/config/android:lite
Spandan Das34f1b982023-10-13 23:24:01 +00003199filegroup {
3200 name: "perfetto_protos_perfetto_config_android_lite",
Colin Cross84172332021-09-14 16:41:33 -07003201 srcs: [
Andy Yu2e3c9b62022-05-31 11:23:18 -07003202 "protos/perfetto/config/android/android_game_intervention_list_config.proto",
Prabir Pradhan278f4672024-01-16 21:01:06 +00003203 "protos/perfetto/config/android/android_input_event_config.proto",
Colin Cross84172332021-09-14 16:41:33 -07003204 "protos/perfetto/config/android/android_log_config.proto",
3205 "protos/perfetto/config/android/android_polled_state_config.proto",
Nolan Scobieae5edf02023-04-23 17:23:23 -04003206 "protos/perfetto/config/android/android_sdk_sysprop_guard_config.proto",
Simon MacMullenf0a6b382022-07-06 16:35:55 +00003207 "protos/perfetto/config/android/android_system_property_config.proto",
Ryan Zuklie1c0a5002022-11-18 17:03:37 -08003208 "protos/perfetto/config/android/network_trace_config.proto",
Colin Cross84172332021-09-14 16:41:33 -07003209 "protos/perfetto/config/android/packages_list_config.proto",
Simon MacMullen10715962024-04-18 17:48:47 +00003210 "protos/perfetto/config/android/pixel_modem_config.proto",
Pablo Gamito56893db2023-11-28 16:32:24 +00003211 "protos/perfetto/config/android/protolog_config.proto",
Kean Mariottia977e772023-06-06 08:27:55 +00003212 "protos/perfetto/config/android/surfaceflinger_layers_config.proto",
Kean Mariotti8200d062023-08-02 13:14:10 +00003213 "protos/perfetto/config/android/surfaceflinger_transactions_config.proto",
Kean Mariotti1060a4a2024-06-26 08:01:48 +00003214 "protos/perfetto/config/android/windowmanager_config.proto",
Colin Cross84172332021-09-14 16:41:33 -07003215 ],
Spandan Das34f1b982023-10-13 23:24:01 +00003216}
3217
3218// GN: //protos/perfetto/config/android:lite
3219genrule {
3220 name: "perfetto_protos_perfetto_config_android_lite_gen",
3221 srcs: [
3222 ":perfetto_protos_perfetto_common_lite",
3223 ":perfetto_protos_perfetto_config_android_lite",
3224 ],
Colin Cross84172332021-09-14 16:41:33 -07003225 tools: [
3226 "aprotoc",
3227 ],
Spandan Das34f1b982023-10-13 23:24:01 +00003228 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_android_lite)",
Colin Cross84172332021-09-14 16:41:33 -07003229 out: [
Andy Yu2e3c9b62022-05-31 11:23:18 -07003230 "external/perfetto/protos/perfetto/config/android/android_game_intervention_list_config.pb.cc",
Prabir Pradhan278f4672024-01-16 21:01:06 +00003231 "external/perfetto/protos/perfetto/config/android/android_input_event_config.pb.cc",
Colin Cross84172332021-09-14 16:41:33 -07003232 "external/perfetto/protos/perfetto/config/android/android_log_config.pb.cc",
3233 "external/perfetto/protos/perfetto/config/android/android_polled_state_config.pb.cc",
Nolan Scobieae5edf02023-04-23 17:23:23 -04003234 "external/perfetto/protos/perfetto/config/android/android_sdk_sysprop_guard_config.pb.cc",
Simon MacMullenf0a6b382022-07-06 16:35:55 +00003235 "external/perfetto/protos/perfetto/config/android/android_system_property_config.pb.cc",
Ryan Zuklie1c0a5002022-11-18 17:03:37 -08003236 "external/perfetto/protos/perfetto/config/android/network_trace_config.pb.cc",
Colin Cross84172332021-09-14 16:41:33 -07003237 "external/perfetto/protos/perfetto/config/android/packages_list_config.pb.cc",
Simon MacMullen10715962024-04-18 17:48:47 +00003238 "external/perfetto/protos/perfetto/config/android/pixel_modem_config.pb.cc",
Pablo Gamito56893db2023-11-28 16:32:24 +00003239 "external/perfetto/protos/perfetto/config/android/protolog_config.pb.cc",
Kean Mariottia977e772023-06-06 08:27:55 +00003240 "external/perfetto/protos/perfetto/config/android/surfaceflinger_layers_config.pb.cc",
Kean Mariotti8200d062023-08-02 13:14:10 +00003241 "external/perfetto/protos/perfetto/config/android/surfaceflinger_transactions_config.pb.cc",
Kean Mariotti1060a4a2024-06-26 08:01:48 +00003242 "external/perfetto/protos/perfetto/config/android/windowmanager_config.pb.cc",
Colin Cross84172332021-09-14 16:41:33 -07003243 ],
Primiano Tucci70431002019-08-22 17:13:10 +02003244}
3245
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01003246// GN: //protos/perfetto/config/android:lite
Primiano Tucci70431002019-08-22 17:13:10 +02003247genrule {
Colin Cross84172332021-09-14 16:41:33 -07003248 name: "perfetto_protos_perfetto_config_android_lite_gen_headers",
3249 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00003250 ":perfetto_protos_perfetto_common_lite",
3251 ":perfetto_protos_perfetto_config_android_lite",
Colin Cross84172332021-09-14 16:41:33 -07003252 ],
3253 tools: [
3254 "aprotoc",
3255 ],
Spandan Das34f1b982023-10-13 23:24:01 +00003256 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_android_lite)",
Colin Cross84172332021-09-14 16:41:33 -07003257 out: [
Andy Yu2e3c9b62022-05-31 11:23:18 -07003258 "external/perfetto/protos/perfetto/config/android/android_game_intervention_list_config.pb.h",
Prabir Pradhan278f4672024-01-16 21:01:06 +00003259 "external/perfetto/protos/perfetto/config/android/android_input_event_config.pb.h",
Colin Cross84172332021-09-14 16:41:33 -07003260 "external/perfetto/protos/perfetto/config/android/android_log_config.pb.h",
3261 "external/perfetto/protos/perfetto/config/android/android_polled_state_config.pb.h",
Nolan Scobieae5edf02023-04-23 17:23:23 -04003262 "external/perfetto/protos/perfetto/config/android/android_sdk_sysprop_guard_config.pb.h",
Simon MacMullenf0a6b382022-07-06 16:35:55 +00003263 "external/perfetto/protos/perfetto/config/android/android_system_property_config.pb.h",
Ryan Zuklie1c0a5002022-11-18 17:03:37 -08003264 "external/perfetto/protos/perfetto/config/android/network_trace_config.pb.h",
Colin Cross84172332021-09-14 16:41:33 -07003265 "external/perfetto/protos/perfetto/config/android/packages_list_config.pb.h",
Simon MacMullen10715962024-04-18 17:48:47 +00003266 "external/perfetto/protos/perfetto/config/android/pixel_modem_config.pb.h",
Pablo Gamito56893db2023-11-28 16:32:24 +00003267 "external/perfetto/protos/perfetto/config/android/protolog_config.pb.h",
Kean Mariottia977e772023-06-06 08:27:55 +00003268 "external/perfetto/protos/perfetto/config/android/surfaceflinger_layers_config.pb.h",
Kean Mariotti8200d062023-08-02 13:14:10 +00003269 "external/perfetto/protos/perfetto/config/android/surfaceflinger_transactions_config.pb.h",
Kean Mariotti1060a4a2024-06-26 08:01:48 +00003270 "external/perfetto/protos/perfetto/config/android/windowmanager_config.pb.h",
Colin Cross84172332021-09-14 16:41:33 -07003271 ],
3272 export_include_dirs: [
3273 ".",
3274 "protos",
3275 ],
Primiano Tucci70431002019-08-22 17:13:10 +02003276}
3277
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01003278// GN: //protos/perfetto/config/android:zero
Spandan Das34f1b982023-10-13 23:24:01 +00003279filegroup {
3280 name: "perfetto_protos_perfetto_config_android_zero",
Colin Cross84172332021-09-14 16:41:33 -07003281 srcs: [
Andy Yu2e3c9b62022-05-31 11:23:18 -07003282 "protos/perfetto/config/android/android_game_intervention_list_config.proto",
Prabir Pradhan278f4672024-01-16 21:01:06 +00003283 "protos/perfetto/config/android/android_input_event_config.proto",
Colin Cross84172332021-09-14 16:41:33 -07003284 "protos/perfetto/config/android/android_log_config.proto",
3285 "protos/perfetto/config/android/android_polled_state_config.proto",
Nolan Scobieae5edf02023-04-23 17:23:23 -04003286 "protos/perfetto/config/android/android_sdk_sysprop_guard_config.proto",
Simon MacMullenf0a6b382022-07-06 16:35:55 +00003287 "protos/perfetto/config/android/android_system_property_config.proto",
Ryan Zuklie1c0a5002022-11-18 17:03:37 -08003288 "protos/perfetto/config/android/network_trace_config.proto",
Colin Cross84172332021-09-14 16:41:33 -07003289 "protos/perfetto/config/android/packages_list_config.proto",
Simon MacMullen10715962024-04-18 17:48:47 +00003290 "protos/perfetto/config/android/pixel_modem_config.proto",
Pablo Gamito56893db2023-11-28 16:32:24 +00003291 "protos/perfetto/config/android/protolog_config.proto",
Kean Mariottia977e772023-06-06 08:27:55 +00003292 "protos/perfetto/config/android/surfaceflinger_layers_config.proto",
Kean Mariotti8200d062023-08-02 13:14:10 +00003293 "protos/perfetto/config/android/surfaceflinger_transactions_config.proto",
Kean Mariotti1060a4a2024-06-26 08:01:48 +00003294 "protos/perfetto/config/android/windowmanager_config.proto",
Colin Cross84172332021-09-14 16:41:33 -07003295 ],
Spandan Das34f1b982023-10-13 23:24:01 +00003296}
3297
3298// GN: //protos/perfetto/config/android:zero
3299genrule {
3300 name: "perfetto_protos_perfetto_config_android_zero_gen",
3301 srcs: [
3302 ":perfetto_protos_perfetto_common_zero",
3303 ":perfetto_protos_perfetto_config_android_zero",
3304 ],
Colin Cross84172332021-09-14 16:41:33 -07003305 tools: [
3306 "aprotoc",
3307 "protozero_plugin",
3308 ],
Spandan Das34f1b982023-10-13 23:24:01 +00003309 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_android_zero)",
Colin Cross84172332021-09-14 16:41:33 -07003310 out: [
Andy Yu2e3c9b62022-05-31 11:23:18 -07003311 "external/perfetto/protos/perfetto/config/android/android_game_intervention_list_config.pbzero.cc",
Prabir Pradhan278f4672024-01-16 21:01:06 +00003312 "external/perfetto/protos/perfetto/config/android/android_input_event_config.pbzero.cc",
Colin Cross84172332021-09-14 16:41:33 -07003313 "external/perfetto/protos/perfetto/config/android/android_log_config.pbzero.cc",
3314 "external/perfetto/protos/perfetto/config/android/android_polled_state_config.pbzero.cc",
Nolan Scobieae5edf02023-04-23 17:23:23 -04003315 "external/perfetto/protos/perfetto/config/android/android_sdk_sysprop_guard_config.pbzero.cc",
Simon MacMullenf0a6b382022-07-06 16:35:55 +00003316 "external/perfetto/protos/perfetto/config/android/android_system_property_config.pbzero.cc",
Ryan Zuklie1c0a5002022-11-18 17:03:37 -08003317 "external/perfetto/protos/perfetto/config/android/network_trace_config.pbzero.cc",
Colin Cross84172332021-09-14 16:41:33 -07003318 "external/perfetto/protos/perfetto/config/android/packages_list_config.pbzero.cc",
Simon MacMullen10715962024-04-18 17:48:47 +00003319 "external/perfetto/protos/perfetto/config/android/pixel_modem_config.pbzero.cc",
Pablo Gamito56893db2023-11-28 16:32:24 +00003320 "external/perfetto/protos/perfetto/config/android/protolog_config.pbzero.cc",
Kean Mariottia977e772023-06-06 08:27:55 +00003321 "external/perfetto/protos/perfetto/config/android/surfaceflinger_layers_config.pbzero.cc",
Kean Mariotti8200d062023-08-02 13:14:10 +00003322 "external/perfetto/protos/perfetto/config/android/surfaceflinger_transactions_config.pbzero.cc",
Kean Mariotti1060a4a2024-06-26 08:01:48 +00003323 "external/perfetto/protos/perfetto/config/android/windowmanager_config.pbzero.cc",
Colin Cross84172332021-09-14 16:41:33 -07003324 ],
Primiano Tucci70431002019-08-22 17:13:10 +02003325}
3326
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01003327// GN: //protos/perfetto/config/android:zero
Primiano Tucci70431002019-08-22 17:13:10 +02003328genrule {
Colin Cross84172332021-09-14 16:41:33 -07003329 name: "perfetto_protos_perfetto_config_android_zero_gen_headers",
3330 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00003331 ":perfetto_protos_perfetto_common_zero",
3332 ":perfetto_protos_perfetto_config_android_zero",
Colin Cross84172332021-09-14 16:41:33 -07003333 ],
3334 tools: [
3335 "aprotoc",
3336 "protozero_plugin",
3337 ],
Spandan Das34f1b982023-10-13 23:24:01 +00003338 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_android_zero)",
Colin Cross84172332021-09-14 16:41:33 -07003339 out: [
Andy Yu2e3c9b62022-05-31 11:23:18 -07003340 "external/perfetto/protos/perfetto/config/android/android_game_intervention_list_config.pbzero.h",
Prabir Pradhan278f4672024-01-16 21:01:06 +00003341 "external/perfetto/protos/perfetto/config/android/android_input_event_config.pbzero.h",
Colin Cross84172332021-09-14 16:41:33 -07003342 "external/perfetto/protos/perfetto/config/android/android_log_config.pbzero.h",
3343 "external/perfetto/protos/perfetto/config/android/android_polled_state_config.pbzero.h",
Nolan Scobieae5edf02023-04-23 17:23:23 -04003344 "external/perfetto/protos/perfetto/config/android/android_sdk_sysprop_guard_config.pbzero.h",
Simon MacMullenf0a6b382022-07-06 16:35:55 +00003345 "external/perfetto/protos/perfetto/config/android/android_system_property_config.pbzero.h",
Ryan Zuklie1c0a5002022-11-18 17:03:37 -08003346 "external/perfetto/protos/perfetto/config/android/network_trace_config.pbzero.h",
Colin Cross84172332021-09-14 16:41:33 -07003347 "external/perfetto/protos/perfetto/config/android/packages_list_config.pbzero.h",
Simon MacMullen10715962024-04-18 17:48:47 +00003348 "external/perfetto/protos/perfetto/config/android/pixel_modem_config.pbzero.h",
Pablo Gamito56893db2023-11-28 16:32:24 +00003349 "external/perfetto/protos/perfetto/config/android/protolog_config.pbzero.h",
Kean Mariottia977e772023-06-06 08:27:55 +00003350 "external/perfetto/protos/perfetto/config/android/surfaceflinger_layers_config.pbzero.h",
Kean Mariotti8200d062023-08-02 13:14:10 +00003351 "external/perfetto/protos/perfetto/config/android/surfaceflinger_transactions_config.pbzero.h",
Kean Mariotti1060a4a2024-06-26 08:01:48 +00003352 "external/perfetto/protos/perfetto/config/android/windowmanager_config.pbzero.h",
Colin Cross84172332021-09-14 16:41:33 -07003353 ],
3354 export_include_dirs: [
3355 ".",
3356 "protos",
3357 ],
Primiano Tucci70431002019-08-22 17:13:10 +02003358}
3359
Primiano Tucci57dd66b2019-10-15 23:09:04 +01003360// GN: //protos/perfetto/config:cpp
Spandan Das34f1b982023-10-13 23:24:01 +00003361filegroup {
3362 name: "perfetto_protos_perfetto_config_cpp",
Colin Cross84172332021-09-14 16:41:33 -07003363 srcs: [
3364 "protos/perfetto/config/chrome/chrome_config.proto",
Etienne Pierre-dorayd8663352023-02-28 21:24:56 +00003365 "protos/perfetto/config/chrome/scenario_config.proto",
Etienne Pierre-doray0508c942024-10-31 15:38:19 +00003366 "protos/perfetto/config/chrome/system_metrics.proto",
Carlos Caballero856a7092024-01-15 17:27:35 +00003367 "protos/perfetto/config/chrome/v8_config.proto",
Colin Cross84172332021-09-14 16:41:33 -07003368 "protos/perfetto/config/data_source_config.proto",
Etienne Pierre-doray7810a882023-12-20 17:10:41 +00003369 "protos/perfetto/config/etw/etw_config.proto",
Colin Cross84172332021-09-14 16:41:33 -07003370 "protos/perfetto/config/interceptor_config.proto",
3371 "protos/perfetto/config/stress_test_config.proto",
3372 "protos/perfetto/config/test_config.proto",
3373 "protos/perfetto/config/trace_config.proto",
3374 ],
Spandan Das34f1b982023-10-13 23:24:01 +00003375}
3376
3377// GN: //protos/perfetto/config:cpp
3378genrule {
3379 name: "perfetto_protos_perfetto_config_cpp_gen",
3380 srcs: [
3381 ":perfetto_protos_perfetto_common_cpp",
3382 ":perfetto_protos_perfetto_config_android_cpp",
3383 ":perfetto_protos_perfetto_config_cpp",
3384 ":perfetto_protos_perfetto_config_ftrace_cpp",
3385 ":perfetto_protos_perfetto_config_gpu_cpp",
3386 ":perfetto_protos_perfetto_config_inode_file_cpp",
3387 ":perfetto_protos_perfetto_config_interceptors_cpp",
3388 ":perfetto_protos_perfetto_config_power_cpp",
3389 ":perfetto_protos_perfetto_config_process_stats_cpp",
3390 ":perfetto_protos_perfetto_config_profiling_cpp",
3391 ":perfetto_protos_perfetto_config_statsd_cpp",
3392 ":perfetto_protos_perfetto_config_sys_stats_cpp",
3393 ":perfetto_protos_perfetto_config_system_info_cpp",
3394 ":perfetto_protos_perfetto_config_track_event_cpp",
3395 ],
Colin Cross84172332021-09-14 16:41:33 -07003396 tools: [
3397 "aprotoc",
3398 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
3399 ],
Spandan Das34f1b982023-10-13 23:24:01 +00003400 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_cpp)",
Colin Cross84172332021-09-14 16:41:33 -07003401 out: [
3402 "external/perfetto/protos/perfetto/config/chrome/chrome_config.gen.cc",
Etienne Pierre-dorayd8663352023-02-28 21:24:56 +00003403 "external/perfetto/protos/perfetto/config/chrome/scenario_config.gen.cc",
Etienne Pierre-doray0508c942024-10-31 15:38:19 +00003404 "external/perfetto/protos/perfetto/config/chrome/system_metrics.gen.cc",
Carlos Caballero856a7092024-01-15 17:27:35 +00003405 "external/perfetto/protos/perfetto/config/chrome/v8_config.gen.cc",
Colin Cross84172332021-09-14 16:41:33 -07003406 "external/perfetto/protos/perfetto/config/data_source_config.gen.cc",
Etienne Pierre-doray7810a882023-12-20 17:10:41 +00003407 "external/perfetto/protos/perfetto/config/etw/etw_config.gen.cc",
Colin Cross84172332021-09-14 16:41:33 -07003408 "external/perfetto/protos/perfetto/config/interceptor_config.gen.cc",
3409 "external/perfetto/protos/perfetto/config/stress_test_config.gen.cc",
3410 "external/perfetto/protos/perfetto/config/test_config.gen.cc",
3411 "external/perfetto/protos/perfetto/config/trace_config.gen.cc",
3412 ],
Primiano Tucci57dd66b2019-10-15 23:09:04 +01003413}
3414
3415// GN: //protos/perfetto/config:cpp
3416genrule {
Colin Cross84172332021-09-14 16:41:33 -07003417 name: "perfetto_protos_perfetto_config_cpp_gen_headers",
3418 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00003419 ":perfetto_protos_perfetto_common_cpp",
3420 ":perfetto_protos_perfetto_config_android_cpp",
3421 ":perfetto_protos_perfetto_config_cpp",
3422 ":perfetto_protos_perfetto_config_ftrace_cpp",
3423 ":perfetto_protos_perfetto_config_gpu_cpp",
3424 ":perfetto_protos_perfetto_config_inode_file_cpp",
3425 ":perfetto_protos_perfetto_config_interceptors_cpp",
3426 ":perfetto_protos_perfetto_config_power_cpp",
3427 ":perfetto_protos_perfetto_config_process_stats_cpp",
3428 ":perfetto_protos_perfetto_config_profiling_cpp",
3429 ":perfetto_protos_perfetto_config_statsd_cpp",
3430 ":perfetto_protos_perfetto_config_sys_stats_cpp",
3431 ":perfetto_protos_perfetto_config_system_info_cpp",
3432 ":perfetto_protos_perfetto_config_track_event_cpp",
Colin Cross84172332021-09-14 16:41:33 -07003433 ],
3434 tools: [
3435 "aprotoc",
3436 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
3437 ],
Spandan Das34f1b982023-10-13 23:24:01 +00003438 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_cpp)",
Colin Cross84172332021-09-14 16:41:33 -07003439 out: [
3440 "external/perfetto/protos/perfetto/config/chrome/chrome_config.gen.h",
Etienne Pierre-dorayd8663352023-02-28 21:24:56 +00003441 "external/perfetto/protos/perfetto/config/chrome/scenario_config.gen.h",
Etienne Pierre-doray0508c942024-10-31 15:38:19 +00003442 "external/perfetto/protos/perfetto/config/chrome/system_metrics.gen.h",
Carlos Caballero856a7092024-01-15 17:27:35 +00003443 "external/perfetto/protos/perfetto/config/chrome/v8_config.gen.h",
Colin Cross84172332021-09-14 16:41:33 -07003444 "external/perfetto/protos/perfetto/config/data_source_config.gen.h",
Etienne Pierre-doray7810a882023-12-20 17:10:41 +00003445 "external/perfetto/protos/perfetto/config/etw/etw_config.gen.h",
Colin Cross84172332021-09-14 16:41:33 -07003446 "external/perfetto/protos/perfetto/config/interceptor_config.gen.h",
3447 "external/perfetto/protos/perfetto/config/stress_test_config.gen.h",
3448 "external/perfetto/protos/perfetto/config/test_config.gen.h",
3449 "external/perfetto/protos/perfetto/config/trace_config.gen.h",
3450 ],
3451 export_include_dirs: [
3452 ".",
3453 "protos",
3454 ],
Primiano Tucci57dd66b2019-10-15 23:09:04 +01003455}
3456
Hector Dearmana1d75242020-10-02 09:47:24 +01003457// GN: //protos/perfetto/config:descriptor
3458genrule {
Colin Cross84172332021-09-14 16:41:33 -07003459 name: "perfetto_protos_perfetto_config_descriptor",
3460 srcs: [
3461 "protos/perfetto/common/android_energy_consumer_descriptor.proto",
3462 "protos/perfetto/common/android_log_constants.proto",
3463 "protos/perfetto/common/builtin_clock.proto",
3464 "protos/perfetto/common/commit_data_request.proto",
3465 "protos/perfetto/common/data_source_descriptor.proto",
3466 "protos/perfetto/common/descriptor.proto",
Daniele Di Proietto97c33812022-02-21 13:49:52 +00003467 "protos/perfetto/common/ftrace_descriptor.proto",
Colin Cross84172332021-09-14 16:41:33 -07003468 "protos/perfetto/common/gpu_counter_descriptor.proto",
3469 "protos/perfetto/common/interceptor_descriptor.proto",
3470 "protos/perfetto/common/observable_events.proto",
3471 "protos/perfetto/common/perf_events.proto",
Pablo Gamito56893db2023-11-28 16:32:24 +00003472 "protos/perfetto/common/protolog_common.proto",
Colin Cross84172332021-09-14 16:41:33 -07003473 "protos/perfetto/common/sys_stats_counters.proto",
3474 "protos/perfetto/common/trace_stats.proto",
3475 "protos/perfetto/common/tracing_service_capabilities.proto",
3476 "protos/perfetto/common/tracing_service_state.proto",
3477 "protos/perfetto/common/track_event_descriptor.proto",
Andy Yu2e3c9b62022-05-31 11:23:18 -07003478 "protos/perfetto/config/android/android_game_intervention_list_config.proto",
Prabir Pradhan278f4672024-01-16 21:01:06 +00003479 "protos/perfetto/config/android/android_input_event_config.proto",
Colin Cross84172332021-09-14 16:41:33 -07003480 "protos/perfetto/config/android/android_log_config.proto",
3481 "protos/perfetto/config/android/android_polled_state_config.proto",
Nolan Scobieae5edf02023-04-23 17:23:23 -04003482 "protos/perfetto/config/android/android_sdk_sysprop_guard_config.proto",
Simon MacMullenf0a6b382022-07-06 16:35:55 +00003483 "protos/perfetto/config/android/android_system_property_config.proto",
Ryan Zuklie1c0a5002022-11-18 17:03:37 -08003484 "protos/perfetto/config/android/network_trace_config.proto",
Colin Cross84172332021-09-14 16:41:33 -07003485 "protos/perfetto/config/android/packages_list_config.proto",
Simon MacMullen10715962024-04-18 17:48:47 +00003486 "protos/perfetto/config/android/pixel_modem_config.proto",
Pablo Gamito56893db2023-11-28 16:32:24 +00003487 "protos/perfetto/config/android/protolog_config.proto",
Kean Mariottia977e772023-06-06 08:27:55 +00003488 "protos/perfetto/config/android/surfaceflinger_layers_config.proto",
Kean Mariotti8200d062023-08-02 13:14:10 +00003489 "protos/perfetto/config/android/surfaceflinger_transactions_config.proto",
Kean Mariotti1060a4a2024-06-26 08:01:48 +00003490 "protos/perfetto/config/android/windowmanager_config.proto",
Colin Cross84172332021-09-14 16:41:33 -07003491 "protos/perfetto/config/chrome/chrome_config.proto",
Etienne Pierre-dorayd8663352023-02-28 21:24:56 +00003492 "protos/perfetto/config/chrome/scenario_config.proto",
Etienne Pierre-doray0508c942024-10-31 15:38:19 +00003493 "protos/perfetto/config/chrome/system_metrics.proto",
Carlos Caballero856a7092024-01-15 17:27:35 +00003494 "protos/perfetto/config/chrome/v8_config.proto",
Colin Cross84172332021-09-14 16:41:33 -07003495 "protos/perfetto/config/data_source_config.proto",
Alex Attar40214472023-11-27 10:59:52 -05003496 "protos/perfetto/config/etw/etw_config.proto",
Colin Cross84172332021-09-14 16:41:33 -07003497 "protos/perfetto/config/ftrace/ftrace_config.proto",
3498 "protos/perfetto/config/gpu/gpu_counter_config.proto",
3499 "protos/perfetto/config/gpu/vulkan_memory_config.proto",
3500 "protos/perfetto/config/inode_file/inode_file_config.proto",
3501 "protos/perfetto/config/interceptor_config.proto",
3502 "protos/perfetto/config/interceptors/console_config.proto",
3503 "protos/perfetto/config/power/android_power_config.proto",
3504 "protos/perfetto/config/process_stats/process_stats_config.proto",
3505 "protos/perfetto/config/profiling/heapprofd_config.proto",
3506 "protos/perfetto/config/profiling/java_hprof_config.proto",
3507 "protos/perfetto/config/profiling/perf_event_config.proto",
Hector Dearman5974de02022-06-23 15:31:40 +01003508 "protos/perfetto/config/statsd/atom_ids.proto",
3509 "protos/perfetto/config/statsd/statsd_tracing_config.proto",
Colin Cross84172332021-09-14 16:41:33 -07003510 "protos/perfetto/config/stress_test_config.proto",
3511 "protos/perfetto/config/sys_stats/sys_stats_config.proto",
Hector Dearman48047d12022-08-02 14:00:46 +01003512 "protos/perfetto/config/system_info/system_info.proto",
Colin Cross84172332021-09-14 16:41:33 -07003513 "protos/perfetto/config/test_config.proto",
3514 "protos/perfetto/config/trace_config.proto",
3515 "protos/perfetto/config/track_event/track_event_config.proto",
3516 ],
3517 tools: [
3518 "aprotoc",
3519 ],
3520 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --descriptor_set_out=$(out) $(in)",
3521 out: [
3522 "perfetto_protos_perfetto_config_descriptor.bin",
3523 ],
Hector Dearmana1d75242020-10-02 09:47:24 +01003524}
3525
Primiano Tucci57dd66b2019-10-15 23:09:04 +01003526// GN: //protos/perfetto/config/ftrace:cpp
Spandan Das34f1b982023-10-13 23:24:01 +00003527filegroup {
3528 name: "perfetto_protos_perfetto_config_ftrace_cpp",
3529 srcs: [
3530 "protos/perfetto/config/ftrace/ftrace_config.proto",
3531 ],
3532}
3533
3534// GN: //protos/perfetto/config/ftrace:cpp
Primiano Tucci57dd66b2019-10-15 23:09:04 +01003535genrule {
Colin Cross84172332021-09-14 16:41:33 -07003536 name: "perfetto_protos_perfetto_config_ftrace_cpp_gen",
3537 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00003538 ":perfetto_protos_perfetto_config_ftrace_cpp",
Colin Cross84172332021-09-14 16:41:33 -07003539 ],
3540 tools: [
3541 "aprotoc",
3542 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
3543 ],
Spandan Das34f1b982023-10-13 23:24:01 +00003544 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_ftrace_cpp)",
Colin Cross84172332021-09-14 16:41:33 -07003545 out: [
3546 "external/perfetto/protos/perfetto/config/ftrace/ftrace_config.gen.cc",
3547 ],
Primiano Tucci57dd66b2019-10-15 23:09:04 +01003548}
3549
3550// GN: //protos/perfetto/config/ftrace:cpp
3551genrule {
Colin Cross84172332021-09-14 16:41:33 -07003552 name: "perfetto_protos_perfetto_config_ftrace_cpp_gen_headers",
3553 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00003554 ":perfetto_protos_perfetto_config_ftrace_cpp",
Colin Cross84172332021-09-14 16:41:33 -07003555 ],
3556 tools: [
3557 "aprotoc",
3558 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
3559 ],
Spandan Das34f1b982023-10-13 23:24:01 +00003560 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_ftrace_cpp)",
Colin Cross84172332021-09-14 16:41:33 -07003561 out: [
3562 "external/perfetto/protos/perfetto/config/ftrace/ftrace_config.gen.h",
3563 ],
3564 export_include_dirs: [
3565 ".",
3566 "protos",
3567 ],
Primiano Tucci57dd66b2019-10-15 23:09:04 +01003568}
3569
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01003570// GN: //protos/perfetto/config/ftrace:lite
Spandan Das34f1b982023-10-13 23:24:01 +00003571filegroup {
3572 name: "perfetto_protos_perfetto_config_ftrace_lite",
3573 srcs: [
3574 "protos/perfetto/config/ftrace/ftrace_config.proto",
3575 ],
3576}
3577
3578// GN: //protos/perfetto/config/ftrace:lite
Primiano Tucci70431002019-08-22 17:13:10 +02003579genrule {
Colin Cross84172332021-09-14 16:41:33 -07003580 name: "perfetto_protos_perfetto_config_ftrace_lite_gen",
3581 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00003582 ":perfetto_protos_perfetto_config_ftrace_lite",
Colin Cross84172332021-09-14 16:41:33 -07003583 ],
3584 tools: [
3585 "aprotoc",
3586 ],
Spandan Das34f1b982023-10-13 23:24:01 +00003587 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_ftrace_lite)",
Colin Cross84172332021-09-14 16:41:33 -07003588 out: [
3589 "external/perfetto/protos/perfetto/config/ftrace/ftrace_config.pb.cc",
3590 ],
Primiano Tucci70431002019-08-22 17:13:10 +02003591}
3592
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01003593// GN: //protos/perfetto/config/ftrace:lite
Primiano Tucci70431002019-08-22 17:13:10 +02003594genrule {
Colin Cross84172332021-09-14 16:41:33 -07003595 name: "perfetto_protos_perfetto_config_ftrace_lite_gen_headers",
3596 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00003597 ":perfetto_protos_perfetto_config_ftrace_lite",
Colin Cross84172332021-09-14 16:41:33 -07003598 ],
3599 tools: [
3600 "aprotoc",
3601 ],
Spandan Das34f1b982023-10-13 23:24:01 +00003602 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_ftrace_lite)",
Colin Cross84172332021-09-14 16:41:33 -07003603 out: [
3604 "external/perfetto/protos/perfetto/config/ftrace/ftrace_config.pb.h",
3605 ],
3606 export_include_dirs: [
3607 ".",
3608 "protos",
3609 ],
Primiano Tucci70431002019-08-22 17:13:10 +02003610}
3611
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01003612// GN: //protos/perfetto/config/ftrace:zero
Spandan Das34f1b982023-10-13 23:24:01 +00003613filegroup {
3614 name: "perfetto_protos_perfetto_config_ftrace_zero",
3615 srcs: [
3616 "protos/perfetto/config/ftrace/ftrace_config.proto",
3617 ],
3618}
3619
3620// GN: //protos/perfetto/config/ftrace:zero
Primiano Tucci70431002019-08-22 17:13:10 +02003621genrule {
Colin Cross84172332021-09-14 16:41:33 -07003622 name: "perfetto_protos_perfetto_config_ftrace_zero_gen",
3623 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00003624 ":perfetto_protos_perfetto_config_ftrace_zero",
Colin Cross84172332021-09-14 16:41:33 -07003625 ],
3626 tools: [
3627 "aprotoc",
3628 "protozero_plugin",
3629 ],
Spandan Das34f1b982023-10-13 23:24:01 +00003630 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_ftrace_zero)",
Colin Cross84172332021-09-14 16:41:33 -07003631 out: [
3632 "external/perfetto/protos/perfetto/config/ftrace/ftrace_config.pbzero.cc",
3633 ],
Primiano Tucci70431002019-08-22 17:13:10 +02003634}
3635
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01003636// GN: //protos/perfetto/config/ftrace:zero
Primiano Tucci70431002019-08-22 17:13:10 +02003637genrule {
Colin Cross84172332021-09-14 16:41:33 -07003638 name: "perfetto_protos_perfetto_config_ftrace_zero_gen_headers",
3639 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00003640 ":perfetto_protos_perfetto_config_ftrace_zero",
Colin Cross84172332021-09-14 16:41:33 -07003641 ],
3642 tools: [
3643 "aprotoc",
3644 "protozero_plugin",
3645 ],
Spandan Das34f1b982023-10-13 23:24:01 +00003646 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_ftrace_zero)",
Colin Cross84172332021-09-14 16:41:33 -07003647 out: [
3648 "external/perfetto/protos/perfetto/config/ftrace/ftrace_config.pbzero.h",
3649 ],
3650 export_include_dirs: [
3651 ".",
3652 "protos",
3653 ],
Primiano Tucci70431002019-08-22 17:13:10 +02003654}
3655
Primiano Tucci57dd66b2019-10-15 23:09:04 +01003656// GN: //protos/perfetto/config/gpu:cpp
Spandan Das34f1b982023-10-13 23:24:01 +00003657filegroup {
3658 name: "perfetto_protos_perfetto_config_gpu_cpp",
Colin Cross84172332021-09-14 16:41:33 -07003659 srcs: [
3660 "protos/perfetto/config/gpu/gpu_counter_config.proto",
3661 "protos/perfetto/config/gpu/vulkan_memory_config.proto",
3662 ],
Spandan Das34f1b982023-10-13 23:24:01 +00003663}
3664
3665// GN: //protos/perfetto/config/gpu:cpp
3666genrule {
3667 name: "perfetto_protos_perfetto_config_gpu_cpp_gen",
3668 srcs: [
3669 ":perfetto_protos_perfetto_config_gpu_cpp",
3670 ],
Colin Cross84172332021-09-14 16:41:33 -07003671 tools: [
3672 "aprotoc",
3673 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
3674 ],
Spandan Das34f1b982023-10-13 23:24:01 +00003675 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_gpu_cpp)",
Colin Cross84172332021-09-14 16:41:33 -07003676 out: [
3677 "external/perfetto/protos/perfetto/config/gpu/gpu_counter_config.gen.cc",
3678 "external/perfetto/protos/perfetto/config/gpu/vulkan_memory_config.gen.cc",
3679 ],
Primiano Tucci57dd66b2019-10-15 23:09:04 +01003680}
3681
3682// GN: //protos/perfetto/config/gpu:cpp
3683genrule {
Colin Cross84172332021-09-14 16:41:33 -07003684 name: "perfetto_protos_perfetto_config_gpu_cpp_gen_headers",
3685 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00003686 ":perfetto_protos_perfetto_config_gpu_cpp",
Colin Cross84172332021-09-14 16:41:33 -07003687 ],
3688 tools: [
3689 "aprotoc",
3690 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
3691 ],
Spandan Das34f1b982023-10-13 23:24:01 +00003692 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_gpu_cpp)",
Colin Cross84172332021-09-14 16:41:33 -07003693 out: [
3694 "external/perfetto/protos/perfetto/config/gpu/gpu_counter_config.gen.h",
3695 "external/perfetto/protos/perfetto/config/gpu/vulkan_memory_config.gen.h",
3696 ],
3697 export_include_dirs: [
3698 ".",
3699 "protos",
3700 ],
Primiano Tucci57dd66b2019-10-15 23:09:04 +01003701}
3702
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01003703// GN: //protos/perfetto/config/gpu:lite
Spandan Das34f1b982023-10-13 23:24:01 +00003704filegroup {
3705 name: "perfetto_protos_perfetto_config_gpu_lite",
Colin Cross84172332021-09-14 16:41:33 -07003706 srcs: [
3707 "protos/perfetto/config/gpu/gpu_counter_config.proto",
3708 "protos/perfetto/config/gpu/vulkan_memory_config.proto",
3709 ],
Spandan Das34f1b982023-10-13 23:24:01 +00003710}
3711
3712// GN: //protos/perfetto/config/gpu:lite
3713genrule {
3714 name: "perfetto_protos_perfetto_config_gpu_lite_gen",
3715 srcs: [
3716 ":perfetto_protos_perfetto_config_gpu_lite",
3717 ],
Colin Cross84172332021-09-14 16:41:33 -07003718 tools: [
3719 "aprotoc",
3720 ],
Spandan Das34f1b982023-10-13 23:24:01 +00003721 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_gpu_lite)",
Colin Cross84172332021-09-14 16:41:33 -07003722 out: [
3723 "external/perfetto/protos/perfetto/config/gpu/gpu_counter_config.pb.cc",
3724 "external/perfetto/protos/perfetto/config/gpu/vulkan_memory_config.pb.cc",
3725 ],
Primiano Tucci70431002019-08-22 17:13:10 +02003726}
3727
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01003728// GN: //protos/perfetto/config/gpu:lite
Primiano Tucci70431002019-08-22 17:13:10 +02003729genrule {
Colin Cross84172332021-09-14 16:41:33 -07003730 name: "perfetto_protos_perfetto_config_gpu_lite_gen_headers",
3731 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00003732 ":perfetto_protos_perfetto_config_gpu_lite",
Colin Cross84172332021-09-14 16:41:33 -07003733 ],
3734 tools: [
3735 "aprotoc",
3736 ],
Spandan Das34f1b982023-10-13 23:24:01 +00003737 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_gpu_lite)",
Colin Cross84172332021-09-14 16:41:33 -07003738 out: [
3739 "external/perfetto/protos/perfetto/config/gpu/gpu_counter_config.pb.h",
3740 "external/perfetto/protos/perfetto/config/gpu/vulkan_memory_config.pb.h",
3741 ],
3742 export_include_dirs: [
3743 ".",
3744 "protos",
3745 ],
Primiano Tucci70431002019-08-22 17:13:10 +02003746}
3747
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01003748// GN: //protos/perfetto/config/gpu:zero
Spandan Das34f1b982023-10-13 23:24:01 +00003749filegroup {
3750 name: "perfetto_protos_perfetto_config_gpu_zero",
Colin Cross84172332021-09-14 16:41:33 -07003751 srcs: [
3752 "protos/perfetto/config/gpu/gpu_counter_config.proto",
3753 "protos/perfetto/config/gpu/vulkan_memory_config.proto",
3754 ],
Spandan Das34f1b982023-10-13 23:24:01 +00003755}
3756
3757// GN: //protos/perfetto/config/gpu:zero
3758genrule {
3759 name: "perfetto_protos_perfetto_config_gpu_zero_gen",
3760 srcs: [
3761 ":perfetto_protos_perfetto_config_gpu_zero",
3762 ],
Colin Cross84172332021-09-14 16:41:33 -07003763 tools: [
3764 "aprotoc",
3765 "protozero_plugin",
3766 ],
Spandan Das34f1b982023-10-13 23:24:01 +00003767 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_gpu_zero)",
Colin Cross84172332021-09-14 16:41:33 -07003768 out: [
3769 "external/perfetto/protos/perfetto/config/gpu/gpu_counter_config.pbzero.cc",
3770 "external/perfetto/protos/perfetto/config/gpu/vulkan_memory_config.pbzero.cc",
3771 ],
Primiano Tucci70431002019-08-22 17:13:10 +02003772}
3773
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01003774// GN: //protos/perfetto/config/gpu:zero
Primiano Tucci70431002019-08-22 17:13:10 +02003775genrule {
Colin Cross84172332021-09-14 16:41:33 -07003776 name: "perfetto_protos_perfetto_config_gpu_zero_gen_headers",
3777 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00003778 ":perfetto_protos_perfetto_config_gpu_zero",
Colin Cross84172332021-09-14 16:41:33 -07003779 ],
3780 tools: [
3781 "aprotoc",
3782 "protozero_plugin",
3783 ],
Spandan Das34f1b982023-10-13 23:24:01 +00003784 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_gpu_zero)",
Colin Cross84172332021-09-14 16:41:33 -07003785 out: [
3786 "external/perfetto/protos/perfetto/config/gpu/gpu_counter_config.pbzero.h",
3787 "external/perfetto/protos/perfetto/config/gpu/vulkan_memory_config.pbzero.h",
3788 ],
3789 export_include_dirs: [
3790 ".",
3791 "protos",
3792 ],
Primiano Tucci70431002019-08-22 17:13:10 +02003793}
3794
Primiano Tucci57dd66b2019-10-15 23:09:04 +01003795// GN: //protos/perfetto/config/inode_file:cpp
Spandan Das34f1b982023-10-13 23:24:01 +00003796filegroup {
3797 name: "perfetto_protos_perfetto_config_inode_file_cpp",
3798 srcs: [
3799 "protos/perfetto/config/inode_file/inode_file_config.proto",
3800 ],
3801}
3802
3803// GN: //protos/perfetto/config/inode_file:cpp
Primiano Tucci57dd66b2019-10-15 23:09:04 +01003804genrule {
Colin Cross84172332021-09-14 16:41:33 -07003805 name: "perfetto_protos_perfetto_config_inode_file_cpp_gen",
3806 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00003807 ":perfetto_protos_perfetto_config_inode_file_cpp",
Colin Cross84172332021-09-14 16:41:33 -07003808 ],
3809 tools: [
3810 "aprotoc",
3811 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
3812 ],
Spandan Das34f1b982023-10-13 23:24:01 +00003813 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_inode_file_cpp)",
Colin Cross84172332021-09-14 16:41:33 -07003814 out: [
3815 "external/perfetto/protos/perfetto/config/inode_file/inode_file_config.gen.cc",
3816 ],
Primiano Tucci57dd66b2019-10-15 23:09:04 +01003817}
3818
3819// GN: //protos/perfetto/config/inode_file:cpp
3820genrule {
Colin Cross84172332021-09-14 16:41:33 -07003821 name: "perfetto_protos_perfetto_config_inode_file_cpp_gen_headers",
3822 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00003823 ":perfetto_protos_perfetto_config_inode_file_cpp",
Colin Cross84172332021-09-14 16:41:33 -07003824 ],
3825 tools: [
3826 "aprotoc",
3827 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
3828 ],
Spandan Das34f1b982023-10-13 23:24:01 +00003829 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_inode_file_cpp)",
Colin Cross84172332021-09-14 16:41:33 -07003830 out: [
3831 "external/perfetto/protos/perfetto/config/inode_file/inode_file_config.gen.h",
3832 ],
3833 export_include_dirs: [
3834 ".",
3835 "protos",
3836 ],
Primiano Tucci57dd66b2019-10-15 23:09:04 +01003837}
3838
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01003839// GN: //protos/perfetto/config/inode_file:lite
Spandan Das34f1b982023-10-13 23:24:01 +00003840filegroup {
3841 name: "perfetto_protos_perfetto_config_inode_file_lite",
3842 srcs: [
3843 "protos/perfetto/config/inode_file/inode_file_config.proto",
3844 ],
3845}
3846
3847// GN: //protos/perfetto/config/inode_file:lite
Primiano Tucci70431002019-08-22 17:13:10 +02003848genrule {
Colin Cross84172332021-09-14 16:41:33 -07003849 name: "perfetto_protos_perfetto_config_inode_file_lite_gen",
3850 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00003851 ":perfetto_protos_perfetto_config_inode_file_lite",
Colin Cross84172332021-09-14 16:41:33 -07003852 ],
3853 tools: [
3854 "aprotoc",
3855 ],
Spandan Das34f1b982023-10-13 23:24:01 +00003856 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_inode_file_lite)",
Colin Cross84172332021-09-14 16:41:33 -07003857 out: [
3858 "external/perfetto/protos/perfetto/config/inode_file/inode_file_config.pb.cc",
3859 ],
Primiano Tucci70431002019-08-22 17:13:10 +02003860}
3861
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01003862// GN: //protos/perfetto/config/inode_file:lite
Primiano Tucci70431002019-08-22 17:13:10 +02003863genrule {
Colin Cross84172332021-09-14 16:41:33 -07003864 name: "perfetto_protos_perfetto_config_inode_file_lite_gen_headers",
3865 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00003866 ":perfetto_protos_perfetto_config_inode_file_lite",
Colin Cross84172332021-09-14 16:41:33 -07003867 ],
3868 tools: [
3869 "aprotoc",
3870 ],
Spandan Das34f1b982023-10-13 23:24:01 +00003871 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_inode_file_lite)",
Colin Cross84172332021-09-14 16:41:33 -07003872 out: [
3873 "external/perfetto/protos/perfetto/config/inode_file/inode_file_config.pb.h",
3874 ],
3875 export_include_dirs: [
3876 ".",
3877 "protos",
3878 ],
Primiano Tucci70431002019-08-22 17:13:10 +02003879}
3880
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01003881// GN: //protos/perfetto/config/inode_file:zero
Spandan Das34f1b982023-10-13 23:24:01 +00003882filegroup {
3883 name: "perfetto_protos_perfetto_config_inode_file_zero",
3884 srcs: [
3885 "protos/perfetto/config/inode_file/inode_file_config.proto",
3886 ],
3887}
3888
3889// GN: //protos/perfetto/config/inode_file:zero
Primiano Tucci70431002019-08-22 17:13:10 +02003890genrule {
Colin Cross84172332021-09-14 16:41:33 -07003891 name: "perfetto_protos_perfetto_config_inode_file_zero_gen",
3892 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00003893 ":perfetto_protos_perfetto_config_inode_file_zero",
Colin Cross84172332021-09-14 16:41:33 -07003894 ],
3895 tools: [
3896 "aprotoc",
3897 "protozero_plugin",
3898 ],
Spandan Das34f1b982023-10-13 23:24:01 +00003899 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_inode_file_zero)",
Colin Cross84172332021-09-14 16:41:33 -07003900 out: [
3901 "external/perfetto/protos/perfetto/config/inode_file/inode_file_config.pbzero.cc",
3902 ],
Primiano Tucci70431002019-08-22 17:13:10 +02003903}
3904
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01003905// GN: //protos/perfetto/config/inode_file:zero
Primiano Tucci70431002019-08-22 17:13:10 +02003906genrule {
Colin Cross84172332021-09-14 16:41:33 -07003907 name: "perfetto_protos_perfetto_config_inode_file_zero_gen_headers",
3908 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00003909 ":perfetto_protos_perfetto_config_inode_file_zero",
Colin Cross84172332021-09-14 16:41:33 -07003910 ],
3911 tools: [
3912 "aprotoc",
3913 "protozero_plugin",
3914 ],
Spandan Das34f1b982023-10-13 23:24:01 +00003915 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_inode_file_zero)",
Colin Cross84172332021-09-14 16:41:33 -07003916 out: [
3917 "external/perfetto/protos/perfetto/config/inode_file/inode_file_config.pbzero.h",
3918 ],
3919 export_include_dirs: [
3920 ".",
3921 "protos",
3922 ],
Primiano Tucci70431002019-08-22 17:13:10 +02003923}
3924
Sami Kyostiladd1cfd72020-12-14 15:48:25 +00003925// GN: //protos/perfetto/config/interceptors:cpp
Spandan Das34f1b982023-10-13 23:24:01 +00003926filegroup {
3927 name: "perfetto_protos_perfetto_config_interceptors_cpp",
3928 srcs: [
3929 "protos/perfetto/config/interceptors/console_config.proto",
3930 ],
3931}
3932
3933// GN: //protos/perfetto/config/interceptors:cpp
Sami Kyostiladd1cfd72020-12-14 15:48:25 +00003934genrule {
Colin Cross84172332021-09-14 16:41:33 -07003935 name: "perfetto_protos_perfetto_config_interceptors_cpp_gen",
3936 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00003937 ":perfetto_protos_perfetto_common_cpp",
3938 ":perfetto_protos_perfetto_config_interceptors_cpp",
Colin Cross84172332021-09-14 16:41:33 -07003939 ],
3940 tools: [
3941 "aprotoc",
3942 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
3943 ],
Spandan Das34f1b982023-10-13 23:24:01 +00003944 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_interceptors_cpp)",
Colin Cross84172332021-09-14 16:41:33 -07003945 out: [
3946 "external/perfetto/protos/perfetto/config/interceptors/console_config.gen.cc",
3947 ],
Sami Kyostiladd1cfd72020-12-14 15:48:25 +00003948}
3949
3950// GN: //protos/perfetto/config/interceptors:cpp
3951genrule {
Colin Cross84172332021-09-14 16:41:33 -07003952 name: "perfetto_protos_perfetto_config_interceptors_cpp_gen_headers",
3953 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00003954 ":perfetto_protos_perfetto_common_cpp",
3955 ":perfetto_protos_perfetto_config_interceptors_cpp",
Colin Cross84172332021-09-14 16:41:33 -07003956 ],
3957 tools: [
3958 "aprotoc",
3959 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
3960 ],
Spandan Das34f1b982023-10-13 23:24:01 +00003961 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_interceptors_cpp)",
Colin Cross84172332021-09-14 16:41:33 -07003962 out: [
3963 "external/perfetto/protos/perfetto/config/interceptors/console_config.gen.h",
3964 ],
3965 export_include_dirs: [
3966 ".",
3967 "protos",
3968 ],
Sami Kyostiladd1cfd72020-12-14 15:48:25 +00003969}
3970
3971// GN: //protos/perfetto/config/interceptors:lite
Spandan Das34f1b982023-10-13 23:24:01 +00003972filegroup {
3973 name: "perfetto_protos_perfetto_config_interceptors_lite",
3974 srcs: [
3975 "protos/perfetto/config/interceptors/console_config.proto",
3976 ],
3977}
3978
3979// GN: //protos/perfetto/config/interceptors:lite
Sami Kyostiladd1cfd72020-12-14 15:48:25 +00003980genrule {
Colin Cross84172332021-09-14 16:41:33 -07003981 name: "perfetto_protos_perfetto_config_interceptors_lite_gen",
3982 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00003983 ":perfetto_protos_perfetto_common_lite",
3984 ":perfetto_protos_perfetto_config_interceptors_lite",
Colin Cross84172332021-09-14 16:41:33 -07003985 ],
3986 tools: [
3987 "aprotoc",
3988 ],
Spandan Das34f1b982023-10-13 23:24:01 +00003989 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_interceptors_lite)",
Colin Cross84172332021-09-14 16:41:33 -07003990 out: [
3991 "external/perfetto/protos/perfetto/config/interceptors/console_config.pb.cc",
3992 ],
Sami Kyostiladd1cfd72020-12-14 15:48:25 +00003993}
3994
3995// GN: //protos/perfetto/config/interceptors:lite
3996genrule {
Colin Cross84172332021-09-14 16:41:33 -07003997 name: "perfetto_protos_perfetto_config_interceptors_lite_gen_headers",
3998 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00003999 ":perfetto_protos_perfetto_common_lite",
4000 ":perfetto_protos_perfetto_config_interceptors_lite",
Colin Cross84172332021-09-14 16:41:33 -07004001 ],
4002 tools: [
4003 "aprotoc",
4004 ],
Spandan Das34f1b982023-10-13 23:24:01 +00004005 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_interceptors_lite)",
Colin Cross84172332021-09-14 16:41:33 -07004006 out: [
4007 "external/perfetto/protos/perfetto/config/interceptors/console_config.pb.h",
4008 ],
4009 export_include_dirs: [
4010 ".",
4011 "protos",
4012 ],
Sami Kyostiladd1cfd72020-12-14 15:48:25 +00004013}
4014
4015// GN: //protos/perfetto/config/interceptors:zero
Spandan Das34f1b982023-10-13 23:24:01 +00004016filegroup {
4017 name: "perfetto_protos_perfetto_config_interceptors_zero",
4018 srcs: [
4019 "protos/perfetto/config/interceptors/console_config.proto",
4020 ],
4021}
4022
4023// GN: //protos/perfetto/config/interceptors:zero
Sami Kyostiladd1cfd72020-12-14 15:48:25 +00004024genrule {
Colin Cross84172332021-09-14 16:41:33 -07004025 name: "perfetto_protos_perfetto_config_interceptors_zero_gen",
4026 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00004027 ":perfetto_protos_perfetto_common_zero",
4028 ":perfetto_protos_perfetto_config_interceptors_zero",
Colin Cross84172332021-09-14 16:41:33 -07004029 ],
4030 tools: [
4031 "aprotoc",
4032 "protozero_plugin",
4033 ],
Spandan Das34f1b982023-10-13 23:24:01 +00004034 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_interceptors_zero)",
Colin Cross84172332021-09-14 16:41:33 -07004035 out: [
4036 "external/perfetto/protos/perfetto/config/interceptors/console_config.pbzero.cc",
4037 ],
Sami Kyostiladd1cfd72020-12-14 15:48:25 +00004038}
4039
4040// GN: //protos/perfetto/config/interceptors:zero
4041genrule {
Colin Cross84172332021-09-14 16:41:33 -07004042 name: "perfetto_protos_perfetto_config_interceptors_zero_gen_headers",
4043 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00004044 ":perfetto_protos_perfetto_common_zero",
4045 ":perfetto_protos_perfetto_config_interceptors_zero",
Colin Cross84172332021-09-14 16:41:33 -07004046 ],
4047 tools: [
4048 "aprotoc",
4049 "protozero_plugin",
4050 ],
Spandan Das34f1b982023-10-13 23:24:01 +00004051 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_interceptors_zero)",
Colin Cross84172332021-09-14 16:41:33 -07004052 out: [
4053 "external/perfetto/protos/perfetto/config/interceptors/console_config.pbzero.h",
4054 ],
4055 export_include_dirs: [
4056 ".",
4057 "protos",
4058 ],
Sami Kyostiladd1cfd72020-12-14 15:48:25 +00004059}
4060
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01004061// GN: //protos/perfetto/config:lite
Spandan Das34f1b982023-10-13 23:24:01 +00004062filegroup {
4063 name: "perfetto_protos_perfetto_config_lite",
Colin Cross84172332021-09-14 16:41:33 -07004064 srcs: [
4065 "protos/perfetto/config/chrome/chrome_config.proto",
Etienne Pierre-dorayd8663352023-02-28 21:24:56 +00004066 "protos/perfetto/config/chrome/scenario_config.proto",
Etienne Pierre-doray0508c942024-10-31 15:38:19 +00004067 "protos/perfetto/config/chrome/system_metrics.proto",
Carlos Caballero856a7092024-01-15 17:27:35 +00004068 "protos/perfetto/config/chrome/v8_config.proto",
Colin Cross84172332021-09-14 16:41:33 -07004069 "protos/perfetto/config/data_source_config.proto",
Etienne Pierre-doray7810a882023-12-20 17:10:41 +00004070 "protos/perfetto/config/etw/etw_config.proto",
Colin Cross84172332021-09-14 16:41:33 -07004071 "protos/perfetto/config/interceptor_config.proto",
4072 "protos/perfetto/config/stress_test_config.proto",
4073 "protos/perfetto/config/test_config.proto",
4074 "protos/perfetto/config/trace_config.proto",
4075 ],
Spandan Das34f1b982023-10-13 23:24:01 +00004076}
4077
4078// GN: //protos/perfetto/config:lite
4079genrule {
4080 name: "perfetto_protos_perfetto_config_lite_gen",
4081 srcs: [
4082 ":perfetto_protos_perfetto_common_lite",
4083 ":perfetto_protos_perfetto_config_android_lite",
4084 ":perfetto_protos_perfetto_config_ftrace_lite",
4085 ":perfetto_protos_perfetto_config_gpu_lite",
4086 ":perfetto_protos_perfetto_config_inode_file_lite",
4087 ":perfetto_protos_perfetto_config_interceptors_lite",
4088 ":perfetto_protos_perfetto_config_lite",
4089 ":perfetto_protos_perfetto_config_power_lite",
4090 ":perfetto_protos_perfetto_config_process_stats_lite",
4091 ":perfetto_protos_perfetto_config_profiling_lite",
4092 ":perfetto_protos_perfetto_config_statsd_lite",
4093 ":perfetto_protos_perfetto_config_sys_stats_lite",
4094 ":perfetto_protos_perfetto_config_system_info_lite",
4095 ":perfetto_protos_perfetto_config_track_event_lite",
4096 ],
Colin Cross84172332021-09-14 16:41:33 -07004097 tools: [
4098 "aprotoc",
4099 ],
Spandan Das34f1b982023-10-13 23:24:01 +00004100 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_lite)",
Colin Cross84172332021-09-14 16:41:33 -07004101 out: [
4102 "external/perfetto/protos/perfetto/config/chrome/chrome_config.pb.cc",
Etienne Pierre-dorayd8663352023-02-28 21:24:56 +00004103 "external/perfetto/protos/perfetto/config/chrome/scenario_config.pb.cc",
Etienne Pierre-doray0508c942024-10-31 15:38:19 +00004104 "external/perfetto/protos/perfetto/config/chrome/system_metrics.pb.cc",
Carlos Caballero856a7092024-01-15 17:27:35 +00004105 "external/perfetto/protos/perfetto/config/chrome/v8_config.pb.cc",
Colin Cross84172332021-09-14 16:41:33 -07004106 "external/perfetto/protos/perfetto/config/data_source_config.pb.cc",
Etienne Pierre-doray7810a882023-12-20 17:10:41 +00004107 "external/perfetto/protos/perfetto/config/etw/etw_config.pb.cc",
Colin Cross84172332021-09-14 16:41:33 -07004108 "external/perfetto/protos/perfetto/config/interceptor_config.pb.cc",
4109 "external/perfetto/protos/perfetto/config/stress_test_config.pb.cc",
4110 "external/perfetto/protos/perfetto/config/test_config.pb.cc",
4111 "external/perfetto/protos/perfetto/config/trace_config.pb.cc",
4112 ],
Sami Kyostilab27619f2017-12-13 19:22:16 +00004113}
4114
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01004115// GN: //protos/perfetto/config:lite
Primiano Tuccid7b59c42017-12-19 01:43:07 +01004116genrule {
Colin Cross84172332021-09-14 16:41:33 -07004117 name: "perfetto_protos_perfetto_config_lite_gen_headers",
4118 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00004119 ":perfetto_protos_perfetto_common_lite",
4120 ":perfetto_protos_perfetto_config_android_lite",
4121 ":perfetto_protos_perfetto_config_ftrace_lite",
4122 ":perfetto_protos_perfetto_config_gpu_lite",
4123 ":perfetto_protos_perfetto_config_inode_file_lite",
4124 ":perfetto_protos_perfetto_config_interceptors_lite",
4125 ":perfetto_protos_perfetto_config_lite",
4126 ":perfetto_protos_perfetto_config_power_lite",
4127 ":perfetto_protos_perfetto_config_process_stats_lite",
4128 ":perfetto_protos_perfetto_config_profiling_lite",
4129 ":perfetto_protos_perfetto_config_statsd_lite",
4130 ":perfetto_protos_perfetto_config_sys_stats_lite",
4131 ":perfetto_protos_perfetto_config_system_info_lite",
4132 ":perfetto_protos_perfetto_config_track_event_lite",
Colin Cross84172332021-09-14 16:41:33 -07004133 ],
4134 tools: [
4135 "aprotoc",
4136 ],
Spandan Das34f1b982023-10-13 23:24:01 +00004137 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_lite)",
Colin Cross84172332021-09-14 16:41:33 -07004138 out: [
4139 "external/perfetto/protos/perfetto/config/chrome/chrome_config.pb.h",
Etienne Pierre-dorayd8663352023-02-28 21:24:56 +00004140 "external/perfetto/protos/perfetto/config/chrome/scenario_config.pb.h",
Etienne Pierre-doray0508c942024-10-31 15:38:19 +00004141 "external/perfetto/protos/perfetto/config/chrome/system_metrics.pb.h",
Carlos Caballero856a7092024-01-15 17:27:35 +00004142 "external/perfetto/protos/perfetto/config/chrome/v8_config.pb.h",
Colin Cross84172332021-09-14 16:41:33 -07004143 "external/perfetto/protos/perfetto/config/data_source_config.pb.h",
Etienne Pierre-doray7810a882023-12-20 17:10:41 +00004144 "external/perfetto/protos/perfetto/config/etw/etw_config.pb.h",
Colin Cross84172332021-09-14 16:41:33 -07004145 "external/perfetto/protos/perfetto/config/interceptor_config.pb.h",
4146 "external/perfetto/protos/perfetto/config/stress_test_config.pb.h",
4147 "external/perfetto/protos/perfetto/config/test_config.pb.h",
4148 "external/perfetto/protos/perfetto/config/trace_config.pb.h",
4149 ],
4150 export_include_dirs: [
4151 ".",
4152 "protos",
4153 ],
Sami Kyostilab27619f2017-12-13 19:22:16 +00004154}
4155
Primiano Tucci57dd66b2019-10-15 23:09:04 +01004156// GN: //protos/perfetto/config/power:cpp
Spandan Das34f1b982023-10-13 23:24:01 +00004157filegroup {
4158 name: "perfetto_protos_perfetto_config_power_cpp",
4159 srcs: [
4160 "protos/perfetto/config/power/android_power_config.proto",
4161 ],
4162}
4163
4164// GN: //protos/perfetto/config/power:cpp
Primiano Tucci57dd66b2019-10-15 23:09:04 +01004165genrule {
Colin Cross84172332021-09-14 16:41:33 -07004166 name: "perfetto_protos_perfetto_config_power_cpp_gen",
4167 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00004168 ":perfetto_protos_perfetto_config_power_cpp",
Colin Cross84172332021-09-14 16:41:33 -07004169 ],
4170 tools: [
4171 "aprotoc",
4172 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
4173 ],
Spandan Das34f1b982023-10-13 23:24:01 +00004174 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_power_cpp)",
Colin Cross84172332021-09-14 16:41:33 -07004175 out: [
4176 "external/perfetto/protos/perfetto/config/power/android_power_config.gen.cc",
4177 ],
Primiano Tucci57dd66b2019-10-15 23:09:04 +01004178}
4179
4180// GN: //protos/perfetto/config/power:cpp
4181genrule {
Colin Cross84172332021-09-14 16:41:33 -07004182 name: "perfetto_protos_perfetto_config_power_cpp_gen_headers",
4183 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00004184 ":perfetto_protos_perfetto_config_power_cpp",
Colin Cross84172332021-09-14 16:41:33 -07004185 ],
4186 tools: [
4187 "aprotoc",
4188 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
4189 ],
Spandan Das34f1b982023-10-13 23:24:01 +00004190 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_power_cpp)",
Colin Cross84172332021-09-14 16:41:33 -07004191 out: [
4192 "external/perfetto/protos/perfetto/config/power/android_power_config.gen.h",
4193 ],
4194 export_include_dirs: [
4195 ".",
4196 "protos",
4197 ],
Primiano Tucci57dd66b2019-10-15 23:09:04 +01004198}
4199
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01004200// GN: //protos/perfetto/config/power:lite
Spandan Das34f1b982023-10-13 23:24:01 +00004201filegroup {
4202 name: "perfetto_protos_perfetto_config_power_lite",
4203 srcs: [
4204 "protos/perfetto/config/power/android_power_config.proto",
4205 ],
4206}
4207
4208// GN: //protos/perfetto/config/power:lite
Primiano Tucci70431002019-08-22 17:13:10 +02004209genrule {
Colin Cross84172332021-09-14 16:41:33 -07004210 name: "perfetto_protos_perfetto_config_power_lite_gen",
4211 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00004212 ":perfetto_protos_perfetto_config_power_lite",
Colin Cross84172332021-09-14 16:41:33 -07004213 ],
4214 tools: [
4215 "aprotoc",
4216 ],
Spandan Das34f1b982023-10-13 23:24:01 +00004217 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_power_lite)",
Colin Cross84172332021-09-14 16:41:33 -07004218 out: [
4219 "external/perfetto/protos/perfetto/config/power/android_power_config.pb.cc",
4220 ],
Primiano Tucci70431002019-08-22 17:13:10 +02004221}
4222
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01004223// GN: //protos/perfetto/config/power:lite
Primiano Tucci70431002019-08-22 17:13:10 +02004224genrule {
Colin Cross84172332021-09-14 16:41:33 -07004225 name: "perfetto_protos_perfetto_config_power_lite_gen_headers",
4226 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00004227 ":perfetto_protos_perfetto_config_power_lite",
Colin Cross84172332021-09-14 16:41:33 -07004228 ],
4229 tools: [
4230 "aprotoc",
4231 ],
Spandan Das34f1b982023-10-13 23:24:01 +00004232 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_power_lite)",
Colin Cross84172332021-09-14 16:41:33 -07004233 out: [
4234 "external/perfetto/protos/perfetto/config/power/android_power_config.pb.h",
4235 ],
4236 export_include_dirs: [
4237 ".",
4238 "protos",
4239 ],
Primiano Tucci70431002019-08-22 17:13:10 +02004240}
4241
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01004242// GN: //protos/perfetto/config/power:zero
Spandan Das34f1b982023-10-13 23:24:01 +00004243filegroup {
4244 name: "perfetto_protos_perfetto_config_power_zero",
4245 srcs: [
4246 "protos/perfetto/config/power/android_power_config.proto",
4247 ],
4248}
4249
4250// GN: //protos/perfetto/config/power:zero
Primiano Tucci70431002019-08-22 17:13:10 +02004251genrule {
Colin Cross84172332021-09-14 16:41:33 -07004252 name: "perfetto_protos_perfetto_config_power_zero_gen",
4253 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00004254 ":perfetto_protos_perfetto_config_power_zero",
Colin Cross84172332021-09-14 16:41:33 -07004255 ],
4256 tools: [
4257 "aprotoc",
4258 "protozero_plugin",
4259 ],
Spandan Das34f1b982023-10-13 23:24:01 +00004260 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_power_zero)",
Colin Cross84172332021-09-14 16:41:33 -07004261 out: [
4262 "external/perfetto/protos/perfetto/config/power/android_power_config.pbzero.cc",
4263 ],
Primiano Tucci70431002019-08-22 17:13:10 +02004264}
4265
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01004266// GN: //protos/perfetto/config/power:zero
Primiano Tucci70431002019-08-22 17:13:10 +02004267genrule {
Colin Cross84172332021-09-14 16:41:33 -07004268 name: "perfetto_protos_perfetto_config_power_zero_gen_headers",
4269 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00004270 ":perfetto_protos_perfetto_config_power_zero",
Colin Cross84172332021-09-14 16:41:33 -07004271 ],
4272 tools: [
4273 "aprotoc",
4274 "protozero_plugin",
4275 ],
Spandan Das34f1b982023-10-13 23:24:01 +00004276 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_power_zero)",
Colin Cross84172332021-09-14 16:41:33 -07004277 out: [
4278 "external/perfetto/protos/perfetto/config/power/android_power_config.pbzero.h",
4279 ],
4280 export_include_dirs: [
4281 ".",
4282 "protos",
4283 ],
Primiano Tucci70431002019-08-22 17:13:10 +02004284}
4285
Primiano Tucci57dd66b2019-10-15 23:09:04 +01004286// GN: //protos/perfetto/config/process_stats:cpp
Spandan Das34f1b982023-10-13 23:24:01 +00004287filegroup {
4288 name: "perfetto_protos_perfetto_config_process_stats_cpp",
4289 srcs: [
4290 "protos/perfetto/config/process_stats/process_stats_config.proto",
4291 ],
4292}
4293
4294// GN: //protos/perfetto/config/process_stats:cpp
Primiano Tucci57dd66b2019-10-15 23:09:04 +01004295genrule {
Colin Cross84172332021-09-14 16:41:33 -07004296 name: "perfetto_protos_perfetto_config_process_stats_cpp_gen",
4297 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00004298 ":perfetto_protos_perfetto_config_process_stats_cpp",
Colin Cross84172332021-09-14 16:41:33 -07004299 ],
4300 tools: [
4301 "aprotoc",
4302 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
4303 ],
Spandan Das34f1b982023-10-13 23:24:01 +00004304 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_process_stats_cpp)",
Colin Cross84172332021-09-14 16:41:33 -07004305 out: [
4306 "external/perfetto/protos/perfetto/config/process_stats/process_stats_config.gen.cc",
4307 ],
Primiano Tucci57dd66b2019-10-15 23:09:04 +01004308}
4309
4310// GN: //protos/perfetto/config/process_stats:cpp
4311genrule {
Colin Cross84172332021-09-14 16:41:33 -07004312 name: "perfetto_protos_perfetto_config_process_stats_cpp_gen_headers",
4313 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00004314 ":perfetto_protos_perfetto_config_process_stats_cpp",
Colin Cross84172332021-09-14 16:41:33 -07004315 ],
4316 tools: [
4317 "aprotoc",
4318 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
4319 ],
Spandan Das34f1b982023-10-13 23:24:01 +00004320 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_process_stats_cpp)",
Colin Cross84172332021-09-14 16:41:33 -07004321 out: [
4322 "external/perfetto/protos/perfetto/config/process_stats/process_stats_config.gen.h",
4323 ],
4324 export_include_dirs: [
4325 ".",
4326 "protos",
4327 ],
Primiano Tucci57dd66b2019-10-15 23:09:04 +01004328}
4329
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01004330// GN: //protos/perfetto/config/process_stats:lite
Spandan Das34f1b982023-10-13 23:24:01 +00004331filegroup {
4332 name: "perfetto_protos_perfetto_config_process_stats_lite",
4333 srcs: [
4334 "protos/perfetto/config/process_stats/process_stats_config.proto",
4335 ],
4336}
4337
4338// GN: //protos/perfetto/config/process_stats:lite
Primiano Tucci70431002019-08-22 17:13:10 +02004339genrule {
Colin Cross84172332021-09-14 16:41:33 -07004340 name: "perfetto_protos_perfetto_config_process_stats_lite_gen",
4341 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00004342 ":perfetto_protos_perfetto_config_process_stats_lite",
Colin Cross84172332021-09-14 16:41:33 -07004343 ],
4344 tools: [
4345 "aprotoc",
4346 ],
Spandan Das34f1b982023-10-13 23:24:01 +00004347 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_process_stats_lite)",
Colin Cross84172332021-09-14 16:41:33 -07004348 out: [
4349 "external/perfetto/protos/perfetto/config/process_stats/process_stats_config.pb.cc",
4350 ],
Primiano Tucci70431002019-08-22 17:13:10 +02004351}
4352
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01004353// GN: //protos/perfetto/config/process_stats:lite
Primiano Tucci70431002019-08-22 17:13:10 +02004354genrule {
Colin Cross84172332021-09-14 16:41:33 -07004355 name: "perfetto_protos_perfetto_config_process_stats_lite_gen_headers",
4356 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00004357 ":perfetto_protos_perfetto_config_process_stats_lite",
Colin Cross84172332021-09-14 16:41:33 -07004358 ],
4359 tools: [
4360 "aprotoc",
4361 ],
Spandan Das34f1b982023-10-13 23:24:01 +00004362 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_process_stats_lite)",
Colin Cross84172332021-09-14 16:41:33 -07004363 out: [
4364 "external/perfetto/protos/perfetto/config/process_stats/process_stats_config.pb.h",
4365 ],
4366 export_include_dirs: [
4367 ".",
4368 "protos",
4369 ],
Primiano Tucci70431002019-08-22 17:13:10 +02004370}
4371
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01004372// GN: //protos/perfetto/config/process_stats:zero
Spandan Das34f1b982023-10-13 23:24:01 +00004373filegroup {
4374 name: "perfetto_protos_perfetto_config_process_stats_zero",
4375 srcs: [
4376 "protos/perfetto/config/process_stats/process_stats_config.proto",
4377 ],
4378}
4379
4380// GN: //protos/perfetto/config/process_stats:zero
Primiano Tucci70431002019-08-22 17:13:10 +02004381genrule {
Colin Cross84172332021-09-14 16:41:33 -07004382 name: "perfetto_protos_perfetto_config_process_stats_zero_gen",
4383 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00004384 ":perfetto_protos_perfetto_config_process_stats_zero",
Colin Cross84172332021-09-14 16:41:33 -07004385 ],
4386 tools: [
4387 "aprotoc",
4388 "protozero_plugin",
4389 ],
Spandan Das34f1b982023-10-13 23:24:01 +00004390 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_process_stats_zero)",
Colin Cross84172332021-09-14 16:41:33 -07004391 out: [
4392 "external/perfetto/protos/perfetto/config/process_stats/process_stats_config.pbzero.cc",
4393 ],
Primiano Tucci70431002019-08-22 17:13:10 +02004394}
4395
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01004396// GN: //protos/perfetto/config/process_stats:zero
Primiano Tucci70431002019-08-22 17:13:10 +02004397genrule {
Colin Cross84172332021-09-14 16:41:33 -07004398 name: "perfetto_protos_perfetto_config_process_stats_zero_gen_headers",
4399 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00004400 ":perfetto_protos_perfetto_config_process_stats_zero",
Colin Cross84172332021-09-14 16:41:33 -07004401 ],
4402 tools: [
4403 "aprotoc",
4404 "protozero_plugin",
4405 ],
Spandan Das34f1b982023-10-13 23:24:01 +00004406 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_process_stats_zero)",
Colin Cross84172332021-09-14 16:41:33 -07004407 out: [
4408 "external/perfetto/protos/perfetto/config/process_stats/process_stats_config.pbzero.h",
4409 ],
4410 export_include_dirs: [
4411 ".",
4412 "protos",
4413 ],
Primiano Tucci70431002019-08-22 17:13:10 +02004414}
4415
Primiano Tucci57dd66b2019-10-15 23:09:04 +01004416// GN: //protos/perfetto/config/profiling:cpp
Spandan Das34f1b982023-10-13 23:24:01 +00004417filegroup {
4418 name: "perfetto_protos_perfetto_config_profiling_cpp",
Colin Cross84172332021-09-14 16:41:33 -07004419 srcs: [
4420 "protos/perfetto/config/profiling/heapprofd_config.proto",
4421 "protos/perfetto/config/profiling/java_hprof_config.proto",
4422 "protos/perfetto/config/profiling/perf_event_config.proto",
4423 ],
Spandan Das34f1b982023-10-13 23:24:01 +00004424}
4425
4426// GN: //protos/perfetto/config/profiling:cpp
4427genrule {
4428 name: "perfetto_protos_perfetto_config_profiling_cpp_gen",
4429 srcs: [
4430 ":perfetto_protos_perfetto_common_cpp",
4431 ":perfetto_protos_perfetto_config_profiling_cpp",
4432 ],
Colin Cross84172332021-09-14 16:41:33 -07004433 tools: [
4434 "aprotoc",
4435 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
4436 ],
Spandan Das34f1b982023-10-13 23:24:01 +00004437 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_profiling_cpp)",
Colin Cross84172332021-09-14 16:41:33 -07004438 out: [
4439 "external/perfetto/protos/perfetto/config/profiling/heapprofd_config.gen.cc",
4440 "external/perfetto/protos/perfetto/config/profiling/java_hprof_config.gen.cc",
4441 "external/perfetto/protos/perfetto/config/profiling/perf_event_config.gen.cc",
4442 ],
Primiano Tucci57dd66b2019-10-15 23:09:04 +01004443}
4444
4445// GN: //protos/perfetto/config/profiling:cpp
4446genrule {
Colin Cross84172332021-09-14 16:41:33 -07004447 name: "perfetto_protos_perfetto_config_profiling_cpp_gen_headers",
4448 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00004449 ":perfetto_protos_perfetto_common_cpp",
4450 ":perfetto_protos_perfetto_config_profiling_cpp",
Colin Cross84172332021-09-14 16:41:33 -07004451 ],
4452 tools: [
4453 "aprotoc",
4454 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
4455 ],
Spandan Das34f1b982023-10-13 23:24:01 +00004456 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_profiling_cpp)",
Colin Cross84172332021-09-14 16:41:33 -07004457 out: [
4458 "external/perfetto/protos/perfetto/config/profiling/heapprofd_config.gen.h",
4459 "external/perfetto/protos/perfetto/config/profiling/java_hprof_config.gen.h",
4460 "external/perfetto/protos/perfetto/config/profiling/perf_event_config.gen.h",
4461 ],
4462 export_include_dirs: [
4463 ".",
4464 "protos",
4465 ],
Primiano Tucci57dd66b2019-10-15 23:09:04 +01004466}
4467
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01004468// GN: //protos/perfetto/config/profiling:lite
Spandan Das34f1b982023-10-13 23:24:01 +00004469filegroup {
4470 name: "perfetto_protos_perfetto_config_profiling_lite",
Colin Cross84172332021-09-14 16:41:33 -07004471 srcs: [
4472 "protos/perfetto/config/profiling/heapprofd_config.proto",
4473 "protos/perfetto/config/profiling/java_hprof_config.proto",
4474 "protos/perfetto/config/profiling/perf_event_config.proto",
4475 ],
Spandan Das34f1b982023-10-13 23:24:01 +00004476}
4477
4478// GN: //protos/perfetto/config/profiling:lite
4479genrule {
4480 name: "perfetto_protos_perfetto_config_profiling_lite_gen",
4481 srcs: [
4482 ":perfetto_protos_perfetto_common_lite",
4483 ":perfetto_protos_perfetto_config_profiling_lite",
4484 ],
Colin Cross84172332021-09-14 16:41:33 -07004485 tools: [
4486 "aprotoc",
4487 ],
Spandan Das34f1b982023-10-13 23:24:01 +00004488 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_profiling_lite)",
Colin Cross84172332021-09-14 16:41:33 -07004489 out: [
4490 "external/perfetto/protos/perfetto/config/profiling/heapprofd_config.pb.cc",
4491 "external/perfetto/protos/perfetto/config/profiling/java_hprof_config.pb.cc",
4492 "external/perfetto/protos/perfetto/config/profiling/perf_event_config.pb.cc",
4493 ],
Primiano Tucci70431002019-08-22 17:13:10 +02004494}
4495
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01004496// GN: //protos/perfetto/config/profiling:lite
Primiano Tucci70431002019-08-22 17:13:10 +02004497genrule {
Colin Cross84172332021-09-14 16:41:33 -07004498 name: "perfetto_protos_perfetto_config_profiling_lite_gen_headers",
4499 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00004500 ":perfetto_protos_perfetto_common_lite",
4501 ":perfetto_protos_perfetto_config_profiling_lite",
Colin Cross84172332021-09-14 16:41:33 -07004502 ],
4503 tools: [
4504 "aprotoc",
4505 ],
Spandan Das34f1b982023-10-13 23:24:01 +00004506 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_profiling_lite)",
Colin Cross84172332021-09-14 16:41:33 -07004507 out: [
4508 "external/perfetto/protos/perfetto/config/profiling/heapprofd_config.pb.h",
4509 "external/perfetto/protos/perfetto/config/profiling/java_hprof_config.pb.h",
4510 "external/perfetto/protos/perfetto/config/profiling/perf_event_config.pb.h",
4511 ],
4512 export_include_dirs: [
4513 ".",
4514 "protos",
4515 ],
Primiano Tucci70431002019-08-22 17:13:10 +02004516}
4517
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01004518// GN: //protos/perfetto/config/profiling:zero
Spandan Das34f1b982023-10-13 23:24:01 +00004519filegroup {
4520 name: "perfetto_protos_perfetto_config_profiling_zero",
Colin Cross84172332021-09-14 16:41:33 -07004521 srcs: [
4522 "protos/perfetto/config/profiling/heapprofd_config.proto",
4523 "protos/perfetto/config/profiling/java_hprof_config.proto",
4524 "protos/perfetto/config/profiling/perf_event_config.proto",
4525 ],
Spandan Das34f1b982023-10-13 23:24:01 +00004526}
4527
4528// GN: //protos/perfetto/config/profiling:zero
4529genrule {
4530 name: "perfetto_protos_perfetto_config_profiling_zero_gen",
4531 srcs: [
4532 ":perfetto_protos_perfetto_common_zero",
4533 ":perfetto_protos_perfetto_config_profiling_zero",
4534 ],
Colin Cross84172332021-09-14 16:41:33 -07004535 tools: [
4536 "aprotoc",
4537 "protozero_plugin",
4538 ],
Spandan Das34f1b982023-10-13 23:24:01 +00004539 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_profiling_zero)",
Colin Cross84172332021-09-14 16:41:33 -07004540 out: [
4541 "external/perfetto/protos/perfetto/config/profiling/heapprofd_config.pbzero.cc",
4542 "external/perfetto/protos/perfetto/config/profiling/java_hprof_config.pbzero.cc",
4543 "external/perfetto/protos/perfetto/config/profiling/perf_event_config.pbzero.cc",
4544 ],
Primiano Tucci70431002019-08-22 17:13:10 +02004545}
4546
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01004547// GN: //protos/perfetto/config/profiling:zero
Primiano Tucci70431002019-08-22 17:13:10 +02004548genrule {
Colin Cross84172332021-09-14 16:41:33 -07004549 name: "perfetto_protos_perfetto_config_profiling_zero_gen_headers",
4550 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00004551 ":perfetto_protos_perfetto_common_zero",
4552 ":perfetto_protos_perfetto_config_profiling_zero",
Colin Cross84172332021-09-14 16:41:33 -07004553 ],
4554 tools: [
4555 "aprotoc",
4556 "protozero_plugin",
4557 ],
Spandan Das34f1b982023-10-13 23:24:01 +00004558 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_profiling_zero)",
Colin Cross84172332021-09-14 16:41:33 -07004559 out: [
4560 "external/perfetto/protos/perfetto/config/profiling/heapprofd_config.pbzero.h",
4561 "external/perfetto/protos/perfetto/config/profiling/java_hprof_config.pbzero.h",
4562 "external/perfetto/protos/perfetto/config/profiling/perf_event_config.pbzero.h",
4563 ],
4564 export_include_dirs: [
4565 ".",
4566 "protos",
4567 ],
Primiano Tucci70431002019-08-22 17:13:10 +02004568}
4569
Hector Dearman5974de02022-06-23 15:31:40 +01004570// GN: //protos/perfetto/config/statsd:cpp
Spandan Das34f1b982023-10-13 23:24:01 +00004571filegroup {
4572 name: "perfetto_protos_perfetto_config_statsd_cpp",
Hector Dearman5974de02022-06-23 15:31:40 +01004573 srcs: [
4574 "protos/perfetto/config/statsd/atom_ids.proto",
4575 "protos/perfetto/config/statsd/statsd_tracing_config.proto",
4576 ],
Spandan Das34f1b982023-10-13 23:24:01 +00004577}
4578
4579// GN: //protos/perfetto/config/statsd:cpp
4580genrule {
4581 name: "perfetto_protos_perfetto_config_statsd_cpp_gen",
4582 srcs: [
4583 ":perfetto_protos_perfetto_config_statsd_cpp",
4584 ],
Hector Dearman5974de02022-06-23 15:31:40 +01004585 tools: [
4586 "aprotoc",
4587 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
4588 ],
Spandan Das34f1b982023-10-13 23:24:01 +00004589 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_statsd_cpp)",
Hector Dearman5974de02022-06-23 15:31:40 +01004590 out: [
4591 "external/perfetto/protos/perfetto/config/statsd/atom_ids.gen.cc",
4592 "external/perfetto/protos/perfetto/config/statsd/statsd_tracing_config.gen.cc",
4593 ],
4594}
4595
4596// GN: //protos/perfetto/config/statsd:cpp
4597genrule {
4598 name: "perfetto_protos_perfetto_config_statsd_cpp_gen_headers",
4599 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00004600 ":perfetto_protos_perfetto_config_statsd_cpp",
Hector Dearman5974de02022-06-23 15:31:40 +01004601 ],
4602 tools: [
4603 "aprotoc",
4604 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
4605 ],
Spandan Das34f1b982023-10-13 23:24:01 +00004606 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_statsd_cpp)",
Hector Dearman5974de02022-06-23 15:31:40 +01004607 out: [
4608 "external/perfetto/protos/perfetto/config/statsd/atom_ids.gen.h",
4609 "external/perfetto/protos/perfetto/config/statsd/statsd_tracing_config.gen.h",
4610 ],
4611 export_include_dirs: [
4612 ".",
4613 "protos",
4614 ],
4615}
4616
4617// GN: //protos/perfetto/config/statsd:lite
Spandan Das34f1b982023-10-13 23:24:01 +00004618filegroup {
4619 name: "perfetto_protos_perfetto_config_statsd_lite",
Hector Dearman5974de02022-06-23 15:31:40 +01004620 srcs: [
4621 "protos/perfetto/config/statsd/atom_ids.proto",
4622 "protos/perfetto/config/statsd/statsd_tracing_config.proto",
4623 ],
Spandan Das34f1b982023-10-13 23:24:01 +00004624}
4625
4626// GN: //protos/perfetto/config/statsd:lite
4627genrule {
4628 name: "perfetto_protos_perfetto_config_statsd_lite_gen",
4629 srcs: [
4630 ":perfetto_protos_perfetto_config_statsd_lite",
4631 ],
Hector Dearman5974de02022-06-23 15:31:40 +01004632 tools: [
4633 "aprotoc",
4634 ],
Spandan Das34f1b982023-10-13 23:24:01 +00004635 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_statsd_lite)",
Hector Dearman5974de02022-06-23 15:31:40 +01004636 out: [
4637 "external/perfetto/protos/perfetto/config/statsd/atom_ids.pb.cc",
4638 "external/perfetto/protos/perfetto/config/statsd/statsd_tracing_config.pb.cc",
4639 ],
4640}
4641
4642// GN: //protos/perfetto/config/statsd:lite
4643genrule {
4644 name: "perfetto_protos_perfetto_config_statsd_lite_gen_headers",
4645 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00004646 ":perfetto_protos_perfetto_config_statsd_lite",
Hector Dearman5974de02022-06-23 15:31:40 +01004647 ],
4648 tools: [
4649 "aprotoc",
4650 ],
Spandan Das34f1b982023-10-13 23:24:01 +00004651 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_statsd_lite)",
Hector Dearman5974de02022-06-23 15:31:40 +01004652 out: [
4653 "external/perfetto/protos/perfetto/config/statsd/atom_ids.pb.h",
4654 "external/perfetto/protos/perfetto/config/statsd/statsd_tracing_config.pb.h",
4655 ],
4656 export_include_dirs: [
4657 ".",
4658 "protos",
4659 ],
4660}
4661
4662// GN: //protos/perfetto/config/statsd:zero
Spandan Das34f1b982023-10-13 23:24:01 +00004663filegroup {
4664 name: "perfetto_protos_perfetto_config_statsd_zero",
Hector Dearman5974de02022-06-23 15:31:40 +01004665 srcs: [
4666 "protos/perfetto/config/statsd/atom_ids.proto",
4667 "protos/perfetto/config/statsd/statsd_tracing_config.proto",
4668 ],
Spandan Das34f1b982023-10-13 23:24:01 +00004669}
4670
4671// GN: //protos/perfetto/config/statsd:zero
4672genrule {
4673 name: "perfetto_protos_perfetto_config_statsd_zero_gen",
4674 srcs: [
4675 ":perfetto_protos_perfetto_config_statsd_zero",
4676 ],
Hector Dearman5974de02022-06-23 15:31:40 +01004677 tools: [
4678 "aprotoc",
4679 "protozero_plugin",
4680 ],
Spandan Das34f1b982023-10-13 23:24:01 +00004681 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_statsd_zero)",
Hector Dearman5974de02022-06-23 15:31:40 +01004682 out: [
4683 "external/perfetto/protos/perfetto/config/statsd/atom_ids.pbzero.cc",
4684 "external/perfetto/protos/perfetto/config/statsd/statsd_tracing_config.pbzero.cc",
4685 ],
4686}
4687
4688// GN: //protos/perfetto/config/statsd:zero
4689genrule {
4690 name: "perfetto_protos_perfetto_config_statsd_zero_gen_headers",
4691 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00004692 ":perfetto_protos_perfetto_config_statsd_zero",
Hector Dearman5974de02022-06-23 15:31:40 +01004693 ],
4694 tools: [
4695 "aprotoc",
4696 "protozero_plugin",
4697 ],
Spandan Das34f1b982023-10-13 23:24:01 +00004698 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_statsd_zero)",
Hector Dearman5974de02022-06-23 15:31:40 +01004699 out: [
4700 "external/perfetto/protos/perfetto/config/statsd/atom_ids.pbzero.h",
4701 "external/perfetto/protos/perfetto/config/statsd/statsd_tracing_config.pbzero.h",
4702 ],
4703 export_include_dirs: [
4704 ".",
4705 "protos",
4706 ],
4707}
4708
Primiano Tucci57dd66b2019-10-15 23:09:04 +01004709// GN: //protos/perfetto/config/sys_stats:cpp
Spandan Das34f1b982023-10-13 23:24:01 +00004710filegroup {
4711 name: "perfetto_protos_perfetto_config_sys_stats_cpp",
4712 srcs: [
4713 "protos/perfetto/config/sys_stats/sys_stats_config.proto",
4714 ],
4715}
4716
4717// GN: //protos/perfetto/config/sys_stats:cpp
Primiano Tucci57dd66b2019-10-15 23:09:04 +01004718genrule {
Colin Cross84172332021-09-14 16:41:33 -07004719 name: "perfetto_protos_perfetto_config_sys_stats_cpp_gen",
4720 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00004721 ":perfetto_protos_perfetto_common_cpp",
4722 ":perfetto_protos_perfetto_config_sys_stats_cpp",
Colin Cross84172332021-09-14 16:41:33 -07004723 ],
4724 tools: [
4725 "aprotoc",
4726 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
4727 ],
Spandan Das34f1b982023-10-13 23:24:01 +00004728 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_sys_stats_cpp)",
Colin Cross84172332021-09-14 16:41:33 -07004729 out: [
4730 "external/perfetto/protos/perfetto/config/sys_stats/sys_stats_config.gen.cc",
4731 ],
Primiano Tucci57dd66b2019-10-15 23:09:04 +01004732}
4733
4734// GN: //protos/perfetto/config/sys_stats:cpp
4735genrule {
Colin Cross84172332021-09-14 16:41:33 -07004736 name: "perfetto_protos_perfetto_config_sys_stats_cpp_gen_headers",
4737 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00004738 ":perfetto_protos_perfetto_common_cpp",
4739 ":perfetto_protos_perfetto_config_sys_stats_cpp",
Colin Cross84172332021-09-14 16:41:33 -07004740 ],
4741 tools: [
4742 "aprotoc",
4743 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
4744 ],
Spandan Das34f1b982023-10-13 23:24:01 +00004745 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_sys_stats_cpp)",
Colin Cross84172332021-09-14 16:41:33 -07004746 out: [
4747 "external/perfetto/protos/perfetto/config/sys_stats/sys_stats_config.gen.h",
4748 ],
4749 export_include_dirs: [
4750 ".",
4751 "protos",
4752 ],
Primiano Tucci57dd66b2019-10-15 23:09:04 +01004753}
4754
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01004755// GN: //protos/perfetto/config/sys_stats:lite
Spandan Das34f1b982023-10-13 23:24:01 +00004756filegroup {
4757 name: "perfetto_protos_perfetto_config_sys_stats_lite",
4758 srcs: [
4759 "protos/perfetto/config/sys_stats/sys_stats_config.proto",
4760 ],
4761}
4762
4763// GN: //protos/perfetto/config/sys_stats:lite
Primiano Tucci70431002019-08-22 17:13:10 +02004764genrule {
Colin Cross84172332021-09-14 16:41:33 -07004765 name: "perfetto_protos_perfetto_config_sys_stats_lite_gen",
4766 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00004767 ":perfetto_protos_perfetto_common_lite",
4768 ":perfetto_protos_perfetto_config_sys_stats_lite",
Colin Cross84172332021-09-14 16:41:33 -07004769 ],
4770 tools: [
4771 "aprotoc",
4772 ],
Spandan Das34f1b982023-10-13 23:24:01 +00004773 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_sys_stats_lite)",
Colin Cross84172332021-09-14 16:41:33 -07004774 out: [
4775 "external/perfetto/protos/perfetto/config/sys_stats/sys_stats_config.pb.cc",
4776 ],
Primiano Tucci70431002019-08-22 17:13:10 +02004777}
4778
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01004779// GN: //protos/perfetto/config/sys_stats:lite
Primiano Tucci70431002019-08-22 17:13:10 +02004780genrule {
Colin Cross84172332021-09-14 16:41:33 -07004781 name: "perfetto_protos_perfetto_config_sys_stats_lite_gen_headers",
4782 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00004783 ":perfetto_protos_perfetto_common_lite",
4784 ":perfetto_protos_perfetto_config_sys_stats_lite",
Colin Cross84172332021-09-14 16:41:33 -07004785 ],
4786 tools: [
4787 "aprotoc",
4788 ],
Spandan Das34f1b982023-10-13 23:24:01 +00004789 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_sys_stats_lite)",
Colin Cross84172332021-09-14 16:41:33 -07004790 out: [
4791 "external/perfetto/protos/perfetto/config/sys_stats/sys_stats_config.pb.h",
4792 ],
4793 export_include_dirs: [
4794 ".",
4795 "protos",
4796 ],
Primiano Tucci70431002019-08-22 17:13:10 +02004797}
4798
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01004799// GN: //protos/perfetto/config/sys_stats:zero
Spandan Das34f1b982023-10-13 23:24:01 +00004800filegroup {
4801 name: "perfetto_protos_perfetto_config_sys_stats_zero",
4802 srcs: [
4803 "protos/perfetto/config/sys_stats/sys_stats_config.proto",
4804 ],
4805}
4806
4807// GN: //protos/perfetto/config/sys_stats:zero
Primiano Tucci70431002019-08-22 17:13:10 +02004808genrule {
Colin Cross84172332021-09-14 16:41:33 -07004809 name: "perfetto_protos_perfetto_config_sys_stats_zero_gen",
4810 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00004811 ":perfetto_protos_perfetto_common_zero",
4812 ":perfetto_protos_perfetto_config_sys_stats_zero",
Colin Cross84172332021-09-14 16:41:33 -07004813 ],
4814 tools: [
4815 "aprotoc",
4816 "protozero_plugin",
4817 ],
Spandan Das34f1b982023-10-13 23:24:01 +00004818 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_sys_stats_zero)",
Colin Cross84172332021-09-14 16:41:33 -07004819 out: [
4820 "external/perfetto/protos/perfetto/config/sys_stats/sys_stats_config.pbzero.cc",
4821 ],
Primiano Tucci70431002019-08-22 17:13:10 +02004822}
4823
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01004824// GN: //protos/perfetto/config/sys_stats:zero
Primiano Tucci70431002019-08-22 17:13:10 +02004825genrule {
Colin Cross84172332021-09-14 16:41:33 -07004826 name: "perfetto_protos_perfetto_config_sys_stats_zero_gen_headers",
4827 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00004828 ":perfetto_protos_perfetto_common_zero",
4829 ":perfetto_protos_perfetto_config_sys_stats_zero",
Colin Cross84172332021-09-14 16:41:33 -07004830 ],
4831 tools: [
4832 "aprotoc",
4833 "protozero_plugin",
4834 ],
Spandan Das34f1b982023-10-13 23:24:01 +00004835 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_sys_stats_zero)",
Colin Cross84172332021-09-14 16:41:33 -07004836 out: [
4837 "external/perfetto/protos/perfetto/config/sys_stats/sys_stats_config.pbzero.h",
4838 ],
4839 export_include_dirs: [
4840 ".",
4841 "protos",
4842 ],
Primiano Tucci70431002019-08-22 17:13:10 +02004843}
4844
Hector Dearman48047d12022-08-02 14:00:46 +01004845// GN: //protos/perfetto/config/system_info:cpp
Spandan Das34f1b982023-10-13 23:24:01 +00004846filegroup {
4847 name: "perfetto_protos_perfetto_config_system_info_cpp",
4848 srcs: [
4849 "protos/perfetto/config/system_info/system_info.proto",
4850 ],
4851}
4852
4853// GN: //protos/perfetto/config/system_info:cpp
Hector Dearman48047d12022-08-02 14:00:46 +01004854genrule {
4855 name: "perfetto_protos_perfetto_config_system_info_cpp_gen",
4856 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00004857 ":perfetto_protos_perfetto_common_cpp",
4858 ":perfetto_protos_perfetto_config_system_info_cpp",
Hector Dearman48047d12022-08-02 14:00:46 +01004859 ],
4860 tools: [
4861 "aprotoc",
4862 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
4863 ],
Spandan Das34f1b982023-10-13 23:24:01 +00004864 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_system_info_cpp)",
Hector Dearman48047d12022-08-02 14:00:46 +01004865 out: [
4866 "external/perfetto/protos/perfetto/config/system_info/system_info.gen.cc",
4867 ],
4868}
4869
4870// GN: //protos/perfetto/config/system_info:cpp
4871genrule {
4872 name: "perfetto_protos_perfetto_config_system_info_cpp_gen_headers",
4873 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00004874 ":perfetto_protos_perfetto_common_cpp",
4875 ":perfetto_protos_perfetto_config_system_info_cpp",
Hector Dearman48047d12022-08-02 14:00:46 +01004876 ],
4877 tools: [
4878 "aprotoc",
4879 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
4880 ],
Spandan Das34f1b982023-10-13 23:24:01 +00004881 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_system_info_cpp)",
Hector Dearman48047d12022-08-02 14:00:46 +01004882 out: [
4883 "external/perfetto/protos/perfetto/config/system_info/system_info.gen.h",
4884 ],
4885 export_include_dirs: [
4886 ".",
4887 "protos",
4888 ],
4889}
4890
4891// GN: //protos/perfetto/config/system_info:lite
Spandan Das34f1b982023-10-13 23:24:01 +00004892filegroup {
4893 name: "perfetto_protos_perfetto_config_system_info_lite",
4894 srcs: [
4895 "protos/perfetto/config/system_info/system_info.proto",
4896 ],
4897}
4898
4899// GN: //protos/perfetto/config/system_info:lite
Hector Dearman48047d12022-08-02 14:00:46 +01004900genrule {
4901 name: "perfetto_protos_perfetto_config_system_info_lite_gen",
4902 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00004903 ":perfetto_protos_perfetto_common_lite",
4904 ":perfetto_protos_perfetto_config_system_info_lite",
Hector Dearman48047d12022-08-02 14:00:46 +01004905 ],
4906 tools: [
4907 "aprotoc",
4908 ],
Spandan Das34f1b982023-10-13 23:24:01 +00004909 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_system_info_lite)",
Hector Dearman48047d12022-08-02 14:00:46 +01004910 out: [
4911 "external/perfetto/protos/perfetto/config/system_info/system_info.pb.cc",
4912 ],
4913}
4914
4915// GN: //protos/perfetto/config/system_info:lite
4916genrule {
4917 name: "perfetto_protos_perfetto_config_system_info_lite_gen_headers",
4918 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00004919 ":perfetto_protos_perfetto_common_lite",
4920 ":perfetto_protos_perfetto_config_system_info_lite",
Hector Dearman48047d12022-08-02 14:00:46 +01004921 ],
4922 tools: [
4923 "aprotoc",
4924 ],
Spandan Das34f1b982023-10-13 23:24:01 +00004925 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_system_info_lite)",
Hector Dearman48047d12022-08-02 14:00:46 +01004926 out: [
4927 "external/perfetto/protos/perfetto/config/system_info/system_info.pb.h",
4928 ],
4929 export_include_dirs: [
4930 ".",
4931 "protos",
4932 ],
4933}
4934
4935// GN: //protos/perfetto/config/system_info:zero
Spandan Das34f1b982023-10-13 23:24:01 +00004936filegroup {
4937 name: "perfetto_protos_perfetto_config_system_info_zero",
4938 srcs: [
4939 "protos/perfetto/config/system_info/system_info.proto",
4940 ],
4941}
4942
4943// GN: //protos/perfetto/config/system_info:zero
Hector Dearman48047d12022-08-02 14:00:46 +01004944genrule {
4945 name: "perfetto_protos_perfetto_config_system_info_zero_gen",
4946 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00004947 ":perfetto_protos_perfetto_common_zero",
4948 ":perfetto_protos_perfetto_config_system_info_zero",
Hector Dearman48047d12022-08-02 14:00:46 +01004949 ],
4950 tools: [
4951 "aprotoc",
4952 "protozero_plugin",
4953 ],
Spandan Das34f1b982023-10-13 23:24:01 +00004954 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_system_info_zero)",
Hector Dearman48047d12022-08-02 14:00:46 +01004955 out: [
4956 "external/perfetto/protos/perfetto/config/system_info/system_info.pbzero.cc",
4957 ],
4958}
4959
4960// GN: //protos/perfetto/config/system_info:zero
4961genrule {
4962 name: "perfetto_protos_perfetto_config_system_info_zero_gen_headers",
4963 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00004964 ":perfetto_protos_perfetto_common_zero",
4965 ":perfetto_protos_perfetto_config_system_info_zero",
Hector Dearman48047d12022-08-02 14:00:46 +01004966 ],
4967 tools: [
4968 "aprotoc",
4969 "protozero_plugin",
4970 ],
Spandan Das34f1b982023-10-13 23:24:01 +00004971 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_system_info_zero)",
Hector Dearman48047d12022-08-02 14:00:46 +01004972 out: [
4973 "external/perfetto/protos/perfetto/config/system_info/system_info.pbzero.h",
4974 ],
4975 export_include_dirs: [
4976 ".",
4977 "protos",
4978 ],
4979}
4980
Sami Kyostila38cd0412020-02-12 17:09:52 +00004981// GN: //protos/perfetto/config/track_event:cpp
Spandan Das34f1b982023-10-13 23:24:01 +00004982filegroup {
4983 name: "perfetto_protos_perfetto_config_track_event_cpp",
4984 srcs: [
4985 "protos/perfetto/config/track_event/track_event_config.proto",
4986 ],
4987}
4988
4989// GN: //protos/perfetto/config/track_event:cpp
Sami Kyostila38cd0412020-02-12 17:09:52 +00004990genrule {
Colin Cross84172332021-09-14 16:41:33 -07004991 name: "perfetto_protos_perfetto_config_track_event_cpp_gen",
4992 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00004993 ":perfetto_protos_perfetto_config_track_event_cpp",
Colin Cross84172332021-09-14 16:41:33 -07004994 ],
4995 tools: [
4996 "aprotoc",
4997 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
4998 ],
Spandan Das34f1b982023-10-13 23:24:01 +00004999 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_track_event_cpp)",
Colin Cross84172332021-09-14 16:41:33 -07005000 out: [
5001 "external/perfetto/protos/perfetto/config/track_event/track_event_config.gen.cc",
5002 ],
Sami Kyostila38cd0412020-02-12 17:09:52 +00005003}
5004
5005// GN: //protos/perfetto/config/track_event:cpp
5006genrule {
Colin Cross84172332021-09-14 16:41:33 -07005007 name: "perfetto_protos_perfetto_config_track_event_cpp_gen_headers",
5008 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00005009 ":perfetto_protos_perfetto_config_track_event_cpp",
Colin Cross84172332021-09-14 16:41:33 -07005010 ],
5011 tools: [
5012 "aprotoc",
5013 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
5014 ],
Spandan Das34f1b982023-10-13 23:24:01 +00005015 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_track_event_cpp)",
Colin Cross84172332021-09-14 16:41:33 -07005016 out: [
5017 "external/perfetto/protos/perfetto/config/track_event/track_event_config.gen.h",
5018 ],
5019 export_include_dirs: [
5020 ".",
5021 "protos",
5022 ],
Sami Kyostila38cd0412020-02-12 17:09:52 +00005023}
5024
5025// GN: //protos/perfetto/config/track_event:lite
Spandan Das34f1b982023-10-13 23:24:01 +00005026filegroup {
5027 name: "perfetto_protos_perfetto_config_track_event_lite",
5028 srcs: [
5029 "protos/perfetto/config/track_event/track_event_config.proto",
5030 ],
5031}
5032
5033// GN: //protos/perfetto/config/track_event:lite
Sami Kyostila38cd0412020-02-12 17:09:52 +00005034genrule {
Colin Cross84172332021-09-14 16:41:33 -07005035 name: "perfetto_protos_perfetto_config_track_event_lite_gen",
5036 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00005037 ":perfetto_protos_perfetto_config_track_event_lite",
Colin Cross84172332021-09-14 16:41:33 -07005038 ],
5039 tools: [
5040 "aprotoc",
5041 ],
Spandan Das34f1b982023-10-13 23:24:01 +00005042 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_track_event_lite)",
Colin Cross84172332021-09-14 16:41:33 -07005043 out: [
5044 "external/perfetto/protos/perfetto/config/track_event/track_event_config.pb.cc",
5045 ],
Sami Kyostila38cd0412020-02-12 17:09:52 +00005046}
5047
5048// GN: //protos/perfetto/config/track_event:lite
5049genrule {
Colin Cross84172332021-09-14 16:41:33 -07005050 name: "perfetto_protos_perfetto_config_track_event_lite_gen_headers",
5051 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00005052 ":perfetto_protos_perfetto_config_track_event_lite",
Colin Cross84172332021-09-14 16:41:33 -07005053 ],
5054 tools: [
5055 "aprotoc",
5056 ],
Spandan Das34f1b982023-10-13 23:24:01 +00005057 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_track_event_lite)",
Colin Cross84172332021-09-14 16:41:33 -07005058 out: [
5059 "external/perfetto/protos/perfetto/config/track_event/track_event_config.pb.h",
5060 ],
5061 export_include_dirs: [
5062 ".",
5063 "protos",
5064 ],
Sami Kyostila38cd0412020-02-12 17:09:52 +00005065}
5066
5067// GN: //protos/perfetto/config/track_event:zero
Spandan Das34f1b982023-10-13 23:24:01 +00005068filegroup {
5069 name: "perfetto_protos_perfetto_config_track_event_zero",
5070 srcs: [
5071 "protos/perfetto/config/track_event/track_event_config.proto",
5072 ],
5073}
5074
5075// GN: //protos/perfetto/config/track_event:zero
Sami Kyostila38cd0412020-02-12 17:09:52 +00005076genrule {
Colin Cross84172332021-09-14 16:41:33 -07005077 name: "perfetto_protos_perfetto_config_track_event_zero_gen",
5078 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00005079 ":perfetto_protos_perfetto_config_track_event_zero",
Colin Cross84172332021-09-14 16:41:33 -07005080 ],
5081 tools: [
5082 "aprotoc",
5083 "protozero_plugin",
5084 ],
Spandan Das34f1b982023-10-13 23:24:01 +00005085 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_track_event_zero)",
Colin Cross84172332021-09-14 16:41:33 -07005086 out: [
5087 "external/perfetto/protos/perfetto/config/track_event/track_event_config.pbzero.cc",
5088 ],
Sami Kyostila38cd0412020-02-12 17:09:52 +00005089}
5090
5091// GN: //protos/perfetto/config/track_event:zero
5092genrule {
Colin Cross84172332021-09-14 16:41:33 -07005093 name: "perfetto_protos_perfetto_config_track_event_zero_gen_headers",
5094 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00005095 ":perfetto_protos_perfetto_config_track_event_zero",
Colin Cross84172332021-09-14 16:41:33 -07005096 ],
5097 tools: [
5098 "aprotoc",
5099 "protozero_plugin",
5100 ],
Spandan Das34f1b982023-10-13 23:24:01 +00005101 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_track_event_zero)",
Colin Cross84172332021-09-14 16:41:33 -07005102 out: [
5103 "external/perfetto/protos/perfetto/config/track_event/track_event_config.pbzero.h",
5104 ],
5105 export_include_dirs: [
5106 ".",
5107 "protos",
5108 ],
Sami Kyostila38cd0412020-02-12 17:09:52 +00005109}
5110
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01005111// GN: //protos/perfetto/config:zero
Spandan Das34f1b982023-10-13 23:24:01 +00005112filegroup {
5113 name: "perfetto_protos_perfetto_config_zero",
Colin Cross84172332021-09-14 16:41:33 -07005114 srcs: [
5115 "protos/perfetto/config/chrome/chrome_config.proto",
Etienne Pierre-dorayd8663352023-02-28 21:24:56 +00005116 "protos/perfetto/config/chrome/scenario_config.proto",
Etienne Pierre-doray0508c942024-10-31 15:38:19 +00005117 "protos/perfetto/config/chrome/system_metrics.proto",
Carlos Caballero856a7092024-01-15 17:27:35 +00005118 "protos/perfetto/config/chrome/v8_config.proto",
Colin Cross84172332021-09-14 16:41:33 -07005119 "protos/perfetto/config/data_source_config.proto",
Etienne Pierre-doray7810a882023-12-20 17:10:41 +00005120 "protos/perfetto/config/etw/etw_config.proto",
Colin Cross84172332021-09-14 16:41:33 -07005121 "protos/perfetto/config/interceptor_config.proto",
5122 "protos/perfetto/config/stress_test_config.proto",
5123 "protos/perfetto/config/test_config.proto",
5124 "protos/perfetto/config/trace_config.proto",
5125 ],
Spandan Das34f1b982023-10-13 23:24:01 +00005126}
5127
5128// GN: //protos/perfetto/config:zero
5129genrule {
5130 name: "perfetto_protos_perfetto_config_zero_gen",
5131 srcs: [
5132 ":perfetto_protos_perfetto_common_zero",
5133 ":perfetto_protos_perfetto_config_android_zero",
5134 ":perfetto_protos_perfetto_config_ftrace_zero",
5135 ":perfetto_protos_perfetto_config_gpu_zero",
5136 ":perfetto_protos_perfetto_config_inode_file_zero",
5137 ":perfetto_protos_perfetto_config_interceptors_zero",
5138 ":perfetto_protos_perfetto_config_power_zero",
5139 ":perfetto_protos_perfetto_config_process_stats_zero",
5140 ":perfetto_protos_perfetto_config_profiling_zero",
5141 ":perfetto_protos_perfetto_config_statsd_zero",
5142 ":perfetto_protos_perfetto_config_sys_stats_zero",
5143 ":perfetto_protos_perfetto_config_system_info_zero",
5144 ":perfetto_protos_perfetto_config_track_event_zero",
5145 ":perfetto_protos_perfetto_config_zero",
5146 ],
Colin Cross84172332021-09-14 16:41:33 -07005147 tools: [
5148 "aprotoc",
5149 "protozero_plugin",
5150 ],
Spandan Das34f1b982023-10-13 23:24:01 +00005151 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_zero)",
Colin Cross84172332021-09-14 16:41:33 -07005152 out: [
5153 "external/perfetto/protos/perfetto/config/chrome/chrome_config.pbzero.cc",
Etienne Pierre-dorayd8663352023-02-28 21:24:56 +00005154 "external/perfetto/protos/perfetto/config/chrome/scenario_config.pbzero.cc",
Etienne Pierre-doray0508c942024-10-31 15:38:19 +00005155 "external/perfetto/protos/perfetto/config/chrome/system_metrics.pbzero.cc",
Carlos Caballero856a7092024-01-15 17:27:35 +00005156 "external/perfetto/protos/perfetto/config/chrome/v8_config.pbzero.cc",
Colin Cross84172332021-09-14 16:41:33 -07005157 "external/perfetto/protos/perfetto/config/data_source_config.pbzero.cc",
Etienne Pierre-doray7810a882023-12-20 17:10:41 +00005158 "external/perfetto/protos/perfetto/config/etw/etw_config.pbzero.cc",
Colin Cross84172332021-09-14 16:41:33 -07005159 "external/perfetto/protos/perfetto/config/interceptor_config.pbzero.cc",
5160 "external/perfetto/protos/perfetto/config/stress_test_config.pbzero.cc",
5161 "external/perfetto/protos/perfetto/config/test_config.pbzero.cc",
5162 "external/perfetto/protos/perfetto/config/trace_config.pbzero.cc",
5163 ],
Sami Kyostila200bd2e2018-03-26 12:24:10 +01005164}
5165
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01005166// GN: //protos/perfetto/config:zero
Sami Kyostila200bd2e2018-03-26 12:24:10 +01005167genrule {
Colin Cross84172332021-09-14 16:41:33 -07005168 name: "perfetto_protos_perfetto_config_zero_gen_headers",
5169 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00005170 ":perfetto_protos_perfetto_common_zero",
5171 ":perfetto_protos_perfetto_config_android_zero",
5172 ":perfetto_protos_perfetto_config_ftrace_zero",
5173 ":perfetto_protos_perfetto_config_gpu_zero",
5174 ":perfetto_protos_perfetto_config_inode_file_zero",
5175 ":perfetto_protos_perfetto_config_interceptors_zero",
5176 ":perfetto_protos_perfetto_config_power_zero",
5177 ":perfetto_protos_perfetto_config_process_stats_zero",
5178 ":perfetto_protos_perfetto_config_profiling_zero",
5179 ":perfetto_protos_perfetto_config_statsd_zero",
5180 ":perfetto_protos_perfetto_config_sys_stats_zero",
5181 ":perfetto_protos_perfetto_config_system_info_zero",
5182 ":perfetto_protos_perfetto_config_track_event_zero",
5183 ":perfetto_protos_perfetto_config_zero",
Colin Cross84172332021-09-14 16:41:33 -07005184 ],
5185 tools: [
5186 "aprotoc",
5187 "protozero_plugin",
5188 ],
Spandan Das34f1b982023-10-13 23:24:01 +00005189 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_config_zero)",
Colin Cross84172332021-09-14 16:41:33 -07005190 out: [
5191 "external/perfetto/protos/perfetto/config/chrome/chrome_config.pbzero.h",
Etienne Pierre-dorayd8663352023-02-28 21:24:56 +00005192 "external/perfetto/protos/perfetto/config/chrome/scenario_config.pbzero.h",
Etienne Pierre-doray0508c942024-10-31 15:38:19 +00005193 "external/perfetto/protos/perfetto/config/chrome/system_metrics.pbzero.h",
Carlos Caballero856a7092024-01-15 17:27:35 +00005194 "external/perfetto/protos/perfetto/config/chrome/v8_config.pbzero.h",
Colin Cross84172332021-09-14 16:41:33 -07005195 "external/perfetto/protos/perfetto/config/data_source_config.pbzero.h",
Etienne Pierre-doray7810a882023-12-20 17:10:41 +00005196 "external/perfetto/protos/perfetto/config/etw/etw_config.pbzero.h",
Colin Cross84172332021-09-14 16:41:33 -07005197 "external/perfetto/protos/perfetto/config/interceptor_config.pbzero.h",
5198 "external/perfetto/protos/perfetto/config/stress_test_config.pbzero.h",
5199 "external/perfetto/protos/perfetto/config/test_config.pbzero.h",
5200 "external/perfetto/protos/perfetto/config/trace_config.pbzero.h",
5201 ],
5202 export_include_dirs: [
5203 ".",
5204 "protos",
5205 ],
Sami Kyostila200bd2e2018-03-26 12:24:10 +01005206}
5207
Primiano Tuccie8020f92019-11-26 13:24:01 +00005208// GN: //protos/perfetto/ipc:cpp
Spandan Das34f1b982023-10-13 23:24:01 +00005209filegroup {
5210 name: "perfetto_protos_perfetto_ipc_cpp",
Colin Cross84172332021-09-14 16:41:33 -07005211 srcs: [
5212 "protos/perfetto/ipc/consumer_port.proto",
5213 "protos/perfetto/ipc/producer_port.proto",
Chinglin Yu76788d22024-02-21 15:49:43 +08005214 "protos/perfetto/ipc/relay_port.proto",
Colin Cross84172332021-09-14 16:41:33 -07005215 ],
Spandan Das34f1b982023-10-13 23:24:01 +00005216}
5217
5218// GN: //protos/perfetto/ipc:cpp
5219genrule {
5220 name: "perfetto_protos_perfetto_ipc_cpp_gen",
5221 srcs: [
5222 ":perfetto_protos_perfetto_common_cpp",
5223 ":perfetto_protos_perfetto_config_android_cpp",
5224 ":perfetto_protos_perfetto_config_cpp",
5225 ":perfetto_protos_perfetto_config_ftrace_cpp",
5226 ":perfetto_protos_perfetto_config_gpu_cpp",
5227 ":perfetto_protos_perfetto_config_inode_file_cpp",
5228 ":perfetto_protos_perfetto_config_interceptors_cpp",
5229 ":perfetto_protos_perfetto_config_power_cpp",
5230 ":perfetto_protos_perfetto_config_process_stats_cpp",
5231 ":perfetto_protos_perfetto_config_profiling_cpp",
5232 ":perfetto_protos_perfetto_config_statsd_cpp",
5233 ":perfetto_protos_perfetto_config_sys_stats_cpp",
5234 ":perfetto_protos_perfetto_config_system_info_cpp",
5235 ":perfetto_protos_perfetto_config_track_event_cpp",
5236 ":perfetto_protos_perfetto_ipc_cpp",
5237 ],
Colin Cross84172332021-09-14 16:41:33 -07005238 tools: [
5239 "aprotoc",
5240 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
5241 ],
Spandan Das34f1b982023-10-13 23:24:01 +00005242 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_ipc_cpp)",
Colin Cross84172332021-09-14 16:41:33 -07005243 out: [
5244 "external/perfetto/protos/perfetto/ipc/consumer_port.gen.cc",
5245 "external/perfetto/protos/perfetto/ipc/producer_port.gen.cc",
Chinglin Yu76788d22024-02-21 15:49:43 +08005246 "external/perfetto/protos/perfetto/ipc/relay_port.gen.cc",
Colin Cross84172332021-09-14 16:41:33 -07005247 ],
Primiano Tuccie8020f92019-11-26 13:24:01 +00005248}
5249
5250// GN: //protos/perfetto/ipc:cpp
5251genrule {
Colin Cross84172332021-09-14 16:41:33 -07005252 name: "perfetto_protos_perfetto_ipc_cpp_gen_headers",
5253 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00005254 ":perfetto_protos_perfetto_common_cpp",
5255 ":perfetto_protos_perfetto_config_android_cpp",
5256 ":perfetto_protos_perfetto_config_cpp",
5257 ":perfetto_protos_perfetto_config_ftrace_cpp",
5258 ":perfetto_protos_perfetto_config_gpu_cpp",
5259 ":perfetto_protos_perfetto_config_inode_file_cpp",
5260 ":perfetto_protos_perfetto_config_interceptors_cpp",
5261 ":perfetto_protos_perfetto_config_power_cpp",
5262 ":perfetto_protos_perfetto_config_process_stats_cpp",
5263 ":perfetto_protos_perfetto_config_profiling_cpp",
5264 ":perfetto_protos_perfetto_config_statsd_cpp",
5265 ":perfetto_protos_perfetto_config_sys_stats_cpp",
5266 ":perfetto_protos_perfetto_config_system_info_cpp",
5267 ":perfetto_protos_perfetto_config_track_event_cpp",
5268 ":perfetto_protos_perfetto_ipc_cpp",
Colin Cross84172332021-09-14 16:41:33 -07005269 ],
5270 tools: [
5271 "aprotoc",
5272 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
5273 ],
Spandan Das34f1b982023-10-13 23:24:01 +00005274 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_ipc_cpp)",
Colin Cross84172332021-09-14 16:41:33 -07005275 out: [
5276 "external/perfetto/protos/perfetto/ipc/consumer_port.gen.h",
5277 "external/perfetto/protos/perfetto/ipc/producer_port.gen.h",
Chinglin Yu76788d22024-02-21 15:49:43 +08005278 "external/perfetto/protos/perfetto/ipc/relay_port.gen.h",
Colin Cross84172332021-09-14 16:41:33 -07005279 ],
5280 export_include_dirs: [
5281 ".",
5282 "protos",
5283 ],
Primiano Tuccie8020f92019-11-26 13:24:01 +00005284}
5285
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01005286// GN: //protos/perfetto/ipc:ipc
Spandan Das34f1b982023-10-13 23:24:01 +00005287filegroup {
5288 name: "perfetto_protos_perfetto_ipc_ipc",
Colin Cross84172332021-09-14 16:41:33 -07005289 srcs: [
5290 "protos/perfetto/ipc/consumer_port.proto",
5291 "protos/perfetto/ipc/producer_port.proto",
Chinglin Yu76788d22024-02-21 15:49:43 +08005292 "protos/perfetto/ipc/relay_port.proto",
Colin Cross84172332021-09-14 16:41:33 -07005293 ],
Spandan Das34f1b982023-10-13 23:24:01 +00005294}
5295
5296// GN: //protos/perfetto/ipc:ipc
5297genrule {
5298 name: "perfetto_protos_perfetto_ipc_ipc_gen",
5299 srcs: [
5300 ":perfetto_protos_perfetto_common_cpp",
5301 ":perfetto_protos_perfetto_config_android_cpp",
5302 ":perfetto_protos_perfetto_config_cpp",
5303 ":perfetto_protos_perfetto_config_ftrace_cpp",
5304 ":perfetto_protos_perfetto_config_gpu_cpp",
5305 ":perfetto_protos_perfetto_config_inode_file_cpp",
5306 ":perfetto_protos_perfetto_config_interceptors_cpp",
5307 ":perfetto_protos_perfetto_config_power_cpp",
5308 ":perfetto_protos_perfetto_config_process_stats_cpp",
5309 ":perfetto_protos_perfetto_config_profiling_cpp",
5310 ":perfetto_protos_perfetto_config_statsd_cpp",
5311 ":perfetto_protos_perfetto_config_sys_stats_cpp",
5312 ":perfetto_protos_perfetto_config_system_info_cpp",
5313 ":perfetto_protos_perfetto_config_track_event_cpp",
5314 ":perfetto_protos_perfetto_ipc_cpp",
5315 ":perfetto_protos_perfetto_ipc_ipc",
5316 ":perfetto_protos_perfetto_ipc_wire_protocol_cpp",
5317 ],
Colin Cross84172332021-09-14 16:41:33 -07005318 tools: [
5319 "aprotoc",
5320 "ipc_plugin",
5321 ],
Spandan Das34f1b982023-10-13 23:24:01 +00005322 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location ipc_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_ipc_ipc)",
Colin Cross84172332021-09-14 16:41:33 -07005323 out: [
5324 "external/perfetto/protos/perfetto/ipc/consumer_port.ipc.cc",
5325 "external/perfetto/protos/perfetto/ipc/producer_port.ipc.cc",
Chinglin Yu76788d22024-02-21 15:49:43 +08005326 "external/perfetto/protos/perfetto/ipc/relay_port.ipc.cc",
Colin Cross84172332021-09-14 16:41:33 -07005327 ],
Sami Kyostilaebba0fe2017-12-19 14:01:52 +00005328}
5329
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01005330// GN: //protos/perfetto/ipc:ipc
Sami Kyostilaebba0fe2017-12-19 14:01:52 +00005331genrule {
Colin Cross84172332021-09-14 16:41:33 -07005332 name: "perfetto_protos_perfetto_ipc_ipc_gen_headers",
5333 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00005334 ":perfetto_protos_perfetto_common_cpp",
5335 ":perfetto_protos_perfetto_config_android_cpp",
5336 ":perfetto_protos_perfetto_config_cpp",
5337 ":perfetto_protos_perfetto_config_ftrace_cpp",
5338 ":perfetto_protos_perfetto_config_gpu_cpp",
5339 ":perfetto_protos_perfetto_config_inode_file_cpp",
5340 ":perfetto_protos_perfetto_config_interceptors_cpp",
5341 ":perfetto_protos_perfetto_config_power_cpp",
5342 ":perfetto_protos_perfetto_config_process_stats_cpp",
5343 ":perfetto_protos_perfetto_config_profiling_cpp",
5344 ":perfetto_protos_perfetto_config_statsd_cpp",
5345 ":perfetto_protos_perfetto_config_sys_stats_cpp",
5346 ":perfetto_protos_perfetto_config_system_info_cpp",
5347 ":perfetto_protos_perfetto_config_track_event_cpp",
5348 ":perfetto_protos_perfetto_ipc_cpp",
5349 ":perfetto_protos_perfetto_ipc_ipc",
5350 ":perfetto_protos_perfetto_ipc_wire_protocol_cpp",
Colin Cross84172332021-09-14 16:41:33 -07005351 ],
5352 tools: [
5353 "aprotoc",
5354 "ipc_plugin",
5355 ],
Spandan Das34f1b982023-10-13 23:24:01 +00005356 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location ipc_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_ipc_ipc)",
Colin Cross84172332021-09-14 16:41:33 -07005357 out: [
5358 "external/perfetto/protos/perfetto/ipc/consumer_port.ipc.h",
5359 "external/perfetto/protos/perfetto/ipc/producer_port.ipc.h",
Chinglin Yu76788d22024-02-21 15:49:43 +08005360 "external/perfetto/protos/perfetto/ipc/relay_port.ipc.h",
Colin Cross84172332021-09-14 16:41:33 -07005361 ],
5362 export_include_dirs: [
5363 ".",
5364 "protos",
5365 ],
Primiano Tucci3aa027d2019-11-22 21:43:43 +00005366}
5367
Primiano Tuccib3e08d02019-11-19 11:10:11 +00005368// GN: //protos/perfetto/ipc:wire_protocol_cpp
Spandan Das34f1b982023-10-13 23:24:01 +00005369filegroup {
5370 name: "perfetto_protos_perfetto_ipc_wire_protocol_cpp",
5371 srcs: [
5372 "protos/perfetto/ipc/wire_protocol.proto",
5373 ],
5374}
5375
5376// GN: //protos/perfetto/ipc:wire_protocol_cpp
Primiano Tucci879cafd2019-09-08 07:44:56 -07005377genrule {
Colin Cross84172332021-09-14 16:41:33 -07005378 name: "perfetto_protos_perfetto_ipc_wire_protocol_cpp_gen",
5379 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00005380 ":perfetto_protos_perfetto_ipc_wire_protocol_cpp",
Colin Cross84172332021-09-14 16:41:33 -07005381 ],
5382 tools: [
5383 "aprotoc",
5384 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
5385 ],
Spandan Das34f1b982023-10-13 23:24:01 +00005386 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_ipc_wire_protocol_cpp)",
Colin Cross84172332021-09-14 16:41:33 -07005387 out: [
5388 "external/perfetto/protos/perfetto/ipc/wire_protocol.gen.cc",
5389 ],
Primiano Tucci879cafd2019-09-08 07:44:56 -07005390}
5391
Primiano Tuccib3e08d02019-11-19 11:10:11 +00005392// GN: //protos/perfetto/ipc:wire_protocol_cpp
Primiano Tucci879cafd2019-09-08 07:44:56 -07005393genrule {
Colin Cross84172332021-09-14 16:41:33 -07005394 name: "perfetto_protos_perfetto_ipc_wire_protocol_cpp_gen_headers",
5395 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00005396 ":perfetto_protos_perfetto_ipc_wire_protocol_cpp",
Colin Cross84172332021-09-14 16:41:33 -07005397 ],
5398 tools: [
5399 "aprotoc",
5400 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
5401 ],
Spandan Das34f1b982023-10-13 23:24:01 +00005402 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_ipc_wire_protocol_cpp)",
Colin Cross84172332021-09-14 16:41:33 -07005403 out: [
5404 "external/perfetto/protos/perfetto/ipc/wire_protocol.gen.h",
5405 ],
5406 export_include_dirs: [
5407 ".",
5408 "protos",
5409 ],
Primiano Tuccib3e08d02019-11-19 11:10:11 +00005410}
5411
Lalit Maganti3b09a3f2020-09-14 13:28:44 +01005412// GN: //protos/perfetto/metrics/chrome:descriptor
5413genrule {
Colin Cross84172332021-09-14 16:41:33 -07005414 name: "perfetto_protos_perfetto_metrics_chrome_descriptor",
5415 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00005416 ":libprotobuf-internal-descriptor-proto",
Yang Wangd319afd2023-10-03 14:34:54 +00005417 "protos/perfetto/metrics/android/ad_services_metric.proto",
Zimuzo Ezeozue45d43592024-07-30 16:45:13 +01005418 "protos/perfetto/metrics/android/android_anomaly_metric.proto",
Daniele Di Proietto18c60f42023-06-20 17:45:49 +00005419 "protos/perfetto/metrics/android/android_blocking_call.proto",
Nicolo' Mazzucato02b288a2023-03-08 14:17:24 +00005420 "protos/perfetto/metrics/android/android_blocking_calls_cuj_metric.proto",
Devarshi Bhattcc701fa2024-03-11 11:00:19 +00005421 "protos/perfetto/metrics/android/android_blocking_calls_unagg.proto",
Mark Fasheh0771a8d2023-09-14 19:21:15 +00005422 "protos/perfetto/metrics/android/android_boot.proto",
Parth Saneec439dd2024-02-13 17:21:09 +00005423 "protos/perfetto/metrics/android/android_boot_unagg.proto",
Parth Sane106a9b12024-05-31 13:13:59 +00005424 "protos/perfetto/metrics/android/android_broadcasts_metric.proto",
Shihhsun Ho7edcbe62022-05-09 13:55:52 +08005425 "protos/perfetto/metrics/android/android_frame_timeline_metric.proto",
Parth Sane87c92f82024-02-29 11:34:54 +00005426 "protos/perfetto/metrics/android/android_garbage_collection_unagg_metric.proto",
Parth Sane60222f52024-03-20 15:37:07 +00005427 "protos/perfetto/metrics/android/android_oom_adjuster_metric.proto",
Ibrahim Yilmazfcc587a2023-05-15 19:16:37 +00005428 "protos/perfetto/metrics/android/android_sysui_notifications_blocking_calls_metric.proto",
Ben Mileseae7c182023-08-21 16:00:19 +01005429 "protos/perfetto/metrics/android/anr_metric.proto",
Parth Saneec439dd2024-02-13 17:21:09 +00005430 "protos/perfetto/metrics/android/app_process_starts_metric.proto",
Ivan Kozlov9e6623c2024-04-22 15:46:46 -07005431 "protos/perfetto/metrics/android/auto_metric.proto",
Colin Cross84172332021-09-14 16:41:33 -07005432 "protos/perfetto/metrics/android/batt_metric.proto",
Jon Spivackb0974a72022-04-27 16:07:10 -07005433 "protos/perfetto/metrics/android/binder_metric.proto",
Lalit Maganti262252a2021-10-15 12:17:53 +01005434 "protos/perfetto/metrics/android/camera_metric.proto",
Lalit Magantic16c7212021-12-16 17:32:55 +00005435 "protos/perfetto/metrics/android/camera_unagg_metric.proto",
Arun Johnsone922fa22023-06-09 00:30:40 +00005436 "protos/perfetto/metrics/android/codec_metrics.proto",
Colin Cross84172332021-09-14 16:41:33 -07005437 "protos/perfetto/metrics/android/cpu_metric.proto",
5438 "protos/perfetto/metrics/android/display_metrics.proto",
5439 "protos/perfetto/metrics/android/dma_heap_metric.proto",
Luke Chang476e9442021-11-09 23:14:34 +08005440 "protos/perfetto/metrics/android/dvfs_metric.proto",
Colin Cross84172332021-09-14 16:41:33 -07005441 "protos/perfetto/metrics/android/fastrpc_metric.proto",
5442 "protos/perfetto/metrics/android/g2d_metric.proto",
5443 "protos/perfetto/metrics/android/gpu_metric.proto",
5444 "protos/perfetto/metrics/android/hwcomposer.proto",
5445 "protos/perfetto/metrics/android/hwui_metric.proto",
Parth Sane94d0cfb2023-07-11 13:58:17 +00005446 "protos/perfetto/metrics/android/io_metric.proto",
5447 "protos/perfetto/metrics/android/io_unagg_metric.proto",
Colin Cross84172332021-09-14 16:41:33 -07005448 "protos/perfetto/metrics/android/ion_metric.proto",
Shihhsun Ho2305a1d2022-01-13 19:58:02 +08005449 "protos/perfetto/metrics/android/irq_runtime_metric.proto",
Marcin Oczeretko7bde3642022-07-14 17:26:02 +01005450 "protos/perfetto/metrics/android/jank_cuj_metric.proto",
Bingqian Liu71ff4022024-05-02 13:21:53 +01005451 "protos/perfetto/metrics/android/java_heap_class_stats.proto",
Colin Cross84172332021-09-14 16:41:33 -07005452 "protos/perfetto/metrics/android/java_heap_histogram.proto",
5453 "protos/perfetto/metrics/android/java_heap_stats.proto",
5454 "protos/perfetto/metrics/android/lmk_metric.proto",
5455 "protos/perfetto/metrics/android/lmk_reason_metric.proto",
5456 "protos/perfetto/metrics/android/mem_metric.proto",
5457 "protos/perfetto/metrics/android/mem_unagg_metric.proto",
Parth Sane0406a202023-08-24 11:08:52 +00005458 "protos/perfetto/metrics/android/monitor_contention_agg_metric.proto",
Hector Dearman19b76ac2023-03-23 10:04:54 +00005459 "protos/perfetto/metrics/android/monitor_contention_metric.proto",
Colin Cross84172332021-09-14 16:41:33 -07005460 "protos/perfetto/metrics/android/multiuser_metric.proto",
Luke Change25d2c42021-12-07 16:08:32 +08005461 "protos/perfetto/metrics/android/network_metric.proto",
Colin Cross84172332021-09-14 16:41:33 -07005462 "protos/perfetto/metrics/android/package_list.proto",
5463 "protos/perfetto/metrics/android/powrails_metric.proto",
5464 "protos/perfetto/metrics/android/process_metadata.proto",
5465 "protos/perfetto/metrics/android/profiler_smaps.proto",
Shihhsun Ho9cc8d502022-01-03 13:21:23 +08005466 "protos/perfetto/metrics/android/rt_runtime_metric.proto",
Wiwit Rifa'ia944ed62021-09-29 15:11:18 +08005467 "protos/perfetto/metrics/android/simpleperf.proto",
Colin Cross84172332021-09-14 16:41:33 -07005468 "protos/perfetto/metrics/android/startup_metric.proto",
5469 "protos/perfetto/metrics/android/surfaceflinger.proto",
Yining Liu99c4fc02023-11-14 04:24:40 +00005470 "protos/perfetto/metrics/android/sysui_notif_shade_list_builder_metric.proto",
Yining Liu5352ae82023-11-15 00:27:35 +00005471 "protos/perfetto/metrics/android/sysui_slice_performance_statistical_data.proto",
5472 "protos/perfetto/metrics/android/sysui_update_notif_on_ui_mode_changed_metric.proto",
Colin Cross84172332021-09-14 16:41:33 -07005473 "protos/perfetto/metrics/android/task_names.proto",
5474 "protos/perfetto/metrics/android/thread_time_in_state_metric.proto",
5475 "protos/perfetto/metrics/android/trace_quality.proto",
5476 "protos/perfetto/metrics/android/unsymbolized_frames.proto",
Samuel Wu5ee75882024-07-11 17:55:12 -07005477 "protos/perfetto/metrics/android/wattson_in_time_period.proto",
Samuel Wu900e4c42024-08-08 16:12:10 -07005478 "protos/perfetto/metrics/android/wattson_tasks_attribution.proto",
Colin Cross84172332021-09-14 16:41:33 -07005479 "protos/perfetto/metrics/chrome/all_chrome_metrics.proto",
Violetta Fedotovaae0f6142022-11-22 12:14:17 +00005480 "protos/perfetto/metrics/chrome/args_class_names.proto",
Mingjing Zhang309a1c02021-11-04 22:41:40 -04005481 "protos/perfetto/metrics/chrome/dropped_frames.proto",
Colin Cross84172332021-09-14 16:41:33 -07005482 "protos/perfetto/metrics/chrome/frame_times.proto",
Igor Kraskevich95d635f2022-03-24 16:03:57 +00005483 "protos/perfetto/metrics/chrome/histogram_hashes.proto",
Masami Hiramatsu5e8f9a72024-11-01 15:11:54 +09005484 "protos/perfetto/metrics/chrome/histogram_summaries.proto",
Mingjing Zhang2a32f6b2022-03-22 16:13:21 -04005485 "protos/perfetto/metrics/chrome/long_latency.proto",
Colin Cross84172332021-09-14 16:41:33 -07005486 "protos/perfetto/metrics/chrome/media_metric.proto",
Igor Kraskevichf7cf8182022-04-04 11:41:28 +00005487 "protos/perfetto/metrics/chrome/performance_mark_hashes.proto",
Colin Cross84172332021-09-14 16:41:33 -07005488 "protos/perfetto/metrics/chrome/reported_by_page.proto",
5489 "protos/perfetto/metrics/chrome/scroll_jank.proto",
Tushar Agarwaldd8b4972023-06-30 11:10:26 +00005490 "protos/perfetto/metrics/chrome/scroll_jank_v3.proto",
Igor Kraskevich1888cff2022-04-07 11:07:37 +00005491 "protos/perfetto/metrics/chrome/slice_names.proto",
Etienne Pierre-doray9e11af52024-11-15 19:55:11 +00005492 "protos/perfetto/metrics/chrome/study_hashes.proto",
Colin Cross84172332021-09-14 16:41:33 -07005493 "protos/perfetto/metrics/chrome/test_chrome_metric.proto",
5494 "protos/perfetto/metrics/chrome/touch_jank.proto",
Igor Kraskevich92c7c5a2022-06-23 16:24:17 +00005495 "protos/perfetto/metrics/chrome/unsymbolized_args.proto",
Igor Kraskevich32214832022-03-25 13:12:53 +00005496 "protos/perfetto/metrics/chrome/user_event_hashes.proto",
Colin Cross84172332021-09-14 16:41:33 -07005497 "protos/perfetto/metrics/custom_options.proto",
5498 "protos/perfetto/metrics/metrics.proto",
5499 ],
5500 tools: [
5501 "aprotoc",
5502 ],
5503 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --proto_path=external/protobuf/src --descriptor_set_out=$(out) $(in)",
5504 out: [
5505 "perfetto_protos_perfetto_metrics_chrome_descriptor.bin",
5506 ],
Lalit Maganti3b09a3f2020-09-14 13:28:44 +01005507}
5508
Lalit Maganti117272f2020-09-11 14:01:18 +01005509// GN: //protos/perfetto/metrics:descriptor
5510genrule {
Colin Cross84172332021-09-14 16:41:33 -07005511 name: "perfetto_protos_perfetto_metrics_descriptor",
5512 srcs: [
Yang Wangd319afd2023-10-03 14:34:54 +00005513 "protos/perfetto/metrics/android/ad_services_metric.proto",
Zimuzo Ezeozue45d43592024-07-30 16:45:13 +01005514 "protos/perfetto/metrics/android/android_anomaly_metric.proto",
Daniele Di Proietto18c60f42023-06-20 17:45:49 +00005515 "protos/perfetto/metrics/android/android_blocking_call.proto",
Nicolo' Mazzucato02b288a2023-03-08 14:17:24 +00005516 "protos/perfetto/metrics/android/android_blocking_calls_cuj_metric.proto",
Devarshi Bhattcc701fa2024-03-11 11:00:19 +00005517 "protos/perfetto/metrics/android/android_blocking_calls_unagg.proto",
Mark Fasheh0771a8d2023-09-14 19:21:15 +00005518 "protos/perfetto/metrics/android/android_boot.proto",
Parth Saneec439dd2024-02-13 17:21:09 +00005519 "protos/perfetto/metrics/android/android_boot_unagg.proto",
Parth Sane106a9b12024-05-31 13:13:59 +00005520 "protos/perfetto/metrics/android/android_broadcasts_metric.proto",
Shihhsun Ho7edcbe62022-05-09 13:55:52 +08005521 "protos/perfetto/metrics/android/android_frame_timeline_metric.proto",
Parth Sane87c92f82024-02-29 11:34:54 +00005522 "protos/perfetto/metrics/android/android_garbage_collection_unagg_metric.proto",
Parth Sane60222f52024-03-20 15:37:07 +00005523 "protos/perfetto/metrics/android/android_oom_adjuster_metric.proto",
Ibrahim Yilmazfcc587a2023-05-15 19:16:37 +00005524 "protos/perfetto/metrics/android/android_sysui_notifications_blocking_calls_metric.proto",
Ben Mileseae7c182023-08-21 16:00:19 +01005525 "protos/perfetto/metrics/android/anr_metric.proto",
Parth Saneec439dd2024-02-13 17:21:09 +00005526 "protos/perfetto/metrics/android/app_process_starts_metric.proto",
Ivan Kozlov9e6623c2024-04-22 15:46:46 -07005527 "protos/perfetto/metrics/android/auto_metric.proto",
Colin Cross84172332021-09-14 16:41:33 -07005528 "protos/perfetto/metrics/android/batt_metric.proto",
Jon Spivackb0974a72022-04-27 16:07:10 -07005529 "protos/perfetto/metrics/android/binder_metric.proto",
Lalit Maganti262252a2021-10-15 12:17:53 +01005530 "protos/perfetto/metrics/android/camera_metric.proto",
Lalit Magantic16c7212021-12-16 17:32:55 +00005531 "protos/perfetto/metrics/android/camera_unagg_metric.proto",
Arun Johnsone922fa22023-06-09 00:30:40 +00005532 "protos/perfetto/metrics/android/codec_metrics.proto",
Colin Cross84172332021-09-14 16:41:33 -07005533 "protos/perfetto/metrics/android/cpu_metric.proto",
5534 "protos/perfetto/metrics/android/display_metrics.proto",
5535 "protos/perfetto/metrics/android/dma_heap_metric.proto",
Luke Chang476e9442021-11-09 23:14:34 +08005536 "protos/perfetto/metrics/android/dvfs_metric.proto",
Colin Cross84172332021-09-14 16:41:33 -07005537 "protos/perfetto/metrics/android/fastrpc_metric.proto",
5538 "protos/perfetto/metrics/android/g2d_metric.proto",
5539 "protos/perfetto/metrics/android/gpu_metric.proto",
5540 "protos/perfetto/metrics/android/hwcomposer.proto",
5541 "protos/perfetto/metrics/android/hwui_metric.proto",
Parth Sane94d0cfb2023-07-11 13:58:17 +00005542 "protos/perfetto/metrics/android/io_metric.proto",
5543 "protos/perfetto/metrics/android/io_unagg_metric.proto",
Colin Cross84172332021-09-14 16:41:33 -07005544 "protos/perfetto/metrics/android/ion_metric.proto",
Shihhsun Ho2305a1d2022-01-13 19:58:02 +08005545 "protos/perfetto/metrics/android/irq_runtime_metric.proto",
Marcin Oczeretko7bde3642022-07-14 17:26:02 +01005546 "protos/perfetto/metrics/android/jank_cuj_metric.proto",
Bingqian Liu71ff4022024-05-02 13:21:53 +01005547 "protos/perfetto/metrics/android/java_heap_class_stats.proto",
Colin Cross84172332021-09-14 16:41:33 -07005548 "protos/perfetto/metrics/android/java_heap_histogram.proto",
5549 "protos/perfetto/metrics/android/java_heap_stats.proto",
5550 "protos/perfetto/metrics/android/lmk_metric.proto",
5551 "protos/perfetto/metrics/android/lmk_reason_metric.proto",
5552 "protos/perfetto/metrics/android/mem_metric.proto",
5553 "protos/perfetto/metrics/android/mem_unagg_metric.proto",
Parth Sane0406a202023-08-24 11:08:52 +00005554 "protos/perfetto/metrics/android/monitor_contention_agg_metric.proto",
Hector Dearman19b76ac2023-03-23 10:04:54 +00005555 "protos/perfetto/metrics/android/monitor_contention_metric.proto",
Colin Cross84172332021-09-14 16:41:33 -07005556 "protos/perfetto/metrics/android/multiuser_metric.proto",
Luke Change25d2c42021-12-07 16:08:32 +08005557 "protos/perfetto/metrics/android/network_metric.proto",
Colin Cross84172332021-09-14 16:41:33 -07005558 "protos/perfetto/metrics/android/package_list.proto",
5559 "protos/perfetto/metrics/android/powrails_metric.proto",
5560 "protos/perfetto/metrics/android/process_metadata.proto",
5561 "protos/perfetto/metrics/android/profiler_smaps.proto",
Shihhsun Ho9cc8d502022-01-03 13:21:23 +08005562 "protos/perfetto/metrics/android/rt_runtime_metric.proto",
Wiwit Rifa'ia944ed62021-09-29 15:11:18 +08005563 "protos/perfetto/metrics/android/simpleperf.proto",
Colin Cross84172332021-09-14 16:41:33 -07005564 "protos/perfetto/metrics/android/startup_metric.proto",
5565 "protos/perfetto/metrics/android/surfaceflinger.proto",
Yining Liu99c4fc02023-11-14 04:24:40 +00005566 "protos/perfetto/metrics/android/sysui_notif_shade_list_builder_metric.proto",
Yining Liu5352ae82023-11-15 00:27:35 +00005567 "protos/perfetto/metrics/android/sysui_slice_performance_statistical_data.proto",
5568 "protos/perfetto/metrics/android/sysui_update_notif_on_ui_mode_changed_metric.proto",
Colin Cross84172332021-09-14 16:41:33 -07005569 "protos/perfetto/metrics/android/task_names.proto",
5570 "protos/perfetto/metrics/android/thread_time_in_state_metric.proto",
5571 "protos/perfetto/metrics/android/trace_quality.proto",
5572 "protos/perfetto/metrics/android/unsymbolized_frames.proto",
Samuel Wu5ee75882024-07-11 17:55:12 -07005573 "protos/perfetto/metrics/android/wattson_in_time_period.proto",
Samuel Wu900e4c42024-08-08 16:12:10 -07005574 "protos/perfetto/metrics/android/wattson_tasks_attribution.proto",
Colin Cross84172332021-09-14 16:41:33 -07005575 "protos/perfetto/metrics/metrics.proto",
5576 ],
5577 tools: [
5578 "aprotoc",
5579 ],
5580 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --descriptor_set_out=$(out) $(in)",
5581 out: [
5582 "perfetto_protos_perfetto_metrics_descriptor.bin",
5583 ],
Lalit Maganti117272f2020-09-11 14:01:18 +01005584}
5585
Oksana Zhuravlova62ef13f2023-04-20 14:19:17 +00005586// GN: //protos/perfetto/metrics/webview:descriptor
5587genrule {
5588 name: "perfetto_protos_perfetto_metrics_webview_descriptor",
5589 srcs: [
Daniele Di Proiettof6f6e782024-04-29 14:21:48 +00005590 ":libprotobuf-internal-descriptor-proto",
Yang Wangd319afd2023-10-03 14:34:54 +00005591 "protos/perfetto/metrics/android/ad_services_metric.proto",
Zimuzo Ezeozue45d43592024-07-30 16:45:13 +01005592 "protos/perfetto/metrics/android/android_anomaly_metric.proto",
Daniele Di Proietto18c60f42023-06-20 17:45:49 +00005593 "protos/perfetto/metrics/android/android_blocking_call.proto",
Oksana Zhuravlova62ef13f2023-04-20 14:19:17 +00005594 "protos/perfetto/metrics/android/android_blocking_calls_cuj_metric.proto",
Devarshi Bhattcc701fa2024-03-11 11:00:19 +00005595 "protos/perfetto/metrics/android/android_blocking_calls_unagg.proto",
Mark Fasheh0771a8d2023-09-14 19:21:15 +00005596 "protos/perfetto/metrics/android/android_boot.proto",
Parth Saneec439dd2024-02-13 17:21:09 +00005597 "protos/perfetto/metrics/android/android_boot_unagg.proto",
Parth Sane106a9b12024-05-31 13:13:59 +00005598 "protos/perfetto/metrics/android/android_broadcasts_metric.proto",
Oksana Zhuravlova62ef13f2023-04-20 14:19:17 +00005599 "protos/perfetto/metrics/android/android_frame_timeline_metric.proto",
Parth Sane87c92f82024-02-29 11:34:54 +00005600 "protos/perfetto/metrics/android/android_garbage_collection_unagg_metric.proto",
Parth Sane60222f52024-03-20 15:37:07 +00005601 "protos/perfetto/metrics/android/android_oom_adjuster_metric.proto",
Zim5f9c9aa2023-06-20 00:56:25 +01005602 "protos/perfetto/metrics/android/android_sysui_notifications_blocking_calls_metric.proto",
Ben Mileseae7c182023-08-21 16:00:19 +01005603 "protos/perfetto/metrics/android/anr_metric.proto",
Parth Saneec439dd2024-02-13 17:21:09 +00005604 "protos/perfetto/metrics/android/app_process_starts_metric.proto",
Ivan Kozlov9e6623c2024-04-22 15:46:46 -07005605 "protos/perfetto/metrics/android/auto_metric.proto",
Oksana Zhuravlova62ef13f2023-04-20 14:19:17 +00005606 "protos/perfetto/metrics/android/batt_metric.proto",
5607 "protos/perfetto/metrics/android/binder_metric.proto",
5608 "protos/perfetto/metrics/android/camera_metric.proto",
5609 "protos/perfetto/metrics/android/camera_unagg_metric.proto",
Arun Johnsone922fa22023-06-09 00:30:40 +00005610 "protos/perfetto/metrics/android/codec_metrics.proto",
Oksana Zhuravlova62ef13f2023-04-20 14:19:17 +00005611 "protos/perfetto/metrics/android/cpu_metric.proto",
5612 "protos/perfetto/metrics/android/display_metrics.proto",
5613 "protos/perfetto/metrics/android/dma_heap_metric.proto",
5614 "protos/perfetto/metrics/android/dvfs_metric.proto",
5615 "protos/perfetto/metrics/android/fastrpc_metric.proto",
5616 "protos/perfetto/metrics/android/g2d_metric.proto",
5617 "protos/perfetto/metrics/android/gpu_metric.proto",
5618 "protos/perfetto/metrics/android/hwcomposer.proto",
5619 "protos/perfetto/metrics/android/hwui_metric.proto",
Parth Sane94d0cfb2023-07-11 13:58:17 +00005620 "protos/perfetto/metrics/android/io_metric.proto",
5621 "protos/perfetto/metrics/android/io_unagg_metric.proto",
Oksana Zhuravlova62ef13f2023-04-20 14:19:17 +00005622 "protos/perfetto/metrics/android/ion_metric.proto",
5623 "protos/perfetto/metrics/android/irq_runtime_metric.proto",
5624 "protos/perfetto/metrics/android/jank_cuj_metric.proto",
Bingqian Liu71ff4022024-05-02 13:21:53 +01005625 "protos/perfetto/metrics/android/java_heap_class_stats.proto",
Oksana Zhuravlova62ef13f2023-04-20 14:19:17 +00005626 "protos/perfetto/metrics/android/java_heap_histogram.proto",
5627 "protos/perfetto/metrics/android/java_heap_stats.proto",
5628 "protos/perfetto/metrics/android/lmk_metric.proto",
5629 "protos/perfetto/metrics/android/lmk_reason_metric.proto",
5630 "protos/perfetto/metrics/android/mem_metric.proto",
5631 "protos/perfetto/metrics/android/mem_unagg_metric.proto",
Parth Sane0406a202023-08-24 11:08:52 +00005632 "protos/perfetto/metrics/android/monitor_contention_agg_metric.proto",
Oksana Zhuravlova62ef13f2023-04-20 14:19:17 +00005633 "protos/perfetto/metrics/android/monitor_contention_metric.proto",
5634 "protos/perfetto/metrics/android/multiuser_metric.proto",
5635 "protos/perfetto/metrics/android/network_metric.proto",
Oksana Zhuravlova62ef13f2023-04-20 14:19:17 +00005636 "protos/perfetto/metrics/android/package_list.proto",
5637 "protos/perfetto/metrics/android/powrails_metric.proto",
5638 "protos/perfetto/metrics/android/process_metadata.proto",
5639 "protos/perfetto/metrics/android/profiler_smaps.proto",
5640 "protos/perfetto/metrics/android/rt_runtime_metric.proto",
5641 "protos/perfetto/metrics/android/simpleperf.proto",
5642 "protos/perfetto/metrics/android/startup_metric.proto",
5643 "protos/perfetto/metrics/android/surfaceflinger.proto",
Yining Liu99c4fc02023-11-14 04:24:40 +00005644 "protos/perfetto/metrics/android/sysui_notif_shade_list_builder_metric.proto",
Yining Liu5352ae82023-11-15 00:27:35 +00005645 "protos/perfetto/metrics/android/sysui_slice_performance_statistical_data.proto",
5646 "protos/perfetto/metrics/android/sysui_update_notif_on_ui_mode_changed_metric.proto",
Oksana Zhuravlova62ef13f2023-04-20 14:19:17 +00005647 "protos/perfetto/metrics/android/task_names.proto",
5648 "protos/perfetto/metrics/android/thread_time_in_state_metric.proto",
5649 "protos/perfetto/metrics/android/trace_quality.proto",
5650 "protos/perfetto/metrics/android/unsymbolized_frames.proto",
Samuel Wu5ee75882024-07-11 17:55:12 -07005651 "protos/perfetto/metrics/android/wattson_in_time_period.proto",
Samuel Wu900e4c42024-08-08 16:12:10 -07005652 "protos/perfetto/metrics/android/wattson_tasks_attribution.proto",
Oksana Zhuravlova62ef13f2023-04-20 14:19:17 +00005653 "protos/perfetto/metrics/metrics.proto",
5654 "protos/perfetto/metrics/webview/all_webview_metrics.proto",
5655 "protos/perfetto/metrics/webview/webview_jank_approximation.proto",
5656 ],
5657 tools: [
5658 "aprotoc",
5659 ],
Daniele Di Proiettof6f6e782024-04-29 14:21:48 +00005660 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --proto_path=external/protobuf/src --descriptor_set_out=$(out) $(in)",
Oksana Zhuravlova62ef13f2023-04-20 14:19:17 +00005661 out: [
5662 "perfetto_protos_perfetto_metrics_webview_descriptor.bin",
5663 ],
5664}
5665
Daniele Di Proietto3a4b48a2024-06-27 11:46:04 +00005666// GN: //protos/perfetto/trace/android:android_track_event_descriptor
5667genrule {
5668 name: "perfetto_protos_perfetto_trace_android_android_track_event_descriptor",
5669 srcs: [
5670 "protos/perfetto/trace/android/android_track_event.proto",
5671 "protos/perfetto/trace/track_event/chrome_active_processes.proto",
5672 "protos/perfetto/trace/track_event/chrome_application_state_info.proto",
5673 "protos/perfetto/trace/track_event/chrome_compositor_scheduler_state.proto",
5674 "protos/perfetto/trace/track_event/chrome_content_settings_event_info.proto",
5675 "protos/perfetto/trace/track_event/chrome_frame_reporter.proto",
5676 "protos/perfetto/trace/track_event/chrome_histogram_sample.proto",
5677 "protos/perfetto/trace/track_event/chrome_keyed_service.proto",
5678 "protos/perfetto/trace/track_event/chrome_latency_info.proto",
5679 "protos/perfetto/trace/track_event/chrome_legacy_ipc.proto",
5680 "protos/perfetto/trace/track_event/chrome_message_pump.proto",
5681 "protos/perfetto/trace/track_event/chrome_mojo_event_info.proto",
5682 "protos/perfetto/trace/track_event/chrome_process_descriptor.proto",
5683 "protos/perfetto/trace/track_event/chrome_renderer_scheduler_state.proto",
5684 "protos/perfetto/trace/track_event/chrome_thread_descriptor.proto",
5685 "protos/perfetto/trace/track_event/chrome_user_event.proto",
5686 "protos/perfetto/trace/track_event/chrome_window_handle_event_info.proto",
5687 "protos/perfetto/trace/track_event/counter_descriptor.proto",
5688 "protos/perfetto/trace/track_event/debug_annotation.proto",
5689 "protos/perfetto/trace/track_event/log_message.proto",
Daniele Di Proietto3a4b48a2024-06-27 11:46:04 +00005690 "protos/perfetto/trace/track_event/process_descriptor.proto",
5691 "protos/perfetto/trace/track_event/range_of_interest.proto",
5692 "protos/perfetto/trace/track_event/screenshot.proto",
5693 "protos/perfetto/trace/track_event/source_location.proto",
5694 "protos/perfetto/trace/track_event/task_execution.proto",
5695 "protos/perfetto/trace/track_event/thread_descriptor.proto",
5696 "protos/perfetto/trace/track_event/track_descriptor.proto",
5697 "protos/perfetto/trace/track_event/track_event.proto",
5698 ],
5699 tools: [
5700 "aprotoc",
5701 ],
5702 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --descriptor_set_out=$(out) $(in)",
5703 out: [
5704 "perfetto_protos_perfetto_trace_android_android_track_event_descriptor.bin",
5705 ],
5706}
5707
Primiano Tuccife502c42019-12-11 01:00:27 +00005708// GN: //protos/perfetto/trace/android:cpp
Spandan Das34f1b982023-10-13 23:24:01 +00005709filegroup {
5710 name: "perfetto_protos_perfetto_trace_android_cpp",
Colin Cross84172332021-09-14 16:41:33 -07005711 srcs: [
Andy Yu2e3c9b62022-05-31 11:23:18 -07005712 "protos/perfetto/trace/android/android_game_intervention_list.proto",
Colin Cross84172332021-09-14 16:41:33 -07005713 "protos/perfetto/trace/android/android_log.proto",
Simon MacMullenf0a6b382022-07-06 16:35:55 +00005714 "protos/perfetto/trace/android/android_system_property.proto",
Michael Eastwoodeb86b892022-01-20 15:59:09 -08005715 "protos/perfetto/trace/android/camera_event.proto",
Colin Cross84172332021-09-14 16:41:33 -07005716 "protos/perfetto/trace/android/frame_timeline_event.proto",
5717 "protos/perfetto/trace/android/gpu_mem_event.proto",
5718 "protos/perfetto/trace/android/graphics_frame_event.proto",
5719 "protos/perfetto/trace/android/initial_display_state.proto",
Ryan Zuklie1c0a5002022-11-18 17:03:37 -08005720 "protos/perfetto/trace/android/network_trace.proto",
Colin Cross84172332021-09-14 16:41:33 -07005721 "protos/perfetto/trace/android/packages_list.proto",
Simon MacMullen10715962024-04-18 17:48:47 +00005722 "protos/perfetto/trace/android/pixel_modem_events.proto",
Colin Cross84172332021-09-14 16:41:33 -07005723 ],
Spandan Das34f1b982023-10-13 23:24:01 +00005724}
5725
5726// GN: //protos/perfetto/trace/android:cpp
5727genrule {
5728 name: "perfetto_protos_perfetto_trace_android_cpp_gen",
5729 srcs: [
5730 ":perfetto_protos_perfetto_common_cpp",
5731 ":perfetto_protos_perfetto_trace_android_cpp",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00005732 ":perfetto_protos_perfetto_trace_android_winscope_common_cpp",
5733 ":perfetto_protos_perfetto_trace_android_winscope_regular_cpp",
Spandan Das34f1b982023-10-13 23:24:01 +00005734 ],
Colin Cross84172332021-09-14 16:41:33 -07005735 tools: [
5736 "aprotoc",
5737 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
5738 ],
Spandan Das34f1b982023-10-13 23:24:01 +00005739 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_android_cpp)",
Colin Cross84172332021-09-14 16:41:33 -07005740 out: [
Andy Yu2e3c9b62022-05-31 11:23:18 -07005741 "external/perfetto/protos/perfetto/trace/android/android_game_intervention_list.gen.cc",
Colin Cross84172332021-09-14 16:41:33 -07005742 "external/perfetto/protos/perfetto/trace/android/android_log.gen.cc",
Simon MacMullenf0a6b382022-07-06 16:35:55 +00005743 "external/perfetto/protos/perfetto/trace/android/android_system_property.gen.cc",
Michael Eastwoodeb86b892022-01-20 15:59:09 -08005744 "external/perfetto/protos/perfetto/trace/android/camera_event.gen.cc",
Colin Cross84172332021-09-14 16:41:33 -07005745 "external/perfetto/protos/perfetto/trace/android/frame_timeline_event.gen.cc",
5746 "external/perfetto/protos/perfetto/trace/android/gpu_mem_event.gen.cc",
5747 "external/perfetto/protos/perfetto/trace/android/graphics_frame_event.gen.cc",
5748 "external/perfetto/protos/perfetto/trace/android/initial_display_state.gen.cc",
Ryan Zuklie1c0a5002022-11-18 17:03:37 -08005749 "external/perfetto/protos/perfetto/trace/android/network_trace.gen.cc",
Colin Cross84172332021-09-14 16:41:33 -07005750 "external/perfetto/protos/perfetto/trace/android/packages_list.gen.cc",
Simon MacMullen10715962024-04-18 17:48:47 +00005751 "external/perfetto/protos/perfetto/trace/android/pixel_modem_events.gen.cc",
Colin Cross84172332021-09-14 16:41:33 -07005752 ],
Primiano Tuccife502c42019-12-11 01:00:27 +00005753}
5754
5755// GN: //protos/perfetto/trace/android:cpp
5756genrule {
Colin Cross84172332021-09-14 16:41:33 -07005757 name: "perfetto_protos_perfetto_trace_android_cpp_gen_headers",
5758 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00005759 ":perfetto_protos_perfetto_common_cpp",
5760 ":perfetto_protos_perfetto_trace_android_cpp",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00005761 ":perfetto_protos_perfetto_trace_android_winscope_common_cpp",
5762 ":perfetto_protos_perfetto_trace_android_winscope_regular_cpp",
Colin Cross84172332021-09-14 16:41:33 -07005763 ],
5764 tools: [
5765 "aprotoc",
5766 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
5767 ],
Spandan Das34f1b982023-10-13 23:24:01 +00005768 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_android_cpp)",
Colin Cross84172332021-09-14 16:41:33 -07005769 out: [
Andy Yu2e3c9b62022-05-31 11:23:18 -07005770 "external/perfetto/protos/perfetto/trace/android/android_game_intervention_list.gen.h",
Colin Cross84172332021-09-14 16:41:33 -07005771 "external/perfetto/protos/perfetto/trace/android/android_log.gen.h",
Simon MacMullenf0a6b382022-07-06 16:35:55 +00005772 "external/perfetto/protos/perfetto/trace/android/android_system_property.gen.h",
Michael Eastwoodeb86b892022-01-20 15:59:09 -08005773 "external/perfetto/protos/perfetto/trace/android/camera_event.gen.h",
Colin Cross84172332021-09-14 16:41:33 -07005774 "external/perfetto/protos/perfetto/trace/android/frame_timeline_event.gen.h",
5775 "external/perfetto/protos/perfetto/trace/android/gpu_mem_event.gen.h",
5776 "external/perfetto/protos/perfetto/trace/android/graphics_frame_event.gen.h",
5777 "external/perfetto/protos/perfetto/trace/android/initial_display_state.gen.h",
Ryan Zuklie1c0a5002022-11-18 17:03:37 -08005778 "external/perfetto/protos/perfetto/trace/android/network_trace.gen.h",
Colin Cross84172332021-09-14 16:41:33 -07005779 "external/perfetto/protos/perfetto/trace/android/packages_list.gen.h",
Simon MacMullen10715962024-04-18 17:48:47 +00005780 "external/perfetto/protos/perfetto/trace/android/pixel_modem_events.gen.h",
Colin Cross84172332021-09-14 16:41:33 -07005781 ],
5782 export_include_dirs: [
5783 ".",
5784 "protos",
5785 ],
Primiano Tuccife502c42019-12-11 01:00:27 +00005786}
5787
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01005788// GN: //protos/perfetto/trace/android:lite
Spandan Das34f1b982023-10-13 23:24:01 +00005789filegroup {
5790 name: "perfetto_protos_perfetto_trace_android_lite",
Colin Cross84172332021-09-14 16:41:33 -07005791 srcs: [
Andy Yu2e3c9b62022-05-31 11:23:18 -07005792 "protos/perfetto/trace/android/android_game_intervention_list.proto",
Colin Cross84172332021-09-14 16:41:33 -07005793 "protos/perfetto/trace/android/android_log.proto",
Simon MacMullenf0a6b382022-07-06 16:35:55 +00005794 "protos/perfetto/trace/android/android_system_property.proto",
Michael Eastwoodeb86b892022-01-20 15:59:09 -08005795 "protos/perfetto/trace/android/camera_event.proto",
Colin Cross84172332021-09-14 16:41:33 -07005796 "protos/perfetto/trace/android/frame_timeline_event.proto",
5797 "protos/perfetto/trace/android/gpu_mem_event.proto",
5798 "protos/perfetto/trace/android/graphics_frame_event.proto",
5799 "protos/perfetto/trace/android/initial_display_state.proto",
Ryan Zuklie1c0a5002022-11-18 17:03:37 -08005800 "protos/perfetto/trace/android/network_trace.proto",
Colin Cross84172332021-09-14 16:41:33 -07005801 "protos/perfetto/trace/android/packages_list.proto",
Simon MacMullen10715962024-04-18 17:48:47 +00005802 "protos/perfetto/trace/android/pixel_modem_events.proto",
Colin Cross84172332021-09-14 16:41:33 -07005803 ],
Spandan Das34f1b982023-10-13 23:24:01 +00005804}
5805
5806// GN: //protos/perfetto/trace/android:lite
5807genrule {
5808 name: "perfetto_protos_perfetto_trace_android_lite_gen",
5809 srcs: [
5810 ":perfetto_protos_perfetto_common_lite",
5811 ":perfetto_protos_perfetto_trace_android_lite",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00005812 ":perfetto_protos_perfetto_trace_android_winscope_common_lite",
5813 ":perfetto_protos_perfetto_trace_android_winscope_regular_lite",
Spandan Das34f1b982023-10-13 23:24:01 +00005814 ],
Colin Cross84172332021-09-14 16:41:33 -07005815 tools: [
5816 "aprotoc",
5817 ],
Spandan Das34f1b982023-10-13 23:24:01 +00005818 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_android_lite)",
Colin Cross84172332021-09-14 16:41:33 -07005819 out: [
Andy Yu2e3c9b62022-05-31 11:23:18 -07005820 "external/perfetto/protos/perfetto/trace/android/android_game_intervention_list.pb.cc",
Colin Cross84172332021-09-14 16:41:33 -07005821 "external/perfetto/protos/perfetto/trace/android/android_log.pb.cc",
Simon MacMullenf0a6b382022-07-06 16:35:55 +00005822 "external/perfetto/protos/perfetto/trace/android/android_system_property.pb.cc",
Michael Eastwoodeb86b892022-01-20 15:59:09 -08005823 "external/perfetto/protos/perfetto/trace/android/camera_event.pb.cc",
Colin Cross84172332021-09-14 16:41:33 -07005824 "external/perfetto/protos/perfetto/trace/android/frame_timeline_event.pb.cc",
5825 "external/perfetto/protos/perfetto/trace/android/gpu_mem_event.pb.cc",
5826 "external/perfetto/protos/perfetto/trace/android/graphics_frame_event.pb.cc",
5827 "external/perfetto/protos/perfetto/trace/android/initial_display_state.pb.cc",
Ryan Zuklie1c0a5002022-11-18 17:03:37 -08005828 "external/perfetto/protos/perfetto/trace/android/network_trace.pb.cc",
Colin Cross84172332021-09-14 16:41:33 -07005829 "external/perfetto/protos/perfetto/trace/android/packages_list.pb.cc",
Simon MacMullen10715962024-04-18 17:48:47 +00005830 "external/perfetto/protos/perfetto/trace/android/pixel_modem_events.pb.cc",
Colin Cross84172332021-09-14 16:41:33 -07005831 ],
Primiano Tucci64df2ca2019-01-03 22:26:47 +00005832}
5833
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01005834// GN: //protos/perfetto/trace/android:lite
Primiano Tucci64df2ca2019-01-03 22:26:47 +00005835genrule {
Colin Cross84172332021-09-14 16:41:33 -07005836 name: "perfetto_protos_perfetto_trace_android_lite_gen_headers",
5837 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00005838 ":perfetto_protos_perfetto_common_lite",
5839 ":perfetto_protos_perfetto_trace_android_lite",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00005840 ":perfetto_protos_perfetto_trace_android_winscope_common_lite",
5841 ":perfetto_protos_perfetto_trace_android_winscope_regular_lite",
Colin Cross84172332021-09-14 16:41:33 -07005842 ],
5843 tools: [
5844 "aprotoc",
5845 ],
Spandan Das34f1b982023-10-13 23:24:01 +00005846 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_android_lite)",
Colin Cross84172332021-09-14 16:41:33 -07005847 out: [
Andy Yu2e3c9b62022-05-31 11:23:18 -07005848 "external/perfetto/protos/perfetto/trace/android/android_game_intervention_list.pb.h",
Colin Cross84172332021-09-14 16:41:33 -07005849 "external/perfetto/protos/perfetto/trace/android/android_log.pb.h",
Simon MacMullenf0a6b382022-07-06 16:35:55 +00005850 "external/perfetto/protos/perfetto/trace/android/android_system_property.pb.h",
Michael Eastwoodeb86b892022-01-20 15:59:09 -08005851 "external/perfetto/protos/perfetto/trace/android/camera_event.pb.h",
Colin Cross84172332021-09-14 16:41:33 -07005852 "external/perfetto/protos/perfetto/trace/android/frame_timeline_event.pb.h",
5853 "external/perfetto/protos/perfetto/trace/android/gpu_mem_event.pb.h",
5854 "external/perfetto/protos/perfetto/trace/android/graphics_frame_event.pb.h",
5855 "external/perfetto/protos/perfetto/trace/android/initial_display_state.pb.h",
Ryan Zuklie1c0a5002022-11-18 17:03:37 -08005856 "external/perfetto/protos/perfetto/trace/android/network_trace.pb.h",
Colin Cross84172332021-09-14 16:41:33 -07005857 "external/perfetto/protos/perfetto/trace/android/packages_list.pb.h",
Simon MacMullen10715962024-04-18 17:48:47 +00005858 "external/perfetto/protos/perfetto/trace/android/pixel_modem_events.pb.h",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00005859 ],
5860 export_include_dirs: [
5861 ".",
5862 "protos",
5863 ],
5864}
5865
Daniele Di Proietto4b881842024-05-07 12:50:58 +00005866// GN: //protos/perfetto/trace/android:winscope_common_cpp
Kean Mariotti4ce4f042024-05-02 07:55:57 +00005867filegroup {
5868 name: "perfetto_protos_perfetto_trace_android_winscope_common_cpp",
5869 srcs: [
5870 "protos/perfetto/trace/android/graphics/point.proto",
5871 "protos/perfetto/trace/android/graphics/rect.proto",
5872 "protos/perfetto/trace/android/winscope_extensions.proto",
5873 ],
5874}
5875
Daniele Di Proietto4b881842024-05-07 12:50:58 +00005876// GN: //protos/perfetto/trace/android:winscope_common_cpp
Kean Mariotti4ce4f042024-05-02 07:55:57 +00005877genrule {
5878 name: "perfetto_protos_perfetto_trace_android_winscope_common_cpp_gen",
5879 srcs: [
5880 ":perfetto_protos_perfetto_trace_android_winscope_common_cpp",
5881 ],
5882 tools: [
5883 "aprotoc",
5884 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
5885 ],
5886 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_android_winscope_common_cpp)",
5887 out: [
5888 "external/perfetto/protos/perfetto/trace/android/graphics/point.gen.cc",
5889 "external/perfetto/protos/perfetto/trace/android/graphics/rect.gen.cc",
5890 "external/perfetto/protos/perfetto/trace/android/winscope_extensions.gen.cc",
5891 ],
5892}
5893
Daniele Di Proietto4b881842024-05-07 12:50:58 +00005894// GN: //protos/perfetto/trace/android:winscope_common_cpp
Kean Mariotti4ce4f042024-05-02 07:55:57 +00005895genrule {
5896 name: "perfetto_protos_perfetto_trace_android_winscope_common_cpp_gen_headers",
5897 srcs: [
5898 ":perfetto_protos_perfetto_trace_android_winscope_common_cpp",
5899 ],
5900 tools: [
5901 "aprotoc",
5902 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
5903 ],
5904 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_android_winscope_common_cpp)",
5905 out: [
5906 "external/perfetto/protos/perfetto/trace/android/graphics/point.gen.h",
5907 "external/perfetto/protos/perfetto/trace/android/graphics/rect.gen.h",
5908 "external/perfetto/protos/perfetto/trace/android/winscope_extensions.gen.h",
5909 ],
5910 export_include_dirs: [
5911 ".",
5912 "protos",
5913 ],
5914}
5915
Daniele Di Proietto4b881842024-05-07 12:50:58 +00005916// GN: //protos/perfetto/trace/android:winscope_common_lite
Kean Mariotti4ce4f042024-05-02 07:55:57 +00005917filegroup {
5918 name: "perfetto_protos_perfetto_trace_android_winscope_common_lite",
5919 srcs: [
5920 "protos/perfetto/trace/android/graphics/point.proto",
5921 "protos/perfetto/trace/android/graphics/rect.proto",
5922 "protos/perfetto/trace/android/winscope_extensions.proto",
5923 ],
5924}
5925
Daniele Di Proietto4b881842024-05-07 12:50:58 +00005926// GN: //protos/perfetto/trace/android:winscope_common_lite
Kean Mariotti4ce4f042024-05-02 07:55:57 +00005927genrule {
5928 name: "perfetto_protos_perfetto_trace_android_winscope_common_lite_gen",
5929 srcs: [
5930 ":perfetto_protos_perfetto_trace_android_winscope_common_lite",
5931 ],
5932 tools: [
5933 "aprotoc",
5934 ],
5935 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_android_winscope_common_lite)",
5936 out: [
5937 "external/perfetto/protos/perfetto/trace/android/graphics/point.pb.cc",
5938 "external/perfetto/protos/perfetto/trace/android/graphics/rect.pb.cc",
5939 "external/perfetto/protos/perfetto/trace/android/winscope_extensions.pb.cc",
5940 ],
5941}
5942
Daniele Di Proietto4b881842024-05-07 12:50:58 +00005943// GN: //protos/perfetto/trace/android:winscope_common_lite
Kean Mariotti4ce4f042024-05-02 07:55:57 +00005944genrule {
5945 name: "perfetto_protos_perfetto_trace_android_winscope_common_lite_gen_headers",
5946 srcs: [
5947 ":perfetto_protos_perfetto_trace_android_winscope_common_lite",
5948 ],
5949 tools: [
5950 "aprotoc",
5951 ],
5952 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_android_winscope_common_lite)",
5953 out: [
5954 "external/perfetto/protos/perfetto/trace/android/graphics/point.pb.h",
5955 "external/perfetto/protos/perfetto/trace/android/graphics/rect.pb.h",
5956 "external/perfetto/protos/perfetto/trace/android/winscope_extensions.pb.h",
5957 ],
5958 export_include_dirs: [
5959 ".",
5960 "protos",
5961 ],
5962}
5963
Daniele Di Proietto4b881842024-05-07 12:50:58 +00005964// GN: //protos/perfetto/trace/android:winscope_common_zero
Kean Mariotti4ce4f042024-05-02 07:55:57 +00005965filegroup {
5966 name: "perfetto_protos_perfetto_trace_android_winscope_common_zero",
5967 srcs: [
5968 "protos/perfetto/trace/android/graphics/point.proto",
5969 "protos/perfetto/trace/android/graphics/rect.proto",
5970 "protos/perfetto/trace/android/winscope_extensions.proto",
5971 ],
5972}
5973
Daniele Di Proietto4b881842024-05-07 12:50:58 +00005974// GN: //protos/perfetto/trace/android:winscope_common_zero
Kean Mariotti4ce4f042024-05-02 07:55:57 +00005975genrule {
5976 name: "perfetto_protos_perfetto_trace_android_winscope_common_zero_gen",
5977 srcs: [
5978 ":perfetto_protos_perfetto_trace_android_winscope_common_zero",
5979 ],
5980 tools: [
5981 "aprotoc",
5982 "protozero_plugin",
5983 ],
5984 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_android_winscope_common_zero)",
5985 out: [
5986 "external/perfetto/protos/perfetto/trace/android/graphics/point.pbzero.cc",
5987 "external/perfetto/protos/perfetto/trace/android/graphics/rect.pbzero.cc",
5988 "external/perfetto/protos/perfetto/trace/android/winscope_extensions.pbzero.cc",
5989 ],
5990}
5991
Daniele Di Proietto4b881842024-05-07 12:50:58 +00005992// GN: //protos/perfetto/trace/android:winscope_common_zero
Kean Mariotti4ce4f042024-05-02 07:55:57 +00005993genrule {
5994 name: "perfetto_protos_perfetto_trace_android_winscope_common_zero_gen_headers",
5995 srcs: [
5996 ":perfetto_protos_perfetto_trace_android_winscope_common_zero",
5997 ],
5998 tools: [
5999 "aprotoc",
6000 "protozero_plugin",
6001 ],
6002 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_android_winscope_common_zero)",
6003 out: [
6004 "external/perfetto/protos/perfetto/trace/android/graphics/point.pbzero.h",
6005 "external/perfetto/protos/perfetto/trace/android/graphics/rect.pbzero.h",
6006 "external/perfetto/protos/perfetto/trace/android/winscope_extensions.pbzero.h",
Colin Cross84172332021-09-14 16:41:33 -07006007 ],
6008 export_include_dirs: [
6009 ".",
6010 "protos",
6011 ],
Primiano Tucci64df2ca2019-01-03 22:26:47 +00006012}
6013
Kean Mariotti248eebf2023-06-12 09:55:43 +00006014// GN: //protos/perfetto/trace/android:winscope_descriptor
6015genrule {
6016 name: "perfetto_protos_perfetto_trace_android_winscope_descriptor",
6017 srcs: [
Kean Mariotti4ce4f042024-05-02 07:55:57 +00006018 ":libprotobuf-internal-descriptor-proto",
Pablo Gamito56893db2023-11-28 16:32:24 +00006019 "protos/perfetto/common/android_energy_consumer_descriptor.proto",
6020 "protos/perfetto/common/android_log_constants.proto",
6021 "protos/perfetto/common/builtin_clock.proto",
6022 "protos/perfetto/common/commit_data_request.proto",
6023 "protos/perfetto/common/data_source_descriptor.proto",
6024 "protos/perfetto/common/descriptor.proto",
6025 "protos/perfetto/common/ftrace_descriptor.proto",
6026 "protos/perfetto/common/gpu_counter_descriptor.proto",
6027 "protos/perfetto/common/interceptor_descriptor.proto",
6028 "protos/perfetto/common/observable_events.proto",
6029 "protos/perfetto/common/perf_events.proto",
6030 "protos/perfetto/common/protolog_common.proto",
6031 "protos/perfetto/common/sys_stats_counters.proto",
6032 "protos/perfetto/common/trace_stats.proto",
6033 "protos/perfetto/common/tracing_service_capabilities.proto",
6034 "protos/perfetto/common/tracing_service_state.proto",
6035 "protos/perfetto/common/track_event_descriptor.proto",
Prabir Pradhan62c76802024-06-05 03:37:25 +00006036 "protos/perfetto/trace/android/android_input_event.proto",
Kean Mariottib9e8db42024-06-24 09:20:50 +00006037 "protos/perfetto/trace/android/app/statusbarmanager.proto",
6038 "protos/perfetto/trace/android/app/window_configuration.proto",
6039 "protos/perfetto/trace/android/content/activityinfo.proto",
6040 "protos/perfetto/trace/android/content/configuration.proto",
6041 "protos/perfetto/trace/android/content/locale.proto",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00006042 "protos/perfetto/trace/android/graphics/pixelformat.proto",
6043 "protos/perfetto/trace/android/graphics/point.proto",
6044 "protos/perfetto/trace/android/graphics/rect.proto",
6045 "protos/perfetto/trace/android/inputmethodeditor.proto",
6046 "protos/perfetto/trace/android/inputmethodservice/inputmethodservice.proto",
6047 "protos/perfetto/trace/android/inputmethodservice/softinputwindow.proto",
Kean Mariottib9e8db42024-06-24 09:20:50 +00006048 "protos/perfetto/trace/android/privacy.proto",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00006049 "protos/perfetto/trace/android/protolog.proto",
Kean Mariottib9e8db42024-06-24 09:20:50 +00006050 "protos/perfetto/trace/android/server/animationadapter.proto",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00006051 "protos/perfetto/trace/android/server/inputmethod/inputmethodmanagerservice.proto",
Kean Mariottib9e8db42024-06-24 09:20:50 +00006052 "protos/perfetto/trace/android/server/surfaceanimator.proto",
6053 "protos/perfetto/trace/android/server/windowcontainerthumbnail.proto",
6054 "protos/perfetto/trace/android/server/windowmanagerservice.proto",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00006055 "protos/perfetto/trace/android/shell_transition.proto",
6056 "protos/perfetto/trace/android/surfaceflinger_common.proto",
6057 "protos/perfetto/trace/android/surfaceflinger_layers.proto",
6058 "protos/perfetto/trace/android/surfaceflinger_transactions.proto",
6059 "protos/perfetto/trace/android/typedef.proto",
6060 "protos/perfetto/trace/android/view/display.proto",
6061 "protos/perfetto/trace/android/view/displaycutout.proto",
Kean Mariottib9e8db42024-06-24 09:20:50 +00006062 "protos/perfetto/trace/android/view/displayinfo.proto",
6063 "protos/perfetto/trace/android/view/enums.proto",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00006064 "protos/perfetto/trace/android/view/imefocuscontroller.proto",
6065 "protos/perfetto/trace/android/view/imeinsetssourceconsumer.proto",
6066 "protos/perfetto/trace/android/view/inputmethod/editorinfo.proto",
6067 "protos/perfetto/trace/android/view/inputmethod/inputconnection.proto",
6068 "protos/perfetto/trace/android/view/inputmethod/inputmethodmanager.proto",
6069 "protos/perfetto/trace/android/view/insetsanimationcontrolimpl.proto",
6070 "protos/perfetto/trace/android/view/insetscontroller.proto",
6071 "protos/perfetto/trace/android/view/insetssource.proto",
6072 "protos/perfetto/trace/android/view/insetssourceconsumer.proto",
6073 "protos/perfetto/trace/android/view/insetssourcecontrol.proto",
6074 "protos/perfetto/trace/android/view/insetsstate.proto",
Kean Mariottib9e8db42024-06-24 09:20:50 +00006075 "protos/perfetto/trace/android/view/remote_animation_target.proto",
6076 "protos/perfetto/trace/android/view/surface.proto",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00006077 "protos/perfetto/trace/android/view/surfacecontrol.proto",
6078 "protos/perfetto/trace/android/view/viewrootimpl.proto",
6079 "protos/perfetto/trace/android/view/windowlayoutparams.proto",
Kean Mariottia50c9f42024-05-03 14:26:14 +00006080 "protos/perfetto/trace/android/viewcapture.proto",
Kean Mariottib9e8db42024-06-24 09:20:50 +00006081 "protos/perfetto/trace/android/windowmanager.proto",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00006082 "protos/perfetto/trace/android/winscope.proto",
6083 "protos/perfetto/trace/android/winscope_extensions.proto",
6084 "protos/perfetto/trace/android/winscope_extensions_impl.proto",
6085 ],
6086 tools: [
6087 "aprotoc",
6088 ],
6089 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --proto_path=external/protobuf/src --descriptor_set_out=$(out) $(in)",
6090 out: [
6091 "perfetto_protos_perfetto_trace_android_winscope_descriptor.bin",
6092 ],
6093}
6094
Daniele Di Proietto4b881842024-05-07 12:50:58 +00006095// GN: //protos/perfetto/trace/android:winscope_extensions_zero
Kean Mariotti4ce4f042024-05-02 07:55:57 +00006096filegroup {
6097 name: "perfetto_protos_perfetto_trace_android_winscope_extensions_zero",
6098 srcs: [
Prabir Pradhan62c76802024-06-05 03:37:25 +00006099 "protos/perfetto/trace/android/android_input_event.proto",
Kean Mariottib9e8db42024-06-24 09:20:50 +00006100 "protos/perfetto/trace/android/app/statusbarmanager.proto",
6101 "protos/perfetto/trace/android/app/window_configuration.proto",
6102 "protos/perfetto/trace/android/content/activityinfo.proto",
6103 "protos/perfetto/trace/android/content/configuration.proto",
6104 "protos/perfetto/trace/android/content/locale.proto",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00006105 "protos/perfetto/trace/android/graphics/pixelformat.proto",
6106 "protos/perfetto/trace/android/inputmethodeditor.proto",
6107 "protos/perfetto/trace/android/inputmethodservice/inputmethodservice.proto",
6108 "protos/perfetto/trace/android/inputmethodservice/softinputwindow.proto",
Kean Mariottib9e8db42024-06-24 09:20:50 +00006109 "protos/perfetto/trace/android/privacy.proto",
6110 "protos/perfetto/trace/android/server/animationadapter.proto",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00006111 "protos/perfetto/trace/android/server/inputmethod/inputmethodmanagerservice.proto",
Kean Mariottib9e8db42024-06-24 09:20:50 +00006112 "protos/perfetto/trace/android/server/surfaceanimator.proto",
6113 "protos/perfetto/trace/android/server/windowcontainerthumbnail.proto",
6114 "protos/perfetto/trace/android/server/windowmanagerservice.proto",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00006115 "protos/perfetto/trace/android/typedef.proto",
6116 "protos/perfetto/trace/android/view/display.proto",
6117 "protos/perfetto/trace/android/view/displaycutout.proto",
Kean Mariottib9e8db42024-06-24 09:20:50 +00006118 "protos/perfetto/trace/android/view/displayinfo.proto",
6119 "protos/perfetto/trace/android/view/enums.proto",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00006120 "protos/perfetto/trace/android/view/imefocuscontroller.proto",
6121 "protos/perfetto/trace/android/view/imeinsetssourceconsumer.proto",
6122 "protos/perfetto/trace/android/view/inputmethod/editorinfo.proto",
6123 "protos/perfetto/trace/android/view/inputmethod/inputconnection.proto",
6124 "protos/perfetto/trace/android/view/inputmethod/inputmethodmanager.proto",
6125 "protos/perfetto/trace/android/view/insetsanimationcontrolimpl.proto",
6126 "protos/perfetto/trace/android/view/insetscontroller.proto",
6127 "protos/perfetto/trace/android/view/insetssource.proto",
6128 "protos/perfetto/trace/android/view/insetssourceconsumer.proto",
6129 "protos/perfetto/trace/android/view/insetssourcecontrol.proto",
6130 "protos/perfetto/trace/android/view/insetsstate.proto",
Kean Mariottib9e8db42024-06-24 09:20:50 +00006131 "protos/perfetto/trace/android/view/remote_animation_target.proto",
6132 "protos/perfetto/trace/android/view/surface.proto",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00006133 "protos/perfetto/trace/android/view/surfacecontrol.proto",
6134 "protos/perfetto/trace/android/view/viewrootimpl.proto",
6135 "protos/perfetto/trace/android/view/windowlayoutparams.proto",
Kean Mariottia50c9f42024-05-03 14:26:14 +00006136 "protos/perfetto/trace/android/viewcapture.proto",
Kean Mariottib9e8db42024-06-24 09:20:50 +00006137 "protos/perfetto/trace/android/windowmanager.proto",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00006138 "protos/perfetto/trace/android/winscope_extensions_impl.proto",
6139 ],
6140}
6141
Daniele Di Proietto4b881842024-05-07 12:50:58 +00006142// GN: //protos/perfetto/trace/android:winscope_extensions_zero
Kean Mariotti4ce4f042024-05-02 07:55:57 +00006143genrule {
6144 name: "perfetto_protos_perfetto_trace_android_winscope_extensions_zero_gen",
6145 srcs: [
6146 ":libprotobuf-internal-descriptor-proto",
6147 ":perfetto_protos_perfetto_trace_android_winscope_common_zero",
6148 ":perfetto_protos_perfetto_trace_android_winscope_extensions_zero",
6149 ],
6150 tools: [
6151 "aprotoc",
6152 "protozero_plugin",
6153 ],
6154 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --proto_path=external/protobuf/src --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_android_winscope_extensions_zero)",
6155 out: [
Prabir Pradhan62c76802024-06-05 03:37:25 +00006156 "external/perfetto/protos/perfetto/trace/android/android_input_event.pbzero.cc",
Kean Mariottib9e8db42024-06-24 09:20:50 +00006157 "external/perfetto/protos/perfetto/trace/android/app/statusbarmanager.pbzero.cc",
6158 "external/perfetto/protos/perfetto/trace/android/app/window_configuration.pbzero.cc",
6159 "external/perfetto/protos/perfetto/trace/android/content/activityinfo.pbzero.cc",
6160 "external/perfetto/protos/perfetto/trace/android/content/configuration.pbzero.cc",
6161 "external/perfetto/protos/perfetto/trace/android/content/locale.pbzero.cc",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00006162 "external/perfetto/protos/perfetto/trace/android/graphics/pixelformat.pbzero.cc",
6163 "external/perfetto/protos/perfetto/trace/android/inputmethodeditor.pbzero.cc",
6164 "external/perfetto/protos/perfetto/trace/android/inputmethodservice/inputmethodservice.pbzero.cc",
6165 "external/perfetto/protos/perfetto/trace/android/inputmethodservice/softinputwindow.pbzero.cc",
Kean Mariottib9e8db42024-06-24 09:20:50 +00006166 "external/perfetto/protos/perfetto/trace/android/privacy.pbzero.cc",
6167 "external/perfetto/protos/perfetto/trace/android/server/animationadapter.pbzero.cc",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00006168 "external/perfetto/protos/perfetto/trace/android/server/inputmethod/inputmethodmanagerservice.pbzero.cc",
Kean Mariottib9e8db42024-06-24 09:20:50 +00006169 "external/perfetto/protos/perfetto/trace/android/server/surfaceanimator.pbzero.cc",
6170 "external/perfetto/protos/perfetto/trace/android/server/windowcontainerthumbnail.pbzero.cc",
6171 "external/perfetto/protos/perfetto/trace/android/server/windowmanagerservice.pbzero.cc",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00006172 "external/perfetto/protos/perfetto/trace/android/typedef.pbzero.cc",
6173 "external/perfetto/protos/perfetto/trace/android/view/display.pbzero.cc",
6174 "external/perfetto/protos/perfetto/trace/android/view/displaycutout.pbzero.cc",
Kean Mariottib9e8db42024-06-24 09:20:50 +00006175 "external/perfetto/protos/perfetto/trace/android/view/displayinfo.pbzero.cc",
6176 "external/perfetto/protos/perfetto/trace/android/view/enums.pbzero.cc",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00006177 "external/perfetto/protos/perfetto/trace/android/view/imefocuscontroller.pbzero.cc",
6178 "external/perfetto/protos/perfetto/trace/android/view/imeinsetssourceconsumer.pbzero.cc",
6179 "external/perfetto/protos/perfetto/trace/android/view/inputmethod/editorinfo.pbzero.cc",
6180 "external/perfetto/protos/perfetto/trace/android/view/inputmethod/inputconnection.pbzero.cc",
6181 "external/perfetto/protos/perfetto/trace/android/view/inputmethod/inputmethodmanager.pbzero.cc",
6182 "external/perfetto/protos/perfetto/trace/android/view/insetsanimationcontrolimpl.pbzero.cc",
6183 "external/perfetto/protos/perfetto/trace/android/view/insetscontroller.pbzero.cc",
6184 "external/perfetto/protos/perfetto/trace/android/view/insetssource.pbzero.cc",
6185 "external/perfetto/protos/perfetto/trace/android/view/insetssourceconsumer.pbzero.cc",
6186 "external/perfetto/protos/perfetto/trace/android/view/insetssourcecontrol.pbzero.cc",
6187 "external/perfetto/protos/perfetto/trace/android/view/insetsstate.pbzero.cc",
Kean Mariottib9e8db42024-06-24 09:20:50 +00006188 "external/perfetto/protos/perfetto/trace/android/view/remote_animation_target.pbzero.cc",
6189 "external/perfetto/protos/perfetto/trace/android/view/surface.pbzero.cc",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00006190 "external/perfetto/protos/perfetto/trace/android/view/surfacecontrol.pbzero.cc",
6191 "external/perfetto/protos/perfetto/trace/android/view/viewrootimpl.pbzero.cc",
6192 "external/perfetto/protos/perfetto/trace/android/view/windowlayoutparams.pbzero.cc",
Kean Mariottia50c9f42024-05-03 14:26:14 +00006193 "external/perfetto/protos/perfetto/trace/android/viewcapture.pbzero.cc",
Kean Mariottib9e8db42024-06-24 09:20:50 +00006194 "external/perfetto/protos/perfetto/trace/android/windowmanager.pbzero.cc",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00006195 "external/perfetto/protos/perfetto/trace/android/winscope_extensions_impl.pbzero.cc",
6196 ],
6197}
6198
Daniele Di Proietto4b881842024-05-07 12:50:58 +00006199// GN: //protos/perfetto/trace/android:winscope_extensions_zero
Kean Mariotti4ce4f042024-05-02 07:55:57 +00006200genrule {
6201 name: "perfetto_protos_perfetto_trace_android_winscope_extensions_zero_gen_headers",
6202 srcs: [
6203 ":libprotobuf-internal-descriptor-proto",
6204 ":perfetto_protos_perfetto_trace_android_winscope_common_zero",
6205 ":perfetto_protos_perfetto_trace_android_winscope_extensions_zero",
6206 ],
6207 tools: [
6208 "aprotoc",
6209 "protozero_plugin",
6210 ],
6211 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --proto_path=external/protobuf/src --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_android_winscope_extensions_zero)",
6212 out: [
Prabir Pradhan62c76802024-06-05 03:37:25 +00006213 "external/perfetto/protos/perfetto/trace/android/android_input_event.pbzero.h",
Kean Mariottib9e8db42024-06-24 09:20:50 +00006214 "external/perfetto/protos/perfetto/trace/android/app/statusbarmanager.pbzero.h",
6215 "external/perfetto/protos/perfetto/trace/android/app/window_configuration.pbzero.h",
6216 "external/perfetto/protos/perfetto/trace/android/content/activityinfo.pbzero.h",
6217 "external/perfetto/protos/perfetto/trace/android/content/configuration.pbzero.h",
6218 "external/perfetto/protos/perfetto/trace/android/content/locale.pbzero.h",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00006219 "external/perfetto/protos/perfetto/trace/android/graphics/pixelformat.pbzero.h",
6220 "external/perfetto/protos/perfetto/trace/android/inputmethodeditor.pbzero.h",
6221 "external/perfetto/protos/perfetto/trace/android/inputmethodservice/inputmethodservice.pbzero.h",
6222 "external/perfetto/protos/perfetto/trace/android/inputmethodservice/softinputwindow.pbzero.h",
Kean Mariottib9e8db42024-06-24 09:20:50 +00006223 "external/perfetto/protos/perfetto/trace/android/privacy.pbzero.h",
6224 "external/perfetto/protos/perfetto/trace/android/server/animationadapter.pbzero.h",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00006225 "external/perfetto/protos/perfetto/trace/android/server/inputmethod/inputmethodmanagerservice.pbzero.h",
Kean Mariottib9e8db42024-06-24 09:20:50 +00006226 "external/perfetto/protos/perfetto/trace/android/server/surfaceanimator.pbzero.h",
6227 "external/perfetto/protos/perfetto/trace/android/server/windowcontainerthumbnail.pbzero.h",
6228 "external/perfetto/protos/perfetto/trace/android/server/windowmanagerservice.pbzero.h",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00006229 "external/perfetto/protos/perfetto/trace/android/typedef.pbzero.h",
6230 "external/perfetto/protos/perfetto/trace/android/view/display.pbzero.h",
6231 "external/perfetto/protos/perfetto/trace/android/view/displaycutout.pbzero.h",
Kean Mariottib9e8db42024-06-24 09:20:50 +00006232 "external/perfetto/protos/perfetto/trace/android/view/displayinfo.pbzero.h",
6233 "external/perfetto/protos/perfetto/trace/android/view/enums.pbzero.h",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00006234 "external/perfetto/protos/perfetto/trace/android/view/imefocuscontroller.pbzero.h",
6235 "external/perfetto/protos/perfetto/trace/android/view/imeinsetssourceconsumer.pbzero.h",
6236 "external/perfetto/protos/perfetto/trace/android/view/inputmethod/editorinfo.pbzero.h",
6237 "external/perfetto/protos/perfetto/trace/android/view/inputmethod/inputconnection.pbzero.h",
6238 "external/perfetto/protos/perfetto/trace/android/view/inputmethod/inputmethodmanager.pbzero.h",
6239 "external/perfetto/protos/perfetto/trace/android/view/insetsanimationcontrolimpl.pbzero.h",
6240 "external/perfetto/protos/perfetto/trace/android/view/insetscontroller.pbzero.h",
6241 "external/perfetto/protos/perfetto/trace/android/view/insetssource.pbzero.h",
6242 "external/perfetto/protos/perfetto/trace/android/view/insetssourceconsumer.pbzero.h",
6243 "external/perfetto/protos/perfetto/trace/android/view/insetssourcecontrol.pbzero.h",
6244 "external/perfetto/protos/perfetto/trace/android/view/insetsstate.pbzero.h",
Kean Mariottib9e8db42024-06-24 09:20:50 +00006245 "external/perfetto/protos/perfetto/trace/android/view/remote_animation_target.pbzero.h",
6246 "external/perfetto/protos/perfetto/trace/android/view/surface.pbzero.h",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00006247 "external/perfetto/protos/perfetto/trace/android/view/surfacecontrol.pbzero.h",
6248 "external/perfetto/protos/perfetto/trace/android/view/viewrootimpl.pbzero.h",
6249 "external/perfetto/protos/perfetto/trace/android/view/windowlayoutparams.pbzero.h",
Kean Mariottia50c9f42024-05-03 14:26:14 +00006250 "external/perfetto/protos/perfetto/trace/android/viewcapture.pbzero.h",
Kean Mariottib9e8db42024-06-24 09:20:50 +00006251 "external/perfetto/protos/perfetto/trace/android/windowmanager.pbzero.h",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00006252 "external/perfetto/protos/perfetto/trace/android/winscope_extensions_impl.pbzero.h",
6253 ],
6254 export_include_dirs: [
6255 ".",
6256 "protos",
6257 ],
6258}
6259
Daniele Di Proietto4b881842024-05-07 12:50:58 +00006260// GN: //protos/perfetto/trace/android:winscope_regular_cpp
Kean Mariotti4ce4f042024-05-02 07:55:57 +00006261filegroup {
6262 name: "perfetto_protos_perfetto_trace_android_winscope_regular_cpp",
6263 srcs: [
Kean Mariotti34af6df2024-03-07 10:11:15 +00006264 "protos/perfetto/trace/android/protolog.proto",
Kean Mariotti34af6df2024-03-07 10:11:15 +00006265 "protos/perfetto/trace/android/shell_transition.proto",
6266 "protos/perfetto/trace/android/surfaceflinger_common.proto",
6267 "protos/perfetto/trace/android/surfaceflinger_layers.proto",
6268 "protos/perfetto/trace/android/surfaceflinger_transactions.proto",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00006269 ],
6270}
6271
Daniele Di Proietto4b881842024-05-07 12:50:58 +00006272// GN: //protos/perfetto/trace/android:winscope_regular_cpp
Kean Mariotti4ce4f042024-05-02 07:55:57 +00006273genrule {
6274 name: "perfetto_protos_perfetto_trace_android_winscope_regular_cpp_gen",
6275 srcs: [
6276 ":perfetto_protos_perfetto_common_cpp",
6277 ":perfetto_protos_perfetto_trace_android_winscope_common_cpp",
6278 ":perfetto_protos_perfetto_trace_android_winscope_regular_cpp",
6279 ],
6280 tools: [
6281 "aprotoc",
6282 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
6283 ],
6284 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_android_winscope_regular_cpp)",
6285 out: [
6286 "external/perfetto/protos/perfetto/trace/android/protolog.gen.cc",
6287 "external/perfetto/protos/perfetto/trace/android/shell_transition.gen.cc",
6288 "external/perfetto/protos/perfetto/trace/android/surfaceflinger_common.gen.cc",
6289 "external/perfetto/protos/perfetto/trace/android/surfaceflinger_layers.gen.cc",
6290 "external/perfetto/protos/perfetto/trace/android/surfaceflinger_transactions.gen.cc",
6291 ],
6292}
6293
Daniele Di Proietto4b881842024-05-07 12:50:58 +00006294// GN: //protos/perfetto/trace/android:winscope_regular_cpp
Kean Mariotti4ce4f042024-05-02 07:55:57 +00006295genrule {
6296 name: "perfetto_protos_perfetto_trace_android_winscope_regular_cpp_gen_headers",
6297 srcs: [
6298 ":perfetto_protos_perfetto_common_cpp",
6299 ":perfetto_protos_perfetto_trace_android_winscope_common_cpp",
6300 ":perfetto_protos_perfetto_trace_android_winscope_regular_cpp",
6301 ],
6302 tools: [
6303 "aprotoc",
6304 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
6305 ],
6306 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_android_winscope_regular_cpp)",
6307 out: [
6308 "external/perfetto/protos/perfetto/trace/android/protolog.gen.h",
6309 "external/perfetto/protos/perfetto/trace/android/shell_transition.gen.h",
6310 "external/perfetto/protos/perfetto/trace/android/surfaceflinger_common.gen.h",
6311 "external/perfetto/protos/perfetto/trace/android/surfaceflinger_layers.gen.h",
6312 "external/perfetto/protos/perfetto/trace/android/surfaceflinger_transactions.gen.h",
6313 ],
6314 export_include_dirs: [
6315 ".",
6316 "protos",
6317 ],
6318}
6319
Daniele Di Proietto4b881842024-05-07 12:50:58 +00006320// GN: //protos/perfetto/trace/android:winscope_regular_lite
Kean Mariotti4ce4f042024-05-02 07:55:57 +00006321filegroup {
6322 name: "perfetto_protos_perfetto_trace_android_winscope_regular_lite",
6323 srcs: [
6324 "protos/perfetto/trace/android/protolog.proto",
6325 "protos/perfetto/trace/android/shell_transition.proto",
6326 "protos/perfetto/trace/android/surfaceflinger_common.proto",
6327 "protos/perfetto/trace/android/surfaceflinger_layers.proto",
6328 "protos/perfetto/trace/android/surfaceflinger_transactions.proto",
6329 ],
6330}
6331
Daniele Di Proietto4b881842024-05-07 12:50:58 +00006332// GN: //protos/perfetto/trace/android:winscope_regular_lite
Kean Mariotti4ce4f042024-05-02 07:55:57 +00006333genrule {
6334 name: "perfetto_protos_perfetto_trace_android_winscope_regular_lite_gen",
6335 srcs: [
6336 ":perfetto_protos_perfetto_common_lite",
6337 ":perfetto_protos_perfetto_trace_android_winscope_common_lite",
6338 ":perfetto_protos_perfetto_trace_android_winscope_regular_lite",
Kean Mariotti34af6df2024-03-07 10:11:15 +00006339 ],
6340 tools: [
6341 "aprotoc",
6342 ],
Kean Mariotti4ce4f042024-05-02 07:55:57 +00006343 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_android_winscope_regular_lite)",
Kean Mariotti34af6df2024-03-07 10:11:15 +00006344 out: [
Kean Mariotti4ce4f042024-05-02 07:55:57 +00006345 "external/perfetto/protos/perfetto/trace/android/protolog.pb.cc",
6346 "external/perfetto/protos/perfetto/trace/android/shell_transition.pb.cc",
6347 "external/perfetto/protos/perfetto/trace/android/surfaceflinger_common.pb.cc",
6348 "external/perfetto/protos/perfetto/trace/android/surfaceflinger_layers.pb.cc",
6349 "external/perfetto/protos/perfetto/trace/android/surfaceflinger_transactions.pb.cc",
6350 ],
6351}
6352
Daniele Di Proietto4b881842024-05-07 12:50:58 +00006353// GN: //protos/perfetto/trace/android:winscope_regular_lite
Kean Mariotti4ce4f042024-05-02 07:55:57 +00006354genrule {
6355 name: "perfetto_protos_perfetto_trace_android_winscope_regular_lite_gen_headers",
6356 srcs: [
6357 ":perfetto_protos_perfetto_common_lite",
6358 ":perfetto_protos_perfetto_trace_android_winscope_common_lite",
6359 ":perfetto_protos_perfetto_trace_android_winscope_regular_lite",
6360 ],
6361 tools: [
6362 "aprotoc",
6363 ],
6364 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_android_winscope_regular_lite)",
6365 out: [
6366 "external/perfetto/protos/perfetto/trace/android/protolog.pb.h",
6367 "external/perfetto/protos/perfetto/trace/android/shell_transition.pb.h",
6368 "external/perfetto/protos/perfetto/trace/android/surfaceflinger_common.pb.h",
6369 "external/perfetto/protos/perfetto/trace/android/surfaceflinger_layers.pb.h",
6370 "external/perfetto/protos/perfetto/trace/android/surfaceflinger_transactions.pb.h",
6371 ],
6372 export_include_dirs: [
6373 ".",
6374 "protos",
6375 ],
6376}
6377
Daniele Di Proietto4b881842024-05-07 12:50:58 +00006378// GN: //protos/perfetto/trace/android:winscope_regular_zero
Kean Mariotti4ce4f042024-05-02 07:55:57 +00006379filegroup {
6380 name: "perfetto_protos_perfetto_trace_android_winscope_regular_zero",
6381 srcs: [
6382 "protos/perfetto/trace/android/protolog.proto",
6383 "protos/perfetto/trace/android/shell_transition.proto",
6384 "protos/perfetto/trace/android/surfaceflinger_common.proto",
6385 "protos/perfetto/trace/android/surfaceflinger_layers.proto",
6386 "protos/perfetto/trace/android/surfaceflinger_transactions.proto",
6387 ],
6388}
6389
Daniele Di Proietto4b881842024-05-07 12:50:58 +00006390// GN: //protos/perfetto/trace/android:winscope_regular_zero
Kean Mariotti4ce4f042024-05-02 07:55:57 +00006391genrule {
6392 name: "perfetto_protos_perfetto_trace_android_winscope_regular_zero_gen",
6393 srcs: [
6394 ":perfetto_protos_perfetto_common_zero",
6395 ":perfetto_protos_perfetto_trace_android_winscope_common_zero",
6396 ":perfetto_protos_perfetto_trace_android_winscope_regular_zero",
6397 ],
6398 tools: [
6399 "aprotoc",
6400 "protozero_plugin",
6401 ],
6402 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_android_winscope_regular_zero)",
6403 out: [
6404 "external/perfetto/protos/perfetto/trace/android/protolog.pbzero.cc",
6405 "external/perfetto/protos/perfetto/trace/android/shell_transition.pbzero.cc",
6406 "external/perfetto/protos/perfetto/trace/android/surfaceflinger_common.pbzero.cc",
6407 "external/perfetto/protos/perfetto/trace/android/surfaceflinger_layers.pbzero.cc",
6408 "external/perfetto/protos/perfetto/trace/android/surfaceflinger_transactions.pbzero.cc",
6409 ],
6410}
6411
Daniele Di Proietto4b881842024-05-07 12:50:58 +00006412// GN: //protos/perfetto/trace/android:winscope_regular_zero
Kean Mariotti4ce4f042024-05-02 07:55:57 +00006413genrule {
6414 name: "perfetto_protos_perfetto_trace_android_winscope_regular_zero_gen_headers",
6415 srcs: [
6416 ":perfetto_protos_perfetto_common_zero",
6417 ":perfetto_protos_perfetto_trace_android_winscope_common_zero",
6418 ":perfetto_protos_perfetto_trace_android_winscope_regular_zero",
6419 ],
6420 tools: [
6421 "aprotoc",
6422 "protozero_plugin",
6423 ],
6424 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_android_winscope_regular_zero)",
6425 out: [
6426 "external/perfetto/protos/perfetto/trace/android/protolog.pbzero.h",
6427 "external/perfetto/protos/perfetto/trace/android/shell_transition.pbzero.h",
6428 "external/perfetto/protos/perfetto/trace/android/surfaceflinger_common.pbzero.h",
6429 "external/perfetto/protos/perfetto/trace/android/surfaceflinger_layers.pbzero.h",
6430 "external/perfetto/protos/perfetto/trace/android/surfaceflinger_transactions.pbzero.h",
6431 ],
6432 export_include_dirs: [
6433 ".",
6434 "protos",
Kean Mariotti34af6df2024-03-07 10:11:15 +00006435 ],
6436}
6437
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01006438// GN: //protos/perfetto/trace/android:zero
Spandan Das34f1b982023-10-13 23:24:01 +00006439filegroup {
6440 name: "perfetto_protos_perfetto_trace_android_zero",
Colin Cross84172332021-09-14 16:41:33 -07006441 srcs: [
Andy Yu2e3c9b62022-05-31 11:23:18 -07006442 "protos/perfetto/trace/android/android_game_intervention_list.proto",
Colin Cross84172332021-09-14 16:41:33 -07006443 "protos/perfetto/trace/android/android_log.proto",
Simon MacMullenf0a6b382022-07-06 16:35:55 +00006444 "protos/perfetto/trace/android/android_system_property.proto",
Michael Eastwoodeb86b892022-01-20 15:59:09 -08006445 "protos/perfetto/trace/android/camera_event.proto",
Colin Cross84172332021-09-14 16:41:33 -07006446 "protos/perfetto/trace/android/frame_timeline_event.proto",
6447 "protos/perfetto/trace/android/gpu_mem_event.proto",
6448 "protos/perfetto/trace/android/graphics_frame_event.proto",
6449 "protos/perfetto/trace/android/initial_display_state.proto",
Ryan Zuklie1c0a5002022-11-18 17:03:37 -08006450 "protos/perfetto/trace/android/network_trace.proto",
Colin Cross84172332021-09-14 16:41:33 -07006451 "protos/perfetto/trace/android/packages_list.proto",
Simon MacMullen10715962024-04-18 17:48:47 +00006452 "protos/perfetto/trace/android/pixel_modem_events.proto",
Colin Cross84172332021-09-14 16:41:33 -07006453 ],
Spandan Das34f1b982023-10-13 23:24:01 +00006454}
6455
6456// GN: //protos/perfetto/trace/android:zero
6457genrule {
6458 name: "perfetto_protos_perfetto_trace_android_zero_gen",
6459 srcs: [
6460 ":perfetto_protos_perfetto_common_zero",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00006461 ":perfetto_protos_perfetto_trace_android_winscope_common_zero",
6462 ":perfetto_protos_perfetto_trace_android_winscope_regular_zero",
Spandan Das34f1b982023-10-13 23:24:01 +00006463 ":perfetto_protos_perfetto_trace_android_zero",
6464 ],
Colin Cross84172332021-09-14 16:41:33 -07006465 tools: [
6466 "aprotoc",
6467 "protozero_plugin",
6468 ],
Spandan Das34f1b982023-10-13 23:24:01 +00006469 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_android_zero)",
Colin Cross84172332021-09-14 16:41:33 -07006470 out: [
Andy Yu2e3c9b62022-05-31 11:23:18 -07006471 "external/perfetto/protos/perfetto/trace/android/android_game_intervention_list.pbzero.cc",
Colin Cross84172332021-09-14 16:41:33 -07006472 "external/perfetto/protos/perfetto/trace/android/android_log.pbzero.cc",
Simon MacMullenf0a6b382022-07-06 16:35:55 +00006473 "external/perfetto/protos/perfetto/trace/android/android_system_property.pbzero.cc",
Michael Eastwoodeb86b892022-01-20 15:59:09 -08006474 "external/perfetto/protos/perfetto/trace/android/camera_event.pbzero.cc",
Colin Cross84172332021-09-14 16:41:33 -07006475 "external/perfetto/protos/perfetto/trace/android/frame_timeline_event.pbzero.cc",
6476 "external/perfetto/protos/perfetto/trace/android/gpu_mem_event.pbzero.cc",
6477 "external/perfetto/protos/perfetto/trace/android/graphics_frame_event.pbzero.cc",
6478 "external/perfetto/protos/perfetto/trace/android/initial_display_state.pbzero.cc",
Ryan Zuklie1c0a5002022-11-18 17:03:37 -08006479 "external/perfetto/protos/perfetto/trace/android/network_trace.pbzero.cc",
Colin Cross84172332021-09-14 16:41:33 -07006480 "external/perfetto/protos/perfetto/trace/android/packages_list.pbzero.cc",
Simon MacMullen10715962024-04-18 17:48:47 +00006481 "external/perfetto/protos/perfetto/trace/android/pixel_modem_events.pbzero.cc",
Colin Cross84172332021-09-14 16:41:33 -07006482 ],
Primiano Tucci64df2ca2019-01-03 22:26:47 +00006483}
6484
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01006485// GN: //protos/perfetto/trace/android:zero
Primiano Tucci64df2ca2019-01-03 22:26:47 +00006486genrule {
Colin Cross84172332021-09-14 16:41:33 -07006487 name: "perfetto_protos_perfetto_trace_android_zero_gen_headers",
6488 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00006489 ":perfetto_protos_perfetto_common_zero",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00006490 ":perfetto_protos_perfetto_trace_android_winscope_common_zero",
6491 ":perfetto_protos_perfetto_trace_android_winscope_regular_zero",
Spandan Das34f1b982023-10-13 23:24:01 +00006492 ":perfetto_protos_perfetto_trace_android_zero",
Colin Cross84172332021-09-14 16:41:33 -07006493 ],
6494 tools: [
6495 "aprotoc",
6496 "protozero_plugin",
6497 ],
Spandan Das34f1b982023-10-13 23:24:01 +00006498 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_android_zero)",
Colin Cross84172332021-09-14 16:41:33 -07006499 out: [
Andy Yu2e3c9b62022-05-31 11:23:18 -07006500 "external/perfetto/protos/perfetto/trace/android/android_game_intervention_list.pbzero.h",
Colin Cross84172332021-09-14 16:41:33 -07006501 "external/perfetto/protos/perfetto/trace/android/android_log.pbzero.h",
Simon MacMullenf0a6b382022-07-06 16:35:55 +00006502 "external/perfetto/protos/perfetto/trace/android/android_system_property.pbzero.h",
Michael Eastwoodeb86b892022-01-20 15:59:09 -08006503 "external/perfetto/protos/perfetto/trace/android/camera_event.pbzero.h",
Colin Cross84172332021-09-14 16:41:33 -07006504 "external/perfetto/protos/perfetto/trace/android/frame_timeline_event.pbzero.h",
6505 "external/perfetto/protos/perfetto/trace/android/gpu_mem_event.pbzero.h",
6506 "external/perfetto/protos/perfetto/trace/android/graphics_frame_event.pbzero.h",
6507 "external/perfetto/protos/perfetto/trace/android/initial_display_state.pbzero.h",
Ryan Zuklie1c0a5002022-11-18 17:03:37 -08006508 "external/perfetto/protos/perfetto/trace/android/network_trace.pbzero.h",
Colin Cross84172332021-09-14 16:41:33 -07006509 "external/perfetto/protos/perfetto/trace/android/packages_list.pbzero.h",
Simon MacMullen10715962024-04-18 17:48:47 +00006510 "external/perfetto/protos/perfetto/trace/android/pixel_modem_events.pbzero.h",
Colin Cross84172332021-09-14 16:41:33 -07006511 ],
6512 export_include_dirs: [
6513 ".",
6514 "protos",
6515 ],
Primiano Tucci64df2ca2019-01-03 22:26:47 +00006516}
6517
Primiano Tuccife502c42019-12-11 01:00:27 +00006518// GN: //protos/perfetto/trace/chrome:cpp
Spandan Das34f1b982023-10-13 23:24:01 +00006519filegroup {
6520 name: "perfetto_protos_perfetto_trace_chrome_cpp",
Colin Cross84172332021-09-14 16:41:33 -07006521 srcs: [
6522 "protos/perfetto/trace/chrome/chrome_benchmark_metadata.proto",
6523 "protos/perfetto/trace/chrome/chrome_metadata.proto",
6524 "protos/perfetto/trace/chrome/chrome_trace_event.proto",
Etienne Pierre-doray34407262024-04-10 14:27:47 +00006525 "protos/perfetto/trace/chrome/chrome_trigger.proto",
Carlos Caballero856a7092024-01-15 17:27:35 +00006526 "protos/perfetto/trace/chrome/v8.proto",
Colin Cross84172332021-09-14 16:41:33 -07006527 ],
Spandan Das34f1b982023-10-13 23:24:01 +00006528}
6529
6530// GN: //protos/perfetto/trace/chrome:cpp
6531genrule {
6532 name: "perfetto_protos_perfetto_trace_chrome_cpp_gen",
6533 srcs: [
6534 ":perfetto_protos_perfetto_trace_chrome_cpp",
6535 ],
Colin Cross84172332021-09-14 16:41:33 -07006536 tools: [
6537 "aprotoc",
6538 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
6539 ],
Spandan Das34f1b982023-10-13 23:24:01 +00006540 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_chrome_cpp)",
Colin Cross84172332021-09-14 16:41:33 -07006541 out: [
6542 "external/perfetto/protos/perfetto/trace/chrome/chrome_benchmark_metadata.gen.cc",
6543 "external/perfetto/protos/perfetto/trace/chrome/chrome_metadata.gen.cc",
6544 "external/perfetto/protos/perfetto/trace/chrome/chrome_trace_event.gen.cc",
Etienne Pierre-doray34407262024-04-10 14:27:47 +00006545 "external/perfetto/protos/perfetto/trace/chrome/chrome_trigger.gen.cc",
Carlos Caballero856a7092024-01-15 17:27:35 +00006546 "external/perfetto/protos/perfetto/trace/chrome/v8.gen.cc",
Colin Cross84172332021-09-14 16:41:33 -07006547 ],
Primiano Tuccife502c42019-12-11 01:00:27 +00006548}
6549
6550// GN: //protos/perfetto/trace/chrome:cpp
6551genrule {
Colin Cross84172332021-09-14 16:41:33 -07006552 name: "perfetto_protos_perfetto_trace_chrome_cpp_gen_headers",
6553 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00006554 ":perfetto_protos_perfetto_trace_chrome_cpp",
Colin Cross84172332021-09-14 16:41:33 -07006555 ],
6556 tools: [
6557 "aprotoc",
6558 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
6559 ],
Spandan Das34f1b982023-10-13 23:24:01 +00006560 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_chrome_cpp)",
Colin Cross84172332021-09-14 16:41:33 -07006561 out: [
6562 "external/perfetto/protos/perfetto/trace/chrome/chrome_benchmark_metadata.gen.h",
6563 "external/perfetto/protos/perfetto/trace/chrome/chrome_metadata.gen.h",
6564 "external/perfetto/protos/perfetto/trace/chrome/chrome_trace_event.gen.h",
Etienne Pierre-doray34407262024-04-10 14:27:47 +00006565 "external/perfetto/protos/perfetto/trace/chrome/chrome_trigger.gen.h",
Carlos Caballero856a7092024-01-15 17:27:35 +00006566 "external/perfetto/protos/perfetto/trace/chrome/v8.gen.h",
Colin Cross84172332021-09-14 16:41:33 -07006567 ],
6568 export_include_dirs: [
6569 ".",
6570 "protos",
6571 ],
Primiano Tuccife502c42019-12-11 01:00:27 +00006572}
6573
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01006574// GN: //protos/perfetto/trace/chrome:lite
Spandan Das34f1b982023-10-13 23:24:01 +00006575filegroup {
6576 name: "perfetto_protos_perfetto_trace_chrome_lite",
Colin Cross84172332021-09-14 16:41:33 -07006577 srcs: [
6578 "protos/perfetto/trace/chrome/chrome_benchmark_metadata.proto",
6579 "protos/perfetto/trace/chrome/chrome_metadata.proto",
6580 "protos/perfetto/trace/chrome/chrome_trace_event.proto",
Etienne Pierre-doray34407262024-04-10 14:27:47 +00006581 "protos/perfetto/trace/chrome/chrome_trigger.proto",
Carlos Caballero856a7092024-01-15 17:27:35 +00006582 "protos/perfetto/trace/chrome/v8.proto",
Colin Cross84172332021-09-14 16:41:33 -07006583 ],
Spandan Das34f1b982023-10-13 23:24:01 +00006584}
6585
6586// GN: //protos/perfetto/trace/chrome:lite
6587genrule {
6588 name: "perfetto_protos_perfetto_trace_chrome_lite_gen",
6589 srcs: [
6590 ":perfetto_protos_perfetto_trace_chrome_lite",
6591 ],
Colin Cross84172332021-09-14 16:41:33 -07006592 tools: [
6593 "aprotoc",
6594 ],
Spandan Das34f1b982023-10-13 23:24:01 +00006595 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_chrome_lite)",
Colin Cross84172332021-09-14 16:41:33 -07006596 out: [
6597 "external/perfetto/protos/perfetto/trace/chrome/chrome_benchmark_metadata.pb.cc",
6598 "external/perfetto/protos/perfetto/trace/chrome/chrome_metadata.pb.cc",
6599 "external/perfetto/protos/perfetto/trace/chrome/chrome_trace_event.pb.cc",
Etienne Pierre-doray34407262024-04-10 14:27:47 +00006600 "external/perfetto/protos/perfetto/trace/chrome/chrome_trigger.pb.cc",
Carlos Caballero856a7092024-01-15 17:27:35 +00006601 "external/perfetto/protos/perfetto/trace/chrome/v8.pb.cc",
Colin Cross84172332021-09-14 16:41:33 -07006602 ],
Oystein Eftevaagab3b1b22018-03-08 16:27:06 -08006603}
6604
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01006605// GN: //protos/perfetto/trace/chrome:lite
Oystein Eftevaagab3b1b22018-03-08 16:27:06 -08006606genrule {
Colin Cross84172332021-09-14 16:41:33 -07006607 name: "perfetto_protos_perfetto_trace_chrome_lite_gen_headers",
6608 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00006609 ":perfetto_protos_perfetto_trace_chrome_lite",
Colin Cross84172332021-09-14 16:41:33 -07006610 ],
6611 tools: [
6612 "aprotoc",
6613 ],
Spandan Das34f1b982023-10-13 23:24:01 +00006614 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_chrome_lite)",
Colin Cross84172332021-09-14 16:41:33 -07006615 out: [
6616 "external/perfetto/protos/perfetto/trace/chrome/chrome_benchmark_metadata.pb.h",
6617 "external/perfetto/protos/perfetto/trace/chrome/chrome_metadata.pb.h",
6618 "external/perfetto/protos/perfetto/trace/chrome/chrome_trace_event.pb.h",
Etienne Pierre-doray34407262024-04-10 14:27:47 +00006619 "external/perfetto/protos/perfetto/trace/chrome/chrome_trigger.pb.h",
Carlos Caballero856a7092024-01-15 17:27:35 +00006620 "external/perfetto/protos/perfetto/trace/chrome/v8.pb.h",
Colin Cross84172332021-09-14 16:41:33 -07006621 ],
6622 export_include_dirs: [
6623 ".",
6624 "protos",
6625 ],
Oystein Eftevaagab3b1b22018-03-08 16:27:06 -08006626}
6627
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01006628// GN: //protos/perfetto/trace/chrome:zero
Spandan Das34f1b982023-10-13 23:24:01 +00006629filegroup {
6630 name: "perfetto_protos_perfetto_trace_chrome_zero",
Colin Cross84172332021-09-14 16:41:33 -07006631 srcs: [
6632 "protos/perfetto/trace/chrome/chrome_benchmark_metadata.proto",
6633 "protos/perfetto/trace/chrome/chrome_metadata.proto",
6634 "protos/perfetto/trace/chrome/chrome_trace_event.proto",
Etienne Pierre-doray34407262024-04-10 14:27:47 +00006635 "protos/perfetto/trace/chrome/chrome_trigger.proto",
Carlos Caballero856a7092024-01-15 17:27:35 +00006636 "protos/perfetto/trace/chrome/v8.proto",
Colin Cross84172332021-09-14 16:41:33 -07006637 ],
Spandan Das34f1b982023-10-13 23:24:01 +00006638}
6639
6640// GN: //protos/perfetto/trace/chrome:zero
6641genrule {
6642 name: "perfetto_protos_perfetto_trace_chrome_zero_gen",
6643 srcs: [
6644 ":perfetto_protos_perfetto_trace_chrome_zero",
6645 ],
Colin Cross84172332021-09-14 16:41:33 -07006646 tools: [
6647 "aprotoc",
6648 "protozero_plugin",
6649 ],
Spandan Das34f1b982023-10-13 23:24:01 +00006650 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_chrome_zero)",
Colin Cross84172332021-09-14 16:41:33 -07006651 out: [
6652 "external/perfetto/protos/perfetto/trace/chrome/chrome_benchmark_metadata.pbzero.cc",
6653 "external/perfetto/protos/perfetto/trace/chrome/chrome_metadata.pbzero.cc",
6654 "external/perfetto/protos/perfetto/trace/chrome/chrome_trace_event.pbzero.cc",
Etienne Pierre-doray34407262024-04-10 14:27:47 +00006655 "external/perfetto/protos/perfetto/trace/chrome/chrome_trigger.pbzero.cc",
Carlos Caballero856a7092024-01-15 17:27:35 +00006656 "external/perfetto/protos/perfetto/trace/chrome/v8.pbzero.cc",
Colin Cross84172332021-09-14 16:41:33 -07006657 ],
Oystein Eftevaagab3b1b22018-03-08 16:27:06 -08006658}
6659
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01006660// GN: //protos/perfetto/trace/chrome:zero
Oystein Eftevaagab3b1b22018-03-08 16:27:06 -08006661genrule {
Colin Cross84172332021-09-14 16:41:33 -07006662 name: "perfetto_protos_perfetto_trace_chrome_zero_gen_headers",
6663 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00006664 ":perfetto_protos_perfetto_trace_chrome_zero",
Colin Cross84172332021-09-14 16:41:33 -07006665 ],
6666 tools: [
6667 "aprotoc",
6668 "protozero_plugin",
6669 ],
Spandan Das34f1b982023-10-13 23:24:01 +00006670 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_chrome_zero)",
Colin Cross84172332021-09-14 16:41:33 -07006671 out: [
6672 "external/perfetto/protos/perfetto/trace/chrome/chrome_benchmark_metadata.pbzero.h",
6673 "external/perfetto/protos/perfetto/trace/chrome/chrome_metadata.pbzero.h",
6674 "external/perfetto/protos/perfetto/trace/chrome/chrome_trace_event.pbzero.h",
Etienne Pierre-doray34407262024-04-10 14:27:47 +00006675 "external/perfetto/protos/perfetto/trace/chrome/chrome_trigger.pbzero.h",
Carlos Caballero856a7092024-01-15 17:27:35 +00006676 "external/perfetto/protos/perfetto/trace/chrome/v8.pbzero.h",
Colin Cross84172332021-09-14 16:41:33 -07006677 ],
6678 export_include_dirs: [
6679 ".",
6680 "protos",
6681 ],
Oystein Eftevaagab3b1b22018-03-08 16:27:06 -08006682}
6683
Lalit Maganti9c2318c2021-05-20 16:21:41 +01006684// GN: //protos/perfetto/trace:descriptor
6685genrule {
Colin Cross84172332021-09-14 16:41:33 -07006686 name: "perfetto_protos_perfetto_trace_descriptor",
6687 srcs: [
6688 "protos/perfetto/common/android_energy_consumer_descriptor.proto",
6689 "protos/perfetto/common/android_log_constants.proto",
6690 "protos/perfetto/common/builtin_clock.proto",
6691 "protos/perfetto/common/commit_data_request.proto",
6692 "protos/perfetto/common/data_source_descriptor.proto",
6693 "protos/perfetto/common/descriptor.proto",
Daniele Di Proietto97c33812022-02-21 13:49:52 +00006694 "protos/perfetto/common/ftrace_descriptor.proto",
Colin Cross84172332021-09-14 16:41:33 -07006695 "protos/perfetto/common/gpu_counter_descriptor.proto",
6696 "protos/perfetto/common/interceptor_descriptor.proto",
6697 "protos/perfetto/common/observable_events.proto",
6698 "protos/perfetto/common/perf_events.proto",
Pablo Gamito56893db2023-11-28 16:32:24 +00006699 "protos/perfetto/common/protolog_common.proto",
Colin Cross84172332021-09-14 16:41:33 -07006700 "protos/perfetto/common/sys_stats_counters.proto",
6701 "protos/perfetto/common/trace_stats.proto",
6702 "protos/perfetto/common/tracing_service_capabilities.proto",
6703 "protos/perfetto/common/tracing_service_state.proto",
6704 "protos/perfetto/common/track_event_descriptor.proto",
Andy Yu2e3c9b62022-05-31 11:23:18 -07006705 "protos/perfetto/config/android/android_game_intervention_list_config.proto",
Prabir Pradhan278f4672024-01-16 21:01:06 +00006706 "protos/perfetto/config/android/android_input_event_config.proto",
Colin Cross84172332021-09-14 16:41:33 -07006707 "protos/perfetto/config/android/android_log_config.proto",
6708 "protos/perfetto/config/android/android_polled_state_config.proto",
Nolan Scobieae5edf02023-04-23 17:23:23 -04006709 "protos/perfetto/config/android/android_sdk_sysprop_guard_config.proto",
Simon MacMullenf0a6b382022-07-06 16:35:55 +00006710 "protos/perfetto/config/android/android_system_property_config.proto",
Ryan Zuklie1c0a5002022-11-18 17:03:37 -08006711 "protos/perfetto/config/android/network_trace_config.proto",
Colin Cross84172332021-09-14 16:41:33 -07006712 "protos/perfetto/config/android/packages_list_config.proto",
Simon MacMullen10715962024-04-18 17:48:47 +00006713 "protos/perfetto/config/android/pixel_modem_config.proto",
Pablo Gamito56893db2023-11-28 16:32:24 +00006714 "protos/perfetto/config/android/protolog_config.proto",
Kean Mariottia977e772023-06-06 08:27:55 +00006715 "protos/perfetto/config/android/surfaceflinger_layers_config.proto",
Kean Mariotti8200d062023-08-02 13:14:10 +00006716 "protos/perfetto/config/android/surfaceflinger_transactions_config.proto",
Kean Mariotti1060a4a2024-06-26 08:01:48 +00006717 "protos/perfetto/config/android/windowmanager_config.proto",
Colin Cross84172332021-09-14 16:41:33 -07006718 "protos/perfetto/config/chrome/chrome_config.proto",
Etienne Pierre-dorayd8663352023-02-28 21:24:56 +00006719 "protos/perfetto/config/chrome/scenario_config.proto",
Etienne Pierre-doray0508c942024-10-31 15:38:19 +00006720 "protos/perfetto/config/chrome/system_metrics.proto",
Carlos Caballero856a7092024-01-15 17:27:35 +00006721 "protos/perfetto/config/chrome/v8_config.proto",
Colin Cross84172332021-09-14 16:41:33 -07006722 "protos/perfetto/config/data_source_config.proto",
Alex Attar40214472023-11-27 10:59:52 -05006723 "protos/perfetto/config/etw/etw_config.proto",
Colin Cross84172332021-09-14 16:41:33 -07006724 "protos/perfetto/config/ftrace/ftrace_config.proto",
6725 "protos/perfetto/config/gpu/gpu_counter_config.proto",
6726 "protos/perfetto/config/gpu/vulkan_memory_config.proto",
6727 "protos/perfetto/config/inode_file/inode_file_config.proto",
6728 "protos/perfetto/config/interceptor_config.proto",
6729 "protos/perfetto/config/interceptors/console_config.proto",
6730 "protos/perfetto/config/power/android_power_config.proto",
6731 "protos/perfetto/config/process_stats/process_stats_config.proto",
6732 "protos/perfetto/config/profiling/heapprofd_config.proto",
6733 "protos/perfetto/config/profiling/java_hprof_config.proto",
6734 "protos/perfetto/config/profiling/perf_event_config.proto",
Hector Dearman5974de02022-06-23 15:31:40 +01006735 "protos/perfetto/config/statsd/atom_ids.proto",
6736 "protos/perfetto/config/statsd/statsd_tracing_config.proto",
Colin Cross84172332021-09-14 16:41:33 -07006737 "protos/perfetto/config/stress_test_config.proto",
6738 "protos/perfetto/config/sys_stats/sys_stats_config.proto",
Hector Dearman48047d12022-08-02 14:00:46 +01006739 "protos/perfetto/config/system_info/system_info.proto",
Colin Cross84172332021-09-14 16:41:33 -07006740 "protos/perfetto/config/test_config.proto",
6741 "protos/perfetto/config/trace_config.proto",
6742 "protos/perfetto/config/track_event/track_event_config.proto",
Andy Yu2e3c9b62022-05-31 11:23:18 -07006743 "protos/perfetto/trace/android/android_game_intervention_list.proto",
Colin Cross84172332021-09-14 16:41:33 -07006744 "protos/perfetto/trace/android/android_log.proto",
Simon MacMullenf0a6b382022-07-06 16:35:55 +00006745 "protos/perfetto/trace/android/android_system_property.proto",
Michael Eastwoodeb86b892022-01-20 15:59:09 -08006746 "protos/perfetto/trace/android/camera_event.proto",
Colin Cross84172332021-09-14 16:41:33 -07006747 "protos/perfetto/trace/android/frame_timeline_event.proto",
6748 "protos/perfetto/trace/android/gpu_mem_event.proto",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00006749 "protos/perfetto/trace/android/graphics/point.proto",
6750 "protos/perfetto/trace/android/graphics/rect.proto",
Colin Cross84172332021-09-14 16:41:33 -07006751 "protos/perfetto/trace/android/graphics_frame_event.proto",
6752 "protos/perfetto/trace/android/initial_display_state.proto",
Ryan Zuklie1c0a5002022-11-18 17:03:37 -08006753 "protos/perfetto/trace/android/network_trace.proto",
Colin Cross84172332021-09-14 16:41:33 -07006754 "protos/perfetto/trace/android/packages_list.proto",
Simon MacMullen10715962024-04-18 17:48:47 +00006755 "protos/perfetto/trace/android/pixel_modem_events.proto",
Pablo Gamito56893db2023-11-28 16:32:24 +00006756 "protos/perfetto/trace/android/protolog.proto",
Pablo Gamito16010812023-11-13 14:35:58 +00006757 "protos/perfetto/trace/android/shell_transition.proto",
Kean Mariottia977e772023-06-06 08:27:55 +00006758 "protos/perfetto/trace/android/surfaceflinger_common.proto",
6759 "protos/perfetto/trace/android/surfaceflinger_layers.proto",
6760 "protos/perfetto/trace/android/surfaceflinger_transactions.proto",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00006761 "protos/perfetto/trace/android/winscope_extensions.proto",
Colin Cross84172332021-09-14 16:41:33 -07006762 "protos/perfetto/trace/chrome/chrome_benchmark_metadata.proto",
6763 "protos/perfetto/trace/chrome/chrome_metadata.proto",
6764 "protos/perfetto/trace/chrome/chrome_trace_event.proto",
Etienne Pierre-doray34407262024-04-10 14:27:47 +00006765 "protos/perfetto/trace/chrome/chrome_trigger.proto",
Carlos Caballero856a7092024-01-15 17:27:35 +00006766 "protos/perfetto/trace/chrome/v8.proto",
Colin Cross84172332021-09-14 16:41:33 -07006767 "protos/perfetto/trace/clock_snapshot.proto",
Alex Attar3cacb1d2023-10-10 13:13:25 -04006768 "protos/perfetto/trace/etw/etw.proto",
6769 "protos/perfetto/trace/etw/etw_event.proto",
6770 "protos/perfetto/trace/etw/etw_event_bundle.proto",
Colin Cross84172332021-09-14 16:41:33 -07006771 "protos/perfetto/trace/extension_descriptor.proto",
6772 "protos/perfetto/trace/filesystem/inode_file_map.proto",
Rahul Dandamudic8169462022-09-11 13:36:37 -04006773 "protos/perfetto/trace/ftrace/android_fs.proto",
George Leeefccce32024-06-06 01:09:42 +00006774 "protos/perfetto/trace/ftrace/bcl_exynos.proto",
Colin Cross84172332021-09-14 16:41:33 -07006775 "protos/perfetto/trace/ftrace/binder.proto",
6776 "protos/perfetto/trace/ftrace/block.proto",
6777 "protos/perfetto/trace/ftrace/cgroup.proto",
6778 "protos/perfetto/trace/ftrace/clk.proto",
Martin Liu2a4a27f2022-11-11 15:47:47 +08006779 "protos/perfetto/trace/ftrace/cma.proto",
Colin Cross84172332021-09-14 16:41:33 -07006780 "protos/perfetto/trace/ftrace/compaction.proto",
sashwinbalajib4f79a62024-11-07 08:24:21 +08006781 "protos/perfetto/trace/ftrace/cpm_trace.proto",
Colin Cross84172332021-09-14 16:41:33 -07006782 "protos/perfetto/trace/ftrace/cpuhp.proto",
Harvey Yangcb9754b2022-02-09 18:13:06 +08006783 "protos/perfetto/trace/ftrace/cros_ec.proto",
John Batese0a60172024-05-29 23:17:05 +00006784 "protos/perfetto/trace/ftrace/dcvsh.proto",
Samuel Wu52c46252024-09-11 17:34:10 -07006785 "protos/perfetto/trace/ftrace/devfreq.proto",
Chia-I Wu56619782022-03-28 16:02:01 -07006786 "protos/perfetto/trace/ftrace/dma_fence.proto",
Colin Cross84172332021-09-14 16:41:33 -07006787 "protos/perfetto/trace/ftrace/dmabuf_heap.proto",
6788 "protos/perfetto/trace/ftrace/dpu.proto",
Chia-I Wu56619782022-03-28 16:02:01 -07006789 "protos/perfetto/trace/ftrace/drm.proto",
Colin Cross84172332021-09-14 16:41:33 -07006790 "protos/perfetto/trace/ftrace/ext4.proto",
6791 "protos/perfetto/trace/ftrace/f2fs.proto",
6792 "protos/perfetto/trace/ftrace/fastrpc.proto",
6793 "protos/perfetto/trace/ftrace/fence.proto",
6794 "protos/perfetto/trace/ftrace/filemap.proto",
Yuan Yao389e81f2024-11-12 04:06:34 +00006795 "protos/perfetto/trace/ftrace/fs.proto",
Colin Cross84172332021-09-14 16:41:33 -07006796 "protos/perfetto/trace/ftrace/ftrace.proto",
6797 "protos/perfetto/trace/ftrace/ftrace_event.proto",
6798 "protos/perfetto/trace/ftrace/ftrace_event_bundle.proto",
6799 "protos/perfetto/trace/ftrace/ftrace_stats.proto",
6800 "protos/perfetto/trace/ftrace/g2d.proto",
6801 "protos/perfetto/trace/ftrace/generic.proto",
Tushar Khandelwal40f683b2024-05-02 11:10:09 +00006802 "protos/perfetto/trace/ftrace/google_icc_trace.proto",
6803 "protos/perfetto/trace/ftrace/google_irm_trace.proto",
Colin Cross84172332021-09-14 16:41:33 -07006804 "protos/perfetto/trace/ftrace/gpu_mem.proto",
Chia-I Wu56619782022-03-28 16:02:01 -07006805 "protos/perfetto/trace/ftrace/gpu_scheduler.proto",
Nikita Ioffe02035142023-03-02 16:57:35 +00006806 "protos/perfetto/trace/ftrace/hyp.proto",
Colin Cross84172332021-09-14 16:41:33 -07006807 "protos/perfetto/trace/ftrace/i2c.proto",
6808 "protos/perfetto/trace/ftrace/ion.proto",
6809 "protos/perfetto/trace/ftrace/ipi.proto",
6810 "protos/perfetto/trace/ftrace/irq.proto",
John Batesa0695862024-05-29 23:31:45 +00006811 "protos/perfetto/trace/ftrace/kgsl.proto",
Colin Cross84172332021-09-14 16:41:33 -07006812 "protos/perfetto/trace/ftrace/kmem.proto",
Primiano Tuccif954f862022-03-04 13:58:18 +00006813 "protos/perfetto/trace/ftrace/kvm.proto",
Colin Cross84172332021-09-14 16:41:33 -07006814 "protos/perfetto/trace/ftrace/lowmemorykiller.proto",
Nick Chung8f4dd962022-12-14 12:08:07 +00006815 "protos/perfetto/trace/ftrace/lwis.proto",
Colin Cross84172332021-09-14 16:41:33 -07006816 "protos/perfetto/trace/ftrace/mali.proto",
6817 "protos/perfetto/trace/ftrace/mdss.proto",
6818 "protos/perfetto/trace/ftrace/mm_event.proto",
Luke Chang496f94a2021-12-03 17:13:00 +08006819 "protos/perfetto/trace/ftrace/net.proto",
Colin Cross84172332021-09-14 16:41:33 -07006820 "protos/perfetto/trace/ftrace/oom.proto",
Jeremy DeHaan57d8b862022-09-02 22:08:43 +00006821 "protos/perfetto/trace/ftrace/panel.proto",
lukechang0d6f88d2023-12-04 05:56:12 +00006822 "protos/perfetto/trace/ftrace/perf_trace_counters.proto",
Dmitry Skibaf8802a52024-08-23 14:13:07 -07006823 "protos/perfetto/trace/ftrace/pixel_mm.proto",
Colin Cross84172332021-09-14 16:41:33 -07006824 "protos/perfetto/trace/ftrace/power.proto",
Hector Dearmanae5a60e2022-03-30 19:30:43 +01006825 "protos/perfetto/trace/ftrace/printk.proto",
Colin Cross84172332021-09-14 16:41:33 -07006826 "protos/perfetto/trace/ftrace/raw_syscalls.proto",
6827 "protos/perfetto/trace/ftrace/regulator.proto",
Vilas Bhat20477072024-02-28 11:29:47 -08006828 "protos/perfetto/trace/ftrace/rpm.proto",
Jaewon Kim7e13b1e2023-08-09 16:09:30 +09006829 "protos/perfetto/trace/ftrace/samsung.proto",
Colin Cross84172332021-09-14 16:41:33 -07006830 "protos/perfetto/trace/ftrace/sched.proto",
6831 "protos/perfetto/trace/ftrace/scm.proto",
6832 "protos/perfetto/trace/ftrace/sde.proto",
6833 "protos/perfetto/trace/ftrace/signal.proto",
Luke Changd041e6e2022-02-25 13:24:42 +08006834 "protos/perfetto/trace/ftrace/skb.proto",
Luke Chang1b904072022-01-26 09:33:19 +08006835 "protos/perfetto/trace/ftrace/sock.proto",
Colin Cross84172332021-09-14 16:41:33 -07006836 "protos/perfetto/trace/ftrace/sync.proto",
Kalesh Singh84f62e42021-11-15 19:01:23 -08006837 "protos/perfetto/trace/ftrace/synthetic.proto",
Colin Cross84172332021-09-14 16:41:33 -07006838 "protos/perfetto/trace/ftrace/systrace.proto",
6839 "protos/perfetto/trace/ftrace/task.proto",
Luke Chang4eb23ab2022-01-27 16:31:46 +08006840 "protos/perfetto/trace/ftrace/tcp.proto",
Colin Cross84172332021-09-14 16:41:33 -07006841 "protos/perfetto/trace/ftrace/test_bundle_wrapper.proto",
6842 "protos/perfetto/trace/ftrace/thermal.proto",
sashwinbalaji008127d2024-05-06 08:43:28 +08006843 "protos/perfetto/trace/ftrace/thermal_exynos.proto",
Padmanabha V0e45bba2022-10-20 05:26:21 +00006844 "protos/perfetto/trace/ftrace/trusty.proto",
YH Linbce42862022-03-15 02:45:18 +08006845 "protos/perfetto/trace/ftrace/ufs.proto",
Bartłomiej Grzesik6b257532022-08-08 09:34:15 +00006846 "protos/perfetto/trace/ftrace/v4l2.proto",
Rob Clark50b20aa2022-11-29 14:24:18 -08006847 "protos/perfetto/trace/ftrace/virtio_gpu.proto",
Bartłomiej Grzesikfa4c9c92022-10-03 11:12:18 +00006848 "protos/perfetto/trace/ftrace/virtio_video.proto",
Colin Cross84172332021-09-14 16:41:33 -07006849 "protos/perfetto/trace/ftrace/vmscan.proto",
6850 "protos/perfetto/trace/ftrace/workqueue.proto",
6851 "protos/perfetto/trace/gpu/gpu_counter_event.proto",
6852 "protos/perfetto/trace/gpu/gpu_log.proto",
6853 "protos/perfetto/trace/gpu/gpu_render_stage_event.proto",
6854 "protos/perfetto/trace/gpu/vulkan_api_event.proto",
6855 "protos/perfetto/trace/gpu/vulkan_memory_event.proto",
6856 "protos/perfetto/trace/interned_data/interned_data.proto",
6857 "protos/perfetto/trace/memory_graph.proto",
6858 "protos/perfetto/trace/perfetto/perfetto_metatrace.proto",
6859 "protos/perfetto/trace/perfetto/tracing_service_event.proto",
6860 "protos/perfetto/trace/power/android_energy_estimation_breakdown.proto",
Simon MacMullen1777bde2023-02-17 14:54:01 +00006861 "protos/perfetto/trace/power/android_entity_state_residency.proto",
Colin Cross84172332021-09-14 16:41:33 -07006862 "protos/perfetto/trace/power/battery_counters.proto",
6863 "protos/perfetto/trace/power/power_rails.proto",
6864 "protos/perfetto/trace/profiling/deobfuscation.proto",
6865 "protos/perfetto/trace/profiling/heap_graph.proto",
6866 "protos/perfetto/trace/profiling/profile_common.proto",
6867 "protos/perfetto/trace/profiling/profile_packet.proto",
6868 "protos/perfetto/trace/profiling/smaps.proto",
6869 "protos/perfetto/trace/ps/process_stats.proto",
6870 "protos/perfetto/trace/ps/process_tree.proto",
Chinglin Yu76788d22024-02-21 15:49:43 +08006871 "protos/perfetto/trace/remote_clock_sync.proto",
Hector Dearman5974de02022-06-23 15:31:40 +01006872 "protos/perfetto/trace/statsd/statsd_atom.proto",
Colin Cross84172332021-09-14 16:41:33 -07006873 "protos/perfetto/trace/sys_stats/sys_stats.proto",
6874 "protos/perfetto/trace/system_info.proto",
6875 "protos/perfetto/trace/system_info/cpu_info.proto",
6876 "protos/perfetto/trace/test_event.proto",
6877 "protos/perfetto/trace/test_extensions.proto",
6878 "protos/perfetto/trace/trace.proto",
6879 "protos/perfetto/trace/trace_packet.proto",
6880 "protos/perfetto/trace/trace_packet_defaults.proto",
Primiano Tucci7c327c22022-11-23 12:24:49 +00006881 "protos/perfetto/trace/trace_uuid.proto",
Igor Kraskevichebf48602022-10-25 10:28:36 +00006882 "protos/perfetto/trace/track_event/chrome_active_processes.proto",
Colin Cross84172332021-09-14 16:41:33 -07006883 "protos/perfetto/trace/track_event/chrome_application_state_info.proto",
6884 "protos/perfetto/trace/track_event/chrome_compositor_scheduler_state.proto",
6885 "protos/perfetto/trace/track_event/chrome_content_settings_event_info.proto",
6886 "protos/perfetto/trace/track_event/chrome_frame_reporter.proto",
6887 "protos/perfetto/trace/track_event/chrome_histogram_sample.proto",
6888 "protos/perfetto/trace/track_event/chrome_keyed_service.proto",
6889 "protos/perfetto/trace/track_event/chrome_latency_info.proto",
6890 "protos/perfetto/trace/track_event/chrome_legacy_ipc.proto",
6891 "protos/perfetto/trace/track_event/chrome_message_pump.proto",
6892 "protos/perfetto/trace/track_event/chrome_mojo_event_info.proto",
6893 "protos/perfetto/trace/track_event/chrome_process_descriptor.proto",
6894 "protos/perfetto/trace/track_event/chrome_renderer_scheduler_state.proto",
6895 "protos/perfetto/trace/track_event/chrome_thread_descriptor.proto",
6896 "protos/perfetto/trace/track_event/chrome_user_event.proto",
6897 "protos/perfetto/trace/track_event/chrome_window_handle_event_info.proto",
6898 "protos/perfetto/trace/track_event/counter_descriptor.proto",
6899 "protos/perfetto/trace/track_event/debug_annotation.proto",
6900 "protos/perfetto/trace/track_event/log_message.proto",
6901 "protos/perfetto/trace/track_event/process_descriptor.proto",
Igor Kraskevich49756332022-12-01 18:05:57 +00006902 "protos/perfetto/trace/track_event/range_of_interest.proto",
Kartar Singhec8171e2023-09-28 12:06:44 +01006903 "protos/perfetto/trace/track_event/screenshot.proto",
Colin Cross84172332021-09-14 16:41:33 -07006904 "protos/perfetto/trace/track_event/source_location.proto",
6905 "protos/perfetto/trace/track_event/task_execution.proto",
6906 "protos/perfetto/trace/track_event/thread_descriptor.proto",
6907 "protos/perfetto/trace/track_event/track_descriptor.proto",
6908 "protos/perfetto/trace/track_event/track_event.proto",
Igor Kraskevich49b42882022-03-21 13:03:02 +00006909 "protos/perfetto/trace/translation/translation_table.proto",
Colin Cross84172332021-09-14 16:41:33 -07006910 "protos/perfetto/trace/trigger.proto",
6911 "protos/perfetto/trace/ui_state.proto",
6912 ],
6913 tools: [
6914 "aprotoc",
6915 ],
6916 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --descriptor_set_out=$(out) $(in)",
6917 out: [
6918 "perfetto_protos_perfetto_trace_descriptor.bin",
6919 ],
Lalit Maganti9c2318c2021-05-20 16:21:41 +01006920}
6921
Alex Attar3cacb1d2023-10-10 13:13:25 -04006922// GN: //protos/perfetto/trace/etw:cpp
Spandan Das34f1b982023-10-13 23:24:01 +00006923filegroup {
6924 name: "perfetto_protos_perfetto_trace_etw_cpp",
Alex Attar3cacb1d2023-10-10 13:13:25 -04006925 srcs: [
6926 "protos/perfetto/trace/etw/etw.proto",
6927 "protos/perfetto/trace/etw/etw_event.proto",
6928 "protos/perfetto/trace/etw/etw_event_bundle.proto",
6929 ],
Spandan Das34f1b982023-10-13 23:24:01 +00006930}
6931
6932// GN: //protos/perfetto/trace/etw:cpp
6933genrule {
6934 name: "perfetto_protos_perfetto_trace_etw_cpp_gen",
6935 srcs: [
6936 ":perfetto_protos_perfetto_trace_etw_cpp",
6937 ],
Alex Attar3cacb1d2023-10-10 13:13:25 -04006938 tools: [
6939 "aprotoc",
6940 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
6941 ],
Spandan Das34f1b982023-10-13 23:24:01 +00006942 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_etw_cpp)",
Alex Attar3cacb1d2023-10-10 13:13:25 -04006943 out: [
6944 "external/perfetto/protos/perfetto/trace/etw/etw.gen.cc",
6945 "external/perfetto/protos/perfetto/trace/etw/etw_event.gen.cc",
6946 "external/perfetto/protos/perfetto/trace/etw/etw_event_bundle.gen.cc",
6947 ],
6948}
6949
6950// GN: //protos/perfetto/trace/etw:cpp
6951genrule {
6952 name: "perfetto_protos_perfetto_trace_etw_cpp_gen_headers",
6953 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00006954 ":perfetto_protos_perfetto_trace_etw_cpp",
Alex Attar3cacb1d2023-10-10 13:13:25 -04006955 ],
6956 tools: [
6957 "aprotoc",
6958 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
6959 ],
Spandan Das34f1b982023-10-13 23:24:01 +00006960 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_etw_cpp)",
Alex Attar3cacb1d2023-10-10 13:13:25 -04006961 out: [
6962 "external/perfetto/protos/perfetto/trace/etw/etw.gen.h",
6963 "external/perfetto/protos/perfetto/trace/etw/etw_event.gen.h",
6964 "external/perfetto/protos/perfetto/trace/etw/etw_event_bundle.gen.h",
6965 ],
6966 export_include_dirs: [
6967 ".",
6968 "protos",
6969 ],
6970}
6971
6972// GN: //protos/perfetto/trace/etw:lite
Spandan Das34f1b982023-10-13 23:24:01 +00006973filegroup {
6974 name: "perfetto_protos_perfetto_trace_etw_lite",
Alex Attar3cacb1d2023-10-10 13:13:25 -04006975 srcs: [
6976 "protos/perfetto/trace/etw/etw.proto",
6977 "protos/perfetto/trace/etw/etw_event.proto",
6978 "protos/perfetto/trace/etw/etw_event_bundle.proto",
6979 ],
Spandan Das34f1b982023-10-13 23:24:01 +00006980}
6981
6982// GN: //protos/perfetto/trace/etw:lite
6983genrule {
6984 name: "perfetto_protos_perfetto_trace_etw_lite_gen",
6985 srcs: [
6986 ":perfetto_protos_perfetto_trace_etw_lite",
6987 ],
Alex Attar3cacb1d2023-10-10 13:13:25 -04006988 tools: [
6989 "aprotoc",
6990 ],
Spandan Das34f1b982023-10-13 23:24:01 +00006991 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_etw_lite)",
Alex Attar3cacb1d2023-10-10 13:13:25 -04006992 out: [
6993 "external/perfetto/protos/perfetto/trace/etw/etw.pb.cc",
6994 "external/perfetto/protos/perfetto/trace/etw/etw_event.pb.cc",
6995 "external/perfetto/protos/perfetto/trace/etw/etw_event_bundle.pb.cc",
6996 ],
6997}
6998
6999// GN: //protos/perfetto/trace/etw:lite
7000genrule {
7001 name: "perfetto_protos_perfetto_trace_etw_lite_gen_headers",
7002 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00007003 ":perfetto_protos_perfetto_trace_etw_lite",
Alex Attar3cacb1d2023-10-10 13:13:25 -04007004 ],
7005 tools: [
7006 "aprotoc",
7007 ],
Spandan Das34f1b982023-10-13 23:24:01 +00007008 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_etw_lite)",
Alex Attar3cacb1d2023-10-10 13:13:25 -04007009 out: [
7010 "external/perfetto/protos/perfetto/trace/etw/etw.pb.h",
7011 "external/perfetto/protos/perfetto/trace/etw/etw_event.pb.h",
7012 "external/perfetto/protos/perfetto/trace/etw/etw_event_bundle.pb.h",
7013 ],
7014 export_include_dirs: [
7015 ".",
7016 "protos",
7017 ],
7018}
7019
7020// GN: //protos/perfetto/trace/etw:zero
Spandan Das34f1b982023-10-13 23:24:01 +00007021filegroup {
7022 name: "perfetto_protos_perfetto_trace_etw_zero",
Alex Attar3cacb1d2023-10-10 13:13:25 -04007023 srcs: [
7024 "protos/perfetto/trace/etw/etw.proto",
7025 "protos/perfetto/trace/etw/etw_event.proto",
7026 "protos/perfetto/trace/etw/etw_event_bundle.proto",
7027 ],
Spandan Das34f1b982023-10-13 23:24:01 +00007028}
7029
7030// GN: //protos/perfetto/trace/etw:zero
7031genrule {
7032 name: "perfetto_protos_perfetto_trace_etw_zero_gen",
7033 srcs: [
7034 ":perfetto_protos_perfetto_trace_etw_zero",
7035 ],
Alex Attar3cacb1d2023-10-10 13:13:25 -04007036 tools: [
7037 "aprotoc",
7038 "protozero_plugin",
7039 ],
Spandan Das34f1b982023-10-13 23:24:01 +00007040 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_etw_zero)",
Alex Attar3cacb1d2023-10-10 13:13:25 -04007041 out: [
7042 "external/perfetto/protos/perfetto/trace/etw/etw.pbzero.cc",
7043 "external/perfetto/protos/perfetto/trace/etw/etw_event.pbzero.cc",
7044 "external/perfetto/protos/perfetto/trace/etw/etw_event_bundle.pbzero.cc",
7045 ],
7046}
7047
7048// GN: //protos/perfetto/trace/etw:zero
7049genrule {
7050 name: "perfetto_protos_perfetto_trace_etw_zero_gen_headers",
7051 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00007052 ":perfetto_protos_perfetto_trace_etw_zero",
Alex Attar3cacb1d2023-10-10 13:13:25 -04007053 ],
7054 tools: [
7055 "aprotoc",
7056 "protozero_plugin",
7057 ],
Spandan Das34f1b982023-10-13 23:24:01 +00007058 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_etw_zero)",
Alex Attar3cacb1d2023-10-10 13:13:25 -04007059 out: [
7060 "external/perfetto/protos/perfetto/trace/etw/etw.pbzero.h",
7061 "external/perfetto/protos/perfetto/trace/etw/etw_event.pbzero.h",
7062 "external/perfetto/protos/perfetto/trace/etw/etw_event_bundle.pbzero.h",
7063 ],
7064 export_include_dirs: [
7065 ".",
7066 "protos",
7067 ],
7068}
7069
Primiano Tuccife502c42019-12-11 01:00:27 +00007070// GN: //protos/perfetto/trace/filesystem:cpp
Spandan Das34f1b982023-10-13 23:24:01 +00007071filegroup {
7072 name: "perfetto_protos_perfetto_trace_filesystem_cpp",
7073 srcs: [
7074 "protos/perfetto/trace/filesystem/inode_file_map.proto",
7075 ],
7076}
7077
7078// GN: //protos/perfetto/trace/filesystem:cpp
Primiano Tuccife502c42019-12-11 01:00:27 +00007079genrule {
Colin Cross84172332021-09-14 16:41:33 -07007080 name: "perfetto_protos_perfetto_trace_filesystem_cpp_gen",
7081 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00007082 ":perfetto_protos_perfetto_trace_filesystem_cpp",
Colin Cross84172332021-09-14 16:41:33 -07007083 ],
7084 tools: [
7085 "aprotoc",
7086 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
7087 ],
Spandan Das34f1b982023-10-13 23:24:01 +00007088 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_filesystem_cpp)",
Colin Cross84172332021-09-14 16:41:33 -07007089 out: [
7090 "external/perfetto/protos/perfetto/trace/filesystem/inode_file_map.gen.cc",
7091 ],
Primiano Tuccife502c42019-12-11 01:00:27 +00007092}
7093
7094// GN: //protos/perfetto/trace/filesystem:cpp
7095genrule {
Colin Cross84172332021-09-14 16:41:33 -07007096 name: "perfetto_protos_perfetto_trace_filesystem_cpp_gen_headers",
7097 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00007098 ":perfetto_protos_perfetto_trace_filesystem_cpp",
Colin Cross84172332021-09-14 16:41:33 -07007099 ],
7100 tools: [
7101 "aprotoc",
7102 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
7103 ],
Spandan Das34f1b982023-10-13 23:24:01 +00007104 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_filesystem_cpp)",
Colin Cross84172332021-09-14 16:41:33 -07007105 out: [
7106 "external/perfetto/protos/perfetto/trace/filesystem/inode_file_map.gen.h",
7107 ],
7108 export_include_dirs: [
7109 ".",
7110 "protos",
7111 ],
Primiano Tuccife502c42019-12-11 01:00:27 +00007112}
7113
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01007114// GN: //protos/perfetto/trace/filesystem:lite
Spandan Das34f1b982023-10-13 23:24:01 +00007115filegroup {
7116 name: "perfetto_protos_perfetto_trace_filesystem_lite",
7117 srcs: [
7118 "protos/perfetto/trace/filesystem/inode_file_map.proto",
7119 ],
7120}
7121
7122// GN: //protos/perfetto/trace/filesystem:lite
Anna Zapponeed55ebf2018-03-02 12:12:15 +00007123genrule {
Colin Cross84172332021-09-14 16:41:33 -07007124 name: "perfetto_protos_perfetto_trace_filesystem_lite_gen",
7125 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00007126 ":perfetto_protos_perfetto_trace_filesystem_lite",
Colin Cross84172332021-09-14 16:41:33 -07007127 ],
7128 tools: [
7129 "aprotoc",
7130 ],
Spandan Das34f1b982023-10-13 23:24:01 +00007131 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_filesystem_lite)",
Colin Cross84172332021-09-14 16:41:33 -07007132 out: [
7133 "external/perfetto/protos/perfetto/trace/filesystem/inode_file_map.pb.cc",
7134 ],
Anna Zapponeed55ebf2018-03-02 12:12:15 +00007135}
7136
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01007137// GN: //protos/perfetto/trace/filesystem:lite
Anna Zapponeed55ebf2018-03-02 12:12:15 +00007138genrule {
Colin Cross84172332021-09-14 16:41:33 -07007139 name: "perfetto_protos_perfetto_trace_filesystem_lite_gen_headers",
7140 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00007141 ":perfetto_protos_perfetto_trace_filesystem_lite",
Colin Cross84172332021-09-14 16:41:33 -07007142 ],
7143 tools: [
7144 "aprotoc",
7145 ],
Spandan Das34f1b982023-10-13 23:24:01 +00007146 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_filesystem_lite)",
Colin Cross84172332021-09-14 16:41:33 -07007147 out: [
7148 "external/perfetto/protos/perfetto/trace/filesystem/inode_file_map.pb.h",
7149 ],
7150 export_include_dirs: [
7151 ".",
7152 "protos",
7153 ],
Anna Zapponeed55ebf2018-03-02 12:12:15 +00007154}
7155
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01007156// GN: //protos/perfetto/trace/filesystem:zero
Spandan Das34f1b982023-10-13 23:24:01 +00007157filegroup {
7158 name: "perfetto_protos_perfetto_trace_filesystem_zero",
7159 srcs: [
7160 "protos/perfetto/trace/filesystem/inode_file_map.proto",
7161 ],
7162}
7163
7164// GN: //protos/perfetto/trace/filesystem:zero
Anna Zapponeed55ebf2018-03-02 12:12:15 +00007165genrule {
Colin Cross84172332021-09-14 16:41:33 -07007166 name: "perfetto_protos_perfetto_trace_filesystem_zero_gen",
7167 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00007168 ":perfetto_protos_perfetto_trace_filesystem_zero",
Colin Cross84172332021-09-14 16:41:33 -07007169 ],
7170 tools: [
7171 "aprotoc",
7172 "protozero_plugin",
7173 ],
Spandan Das34f1b982023-10-13 23:24:01 +00007174 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_filesystem_zero)",
Colin Cross84172332021-09-14 16:41:33 -07007175 out: [
7176 "external/perfetto/protos/perfetto/trace/filesystem/inode_file_map.pbzero.cc",
7177 ],
Anna Zapponeed55ebf2018-03-02 12:12:15 +00007178}
7179
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01007180// GN: //protos/perfetto/trace/filesystem:zero
Anna Zapponeed55ebf2018-03-02 12:12:15 +00007181genrule {
Colin Cross84172332021-09-14 16:41:33 -07007182 name: "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers",
7183 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00007184 ":perfetto_protos_perfetto_trace_filesystem_zero",
Colin Cross84172332021-09-14 16:41:33 -07007185 ],
7186 tools: [
7187 "aprotoc",
7188 "protozero_plugin",
7189 ],
Spandan Das34f1b982023-10-13 23:24:01 +00007190 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_filesystem_zero)",
Colin Cross84172332021-09-14 16:41:33 -07007191 out: [
7192 "external/perfetto/protos/perfetto/trace/filesystem/inode_file_map.pbzero.h",
7193 ],
7194 export_include_dirs: [
7195 ".",
7196 "protos",
7197 ],
Anna Zapponeed55ebf2018-03-02 12:12:15 +00007198}
7199
Primiano Tuccife502c42019-12-11 01:00:27 +00007200// GN: //protos/perfetto/trace/ftrace:cpp
Spandan Das34f1b982023-10-13 23:24:01 +00007201filegroup {
7202 name: "perfetto_protos_perfetto_trace_ftrace_cpp",
Colin Cross84172332021-09-14 16:41:33 -07007203 srcs: [
Rahul Dandamudic8169462022-09-11 13:36:37 -04007204 "protos/perfetto/trace/ftrace/android_fs.proto",
George Leeefccce32024-06-06 01:09:42 +00007205 "protos/perfetto/trace/ftrace/bcl_exynos.proto",
Colin Cross84172332021-09-14 16:41:33 -07007206 "protos/perfetto/trace/ftrace/binder.proto",
7207 "protos/perfetto/trace/ftrace/block.proto",
7208 "protos/perfetto/trace/ftrace/cgroup.proto",
7209 "protos/perfetto/trace/ftrace/clk.proto",
Martin Liu2a4a27f2022-11-11 15:47:47 +08007210 "protos/perfetto/trace/ftrace/cma.proto",
Colin Cross84172332021-09-14 16:41:33 -07007211 "protos/perfetto/trace/ftrace/compaction.proto",
sashwinbalajib4f79a62024-11-07 08:24:21 +08007212 "protos/perfetto/trace/ftrace/cpm_trace.proto",
Colin Cross84172332021-09-14 16:41:33 -07007213 "protos/perfetto/trace/ftrace/cpuhp.proto",
Harvey Yangcb9754b2022-02-09 18:13:06 +08007214 "protos/perfetto/trace/ftrace/cros_ec.proto",
John Batese0a60172024-05-29 23:17:05 +00007215 "protos/perfetto/trace/ftrace/dcvsh.proto",
Samuel Wu52c46252024-09-11 17:34:10 -07007216 "protos/perfetto/trace/ftrace/devfreq.proto",
Chia-I Wu56619782022-03-28 16:02:01 -07007217 "protos/perfetto/trace/ftrace/dma_fence.proto",
Colin Cross84172332021-09-14 16:41:33 -07007218 "protos/perfetto/trace/ftrace/dmabuf_heap.proto",
7219 "protos/perfetto/trace/ftrace/dpu.proto",
Chia-I Wu56619782022-03-28 16:02:01 -07007220 "protos/perfetto/trace/ftrace/drm.proto",
Colin Cross84172332021-09-14 16:41:33 -07007221 "protos/perfetto/trace/ftrace/ext4.proto",
7222 "protos/perfetto/trace/ftrace/f2fs.proto",
7223 "protos/perfetto/trace/ftrace/fastrpc.proto",
7224 "protos/perfetto/trace/ftrace/fence.proto",
7225 "protos/perfetto/trace/ftrace/filemap.proto",
Yuan Yao389e81f2024-11-12 04:06:34 +00007226 "protos/perfetto/trace/ftrace/fs.proto",
Colin Cross84172332021-09-14 16:41:33 -07007227 "protos/perfetto/trace/ftrace/ftrace.proto",
7228 "protos/perfetto/trace/ftrace/ftrace_event.proto",
7229 "protos/perfetto/trace/ftrace/ftrace_event_bundle.proto",
7230 "protos/perfetto/trace/ftrace/ftrace_stats.proto",
7231 "protos/perfetto/trace/ftrace/g2d.proto",
7232 "protos/perfetto/trace/ftrace/generic.proto",
Tushar Khandelwal40f683b2024-05-02 11:10:09 +00007233 "protos/perfetto/trace/ftrace/google_icc_trace.proto",
7234 "protos/perfetto/trace/ftrace/google_irm_trace.proto",
Colin Cross84172332021-09-14 16:41:33 -07007235 "protos/perfetto/trace/ftrace/gpu_mem.proto",
Chia-I Wu56619782022-03-28 16:02:01 -07007236 "protos/perfetto/trace/ftrace/gpu_scheduler.proto",
Nikita Ioffe02035142023-03-02 16:57:35 +00007237 "protos/perfetto/trace/ftrace/hyp.proto",
Colin Cross84172332021-09-14 16:41:33 -07007238 "protos/perfetto/trace/ftrace/i2c.proto",
7239 "protos/perfetto/trace/ftrace/ion.proto",
7240 "protos/perfetto/trace/ftrace/ipi.proto",
7241 "protos/perfetto/trace/ftrace/irq.proto",
John Batesa0695862024-05-29 23:31:45 +00007242 "protos/perfetto/trace/ftrace/kgsl.proto",
Colin Cross84172332021-09-14 16:41:33 -07007243 "protos/perfetto/trace/ftrace/kmem.proto",
Primiano Tuccif954f862022-03-04 13:58:18 +00007244 "protos/perfetto/trace/ftrace/kvm.proto",
Colin Cross84172332021-09-14 16:41:33 -07007245 "protos/perfetto/trace/ftrace/lowmemorykiller.proto",
Nick Chung8f4dd962022-12-14 12:08:07 +00007246 "protos/perfetto/trace/ftrace/lwis.proto",
Colin Cross84172332021-09-14 16:41:33 -07007247 "protos/perfetto/trace/ftrace/mali.proto",
7248 "protos/perfetto/trace/ftrace/mdss.proto",
7249 "protos/perfetto/trace/ftrace/mm_event.proto",
Luke Chang496f94a2021-12-03 17:13:00 +08007250 "protos/perfetto/trace/ftrace/net.proto",
Colin Cross84172332021-09-14 16:41:33 -07007251 "protos/perfetto/trace/ftrace/oom.proto",
Jeremy DeHaan57d8b862022-09-02 22:08:43 +00007252 "protos/perfetto/trace/ftrace/panel.proto",
lukechang0d6f88d2023-12-04 05:56:12 +00007253 "protos/perfetto/trace/ftrace/perf_trace_counters.proto",
Dmitry Skibaf8802a52024-08-23 14:13:07 -07007254 "protos/perfetto/trace/ftrace/pixel_mm.proto",
Colin Cross84172332021-09-14 16:41:33 -07007255 "protos/perfetto/trace/ftrace/power.proto",
Hector Dearmanae5a60e2022-03-30 19:30:43 +01007256 "protos/perfetto/trace/ftrace/printk.proto",
Colin Cross84172332021-09-14 16:41:33 -07007257 "protos/perfetto/trace/ftrace/raw_syscalls.proto",
7258 "protos/perfetto/trace/ftrace/regulator.proto",
Vilas Bhat20477072024-02-28 11:29:47 -08007259 "protos/perfetto/trace/ftrace/rpm.proto",
Jaewon Kim7e13b1e2023-08-09 16:09:30 +09007260 "protos/perfetto/trace/ftrace/samsung.proto",
Colin Cross84172332021-09-14 16:41:33 -07007261 "protos/perfetto/trace/ftrace/sched.proto",
7262 "protos/perfetto/trace/ftrace/scm.proto",
7263 "protos/perfetto/trace/ftrace/sde.proto",
7264 "protos/perfetto/trace/ftrace/signal.proto",
Luke Changd041e6e2022-02-25 13:24:42 +08007265 "protos/perfetto/trace/ftrace/skb.proto",
Luke Chang1b904072022-01-26 09:33:19 +08007266 "protos/perfetto/trace/ftrace/sock.proto",
Colin Cross84172332021-09-14 16:41:33 -07007267 "protos/perfetto/trace/ftrace/sync.proto",
Kalesh Singh84f62e42021-11-15 19:01:23 -08007268 "protos/perfetto/trace/ftrace/synthetic.proto",
Colin Cross84172332021-09-14 16:41:33 -07007269 "protos/perfetto/trace/ftrace/systrace.proto",
7270 "protos/perfetto/trace/ftrace/task.proto",
Luke Chang4eb23ab2022-01-27 16:31:46 +08007271 "protos/perfetto/trace/ftrace/tcp.proto",
Colin Cross84172332021-09-14 16:41:33 -07007272 "protos/perfetto/trace/ftrace/test_bundle_wrapper.proto",
7273 "protos/perfetto/trace/ftrace/thermal.proto",
sashwinbalaji008127d2024-05-06 08:43:28 +08007274 "protos/perfetto/trace/ftrace/thermal_exynos.proto",
Padmanabha V0e45bba2022-10-20 05:26:21 +00007275 "protos/perfetto/trace/ftrace/trusty.proto",
YH Linbce42862022-03-15 02:45:18 +08007276 "protos/perfetto/trace/ftrace/ufs.proto",
Bartłomiej Grzesik6b257532022-08-08 09:34:15 +00007277 "protos/perfetto/trace/ftrace/v4l2.proto",
Rob Clark50b20aa2022-11-29 14:24:18 -08007278 "protos/perfetto/trace/ftrace/virtio_gpu.proto",
Bartłomiej Grzesikfa4c9c92022-10-03 11:12:18 +00007279 "protos/perfetto/trace/ftrace/virtio_video.proto",
Colin Cross84172332021-09-14 16:41:33 -07007280 "protos/perfetto/trace/ftrace/vmscan.proto",
7281 "protos/perfetto/trace/ftrace/workqueue.proto",
7282 ],
Spandan Das34f1b982023-10-13 23:24:01 +00007283}
7284
7285// GN: //protos/perfetto/trace/ftrace:cpp
7286genrule {
7287 name: "perfetto_protos_perfetto_trace_ftrace_cpp_gen",
7288 srcs: [
7289 ":perfetto_protos_perfetto_trace_ftrace_cpp",
7290 ],
Colin Cross84172332021-09-14 16:41:33 -07007291 tools: [
7292 "aprotoc",
7293 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
7294 ],
Spandan Das34f1b982023-10-13 23:24:01 +00007295 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_ftrace_cpp)",
Colin Cross84172332021-09-14 16:41:33 -07007296 out: [
Rahul Dandamudic8169462022-09-11 13:36:37 -04007297 "external/perfetto/protos/perfetto/trace/ftrace/android_fs.gen.cc",
George Leeefccce32024-06-06 01:09:42 +00007298 "external/perfetto/protos/perfetto/trace/ftrace/bcl_exynos.gen.cc",
Colin Cross84172332021-09-14 16:41:33 -07007299 "external/perfetto/protos/perfetto/trace/ftrace/binder.gen.cc",
7300 "external/perfetto/protos/perfetto/trace/ftrace/block.gen.cc",
7301 "external/perfetto/protos/perfetto/trace/ftrace/cgroup.gen.cc",
7302 "external/perfetto/protos/perfetto/trace/ftrace/clk.gen.cc",
Martin Liu2a4a27f2022-11-11 15:47:47 +08007303 "external/perfetto/protos/perfetto/trace/ftrace/cma.gen.cc",
Colin Cross84172332021-09-14 16:41:33 -07007304 "external/perfetto/protos/perfetto/trace/ftrace/compaction.gen.cc",
sashwinbalajib4f79a62024-11-07 08:24:21 +08007305 "external/perfetto/protos/perfetto/trace/ftrace/cpm_trace.gen.cc",
Colin Cross84172332021-09-14 16:41:33 -07007306 "external/perfetto/protos/perfetto/trace/ftrace/cpuhp.gen.cc",
Harvey Yangcb9754b2022-02-09 18:13:06 +08007307 "external/perfetto/protos/perfetto/trace/ftrace/cros_ec.gen.cc",
John Batese0a60172024-05-29 23:17:05 +00007308 "external/perfetto/protos/perfetto/trace/ftrace/dcvsh.gen.cc",
Samuel Wu52c46252024-09-11 17:34:10 -07007309 "external/perfetto/protos/perfetto/trace/ftrace/devfreq.gen.cc",
Chia-I Wu56619782022-03-28 16:02:01 -07007310 "external/perfetto/protos/perfetto/trace/ftrace/dma_fence.gen.cc",
Colin Cross84172332021-09-14 16:41:33 -07007311 "external/perfetto/protos/perfetto/trace/ftrace/dmabuf_heap.gen.cc",
7312 "external/perfetto/protos/perfetto/trace/ftrace/dpu.gen.cc",
Chia-I Wu56619782022-03-28 16:02:01 -07007313 "external/perfetto/protos/perfetto/trace/ftrace/drm.gen.cc",
Colin Cross84172332021-09-14 16:41:33 -07007314 "external/perfetto/protos/perfetto/trace/ftrace/ext4.gen.cc",
7315 "external/perfetto/protos/perfetto/trace/ftrace/f2fs.gen.cc",
7316 "external/perfetto/protos/perfetto/trace/ftrace/fastrpc.gen.cc",
7317 "external/perfetto/protos/perfetto/trace/ftrace/fence.gen.cc",
7318 "external/perfetto/protos/perfetto/trace/ftrace/filemap.gen.cc",
Yuan Yao389e81f2024-11-12 04:06:34 +00007319 "external/perfetto/protos/perfetto/trace/ftrace/fs.gen.cc",
Colin Cross84172332021-09-14 16:41:33 -07007320 "external/perfetto/protos/perfetto/trace/ftrace/ftrace.gen.cc",
7321 "external/perfetto/protos/perfetto/trace/ftrace/ftrace_event.gen.cc",
7322 "external/perfetto/protos/perfetto/trace/ftrace/ftrace_event_bundle.gen.cc",
7323 "external/perfetto/protos/perfetto/trace/ftrace/ftrace_stats.gen.cc",
7324 "external/perfetto/protos/perfetto/trace/ftrace/g2d.gen.cc",
7325 "external/perfetto/protos/perfetto/trace/ftrace/generic.gen.cc",
Tushar Khandelwal40f683b2024-05-02 11:10:09 +00007326 "external/perfetto/protos/perfetto/trace/ftrace/google_icc_trace.gen.cc",
7327 "external/perfetto/protos/perfetto/trace/ftrace/google_irm_trace.gen.cc",
Colin Cross84172332021-09-14 16:41:33 -07007328 "external/perfetto/protos/perfetto/trace/ftrace/gpu_mem.gen.cc",
Chia-I Wu56619782022-03-28 16:02:01 -07007329 "external/perfetto/protos/perfetto/trace/ftrace/gpu_scheduler.gen.cc",
Nikita Ioffe02035142023-03-02 16:57:35 +00007330 "external/perfetto/protos/perfetto/trace/ftrace/hyp.gen.cc",
Colin Cross84172332021-09-14 16:41:33 -07007331 "external/perfetto/protos/perfetto/trace/ftrace/i2c.gen.cc",
7332 "external/perfetto/protos/perfetto/trace/ftrace/ion.gen.cc",
7333 "external/perfetto/protos/perfetto/trace/ftrace/ipi.gen.cc",
7334 "external/perfetto/protos/perfetto/trace/ftrace/irq.gen.cc",
John Batesa0695862024-05-29 23:31:45 +00007335 "external/perfetto/protos/perfetto/trace/ftrace/kgsl.gen.cc",
Colin Cross84172332021-09-14 16:41:33 -07007336 "external/perfetto/protos/perfetto/trace/ftrace/kmem.gen.cc",
Primiano Tuccif954f862022-03-04 13:58:18 +00007337 "external/perfetto/protos/perfetto/trace/ftrace/kvm.gen.cc",
Colin Cross84172332021-09-14 16:41:33 -07007338 "external/perfetto/protos/perfetto/trace/ftrace/lowmemorykiller.gen.cc",
Nick Chung8f4dd962022-12-14 12:08:07 +00007339 "external/perfetto/protos/perfetto/trace/ftrace/lwis.gen.cc",
Colin Cross84172332021-09-14 16:41:33 -07007340 "external/perfetto/protos/perfetto/trace/ftrace/mali.gen.cc",
7341 "external/perfetto/protos/perfetto/trace/ftrace/mdss.gen.cc",
7342 "external/perfetto/protos/perfetto/trace/ftrace/mm_event.gen.cc",
Luke Chang496f94a2021-12-03 17:13:00 +08007343 "external/perfetto/protos/perfetto/trace/ftrace/net.gen.cc",
Colin Cross84172332021-09-14 16:41:33 -07007344 "external/perfetto/protos/perfetto/trace/ftrace/oom.gen.cc",
Jeremy DeHaan57d8b862022-09-02 22:08:43 +00007345 "external/perfetto/protos/perfetto/trace/ftrace/panel.gen.cc",
lukechang0d6f88d2023-12-04 05:56:12 +00007346 "external/perfetto/protos/perfetto/trace/ftrace/perf_trace_counters.gen.cc",
Dmitry Skibaf8802a52024-08-23 14:13:07 -07007347 "external/perfetto/protos/perfetto/trace/ftrace/pixel_mm.gen.cc",
Colin Cross84172332021-09-14 16:41:33 -07007348 "external/perfetto/protos/perfetto/trace/ftrace/power.gen.cc",
Hector Dearmanae5a60e2022-03-30 19:30:43 +01007349 "external/perfetto/protos/perfetto/trace/ftrace/printk.gen.cc",
Colin Cross84172332021-09-14 16:41:33 -07007350 "external/perfetto/protos/perfetto/trace/ftrace/raw_syscalls.gen.cc",
7351 "external/perfetto/protos/perfetto/trace/ftrace/regulator.gen.cc",
Vilas Bhat20477072024-02-28 11:29:47 -08007352 "external/perfetto/protos/perfetto/trace/ftrace/rpm.gen.cc",
Jaewon Kim7e13b1e2023-08-09 16:09:30 +09007353 "external/perfetto/protos/perfetto/trace/ftrace/samsung.gen.cc",
Colin Cross84172332021-09-14 16:41:33 -07007354 "external/perfetto/protos/perfetto/trace/ftrace/sched.gen.cc",
7355 "external/perfetto/protos/perfetto/trace/ftrace/scm.gen.cc",
7356 "external/perfetto/protos/perfetto/trace/ftrace/sde.gen.cc",
7357 "external/perfetto/protos/perfetto/trace/ftrace/signal.gen.cc",
Luke Changd041e6e2022-02-25 13:24:42 +08007358 "external/perfetto/protos/perfetto/trace/ftrace/skb.gen.cc",
Luke Chang1b904072022-01-26 09:33:19 +08007359 "external/perfetto/protos/perfetto/trace/ftrace/sock.gen.cc",
Colin Cross84172332021-09-14 16:41:33 -07007360 "external/perfetto/protos/perfetto/trace/ftrace/sync.gen.cc",
Kalesh Singh84f62e42021-11-15 19:01:23 -08007361 "external/perfetto/protos/perfetto/trace/ftrace/synthetic.gen.cc",
Colin Cross84172332021-09-14 16:41:33 -07007362 "external/perfetto/protos/perfetto/trace/ftrace/systrace.gen.cc",
7363 "external/perfetto/protos/perfetto/trace/ftrace/task.gen.cc",
Luke Chang4eb23ab2022-01-27 16:31:46 +08007364 "external/perfetto/protos/perfetto/trace/ftrace/tcp.gen.cc",
Colin Cross84172332021-09-14 16:41:33 -07007365 "external/perfetto/protos/perfetto/trace/ftrace/test_bundle_wrapper.gen.cc",
7366 "external/perfetto/protos/perfetto/trace/ftrace/thermal.gen.cc",
sashwinbalaji008127d2024-05-06 08:43:28 +08007367 "external/perfetto/protos/perfetto/trace/ftrace/thermal_exynos.gen.cc",
Padmanabha V0e45bba2022-10-20 05:26:21 +00007368 "external/perfetto/protos/perfetto/trace/ftrace/trusty.gen.cc",
YH Linbce42862022-03-15 02:45:18 +08007369 "external/perfetto/protos/perfetto/trace/ftrace/ufs.gen.cc",
Bartłomiej Grzesik6b257532022-08-08 09:34:15 +00007370 "external/perfetto/protos/perfetto/trace/ftrace/v4l2.gen.cc",
Rob Clark50b20aa2022-11-29 14:24:18 -08007371 "external/perfetto/protos/perfetto/trace/ftrace/virtio_gpu.gen.cc",
Bartłomiej Grzesikfa4c9c92022-10-03 11:12:18 +00007372 "external/perfetto/protos/perfetto/trace/ftrace/virtio_video.gen.cc",
Colin Cross84172332021-09-14 16:41:33 -07007373 "external/perfetto/protos/perfetto/trace/ftrace/vmscan.gen.cc",
7374 "external/perfetto/protos/perfetto/trace/ftrace/workqueue.gen.cc",
7375 ],
Primiano Tuccife502c42019-12-11 01:00:27 +00007376}
7377
7378// GN: //protos/perfetto/trace/ftrace:cpp
7379genrule {
Colin Cross84172332021-09-14 16:41:33 -07007380 name: "perfetto_protos_perfetto_trace_ftrace_cpp_gen_headers",
7381 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00007382 ":perfetto_protos_perfetto_trace_ftrace_cpp",
Colin Cross84172332021-09-14 16:41:33 -07007383 ],
7384 tools: [
7385 "aprotoc",
7386 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
7387 ],
Spandan Das34f1b982023-10-13 23:24:01 +00007388 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_ftrace_cpp)",
Colin Cross84172332021-09-14 16:41:33 -07007389 out: [
Rahul Dandamudic8169462022-09-11 13:36:37 -04007390 "external/perfetto/protos/perfetto/trace/ftrace/android_fs.gen.h",
George Leeefccce32024-06-06 01:09:42 +00007391 "external/perfetto/protos/perfetto/trace/ftrace/bcl_exynos.gen.h",
Colin Cross84172332021-09-14 16:41:33 -07007392 "external/perfetto/protos/perfetto/trace/ftrace/binder.gen.h",
7393 "external/perfetto/protos/perfetto/trace/ftrace/block.gen.h",
7394 "external/perfetto/protos/perfetto/trace/ftrace/cgroup.gen.h",
7395 "external/perfetto/protos/perfetto/trace/ftrace/clk.gen.h",
Martin Liu2a4a27f2022-11-11 15:47:47 +08007396 "external/perfetto/protos/perfetto/trace/ftrace/cma.gen.h",
Colin Cross84172332021-09-14 16:41:33 -07007397 "external/perfetto/protos/perfetto/trace/ftrace/compaction.gen.h",
sashwinbalajib4f79a62024-11-07 08:24:21 +08007398 "external/perfetto/protos/perfetto/trace/ftrace/cpm_trace.gen.h",
Colin Cross84172332021-09-14 16:41:33 -07007399 "external/perfetto/protos/perfetto/trace/ftrace/cpuhp.gen.h",
Harvey Yangcb9754b2022-02-09 18:13:06 +08007400 "external/perfetto/protos/perfetto/trace/ftrace/cros_ec.gen.h",
John Batese0a60172024-05-29 23:17:05 +00007401 "external/perfetto/protos/perfetto/trace/ftrace/dcvsh.gen.h",
Samuel Wu52c46252024-09-11 17:34:10 -07007402 "external/perfetto/protos/perfetto/trace/ftrace/devfreq.gen.h",
Chia-I Wu56619782022-03-28 16:02:01 -07007403 "external/perfetto/protos/perfetto/trace/ftrace/dma_fence.gen.h",
Colin Cross84172332021-09-14 16:41:33 -07007404 "external/perfetto/protos/perfetto/trace/ftrace/dmabuf_heap.gen.h",
7405 "external/perfetto/protos/perfetto/trace/ftrace/dpu.gen.h",
Chia-I Wu56619782022-03-28 16:02:01 -07007406 "external/perfetto/protos/perfetto/trace/ftrace/drm.gen.h",
Colin Cross84172332021-09-14 16:41:33 -07007407 "external/perfetto/protos/perfetto/trace/ftrace/ext4.gen.h",
7408 "external/perfetto/protos/perfetto/trace/ftrace/f2fs.gen.h",
7409 "external/perfetto/protos/perfetto/trace/ftrace/fastrpc.gen.h",
7410 "external/perfetto/protos/perfetto/trace/ftrace/fence.gen.h",
7411 "external/perfetto/protos/perfetto/trace/ftrace/filemap.gen.h",
Yuan Yao389e81f2024-11-12 04:06:34 +00007412 "external/perfetto/protos/perfetto/trace/ftrace/fs.gen.h",
Colin Cross84172332021-09-14 16:41:33 -07007413 "external/perfetto/protos/perfetto/trace/ftrace/ftrace.gen.h",
7414 "external/perfetto/protos/perfetto/trace/ftrace/ftrace_event.gen.h",
7415 "external/perfetto/protos/perfetto/trace/ftrace/ftrace_event_bundle.gen.h",
7416 "external/perfetto/protos/perfetto/trace/ftrace/ftrace_stats.gen.h",
7417 "external/perfetto/protos/perfetto/trace/ftrace/g2d.gen.h",
7418 "external/perfetto/protos/perfetto/trace/ftrace/generic.gen.h",
Tushar Khandelwal40f683b2024-05-02 11:10:09 +00007419 "external/perfetto/protos/perfetto/trace/ftrace/google_icc_trace.gen.h",
7420 "external/perfetto/protos/perfetto/trace/ftrace/google_irm_trace.gen.h",
Colin Cross84172332021-09-14 16:41:33 -07007421 "external/perfetto/protos/perfetto/trace/ftrace/gpu_mem.gen.h",
Chia-I Wu56619782022-03-28 16:02:01 -07007422 "external/perfetto/protos/perfetto/trace/ftrace/gpu_scheduler.gen.h",
Nikita Ioffe02035142023-03-02 16:57:35 +00007423 "external/perfetto/protos/perfetto/trace/ftrace/hyp.gen.h",
Colin Cross84172332021-09-14 16:41:33 -07007424 "external/perfetto/protos/perfetto/trace/ftrace/i2c.gen.h",
7425 "external/perfetto/protos/perfetto/trace/ftrace/ion.gen.h",
7426 "external/perfetto/protos/perfetto/trace/ftrace/ipi.gen.h",
7427 "external/perfetto/protos/perfetto/trace/ftrace/irq.gen.h",
John Batesa0695862024-05-29 23:31:45 +00007428 "external/perfetto/protos/perfetto/trace/ftrace/kgsl.gen.h",
Colin Cross84172332021-09-14 16:41:33 -07007429 "external/perfetto/protos/perfetto/trace/ftrace/kmem.gen.h",
Primiano Tuccif954f862022-03-04 13:58:18 +00007430 "external/perfetto/protos/perfetto/trace/ftrace/kvm.gen.h",
Colin Cross84172332021-09-14 16:41:33 -07007431 "external/perfetto/protos/perfetto/trace/ftrace/lowmemorykiller.gen.h",
Nick Chung8f4dd962022-12-14 12:08:07 +00007432 "external/perfetto/protos/perfetto/trace/ftrace/lwis.gen.h",
Colin Cross84172332021-09-14 16:41:33 -07007433 "external/perfetto/protos/perfetto/trace/ftrace/mali.gen.h",
7434 "external/perfetto/protos/perfetto/trace/ftrace/mdss.gen.h",
7435 "external/perfetto/protos/perfetto/trace/ftrace/mm_event.gen.h",
Luke Chang496f94a2021-12-03 17:13:00 +08007436 "external/perfetto/protos/perfetto/trace/ftrace/net.gen.h",
Colin Cross84172332021-09-14 16:41:33 -07007437 "external/perfetto/protos/perfetto/trace/ftrace/oom.gen.h",
Jeremy DeHaan57d8b862022-09-02 22:08:43 +00007438 "external/perfetto/protos/perfetto/trace/ftrace/panel.gen.h",
lukechang0d6f88d2023-12-04 05:56:12 +00007439 "external/perfetto/protos/perfetto/trace/ftrace/perf_trace_counters.gen.h",
Dmitry Skibaf8802a52024-08-23 14:13:07 -07007440 "external/perfetto/protos/perfetto/trace/ftrace/pixel_mm.gen.h",
Colin Cross84172332021-09-14 16:41:33 -07007441 "external/perfetto/protos/perfetto/trace/ftrace/power.gen.h",
Hector Dearmanae5a60e2022-03-30 19:30:43 +01007442 "external/perfetto/protos/perfetto/trace/ftrace/printk.gen.h",
Colin Cross84172332021-09-14 16:41:33 -07007443 "external/perfetto/protos/perfetto/trace/ftrace/raw_syscalls.gen.h",
7444 "external/perfetto/protos/perfetto/trace/ftrace/regulator.gen.h",
Vilas Bhat20477072024-02-28 11:29:47 -08007445 "external/perfetto/protos/perfetto/trace/ftrace/rpm.gen.h",
Jaewon Kim7e13b1e2023-08-09 16:09:30 +09007446 "external/perfetto/protos/perfetto/trace/ftrace/samsung.gen.h",
Colin Cross84172332021-09-14 16:41:33 -07007447 "external/perfetto/protos/perfetto/trace/ftrace/sched.gen.h",
7448 "external/perfetto/protos/perfetto/trace/ftrace/scm.gen.h",
7449 "external/perfetto/protos/perfetto/trace/ftrace/sde.gen.h",
7450 "external/perfetto/protos/perfetto/trace/ftrace/signal.gen.h",
Luke Changd041e6e2022-02-25 13:24:42 +08007451 "external/perfetto/protos/perfetto/trace/ftrace/skb.gen.h",
Luke Chang1b904072022-01-26 09:33:19 +08007452 "external/perfetto/protos/perfetto/trace/ftrace/sock.gen.h",
Colin Cross84172332021-09-14 16:41:33 -07007453 "external/perfetto/protos/perfetto/trace/ftrace/sync.gen.h",
Kalesh Singh84f62e42021-11-15 19:01:23 -08007454 "external/perfetto/protos/perfetto/trace/ftrace/synthetic.gen.h",
Colin Cross84172332021-09-14 16:41:33 -07007455 "external/perfetto/protos/perfetto/trace/ftrace/systrace.gen.h",
7456 "external/perfetto/protos/perfetto/trace/ftrace/task.gen.h",
Luke Chang4eb23ab2022-01-27 16:31:46 +08007457 "external/perfetto/protos/perfetto/trace/ftrace/tcp.gen.h",
Colin Cross84172332021-09-14 16:41:33 -07007458 "external/perfetto/protos/perfetto/trace/ftrace/test_bundle_wrapper.gen.h",
7459 "external/perfetto/protos/perfetto/trace/ftrace/thermal.gen.h",
sashwinbalaji008127d2024-05-06 08:43:28 +08007460 "external/perfetto/protos/perfetto/trace/ftrace/thermal_exynos.gen.h",
Padmanabha V0e45bba2022-10-20 05:26:21 +00007461 "external/perfetto/protos/perfetto/trace/ftrace/trusty.gen.h",
YH Linbce42862022-03-15 02:45:18 +08007462 "external/perfetto/protos/perfetto/trace/ftrace/ufs.gen.h",
Bartłomiej Grzesik6b257532022-08-08 09:34:15 +00007463 "external/perfetto/protos/perfetto/trace/ftrace/v4l2.gen.h",
Rob Clark50b20aa2022-11-29 14:24:18 -08007464 "external/perfetto/protos/perfetto/trace/ftrace/virtio_gpu.gen.h",
Bartłomiej Grzesikfa4c9c92022-10-03 11:12:18 +00007465 "external/perfetto/protos/perfetto/trace/ftrace/virtio_video.gen.h",
Colin Cross84172332021-09-14 16:41:33 -07007466 "external/perfetto/protos/perfetto/trace/ftrace/vmscan.gen.h",
7467 "external/perfetto/protos/perfetto/trace/ftrace/workqueue.gen.h",
7468 ],
7469 export_include_dirs: [
7470 ".",
7471 "protos",
7472 ],
Primiano Tuccife502c42019-12-11 01:00:27 +00007473}
7474
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01007475// GN: //protos/perfetto/trace/ftrace:lite
Spandan Das34f1b982023-10-13 23:24:01 +00007476filegroup {
7477 name: "perfetto_protos_perfetto_trace_ftrace_lite",
Colin Cross84172332021-09-14 16:41:33 -07007478 srcs: [
Rahul Dandamudic8169462022-09-11 13:36:37 -04007479 "protos/perfetto/trace/ftrace/android_fs.proto",
George Leeefccce32024-06-06 01:09:42 +00007480 "protos/perfetto/trace/ftrace/bcl_exynos.proto",
Colin Cross84172332021-09-14 16:41:33 -07007481 "protos/perfetto/trace/ftrace/binder.proto",
7482 "protos/perfetto/trace/ftrace/block.proto",
7483 "protos/perfetto/trace/ftrace/cgroup.proto",
7484 "protos/perfetto/trace/ftrace/clk.proto",
Martin Liu2a4a27f2022-11-11 15:47:47 +08007485 "protos/perfetto/trace/ftrace/cma.proto",
Colin Cross84172332021-09-14 16:41:33 -07007486 "protos/perfetto/trace/ftrace/compaction.proto",
sashwinbalajib4f79a62024-11-07 08:24:21 +08007487 "protos/perfetto/trace/ftrace/cpm_trace.proto",
Colin Cross84172332021-09-14 16:41:33 -07007488 "protos/perfetto/trace/ftrace/cpuhp.proto",
Harvey Yangcb9754b2022-02-09 18:13:06 +08007489 "protos/perfetto/trace/ftrace/cros_ec.proto",
John Batese0a60172024-05-29 23:17:05 +00007490 "protos/perfetto/trace/ftrace/dcvsh.proto",
Samuel Wu52c46252024-09-11 17:34:10 -07007491 "protos/perfetto/trace/ftrace/devfreq.proto",
Chia-I Wu56619782022-03-28 16:02:01 -07007492 "protos/perfetto/trace/ftrace/dma_fence.proto",
Colin Cross84172332021-09-14 16:41:33 -07007493 "protos/perfetto/trace/ftrace/dmabuf_heap.proto",
7494 "protos/perfetto/trace/ftrace/dpu.proto",
Chia-I Wu56619782022-03-28 16:02:01 -07007495 "protos/perfetto/trace/ftrace/drm.proto",
Colin Cross84172332021-09-14 16:41:33 -07007496 "protos/perfetto/trace/ftrace/ext4.proto",
7497 "protos/perfetto/trace/ftrace/f2fs.proto",
7498 "protos/perfetto/trace/ftrace/fastrpc.proto",
7499 "protos/perfetto/trace/ftrace/fence.proto",
7500 "protos/perfetto/trace/ftrace/filemap.proto",
Yuan Yao389e81f2024-11-12 04:06:34 +00007501 "protos/perfetto/trace/ftrace/fs.proto",
Colin Cross84172332021-09-14 16:41:33 -07007502 "protos/perfetto/trace/ftrace/ftrace.proto",
7503 "protos/perfetto/trace/ftrace/ftrace_event.proto",
7504 "protos/perfetto/trace/ftrace/ftrace_event_bundle.proto",
7505 "protos/perfetto/trace/ftrace/ftrace_stats.proto",
7506 "protos/perfetto/trace/ftrace/g2d.proto",
7507 "protos/perfetto/trace/ftrace/generic.proto",
Tushar Khandelwal40f683b2024-05-02 11:10:09 +00007508 "protos/perfetto/trace/ftrace/google_icc_trace.proto",
7509 "protos/perfetto/trace/ftrace/google_irm_trace.proto",
Colin Cross84172332021-09-14 16:41:33 -07007510 "protos/perfetto/trace/ftrace/gpu_mem.proto",
Chia-I Wu56619782022-03-28 16:02:01 -07007511 "protos/perfetto/trace/ftrace/gpu_scheduler.proto",
Nikita Ioffe02035142023-03-02 16:57:35 +00007512 "protos/perfetto/trace/ftrace/hyp.proto",
Colin Cross84172332021-09-14 16:41:33 -07007513 "protos/perfetto/trace/ftrace/i2c.proto",
7514 "protos/perfetto/trace/ftrace/ion.proto",
7515 "protos/perfetto/trace/ftrace/ipi.proto",
7516 "protos/perfetto/trace/ftrace/irq.proto",
John Batesa0695862024-05-29 23:31:45 +00007517 "protos/perfetto/trace/ftrace/kgsl.proto",
Colin Cross84172332021-09-14 16:41:33 -07007518 "protos/perfetto/trace/ftrace/kmem.proto",
Primiano Tuccif954f862022-03-04 13:58:18 +00007519 "protos/perfetto/trace/ftrace/kvm.proto",
Colin Cross84172332021-09-14 16:41:33 -07007520 "protos/perfetto/trace/ftrace/lowmemorykiller.proto",
Nick Chung8f4dd962022-12-14 12:08:07 +00007521 "protos/perfetto/trace/ftrace/lwis.proto",
Colin Cross84172332021-09-14 16:41:33 -07007522 "protos/perfetto/trace/ftrace/mali.proto",
7523 "protos/perfetto/trace/ftrace/mdss.proto",
7524 "protos/perfetto/trace/ftrace/mm_event.proto",
Luke Chang496f94a2021-12-03 17:13:00 +08007525 "protos/perfetto/trace/ftrace/net.proto",
Colin Cross84172332021-09-14 16:41:33 -07007526 "protos/perfetto/trace/ftrace/oom.proto",
Jeremy DeHaan57d8b862022-09-02 22:08:43 +00007527 "protos/perfetto/trace/ftrace/panel.proto",
lukechang0d6f88d2023-12-04 05:56:12 +00007528 "protos/perfetto/trace/ftrace/perf_trace_counters.proto",
Dmitry Skibaf8802a52024-08-23 14:13:07 -07007529 "protos/perfetto/trace/ftrace/pixel_mm.proto",
Colin Cross84172332021-09-14 16:41:33 -07007530 "protos/perfetto/trace/ftrace/power.proto",
Hector Dearmanae5a60e2022-03-30 19:30:43 +01007531 "protos/perfetto/trace/ftrace/printk.proto",
Colin Cross84172332021-09-14 16:41:33 -07007532 "protos/perfetto/trace/ftrace/raw_syscalls.proto",
7533 "protos/perfetto/trace/ftrace/regulator.proto",
Vilas Bhat20477072024-02-28 11:29:47 -08007534 "protos/perfetto/trace/ftrace/rpm.proto",
Jaewon Kim7e13b1e2023-08-09 16:09:30 +09007535 "protos/perfetto/trace/ftrace/samsung.proto",
Colin Cross84172332021-09-14 16:41:33 -07007536 "protos/perfetto/trace/ftrace/sched.proto",
7537 "protos/perfetto/trace/ftrace/scm.proto",
7538 "protos/perfetto/trace/ftrace/sde.proto",
7539 "protos/perfetto/trace/ftrace/signal.proto",
Luke Changd041e6e2022-02-25 13:24:42 +08007540 "protos/perfetto/trace/ftrace/skb.proto",
Luke Chang1b904072022-01-26 09:33:19 +08007541 "protos/perfetto/trace/ftrace/sock.proto",
Colin Cross84172332021-09-14 16:41:33 -07007542 "protos/perfetto/trace/ftrace/sync.proto",
Kalesh Singh84f62e42021-11-15 19:01:23 -08007543 "protos/perfetto/trace/ftrace/synthetic.proto",
Colin Cross84172332021-09-14 16:41:33 -07007544 "protos/perfetto/trace/ftrace/systrace.proto",
7545 "protos/perfetto/trace/ftrace/task.proto",
Luke Chang4eb23ab2022-01-27 16:31:46 +08007546 "protos/perfetto/trace/ftrace/tcp.proto",
Colin Cross84172332021-09-14 16:41:33 -07007547 "protos/perfetto/trace/ftrace/test_bundle_wrapper.proto",
7548 "protos/perfetto/trace/ftrace/thermal.proto",
sashwinbalaji008127d2024-05-06 08:43:28 +08007549 "protos/perfetto/trace/ftrace/thermal_exynos.proto",
Padmanabha V0e45bba2022-10-20 05:26:21 +00007550 "protos/perfetto/trace/ftrace/trusty.proto",
YH Linbce42862022-03-15 02:45:18 +08007551 "protos/perfetto/trace/ftrace/ufs.proto",
Bartłomiej Grzesik6b257532022-08-08 09:34:15 +00007552 "protos/perfetto/trace/ftrace/v4l2.proto",
Rob Clark50b20aa2022-11-29 14:24:18 -08007553 "protos/perfetto/trace/ftrace/virtio_gpu.proto",
Bartłomiej Grzesikfa4c9c92022-10-03 11:12:18 +00007554 "protos/perfetto/trace/ftrace/virtio_video.proto",
Colin Cross84172332021-09-14 16:41:33 -07007555 "protos/perfetto/trace/ftrace/vmscan.proto",
7556 "protos/perfetto/trace/ftrace/workqueue.proto",
7557 ],
Spandan Das34f1b982023-10-13 23:24:01 +00007558}
7559
7560// GN: //protos/perfetto/trace/ftrace:lite
7561genrule {
7562 name: "perfetto_protos_perfetto_trace_ftrace_lite_gen",
7563 srcs: [
7564 ":perfetto_protos_perfetto_trace_ftrace_lite",
7565 ],
Colin Cross84172332021-09-14 16:41:33 -07007566 tools: [
7567 "aprotoc",
7568 ],
Spandan Das34f1b982023-10-13 23:24:01 +00007569 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_ftrace_lite)",
Colin Cross84172332021-09-14 16:41:33 -07007570 out: [
Rahul Dandamudic8169462022-09-11 13:36:37 -04007571 "external/perfetto/protos/perfetto/trace/ftrace/android_fs.pb.cc",
George Leeefccce32024-06-06 01:09:42 +00007572 "external/perfetto/protos/perfetto/trace/ftrace/bcl_exynos.pb.cc",
Colin Cross84172332021-09-14 16:41:33 -07007573 "external/perfetto/protos/perfetto/trace/ftrace/binder.pb.cc",
7574 "external/perfetto/protos/perfetto/trace/ftrace/block.pb.cc",
7575 "external/perfetto/protos/perfetto/trace/ftrace/cgroup.pb.cc",
7576 "external/perfetto/protos/perfetto/trace/ftrace/clk.pb.cc",
Martin Liu2a4a27f2022-11-11 15:47:47 +08007577 "external/perfetto/protos/perfetto/trace/ftrace/cma.pb.cc",
Colin Cross84172332021-09-14 16:41:33 -07007578 "external/perfetto/protos/perfetto/trace/ftrace/compaction.pb.cc",
sashwinbalajib4f79a62024-11-07 08:24:21 +08007579 "external/perfetto/protos/perfetto/trace/ftrace/cpm_trace.pb.cc",
Colin Cross84172332021-09-14 16:41:33 -07007580 "external/perfetto/protos/perfetto/trace/ftrace/cpuhp.pb.cc",
Harvey Yangcb9754b2022-02-09 18:13:06 +08007581 "external/perfetto/protos/perfetto/trace/ftrace/cros_ec.pb.cc",
John Batese0a60172024-05-29 23:17:05 +00007582 "external/perfetto/protos/perfetto/trace/ftrace/dcvsh.pb.cc",
Samuel Wu52c46252024-09-11 17:34:10 -07007583 "external/perfetto/protos/perfetto/trace/ftrace/devfreq.pb.cc",
Chia-I Wu56619782022-03-28 16:02:01 -07007584 "external/perfetto/protos/perfetto/trace/ftrace/dma_fence.pb.cc",
Colin Cross84172332021-09-14 16:41:33 -07007585 "external/perfetto/protos/perfetto/trace/ftrace/dmabuf_heap.pb.cc",
7586 "external/perfetto/protos/perfetto/trace/ftrace/dpu.pb.cc",
Chia-I Wu56619782022-03-28 16:02:01 -07007587 "external/perfetto/protos/perfetto/trace/ftrace/drm.pb.cc",
Colin Cross84172332021-09-14 16:41:33 -07007588 "external/perfetto/protos/perfetto/trace/ftrace/ext4.pb.cc",
7589 "external/perfetto/protos/perfetto/trace/ftrace/f2fs.pb.cc",
7590 "external/perfetto/protos/perfetto/trace/ftrace/fastrpc.pb.cc",
7591 "external/perfetto/protos/perfetto/trace/ftrace/fence.pb.cc",
7592 "external/perfetto/protos/perfetto/trace/ftrace/filemap.pb.cc",
Yuan Yao389e81f2024-11-12 04:06:34 +00007593 "external/perfetto/protos/perfetto/trace/ftrace/fs.pb.cc",
Colin Cross84172332021-09-14 16:41:33 -07007594 "external/perfetto/protos/perfetto/trace/ftrace/ftrace.pb.cc",
7595 "external/perfetto/protos/perfetto/trace/ftrace/ftrace_event.pb.cc",
7596 "external/perfetto/protos/perfetto/trace/ftrace/ftrace_event_bundle.pb.cc",
7597 "external/perfetto/protos/perfetto/trace/ftrace/ftrace_stats.pb.cc",
7598 "external/perfetto/protos/perfetto/trace/ftrace/g2d.pb.cc",
7599 "external/perfetto/protos/perfetto/trace/ftrace/generic.pb.cc",
Tushar Khandelwal40f683b2024-05-02 11:10:09 +00007600 "external/perfetto/protos/perfetto/trace/ftrace/google_icc_trace.pb.cc",
7601 "external/perfetto/protos/perfetto/trace/ftrace/google_irm_trace.pb.cc",
Colin Cross84172332021-09-14 16:41:33 -07007602 "external/perfetto/protos/perfetto/trace/ftrace/gpu_mem.pb.cc",
Chia-I Wu56619782022-03-28 16:02:01 -07007603 "external/perfetto/protos/perfetto/trace/ftrace/gpu_scheduler.pb.cc",
Nikita Ioffe02035142023-03-02 16:57:35 +00007604 "external/perfetto/protos/perfetto/trace/ftrace/hyp.pb.cc",
Colin Cross84172332021-09-14 16:41:33 -07007605 "external/perfetto/protos/perfetto/trace/ftrace/i2c.pb.cc",
7606 "external/perfetto/protos/perfetto/trace/ftrace/ion.pb.cc",
7607 "external/perfetto/protos/perfetto/trace/ftrace/ipi.pb.cc",
7608 "external/perfetto/protos/perfetto/trace/ftrace/irq.pb.cc",
John Batesa0695862024-05-29 23:31:45 +00007609 "external/perfetto/protos/perfetto/trace/ftrace/kgsl.pb.cc",
Colin Cross84172332021-09-14 16:41:33 -07007610 "external/perfetto/protos/perfetto/trace/ftrace/kmem.pb.cc",
Primiano Tuccif954f862022-03-04 13:58:18 +00007611 "external/perfetto/protos/perfetto/trace/ftrace/kvm.pb.cc",
Colin Cross84172332021-09-14 16:41:33 -07007612 "external/perfetto/protos/perfetto/trace/ftrace/lowmemorykiller.pb.cc",
Nick Chung8f4dd962022-12-14 12:08:07 +00007613 "external/perfetto/protos/perfetto/trace/ftrace/lwis.pb.cc",
Colin Cross84172332021-09-14 16:41:33 -07007614 "external/perfetto/protos/perfetto/trace/ftrace/mali.pb.cc",
7615 "external/perfetto/protos/perfetto/trace/ftrace/mdss.pb.cc",
7616 "external/perfetto/protos/perfetto/trace/ftrace/mm_event.pb.cc",
Luke Chang496f94a2021-12-03 17:13:00 +08007617 "external/perfetto/protos/perfetto/trace/ftrace/net.pb.cc",
Colin Cross84172332021-09-14 16:41:33 -07007618 "external/perfetto/protos/perfetto/trace/ftrace/oom.pb.cc",
Jeremy DeHaan57d8b862022-09-02 22:08:43 +00007619 "external/perfetto/protos/perfetto/trace/ftrace/panel.pb.cc",
lukechang0d6f88d2023-12-04 05:56:12 +00007620 "external/perfetto/protos/perfetto/trace/ftrace/perf_trace_counters.pb.cc",
Dmitry Skibaf8802a52024-08-23 14:13:07 -07007621 "external/perfetto/protos/perfetto/trace/ftrace/pixel_mm.pb.cc",
Colin Cross84172332021-09-14 16:41:33 -07007622 "external/perfetto/protos/perfetto/trace/ftrace/power.pb.cc",
Hector Dearmanae5a60e2022-03-30 19:30:43 +01007623 "external/perfetto/protos/perfetto/trace/ftrace/printk.pb.cc",
Colin Cross84172332021-09-14 16:41:33 -07007624 "external/perfetto/protos/perfetto/trace/ftrace/raw_syscalls.pb.cc",
7625 "external/perfetto/protos/perfetto/trace/ftrace/regulator.pb.cc",
Vilas Bhat20477072024-02-28 11:29:47 -08007626 "external/perfetto/protos/perfetto/trace/ftrace/rpm.pb.cc",
Jaewon Kim7e13b1e2023-08-09 16:09:30 +09007627 "external/perfetto/protos/perfetto/trace/ftrace/samsung.pb.cc",
Colin Cross84172332021-09-14 16:41:33 -07007628 "external/perfetto/protos/perfetto/trace/ftrace/sched.pb.cc",
7629 "external/perfetto/protos/perfetto/trace/ftrace/scm.pb.cc",
7630 "external/perfetto/protos/perfetto/trace/ftrace/sde.pb.cc",
7631 "external/perfetto/protos/perfetto/trace/ftrace/signal.pb.cc",
Luke Changd041e6e2022-02-25 13:24:42 +08007632 "external/perfetto/protos/perfetto/trace/ftrace/skb.pb.cc",
Luke Chang1b904072022-01-26 09:33:19 +08007633 "external/perfetto/protos/perfetto/trace/ftrace/sock.pb.cc",
Colin Cross84172332021-09-14 16:41:33 -07007634 "external/perfetto/protos/perfetto/trace/ftrace/sync.pb.cc",
Kalesh Singh84f62e42021-11-15 19:01:23 -08007635 "external/perfetto/protos/perfetto/trace/ftrace/synthetic.pb.cc",
Colin Cross84172332021-09-14 16:41:33 -07007636 "external/perfetto/protos/perfetto/trace/ftrace/systrace.pb.cc",
7637 "external/perfetto/protos/perfetto/trace/ftrace/task.pb.cc",
Luke Chang4eb23ab2022-01-27 16:31:46 +08007638 "external/perfetto/protos/perfetto/trace/ftrace/tcp.pb.cc",
Colin Cross84172332021-09-14 16:41:33 -07007639 "external/perfetto/protos/perfetto/trace/ftrace/test_bundle_wrapper.pb.cc",
7640 "external/perfetto/protos/perfetto/trace/ftrace/thermal.pb.cc",
sashwinbalaji008127d2024-05-06 08:43:28 +08007641 "external/perfetto/protos/perfetto/trace/ftrace/thermal_exynos.pb.cc",
Padmanabha V0e45bba2022-10-20 05:26:21 +00007642 "external/perfetto/protos/perfetto/trace/ftrace/trusty.pb.cc",
YH Linbce42862022-03-15 02:45:18 +08007643 "external/perfetto/protos/perfetto/trace/ftrace/ufs.pb.cc",
Bartłomiej Grzesik6b257532022-08-08 09:34:15 +00007644 "external/perfetto/protos/perfetto/trace/ftrace/v4l2.pb.cc",
Rob Clark50b20aa2022-11-29 14:24:18 -08007645 "external/perfetto/protos/perfetto/trace/ftrace/virtio_gpu.pb.cc",
Bartłomiej Grzesikfa4c9c92022-10-03 11:12:18 +00007646 "external/perfetto/protos/perfetto/trace/ftrace/virtio_video.pb.cc",
Colin Cross84172332021-09-14 16:41:33 -07007647 "external/perfetto/protos/perfetto/trace/ftrace/vmscan.pb.cc",
7648 "external/perfetto/protos/perfetto/trace/ftrace/workqueue.pb.cc",
7649 ],
Primiano Tucci20b760c2018-01-19 12:36:12 +00007650}
7651
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01007652// GN: //protos/perfetto/trace/ftrace:lite
Primiano Tucci20b760c2018-01-19 12:36:12 +00007653genrule {
Colin Cross84172332021-09-14 16:41:33 -07007654 name: "perfetto_protos_perfetto_trace_ftrace_lite_gen_headers",
7655 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00007656 ":perfetto_protos_perfetto_trace_ftrace_lite",
Colin Cross84172332021-09-14 16:41:33 -07007657 ],
7658 tools: [
7659 "aprotoc",
7660 ],
Spandan Das34f1b982023-10-13 23:24:01 +00007661 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_ftrace_lite)",
Colin Cross84172332021-09-14 16:41:33 -07007662 out: [
Rahul Dandamudic8169462022-09-11 13:36:37 -04007663 "external/perfetto/protos/perfetto/trace/ftrace/android_fs.pb.h",
George Leeefccce32024-06-06 01:09:42 +00007664 "external/perfetto/protos/perfetto/trace/ftrace/bcl_exynos.pb.h",
Colin Cross84172332021-09-14 16:41:33 -07007665 "external/perfetto/protos/perfetto/trace/ftrace/binder.pb.h",
7666 "external/perfetto/protos/perfetto/trace/ftrace/block.pb.h",
7667 "external/perfetto/protos/perfetto/trace/ftrace/cgroup.pb.h",
7668 "external/perfetto/protos/perfetto/trace/ftrace/clk.pb.h",
Martin Liu2a4a27f2022-11-11 15:47:47 +08007669 "external/perfetto/protos/perfetto/trace/ftrace/cma.pb.h",
Colin Cross84172332021-09-14 16:41:33 -07007670 "external/perfetto/protos/perfetto/trace/ftrace/compaction.pb.h",
sashwinbalajib4f79a62024-11-07 08:24:21 +08007671 "external/perfetto/protos/perfetto/trace/ftrace/cpm_trace.pb.h",
Colin Cross84172332021-09-14 16:41:33 -07007672 "external/perfetto/protos/perfetto/trace/ftrace/cpuhp.pb.h",
Harvey Yangcb9754b2022-02-09 18:13:06 +08007673 "external/perfetto/protos/perfetto/trace/ftrace/cros_ec.pb.h",
John Batese0a60172024-05-29 23:17:05 +00007674 "external/perfetto/protos/perfetto/trace/ftrace/dcvsh.pb.h",
Samuel Wu52c46252024-09-11 17:34:10 -07007675 "external/perfetto/protos/perfetto/trace/ftrace/devfreq.pb.h",
Chia-I Wu56619782022-03-28 16:02:01 -07007676 "external/perfetto/protos/perfetto/trace/ftrace/dma_fence.pb.h",
Colin Cross84172332021-09-14 16:41:33 -07007677 "external/perfetto/protos/perfetto/trace/ftrace/dmabuf_heap.pb.h",
7678 "external/perfetto/protos/perfetto/trace/ftrace/dpu.pb.h",
Chia-I Wu56619782022-03-28 16:02:01 -07007679 "external/perfetto/protos/perfetto/trace/ftrace/drm.pb.h",
Colin Cross84172332021-09-14 16:41:33 -07007680 "external/perfetto/protos/perfetto/trace/ftrace/ext4.pb.h",
7681 "external/perfetto/protos/perfetto/trace/ftrace/f2fs.pb.h",
7682 "external/perfetto/protos/perfetto/trace/ftrace/fastrpc.pb.h",
7683 "external/perfetto/protos/perfetto/trace/ftrace/fence.pb.h",
7684 "external/perfetto/protos/perfetto/trace/ftrace/filemap.pb.h",
Yuan Yao389e81f2024-11-12 04:06:34 +00007685 "external/perfetto/protos/perfetto/trace/ftrace/fs.pb.h",
Colin Cross84172332021-09-14 16:41:33 -07007686 "external/perfetto/protos/perfetto/trace/ftrace/ftrace.pb.h",
7687 "external/perfetto/protos/perfetto/trace/ftrace/ftrace_event.pb.h",
7688 "external/perfetto/protos/perfetto/trace/ftrace/ftrace_event_bundle.pb.h",
7689 "external/perfetto/protos/perfetto/trace/ftrace/ftrace_stats.pb.h",
7690 "external/perfetto/protos/perfetto/trace/ftrace/g2d.pb.h",
7691 "external/perfetto/protos/perfetto/trace/ftrace/generic.pb.h",
Tushar Khandelwal40f683b2024-05-02 11:10:09 +00007692 "external/perfetto/protos/perfetto/trace/ftrace/google_icc_trace.pb.h",
7693 "external/perfetto/protos/perfetto/trace/ftrace/google_irm_trace.pb.h",
Colin Cross84172332021-09-14 16:41:33 -07007694 "external/perfetto/protos/perfetto/trace/ftrace/gpu_mem.pb.h",
Chia-I Wu56619782022-03-28 16:02:01 -07007695 "external/perfetto/protos/perfetto/trace/ftrace/gpu_scheduler.pb.h",
Nikita Ioffe02035142023-03-02 16:57:35 +00007696 "external/perfetto/protos/perfetto/trace/ftrace/hyp.pb.h",
Colin Cross84172332021-09-14 16:41:33 -07007697 "external/perfetto/protos/perfetto/trace/ftrace/i2c.pb.h",
7698 "external/perfetto/protos/perfetto/trace/ftrace/ion.pb.h",
7699 "external/perfetto/protos/perfetto/trace/ftrace/ipi.pb.h",
7700 "external/perfetto/protos/perfetto/trace/ftrace/irq.pb.h",
John Batesa0695862024-05-29 23:31:45 +00007701 "external/perfetto/protos/perfetto/trace/ftrace/kgsl.pb.h",
Colin Cross84172332021-09-14 16:41:33 -07007702 "external/perfetto/protos/perfetto/trace/ftrace/kmem.pb.h",
Primiano Tuccif954f862022-03-04 13:58:18 +00007703 "external/perfetto/protos/perfetto/trace/ftrace/kvm.pb.h",
Colin Cross84172332021-09-14 16:41:33 -07007704 "external/perfetto/protos/perfetto/trace/ftrace/lowmemorykiller.pb.h",
Nick Chung8f4dd962022-12-14 12:08:07 +00007705 "external/perfetto/protos/perfetto/trace/ftrace/lwis.pb.h",
Colin Cross84172332021-09-14 16:41:33 -07007706 "external/perfetto/protos/perfetto/trace/ftrace/mali.pb.h",
7707 "external/perfetto/protos/perfetto/trace/ftrace/mdss.pb.h",
7708 "external/perfetto/protos/perfetto/trace/ftrace/mm_event.pb.h",
Luke Chang496f94a2021-12-03 17:13:00 +08007709 "external/perfetto/protos/perfetto/trace/ftrace/net.pb.h",
Colin Cross84172332021-09-14 16:41:33 -07007710 "external/perfetto/protos/perfetto/trace/ftrace/oom.pb.h",
Jeremy DeHaan57d8b862022-09-02 22:08:43 +00007711 "external/perfetto/protos/perfetto/trace/ftrace/panel.pb.h",
lukechang0d6f88d2023-12-04 05:56:12 +00007712 "external/perfetto/protos/perfetto/trace/ftrace/perf_trace_counters.pb.h",
Dmitry Skibaf8802a52024-08-23 14:13:07 -07007713 "external/perfetto/protos/perfetto/trace/ftrace/pixel_mm.pb.h",
Colin Cross84172332021-09-14 16:41:33 -07007714 "external/perfetto/protos/perfetto/trace/ftrace/power.pb.h",
Hector Dearmanae5a60e2022-03-30 19:30:43 +01007715 "external/perfetto/protos/perfetto/trace/ftrace/printk.pb.h",
Colin Cross84172332021-09-14 16:41:33 -07007716 "external/perfetto/protos/perfetto/trace/ftrace/raw_syscalls.pb.h",
7717 "external/perfetto/protos/perfetto/trace/ftrace/regulator.pb.h",
Vilas Bhat20477072024-02-28 11:29:47 -08007718 "external/perfetto/protos/perfetto/trace/ftrace/rpm.pb.h",
Jaewon Kim7e13b1e2023-08-09 16:09:30 +09007719 "external/perfetto/protos/perfetto/trace/ftrace/samsung.pb.h",
Colin Cross84172332021-09-14 16:41:33 -07007720 "external/perfetto/protos/perfetto/trace/ftrace/sched.pb.h",
7721 "external/perfetto/protos/perfetto/trace/ftrace/scm.pb.h",
7722 "external/perfetto/protos/perfetto/trace/ftrace/sde.pb.h",
7723 "external/perfetto/protos/perfetto/trace/ftrace/signal.pb.h",
Luke Changd041e6e2022-02-25 13:24:42 +08007724 "external/perfetto/protos/perfetto/trace/ftrace/skb.pb.h",
Luke Chang1b904072022-01-26 09:33:19 +08007725 "external/perfetto/protos/perfetto/trace/ftrace/sock.pb.h",
Colin Cross84172332021-09-14 16:41:33 -07007726 "external/perfetto/protos/perfetto/trace/ftrace/sync.pb.h",
Kalesh Singh84f62e42021-11-15 19:01:23 -08007727 "external/perfetto/protos/perfetto/trace/ftrace/synthetic.pb.h",
Colin Cross84172332021-09-14 16:41:33 -07007728 "external/perfetto/protos/perfetto/trace/ftrace/systrace.pb.h",
7729 "external/perfetto/protos/perfetto/trace/ftrace/task.pb.h",
Luke Chang4eb23ab2022-01-27 16:31:46 +08007730 "external/perfetto/protos/perfetto/trace/ftrace/tcp.pb.h",
Colin Cross84172332021-09-14 16:41:33 -07007731 "external/perfetto/protos/perfetto/trace/ftrace/test_bundle_wrapper.pb.h",
7732 "external/perfetto/protos/perfetto/trace/ftrace/thermal.pb.h",
sashwinbalaji008127d2024-05-06 08:43:28 +08007733 "external/perfetto/protos/perfetto/trace/ftrace/thermal_exynos.pb.h",
Padmanabha V0e45bba2022-10-20 05:26:21 +00007734 "external/perfetto/protos/perfetto/trace/ftrace/trusty.pb.h",
YH Linbce42862022-03-15 02:45:18 +08007735 "external/perfetto/protos/perfetto/trace/ftrace/ufs.pb.h",
Bartłomiej Grzesik6b257532022-08-08 09:34:15 +00007736 "external/perfetto/protos/perfetto/trace/ftrace/v4l2.pb.h",
Rob Clark50b20aa2022-11-29 14:24:18 -08007737 "external/perfetto/protos/perfetto/trace/ftrace/virtio_gpu.pb.h",
Bartłomiej Grzesikfa4c9c92022-10-03 11:12:18 +00007738 "external/perfetto/protos/perfetto/trace/ftrace/virtio_video.pb.h",
Colin Cross84172332021-09-14 16:41:33 -07007739 "external/perfetto/protos/perfetto/trace/ftrace/vmscan.pb.h",
7740 "external/perfetto/protos/perfetto/trace/ftrace/workqueue.pb.h",
7741 ],
7742 export_include_dirs: [
7743 ".",
7744 "protos",
7745 ],
Primiano Tucci20b760c2018-01-19 12:36:12 +00007746}
7747
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01007748// GN: //protos/perfetto/trace/ftrace:zero
Spandan Das34f1b982023-10-13 23:24:01 +00007749filegroup {
7750 name: "perfetto_protos_perfetto_trace_ftrace_zero",
Colin Cross84172332021-09-14 16:41:33 -07007751 srcs: [
Rahul Dandamudic8169462022-09-11 13:36:37 -04007752 "protos/perfetto/trace/ftrace/android_fs.proto",
George Leeefccce32024-06-06 01:09:42 +00007753 "protos/perfetto/trace/ftrace/bcl_exynos.proto",
Colin Cross84172332021-09-14 16:41:33 -07007754 "protos/perfetto/trace/ftrace/binder.proto",
7755 "protos/perfetto/trace/ftrace/block.proto",
7756 "protos/perfetto/trace/ftrace/cgroup.proto",
7757 "protos/perfetto/trace/ftrace/clk.proto",
Martin Liu2a4a27f2022-11-11 15:47:47 +08007758 "protos/perfetto/trace/ftrace/cma.proto",
Colin Cross84172332021-09-14 16:41:33 -07007759 "protos/perfetto/trace/ftrace/compaction.proto",
sashwinbalajib4f79a62024-11-07 08:24:21 +08007760 "protos/perfetto/trace/ftrace/cpm_trace.proto",
Colin Cross84172332021-09-14 16:41:33 -07007761 "protos/perfetto/trace/ftrace/cpuhp.proto",
Harvey Yangcb9754b2022-02-09 18:13:06 +08007762 "protos/perfetto/trace/ftrace/cros_ec.proto",
John Batese0a60172024-05-29 23:17:05 +00007763 "protos/perfetto/trace/ftrace/dcvsh.proto",
Samuel Wu52c46252024-09-11 17:34:10 -07007764 "protos/perfetto/trace/ftrace/devfreq.proto",
Chia-I Wu56619782022-03-28 16:02:01 -07007765 "protos/perfetto/trace/ftrace/dma_fence.proto",
Colin Cross84172332021-09-14 16:41:33 -07007766 "protos/perfetto/trace/ftrace/dmabuf_heap.proto",
7767 "protos/perfetto/trace/ftrace/dpu.proto",
Chia-I Wu56619782022-03-28 16:02:01 -07007768 "protos/perfetto/trace/ftrace/drm.proto",
Colin Cross84172332021-09-14 16:41:33 -07007769 "protos/perfetto/trace/ftrace/ext4.proto",
7770 "protos/perfetto/trace/ftrace/f2fs.proto",
7771 "protos/perfetto/trace/ftrace/fastrpc.proto",
7772 "protos/perfetto/trace/ftrace/fence.proto",
7773 "protos/perfetto/trace/ftrace/filemap.proto",
Yuan Yao389e81f2024-11-12 04:06:34 +00007774 "protos/perfetto/trace/ftrace/fs.proto",
Colin Cross84172332021-09-14 16:41:33 -07007775 "protos/perfetto/trace/ftrace/ftrace.proto",
7776 "protos/perfetto/trace/ftrace/ftrace_event.proto",
7777 "protos/perfetto/trace/ftrace/ftrace_event_bundle.proto",
7778 "protos/perfetto/trace/ftrace/ftrace_stats.proto",
7779 "protos/perfetto/trace/ftrace/g2d.proto",
7780 "protos/perfetto/trace/ftrace/generic.proto",
Tushar Khandelwal40f683b2024-05-02 11:10:09 +00007781 "protos/perfetto/trace/ftrace/google_icc_trace.proto",
7782 "protos/perfetto/trace/ftrace/google_irm_trace.proto",
Colin Cross84172332021-09-14 16:41:33 -07007783 "protos/perfetto/trace/ftrace/gpu_mem.proto",
Chia-I Wu56619782022-03-28 16:02:01 -07007784 "protos/perfetto/trace/ftrace/gpu_scheduler.proto",
Nikita Ioffe02035142023-03-02 16:57:35 +00007785 "protos/perfetto/trace/ftrace/hyp.proto",
Colin Cross84172332021-09-14 16:41:33 -07007786 "protos/perfetto/trace/ftrace/i2c.proto",
7787 "protos/perfetto/trace/ftrace/ion.proto",
7788 "protos/perfetto/trace/ftrace/ipi.proto",
7789 "protos/perfetto/trace/ftrace/irq.proto",
John Batesa0695862024-05-29 23:31:45 +00007790 "protos/perfetto/trace/ftrace/kgsl.proto",
Colin Cross84172332021-09-14 16:41:33 -07007791 "protos/perfetto/trace/ftrace/kmem.proto",
Primiano Tuccif954f862022-03-04 13:58:18 +00007792 "protos/perfetto/trace/ftrace/kvm.proto",
Colin Cross84172332021-09-14 16:41:33 -07007793 "protos/perfetto/trace/ftrace/lowmemorykiller.proto",
Nick Chung8f4dd962022-12-14 12:08:07 +00007794 "protos/perfetto/trace/ftrace/lwis.proto",
Colin Cross84172332021-09-14 16:41:33 -07007795 "protos/perfetto/trace/ftrace/mali.proto",
7796 "protos/perfetto/trace/ftrace/mdss.proto",
7797 "protos/perfetto/trace/ftrace/mm_event.proto",
Luke Chang496f94a2021-12-03 17:13:00 +08007798 "protos/perfetto/trace/ftrace/net.proto",
Colin Cross84172332021-09-14 16:41:33 -07007799 "protos/perfetto/trace/ftrace/oom.proto",
Jeremy DeHaan57d8b862022-09-02 22:08:43 +00007800 "protos/perfetto/trace/ftrace/panel.proto",
lukechang0d6f88d2023-12-04 05:56:12 +00007801 "protos/perfetto/trace/ftrace/perf_trace_counters.proto",
Dmitry Skibaf8802a52024-08-23 14:13:07 -07007802 "protos/perfetto/trace/ftrace/pixel_mm.proto",
Colin Cross84172332021-09-14 16:41:33 -07007803 "protos/perfetto/trace/ftrace/power.proto",
Hector Dearmanae5a60e2022-03-30 19:30:43 +01007804 "protos/perfetto/trace/ftrace/printk.proto",
Colin Cross84172332021-09-14 16:41:33 -07007805 "protos/perfetto/trace/ftrace/raw_syscalls.proto",
7806 "protos/perfetto/trace/ftrace/regulator.proto",
Vilas Bhat20477072024-02-28 11:29:47 -08007807 "protos/perfetto/trace/ftrace/rpm.proto",
Jaewon Kim7e13b1e2023-08-09 16:09:30 +09007808 "protos/perfetto/trace/ftrace/samsung.proto",
Colin Cross84172332021-09-14 16:41:33 -07007809 "protos/perfetto/trace/ftrace/sched.proto",
7810 "protos/perfetto/trace/ftrace/scm.proto",
7811 "protos/perfetto/trace/ftrace/sde.proto",
7812 "protos/perfetto/trace/ftrace/signal.proto",
Luke Changd041e6e2022-02-25 13:24:42 +08007813 "protos/perfetto/trace/ftrace/skb.proto",
Luke Chang1b904072022-01-26 09:33:19 +08007814 "protos/perfetto/trace/ftrace/sock.proto",
Colin Cross84172332021-09-14 16:41:33 -07007815 "protos/perfetto/trace/ftrace/sync.proto",
Kalesh Singh84f62e42021-11-15 19:01:23 -08007816 "protos/perfetto/trace/ftrace/synthetic.proto",
Colin Cross84172332021-09-14 16:41:33 -07007817 "protos/perfetto/trace/ftrace/systrace.proto",
7818 "protos/perfetto/trace/ftrace/task.proto",
Luke Chang4eb23ab2022-01-27 16:31:46 +08007819 "protos/perfetto/trace/ftrace/tcp.proto",
Colin Cross84172332021-09-14 16:41:33 -07007820 "protos/perfetto/trace/ftrace/test_bundle_wrapper.proto",
7821 "protos/perfetto/trace/ftrace/thermal.proto",
sashwinbalaji008127d2024-05-06 08:43:28 +08007822 "protos/perfetto/trace/ftrace/thermal_exynos.proto",
Padmanabha V0e45bba2022-10-20 05:26:21 +00007823 "protos/perfetto/trace/ftrace/trusty.proto",
YH Linbce42862022-03-15 02:45:18 +08007824 "protos/perfetto/trace/ftrace/ufs.proto",
Bartłomiej Grzesik6b257532022-08-08 09:34:15 +00007825 "protos/perfetto/trace/ftrace/v4l2.proto",
Rob Clark50b20aa2022-11-29 14:24:18 -08007826 "protos/perfetto/trace/ftrace/virtio_gpu.proto",
Bartłomiej Grzesikfa4c9c92022-10-03 11:12:18 +00007827 "protos/perfetto/trace/ftrace/virtio_video.proto",
Colin Cross84172332021-09-14 16:41:33 -07007828 "protos/perfetto/trace/ftrace/vmscan.proto",
7829 "protos/perfetto/trace/ftrace/workqueue.proto",
7830 ],
Spandan Das34f1b982023-10-13 23:24:01 +00007831}
7832
7833// GN: //protos/perfetto/trace/ftrace:zero
7834genrule {
7835 name: "perfetto_protos_perfetto_trace_ftrace_zero_gen",
7836 srcs: [
7837 ":perfetto_protos_perfetto_trace_ftrace_zero",
7838 ],
Colin Cross84172332021-09-14 16:41:33 -07007839 tools: [
7840 "aprotoc",
7841 "protozero_plugin",
7842 ],
Spandan Das34f1b982023-10-13 23:24:01 +00007843 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_ftrace_zero)",
Colin Cross84172332021-09-14 16:41:33 -07007844 out: [
Rahul Dandamudic8169462022-09-11 13:36:37 -04007845 "external/perfetto/protos/perfetto/trace/ftrace/android_fs.pbzero.cc",
George Leeefccce32024-06-06 01:09:42 +00007846 "external/perfetto/protos/perfetto/trace/ftrace/bcl_exynos.pbzero.cc",
Colin Cross84172332021-09-14 16:41:33 -07007847 "external/perfetto/protos/perfetto/trace/ftrace/binder.pbzero.cc",
7848 "external/perfetto/protos/perfetto/trace/ftrace/block.pbzero.cc",
7849 "external/perfetto/protos/perfetto/trace/ftrace/cgroup.pbzero.cc",
7850 "external/perfetto/protos/perfetto/trace/ftrace/clk.pbzero.cc",
Martin Liu2a4a27f2022-11-11 15:47:47 +08007851 "external/perfetto/protos/perfetto/trace/ftrace/cma.pbzero.cc",
Colin Cross84172332021-09-14 16:41:33 -07007852 "external/perfetto/protos/perfetto/trace/ftrace/compaction.pbzero.cc",
sashwinbalajib4f79a62024-11-07 08:24:21 +08007853 "external/perfetto/protos/perfetto/trace/ftrace/cpm_trace.pbzero.cc",
Colin Cross84172332021-09-14 16:41:33 -07007854 "external/perfetto/protos/perfetto/trace/ftrace/cpuhp.pbzero.cc",
Harvey Yangcb9754b2022-02-09 18:13:06 +08007855 "external/perfetto/protos/perfetto/trace/ftrace/cros_ec.pbzero.cc",
John Batese0a60172024-05-29 23:17:05 +00007856 "external/perfetto/protos/perfetto/trace/ftrace/dcvsh.pbzero.cc",
Samuel Wu52c46252024-09-11 17:34:10 -07007857 "external/perfetto/protos/perfetto/trace/ftrace/devfreq.pbzero.cc",
Chia-I Wu56619782022-03-28 16:02:01 -07007858 "external/perfetto/protos/perfetto/trace/ftrace/dma_fence.pbzero.cc",
Colin Cross84172332021-09-14 16:41:33 -07007859 "external/perfetto/protos/perfetto/trace/ftrace/dmabuf_heap.pbzero.cc",
7860 "external/perfetto/protos/perfetto/trace/ftrace/dpu.pbzero.cc",
Chia-I Wu56619782022-03-28 16:02:01 -07007861 "external/perfetto/protos/perfetto/trace/ftrace/drm.pbzero.cc",
Colin Cross84172332021-09-14 16:41:33 -07007862 "external/perfetto/protos/perfetto/trace/ftrace/ext4.pbzero.cc",
7863 "external/perfetto/protos/perfetto/trace/ftrace/f2fs.pbzero.cc",
7864 "external/perfetto/protos/perfetto/trace/ftrace/fastrpc.pbzero.cc",
7865 "external/perfetto/protos/perfetto/trace/ftrace/fence.pbzero.cc",
7866 "external/perfetto/protos/perfetto/trace/ftrace/filemap.pbzero.cc",
Yuan Yao389e81f2024-11-12 04:06:34 +00007867 "external/perfetto/protos/perfetto/trace/ftrace/fs.pbzero.cc",
Colin Cross84172332021-09-14 16:41:33 -07007868 "external/perfetto/protos/perfetto/trace/ftrace/ftrace.pbzero.cc",
7869 "external/perfetto/protos/perfetto/trace/ftrace/ftrace_event.pbzero.cc",
7870 "external/perfetto/protos/perfetto/trace/ftrace/ftrace_event_bundle.pbzero.cc",
7871 "external/perfetto/protos/perfetto/trace/ftrace/ftrace_stats.pbzero.cc",
7872 "external/perfetto/protos/perfetto/trace/ftrace/g2d.pbzero.cc",
7873 "external/perfetto/protos/perfetto/trace/ftrace/generic.pbzero.cc",
Tushar Khandelwal40f683b2024-05-02 11:10:09 +00007874 "external/perfetto/protos/perfetto/trace/ftrace/google_icc_trace.pbzero.cc",
7875 "external/perfetto/protos/perfetto/trace/ftrace/google_irm_trace.pbzero.cc",
Colin Cross84172332021-09-14 16:41:33 -07007876 "external/perfetto/protos/perfetto/trace/ftrace/gpu_mem.pbzero.cc",
Chia-I Wu56619782022-03-28 16:02:01 -07007877 "external/perfetto/protos/perfetto/trace/ftrace/gpu_scheduler.pbzero.cc",
Nikita Ioffe02035142023-03-02 16:57:35 +00007878 "external/perfetto/protos/perfetto/trace/ftrace/hyp.pbzero.cc",
Colin Cross84172332021-09-14 16:41:33 -07007879 "external/perfetto/protos/perfetto/trace/ftrace/i2c.pbzero.cc",
7880 "external/perfetto/protos/perfetto/trace/ftrace/ion.pbzero.cc",
7881 "external/perfetto/protos/perfetto/trace/ftrace/ipi.pbzero.cc",
7882 "external/perfetto/protos/perfetto/trace/ftrace/irq.pbzero.cc",
John Batesa0695862024-05-29 23:31:45 +00007883 "external/perfetto/protos/perfetto/trace/ftrace/kgsl.pbzero.cc",
Colin Cross84172332021-09-14 16:41:33 -07007884 "external/perfetto/protos/perfetto/trace/ftrace/kmem.pbzero.cc",
Primiano Tuccif954f862022-03-04 13:58:18 +00007885 "external/perfetto/protos/perfetto/trace/ftrace/kvm.pbzero.cc",
Colin Cross84172332021-09-14 16:41:33 -07007886 "external/perfetto/protos/perfetto/trace/ftrace/lowmemorykiller.pbzero.cc",
Nick Chung8f4dd962022-12-14 12:08:07 +00007887 "external/perfetto/protos/perfetto/trace/ftrace/lwis.pbzero.cc",
Colin Cross84172332021-09-14 16:41:33 -07007888 "external/perfetto/protos/perfetto/trace/ftrace/mali.pbzero.cc",
7889 "external/perfetto/protos/perfetto/trace/ftrace/mdss.pbzero.cc",
7890 "external/perfetto/protos/perfetto/trace/ftrace/mm_event.pbzero.cc",
Luke Chang496f94a2021-12-03 17:13:00 +08007891 "external/perfetto/protos/perfetto/trace/ftrace/net.pbzero.cc",
Colin Cross84172332021-09-14 16:41:33 -07007892 "external/perfetto/protos/perfetto/trace/ftrace/oom.pbzero.cc",
Jeremy DeHaan57d8b862022-09-02 22:08:43 +00007893 "external/perfetto/protos/perfetto/trace/ftrace/panel.pbzero.cc",
lukechang0d6f88d2023-12-04 05:56:12 +00007894 "external/perfetto/protos/perfetto/trace/ftrace/perf_trace_counters.pbzero.cc",
Dmitry Skibaf8802a52024-08-23 14:13:07 -07007895 "external/perfetto/protos/perfetto/trace/ftrace/pixel_mm.pbzero.cc",
Colin Cross84172332021-09-14 16:41:33 -07007896 "external/perfetto/protos/perfetto/trace/ftrace/power.pbzero.cc",
Hector Dearmanae5a60e2022-03-30 19:30:43 +01007897 "external/perfetto/protos/perfetto/trace/ftrace/printk.pbzero.cc",
Colin Cross84172332021-09-14 16:41:33 -07007898 "external/perfetto/protos/perfetto/trace/ftrace/raw_syscalls.pbzero.cc",
7899 "external/perfetto/protos/perfetto/trace/ftrace/regulator.pbzero.cc",
Vilas Bhat20477072024-02-28 11:29:47 -08007900 "external/perfetto/protos/perfetto/trace/ftrace/rpm.pbzero.cc",
Jaewon Kim7e13b1e2023-08-09 16:09:30 +09007901 "external/perfetto/protos/perfetto/trace/ftrace/samsung.pbzero.cc",
Colin Cross84172332021-09-14 16:41:33 -07007902 "external/perfetto/protos/perfetto/trace/ftrace/sched.pbzero.cc",
7903 "external/perfetto/protos/perfetto/trace/ftrace/scm.pbzero.cc",
7904 "external/perfetto/protos/perfetto/trace/ftrace/sde.pbzero.cc",
7905 "external/perfetto/protos/perfetto/trace/ftrace/signal.pbzero.cc",
Luke Changd041e6e2022-02-25 13:24:42 +08007906 "external/perfetto/protos/perfetto/trace/ftrace/skb.pbzero.cc",
Luke Chang1b904072022-01-26 09:33:19 +08007907 "external/perfetto/protos/perfetto/trace/ftrace/sock.pbzero.cc",
Colin Cross84172332021-09-14 16:41:33 -07007908 "external/perfetto/protos/perfetto/trace/ftrace/sync.pbzero.cc",
Kalesh Singh84f62e42021-11-15 19:01:23 -08007909 "external/perfetto/protos/perfetto/trace/ftrace/synthetic.pbzero.cc",
Colin Cross84172332021-09-14 16:41:33 -07007910 "external/perfetto/protos/perfetto/trace/ftrace/systrace.pbzero.cc",
7911 "external/perfetto/protos/perfetto/trace/ftrace/task.pbzero.cc",
Luke Chang4eb23ab2022-01-27 16:31:46 +08007912 "external/perfetto/protos/perfetto/trace/ftrace/tcp.pbzero.cc",
Colin Cross84172332021-09-14 16:41:33 -07007913 "external/perfetto/protos/perfetto/trace/ftrace/test_bundle_wrapper.pbzero.cc",
7914 "external/perfetto/protos/perfetto/trace/ftrace/thermal.pbzero.cc",
sashwinbalaji008127d2024-05-06 08:43:28 +08007915 "external/perfetto/protos/perfetto/trace/ftrace/thermal_exynos.pbzero.cc",
Padmanabha V0e45bba2022-10-20 05:26:21 +00007916 "external/perfetto/protos/perfetto/trace/ftrace/trusty.pbzero.cc",
YH Linbce42862022-03-15 02:45:18 +08007917 "external/perfetto/protos/perfetto/trace/ftrace/ufs.pbzero.cc",
Bartłomiej Grzesik6b257532022-08-08 09:34:15 +00007918 "external/perfetto/protos/perfetto/trace/ftrace/v4l2.pbzero.cc",
Rob Clark50b20aa2022-11-29 14:24:18 -08007919 "external/perfetto/protos/perfetto/trace/ftrace/virtio_gpu.pbzero.cc",
Bartłomiej Grzesikfa4c9c92022-10-03 11:12:18 +00007920 "external/perfetto/protos/perfetto/trace/ftrace/virtio_video.pbzero.cc",
Colin Cross84172332021-09-14 16:41:33 -07007921 "external/perfetto/protos/perfetto/trace/ftrace/vmscan.pbzero.cc",
7922 "external/perfetto/protos/perfetto/trace/ftrace/workqueue.pbzero.cc",
7923 ],
Sami Kyostilaebba0fe2017-12-19 14:01:52 +00007924}
7925
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01007926// GN: //protos/perfetto/trace/ftrace:zero
Sami Kyostilaebba0fe2017-12-19 14:01:52 +00007927genrule {
Colin Cross84172332021-09-14 16:41:33 -07007928 name: "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers",
7929 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00007930 ":perfetto_protos_perfetto_trace_ftrace_zero",
Colin Cross84172332021-09-14 16:41:33 -07007931 ],
7932 tools: [
7933 "aprotoc",
7934 "protozero_plugin",
7935 ],
Spandan Das34f1b982023-10-13 23:24:01 +00007936 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_ftrace_zero)",
Colin Cross84172332021-09-14 16:41:33 -07007937 out: [
Rahul Dandamudic8169462022-09-11 13:36:37 -04007938 "external/perfetto/protos/perfetto/trace/ftrace/android_fs.pbzero.h",
George Leeefccce32024-06-06 01:09:42 +00007939 "external/perfetto/protos/perfetto/trace/ftrace/bcl_exynos.pbzero.h",
Colin Cross84172332021-09-14 16:41:33 -07007940 "external/perfetto/protos/perfetto/trace/ftrace/binder.pbzero.h",
7941 "external/perfetto/protos/perfetto/trace/ftrace/block.pbzero.h",
7942 "external/perfetto/protos/perfetto/trace/ftrace/cgroup.pbzero.h",
7943 "external/perfetto/protos/perfetto/trace/ftrace/clk.pbzero.h",
Martin Liu2a4a27f2022-11-11 15:47:47 +08007944 "external/perfetto/protos/perfetto/trace/ftrace/cma.pbzero.h",
Colin Cross84172332021-09-14 16:41:33 -07007945 "external/perfetto/protos/perfetto/trace/ftrace/compaction.pbzero.h",
sashwinbalajib4f79a62024-11-07 08:24:21 +08007946 "external/perfetto/protos/perfetto/trace/ftrace/cpm_trace.pbzero.h",
Colin Cross84172332021-09-14 16:41:33 -07007947 "external/perfetto/protos/perfetto/trace/ftrace/cpuhp.pbzero.h",
Harvey Yangcb9754b2022-02-09 18:13:06 +08007948 "external/perfetto/protos/perfetto/trace/ftrace/cros_ec.pbzero.h",
John Batese0a60172024-05-29 23:17:05 +00007949 "external/perfetto/protos/perfetto/trace/ftrace/dcvsh.pbzero.h",
Samuel Wu52c46252024-09-11 17:34:10 -07007950 "external/perfetto/protos/perfetto/trace/ftrace/devfreq.pbzero.h",
Chia-I Wu56619782022-03-28 16:02:01 -07007951 "external/perfetto/protos/perfetto/trace/ftrace/dma_fence.pbzero.h",
Colin Cross84172332021-09-14 16:41:33 -07007952 "external/perfetto/protos/perfetto/trace/ftrace/dmabuf_heap.pbzero.h",
7953 "external/perfetto/protos/perfetto/trace/ftrace/dpu.pbzero.h",
Chia-I Wu56619782022-03-28 16:02:01 -07007954 "external/perfetto/protos/perfetto/trace/ftrace/drm.pbzero.h",
Colin Cross84172332021-09-14 16:41:33 -07007955 "external/perfetto/protos/perfetto/trace/ftrace/ext4.pbzero.h",
7956 "external/perfetto/protos/perfetto/trace/ftrace/f2fs.pbzero.h",
7957 "external/perfetto/protos/perfetto/trace/ftrace/fastrpc.pbzero.h",
7958 "external/perfetto/protos/perfetto/trace/ftrace/fence.pbzero.h",
7959 "external/perfetto/protos/perfetto/trace/ftrace/filemap.pbzero.h",
Yuan Yao389e81f2024-11-12 04:06:34 +00007960 "external/perfetto/protos/perfetto/trace/ftrace/fs.pbzero.h",
Colin Cross84172332021-09-14 16:41:33 -07007961 "external/perfetto/protos/perfetto/trace/ftrace/ftrace.pbzero.h",
7962 "external/perfetto/protos/perfetto/trace/ftrace/ftrace_event.pbzero.h",
7963 "external/perfetto/protos/perfetto/trace/ftrace/ftrace_event_bundle.pbzero.h",
7964 "external/perfetto/protos/perfetto/trace/ftrace/ftrace_stats.pbzero.h",
7965 "external/perfetto/protos/perfetto/trace/ftrace/g2d.pbzero.h",
7966 "external/perfetto/protos/perfetto/trace/ftrace/generic.pbzero.h",
Tushar Khandelwal40f683b2024-05-02 11:10:09 +00007967 "external/perfetto/protos/perfetto/trace/ftrace/google_icc_trace.pbzero.h",
7968 "external/perfetto/protos/perfetto/trace/ftrace/google_irm_trace.pbzero.h",
Colin Cross84172332021-09-14 16:41:33 -07007969 "external/perfetto/protos/perfetto/trace/ftrace/gpu_mem.pbzero.h",
Chia-I Wu56619782022-03-28 16:02:01 -07007970 "external/perfetto/protos/perfetto/trace/ftrace/gpu_scheduler.pbzero.h",
Nikita Ioffe02035142023-03-02 16:57:35 +00007971 "external/perfetto/protos/perfetto/trace/ftrace/hyp.pbzero.h",
Colin Cross84172332021-09-14 16:41:33 -07007972 "external/perfetto/protos/perfetto/trace/ftrace/i2c.pbzero.h",
7973 "external/perfetto/protos/perfetto/trace/ftrace/ion.pbzero.h",
7974 "external/perfetto/protos/perfetto/trace/ftrace/ipi.pbzero.h",
7975 "external/perfetto/protos/perfetto/trace/ftrace/irq.pbzero.h",
John Batesa0695862024-05-29 23:31:45 +00007976 "external/perfetto/protos/perfetto/trace/ftrace/kgsl.pbzero.h",
Colin Cross84172332021-09-14 16:41:33 -07007977 "external/perfetto/protos/perfetto/trace/ftrace/kmem.pbzero.h",
Primiano Tuccif954f862022-03-04 13:58:18 +00007978 "external/perfetto/protos/perfetto/trace/ftrace/kvm.pbzero.h",
Colin Cross84172332021-09-14 16:41:33 -07007979 "external/perfetto/protos/perfetto/trace/ftrace/lowmemorykiller.pbzero.h",
Nick Chung8f4dd962022-12-14 12:08:07 +00007980 "external/perfetto/protos/perfetto/trace/ftrace/lwis.pbzero.h",
Colin Cross84172332021-09-14 16:41:33 -07007981 "external/perfetto/protos/perfetto/trace/ftrace/mali.pbzero.h",
7982 "external/perfetto/protos/perfetto/trace/ftrace/mdss.pbzero.h",
7983 "external/perfetto/protos/perfetto/trace/ftrace/mm_event.pbzero.h",
Luke Chang496f94a2021-12-03 17:13:00 +08007984 "external/perfetto/protos/perfetto/trace/ftrace/net.pbzero.h",
Colin Cross84172332021-09-14 16:41:33 -07007985 "external/perfetto/protos/perfetto/trace/ftrace/oom.pbzero.h",
Jeremy DeHaan57d8b862022-09-02 22:08:43 +00007986 "external/perfetto/protos/perfetto/trace/ftrace/panel.pbzero.h",
lukechang0d6f88d2023-12-04 05:56:12 +00007987 "external/perfetto/protos/perfetto/trace/ftrace/perf_trace_counters.pbzero.h",
Dmitry Skibaf8802a52024-08-23 14:13:07 -07007988 "external/perfetto/protos/perfetto/trace/ftrace/pixel_mm.pbzero.h",
Colin Cross84172332021-09-14 16:41:33 -07007989 "external/perfetto/protos/perfetto/trace/ftrace/power.pbzero.h",
Hector Dearmanae5a60e2022-03-30 19:30:43 +01007990 "external/perfetto/protos/perfetto/trace/ftrace/printk.pbzero.h",
Colin Cross84172332021-09-14 16:41:33 -07007991 "external/perfetto/protos/perfetto/trace/ftrace/raw_syscalls.pbzero.h",
7992 "external/perfetto/protos/perfetto/trace/ftrace/regulator.pbzero.h",
Vilas Bhat20477072024-02-28 11:29:47 -08007993 "external/perfetto/protos/perfetto/trace/ftrace/rpm.pbzero.h",
Jaewon Kim7e13b1e2023-08-09 16:09:30 +09007994 "external/perfetto/protos/perfetto/trace/ftrace/samsung.pbzero.h",
Colin Cross84172332021-09-14 16:41:33 -07007995 "external/perfetto/protos/perfetto/trace/ftrace/sched.pbzero.h",
7996 "external/perfetto/protos/perfetto/trace/ftrace/scm.pbzero.h",
7997 "external/perfetto/protos/perfetto/trace/ftrace/sde.pbzero.h",
7998 "external/perfetto/protos/perfetto/trace/ftrace/signal.pbzero.h",
Luke Changd041e6e2022-02-25 13:24:42 +08007999 "external/perfetto/protos/perfetto/trace/ftrace/skb.pbzero.h",
Luke Chang1b904072022-01-26 09:33:19 +08008000 "external/perfetto/protos/perfetto/trace/ftrace/sock.pbzero.h",
Colin Cross84172332021-09-14 16:41:33 -07008001 "external/perfetto/protos/perfetto/trace/ftrace/sync.pbzero.h",
Kalesh Singh84f62e42021-11-15 19:01:23 -08008002 "external/perfetto/protos/perfetto/trace/ftrace/synthetic.pbzero.h",
Colin Cross84172332021-09-14 16:41:33 -07008003 "external/perfetto/protos/perfetto/trace/ftrace/systrace.pbzero.h",
8004 "external/perfetto/protos/perfetto/trace/ftrace/task.pbzero.h",
Luke Chang4eb23ab2022-01-27 16:31:46 +08008005 "external/perfetto/protos/perfetto/trace/ftrace/tcp.pbzero.h",
Colin Cross84172332021-09-14 16:41:33 -07008006 "external/perfetto/protos/perfetto/trace/ftrace/test_bundle_wrapper.pbzero.h",
8007 "external/perfetto/protos/perfetto/trace/ftrace/thermal.pbzero.h",
sashwinbalaji008127d2024-05-06 08:43:28 +08008008 "external/perfetto/protos/perfetto/trace/ftrace/thermal_exynos.pbzero.h",
Padmanabha V0e45bba2022-10-20 05:26:21 +00008009 "external/perfetto/protos/perfetto/trace/ftrace/trusty.pbzero.h",
YH Linbce42862022-03-15 02:45:18 +08008010 "external/perfetto/protos/perfetto/trace/ftrace/ufs.pbzero.h",
Bartłomiej Grzesik6b257532022-08-08 09:34:15 +00008011 "external/perfetto/protos/perfetto/trace/ftrace/v4l2.pbzero.h",
Rob Clark50b20aa2022-11-29 14:24:18 -08008012 "external/perfetto/protos/perfetto/trace/ftrace/virtio_gpu.pbzero.h",
Bartłomiej Grzesikfa4c9c92022-10-03 11:12:18 +00008013 "external/perfetto/protos/perfetto/trace/ftrace/virtio_video.pbzero.h",
Colin Cross84172332021-09-14 16:41:33 -07008014 "external/perfetto/protos/perfetto/trace/ftrace/vmscan.pbzero.h",
8015 "external/perfetto/protos/perfetto/trace/ftrace/workqueue.pbzero.h",
8016 ],
8017 export_include_dirs: [
8018 ".",
8019 "protos",
8020 ],
Primiano Tucci20b760c2018-01-19 12:36:12 +00008021}
8022
Primiano Tuccife502c42019-12-11 01:00:27 +00008023// GN: //protos/perfetto/trace/gpu:cpp
Spandan Das34f1b982023-10-13 23:24:01 +00008024filegroup {
8025 name: "perfetto_protos_perfetto_trace_gpu_cpp",
Colin Cross84172332021-09-14 16:41:33 -07008026 srcs: [
8027 "protos/perfetto/trace/gpu/gpu_counter_event.proto",
8028 "protos/perfetto/trace/gpu/gpu_log.proto",
8029 "protos/perfetto/trace/gpu/gpu_render_stage_event.proto",
8030 "protos/perfetto/trace/gpu/vulkan_api_event.proto",
8031 "protos/perfetto/trace/gpu/vulkan_memory_event.proto",
8032 ],
Spandan Das34f1b982023-10-13 23:24:01 +00008033}
8034
8035// GN: //protos/perfetto/trace/gpu:cpp
8036genrule {
8037 name: "perfetto_protos_perfetto_trace_gpu_cpp_gen",
8038 srcs: [
8039 ":perfetto_protos_perfetto_common_cpp",
8040 ":perfetto_protos_perfetto_trace_gpu_cpp",
8041 ],
Colin Cross84172332021-09-14 16:41:33 -07008042 tools: [
8043 "aprotoc",
8044 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
8045 ],
Spandan Das34f1b982023-10-13 23:24:01 +00008046 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_gpu_cpp)",
Colin Cross84172332021-09-14 16:41:33 -07008047 out: [
8048 "external/perfetto/protos/perfetto/trace/gpu/gpu_counter_event.gen.cc",
8049 "external/perfetto/protos/perfetto/trace/gpu/gpu_log.gen.cc",
8050 "external/perfetto/protos/perfetto/trace/gpu/gpu_render_stage_event.gen.cc",
8051 "external/perfetto/protos/perfetto/trace/gpu/vulkan_api_event.gen.cc",
8052 "external/perfetto/protos/perfetto/trace/gpu/vulkan_memory_event.gen.cc",
8053 ],
Primiano Tuccife502c42019-12-11 01:00:27 +00008054}
8055
8056// GN: //protos/perfetto/trace/gpu:cpp
8057genrule {
Colin Cross84172332021-09-14 16:41:33 -07008058 name: "perfetto_protos_perfetto_trace_gpu_cpp_gen_headers",
8059 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00008060 ":perfetto_protos_perfetto_common_cpp",
8061 ":perfetto_protos_perfetto_trace_gpu_cpp",
Colin Cross84172332021-09-14 16:41:33 -07008062 ],
8063 tools: [
8064 "aprotoc",
8065 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
8066 ],
Spandan Das34f1b982023-10-13 23:24:01 +00008067 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_gpu_cpp)",
Colin Cross84172332021-09-14 16:41:33 -07008068 out: [
8069 "external/perfetto/protos/perfetto/trace/gpu/gpu_counter_event.gen.h",
8070 "external/perfetto/protos/perfetto/trace/gpu/gpu_log.gen.h",
8071 "external/perfetto/protos/perfetto/trace/gpu/gpu_render_stage_event.gen.h",
8072 "external/perfetto/protos/perfetto/trace/gpu/vulkan_api_event.gen.h",
8073 "external/perfetto/protos/perfetto/trace/gpu/vulkan_memory_event.gen.h",
8074 ],
8075 export_include_dirs: [
8076 ".",
8077 "protos",
8078 ],
Primiano Tuccife502c42019-12-11 01:00:27 +00008079}
8080
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01008081// GN: //protos/perfetto/trace/gpu:lite
Spandan Das34f1b982023-10-13 23:24:01 +00008082filegroup {
8083 name: "perfetto_protos_perfetto_trace_gpu_lite",
Colin Cross84172332021-09-14 16:41:33 -07008084 srcs: [
8085 "protos/perfetto/trace/gpu/gpu_counter_event.proto",
8086 "protos/perfetto/trace/gpu/gpu_log.proto",
8087 "protos/perfetto/trace/gpu/gpu_render_stage_event.proto",
8088 "protos/perfetto/trace/gpu/vulkan_api_event.proto",
8089 "protos/perfetto/trace/gpu/vulkan_memory_event.proto",
8090 ],
Spandan Das34f1b982023-10-13 23:24:01 +00008091}
8092
8093// GN: //protos/perfetto/trace/gpu:lite
8094genrule {
8095 name: "perfetto_protos_perfetto_trace_gpu_lite_gen",
8096 srcs: [
8097 ":perfetto_protos_perfetto_common_lite",
8098 ":perfetto_protos_perfetto_trace_gpu_lite",
8099 ],
Colin Cross84172332021-09-14 16:41:33 -07008100 tools: [
8101 "aprotoc",
8102 ],
Spandan Das34f1b982023-10-13 23:24:01 +00008103 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_gpu_lite)",
Colin Cross84172332021-09-14 16:41:33 -07008104 out: [
8105 "external/perfetto/protos/perfetto/trace/gpu/gpu_counter_event.pb.cc",
8106 "external/perfetto/protos/perfetto/trace/gpu/gpu_log.pb.cc",
8107 "external/perfetto/protos/perfetto/trace/gpu/gpu_render_stage_event.pb.cc",
8108 "external/perfetto/protos/perfetto/trace/gpu/vulkan_api_event.pb.cc",
8109 "external/perfetto/protos/perfetto/trace/gpu/vulkan_memory_event.pb.cc",
8110 ],
Raymond Chiu9a707c22019-05-22 13:19:47 -07008111}
8112
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01008113// GN: //protos/perfetto/trace/gpu:lite
Raymond Chiu9a707c22019-05-22 13:19:47 -07008114genrule {
Colin Cross84172332021-09-14 16:41:33 -07008115 name: "perfetto_protos_perfetto_trace_gpu_lite_gen_headers",
8116 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00008117 ":perfetto_protos_perfetto_common_lite",
8118 ":perfetto_protos_perfetto_trace_gpu_lite",
Colin Cross84172332021-09-14 16:41:33 -07008119 ],
8120 tools: [
8121 "aprotoc",
8122 ],
Spandan Das34f1b982023-10-13 23:24:01 +00008123 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_gpu_lite)",
Colin Cross84172332021-09-14 16:41:33 -07008124 out: [
8125 "external/perfetto/protos/perfetto/trace/gpu/gpu_counter_event.pb.h",
8126 "external/perfetto/protos/perfetto/trace/gpu/gpu_log.pb.h",
8127 "external/perfetto/protos/perfetto/trace/gpu/gpu_render_stage_event.pb.h",
8128 "external/perfetto/protos/perfetto/trace/gpu/vulkan_api_event.pb.h",
8129 "external/perfetto/protos/perfetto/trace/gpu/vulkan_memory_event.pb.h",
8130 ],
8131 export_include_dirs: [
8132 ".",
8133 "protos",
8134 ],
Raymond Chiu9a707c22019-05-22 13:19:47 -07008135}
8136
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01008137// GN: //protos/perfetto/trace/gpu:zero
Spandan Das34f1b982023-10-13 23:24:01 +00008138filegroup {
8139 name: "perfetto_protos_perfetto_trace_gpu_zero",
Colin Cross84172332021-09-14 16:41:33 -07008140 srcs: [
8141 "protos/perfetto/trace/gpu/gpu_counter_event.proto",
8142 "protos/perfetto/trace/gpu/gpu_log.proto",
8143 "protos/perfetto/trace/gpu/gpu_render_stage_event.proto",
8144 "protos/perfetto/trace/gpu/vulkan_api_event.proto",
8145 "protos/perfetto/trace/gpu/vulkan_memory_event.proto",
8146 ],
Spandan Das34f1b982023-10-13 23:24:01 +00008147}
8148
8149// GN: //protos/perfetto/trace/gpu:zero
8150genrule {
8151 name: "perfetto_protos_perfetto_trace_gpu_zero_gen",
8152 srcs: [
8153 ":perfetto_protos_perfetto_common_zero",
8154 ":perfetto_protos_perfetto_trace_gpu_zero",
8155 ],
Colin Cross84172332021-09-14 16:41:33 -07008156 tools: [
8157 "aprotoc",
8158 "protozero_plugin",
8159 ],
Spandan Das34f1b982023-10-13 23:24:01 +00008160 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_gpu_zero)",
Colin Cross84172332021-09-14 16:41:33 -07008161 out: [
8162 "external/perfetto/protos/perfetto/trace/gpu/gpu_counter_event.pbzero.cc",
8163 "external/perfetto/protos/perfetto/trace/gpu/gpu_log.pbzero.cc",
8164 "external/perfetto/protos/perfetto/trace/gpu/gpu_render_stage_event.pbzero.cc",
8165 "external/perfetto/protos/perfetto/trace/gpu/vulkan_api_event.pbzero.cc",
8166 "external/perfetto/protos/perfetto/trace/gpu/vulkan_memory_event.pbzero.cc",
8167 ],
Raymond Chiu9a707c22019-05-22 13:19:47 -07008168}
8169
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01008170// GN: //protos/perfetto/trace/gpu:zero
Raymond Chiu9a707c22019-05-22 13:19:47 -07008171genrule {
Colin Cross84172332021-09-14 16:41:33 -07008172 name: "perfetto_protos_perfetto_trace_gpu_zero_gen_headers",
8173 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00008174 ":perfetto_protos_perfetto_common_zero",
8175 ":perfetto_protos_perfetto_trace_gpu_zero",
Colin Cross84172332021-09-14 16:41:33 -07008176 ],
8177 tools: [
8178 "aprotoc",
8179 "protozero_plugin",
8180 ],
Spandan Das34f1b982023-10-13 23:24:01 +00008181 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_gpu_zero)",
Colin Cross84172332021-09-14 16:41:33 -07008182 out: [
8183 "external/perfetto/protos/perfetto/trace/gpu/gpu_counter_event.pbzero.h",
8184 "external/perfetto/protos/perfetto/trace/gpu/gpu_log.pbzero.h",
8185 "external/perfetto/protos/perfetto/trace/gpu/gpu_render_stage_event.pbzero.h",
8186 "external/perfetto/protos/perfetto/trace/gpu/vulkan_api_event.pbzero.h",
8187 "external/perfetto/protos/perfetto/trace/gpu/vulkan_memory_event.pbzero.h",
8188 ],
8189 export_include_dirs: [
8190 ".",
8191 "protos",
8192 ],
Raymond Chiu9a707c22019-05-22 13:19:47 -07008193}
8194
Primiano Tuccife502c42019-12-11 01:00:27 +00008195// GN: //protos/perfetto/trace/interned_data:cpp
Spandan Das34f1b982023-10-13 23:24:01 +00008196filegroup {
8197 name: "perfetto_protos_perfetto_trace_interned_data_cpp",
8198 srcs: [
8199 "protos/perfetto/trace/interned_data/interned_data.proto",
8200 ],
8201}
8202
8203// GN: //protos/perfetto/trace/interned_data:cpp
Primiano Tuccife502c42019-12-11 01:00:27 +00008204genrule {
Colin Cross84172332021-09-14 16:41:33 -07008205 name: "perfetto_protos_perfetto_trace_interned_data_cpp_gen",
8206 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00008207 ":perfetto_protos_perfetto_common_cpp",
8208 ":perfetto_protos_perfetto_trace_android_cpp",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00008209 ":perfetto_protos_perfetto_trace_android_winscope_common_cpp",
8210 ":perfetto_protos_perfetto_trace_android_winscope_regular_cpp",
Carlos Caballero856a7092024-01-15 17:27:35 +00008211 ":perfetto_protos_perfetto_trace_chrome_cpp",
Spandan Das34f1b982023-10-13 23:24:01 +00008212 ":perfetto_protos_perfetto_trace_gpu_cpp",
8213 ":perfetto_protos_perfetto_trace_interned_data_cpp",
8214 ":perfetto_protos_perfetto_trace_profiling_cpp",
8215 ":perfetto_protos_perfetto_trace_track_event_cpp",
Colin Cross84172332021-09-14 16:41:33 -07008216 ],
8217 tools: [
8218 "aprotoc",
8219 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
8220 ],
Spandan Das34f1b982023-10-13 23:24:01 +00008221 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_interned_data_cpp)",
Colin Cross84172332021-09-14 16:41:33 -07008222 out: [
8223 "external/perfetto/protos/perfetto/trace/interned_data/interned_data.gen.cc",
8224 ],
Primiano Tuccife502c42019-12-11 01:00:27 +00008225}
8226
8227// GN: //protos/perfetto/trace/interned_data:cpp
8228genrule {
Colin Cross84172332021-09-14 16:41:33 -07008229 name: "perfetto_protos_perfetto_trace_interned_data_cpp_gen_headers",
8230 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00008231 ":perfetto_protos_perfetto_common_cpp",
8232 ":perfetto_protos_perfetto_trace_android_cpp",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00008233 ":perfetto_protos_perfetto_trace_android_winscope_common_cpp",
8234 ":perfetto_protos_perfetto_trace_android_winscope_regular_cpp",
Carlos Caballero856a7092024-01-15 17:27:35 +00008235 ":perfetto_protos_perfetto_trace_chrome_cpp",
Spandan Das34f1b982023-10-13 23:24:01 +00008236 ":perfetto_protos_perfetto_trace_gpu_cpp",
8237 ":perfetto_protos_perfetto_trace_interned_data_cpp",
8238 ":perfetto_protos_perfetto_trace_profiling_cpp",
8239 ":perfetto_protos_perfetto_trace_track_event_cpp",
Colin Cross84172332021-09-14 16:41:33 -07008240 ],
8241 tools: [
8242 "aprotoc",
8243 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
8244 ],
Spandan Das34f1b982023-10-13 23:24:01 +00008245 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_interned_data_cpp)",
Colin Cross84172332021-09-14 16:41:33 -07008246 out: [
8247 "external/perfetto/protos/perfetto/trace/interned_data/interned_data.gen.h",
8248 ],
8249 export_include_dirs: [
8250 ".",
8251 "protos",
8252 ],
Primiano Tuccife502c42019-12-11 01:00:27 +00008253}
8254
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01008255// GN: //protos/perfetto/trace/interned_data:lite
Spandan Das34f1b982023-10-13 23:24:01 +00008256filegroup {
8257 name: "perfetto_protos_perfetto_trace_interned_data_lite",
8258 srcs: [
8259 "protos/perfetto/trace/interned_data/interned_data.proto",
8260 ],
8261}
8262
8263// GN: //protos/perfetto/trace/interned_data:lite
Eric Secklerc73ef062019-02-25 12:30:35 +00008264genrule {
Colin Cross84172332021-09-14 16:41:33 -07008265 name: "perfetto_protos_perfetto_trace_interned_data_lite_gen",
8266 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00008267 ":perfetto_protos_perfetto_common_lite",
8268 ":perfetto_protos_perfetto_trace_android_lite",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00008269 ":perfetto_protos_perfetto_trace_android_winscope_common_lite",
8270 ":perfetto_protos_perfetto_trace_android_winscope_regular_lite",
Carlos Caballero856a7092024-01-15 17:27:35 +00008271 ":perfetto_protos_perfetto_trace_chrome_lite",
Spandan Das34f1b982023-10-13 23:24:01 +00008272 ":perfetto_protos_perfetto_trace_gpu_lite",
8273 ":perfetto_protos_perfetto_trace_interned_data_lite",
8274 ":perfetto_protos_perfetto_trace_profiling_lite",
8275 ":perfetto_protos_perfetto_trace_track_event_lite",
Colin Cross84172332021-09-14 16:41:33 -07008276 ],
8277 tools: [
8278 "aprotoc",
8279 ],
Spandan Das34f1b982023-10-13 23:24:01 +00008280 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_interned_data_lite)",
Colin Cross84172332021-09-14 16:41:33 -07008281 out: [
8282 "external/perfetto/protos/perfetto/trace/interned_data/interned_data.pb.cc",
8283 ],
Eric Secklerc73ef062019-02-25 12:30:35 +00008284}
8285
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01008286// GN: //protos/perfetto/trace/interned_data:lite
Eric Secklerc73ef062019-02-25 12:30:35 +00008287genrule {
Colin Cross84172332021-09-14 16:41:33 -07008288 name: "perfetto_protos_perfetto_trace_interned_data_lite_gen_headers",
8289 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00008290 ":perfetto_protos_perfetto_common_lite",
8291 ":perfetto_protos_perfetto_trace_android_lite",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00008292 ":perfetto_protos_perfetto_trace_android_winscope_common_lite",
8293 ":perfetto_protos_perfetto_trace_android_winscope_regular_lite",
Carlos Caballero856a7092024-01-15 17:27:35 +00008294 ":perfetto_protos_perfetto_trace_chrome_lite",
Spandan Das34f1b982023-10-13 23:24:01 +00008295 ":perfetto_protos_perfetto_trace_gpu_lite",
8296 ":perfetto_protos_perfetto_trace_interned_data_lite",
8297 ":perfetto_protos_perfetto_trace_profiling_lite",
8298 ":perfetto_protos_perfetto_trace_track_event_lite",
Colin Cross84172332021-09-14 16:41:33 -07008299 ],
8300 tools: [
8301 "aprotoc",
8302 ],
Spandan Das34f1b982023-10-13 23:24:01 +00008303 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_interned_data_lite)",
Colin Cross84172332021-09-14 16:41:33 -07008304 out: [
8305 "external/perfetto/protos/perfetto/trace/interned_data/interned_data.pb.h",
8306 ],
8307 export_include_dirs: [
8308 ".",
8309 "protos",
8310 ],
Eric Secklerc73ef062019-02-25 12:30:35 +00008311}
8312
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01008313// GN: //protos/perfetto/trace/interned_data:zero
Spandan Das34f1b982023-10-13 23:24:01 +00008314filegroup {
8315 name: "perfetto_protos_perfetto_trace_interned_data_zero",
8316 srcs: [
8317 "protos/perfetto/trace/interned_data/interned_data.proto",
8318 ],
8319}
8320
8321// GN: //protos/perfetto/trace/interned_data:zero
Eric Secklerc73ef062019-02-25 12:30:35 +00008322genrule {
Colin Cross84172332021-09-14 16:41:33 -07008323 name: "perfetto_protos_perfetto_trace_interned_data_zero_gen",
8324 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00008325 ":perfetto_protos_perfetto_common_zero",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00008326 ":perfetto_protos_perfetto_trace_android_winscope_common_zero",
8327 ":perfetto_protos_perfetto_trace_android_winscope_regular_zero",
Spandan Das34f1b982023-10-13 23:24:01 +00008328 ":perfetto_protos_perfetto_trace_android_zero",
Carlos Caballero856a7092024-01-15 17:27:35 +00008329 ":perfetto_protos_perfetto_trace_chrome_zero",
Spandan Das34f1b982023-10-13 23:24:01 +00008330 ":perfetto_protos_perfetto_trace_gpu_zero",
8331 ":perfetto_protos_perfetto_trace_interned_data_zero",
8332 ":perfetto_protos_perfetto_trace_profiling_zero",
8333 ":perfetto_protos_perfetto_trace_track_event_zero",
Colin Cross84172332021-09-14 16:41:33 -07008334 ],
8335 tools: [
8336 "aprotoc",
8337 "protozero_plugin",
8338 ],
Spandan Das34f1b982023-10-13 23:24:01 +00008339 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_interned_data_zero)",
Colin Cross84172332021-09-14 16:41:33 -07008340 out: [
8341 "external/perfetto/protos/perfetto/trace/interned_data/interned_data.pbzero.cc",
8342 ],
Eric Secklerc73ef062019-02-25 12:30:35 +00008343}
8344
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01008345// GN: //protos/perfetto/trace/interned_data:zero
Eric Secklerc73ef062019-02-25 12:30:35 +00008346genrule {
Colin Cross84172332021-09-14 16:41:33 -07008347 name: "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers",
8348 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00008349 ":perfetto_protos_perfetto_common_zero",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00008350 ":perfetto_protos_perfetto_trace_android_winscope_common_zero",
8351 ":perfetto_protos_perfetto_trace_android_winscope_regular_zero",
Spandan Das34f1b982023-10-13 23:24:01 +00008352 ":perfetto_protos_perfetto_trace_android_zero",
Carlos Caballero856a7092024-01-15 17:27:35 +00008353 ":perfetto_protos_perfetto_trace_chrome_zero",
Spandan Das34f1b982023-10-13 23:24:01 +00008354 ":perfetto_protos_perfetto_trace_gpu_zero",
8355 ":perfetto_protos_perfetto_trace_interned_data_zero",
8356 ":perfetto_protos_perfetto_trace_profiling_zero",
8357 ":perfetto_protos_perfetto_trace_track_event_zero",
Colin Cross84172332021-09-14 16:41:33 -07008358 ],
8359 tools: [
8360 "aprotoc",
8361 "protozero_plugin",
8362 ],
Spandan Das34f1b982023-10-13 23:24:01 +00008363 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_interned_data_zero)",
Colin Cross84172332021-09-14 16:41:33 -07008364 out: [
8365 "external/perfetto/protos/perfetto/trace/interned_data/interned_data.pbzero.h",
8366 ],
8367 export_include_dirs: [
8368 ".",
8369 "protos",
8370 ],
Eric Secklerc73ef062019-02-25 12:30:35 +00008371}
8372
Primiano Tuccife502c42019-12-11 01:00:27 +00008373// GN: //protos/perfetto/trace:minimal_cpp
Spandan Das34f1b982023-10-13 23:24:01 +00008374filegroup {
8375 name: "perfetto_protos_perfetto_trace_minimal_cpp",
Colin Cross84172332021-09-14 16:41:33 -07008376 srcs: [
8377 "protos/perfetto/trace/clock_snapshot.proto",
8378 "protos/perfetto/trace/system_info.proto",
Primiano Tucci7c327c22022-11-23 12:24:49 +00008379 "protos/perfetto/trace/trace_uuid.proto",
Colin Cross84172332021-09-14 16:41:33 -07008380 "protos/perfetto/trace/trigger.proto",
8381 ],
Spandan Das34f1b982023-10-13 23:24:01 +00008382}
8383
8384// GN: //protos/perfetto/trace:minimal_cpp
8385genrule {
8386 name: "perfetto_protos_perfetto_trace_minimal_cpp_gen",
8387 srcs: [
8388 ":perfetto_protos_perfetto_common_cpp",
8389 ":perfetto_protos_perfetto_config_android_cpp",
8390 ":perfetto_protos_perfetto_config_cpp",
8391 ":perfetto_protos_perfetto_config_ftrace_cpp",
8392 ":perfetto_protos_perfetto_config_gpu_cpp",
8393 ":perfetto_protos_perfetto_config_inode_file_cpp",
8394 ":perfetto_protos_perfetto_config_interceptors_cpp",
8395 ":perfetto_protos_perfetto_config_power_cpp",
8396 ":perfetto_protos_perfetto_config_process_stats_cpp",
8397 ":perfetto_protos_perfetto_config_profiling_cpp",
8398 ":perfetto_protos_perfetto_config_statsd_cpp",
8399 ":perfetto_protos_perfetto_config_sys_stats_cpp",
8400 ":perfetto_protos_perfetto_config_system_info_cpp",
8401 ":perfetto_protos_perfetto_config_track_event_cpp",
8402 ":perfetto_protos_perfetto_trace_minimal_cpp",
8403 ],
Colin Cross84172332021-09-14 16:41:33 -07008404 tools: [
8405 "aprotoc",
8406 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
8407 ],
Spandan Das34f1b982023-10-13 23:24:01 +00008408 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_minimal_cpp)",
Colin Cross84172332021-09-14 16:41:33 -07008409 out: [
8410 "external/perfetto/protos/perfetto/trace/clock_snapshot.gen.cc",
8411 "external/perfetto/protos/perfetto/trace/system_info.gen.cc",
Primiano Tucci7c327c22022-11-23 12:24:49 +00008412 "external/perfetto/protos/perfetto/trace/trace_uuid.gen.cc",
Colin Cross84172332021-09-14 16:41:33 -07008413 "external/perfetto/protos/perfetto/trace/trigger.gen.cc",
8414 ],
Primiano Tuccife502c42019-12-11 01:00:27 +00008415}
8416
8417// GN: //protos/perfetto/trace:minimal_cpp
8418genrule {
Colin Cross84172332021-09-14 16:41:33 -07008419 name: "perfetto_protos_perfetto_trace_minimal_cpp_gen_headers",
8420 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00008421 ":perfetto_protos_perfetto_common_cpp",
8422 ":perfetto_protos_perfetto_config_android_cpp",
8423 ":perfetto_protos_perfetto_config_cpp",
8424 ":perfetto_protos_perfetto_config_ftrace_cpp",
8425 ":perfetto_protos_perfetto_config_gpu_cpp",
8426 ":perfetto_protos_perfetto_config_inode_file_cpp",
8427 ":perfetto_protos_perfetto_config_interceptors_cpp",
8428 ":perfetto_protos_perfetto_config_power_cpp",
8429 ":perfetto_protos_perfetto_config_process_stats_cpp",
8430 ":perfetto_protos_perfetto_config_profiling_cpp",
8431 ":perfetto_protos_perfetto_config_statsd_cpp",
8432 ":perfetto_protos_perfetto_config_sys_stats_cpp",
8433 ":perfetto_protos_perfetto_config_system_info_cpp",
8434 ":perfetto_protos_perfetto_config_track_event_cpp",
8435 ":perfetto_protos_perfetto_trace_minimal_cpp",
Colin Cross84172332021-09-14 16:41:33 -07008436 ],
8437 tools: [
8438 "aprotoc",
8439 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
8440 ],
Spandan Das34f1b982023-10-13 23:24:01 +00008441 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_minimal_cpp)",
Colin Cross84172332021-09-14 16:41:33 -07008442 out: [
8443 "external/perfetto/protos/perfetto/trace/clock_snapshot.gen.h",
8444 "external/perfetto/protos/perfetto/trace/system_info.gen.h",
Primiano Tucci7c327c22022-11-23 12:24:49 +00008445 "external/perfetto/protos/perfetto/trace/trace_uuid.gen.h",
Colin Cross84172332021-09-14 16:41:33 -07008446 "external/perfetto/protos/perfetto/trace/trigger.gen.h",
8447 ],
8448 export_include_dirs: [
8449 ".",
8450 "protos",
8451 ],
Primiano Tuccife502c42019-12-11 01:00:27 +00008452}
8453
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01008454// GN: //protos/perfetto/trace:minimal_lite
Spandan Das34f1b982023-10-13 23:24:01 +00008455filegroup {
8456 name: "perfetto_protos_perfetto_trace_minimal_lite",
Colin Cross84172332021-09-14 16:41:33 -07008457 srcs: [
8458 "protos/perfetto/trace/clock_snapshot.proto",
8459 "protos/perfetto/trace/system_info.proto",
Primiano Tucci7c327c22022-11-23 12:24:49 +00008460 "protos/perfetto/trace/trace_uuid.proto",
Colin Cross84172332021-09-14 16:41:33 -07008461 "protos/perfetto/trace/trigger.proto",
8462 ],
Spandan Das34f1b982023-10-13 23:24:01 +00008463}
8464
8465// GN: //protos/perfetto/trace:minimal_lite
8466genrule {
8467 name: "perfetto_protos_perfetto_trace_minimal_lite_gen",
8468 srcs: [
8469 ":perfetto_protos_perfetto_common_lite",
8470 ":perfetto_protos_perfetto_config_android_lite",
8471 ":perfetto_protos_perfetto_config_ftrace_lite",
8472 ":perfetto_protos_perfetto_config_gpu_lite",
8473 ":perfetto_protos_perfetto_config_inode_file_lite",
8474 ":perfetto_protos_perfetto_config_interceptors_lite",
8475 ":perfetto_protos_perfetto_config_lite",
8476 ":perfetto_protos_perfetto_config_power_lite",
8477 ":perfetto_protos_perfetto_config_process_stats_lite",
8478 ":perfetto_protos_perfetto_config_profiling_lite",
8479 ":perfetto_protos_perfetto_config_statsd_lite",
8480 ":perfetto_protos_perfetto_config_sys_stats_lite",
8481 ":perfetto_protos_perfetto_config_system_info_lite",
8482 ":perfetto_protos_perfetto_config_track_event_lite",
8483 ":perfetto_protos_perfetto_trace_minimal_lite",
8484 ],
Colin Cross84172332021-09-14 16:41:33 -07008485 tools: [
8486 "aprotoc",
8487 ],
Spandan Das34f1b982023-10-13 23:24:01 +00008488 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_minimal_lite)",
Colin Cross84172332021-09-14 16:41:33 -07008489 out: [
8490 "external/perfetto/protos/perfetto/trace/clock_snapshot.pb.cc",
8491 "external/perfetto/protos/perfetto/trace/system_info.pb.cc",
Primiano Tucci7c327c22022-11-23 12:24:49 +00008492 "external/perfetto/protos/perfetto/trace/trace_uuid.pb.cc",
Colin Cross84172332021-09-14 16:41:33 -07008493 "external/perfetto/protos/perfetto/trace/trigger.pb.cc",
8494 ],
Primiano Tucci20b760c2018-01-19 12:36:12 +00008495}
8496
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01008497// GN: //protos/perfetto/trace:minimal_lite
Primiano Tucci20b760c2018-01-19 12:36:12 +00008498genrule {
Colin Cross84172332021-09-14 16:41:33 -07008499 name: "perfetto_protos_perfetto_trace_minimal_lite_gen_headers",
8500 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00008501 ":perfetto_protos_perfetto_common_lite",
8502 ":perfetto_protos_perfetto_config_android_lite",
8503 ":perfetto_protos_perfetto_config_ftrace_lite",
8504 ":perfetto_protos_perfetto_config_gpu_lite",
8505 ":perfetto_protos_perfetto_config_inode_file_lite",
8506 ":perfetto_protos_perfetto_config_interceptors_lite",
8507 ":perfetto_protos_perfetto_config_lite",
8508 ":perfetto_protos_perfetto_config_power_lite",
8509 ":perfetto_protos_perfetto_config_process_stats_lite",
8510 ":perfetto_protos_perfetto_config_profiling_lite",
8511 ":perfetto_protos_perfetto_config_statsd_lite",
8512 ":perfetto_protos_perfetto_config_sys_stats_lite",
8513 ":perfetto_protos_perfetto_config_system_info_lite",
8514 ":perfetto_protos_perfetto_config_track_event_lite",
8515 ":perfetto_protos_perfetto_trace_minimal_lite",
Colin Cross84172332021-09-14 16:41:33 -07008516 ],
8517 tools: [
8518 "aprotoc",
8519 ],
Spandan Das34f1b982023-10-13 23:24:01 +00008520 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_minimal_lite)",
Colin Cross84172332021-09-14 16:41:33 -07008521 out: [
8522 "external/perfetto/protos/perfetto/trace/clock_snapshot.pb.h",
8523 "external/perfetto/protos/perfetto/trace/system_info.pb.h",
Primiano Tucci7c327c22022-11-23 12:24:49 +00008524 "external/perfetto/protos/perfetto/trace/trace_uuid.pb.h",
Colin Cross84172332021-09-14 16:41:33 -07008525 "external/perfetto/protos/perfetto/trace/trigger.pb.h",
8526 ],
8527 export_include_dirs: [
8528 ".",
8529 "protos",
8530 ],
Primiano Tucci20b760c2018-01-19 12:36:12 +00008531}
8532
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01008533// GN: //protos/perfetto/trace:minimal_zero
Spandan Das34f1b982023-10-13 23:24:01 +00008534filegroup {
8535 name: "perfetto_protos_perfetto_trace_minimal_zero",
Colin Cross84172332021-09-14 16:41:33 -07008536 srcs: [
8537 "protos/perfetto/trace/clock_snapshot.proto",
8538 "protos/perfetto/trace/system_info.proto",
Primiano Tucci7c327c22022-11-23 12:24:49 +00008539 "protos/perfetto/trace/trace_uuid.proto",
Colin Cross84172332021-09-14 16:41:33 -07008540 "protos/perfetto/trace/trigger.proto",
8541 ],
Spandan Das34f1b982023-10-13 23:24:01 +00008542}
8543
8544// GN: //protos/perfetto/trace:minimal_zero
8545genrule {
8546 name: "perfetto_protos_perfetto_trace_minimal_zero_gen",
8547 srcs: [
8548 ":perfetto_protos_perfetto_common_zero",
8549 ":perfetto_protos_perfetto_config_android_zero",
8550 ":perfetto_protos_perfetto_config_ftrace_zero",
8551 ":perfetto_protos_perfetto_config_gpu_zero",
8552 ":perfetto_protos_perfetto_config_inode_file_zero",
8553 ":perfetto_protos_perfetto_config_interceptors_zero",
8554 ":perfetto_protos_perfetto_config_power_zero",
8555 ":perfetto_protos_perfetto_config_process_stats_zero",
8556 ":perfetto_protos_perfetto_config_profiling_zero",
8557 ":perfetto_protos_perfetto_config_statsd_zero",
8558 ":perfetto_protos_perfetto_config_sys_stats_zero",
8559 ":perfetto_protos_perfetto_config_system_info_zero",
8560 ":perfetto_protos_perfetto_config_track_event_zero",
8561 ":perfetto_protos_perfetto_config_zero",
8562 ":perfetto_protos_perfetto_trace_minimal_zero",
8563 ],
Colin Cross84172332021-09-14 16:41:33 -07008564 tools: [
8565 "aprotoc",
8566 "protozero_plugin",
8567 ],
Spandan Das34f1b982023-10-13 23:24:01 +00008568 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_minimal_zero)",
Colin Cross84172332021-09-14 16:41:33 -07008569 out: [
8570 "external/perfetto/protos/perfetto/trace/clock_snapshot.pbzero.cc",
8571 "external/perfetto/protos/perfetto/trace/system_info.pbzero.cc",
Primiano Tucci7c327c22022-11-23 12:24:49 +00008572 "external/perfetto/protos/perfetto/trace/trace_uuid.pbzero.cc",
Colin Cross84172332021-09-14 16:41:33 -07008573 "external/perfetto/protos/perfetto/trace/trigger.pbzero.cc",
8574 ],
Primiano Tucci75ae50e2019-08-28 13:09:55 +02008575}
8576
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01008577// GN: //protos/perfetto/trace:minimal_zero
Primiano Tucci75ae50e2019-08-28 13:09:55 +02008578genrule {
Colin Cross84172332021-09-14 16:41:33 -07008579 name: "perfetto_protos_perfetto_trace_minimal_zero_gen_headers",
8580 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00008581 ":perfetto_protos_perfetto_common_zero",
8582 ":perfetto_protos_perfetto_config_android_zero",
8583 ":perfetto_protos_perfetto_config_ftrace_zero",
8584 ":perfetto_protos_perfetto_config_gpu_zero",
8585 ":perfetto_protos_perfetto_config_inode_file_zero",
8586 ":perfetto_protos_perfetto_config_interceptors_zero",
8587 ":perfetto_protos_perfetto_config_power_zero",
8588 ":perfetto_protos_perfetto_config_process_stats_zero",
8589 ":perfetto_protos_perfetto_config_profiling_zero",
8590 ":perfetto_protos_perfetto_config_statsd_zero",
8591 ":perfetto_protos_perfetto_config_sys_stats_zero",
8592 ":perfetto_protos_perfetto_config_system_info_zero",
8593 ":perfetto_protos_perfetto_config_track_event_zero",
8594 ":perfetto_protos_perfetto_config_zero",
8595 ":perfetto_protos_perfetto_trace_minimal_zero",
Colin Cross84172332021-09-14 16:41:33 -07008596 ],
8597 tools: [
8598 "aprotoc",
8599 "protozero_plugin",
8600 ],
Spandan Das34f1b982023-10-13 23:24:01 +00008601 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_minimal_zero)",
Colin Cross84172332021-09-14 16:41:33 -07008602 out: [
8603 "external/perfetto/protos/perfetto/trace/clock_snapshot.pbzero.h",
8604 "external/perfetto/protos/perfetto/trace/system_info.pbzero.h",
Primiano Tucci7c327c22022-11-23 12:24:49 +00008605 "external/perfetto/protos/perfetto/trace/trace_uuid.pbzero.h",
Colin Cross84172332021-09-14 16:41:33 -07008606 "external/perfetto/protos/perfetto/trace/trigger.pbzero.h",
8607 ],
8608 export_include_dirs: [
8609 ".",
8610 "protos",
8611 ],
Primiano Tucci75ae50e2019-08-28 13:09:55 +02008612}
8613
Primiano Tuccife502c42019-12-11 01:00:27 +00008614// GN: //protos/perfetto/trace:non_minimal_cpp
Spandan Das34f1b982023-10-13 23:24:01 +00008615filegroup {
8616 name: "perfetto_protos_perfetto_trace_non_minimal_cpp",
Colin Cross84172332021-09-14 16:41:33 -07008617 srcs: [
8618 "protos/perfetto/trace/extension_descriptor.proto",
8619 "protos/perfetto/trace/memory_graph.proto",
Chinglin Yu76788d22024-02-21 15:49:43 +08008620 "protos/perfetto/trace/remote_clock_sync.proto",
Colin Cross84172332021-09-14 16:41:33 -07008621 "protos/perfetto/trace/test_event.proto",
8622 "protos/perfetto/trace/test_extensions.proto",
8623 "protos/perfetto/trace/trace.proto",
8624 "protos/perfetto/trace/trace_packet.proto",
8625 "protos/perfetto/trace/trace_packet_defaults.proto",
8626 "protos/perfetto/trace/ui_state.proto",
8627 ],
Spandan Das34f1b982023-10-13 23:24:01 +00008628}
8629
8630// GN: //protos/perfetto/trace:non_minimal_cpp
8631genrule {
8632 name: "perfetto_protos_perfetto_trace_non_minimal_cpp_gen",
8633 srcs: [
8634 ":perfetto_protos_perfetto_common_cpp",
8635 ":perfetto_protos_perfetto_config_android_cpp",
8636 ":perfetto_protos_perfetto_config_cpp",
8637 ":perfetto_protos_perfetto_config_ftrace_cpp",
8638 ":perfetto_protos_perfetto_config_gpu_cpp",
8639 ":perfetto_protos_perfetto_config_inode_file_cpp",
8640 ":perfetto_protos_perfetto_config_interceptors_cpp",
8641 ":perfetto_protos_perfetto_config_power_cpp",
8642 ":perfetto_protos_perfetto_config_process_stats_cpp",
8643 ":perfetto_protos_perfetto_config_profiling_cpp",
8644 ":perfetto_protos_perfetto_config_statsd_cpp",
8645 ":perfetto_protos_perfetto_config_sys_stats_cpp",
8646 ":perfetto_protos_perfetto_config_system_info_cpp",
8647 ":perfetto_protos_perfetto_config_track_event_cpp",
8648 ":perfetto_protos_perfetto_trace_android_cpp",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00008649 ":perfetto_protos_perfetto_trace_android_winscope_common_cpp",
8650 ":perfetto_protos_perfetto_trace_android_winscope_regular_cpp",
Spandan Das34f1b982023-10-13 23:24:01 +00008651 ":perfetto_protos_perfetto_trace_chrome_cpp",
8652 ":perfetto_protos_perfetto_trace_etw_cpp",
8653 ":perfetto_protos_perfetto_trace_filesystem_cpp",
8654 ":perfetto_protos_perfetto_trace_ftrace_cpp",
8655 ":perfetto_protos_perfetto_trace_gpu_cpp",
8656 ":perfetto_protos_perfetto_trace_interned_data_cpp",
8657 ":perfetto_protos_perfetto_trace_minimal_cpp",
8658 ":perfetto_protos_perfetto_trace_non_minimal_cpp",
8659 ":perfetto_protos_perfetto_trace_perfetto_cpp",
8660 ":perfetto_protos_perfetto_trace_power_cpp",
8661 ":perfetto_protos_perfetto_trace_profiling_cpp",
8662 ":perfetto_protos_perfetto_trace_ps_cpp",
8663 ":perfetto_protos_perfetto_trace_statsd_cpp",
8664 ":perfetto_protos_perfetto_trace_sys_stats_cpp",
8665 ":perfetto_protos_perfetto_trace_system_info_cpp",
8666 ":perfetto_protos_perfetto_trace_track_event_cpp",
8667 ":perfetto_protos_perfetto_trace_translation_cpp",
8668 ],
Colin Cross84172332021-09-14 16:41:33 -07008669 tools: [
8670 "aprotoc",
8671 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
8672 ],
Spandan Das34f1b982023-10-13 23:24:01 +00008673 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_non_minimal_cpp)",
Colin Cross84172332021-09-14 16:41:33 -07008674 out: [
8675 "external/perfetto/protos/perfetto/trace/extension_descriptor.gen.cc",
8676 "external/perfetto/protos/perfetto/trace/memory_graph.gen.cc",
Chinglin Yu76788d22024-02-21 15:49:43 +08008677 "external/perfetto/protos/perfetto/trace/remote_clock_sync.gen.cc",
Colin Cross84172332021-09-14 16:41:33 -07008678 "external/perfetto/protos/perfetto/trace/test_event.gen.cc",
8679 "external/perfetto/protos/perfetto/trace/test_extensions.gen.cc",
8680 "external/perfetto/protos/perfetto/trace/trace.gen.cc",
8681 "external/perfetto/protos/perfetto/trace/trace_packet.gen.cc",
8682 "external/perfetto/protos/perfetto/trace/trace_packet_defaults.gen.cc",
8683 "external/perfetto/protos/perfetto/trace/ui_state.gen.cc",
8684 ],
Primiano Tuccife502c42019-12-11 01:00:27 +00008685}
8686
8687// GN: //protos/perfetto/trace:non_minimal_cpp
8688genrule {
Colin Cross84172332021-09-14 16:41:33 -07008689 name: "perfetto_protos_perfetto_trace_non_minimal_cpp_gen_headers",
8690 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00008691 ":perfetto_protos_perfetto_common_cpp",
8692 ":perfetto_protos_perfetto_config_android_cpp",
8693 ":perfetto_protos_perfetto_config_cpp",
8694 ":perfetto_protos_perfetto_config_ftrace_cpp",
8695 ":perfetto_protos_perfetto_config_gpu_cpp",
8696 ":perfetto_protos_perfetto_config_inode_file_cpp",
8697 ":perfetto_protos_perfetto_config_interceptors_cpp",
8698 ":perfetto_protos_perfetto_config_power_cpp",
8699 ":perfetto_protos_perfetto_config_process_stats_cpp",
8700 ":perfetto_protos_perfetto_config_profiling_cpp",
8701 ":perfetto_protos_perfetto_config_statsd_cpp",
8702 ":perfetto_protos_perfetto_config_sys_stats_cpp",
8703 ":perfetto_protos_perfetto_config_system_info_cpp",
8704 ":perfetto_protos_perfetto_config_track_event_cpp",
8705 ":perfetto_protos_perfetto_trace_android_cpp",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00008706 ":perfetto_protos_perfetto_trace_android_winscope_common_cpp",
8707 ":perfetto_protos_perfetto_trace_android_winscope_regular_cpp",
Spandan Das34f1b982023-10-13 23:24:01 +00008708 ":perfetto_protos_perfetto_trace_chrome_cpp",
8709 ":perfetto_protos_perfetto_trace_etw_cpp",
8710 ":perfetto_protos_perfetto_trace_filesystem_cpp",
8711 ":perfetto_protos_perfetto_trace_ftrace_cpp",
8712 ":perfetto_protos_perfetto_trace_gpu_cpp",
8713 ":perfetto_protos_perfetto_trace_interned_data_cpp",
8714 ":perfetto_protos_perfetto_trace_minimal_cpp",
8715 ":perfetto_protos_perfetto_trace_non_minimal_cpp",
8716 ":perfetto_protos_perfetto_trace_perfetto_cpp",
8717 ":perfetto_protos_perfetto_trace_power_cpp",
8718 ":perfetto_protos_perfetto_trace_profiling_cpp",
8719 ":perfetto_protos_perfetto_trace_ps_cpp",
8720 ":perfetto_protos_perfetto_trace_statsd_cpp",
8721 ":perfetto_protos_perfetto_trace_sys_stats_cpp",
8722 ":perfetto_protos_perfetto_trace_system_info_cpp",
8723 ":perfetto_protos_perfetto_trace_track_event_cpp",
8724 ":perfetto_protos_perfetto_trace_translation_cpp",
Colin Cross84172332021-09-14 16:41:33 -07008725 ],
8726 tools: [
8727 "aprotoc",
8728 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
8729 ],
Spandan Das34f1b982023-10-13 23:24:01 +00008730 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_non_minimal_cpp)",
Colin Cross84172332021-09-14 16:41:33 -07008731 out: [
8732 "external/perfetto/protos/perfetto/trace/extension_descriptor.gen.h",
8733 "external/perfetto/protos/perfetto/trace/memory_graph.gen.h",
Chinglin Yu76788d22024-02-21 15:49:43 +08008734 "external/perfetto/protos/perfetto/trace/remote_clock_sync.gen.h",
Colin Cross84172332021-09-14 16:41:33 -07008735 "external/perfetto/protos/perfetto/trace/test_event.gen.h",
8736 "external/perfetto/protos/perfetto/trace/test_extensions.gen.h",
8737 "external/perfetto/protos/perfetto/trace/trace.gen.h",
8738 "external/perfetto/protos/perfetto/trace/trace_packet.gen.h",
8739 "external/perfetto/protos/perfetto/trace/trace_packet_defaults.gen.h",
8740 "external/perfetto/protos/perfetto/trace/ui_state.gen.h",
8741 ],
8742 export_include_dirs: [
8743 ".",
8744 "protos",
8745 ],
Primiano Tuccife502c42019-12-11 01:00:27 +00008746}
8747
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01008748// GN: //protos/perfetto/trace:non_minimal_lite
Spandan Das34f1b982023-10-13 23:24:01 +00008749filegroup {
8750 name: "perfetto_protos_perfetto_trace_non_minimal_lite",
Colin Cross84172332021-09-14 16:41:33 -07008751 srcs: [
8752 "protos/perfetto/trace/extension_descriptor.proto",
8753 "protos/perfetto/trace/memory_graph.proto",
Chinglin Yu76788d22024-02-21 15:49:43 +08008754 "protos/perfetto/trace/remote_clock_sync.proto",
Colin Cross84172332021-09-14 16:41:33 -07008755 "protos/perfetto/trace/test_event.proto",
8756 "protos/perfetto/trace/test_extensions.proto",
8757 "protos/perfetto/trace/trace.proto",
8758 "protos/perfetto/trace/trace_packet.proto",
8759 "protos/perfetto/trace/trace_packet_defaults.proto",
8760 "protos/perfetto/trace/ui_state.proto",
8761 ],
Spandan Das34f1b982023-10-13 23:24:01 +00008762}
8763
8764// GN: //protos/perfetto/trace:non_minimal_lite
8765genrule {
8766 name: "perfetto_protos_perfetto_trace_non_minimal_lite_gen",
8767 srcs: [
8768 ":perfetto_protos_perfetto_common_lite",
8769 ":perfetto_protos_perfetto_config_android_lite",
8770 ":perfetto_protos_perfetto_config_ftrace_lite",
8771 ":perfetto_protos_perfetto_config_gpu_lite",
8772 ":perfetto_protos_perfetto_config_inode_file_lite",
8773 ":perfetto_protos_perfetto_config_interceptors_lite",
8774 ":perfetto_protos_perfetto_config_lite",
8775 ":perfetto_protos_perfetto_config_power_lite",
8776 ":perfetto_protos_perfetto_config_process_stats_lite",
8777 ":perfetto_protos_perfetto_config_profiling_lite",
8778 ":perfetto_protos_perfetto_config_statsd_lite",
8779 ":perfetto_protos_perfetto_config_sys_stats_lite",
8780 ":perfetto_protos_perfetto_config_system_info_lite",
8781 ":perfetto_protos_perfetto_config_track_event_lite",
8782 ":perfetto_protos_perfetto_trace_android_lite",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00008783 ":perfetto_protos_perfetto_trace_android_winscope_common_lite",
8784 ":perfetto_protos_perfetto_trace_android_winscope_regular_lite",
Spandan Das34f1b982023-10-13 23:24:01 +00008785 ":perfetto_protos_perfetto_trace_chrome_lite",
8786 ":perfetto_protos_perfetto_trace_etw_lite",
8787 ":perfetto_protos_perfetto_trace_filesystem_lite",
8788 ":perfetto_protos_perfetto_trace_ftrace_lite",
8789 ":perfetto_protos_perfetto_trace_gpu_lite",
8790 ":perfetto_protos_perfetto_trace_interned_data_lite",
8791 ":perfetto_protos_perfetto_trace_minimal_lite",
8792 ":perfetto_protos_perfetto_trace_non_minimal_lite",
8793 ":perfetto_protos_perfetto_trace_perfetto_lite",
8794 ":perfetto_protos_perfetto_trace_power_lite",
8795 ":perfetto_protos_perfetto_trace_profiling_lite",
8796 ":perfetto_protos_perfetto_trace_ps_lite",
8797 ":perfetto_protos_perfetto_trace_statsd_lite",
8798 ":perfetto_protos_perfetto_trace_sys_stats_lite",
8799 ":perfetto_protos_perfetto_trace_system_info_lite",
8800 ":perfetto_protos_perfetto_trace_track_event_lite",
8801 ":perfetto_protos_perfetto_trace_translation_lite",
8802 ],
Colin Cross84172332021-09-14 16:41:33 -07008803 tools: [
8804 "aprotoc",
8805 ],
Spandan Das34f1b982023-10-13 23:24:01 +00008806 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_non_minimal_lite)",
Colin Cross84172332021-09-14 16:41:33 -07008807 out: [
8808 "external/perfetto/protos/perfetto/trace/extension_descriptor.pb.cc",
8809 "external/perfetto/protos/perfetto/trace/memory_graph.pb.cc",
Chinglin Yu76788d22024-02-21 15:49:43 +08008810 "external/perfetto/protos/perfetto/trace/remote_clock_sync.pb.cc",
Colin Cross84172332021-09-14 16:41:33 -07008811 "external/perfetto/protos/perfetto/trace/test_event.pb.cc",
8812 "external/perfetto/protos/perfetto/trace/test_extensions.pb.cc",
8813 "external/perfetto/protos/perfetto/trace/trace.pb.cc",
8814 "external/perfetto/protos/perfetto/trace/trace_packet.pb.cc",
8815 "external/perfetto/protos/perfetto/trace/trace_packet_defaults.pb.cc",
8816 "external/perfetto/protos/perfetto/trace/ui_state.pb.cc",
8817 ],
Primiano Tucci75ae50e2019-08-28 13:09:55 +02008818}
8819
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01008820// GN: //protos/perfetto/trace:non_minimal_lite
Primiano Tucci75ae50e2019-08-28 13:09:55 +02008821genrule {
Colin Cross84172332021-09-14 16:41:33 -07008822 name: "perfetto_protos_perfetto_trace_non_minimal_lite_gen_headers",
8823 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00008824 ":perfetto_protos_perfetto_common_lite",
8825 ":perfetto_protos_perfetto_config_android_lite",
8826 ":perfetto_protos_perfetto_config_ftrace_lite",
8827 ":perfetto_protos_perfetto_config_gpu_lite",
8828 ":perfetto_protos_perfetto_config_inode_file_lite",
8829 ":perfetto_protos_perfetto_config_interceptors_lite",
8830 ":perfetto_protos_perfetto_config_lite",
8831 ":perfetto_protos_perfetto_config_power_lite",
8832 ":perfetto_protos_perfetto_config_process_stats_lite",
8833 ":perfetto_protos_perfetto_config_profiling_lite",
8834 ":perfetto_protos_perfetto_config_statsd_lite",
8835 ":perfetto_protos_perfetto_config_sys_stats_lite",
8836 ":perfetto_protos_perfetto_config_system_info_lite",
8837 ":perfetto_protos_perfetto_config_track_event_lite",
8838 ":perfetto_protos_perfetto_trace_android_lite",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00008839 ":perfetto_protos_perfetto_trace_android_winscope_common_lite",
8840 ":perfetto_protos_perfetto_trace_android_winscope_regular_lite",
Spandan Das34f1b982023-10-13 23:24:01 +00008841 ":perfetto_protos_perfetto_trace_chrome_lite",
8842 ":perfetto_protos_perfetto_trace_etw_lite",
8843 ":perfetto_protos_perfetto_trace_filesystem_lite",
8844 ":perfetto_protos_perfetto_trace_ftrace_lite",
8845 ":perfetto_protos_perfetto_trace_gpu_lite",
8846 ":perfetto_protos_perfetto_trace_interned_data_lite",
8847 ":perfetto_protos_perfetto_trace_minimal_lite",
8848 ":perfetto_protos_perfetto_trace_non_minimal_lite",
8849 ":perfetto_protos_perfetto_trace_perfetto_lite",
8850 ":perfetto_protos_perfetto_trace_power_lite",
8851 ":perfetto_protos_perfetto_trace_profiling_lite",
8852 ":perfetto_protos_perfetto_trace_ps_lite",
8853 ":perfetto_protos_perfetto_trace_statsd_lite",
8854 ":perfetto_protos_perfetto_trace_sys_stats_lite",
8855 ":perfetto_protos_perfetto_trace_system_info_lite",
8856 ":perfetto_protos_perfetto_trace_track_event_lite",
8857 ":perfetto_protos_perfetto_trace_translation_lite",
Colin Cross84172332021-09-14 16:41:33 -07008858 ],
8859 tools: [
8860 "aprotoc",
8861 ],
Spandan Das34f1b982023-10-13 23:24:01 +00008862 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_non_minimal_lite)",
Colin Cross84172332021-09-14 16:41:33 -07008863 out: [
8864 "external/perfetto/protos/perfetto/trace/extension_descriptor.pb.h",
8865 "external/perfetto/protos/perfetto/trace/memory_graph.pb.h",
Chinglin Yu76788d22024-02-21 15:49:43 +08008866 "external/perfetto/protos/perfetto/trace/remote_clock_sync.pb.h",
Colin Cross84172332021-09-14 16:41:33 -07008867 "external/perfetto/protos/perfetto/trace/test_event.pb.h",
8868 "external/perfetto/protos/perfetto/trace/test_extensions.pb.h",
8869 "external/perfetto/protos/perfetto/trace/trace.pb.h",
8870 "external/perfetto/protos/perfetto/trace/trace_packet.pb.h",
8871 "external/perfetto/protos/perfetto/trace/trace_packet_defaults.pb.h",
8872 "external/perfetto/protos/perfetto/trace/ui_state.pb.h",
8873 ],
8874 export_include_dirs: [
8875 ".",
8876 "protos",
8877 ],
Primiano Tucci75ae50e2019-08-28 13:09:55 +02008878}
8879
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01008880// GN: //protos/perfetto/trace:non_minimal_zero
Spandan Das34f1b982023-10-13 23:24:01 +00008881filegroup {
8882 name: "perfetto_protos_perfetto_trace_non_minimal_zero",
Colin Cross84172332021-09-14 16:41:33 -07008883 srcs: [
8884 "protos/perfetto/trace/extension_descriptor.proto",
8885 "protos/perfetto/trace/memory_graph.proto",
Chinglin Yu76788d22024-02-21 15:49:43 +08008886 "protos/perfetto/trace/remote_clock_sync.proto",
Colin Cross84172332021-09-14 16:41:33 -07008887 "protos/perfetto/trace/test_event.proto",
8888 "protos/perfetto/trace/test_extensions.proto",
8889 "protos/perfetto/trace/trace.proto",
8890 "protos/perfetto/trace/trace_packet.proto",
8891 "protos/perfetto/trace/trace_packet_defaults.proto",
8892 "protos/perfetto/trace/ui_state.proto",
8893 ],
Spandan Das34f1b982023-10-13 23:24:01 +00008894}
8895
8896// GN: //protos/perfetto/trace:non_minimal_zero
8897genrule {
8898 name: "perfetto_protos_perfetto_trace_non_minimal_zero_gen",
8899 srcs: [
8900 ":perfetto_protos_perfetto_common_zero",
8901 ":perfetto_protos_perfetto_config_android_zero",
8902 ":perfetto_protos_perfetto_config_ftrace_zero",
8903 ":perfetto_protos_perfetto_config_gpu_zero",
8904 ":perfetto_protos_perfetto_config_inode_file_zero",
8905 ":perfetto_protos_perfetto_config_interceptors_zero",
8906 ":perfetto_protos_perfetto_config_power_zero",
8907 ":perfetto_protos_perfetto_config_process_stats_zero",
8908 ":perfetto_protos_perfetto_config_profiling_zero",
8909 ":perfetto_protos_perfetto_config_statsd_zero",
8910 ":perfetto_protos_perfetto_config_sys_stats_zero",
8911 ":perfetto_protos_perfetto_config_system_info_zero",
8912 ":perfetto_protos_perfetto_config_track_event_zero",
8913 ":perfetto_protos_perfetto_config_zero",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00008914 ":perfetto_protos_perfetto_trace_android_winscope_common_zero",
8915 ":perfetto_protos_perfetto_trace_android_winscope_regular_zero",
Spandan Das34f1b982023-10-13 23:24:01 +00008916 ":perfetto_protos_perfetto_trace_android_zero",
8917 ":perfetto_protos_perfetto_trace_chrome_zero",
8918 ":perfetto_protos_perfetto_trace_etw_zero",
8919 ":perfetto_protos_perfetto_trace_filesystem_zero",
8920 ":perfetto_protos_perfetto_trace_ftrace_zero",
8921 ":perfetto_protos_perfetto_trace_gpu_zero",
8922 ":perfetto_protos_perfetto_trace_interned_data_zero",
8923 ":perfetto_protos_perfetto_trace_minimal_zero",
8924 ":perfetto_protos_perfetto_trace_non_minimal_zero",
8925 ":perfetto_protos_perfetto_trace_perfetto_zero",
8926 ":perfetto_protos_perfetto_trace_power_zero",
8927 ":perfetto_protos_perfetto_trace_profiling_zero",
8928 ":perfetto_protos_perfetto_trace_ps_zero",
8929 ":perfetto_protos_perfetto_trace_statsd_zero",
8930 ":perfetto_protos_perfetto_trace_sys_stats_zero",
8931 ":perfetto_protos_perfetto_trace_system_info_zero",
8932 ":perfetto_protos_perfetto_trace_track_event_zero",
8933 ":perfetto_protos_perfetto_trace_translation_zero",
8934 ],
Colin Cross84172332021-09-14 16:41:33 -07008935 tools: [
8936 "aprotoc",
8937 "protozero_plugin",
8938 ],
Spandan Das34f1b982023-10-13 23:24:01 +00008939 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_non_minimal_zero)",
Colin Cross84172332021-09-14 16:41:33 -07008940 out: [
8941 "external/perfetto/protos/perfetto/trace/extension_descriptor.pbzero.cc",
8942 "external/perfetto/protos/perfetto/trace/memory_graph.pbzero.cc",
Chinglin Yu76788d22024-02-21 15:49:43 +08008943 "external/perfetto/protos/perfetto/trace/remote_clock_sync.pbzero.cc",
Colin Cross84172332021-09-14 16:41:33 -07008944 "external/perfetto/protos/perfetto/trace/test_event.pbzero.cc",
8945 "external/perfetto/protos/perfetto/trace/test_extensions.pbzero.cc",
8946 "external/perfetto/protos/perfetto/trace/trace.pbzero.cc",
8947 "external/perfetto/protos/perfetto/trace/trace_packet.pbzero.cc",
8948 "external/perfetto/protos/perfetto/trace/trace_packet_defaults.pbzero.cc",
8949 "external/perfetto/protos/perfetto/trace/ui_state.pbzero.cc",
8950 ],
Primiano Tucci75ae50e2019-08-28 13:09:55 +02008951}
8952
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01008953// GN: //protos/perfetto/trace:non_minimal_zero
Primiano Tucci75ae50e2019-08-28 13:09:55 +02008954genrule {
Colin Cross84172332021-09-14 16:41:33 -07008955 name: "perfetto_protos_perfetto_trace_non_minimal_zero_gen_headers",
8956 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00008957 ":perfetto_protos_perfetto_common_zero",
8958 ":perfetto_protos_perfetto_config_android_zero",
8959 ":perfetto_protos_perfetto_config_ftrace_zero",
8960 ":perfetto_protos_perfetto_config_gpu_zero",
8961 ":perfetto_protos_perfetto_config_inode_file_zero",
8962 ":perfetto_protos_perfetto_config_interceptors_zero",
8963 ":perfetto_protos_perfetto_config_power_zero",
8964 ":perfetto_protos_perfetto_config_process_stats_zero",
8965 ":perfetto_protos_perfetto_config_profiling_zero",
8966 ":perfetto_protos_perfetto_config_statsd_zero",
8967 ":perfetto_protos_perfetto_config_sys_stats_zero",
8968 ":perfetto_protos_perfetto_config_system_info_zero",
8969 ":perfetto_protos_perfetto_config_track_event_zero",
8970 ":perfetto_protos_perfetto_config_zero",
Kean Mariotti4ce4f042024-05-02 07:55:57 +00008971 ":perfetto_protos_perfetto_trace_android_winscope_common_zero",
8972 ":perfetto_protos_perfetto_trace_android_winscope_regular_zero",
Spandan Das34f1b982023-10-13 23:24:01 +00008973 ":perfetto_protos_perfetto_trace_android_zero",
8974 ":perfetto_protos_perfetto_trace_chrome_zero",
8975 ":perfetto_protos_perfetto_trace_etw_zero",
8976 ":perfetto_protos_perfetto_trace_filesystem_zero",
8977 ":perfetto_protos_perfetto_trace_ftrace_zero",
8978 ":perfetto_protos_perfetto_trace_gpu_zero",
8979 ":perfetto_protos_perfetto_trace_interned_data_zero",
8980 ":perfetto_protos_perfetto_trace_minimal_zero",
8981 ":perfetto_protos_perfetto_trace_non_minimal_zero",
8982 ":perfetto_protos_perfetto_trace_perfetto_zero",
8983 ":perfetto_protos_perfetto_trace_power_zero",
8984 ":perfetto_protos_perfetto_trace_profiling_zero",
8985 ":perfetto_protos_perfetto_trace_ps_zero",
8986 ":perfetto_protos_perfetto_trace_statsd_zero",
8987 ":perfetto_protos_perfetto_trace_sys_stats_zero",
8988 ":perfetto_protos_perfetto_trace_system_info_zero",
8989 ":perfetto_protos_perfetto_trace_track_event_zero",
8990 ":perfetto_protos_perfetto_trace_translation_zero",
Colin Cross84172332021-09-14 16:41:33 -07008991 ],
8992 tools: [
8993 "aprotoc",
8994 "protozero_plugin",
8995 ],
Spandan Das34f1b982023-10-13 23:24:01 +00008996 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_non_minimal_zero)",
Colin Cross84172332021-09-14 16:41:33 -07008997 out: [
8998 "external/perfetto/protos/perfetto/trace/extension_descriptor.pbzero.h",
8999 "external/perfetto/protos/perfetto/trace/memory_graph.pbzero.h",
Chinglin Yu76788d22024-02-21 15:49:43 +08009000 "external/perfetto/protos/perfetto/trace/remote_clock_sync.pbzero.h",
Colin Cross84172332021-09-14 16:41:33 -07009001 "external/perfetto/protos/perfetto/trace/test_event.pbzero.h",
9002 "external/perfetto/protos/perfetto/trace/test_extensions.pbzero.h",
9003 "external/perfetto/protos/perfetto/trace/trace.pbzero.h",
9004 "external/perfetto/protos/perfetto/trace/trace_packet.pbzero.h",
9005 "external/perfetto/protos/perfetto/trace/trace_packet_defaults.pbzero.h",
9006 "external/perfetto/protos/perfetto/trace/ui_state.pbzero.h",
9007 ],
9008 export_include_dirs: [
9009 ".",
9010 "protos",
9011 ],
Primiano Tucci75ae50e2019-08-28 13:09:55 +02009012}
9013
Primiano Tuccife502c42019-12-11 01:00:27 +00009014// GN: //protos/perfetto/trace/perfetto:cpp
Spandan Das34f1b982023-10-13 23:24:01 +00009015filegroup {
9016 name: "perfetto_protos_perfetto_trace_perfetto_cpp",
Colin Cross84172332021-09-14 16:41:33 -07009017 srcs: [
9018 "protos/perfetto/trace/perfetto/perfetto_metatrace.proto",
9019 "protos/perfetto/trace/perfetto/tracing_service_event.proto",
9020 ],
Spandan Das34f1b982023-10-13 23:24:01 +00009021}
9022
9023// GN: //protos/perfetto/trace/perfetto:cpp
9024genrule {
9025 name: "perfetto_protos_perfetto_trace_perfetto_cpp_gen",
9026 srcs: [
9027 ":perfetto_protos_perfetto_trace_perfetto_cpp",
9028 ],
Colin Cross84172332021-09-14 16:41:33 -07009029 tools: [
9030 "aprotoc",
9031 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
9032 ],
Spandan Das34f1b982023-10-13 23:24:01 +00009033 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_perfetto_cpp)",
Colin Cross84172332021-09-14 16:41:33 -07009034 out: [
9035 "external/perfetto/protos/perfetto/trace/perfetto/perfetto_metatrace.gen.cc",
9036 "external/perfetto/protos/perfetto/trace/perfetto/tracing_service_event.gen.cc",
9037 ],
Primiano Tuccife502c42019-12-11 01:00:27 +00009038}
9039
9040// GN: //protos/perfetto/trace/perfetto:cpp
9041genrule {
Colin Cross84172332021-09-14 16:41:33 -07009042 name: "perfetto_protos_perfetto_trace_perfetto_cpp_gen_headers",
9043 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00009044 ":perfetto_protos_perfetto_trace_perfetto_cpp",
Colin Cross84172332021-09-14 16:41:33 -07009045 ],
9046 tools: [
9047 "aprotoc",
9048 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
9049 ],
Spandan Das34f1b982023-10-13 23:24:01 +00009050 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_perfetto_cpp)",
Colin Cross84172332021-09-14 16:41:33 -07009051 out: [
9052 "external/perfetto/protos/perfetto/trace/perfetto/perfetto_metatrace.gen.h",
9053 "external/perfetto/protos/perfetto/trace/perfetto/tracing_service_event.gen.h",
9054 ],
9055 export_include_dirs: [
9056 ".",
9057 "protos",
9058 ],
Primiano Tuccife502c42019-12-11 01:00:27 +00009059}
9060
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01009061// GN: //protos/perfetto/trace/perfetto:lite
Spandan Das34f1b982023-10-13 23:24:01 +00009062filegroup {
9063 name: "perfetto_protos_perfetto_trace_perfetto_lite",
Colin Cross84172332021-09-14 16:41:33 -07009064 srcs: [
9065 "protos/perfetto/trace/perfetto/perfetto_metatrace.proto",
9066 "protos/perfetto/trace/perfetto/tracing_service_event.proto",
9067 ],
Spandan Das34f1b982023-10-13 23:24:01 +00009068}
9069
9070// GN: //protos/perfetto/trace/perfetto:lite
9071genrule {
9072 name: "perfetto_protos_perfetto_trace_perfetto_lite_gen",
9073 srcs: [
9074 ":perfetto_protos_perfetto_trace_perfetto_lite",
9075 ],
Colin Cross84172332021-09-14 16:41:33 -07009076 tools: [
9077 "aprotoc",
9078 ],
Spandan Das34f1b982023-10-13 23:24:01 +00009079 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_perfetto_lite)",
Colin Cross84172332021-09-14 16:41:33 -07009080 out: [
9081 "external/perfetto/protos/perfetto/trace/perfetto/perfetto_metatrace.pb.cc",
9082 "external/perfetto/protos/perfetto/trace/perfetto/tracing_service_event.pb.cc",
9083 ],
Primiano Tuccib02d8dc2019-06-04 11:46:43 +01009084}
9085
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01009086// GN: //protos/perfetto/trace/perfetto:lite
Primiano Tuccib02d8dc2019-06-04 11:46:43 +01009087genrule {
Colin Cross84172332021-09-14 16:41:33 -07009088 name: "perfetto_protos_perfetto_trace_perfetto_lite_gen_headers",
9089 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00009090 ":perfetto_protos_perfetto_trace_perfetto_lite",
Colin Cross84172332021-09-14 16:41:33 -07009091 ],
9092 tools: [
9093 "aprotoc",
9094 ],
Spandan Das34f1b982023-10-13 23:24:01 +00009095 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_perfetto_lite)",
Colin Cross84172332021-09-14 16:41:33 -07009096 out: [
9097 "external/perfetto/protos/perfetto/trace/perfetto/perfetto_metatrace.pb.h",
9098 "external/perfetto/protos/perfetto/trace/perfetto/tracing_service_event.pb.h",
9099 ],
9100 export_include_dirs: [
9101 ".",
9102 "protos",
9103 ],
Primiano Tuccib02d8dc2019-06-04 11:46:43 +01009104}
9105
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01009106// GN: //protos/perfetto/trace/perfetto:zero
Spandan Das34f1b982023-10-13 23:24:01 +00009107filegroup {
9108 name: "perfetto_protos_perfetto_trace_perfetto_zero",
Colin Cross84172332021-09-14 16:41:33 -07009109 srcs: [
9110 "protos/perfetto/trace/perfetto/perfetto_metatrace.proto",
9111 "protos/perfetto/trace/perfetto/tracing_service_event.proto",
9112 ],
Spandan Das34f1b982023-10-13 23:24:01 +00009113}
9114
9115// GN: //protos/perfetto/trace/perfetto:zero
9116genrule {
9117 name: "perfetto_protos_perfetto_trace_perfetto_zero_gen",
9118 srcs: [
9119 ":perfetto_protos_perfetto_trace_perfetto_zero",
9120 ],
Colin Cross84172332021-09-14 16:41:33 -07009121 tools: [
9122 "aprotoc",
9123 "protozero_plugin",
9124 ],
Spandan Das34f1b982023-10-13 23:24:01 +00009125 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_perfetto_zero)",
Colin Cross84172332021-09-14 16:41:33 -07009126 out: [
9127 "external/perfetto/protos/perfetto/trace/perfetto/perfetto_metatrace.pbzero.cc",
9128 "external/perfetto/protos/perfetto/trace/perfetto/tracing_service_event.pbzero.cc",
9129 ],
Primiano Tuccib02d8dc2019-06-04 11:46:43 +01009130}
9131
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01009132// GN: //protos/perfetto/trace/perfetto:zero
Primiano Tuccib02d8dc2019-06-04 11:46:43 +01009133genrule {
Colin Cross84172332021-09-14 16:41:33 -07009134 name: "perfetto_protos_perfetto_trace_perfetto_zero_gen_headers",
9135 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00009136 ":perfetto_protos_perfetto_trace_perfetto_zero",
Colin Cross84172332021-09-14 16:41:33 -07009137 ],
9138 tools: [
9139 "aprotoc",
9140 "protozero_plugin",
9141 ],
Spandan Das34f1b982023-10-13 23:24:01 +00009142 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_perfetto_zero)",
Colin Cross84172332021-09-14 16:41:33 -07009143 out: [
9144 "external/perfetto/protos/perfetto/trace/perfetto/perfetto_metatrace.pbzero.h",
9145 "external/perfetto/protos/perfetto/trace/perfetto/tracing_service_event.pbzero.h",
9146 ],
9147 export_include_dirs: [
9148 ".",
9149 "protos",
9150 ],
Primiano Tuccib02d8dc2019-06-04 11:46:43 +01009151}
9152
Primiano Tuccife502c42019-12-11 01:00:27 +00009153// GN: //protos/perfetto/trace/power:cpp
Spandan Das34f1b982023-10-13 23:24:01 +00009154filegroup {
9155 name: "perfetto_protos_perfetto_trace_power_cpp",
Colin Cross84172332021-09-14 16:41:33 -07009156 srcs: [
9157 "protos/perfetto/trace/power/android_energy_estimation_breakdown.proto",
Simon MacMullen1777bde2023-02-17 14:54:01 +00009158 "protos/perfetto/trace/power/android_entity_state_residency.proto",
Colin Cross84172332021-09-14 16:41:33 -07009159 "protos/perfetto/trace/power/battery_counters.proto",
9160 "protos/perfetto/trace/power/power_rails.proto",
9161 ],
Spandan Das34f1b982023-10-13 23:24:01 +00009162}
9163
9164// GN: //protos/perfetto/trace/power:cpp
9165genrule {
9166 name: "perfetto_protos_perfetto_trace_power_cpp_gen",
9167 srcs: [
9168 ":perfetto_protos_perfetto_common_cpp",
9169 ":perfetto_protos_perfetto_trace_power_cpp",
9170 ],
Colin Cross84172332021-09-14 16:41:33 -07009171 tools: [
9172 "aprotoc",
9173 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
9174 ],
Spandan Das34f1b982023-10-13 23:24:01 +00009175 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_power_cpp)",
Colin Cross84172332021-09-14 16:41:33 -07009176 out: [
9177 "external/perfetto/protos/perfetto/trace/power/android_energy_estimation_breakdown.gen.cc",
Simon MacMullen1777bde2023-02-17 14:54:01 +00009178 "external/perfetto/protos/perfetto/trace/power/android_entity_state_residency.gen.cc",
Colin Cross84172332021-09-14 16:41:33 -07009179 "external/perfetto/protos/perfetto/trace/power/battery_counters.gen.cc",
9180 "external/perfetto/protos/perfetto/trace/power/power_rails.gen.cc",
9181 ],
Primiano Tuccife502c42019-12-11 01:00:27 +00009182}
9183
9184// GN: //protos/perfetto/trace/power:cpp
9185genrule {
Colin Cross84172332021-09-14 16:41:33 -07009186 name: "perfetto_protos_perfetto_trace_power_cpp_gen_headers",
9187 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00009188 ":perfetto_protos_perfetto_common_cpp",
9189 ":perfetto_protos_perfetto_trace_power_cpp",
Colin Cross84172332021-09-14 16:41:33 -07009190 ],
9191 tools: [
9192 "aprotoc",
9193 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
9194 ],
Spandan Das34f1b982023-10-13 23:24:01 +00009195 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_power_cpp)",
Colin Cross84172332021-09-14 16:41:33 -07009196 out: [
9197 "external/perfetto/protos/perfetto/trace/power/android_energy_estimation_breakdown.gen.h",
Simon MacMullen1777bde2023-02-17 14:54:01 +00009198 "external/perfetto/protos/perfetto/trace/power/android_entity_state_residency.gen.h",
Colin Cross84172332021-09-14 16:41:33 -07009199 "external/perfetto/protos/perfetto/trace/power/battery_counters.gen.h",
9200 "external/perfetto/protos/perfetto/trace/power/power_rails.gen.h",
9201 ],
9202 export_include_dirs: [
9203 ".",
9204 "protos",
9205 ],
Primiano Tuccife502c42019-12-11 01:00:27 +00009206}
9207
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01009208// GN: //protos/perfetto/trace/power:lite
Spandan Das34f1b982023-10-13 23:24:01 +00009209filegroup {
9210 name: "perfetto_protos_perfetto_trace_power_lite",
Colin Cross84172332021-09-14 16:41:33 -07009211 srcs: [
9212 "protos/perfetto/trace/power/android_energy_estimation_breakdown.proto",
Simon MacMullen1777bde2023-02-17 14:54:01 +00009213 "protos/perfetto/trace/power/android_entity_state_residency.proto",
Colin Cross84172332021-09-14 16:41:33 -07009214 "protos/perfetto/trace/power/battery_counters.proto",
9215 "protos/perfetto/trace/power/power_rails.proto",
9216 ],
Spandan Das34f1b982023-10-13 23:24:01 +00009217}
9218
9219// GN: //protos/perfetto/trace/power:lite
9220genrule {
9221 name: "perfetto_protos_perfetto_trace_power_lite_gen",
9222 srcs: [
9223 ":perfetto_protos_perfetto_common_lite",
9224 ":perfetto_protos_perfetto_trace_power_lite",
9225 ],
Colin Cross84172332021-09-14 16:41:33 -07009226 tools: [
9227 "aprotoc",
9228 ],
Spandan Das34f1b982023-10-13 23:24:01 +00009229 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_power_lite)",
Colin Cross84172332021-09-14 16:41:33 -07009230 out: [
9231 "external/perfetto/protos/perfetto/trace/power/android_energy_estimation_breakdown.pb.cc",
Simon MacMullen1777bde2023-02-17 14:54:01 +00009232 "external/perfetto/protos/perfetto/trace/power/android_entity_state_residency.pb.cc",
Colin Cross84172332021-09-14 16:41:33 -07009233 "external/perfetto/protos/perfetto/trace/power/battery_counters.pb.cc",
9234 "external/perfetto/protos/perfetto/trace/power/power_rails.pb.cc",
9235 ],
Primiano Tuccib86e9ca2018-12-03 20:20:11 +01009236}
9237
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01009238// GN: //protos/perfetto/trace/power:lite
Primiano Tuccib86e9ca2018-12-03 20:20:11 +01009239genrule {
Colin Cross84172332021-09-14 16:41:33 -07009240 name: "perfetto_protos_perfetto_trace_power_lite_gen_headers",
9241 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00009242 ":perfetto_protos_perfetto_common_lite",
9243 ":perfetto_protos_perfetto_trace_power_lite",
Colin Cross84172332021-09-14 16:41:33 -07009244 ],
9245 tools: [
9246 "aprotoc",
9247 ],
Spandan Das34f1b982023-10-13 23:24:01 +00009248 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_power_lite)",
Colin Cross84172332021-09-14 16:41:33 -07009249 out: [
9250 "external/perfetto/protos/perfetto/trace/power/android_energy_estimation_breakdown.pb.h",
Simon MacMullen1777bde2023-02-17 14:54:01 +00009251 "external/perfetto/protos/perfetto/trace/power/android_entity_state_residency.pb.h",
Colin Cross84172332021-09-14 16:41:33 -07009252 "external/perfetto/protos/perfetto/trace/power/battery_counters.pb.h",
9253 "external/perfetto/protos/perfetto/trace/power/power_rails.pb.h",
9254 ],
9255 export_include_dirs: [
9256 ".",
9257 "protos",
9258 ],
Primiano Tuccib86e9ca2018-12-03 20:20:11 +01009259}
9260
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01009261// GN: //protos/perfetto/trace/power:zero
Spandan Das34f1b982023-10-13 23:24:01 +00009262filegroup {
9263 name: "perfetto_protos_perfetto_trace_power_zero",
Colin Cross84172332021-09-14 16:41:33 -07009264 srcs: [
9265 "protos/perfetto/trace/power/android_energy_estimation_breakdown.proto",
Simon MacMullen1777bde2023-02-17 14:54:01 +00009266 "protos/perfetto/trace/power/android_entity_state_residency.proto",
Colin Cross84172332021-09-14 16:41:33 -07009267 "protos/perfetto/trace/power/battery_counters.proto",
9268 "protos/perfetto/trace/power/power_rails.proto",
9269 ],
Spandan Das34f1b982023-10-13 23:24:01 +00009270}
9271
9272// GN: //protos/perfetto/trace/power:zero
9273genrule {
9274 name: "perfetto_protos_perfetto_trace_power_zero_gen",
9275 srcs: [
9276 ":perfetto_protos_perfetto_common_zero",
9277 ":perfetto_protos_perfetto_trace_power_zero",
9278 ],
Colin Cross84172332021-09-14 16:41:33 -07009279 tools: [
9280 "aprotoc",
9281 "protozero_plugin",
9282 ],
Spandan Das34f1b982023-10-13 23:24:01 +00009283 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_power_zero)",
Colin Cross84172332021-09-14 16:41:33 -07009284 out: [
9285 "external/perfetto/protos/perfetto/trace/power/android_energy_estimation_breakdown.pbzero.cc",
Simon MacMullen1777bde2023-02-17 14:54:01 +00009286 "external/perfetto/protos/perfetto/trace/power/android_entity_state_residency.pbzero.cc",
Colin Cross84172332021-09-14 16:41:33 -07009287 "external/perfetto/protos/perfetto/trace/power/battery_counters.pbzero.cc",
9288 "external/perfetto/protos/perfetto/trace/power/power_rails.pbzero.cc",
9289 ],
Primiano Tuccib86e9ca2018-12-03 20:20:11 +01009290}
9291
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01009292// GN: //protos/perfetto/trace/power:zero
Primiano Tuccib86e9ca2018-12-03 20:20:11 +01009293genrule {
Colin Cross84172332021-09-14 16:41:33 -07009294 name: "perfetto_protos_perfetto_trace_power_zero_gen_headers",
9295 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00009296 ":perfetto_protos_perfetto_common_zero",
9297 ":perfetto_protos_perfetto_trace_power_zero",
Colin Cross84172332021-09-14 16:41:33 -07009298 ],
9299 tools: [
9300 "aprotoc",
9301 "protozero_plugin",
9302 ],
Spandan Das34f1b982023-10-13 23:24:01 +00009303 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_power_zero)",
Colin Cross84172332021-09-14 16:41:33 -07009304 out: [
9305 "external/perfetto/protos/perfetto/trace/power/android_energy_estimation_breakdown.pbzero.h",
Simon MacMullen1777bde2023-02-17 14:54:01 +00009306 "external/perfetto/protos/perfetto/trace/power/android_entity_state_residency.pbzero.h",
Colin Cross84172332021-09-14 16:41:33 -07009307 "external/perfetto/protos/perfetto/trace/power/battery_counters.pbzero.h",
9308 "external/perfetto/protos/perfetto/trace/power/power_rails.pbzero.h",
9309 ],
9310 export_include_dirs: [
9311 ".",
9312 "protos",
9313 ],
Primiano Tuccib86e9ca2018-12-03 20:20:11 +01009314}
9315
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01009316// GN: //protos/perfetto/trace_processor:metrics_impl_zero
Spandan Das34f1b982023-10-13 23:24:01 +00009317filegroup {
9318 name: "perfetto_protos_perfetto_trace_processor_metrics_impl_zero",
9319 srcs: [
9320 "protos/perfetto/trace_processor/metrics_impl.proto",
9321 ],
9322}
9323
9324// GN: //protos/perfetto/trace_processor:metrics_impl_zero
Lalit Magantie59293b2019-05-22 15:07:39 +01009325genrule {
Colin Cross84172332021-09-14 16:41:33 -07009326 name: "perfetto_protos_perfetto_trace_processor_metrics_impl_zero_gen",
9327 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00009328 ":perfetto_protos_perfetto_trace_processor_metrics_impl_zero",
Colin Cross84172332021-09-14 16:41:33 -07009329 ],
9330 tools: [
9331 "aprotoc",
9332 "protozero_plugin",
9333 ],
Spandan Das34f1b982023-10-13 23:24:01 +00009334 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_processor_metrics_impl_zero)",
Colin Cross84172332021-09-14 16:41:33 -07009335 out: [
9336 "external/perfetto/protos/perfetto/trace_processor/metrics_impl.pbzero.cc",
9337 ],
Lalit Magantie59293b2019-05-22 15:07:39 +01009338}
9339
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01009340// GN: //protos/perfetto/trace_processor:metrics_impl_zero
Lalit Magantie59293b2019-05-22 15:07:39 +01009341genrule {
Colin Cross84172332021-09-14 16:41:33 -07009342 name: "perfetto_protos_perfetto_trace_processor_metrics_impl_zero_gen_headers",
9343 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00009344 ":perfetto_protos_perfetto_trace_processor_metrics_impl_zero",
Colin Cross84172332021-09-14 16:41:33 -07009345 ],
9346 tools: [
9347 "aprotoc",
9348 "protozero_plugin",
9349 ],
Spandan Das34f1b982023-10-13 23:24:01 +00009350 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_processor_metrics_impl_zero)",
Colin Cross84172332021-09-14 16:41:33 -07009351 out: [
9352 "external/perfetto/protos/perfetto/trace_processor/metrics_impl.pbzero.h",
9353 ],
9354 export_include_dirs: [
9355 ".",
9356 "protos",
9357 ],
Lalit Magantie59293b2019-05-22 15:07:39 +01009358}
9359
Primiano Tucci4079d1d2020-06-30 11:03:38 +01009360// GN: //protos/perfetto/trace_processor:zero
Spandan Das34f1b982023-10-13 23:24:01 +00009361filegroup {
9362 name: "perfetto_protos_perfetto_trace_processor_zero",
Colin Cross84172332021-09-14 16:41:33 -07009363 srcs: [
Alexander Timinb5102912022-10-12 22:18:35 +01009364 "protos/perfetto/trace_processor/metatrace_categories.proto",
Anna Mayzner714ec892023-11-16 17:22:28 +00009365 "protos/perfetto/trace_processor/serialization.proto",
Carlos Caballero Grolimundea547992023-03-08 11:41:31 +00009366 "protos/perfetto/trace_processor/stack.proto",
Colin Cross84172332021-09-14 16:41:33 -07009367 "protos/perfetto/trace_processor/trace_processor.proto",
9368 ],
Spandan Das34f1b982023-10-13 23:24:01 +00009369}
9370
9371// GN: //protos/perfetto/trace_processor:zero
9372genrule {
9373 name: "perfetto_protos_perfetto_trace_processor_zero_gen",
9374 srcs: [
9375 ":perfetto_protos_perfetto_common_zero",
9376 ":perfetto_protos_perfetto_trace_processor_zero",
9377 ],
Colin Cross84172332021-09-14 16:41:33 -07009378 tools: [
9379 "aprotoc",
9380 "protozero_plugin",
9381 ],
Spandan Das34f1b982023-10-13 23:24:01 +00009382 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_processor_zero)",
Colin Cross84172332021-09-14 16:41:33 -07009383 out: [
Alexander Timinb5102912022-10-12 22:18:35 +01009384 "external/perfetto/protos/perfetto/trace_processor/metatrace_categories.pbzero.cc",
Anna Mayzner714ec892023-11-16 17:22:28 +00009385 "external/perfetto/protos/perfetto/trace_processor/serialization.pbzero.cc",
Carlos Caballero Grolimundea547992023-03-08 11:41:31 +00009386 "external/perfetto/protos/perfetto/trace_processor/stack.pbzero.cc",
Colin Cross84172332021-09-14 16:41:33 -07009387 "external/perfetto/protos/perfetto/trace_processor/trace_processor.pbzero.cc",
9388 ],
Primiano Tucci4079d1d2020-06-30 11:03:38 +01009389}
9390
9391// GN: //protos/perfetto/trace_processor:zero
9392genrule {
Colin Cross84172332021-09-14 16:41:33 -07009393 name: "perfetto_protos_perfetto_trace_processor_zero_gen_headers",
9394 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00009395 ":perfetto_protos_perfetto_common_zero",
9396 ":perfetto_protos_perfetto_trace_processor_zero",
Colin Cross84172332021-09-14 16:41:33 -07009397 ],
9398 tools: [
9399 "aprotoc",
9400 "protozero_plugin",
9401 ],
Spandan Das34f1b982023-10-13 23:24:01 +00009402 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_processor_zero)",
Colin Cross84172332021-09-14 16:41:33 -07009403 out: [
Alexander Timinb5102912022-10-12 22:18:35 +01009404 "external/perfetto/protos/perfetto/trace_processor/metatrace_categories.pbzero.h",
Anna Mayzner714ec892023-11-16 17:22:28 +00009405 "external/perfetto/protos/perfetto/trace_processor/serialization.pbzero.h",
Carlos Caballero Grolimundea547992023-03-08 11:41:31 +00009406 "external/perfetto/protos/perfetto/trace_processor/stack.pbzero.h",
Colin Cross84172332021-09-14 16:41:33 -07009407 "external/perfetto/protos/perfetto/trace_processor/trace_processor.pbzero.h",
9408 ],
9409 export_include_dirs: [
9410 ".",
9411 "protos",
9412 ],
Primiano Tucci4079d1d2020-06-30 11:03:38 +01009413}
9414
Primiano Tuccife502c42019-12-11 01:00:27 +00009415// GN: //protos/perfetto/trace/profiling:cpp
Spandan Das34f1b982023-10-13 23:24:01 +00009416filegroup {
9417 name: "perfetto_protos_perfetto_trace_profiling_cpp",
Colin Cross84172332021-09-14 16:41:33 -07009418 srcs: [
9419 "protos/perfetto/trace/profiling/deobfuscation.proto",
9420 "protos/perfetto/trace/profiling/heap_graph.proto",
9421 "protos/perfetto/trace/profiling/profile_common.proto",
9422 "protos/perfetto/trace/profiling/profile_packet.proto",
9423 "protos/perfetto/trace/profiling/smaps.proto",
9424 ],
Spandan Das34f1b982023-10-13 23:24:01 +00009425}
9426
9427// GN: //protos/perfetto/trace/profiling:cpp
9428genrule {
9429 name: "perfetto_protos_perfetto_trace_profiling_cpp_gen",
9430 srcs: [
9431 ":perfetto_protos_perfetto_common_cpp",
9432 ":perfetto_protos_perfetto_trace_profiling_cpp",
9433 ],
Colin Cross84172332021-09-14 16:41:33 -07009434 tools: [
9435 "aprotoc",
9436 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
9437 ],
Spandan Das34f1b982023-10-13 23:24:01 +00009438 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_profiling_cpp)",
Colin Cross84172332021-09-14 16:41:33 -07009439 out: [
9440 "external/perfetto/protos/perfetto/trace/profiling/deobfuscation.gen.cc",
9441 "external/perfetto/protos/perfetto/trace/profiling/heap_graph.gen.cc",
9442 "external/perfetto/protos/perfetto/trace/profiling/profile_common.gen.cc",
9443 "external/perfetto/protos/perfetto/trace/profiling/profile_packet.gen.cc",
9444 "external/perfetto/protos/perfetto/trace/profiling/smaps.gen.cc",
9445 ],
Primiano Tuccife502c42019-12-11 01:00:27 +00009446}
9447
9448// GN: //protos/perfetto/trace/profiling:cpp
9449genrule {
Colin Cross84172332021-09-14 16:41:33 -07009450 name: "perfetto_protos_perfetto_trace_profiling_cpp_gen_headers",
9451 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00009452 ":perfetto_protos_perfetto_common_cpp",
9453 ":perfetto_protos_perfetto_trace_profiling_cpp",
Colin Cross84172332021-09-14 16:41:33 -07009454 ],
9455 tools: [
9456 "aprotoc",
9457 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
9458 ],
Spandan Das34f1b982023-10-13 23:24:01 +00009459 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_profiling_cpp)",
Colin Cross84172332021-09-14 16:41:33 -07009460 out: [
9461 "external/perfetto/protos/perfetto/trace/profiling/deobfuscation.gen.h",
9462 "external/perfetto/protos/perfetto/trace/profiling/heap_graph.gen.h",
9463 "external/perfetto/protos/perfetto/trace/profiling/profile_common.gen.h",
9464 "external/perfetto/protos/perfetto/trace/profiling/profile_packet.gen.h",
9465 "external/perfetto/protos/perfetto/trace/profiling/smaps.gen.h",
9466 ],
9467 export_include_dirs: [
9468 ".",
9469 "protos",
9470 ],
Primiano Tuccife502c42019-12-11 01:00:27 +00009471}
9472
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01009473// GN: //protos/perfetto/trace/profiling:lite
Spandan Das34f1b982023-10-13 23:24:01 +00009474filegroup {
9475 name: "perfetto_protos_perfetto_trace_profiling_lite",
Colin Cross84172332021-09-14 16:41:33 -07009476 srcs: [
9477 "protos/perfetto/trace/profiling/deobfuscation.proto",
9478 "protos/perfetto/trace/profiling/heap_graph.proto",
9479 "protos/perfetto/trace/profiling/profile_common.proto",
9480 "protos/perfetto/trace/profiling/profile_packet.proto",
9481 "protos/perfetto/trace/profiling/smaps.proto",
9482 ],
Spandan Das34f1b982023-10-13 23:24:01 +00009483}
9484
9485// GN: //protos/perfetto/trace/profiling:lite
9486genrule {
9487 name: "perfetto_protos_perfetto_trace_profiling_lite_gen",
9488 srcs: [
9489 ":perfetto_protos_perfetto_common_lite",
9490 ":perfetto_protos_perfetto_trace_profiling_lite",
9491 ],
Colin Cross84172332021-09-14 16:41:33 -07009492 tools: [
9493 "aprotoc",
9494 ],
Spandan Das34f1b982023-10-13 23:24:01 +00009495 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_profiling_lite)",
Colin Cross84172332021-09-14 16:41:33 -07009496 out: [
9497 "external/perfetto/protos/perfetto/trace/profiling/deobfuscation.pb.cc",
9498 "external/perfetto/protos/perfetto/trace/profiling/heap_graph.pb.cc",
9499 "external/perfetto/protos/perfetto/trace/profiling/profile_common.pb.cc",
9500 "external/perfetto/protos/perfetto/trace/profiling/profile_packet.pb.cc",
9501 "external/perfetto/protos/perfetto/trace/profiling/smaps.pb.cc",
9502 ],
Florian Mayer4afdd642018-11-13 11:11:04 +00009503}
9504
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01009505// GN: //protos/perfetto/trace/profiling:lite
Florian Mayer4afdd642018-11-13 11:11:04 +00009506genrule {
Colin Cross84172332021-09-14 16:41:33 -07009507 name: "perfetto_protos_perfetto_trace_profiling_lite_gen_headers",
9508 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00009509 ":perfetto_protos_perfetto_common_lite",
9510 ":perfetto_protos_perfetto_trace_profiling_lite",
Colin Cross84172332021-09-14 16:41:33 -07009511 ],
9512 tools: [
9513 "aprotoc",
9514 ],
Spandan Das34f1b982023-10-13 23:24:01 +00009515 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_profiling_lite)",
Colin Cross84172332021-09-14 16:41:33 -07009516 out: [
9517 "external/perfetto/protos/perfetto/trace/profiling/deobfuscation.pb.h",
9518 "external/perfetto/protos/perfetto/trace/profiling/heap_graph.pb.h",
9519 "external/perfetto/protos/perfetto/trace/profiling/profile_common.pb.h",
9520 "external/perfetto/protos/perfetto/trace/profiling/profile_packet.pb.h",
9521 "external/perfetto/protos/perfetto/trace/profiling/smaps.pb.h",
9522 ],
9523 export_include_dirs: [
9524 ".",
9525 "protos",
9526 ],
Florian Mayer4afdd642018-11-13 11:11:04 +00009527}
9528
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01009529// GN: //protos/perfetto/trace/profiling:zero
Spandan Das34f1b982023-10-13 23:24:01 +00009530filegroup {
9531 name: "perfetto_protos_perfetto_trace_profiling_zero",
Colin Cross84172332021-09-14 16:41:33 -07009532 srcs: [
9533 "protos/perfetto/trace/profiling/deobfuscation.proto",
9534 "protos/perfetto/trace/profiling/heap_graph.proto",
9535 "protos/perfetto/trace/profiling/profile_common.proto",
9536 "protos/perfetto/trace/profiling/profile_packet.proto",
9537 "protos/perfetto/trace/profiling/smaps.proto",
9538 ],
Spandan Das34f1b982023-10-13 23:24:01 +00009539}
9540
9541// GN: //protos/perfetto/trace/profiling:zero
9542genrule {
9543 name: "perfetto_protos_perfetto_trace_profiling_zero_gen",
9544 srcs: [
9545 ":perfetto_protos_perfetto_common_zero",
9546 ":perfetto_protos_perfetto_trace_profiling_zero",
9547 ],
Colin Cross84172332021-09-14 16:41:33 -07009548 tools: [
9549 "aprotoc",
9550 "protozero_plugin",
9551 ],
Spandan Das34f1b982023-10-13 23:24:01 +00009552 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_profiling_zero)",
Colin Cross84172332021-09-14 16:41:33 -07009553 out: [
9554 "external/perfetto/protos/perfetto/trace/profiling/deobfuscation.pbzero.cc",
9555 "external/perfetto/protos/perfetto/trace/profiling/heap_graph.pbzero.cc",
9556 "external/perfetto/protos/perfetto/trace/profiling/profile_common.pbzero.cc",
9557 "external/perfetto/protos/perfetto/trace/profiling/profile_packet.pbzero.cc",
9558 "external/perfetto/protos/perfetto/trace/profiling/smaps.pbzero.cc",
9559 ],
Florian Mayer4afdd642018-11-13 11:11:04 +00009560}
9561
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01009562// GN: //protos/perfetto/trace/profiling:zero
Florian Mayer4afdd642018-11-13 11:11:04 +00009563genrule {
Colin Cross84172332021-09-14 16:41:33 -07009564 name: "perfetto_protos_perfetto_trace_profiling_zero_gen_headers",
9565 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00009566 ":perfetto_protos_perfetto_common_zero",
9567 ":perfetto_protos_perfetto_trace_profiling_zero",
Colin Cross84172332021-09-14 16:41:33 -07009568 ],
9569 tools: [
9570 "aprotoc",
9571 "protozero_plugin",
9572 ],
Spandan Das34f1b982023-10-13 23:24:01 +00009573 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_profiling_zero)",
Colin Cross84172332021-09-14 16:41:33 -07009574 out: [
9575 "external/perfetto/protos/perfetto/trace/profiling/deobfuscation.pbzero.h",
9576 "external/perfetto/protos/perfetto/trace/profiling/heap_graph.pbzero.h",
9577 "external/perfetto/protos/perfetto/trace/profiling/profile_common.pbzero.h",
9578 "external/perfetto/protos/perfetto/trace/profiling/profile_packet.pbzero.h",
9579 "external/perfetto/protos/perfetto/trace/profiling/smaps.pbzero.h",
9580 ],
9581 export_include_dirs: [
9582 ".",
9583 "protos",
9584 ],
Florian Mayer4afdd642018-11-13 11:11:04 +00009585}
9586
Primiano Tuccife502c42019-12-11 01:00:27 +00009587// GN: //protos/perfetto/trace/ps:cpp
Spandan Das34f1b982023-10-13 23:24:01 +00009588filegroup {
9589 name: "perfetto_protos_perfetto_trace_ps_cpp",
Colin Cross84172332021-09-14 16:41:33 -07009590 srcs: [
9591 "protos/perfetto/trace/ps/process_stats.proto",
9592 "protos/perfetto/trace/ps/process_tree.proto",
9593 ],
Spandan Das34f1b982023-10-13 23:24:01 +00009594}
9595
9596// GN: //protos/perfetto/trace/ps:cpp
9597genrule {
9598 name: "perfetto_protos_perfetto_trace_ps_cpp_gen",
9599 srcs: [
9600 ":perfetto_protos_perfetto_trace_ps_cpp",
9601 ],
Colin Cross84172332021-09-14 16:41:33 -07009602 tools: [
9603 "aprotoc",
9604 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
9605 ],
Spandan Das34f1b982023-10-13 23:24:01 +00009606 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_ps_cpp)",
Colin Cross84172332021-09-14 16:41:33 -07009607 out: [
9608 "external/perfetto/protos/perfetto/trace/ps/process_stats.gen.cc",
9609 "external/perfetto/protos/perfetto/trace/ps/process_tree.gen.cc",
9610 ],
Primiano Tuccife502c42019-12-11 01:00:27 +00009611}
9612
9613// GN: //protos/perfetto/trace/ps:cpp
9614genrule {
Colin Cross84172332021-09-14 16:41:33 -07009615 name: "perfetto_protos_perfetto_trace_ps_cpp_gen_headers",
9616 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00009617 ":perfetto_protos_perfetto_trace_ps_cpp",
Colin Cross84172332021-09-14 16:41:33 -07009618 ],
9619 tools: [
9620 "aprotoc",
9621 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
9622 ],
Spandan Das34f1b982023-10-13 23:24:01 +00009623 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_ps_cpp)",
Colin Cross84172332021-09-14 16:41:33 -07009624 out: [
9625 "external/perfetto/protos/perfetto/trace/ps/process_stats.gen.h",
9626 "external/perfetto/protos/perfetto/trace/ps/process_tree.gen.h",
9627 ],
9628 export_include_dirs: [
9629 ".",
9630 "protos",
9631 ],
Primiano Tuccife502c42019-12-11 01:00:27 +00009632}
9633
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01009634// GN: //protos/perfetto/trace/ps:lite
Spandan Das34f1b982023-10-13 23:24:01 +00009635filegroup {
9636 name: "perfetto_protos_perfetto_trace_ps_lite",
Colin Cross84172332021-09-14 16:41:33 -07009637 srcs: [
9638 "protos/perfetto/trace/ps/process_stats.proto",
9639 "protos/perfetto/trace/ps/process_tree.proto",
9640 ],
Spandan Das34f1b982023-10-13 23:24:01 +00009641}
9642
9643// GN: //protos/perfetto/trace/ps:lite
9644genrule {
9645 name: "perfetto_protos_perfetto_trace_ps_lite_gen",
9646 srcs: [
9647 ":perfetto_protos_perfetto_trace_ps_lite",
9648 ],
Colin Cross84172332021-09-14 16:41:33 -07009649 tools: [
9650 "aprotoc",
9651 ],
Spandan Das34f1b982023-10-13 23:24:01 +00009652 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_ps_lite)",
Colin Cross84172332021-09-14 16:41:33 -07009653 out: [
9654 "external/perfetto/protos/perfetto/trace/ps/process_stats.pb.cc",
9655 "external/perfetto/protos/perfetto/trace/ps/process_tree.pb.cc",
9656 ],
Lalit Maganti65b28a12018-02-14 18:27:14 +00009657}
9658
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01009659// GN: //protos/perfetto/trace/ps:lite
Lalit Maganti65b28a12018-02-14 18:27:14 +00009660genrule {
Colin Cross84172332021-09-14 16:41:33 -07009661 name: "perfetto_protos_perfetto_trace_ps_lite_gen_headers",
9662 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00009663 ":perfetto_protos_perfetto_trace_ps_lite",
Colin Cross84172332021-09-14 16:41:33 -07009664 ],
9665 tools: [
9666 "aprotoc",
9667 ],
Spandan Das34f1b982023-10-13 23:24:01 +00009668 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_ps_lite)",
Colin Cross84172332021-09-14 16:41:33 -07009669 out: [
9670 "external/perfetto/protos/perfetto/trace/ps/process_stats.pb.h",
9671 "external/perfetto/protos/perfetto/trace/ps/process_tree.pb.h",
9672 ],
9673 export_include_dirs: [
9674 ".",
9675 "protos",
9676 ],
Lalit Maganti65b28a12018-02-14 18:27:14 +00009677}
9678
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01009679// GN: //protos/perfetto/trace/ps:zero
Spandan Das34f1b982023-10-13 23:24:01 +00009680filegroup {
9681 name: "perfetto_protos_perfetto_trace_ps_zero",
Colin Cross84172332021-09-14 16:41:33 -07009682 srcs: [
9683 "protos/perfetto/trace/ps/process_stats.proto",
9684 "protos/perfetto/trace/ps/process_tree.proto",
9685 ],
Spandan Das34f1b982023-10-13 23:24:01 +00009686}
9687
9688// GN: //protos/perfetto/trace/ps:zero
9689genrule {
9690 name: "perfetto_protos_perfetto_trace_ps_zero_gen",
9691 srcs: [
9692 ":perfetto_protos_perfetto_trace_ps_zero",
9693 ],
Colin Cross84172332021-09-14 16:41:33 -07009694 tools: [
9695 "aprotoc",
9696 "protozero_plugin",
9697 ],
Spandan Das34f1b982023-10-13 23:24:01 +00009698 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_ps_zero)",
Colin Cross84172332021-09-14 16:41:33 -07009699 out: [
9700 "external/perfetto/protos/perfetto/trace/ps/process_stats.pbzero.cc",
9701 "external/perfetto/protos/perfetto/trace/ps/process_tree.pbzero.cc",
9702 ],
Lalit Maganti65b28a12018-02-14 18:27:14 +00009703}
9704
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01009705// GN: //protos/perfetto/trace/ps:zero
Lalit Maganti65b28a12018-02-14 18:27:14 +00009706genrule {
Colin Cross84172332021-09-14 16:41:33 -07009707 name: "perfetto_protos_perfetto_trace_ps_zero_gen_headers",
9708 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00009709 ":perfetto_protos_perfetto_trace_ps_zero",
Colin Cross84172332021-09-14 16:41:33 -07009710 ],
9711 tools: [
9712 "aprotoc",
9713 "protozero_plugin",
9714 ],
Spandan Das34f1b982023-10-13 23:24:01 +00009715 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_ps_zero)",
Colin Cross84172332021-09-14 16:41:33 -07009716 out: [
9717 "external/perfetto/protos/perfetto/trace/ps/process_stats.pbzero.h",
9718 "external/perfetto/protos/perfetto/trace/ps/process_tree.pbzero.h",
9719 ],
9720 export_include_dirs: [
9721 ".",
9722 "protos",
9723 ],
Lalit Maganti65b28a12018-02-14 18:27:14 +00009724}
9725
Hector Dearman5974de02022-06-23 15:31:40 +01009726// GN: //protos/perfetto/trace/statsd:cpp
Spandan Das34f1b982023-10-13 23:24:01 +00009727filegroup {
9728 name: "perfetto_protos_perfetto_trace_statsd_cpp",
9729 srcs: [
9730 "protos/perfetto/trace/statsd/statsd_atom.proto",
9731 ],
9732}
9733
9734// GN: //protos/perfetto/trace/statsd:cpp
Hector Dearman5974de02022-06-23 15:31:40 +01009735genrule {
9736 name: "perfetto_protos_perfetto_trace_statsd_cpp_gen",
9737 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00009738 ":perfetto_protos_perfetto_common_cpp",
9739 ":perfetto_protos_perfetto_trace_statsd_cpp",
Hector Dearman5974de02022-06-23 15:31:40 +01009740 ],
9741 tools: [
9742 "aprotoc",
9743 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
9744 ],
Spandan Das34f1b982023-10-13 23:24:01 +00009745 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_statsd_cpp)",
Hector Dearman5974de02022-06-23 15:31:40 +01009746 out: [
9747 "external/perfetto/protos/perfetto/trace/statsd/statsd_atom.gen.cc",
9748 ],
9749}
9750
9751// GN: //protos/perfetto/trace/statsd:cpp
9752genrule {
9753 name: "perfetto_protos_perfetto_trace_statsd_cpp_gen_headers",
9754 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00009755 ":perfetto_protos_perfetto_common_cpp",
9756 ":perfetto_protos_perfetto_trace_statsd_cpp",
Hector Dearman5974de02022-06-23 15:31:40 +01009757 ],
9758 tools: [
9759 "aprotoc",
9760 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
9761 ],
Spandan Das34f1b982023-10-13 23:24:01 +00009762 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_statsd_cpp)",
Hector Dearman5974de02022-06-23 15:31:40 +01009763 out: [
9764 "external/perfetto/protos/perfetto/trace/statsd/statsd_atom.gen.h",
9765 ],
9766 export_include_dirs: [
9767 ".",
9768 "protos",
9769 ],
9770}
9771
9772// GN: //protos/perfetto/trace/statsd:lite
Spandan Das34f1b982023-10-13 23:24:01 +00009773filegroup {
9774 name: "perfetto_protos_perfetto_trace_statsd_lite",
9775 srcs: [
9776 "protos/perfetto/trace/statsd/statsd_atom.proto",
9777 ],
9778}
9779
9780// GN: //protos/perfetto/trace/statsd:lite
Hector Dearman5974de02022-06-23 15:31:40 +01009781genrule {
9782 name: "perfetto_protos_perfetto_trace_statsd_lite_gen",
9783 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00009784 ":perfetto_protos_perfetto_common_lite",
9785 ":perfetto_protos_perfetto_trace_statsd_lite",
Hector Dearman5974de02022-06-23 15:31:40 +01009786 ],
9787 tools: [
9788 "aprotoc",
9789 ],
Spandan Das34f1b982023-10-13 23:24:01 +00009790 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_statsd_lite)",
Hector Dearman5974de02022-06-23 15:31:40 +01009791 out: [
9792 "external/perfetto/protos/perfetto/trace/statsd/statsd_atom.pb.cc",
9793 ],
9794}
9795
9796// GN: //protos/perfetto/trace/statsd:lite
9797genrule {
9798 name: "perfetto_protos_perfetto_trace_statsd_lite_gen_headers",
9799 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00009800 ":perfetto_protos_perfetto_common_lite",
9801 ":perfetto_protos_perfetto_trace_statsd_lite",
Hector Dearman5974de02022-06-23 15:31:40 +01009802 ],
9803 tools: [
9804 "aprotoc",
9805 ],
Spandan Das34f1b982023-10-13 23:24:01 +00009806 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_statsd_lite)",
Hector Dearman5974de02022-06-23 15:31:40 +01009807 out: [
9808 "external/perfetto/protos/perfetto/trace/statsd/statsd_atom.pb.h",
9809 ],
9810 export_include_dirs: [
9811 ".",
9812 "protos",
9813 ],
9814}
9815
9816// GN: //protos/perfetto/trace/statsd:zero
Spandan Das34f1b982023-10-13 23:24:01 +00009817filegroup {
9818 name: "perfetto_protos_perfetto_trace_statsd_zero",
9819 srcs: [
9820 "protos/perfetto/trace/statsd/statsd_atom.proto",
9821 ],
9822}
9823
9824// GN: //protos/perfetto/trace/statsd:zero
Hector Dearman5974de02022-06-23 15:31:40 +01009825genrule {
9826 name: "perfetto_protos_perfetto_trace_statsd_zero_gen",
9827 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00009828 ":perfetto_protos_perfetto_common_zero",
9829 ":perfetto_protos_perfetto_trace_statsd_zero",
Hector Dearman5974de02022-06-23 15:31:40 +01009830 ],
9831 tools: [
9832 "aprotoc",
9833 "protozero_plugin",
9834 ],
Spandan Das34f1b982023-10-13 23:24:01 +00009835 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_statsd_zero)",
Hector Dearman5974de02022-06-23 15:31:40 +01009836 out: [
9837 "external/perfetto/protos/perfetto/trace/statsd/statsd_atom.pbzero.cc",
9838 ],
9839}
9840
9841// GN: //protos/perfetto/trace/statsd:zero
9842genrule {
9843 name: "perfetto_protos_perfetto_trace_statsd_zero_gen_headers",
9844 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00009845 ":perfetto_protos_perfetto_common_zero",
9846 ":perfetto_protos_perfetto_trace_statsd_zero",
Hector Dearman5974de02022-06-23 15:31:40 +01009847 ],
9848 tools: [
9849 "aprotoc",
9850 "protozero_plugin",
9851 ],
Spandan Das34f1b982023-10-13 23:24:01 +00009852 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_statsd_zero)",
Hector Dearman5974de02022-06-23 15:31:40 +01009853 out: [
9854 "external/perfetto/protos/perfetto/trace/statsd/statsd_atom.pbzero.h",
9855 ],
9856 export_include_dirs: [
9857 ".",
9858 "protos",
9859 ],
9860}
9861
Primiano Tuccife502c42019-12-11 01:00:27 +00009862// GN: //protos/perfetto/trace/sys_stats:cpp
Spandan Das34f1b982023-10-13 23:24:01 +00009863filegroup {
9864 name: "perfetto_protos_perfetto_trace_sys_stats_cpp",
9865 srcs: [
9866 "protos/perfetto/trace/sys_stats/sys_stats.proto",
9867 ],
9868}
9869
9870// GN: //protos/perfetto/trace/sys_stats:cpp
Primiano Tuccife502c42019-12-11 01:00:27 +00009871genrule {
Colin Cross84172332021-09-14 16:41:33 -07009872 name: "perfetto_protos_perfetto_trace_sys_stats_cpp_gen",
9873 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00009874 ":perfetto_protos_perfetto_common_cpp",
9875 ":perfetto_protos_perfetto_trace_sys_stats_cpp",
Colin Cross84172332021-09-14 16:41:33 -07009876 ],
9877 tools: [
9878 "aprotoc",
9879 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
9880 ],
Spandan Das34f1b982023-10-13 23:24:01 +00009881 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_sys_stats_cpp)",
Colin Cross84172332021-09-14 16:41:33 -07009882 out: [
9883 "external/perfetto/protos/perfetto/trace/sys_stats/sys_stats.gen.cc",
9884 ],
Primiano Tuccife502c42019-12-11 01:00:27 +00009885}
9886
9887// GN: //protos/perfetto/trace/sys_stats:cpp
9888genrule {
Colin Cross84172332021-09-14 16:41:33 -07009889 name: "perfetto_protos_perfetto_trace_sys_stats_cpp_gen_headers",
9890 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00009891 ":perfetto_protos_perfetto_common_cpp",
9892 ":perfetto_protos_perfetto_trace_sys_stats_cpp",
Colin Cross84172332021-09-14 16:41:33 -07009893 ],
9894 tools: [
9895 "aprotoc",
9896 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
9897 ],
Spandan Das34f1b982023-10-13 23:24:01 +00009898 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_sys_stats_cpp)",
Colin Cross84172332021-09-14 16:41:33 -07009899 out: [
9900 "external/perfetto/protos/perfetto/trace/sys_stats/sys_stats.gen.h",
9901 ],
9902 export_include_dirs: [
9903 ".",
9904 "protos",
9905 ],
Primiano Tuccife502c42019-12-11 01:00:27 +00009906}
9907
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01009908// GN: //protos/perfetto/trace/sys_stats:lite
Spandan Das34f1b982023-10-13 23:24:01 +00009909filegroup {
9910 name: "perfetto_protos_perfetto_trace_sys_stats_lite",
9911 srcs: [
9912 "protos/perfetto/trace/sys_stats/sys_stats.proto",
9913 ],
9914}
9915
9916// GN: //protos/perfetto/trace/sys_stats:lite
Primiano Tucci82a8bfd2018-09-19 11:33:04 +01009917genrule {
Colin Cross84172332021-09-14 16:41:33 -07009918 name: "perfetto_protos_perfetto_trace_sys_stats_lite_gen",
9919 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00009920 ":perfetto_protos_perfetto_common_lite",
9921 ":perfetto_protos_perfetto_trace_sys_stats_lite",
Colin Cross84172332021-09-14 16:41:33 -07009922 ],
9923 tools: [
9924 "aprotoc",
9925 ],
Spandan Das34f1b982023-10-13 23:24:01 +00009926 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_sys_stats_lite)",
Colin Cross84172332021-09-14 16:41:33 -07009927 out: [
9928 "external/perfetto/protos/perfetto/trace/sys_stats/sys_stats.pb.cc",
9929 ],
Primiano Tucci82a8bfd2018-09-19 11:33:04 +01009930}
9931
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01009932// GN: //protos/perfetto/trace/sys_stats:lite
Primiano Tucci82a8bfd2018-09-19 11:33:04 +01009933genrule {
Colin Cross84172332021-09-14 16:41:33 -07009934 name: "perfetto_protos_perfetto_trace_sys_stats_lite_gen_headers",
9935 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00009936 ":perfetto_protos_perfetto_common_lite",
9937 ":perfetto_protos_perfetto_trace_sys_stats_lite",
Colin Cross84172332021-09-14 16:41:33 -07009938 ],
9939 tools: [
9940 "aprotoc",
9941 ],
Spandan Das34f1b982023-10-13 23:24:01 +00009942 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_sys_stats_lite)",
Colin Cross84172332021-09-14 16:41:33 -07009943 out: [
9944 "external/perfetto/protos/perfetto/trace/sys_stats/sys_stats.pb.h",
9945 ],
9946 export_include_dirs: [
9947 ".",
9948 "protos",
9949 ],
Primiano Tucci82a8bfd2018-09-19 11:33:04 +01009950}
9951
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01009952// GN: //protos/perfetto/trace/sys_stats:zero
Spandan Das34f1b982023-10-13 23:24:01 +00009953filegroup {
9954 name: "perfetto_protos_perfetto_trace_sys_stats_zero",
9955 srcs: [
9956 "protos/perfetto/trace/sys_stats/sys_stats.proto",
9957 ],
9958}
9959
9960// GN: //protos/perfetto/trace/sys_stats:zero
Primiano Tucci82a8bfd2018-09-19 11:33:04 +01009961genrule {
Colin Cross84172332021-09-14 16:41:33 -07009962 name: "perfetto_protos_perfetto_trace_sys_stats_zero_gen",
9963 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00009964 ":perfetto_protos_perfetto_common_zero",
9965 ":perfetto_protos_perfetto_trace_sys_stats_zero",
Colin Cross84172332021-09-14 16:41:33 -07009966 ],
9967 tools: [
9968 "aprotoc",
9969 "protozero_plugin",
9970 ],
Spandan Das34f1b982023-10-13 23:24:01 +00009971 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_sys_stats_zero)",
Colin Cross84172332021-09-14 16:41:33 -07009972 out: [
9973 "external/perfetto/protos/perfetto/trace/sys_stats/sys_stats.pbzero.cc",
9974 ],
Primiano Tucci82a8bfd2018-09-19 11:33:04 +01009975}
9976
Primiano Tuccif0d7ef82019-10-04 15:35:24 +01009977// GN: //protos/perfetto/trace/sys_stats:zero
Primiano Tucci82a8bfd2018-09-19 11:33:04 +01009978genrule {
Colin Cross84172332021-09-14 16:41:33 -07009979 name: "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers",
9980 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +00009981 ":perfetto_protos_perfetto_common_zero",
9982 ":perfetto_protos_perfetto_trace_sys_stats_zero",
Colin Cross84172332021-09-14 16:41:33 -07009983 ],
9984 tools: [
9985 "aprotoc",
9986 "protozero_plugin",
9987 ],
Spandan Das34f1b982023-10-13 23:24:01 +00009988 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_sys_stats_zero)",
Colin Cross84172332021-09-14 16:41:33 -07009989 out: [
9990 "external/perfetto/protos/perfetto/trace/sys_stats/sys_stats.pbzero.h",
9991 ],
9992 export_include_dirs: [
9993 ".",
9994 "protos",
9995 ],
Primiano Tucci82a8bfd2018-09-19 11:33:04 +01009996}
9997
Rafal Slawikb013a112020-04-03 16:12:02 +01009998// GN: //protos/perfetto/trace/system_info:cpp
Spandan Das34f1b982023-10-13 23:24:01 +00009999filegroup {
10000 name: "perfetto_protos_perfetto_trace_system_info_cpp",
10001 srcs: [
10002 "protos/perfetto/trace/system_info/cpu_info.proto",
10003 ],
10004}
10005
10006// GN: //protos/perfetto/trace/system_info:cpp
Rafal Slawikb013a112020-04-03 16:12:02 +010010007genrule {
Colin Cross84172332021-09-14 16:41:33 -070010008 name: "perfetto_protos_perfetto_trace_system_info_cpp_gen",
10009 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +000010010 ":perfetto_protos_perfetto_trace_system_info_cpp",
Colin Cross84172332021-09-14 16:41:33 -070010011 ],
10012 tools: [
10013 "aprotoc",
10014 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
10015 ],
Spandan Das34f1b982023-10-13 23:24:01 +000010016 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_system_info_cpp)",
Colin Cross84172332021-09-14 16:41:33 -070010017 out: [
10018 "external/perfetto/protos/perfetto/trace/system_info/cpu_info.gen.cc",
10019 ],
Rafal Slawikb013a112020-04-03 16:12:02 +010010020}
10021
10022// GN: //protos/perfetto/trace/system_info:cpp
10023genrule {
Colin Cross84172332021-09-14 16:41:33 -070010024 name: "perfetto_protos_perfetto_trace_system_info_cpp_gen_headers",
10025 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +000010026 ":perfetto_protos_perfetto_trace_system_info_cpp",
Colin Cross84172332021-09-14 16:41:33 -070010027 ],
10028 tools: [
10029 "aprotoc",
10030 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
10031 ],
Spandan Das34f1b982023-10-13 23:24:01 +000010032 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_system_info_cpp)",
Colin Cross84172332021-09-14 16:41:33 -070010033 out: [
10034 "external/perfetto/protos/perfetto/trace/system_info/cpu_info.gen.h",
10035 ],
10036 export_include_dirs: [
10037 ".",
10038 "protos",
10039 ],
Rafal Slawikb013a112020-04-03 16:12:02 +010010040}
10041
10042// GN: //protos/perfetto/trace/system_info:lite
Spandan Das34f1b982023-10-13 23:24:01 +000010043filegroup {
10044 name: "perfetto_protos_perfetto_trace_system_info_lite",
10045 srcs: [
10046 "protos/perfetto/trace/system_info/cpu_info.proto",
10047 ],
10048}
10049
10050// GN: //protos/perfetto/trace/system_info:lite
Rafal Slawikb013a112020-04-03 16:12:02 +010010051genrule {
Colin Cross84172332021-09-14 16:41:33 -070010052 name: "perfetto_protos_perfetto_trace_system_info_lite_gen",
10053 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +000010054 ":perfetto_protos_perfetto_trace_system_info_lite",
Colin Cross84172332021-09-14 16:41:33 -070010055 ],
10056 tools: [
10057 "aprotoc",
10058 ],
Spandan Das34f1b982023-10-13 23:24:01 +000010059 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_system_info_lite)",
Colin Cross84172332021-09-14 16:41:33 -070010060 out: [
10061 "external/perfetto/protos/perfetto/trace/system_info/cpu_info.pb.cc",
10062 ],
Rafal Slawikb013a112020-04-03 16:12:02 +010010063}
10064
10065// GN: //protos/perfetto/trace/system_info:lite
10066genrule {
Colin Cross84172332021-09-14 16:41:33 -070010067 name: "perfetto_protos_perfetto_trace_system_info_lite_gen_headers",
10068 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +000010069 ":perfetto_protos_perfetto_trace_system_info_lite",
Colin Cross84172332021-09-14 16:41:33 -070010070 ],
10071 tools: [
10072 "aprotoc",
10073 ],
Spandan Das34f1b982023-10-13 23:24:01 +000010074 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_system_info_lite)",
Colin Cross84172332021-09-14 16:41:33 -070010075 out: [
10076 "external/perfetto/protos/perfetto/trace/system_info/cpu_info.pb.h",
10077 ],
10078 export_include_dirs: [
10079 ".",
10080 "protos",
10081 ],
Rafal Slawikb013a112020-04-03 16:12:02 +010010082}
10083
10084// GN: //protos/perfetto/trace/system_info:zero
Spandan Das34f1b982023-10-13 23:24:01 +000010085filegroup {
10086 name: "perfetto_protos_perfetto_trace_system_info_zero",
10087 srcs: [
10088 "protos/perfetto/trace/system_info/cpu_info.proto",
10089 ],
10090}
10091
10092// GN: //protos/perfetto/trace/system_info:zero
Rafal Slawikb013a112020-04-03 16:12:02 +010010093genrule {
Colin Cross84172332021-09-14 16:41:33 -070010094 name: "perfetto_protos_perfetto_trace_system_info_zero_gen",
10095 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +000010096 ":perfetto_protos_perfetto_trace_system_info_zero",
Colin Cross84172332021-09-14 16:41:33 -070010097 ],
10098 tools: [
10099 "aprotoc",
10100 "protozero_plugin",
10101 ],
Spandan Das34f1b982023-10-13 23:24:01 +000010102 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_system_info_zero)",
Colin Cross84172332021-09-14 16:41:33 -070010103 out: [
10104 "external/perfetto/protos/perfetto/trace/system_info/cpu_info.pbzero.cc",
10105 ],
Rafal Slawikb013a112020-04-03 16:12:02 +010010106}
10107
10108// GN: //protos/perfetto/trace/system_info:zero
10109genrule {
Colin Cross84172332021-09-14 16:41:33 -070010110 name: "perfetto_protos_perfetto_trace_system_info_zero_gen_headers",
10111 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +000010112 ":perfetto_protos_perfetto_trace_system_info_zero",
Colin Cross84172332021-09-14 16:41:33 -070010113 ],
10114 tools: [
10115 "aprotoc",
10116 "protozero_plugin",
10117 ],
Spandan Das34f1b982023-10-13 23:24:01 +000010118 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_system_info_zero)",
Colin Cross84172332021-09-14 16:41:33 -070010119 out: [
10120 "external/perfetto/protos/perfetto/trace/system_info/cpu_info.pbzero.h",
10121 ],
10122 export_include_dirs: [
10123 ".",
10124 "protos",
10125 ],
Rafal Slawikb013a112020-04-03 16:12:02 +010010126}
10127
Primiano Tuccife502c42019-12-11 01:00:27 +000010128// GN: //protos/perfetto/trace/track_event:cpp
Spandan Das34f1b982023-10-13 23:24:01 +000010129filegroup {
10130 name: "perfetto_protos_perfetto_trace_track_event_cpp",
Colin Cross84172332021-09-14 16:41:33 -070010131 srcs: [
Igor Kraskevichebf48602022-10-25 10:28:36 +000010132 "protos/perfetto/trace/track_event/chrome_active_processes.proto",
Colin Cross84172332021-09-14 16:41:33 -070010133 "protos/perfetto/trace/track_event/chrome_application_state_info.proto",
10134 "protos/perfetto/trace/track_event/chrome_compositor_scheduler_state.proto",
10135 "protos/perfetto/trace/track_event/chrome_content_settings_event_info.proto",
10136 "protos/perfetto/trace/track_event/chrome_frame_reporter.proto",
10137 "protos/perfetto/trace/track_event/chrome_histogram_sample.proto",
10138 "protos/perfetto/trace/track_event/chrome_keyed_service.proto",
10139 "protos/perfetto/trace/track_event/chrome_latency_info.proto",
10140 "protos/perfetto/trace/track_event/chrome_legacy_ipc.proto",
10141 "protos/perfetto/trace/track_event/chrome_message_pump.proto",
10142 "protos/perfetto/trace/track_event/chrome_mojo_event_info.proto",
10143 "protos/perfetto/trace/track_event/chrome_process_descriptor.proto",
10144 "protos/perfetto/trace/track_event/chrome_renderer_scheduler_state.proto",
10145 "protos/perfetto/trace/track_event/chrome_thread_descriptor.proto",
10146 "protos/perfetto/trace/track_event/chrome_user_event.proto",
10147 "protos/perfetto/trace/track_event/chrome_window_handle_event_info.proto",
10148 "protos/perfetto/trace/track_event/counter_descriptor.proto",
10149 "protos/perfetto/trace/track_event/debug_annotation.proto",
10150 "protos/perfetto/trace/track_event/log_message.proto",
10151 "protos/perfetto/trace/track_event/process_descriptor.proto",
Igor Kraskevich49756332022-12-01 18:05:57 +000010152 "protos/perfetto/trace/track_event/range_of_interest.proto",
Kartar Singhec8171e2023-09-28 12:06:44 +010010153 "protos/perfetto/trace/track_event/screenshot.proto",
Colin Cross84172332021-09-14 16:41:33 -070010154 "protos/perfetto/trace/track_event/source_location.proto",
10155 "protos/perfetto/trace/track_event/task_execution.proto",
10156 "protos/perfetto/trace/track_event/thread_descriptor.proto",
10157 "protos/perfetto/trace/track_event/track_descriptor.proto",
10158 "protos/perfetto/trace/track_event/track_event.proto",
10159 ],
Spandan Das34f1b982023-10-13 23:24:01 +000010160}
10161
10162// GN: //protos/perfetto/trace/track_event:cpp
10163genrule {
10164 name: "perfetto_protos_perfetto_trace_track_event_cpp_gen",
10165 srcs: [
10166 ":perfetto_protos_perfetto_trace_track_event_cpp",
10167 ],
Colin Cross84172332021-09-14 16:41:33 -070010168 tools: [
10169 "aprotoc",
10170 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
10171 ],
Spandan Das34f1b982023-10-13 23:24:01 +000010172 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_track_event_cpp)",
Colin Cross84172332021-09-14 16:41:33 -070010173 out: [
Igor Kraskevichebf48602022-10-25 10:28:36 +000010174 "external/perfetto/protos/perfetto/trace/track_event/chrome_active_processes.gen.cc",
Colin Cross84172332021-09-14 16:41:33 -070010175 "external/perfetto/protos/perfetto/trace/track_event/chrome_application_state_info.gen.cc",
10176 "external/perfetto/protos/perfetto/trace/track_event/chrome_compositor_scheduler_state.gen.cc",
10177 "external/perfetto/protos/perfetto/trace/track_event/chrome_content_settings_event_info.gen.cc",
10178 "external/perfetto/protos/perfetto/trace/track_event/chrome_frame_reporter.gen.cc",
10179 "external/perfetto/protos/perfetto/trace/track_event/chrome_histogram_sample.gen.cc",
10180 "external/perfetto/protos/perfetto/trace/track_event/chrome_keyed_service.gen.cc",
10181 "external/perfetto/protos/perfetto/trace/track_event/chrome_latency_info.gen.cc",
10182 "external/perfetto/protos/perfetto/trace/track_event/chrome_legacy_ipc.gen.cc",
10183 "external/perfetto/protos/perfetto/trace/track_event/chrome_message_pump.gen.cc",
10184 "external/perfetto/protos/perfetto/trace/track_event/chrome_mojo_event_info.gen.cc",
10185 "external/perfetto/protos/perfetto/trace/track_event/chrome_process_descriptor.gen.cc",
10186 "external/perfetto/protos/perfetto/trace/track_event/chrome_renderer_scheduler_state.gen.cc",
10187 "external/perfetto/protos/perfetto/trace/track_event/chrome_thread_descriptor.gen.cc",
10188 "external/perfetto/protos/perfetto/trace/track_event/chrome_user_event.gen.cc",
10189 "external/perfetto/protos/perfetto/trace/track_event/chrome_window_handle_event_info.gen.cc",
10190 "external/perfetto/protos/perfetto/trace/track_event/counter_descriptor.gen.cc",
10191 "external/perfetto/protos/perfetto/trace/track_event/debug_annotation.gen.cc",
10192 "external/perfetto/protos/perfetto/trace/track_event/log_message.gen.cc",
10193 "external/perfetto/protos/perfetto/trace/track_event/process_descriptor.gen.cc",
Igor Kraskevich49756332022-12-01 18:05:57 +000010194 "external/perfetto/protos/perfetto/trace/track_event/range_of_interest.gen.cc",
Kartar Singhec8171e2023-09-28 12:06:44 +010010195 "external/perfetto/protos/perfetto/trace/track_event/screenshot.gen.cc",
Colin Cross84172332021-09-14 16:41:33 -070010196 "external/perfetto/protos/perfetto/trace/track_event/source_location.gen.cc",
10197 "external/perfetto/protos/perfetto/trace/track_event/task_execution.gen.cc",
10198 "external/perfetto/protos/perfetto/trace/track_event/thread_descriptor.gen.cc",
10199 "external/perfetto/protos/perfetto/trace/track_event/track_descriptor.gen.cc",
10200 "external/perfetto/protos/perfetto/trace/track_event/track_event.gen.cc",
10201 ],
Primiano Tuccife502c42019-12-11 01:00:27 +000010202}
10203
10204// GN: //protos/perfetto/trace/track_event:cpp
10205genrule {
Colin Cross84172332021-09-14 16:41:33 -070010206 name: "perfetto_protos_perfetto_trace_track_event_cpp_gen_headers",
10207 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +000010208 ":perfetto_protos_perfetto_trace_track_event_cpp",
Colin Cross84172332021-09-14 16:41:33 -070010209 ],
10210 tools: [
10211 "aprotoc",
10212 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
10213 ],
Spandan Das34f1b982023-10-13 23:24:01 +000010214 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_track_event_cpp)",
Colin Cross84172332021-09-14 16:41:33 -070010215 out: [
Igor Kraskevichebf48602022-10-25 10:28:36 +000010216 "external/perfetto/protos/perfetto/trace/track_event/chrome_active_processes.gen.h",
Colin Cross84172332021-09-14 16:41:33 -070010217 "external/perfetto/protos/perfetto/trace/track_event/chrome_application_state_info.gen.h",
10218 "external/perfetto/protos/perfetto/trace/track_event/chrome_compositor_scheduler_state.gen.h",
10219 "external/perfetto/protos/perfetto/trace/track_event/chrome_content_settings_event_info.gen.h",
10220 "external/perfetto/protos/perfetto/trace/track_event/chrome_frame_reporter.gen.h",
10221 "external/perfetto/protos/perfetto/trace/track_event/chrome_histogram_sample.gen.h",
10222 "external/perfetto/protos/perfetto/trace/track_event/chrome_keyed_service.gen.h",
10223 "external/perfetto/protos/perfetto/trace/track_event/chrome_latency_info.gen.h",
10224 "external/perfetto/protos/perfetto/trace/track_event/chrome_legacy_ipc.gen.h",
10225 "external/perfetto/protos/perfetto/trace/track_event/chrome_message_pump.gen.h",
10226 "external/perfetto/protos/perfetto/trace/track_event/chrome_mojo_event_info.gen.h",
10227 "external/perfetto/protos/perfetto/trace/track_event/chrome_process_descriptor.gen.h",
10228 "external/perfetto/protos/perfetto/trace/track_event/chrome_renderer_scheduler_state.gen.h",
10229 "external/perfetto/protos/perfetto/trace/track_event/chrome_thread_descriptor.gen.h",
10230 "external/perfetto/protos/perfetto/trace/track_event/chrome_user_event.gen.h",
10231 "external/perfetto/protos/perfetto/trace/track_event/chrome_window_handle_event_info.gen.h",
10232 "external/perfetto/protos/perfetto/trace/track_event/counter_descriptor.gen.h",
10233 "external/perfetto/protos/perfetto/trace/track_event/debug_annotation.gen.h",
10234 "external/perfetto/protos/perfetto/trace/track_event/log_message.gen.h",
10235 "external/perfetto/protos/perfetto/trace/track_event/process_descriptor.gen.h",
Igor Kraskevich49756332022-12-01 18:05:57 +000010236 "external/perfetto/protos/perfetto/trace/track_event/range_of_interest.gen.h",
Kartar Singhec8171e2023-09-28 12:06:44 +010010237 "external/perfetto/protos/perfetto/trace/track_event/screenshot.gen.h",
Colin Cross84172332021-09-14 16:41:33 -070010238 "external/perfetto/protos/perfetto/trace/track_event/source_location.gen.h",
10239 "external/perfetto/protos/perfetto/trace/track_event/task_execution.gen.h",
10240 "external/perfetto/protos/perfetto/trace/track_event/thread_descriptor.gen.h",
10241 "external/perfetto/protos/perfetto/trace/track_event/track_descriptor.gen.h",
10242 "external/perfetto/protos/perfetto/trace/track_event/track_event.gen.h",
10243 ],
10244 export_include_dirs: [
10245 ".",
10246 "protos",
10247 ],
Primiano Tuccife502c42019-12-11 01:00:27 +000010248}
10249
Lalit Magantic21a4a82022-02-15 16:08:46 +000010250// GN: //protos/perfetto/trace/track_event:descriptor
10251genrule {
10252 name: "perfetto_protos_perfetto_trace_track_event_descriptor",
10253 srcs: [
Igor Kraskevichebf48602022-10-25 10:28:36 +000010254 "protos/perfetto/trace/track_event/chrome_active_processes.proto",
Lalit Magantic21a4a82022-02-15 16:08:46 +000010255 "protos/perfetto/trace/track_event/chrome_application_state_info.proto",
10256 "protos/perfetto/trace/track_event/chrome_compositor_scheduler_state.proto",
10257 "protos/perfetto/trace/track_event/chrome_content_settings_event_info.proto",
10258 "protos/perfetto/trace/track_event/chrome_frame_reporter.proto",
10259 "protos/perfetto/trace/track_event/chrome_histogram_sample.proto",
10260 "protos/perfetto/trace/track_event/chrome_keyed_service.proto",
10261 "protos/perfetto/trace/track_event/chrome_latency_info.proto",
10262 "protos/perfetto/trace/track_event/chrome_legacy_ipc.proto",
10263 "protos/perfetto/trace/track_event/chrome_message_pump.proto",
10264 "protos/perfetto/trace/track_event/chrome_mojo_event_info.proto",
10265 "protos/perfetto/trace/track_event/chrome_process_descriptor.proto",
10266 "protos/perfetto/trace/track_event/chrome_renderer_scheduler_state.proto",
10267 "protos/perfetto/trace/track_event/chrome_thread_descriptor.proto",
10268 "protos/perfetto/trace/track_event/chrome_user_event.proto",
10269 "protos/perfetto/trace/track_event/chrome_window_handle_event_info.proto",
10270 "protos/perfetto/trace/track_event/counter_descriptor.proto",
10271 "protos/perfetto/trace/track_event/debug_annotation.proto",
10272 "protos/perfetto/trace/track_event/log_message.proto",
10273 "protos/perfetto/trace/track_event/process_descriptor.proto",
Igor Kraskevich49756332022-12-01 18:05:57 +000010274 "protos/perfetto/trace/track_event/range_of_interest.proto",
Kartar Singhec8171e2023-09-28 12:06:44 +010010275 "protos/perfetto/trace/track_event/screenshot.proto",
Lalit Magantic21a4a82022-02-15 16:08:46 +000010276 "protos/perfetto/trace/track_event/source_location.proto",
10277 "protos/perfetto/trace/track_event/task_execution.proto",
10278 "protos/perfetto/trace/track_event/thread_descriptor.proto",
10279 "protos/perfetto/trace/track_event/track_descriptor.proto",
10280 "protos/perfetto/trace/track_event/track_event.proto",
10281 ],
10282 tools: [
10283 "aprotoc",
10284 ],
10285 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --descriptor_set_out=$(out) $(in)",
10286 out: [
10287 "perfetto_protos_perfetto_trace_track_event_descriptor.bin",
10288 ],
10289}
10290
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010010291// GN: //protos/perfetto/trace/track_event:lite
Spandan Das34f1b982023-10-13 23:24:01 +000010292filegroup {
10293 name: "perfetto_protos_perfetto_trace_track_event_lite",
Colin Cross84172332021-09-14 16:41:33 -070010294 srcs: [
Igor Kraskevichebf48602022-10-25 10:28:36 +000010295 "protos/perfetto/trace/track_event/chrome_active_processes.proto",
Colin Cross84172332021-09-14 16:41:33 -070010296 "protos/perfetto/trace/track_event/chrome_application_state_info.proto",
10297 "protos/perfetto/trace/track_event/chrome_compositor_scheduler_state.proto",
10298 "protos/perfetto/trace/track_event/chrome_content_settings_event_info.proto",
10299 "protos/perfetto/trace/track_event/chrome_frame_reporter.proto",
10300 "protos/perfetto/trace/track_event/chrome_histogram_sample.proto",
10301 "protos/perfetto/trace/track_event/chrome_keyed_service.proto",
10302 "protos/perfetto/trace/track_event/chrome_latency_info.proto",
10303 "protos/perfetto/trace/track_event/chrome_legacy_ipc.proto",
10304 "protos/perfetto/trace/track_event/chrome_message_pump.proto",
10305 "protos/perfetto/trace/track_event/chrome_mojo_event_info.proto",
10306 "protos/perfetto/trace/track_event/chrome_process_descriptor.proto",
10307 "protos/perfetto/trace/track_event/chrome_renderer_scheduler_state.proto",
10308 "protos/perfetto/trace/track_event/chrome_thread_descriptor.proto",
10309 "protos/perfetto/trace/track_event/chrome_user_event.proto",
10310 "protos/perfetto/trace/track_event/chrome_window_handle_event_info.proto",
10311 "protos/perfetto/trace/track_event/counter_descriptor.proto",
10312 "protos/perfetto/trace/track_event/debug_annotation.proto",
10313 "protos/perfetto/trace/track_event/log_message.proto",
10314 "protos/perfetto/trace/track_event/process_descriptor.proto",
Igor Kraskevich49756332022-12-01 18:05:57 +000010315 "protos/perfetto/trace/track_event/range_of_interest.proto",
Kartar Singhec8171e2023-09-28 12:06:44 +010010316 "protos/perfetto/trace/track_event/screenshot.proto",
Colin Cross84172332021-09-14 16:41:33 -070010317 "protos/perfetto/trace/track_event/source_location.proto",
10318 "protos/perfetto/trace/track_event/task_execution.proto",
10319 "protos/perfetto/trace/track_event/thread_descriptor.proto",
10320 "protos/perfetto/trace/track_event/track_descriptor.proto",
10321 "protos/perfetto/trace/track_event/track_event.proto",
10322 ],
Spandan Das34f1b982023-10-13 23:24:01 +000010323}
10324
10325// GN: //protos/perfetto/trace/track_event:lite
10326genrule {
10327 name: "perfetto_protos_perfetto_trace_track_event_lite_gen",
10328 srcs: [
10329 ":perfetto_protos_perfetto_trace_track_event_lite",
10330 ],
Colin Cross84172332021-09-14 16:41:33 -070010331 tools: [
10332 "aprotoc",
10333 ],
Spandan Das34f1b982023-10-13 23:24:01 +000010334 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_track_event_lite)",
Colin Cross84172332021-09-14 16:41:33 -070010335 out: [
Igor Kraskevichebf48602022-10-25 10:28:36 +000010336 "external/perfetto/protos/perfetto/trace/track_event/chrome_active_processes.pb.cc",
Colin Cross84172332021-09-14 16:41:33 -070010337 "external/perfetto/protos/perfetto/trace/track_event/chrome_application_state_info.pb.cc",
10338 "external/perfetto/protos/perfetto/trace/track_event/chrome_compositor_scheduler_state.pb.cc",
10339 "external/perfetto/protos/perfetto/trace/track_event/chrome_content_settings_event_info.pb.cc",
10340 "external/perfetto/protos/perfetto/trace/track_event/chrome_frame_reporter.pb.cc",
10341 "external/perfetto/protos/perfetto/trace/track_event/chrome_histogram_sample.pb.cc",
10342 "external/perfetto/protos/perfetto/trace/track_event/chrome_keyed_service.pb.cc",
10343 "external/perfetto/protos/perfetto/trace/track_event/chrome_latency_info.pb.cc",
10344 "external/perfetto/protos/perfetto/trace/track_event/chrome_legacy_ipc.pb.cc",
10345 "external/perfetto/protos/perfetto/trace/track_event/chrome_message_pump.pb.cc",
10346 "external/perfetto/protos/perfetto/trace/track_event/chrome_mojo_event_info.pb.cc",
10347 "external/perfetto/protos/perfetto/trace/track_event/chrome_process_descriptor.pb.cc",
10348 "external/perfetto/protos/perfetto/trace/track_event/chrome_renderer_scheduler_state.pb.cc",
10349 "external/perfetto/protos/perfetto/trace/track_event/chrome_thread_descriptor.pb.cc",
10350 "external/perfetto/protos/perfetto/trace/track_event/chrome_user_event.pb.cc",
10351 "external/perfetto/protos/perfetto/trace/track_event/chrome_window_handle_event_info.pb.cc",
10352 "external/perfetto/protos/perfetto/trace/track_event/counter_descriptor.pb.cc",
10353 "external/perfetto/protos/perfetto/trace/track_event/debug_annotation.pb.cc",
10354 "external/perfetto/protos/perfetto/trace/track_event/log_message.pb.cc",
10355 "external/perfetto/protos/perfetto/trace/track_event/process_descriptor.pb.cc",
Igor Kraskevich49756332022-12-01 18:05:57 +000010356 "external/perfetto/protos/perfetto/trace/track_event/range_of_interest.pb.cc",
Kartar Singhec8171e2023-09-28 12:06:44 +010010357 "external/perfetto/protos/perfetto/trace/track_event/screenshot.pb.cc",
Colin Cross84172332021-09-14 16:41:33 -070010358 "external/perfetto/protos/perfetto/trace/track_event/source_location.pb.cc",
10359 "external/perfetto/protos/perfetto/trace/track_event/task_execution.pb.cc",
10360 "external/perfetto/protos/perfetto/trace/track_event/thread_descriptor.pb.cc",
10361 "external/perfetto/protos/perfetto/trace/track_event/track_descriptor.pb.cc",
10362 "external/perfetto/protos/perfetto/trace/track_event/track_event.pb.cc",
10363 ],
Eric Secklerc73ef062019-02-25 12:30:35 +000010364}
10365
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010010366// GN: //protos/perfetto/trace/track_event:lite
Eric Secklerc73ef062019-02-25 12:30:35 +000010367genrule {
Colin Cross84172332021-09-14 16:41:33 -070010368 name: "perfetto_protos_perfetto_trace_track_event_lite_gen_headers",
10369 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +000010370 ":perfetto_protos_perfetto_trace_track_event_lite",
Colin Cross84172332021-09-14 16:41:33 -070010371 ],
10372 tools: [
10373 "aprotoc",
10374 ],
Spandan Das34f1b982023-10-13 23:24:01 +000010375 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_track_event_lite)",
Colin Cross84172332021-09-14 16:41:33 -070010376 out: [
Igor Kraskevichebf48602022-10-25 10:28:36 +000010377 "external/perfetto/protos/perfetto/trace/track_event/chrome_active_processes.pb.h",
Colin Cross84172332021-09-14 16:41:33 -070010378 "external/perfetto/protos/perfetto/trace/track_event/chrome_application_state_info.pb.h",
10379 "external/perfetto/protos/perfetto/trace/track_event/chrome_compositor_scheduler_state.pb.h",
10380 "external/perfetto/protos/perfetto/trace/track_event/chrome_content_settings_event_info.pb.h",
10381 "external/perfetto/protos/perfetto/trace/track_event/chrome_frame_reporter.pb.h",
10382 "external/perfetto/protos/perfetto/trace/track_event/chrome_histogram_sample.pb.h",
10383 "external/perfetto/protos/perfetto/trace/track_event/chrome_keyed_service.pb.h",
10384 "external/perfetto/protos/perfetto/trace/track_event/chrome_latency_info.pb.h",
10385 "external/perfetto/protos/perfetto/trace/track_event/chrome_legacy_ipc.pb.h",
10386 "external/perfetto/protos/perfetto/trace/track_event/chrome_message_pump.pb.h",
10387 "external/perfetto/protos/perfetto/trace/track_event/chrome_mojo_event_info.pb.h",
10388 "external/perfetto/protos/perfetto/trace/track_event/chrome_process_descriptor.pb.h",
10389 "external/perfetto/protos/perfetto/trace/track_event/chrome_renderer_scheduler_state.pb.h",
10390 "external/perfetto/protos/perfetto/trace/track_event/chrome_thread_descriptor.pb.h",
10391 "external/perfetto/protos/perfetto/trace/track_event/chrome_user_event.pb.h",
10392 "external/perfetto/protos/perfetto/trace/track_event/chrome_window_handle_event_info.pb.h",
10393 "external/perfetto/protos/perfetto/trace/track_event/counter_descriptor.pb.h",
10394 "external/perfetto/protos/perfetto/trace/track_event/debug_annotation.pb.h",
10395 "external/perfetto/protos/perfetto/trace/track_event/log_message.pb.h",
10396 "external/perfetto/protos/perfetto/trace/track_event/process_descriptor.pb.h",
Igor Kraskevich49756332022-12-01 18:05:57 +000010397 "external/perfetto/protos/perfetto/trace/track_event/range_of_interest.pb.h",
Kartar Singhec8171e2023-09-28 12:06:44 +010010398 "external/perfetto/protos/perfetto/trace/track_event/screenshot.pb.h",
Colin Cross84172332021-09-14 16:41:33 -070010399 "external/perfetto/protos/perfetto/trace/track_event/source_location.pb.h",
10400 "external/perfetto/protos/perfetto/trace/track_event/task_execution.pb.h",
10401 "external/perfetto/protos/perfetto/trace/track_event/thread_descriptor.pb.h",
10402 "external/perfetto/protos/perfetto/trace/track_event/track_descriptor.pb.h",
10403 "external/perfetto/protos/perfetto/trace/track_event/track_event.pb.h",
10404 ],
10405 export_include_dirs: [
10406 ".",
10407 "protos",
10408 ],
Eric Secklerc73ef062019-02-25 12:30:35 +000010409}
10410
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010010411// GN: //protos/perfetto/trace/track_event:zero
Spandan Das34f1b982023-10-13 23:24:01 +000010412filegroup {
10413 name: "perfetto_protos_perfetto_trace_track_event_zero",
Colin Cross84172332021-09-14 16:41:33 -070010414 srcs: [
Igor Kraskevichebf48602022-10-25 10:28:36 +000010415 "protos/perfetto/trace/track_event/chrome_active_processes.proto",
Colin Cross84172332021-09-14 16:41:33 -070010416 "protos/perfetto/trace/track_event/chrome_application_state_info.proto",
10417 "protos/perfetto/trace/track_event/chrome_compositor_scheduler_state.proto",
10418 "protos/perfetto/trace/track_event/chrome_content_settings_event_info.proto",
10419 "protos/perfetto/trace/track_event/chrome_frame_reporter.proto",
10420 "protos/perfetto/trace/track_event/chrome_histogram_sample.proto",
10421 "protos/perfetto/trace/track_event/chrome_keyed_service.proto",
10422 "protos/perfetto/trace/track_event/chrome_latency_info.proto",
10423 "protos/perfetto/trace/track_event/chrome_legacy_ipc.proto",
10424 "protos/perfetto/trace/track_event/chrome_message_pump.proto",
10425 "protos/perfetto/trace/track_event/chrome_mojo_event_info.proto",
10426 "protos/perfetto/trace/track_event/chrome_process_descriptor.proto",
10427 "protos/perfetto/trace/track_event/chrome_renderer_scheduler_state.proto",
10428 "protos/perfetto/trace/track_event/chrome_thread_descriptor.proto",
10429 "protos/perfetto/trace/track_event/chrome_user_event.proto",
10430 "protos/perfetto/trace/track_event/chrome_window_handle_event_info.proto",
10431 "protos/perfetto/trace/track_event/counter_descriptor.proto",
10432 "protos/perfetto/trace/track_event/debug_annotation.proto",
10433 "protos/perfetto/trace/track_event/log_message.proto",
10434 "protos/perfetto/trace/track_event/process_descriptor.proto",
Igor Kraskevich49756332022-12-01 18:05:57 +000010435 "protos/perfetto/trace/track_event/range_of_interest.proto",
Kartar Singhec8171e2023-09-28 12:06:44 +010010436 "protos/perfetto/trace/track_event/screenshot.proto",
Colin Cross84172332021-09-14 16:41:33 -070010437 "protos/perfetto/trace/track_event/source_location.proto",
10438 "protos/perfetto/trace/track_event/task_execution.proto",
10439 "protos/perfetto/trace/track_event/thread_descriptor.proto",
10440 "protos/perfetto/trace/track_event/track_descriptor.proto",
10441 "protos/perfetto/trace/track_event/track_event.proto",
10442 ],
Spandan Das34f1b982023-10-13 23:24:01 +000010443}
10444
10445// GN: //protos/perfetto/trace/track_event:zero
10446genrule {
10447 name: "perfetto_protos_perfetto_trace_track_event_zero_gen",
10448 srcs: [
10449 ":perfetto_protos_perfetto_trace_track_event_zero",
10450 ],
Colin Cross84172332021-09-14 16:41:33 -070010451 tools: [
10452 "aprotoc",
10453 "protozero_plugin",
10454 ],
Spandan Das34f1b982023-10-13 23:24:01 +000010455 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_track_event_zero)",
Colin Cross84172332021-09-14 16:41:33 -070010456 out: [
Igor Kraskevichebf48602022-10-25 10:28:36 +000010457 "external/perfetto/protos/perfetto/trace/track_event/chrome_active_processes.pbzero.cc",
Colin Cross84172332021-09-14 16:41:33 -070010458 "external/perfetto/protos/perfetto/trace/track_event/chrome_application_state_info.pbzero.cc",
10459 "external/perfetto/protos/perfetto/trace/track_event/chrome_compositor_scheduler_state.pbzero.cc",
10460 "external/perfetto/protos/perfetto/trace/track_event/chrome_content_settings_event_info.pbzero.cc",
10461 "external/perfetto/protos/perfetto/trace/track_event/chrome_frame_reporter.pbzero.cc",
10462 "external/perfetto/protos/perfetto/trace/track_event/chrome_histogram_sample.pbzero.cc",
10463 "external/perfetto/protos/perfetto/trace/track_event/chrome_keyed_service.pbzero.cc",
10464 "external/perfetto/protos/perfetto/trace/track_event/chrome_latency_info.pbzero.cc",
10465 "external/perfetto/protos/perfetto/trace/track_event/chrome_legacy_ipc.pbzero.cc",
10466 "external/perfetto/protos/perfetto/trace/track_event/chrome_message_pump.pbzero.cc",
10467 "external/perfetto/protos/perfetto/trace/track_event/chrome_mojo_event_info.pbzero.cc",
10468 "external/perfetto/protos/perfetto/trace/track_event/chrome_process_descriptor.pbzero.cc",
10469 "external/perfetto/protos/perfetto/trace/track_event/chrome_renderer_scheduler_state.pbzero.cc",
10470 "external/perfetto/protos/perfetto/trace/track_event/chrome_thread_descriptor.pbzero.cc",
10471 "external/perfetto/protos/perfetto/trace/track_event/chrome_user_event.pbzero.cc",
10472 "external/perfetto/protos/perfetto/trace/track_event/chrome_window_handle_event_info.pbzero.cc",
10473 "external/perfetto/protos/perfetto/trace/track_event/counter_descriptor.pbzero.cc",
10474 "external/perfetto/protos/perfetto/trace/track_event/debug_annotation.pbzero.cc",
10475 "external/perfetto/protos/perfetto/trace/track_event/log_message.pbzero.cc",
10476 "external/perfetto/protos/perfetto/trace/track_event/process_descriptor.pbzero.cc",
Igor Kraskevich49756332022-12-01 18:05:57 +000010477 "external/perfetto/protos/perfetto/trace/track_event/range_of_interest.pbzero.cc",
Kartar Singhec8171e2023-09-28 12:06:44 +010010478 "external/perfetto/protos/perfetto/trace/track_event/screenshot.pbzero.cc",
Colin Cross84172332021-09-14 16:41:33 -070010479 "external/perfetto/protos/perfetto/trace/track_event/source_location.pbzero.cc",
10480 "external/perfetto/protos/perfetto/trace/track_event/task_execution.pbzero.cc",
10481 "external/perfetto/protos/perfetto/trace/track_event/thread_descriptor.pbzero.cc",
10482 "external/perfetto/protos/perfetto/trace/track_event/track_descriptor.pbzero.cc",
10483 "external/perfetto/protos/perfetto/trace/track_event/track_event.pbzero.cc",
10484 ],
Eric Secklerc73ef062019-02-25 12:30:35 +000010485}
10486
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010010487// GN: //protos/perfetto/trace/track_event:zero
Eric Secklerc73ef062019-02-25 12:30:35 +000010488genrule {
Colin Cross84172332021-09-14 16:41:33 -070010489 name: "perfetto_protos_perfetto_trace_track_event_zero_gen_headers",
10490 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +000010491 ":perfetto_protos_perfetto_trace_track_event_zero",
Colin Cross84172332021-09-14 16:41:33 -070010492 ],
10493 tools: [
10494 "aprotoc",
10495 "protozero_plugin",
10496 ],
Spandan Das34f1b982023-10-13 23:24:01 +000010497 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_track_event_zero)",
Colin Cross84172332021-09-14 16:41:33 -070010498 out: [
Igor Kraskevichebf48602022-10-25 10:28:36 +000010499 "external/perfetto/protos/perfetto/trace/track_event/chrome_active_processes.pbzero.h",
Colin Cross84172332021-09-14 16:41:33 -070010500 "external/perfetto/protos/perfetto/trace/track_event/chrome_application_state_info.pbzero.h",
10501 "external/perfetto/protos/perfetto/trace/track_event/chrome_compositor_scheduler_state.pbzero.h",
10502 "external/perfetto/protos/perfetto/trace/track_event/chrome_content_settings_event_info.pbzero.h",
10503 "external/perfetto/protos/perfetto/trace/track_event/chrome_frame_reporter.pbzero.h",
10504 "external/perfetto/protos/perfetto/trace/track_event/chrome_histogram_sample.pbzero.h",
10505 "external/perfetto/protos/perfetto/trace/track_event/chrome_keyed_service.pbzero.h",
10506 "external/perfetto/protos/perfetto/trace/track_event/chrome_latency_info.pbzero.h",
10507 "external/perfetto/protos/perfetto/trace/track_event/chrome_legacy_ipc.pbzero.h",
10508 "external/perfetto/protos/perfetto/trace/track_event/chrome_message_pump.pbzero.h",
10509 "external/perfetto/protos/perfetto/trace/track_event/chrome_mojo_event_info.pbzero.h",
10510 "external/perfetto/protos/perfetto/trace/track_event/chrome_process_descriptor.pbzero.h",
10511 "external/perfetto/protos/perfetto/trace/track_event/chrome_renderer_scheduler_state.pbzero.h",
10512 "external/perfetto/protos/perfetto/trace/track_event/chrome_thread_descriptor.pbzero.h",
10513 "external/perfetto/protos/perfetto/trace/track_event/chrome_user_event.pbzero.h",
10514 "external/perfetto/protos/perfetto/trace/track_event/chrome_window_handle_event_info.pbzero.h",
10515 "external/perfetto/protos/perfetto/trace/track_event/counter_descriptor.pbzero.h",
10516 "external/perfetto/protos/perfetto/trace/track_event/debug_annotation.pbzero.h",
10517 "external/perfetto/protos/perfetto/trace/track_event/log_message.pbzero.h",
10518 "external/perfetto/protos/perfetto/trace/track_event/process_descriptor.pbzero.h",
Igor Kraskevich49756332022-12-01 18:05:57 +000010519 "external/perfetto/protos/perfetto/trace/track_event/range_of_interest.pbzero.h",
Kartar Singhec8171e2023-09-28 12:06:44 +010010520 "external/perfetto/protos/perfetto/trace/track_event/screenshot.pbzero.h",
Colin Cross84172332021-09-14 16:41:33 -070010521 "external/perfetto/protos/perfetto/trace/track_event/source_location.pbzero.h",
10522 "external/perfetto/protos/perfetto/trace/track_event/task_execution.pbzero.h",
10523 "external/perfetto/protos/perfetto/trace/track_event/thread_descriptor.pbzero.h",
10524 "external/perfetto/protos/perfetto/trace/track_event/track_descriptor.pbzero.h",
10525 "external/perfetto/protos/perfetto/trace/track_event/track_event.pbzero.h",
10526 ],
10527 export_include_dirs: [
10528 ".",
10529 "protos",
10530 ],
Eric Secklerc73ef062019-02-25 12:30:35 +000010531}
10532
Igor Kraskevich49b42882022-03-21 13:03:02 +000010533// GN: //protos/perfetto/trace/translation:cpp
Spandan Das34f1b982023-10-13 23:24:01 +000010534filegroup {
10535 name: "perfetto_protos_perfetto_trace_translation_cpp",
10536 srcs: [
10537 "protos/perfetto/trace/translation/translation_table.proto",
10538 ],
10539}
10540
10541// GN: //protos/perfetto/trace/translation:cpp
Igor Kraskevich49b42882022-03-21 13:03:02 +000010542genrule {
10543 name: "perfetto_protos_perfetto_trace_translation_cpp_gen",
10544 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +000010545 ":perfetto_protos_perfetto_trace_translation_cpp",
Igor Kraskevich49b42882022-03-21 13:03:02 +000010546 ],
10547 tools: [
10548 "aprotoc",
10549 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
10550 ],
Spandan Das34f1b982023-10-13 23:24:01 +000010551 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_translation_cpp)",
Igor Kraskevich49b42882022-03-21 13:03:02 +000010552 out: [
10553 "external/perfetto/protos/perfetto/trace/translation/translation_table.gen.cc",
10554 ],
10555}
10556
10557// GN: //protos/perfetto/trace/translation:cpp
10558genrule {
10559 name: "perfetto_protos_perfetto_trace_translation_cpp_gen_headers",
10560 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +000010561 ":perfetto_protos_perfetto_trace_translation_cpp",
Igor Kraskevich49b42882022-03-21 13:03:02 +000010562 ],
10563 tools: [
10564 "aprotoc",
10565 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
10566 ],
Spandan Das34f1b982023-10-13 23:24:01 +000010567 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_translation_cpp)",
Igor Kraskevich49b42882022-03-21 13:03:02 +000010568 out: [
10569 "external/perfetto/protos/perfetto/trace/translation/translation_table.gen.h",
10570 ],
10571 export_include_dirs: [
10572 ".",
10573 "protos",
10574 ],
10575}
10576
10577// GN: //protos/perfetto/trace/translation:lite
Spandan Das34f1b982023-10-13 23:24:01 +000010578filegroup {
10579 name: "perfetto_protos_perfetto_trace_translation_lite",
10580 srcs: [
10581 "protos/perfetto/trace/translation/translation_table.proto",
10582 ],
10583}
10584
10585// GN: //protos/perfetto/trace/translation:lite
Igor Kraskevich49b42882022-03-21 13:03:02 +000010586genrule {
10587 name: "perfetto_protos_perfetto_trace_translation_lite_gen",
10588 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +000010589 ":perfetto_protos_perfetto_trace_translation_lite",
Igor Kraskevich49b42882022-03-21 13:03:02 +000010590 ],
10591 tools: [
10592 "aprotoc",
10593 ],
Spandan Das34f1b982023-10-13 23:24:01 +000010594 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_translation_lite)",
Igor Kraskevich49b42882022-03-21 13:03:02 +000010595 out: [
10596 "external/perfetto/protos/perfetto/trace/translation/translation_table.pb.cc",
10597 ],
10598}
10599
10600// GN: //protos/perfetto/trace/translation:lite
10601genrule {
10602 name: "perfetto_protos_perfetto_trace_translation_lite_gen_headers",
10603 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +000010604 ":perfetto_protos_perfetto_trace_translation_lite",
Igor Kraskevich49b42882022-03-21 13:03:02 +000010605 ],
10606 tools: [
10607 "aprotoc",
10608 ],
Spandan Das34f1b982023-10-13 23:24:01 +000010609 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_translation_lite)",
Igor Kraskevich49b42882022-03-21 13:03:02 +000010610 out: [
10611 "external/perfetto/protos/perfetto/trace/translation/translation_table.pb.h",
10612 ],
10613 export_include_dirs: [
10614 ".",
10615 "protos",
10616 ],
10617}
10618
10619// GN: //protos/perfetto/trace/translation:zero
Spandan Das34f1b982023-10-13 23:24:01 +000010620filegroup {
10621 name: "perfetto_protos_perfetto_trace_translation_zero",
10622 srcs: [
10623 "protos/perfetto/trace/translation/translation_table.proto",
10624 ],
10625}
10626
10627// GN: //protos/perfetto/trace/translation:zero
Igor Kraskevich49b42882022-03-21 13:03:02 +000010628genrule {
10629 name: "perfetto_protos_perfetto_trace_translation_zero_gen",
10630 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +000010631 ":perfetto_protos_perfetto_trace_translation_zero",
Igor Kraskevich49b42882022-03-21 13:03:02 +000010632 ],
10633 tools: [
10634 "aprotoc",
10635 "protozero_plugin",
10636 ],
Spandan Das34f1b982023-10-13 23:24:01 +000010637 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_translation_zero)",
Igor Kraskevich49b42882022-03-21 13:03:02 +000010638 out: [
10639 "external/perfetto/protos/perfetto/trace/translation/translation_table.pbzero.cc",
10640 ],
10641}
10642
10643// GN: //protos/perfetto/trace/translation:zero
10644genrule {
10645 name: "perfetto_protos_perfetto_trace_translation_zero_gen_headers",
10646 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +000010647 ":perfetto_protos_perfetto_trace_translation_zero",
Igor Kraskevich49b42882022-03-21 13:03:02 +000010648 ],
10649 tools: [
10650 "aprotoc",
10651 "protozero_plugin",
10652 ],
Spandan Das34f1b982023-10-13 23:24:01 +000010653 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_translation_zero)",
Igor Kraskevich49b42882022-03-21 13:03:02 +000010654 out: [
10655 "external/perfetto/protos/perfetto/trace/translation/translation_table.pbzero.h",
10656 ],
10657 export_include_dirs: [
10658 ".",
10659 "protos",
10660 ],
10661}
10662
Lalit Magantic21a4a82022-02-15 16:08:46 +000010663// GN: //protos/third_party/chromium:descriptor
Andrew Shulaevba0a5d12021-01-07 08:44:50 +000010664genrule {
Lalit Magantic21a4a82022-02-15 16:08:46 +000010665 name: "perfetto_protos_third_party_chromium_descriptor",
Colin Cross84172332021-09-14 16:41:33 -070010666 srcs: [
Igor Kraskevichebf48602022-10-25 10:28:36 +000010667 "protos/perfetto/trace/track_event/chrome_active_processes.proto",
Colin Cross84172332021-09-14 16:41:33 -070010668 "protos/perfetto/trace/track_event/chrome_application_state_info.proto",
10669 "protos/perfetto/trace/track_event/chrome_compositor_scheduler_state.proto",
10670 "protos/perfetto/trace/track_event/chrome_content_settings_event_info.proto",
10671 "protos/perfetto/trace/track_event/chrome_frame_reporter.proto",
10672 "protos/perfetto/trace/track_event/chrome_histogram_sample.proto",
10673 "protos/perfetto/trace/track_event/chrome_keyed_service.proto",
10674 "protos/perfetto/trace/track_event/chrome_latency_info.proto",
10675 "protos/perfetto/trace/track_event/chrome_legacy_ipc.proto",
10676 "protos/perfetto/trace/track_event/chrome_message_pump.proto",
10677 "protos/perfetto/trace/track_event/chrome_mojo_event_info.proto",
10678 "protos/perfetto/trace/track_event/chrome_process_descriptor.proto",
10679 "protos/perfetto/trace/track_event/chrome_renderer_scheduler_state.proto",
10680 "protos/perfetto/trace/track_event/chrome_thread_descriptor.proto",
10681 "protos/perfetto/trace/track_event/chrome_user_event.proto",
10682 "protos/perfetto/trace/track_event/chrome_window_handle_event_info.proto",
10683 "protos/perfetto/trace/track_event/counter_descriptor.proto",
10684 "protos/perfetto/trace/track_event/debug_annotation.proto",
10685 "protos/perfetto/trace/track_event/log_message.proto",
10686 "protos/perfetto/trace/track_event/process_descriptor.proto",
Igor Kraskevich49756332022-12-01 18:05:57 +000010687 "protos/perfetto/trace/track_event/range_of_interest.proto",
Kartar Singhec8171e2023-09-28 12:06:44 +010010688 "protos/perfetto/trace/track_event/screenshot.proto",
Colin Cross84172332021-09-14 16:41:33 -070010689 "protos/perfetto/trace/track_event/source_location.proto",
10690 "protos/perfetto/trace/track_event/task_execution.proto",
10691 "protos/perfetto/trace/track_event/thread_descriptor.proto",
10692 "protos/perfetto/trace/track_event/track_descriptor.proto",
10693 "protos/perfetto/trace/track_event/track_event.proto",
10694 "protos/third_party/chromium/chrome_track_event.proto",
10695 ],
10696 tools: [
10697 "aprotoc",
10698 ],
10699 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --descriptor_set_out=$(out) $(in)",
10700 out: [
Lalit Magantic21a4a82022-02-15 16:08:46 +000010701 "perfetto_protos_third_party_chromium_descriptor.bin",
Colin Cross84172332021-09-14 16:41:33 -070010702 ],
Andrew Shulaevba0a5d12021-01-07 08:44:50 +000010703}
10704
Primiano Tucci2d813fd2019-11-26 17:27:07 +000010705// GN: //protos/third_party/pprof:zero
Spandan Das34f1b982023-10-13 23:24:01 +000010706filegroup {
10707 name: "perfetto_protos_third_party_pprof_zero",
10708 srcs: [
10709 "protos/third_party/pprof/profile.proto",
10710 ],
10711}
10712
10713// GN: //protos/third_party/pprof:zero
Florian Mayer0ca7fb42018-11-15 21:13:42 +000010714genrule {
Colin Cross84172332021-09-14 16:41:33 -070010715 name: "perfetto_protos_third_party_pprof_zero_gen",
10716 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +000010717 ":perfetto_protos_third_party_pprof_zero",
Colin Cross84172332021-09-14 16:41:33 -070010718 ],
10719 tools: [
10720 "aprotoc",
10721 "protozero_plugin",
10722 ],
Spandan Das34f1b982023-10-13 23:24:01 +000010723 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_third_party_pprof_zero)",
Colin Cross84172332021-09-14 16:41:33 -070010724 out: [
10725 "external/perfetto/protos/third_party/pprof/profile.pbzero.cc",
10726 ],
Florian Mayer0ca7fb42018-11-15 21:13:42 +000010727}
10728
Primiano Tucci2d813fd2019-11-26 17:27:07 +000010729// GN: //protos/third_party/pprof:zero
Florian Mayer0ca7fb42018-11-15 21:13:42 +000010730genrule {
Colin Cross84172332021-09-14 16:41:33 -070010731 name: "perfetto_protos_third_party_pprof_zero_gen_headers",
10732 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +000010733 ":perfetto_protos_third_party_pprof_zero",
Colin Cross84172332021-09-14 16:41:33 -070010734 ],
10735 tools: [
10736 "aprotoc",
10737 "protozero_plugin",
10738 ],
Spandan Das34f1b982023-10-13 23:24:01 +000010739 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_third_party_pprof_zero)",
Colin Cross84172332021-09-14 16:41:33 -070010740 out: [
10741 "external/perfetto/protos/third_party/pprof/profile.pbzero.h",
10742 ],
10743 export_include_dirs: [
10744 ".",
10745 "protos",
10746 ],
Florian Mayer0ca7fb42018-11-15 21:13:42 +000010747}
10748
Carlos Caballero7068d202024-05-22 23:33:31 +000010749// GN: //protos/third_party/simpleperf:zero
10750filegroup {
10751 name: "perfetto_protos_third_party_simpleperf_zero",
10752 srcs: [
10753 "protos/third_party/simpleperf/record_file.proto",
10754 ],
10755}
10756
10757// GN: //protos/third_party/simpleperf:zero
10758genrule {
10759 name: "perfetto_protos_third_party_simpleperf_zero_gen",
10760 srcs: [
10761 ":perfetto_protos_third_party_simpleperf_zero",
10762 ],
10763 tools: [
10764 "aprotoc",
10765 "protozero_plugin",
10766 ],
10767 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_third_party_simpleperf_zero)",
10768 out: [
10769 "external/perfetto/protos/third_party/simpleperf/record_file.pbzero.cc",
10770 ],
10771}
10772
10773// GN: //protos/third_party/simpleperf:zero
10774genrule {
10775 name: "perfetto_protos_third_party_simpleperf_zero_gen_headers",
10776 srcs: [
10777 ":perfetto_protos_third_party_simpleperf_zero",
10778 ],
10779 tools: [
10780 "aprotoc",
10781 "protozero_plugin",
10782 ],
10783 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_third_party_simpleperf_zero)",
10784 out: [
10785 "external/perfetto/protos/third_party/simpleperf/record_file.pbzero.h",
10786 ],
10787 export_include_dirs: [
10788 ".",
10789 "protos",
10790 ],
10791}
10792
Hector Dearman09db5b02022-07-11 13:35:23 +010010793// GN: //protos/third_party/statsd:config_zero
Spandan Das34f1b982023-10-13 23:24:01 +000010794filegroup {
10795 name: "perfetto_protos_third_party_statsd_config_zero",
Hector Dearman09db5b02022-07-11 13:35:23 +010010796 srcs: [
10797 "protos/third_party/statsd/shell_config.proto",
Hector Dearmanff7abd42023-03-22 19:11:35 +000010798 "protos/third_party/statsd/shell_data.proto",
Hector Dearman09db5b02022-07-11 13:35:23 +010010799 ],
Spandan Das34f1b982023-10-13 23:24:01 +000010800}
10801
10802// GN: //protos/third_party/statsd:config_zero
10803genrule {
10804 name: "perfetto_protos_third_party_statsd_config_zero_gen",
10805 srcs: [
10806 ":perfetto_protos_third_party_statsd_config_zero",
10807 ],
Hector Dearman09db5b02022-07-11 13:35:23 +010010808 tools: [
10809 "aprotoc",
10810 "protozero_plugin",
10811 ],
Spandan Das34f1b982023-10-13 23:24:01 +000010812 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_third_party_statsd_config_zero)",
Hector Dearman09db5b02022-07-11 13:35:23 +010010813 out: [
10814 "external/perfetto/protos/third_party/statsd/shell_config.pbzero.cc",
Hector Dearmanff7abd42023-03-22 19:11:35 +000010815 "external/perfetto/protos/third_party/statsd/shell_data.pbzero.cc",
Hector Dearman09db5b02022-07-11 13:35:23 +010010816 ],
10817}
10818
10819// GN: //protos/third_party/statsd:config_zero
10820genrule {
10821 name: "perfetto_protos_third_party_statsd_config_zero_gen_headers",
10822 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +000010823 ":perfetto_protos_third_party_statsd_config_zero",
Hector Dearman09db5b02022-07-11 13:35:23 +010010824 ],
10825 tools: [
10826 "aprotoc",
10827 "protozero_plugin",
10828 ],
Spandan Das34f1b982023-10-13 23:24:01 +000010829 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_third_party_statsd_config_zero)",
Hector Dearman09db5b02022-07-11 13:35:23 +010010830 out: [
10831 "external/perfetto/protos/third_party/statsd/shell_config.pbzero.h",
Hector Dearmanff7abd42023-03-22 19:11:35 +000010832 "external/perfetto/protos/third_party/statsd/shell_data.pbzero.h",
Hector Dearman09db5b02022-07-11 13:35:23 +010010833 ],
10834 export_include_dirs: [
10835 ".",
10836 "protos",
10837 ],
10838}
10839
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010010840// GN: //src/android_internal:headers
10841filegroup {
Colin Cross84172332021-09-14 16:41:33 -070010842 name: "perfetto_src_android_internal_headers",
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010010843}
10844
10845// GN: //src/android_internal:lazy_library_loader
10846filegroup {
Colin Cross84172332021-09-14 16:41:33 -070010847 name: "perfetto_src_android_internal_lazy_library_loader",
10848 srcs: [
10849 "src/android_internal/lazy_library_loader.cc",
10850 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010010851}
10852
Lalit Magantif2d81b72020-12-11 01:53:29 +000010853// GN: //src/android_stats:android_stats
10854filegroup {
Colin Cross84172332021-09-14 16:41:33 -070010855 name: "perfetto_src_android_stats_android_stats",
10856 srcs: [
10857 "src/android_stats/statsd_logging_helper.cc",
10858 ],
Lalit Magantif2d81b72020-12-11 01:53:29 +000010859}
10860
Lalit Magantid37172d2020-12-10 19:30:05 +000010861// GN: //src/android_stats:perfetto_atoms
10862filegroup {
Colin Cross84172332021-09-14 16:41:33 -070010863 name: "perfetto_src_android_stats_perfetto_atoms",
Lalit Magantid37172d2020-12-10 19:30:05 +000010864}
10865
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010010866// GN: //src/base:base
10867filegroup {
Colin Cross84172332021-09-14 16:41:33 -070010868 name: "perfetto_src_base_base",
10869 srcs: [
Daniele Di Proietto5ce0d142021-11-01 18:30:44 +000010870 "src/base/android_utils.cc",
Primiano Tuccif4f2b452021-11-06 12:14:40 +000010871 "src/base/base64.cc",
Primiano Tucciab699b72021-10-15 11:53:00 +010010872 "src/base/crash_keys.cc",
Colin Cross84172332021-09-14 16:41:33 -070010873 "src/base/ctrl_c_handler.cc",
10874 "src/base/event_fd.cc",
10875 "src/base/file_utils.cc",
10876 "src/base/getopt_compat.cc",
10877 "src/base/logging.cc",
10878 "src/base/metatrace.cc",
10879 "src/base/paged_memory.cc",
10880 "src/base/periodic_task.cc",
10881 "src/base/pipe.cc",
Daniele Di Proiettocb42b622024-02-22 12:29:49 +000010882 "src/base/scoped_mmap.cc",
Colin Cross84172332021-09-14 16:41:33 -070010883 "src/base/status.cc",
10884 "src/base/string_splitter.cc",
10885 "src/base/string_utils.cc",
Lalit Magantib9c2bc02022-09-01 16:52:51 +010010886 "src/base/string_view.cc",
Colin Cross84172332021-09-14 16:41:33 -070010887 "src/base/subprocess.cc",
10888 "src/base/subprocess_posix.cc",
10889 "src/base/subprocess_windows.cc",
10890 "src/base/temp_file.cc",
10891 "src/base/thread_checker.cc",
10892 "src/base/thread_task_runner.cc",
Sergey Ulanov6ac6b2f2022-10-21 10:48:23 -070010893 "src/base/thread_utils.cc",
Colin Cross84172332021-09-14 16:41:33 -070010894 "src/base/time.cc",
10895 "src/base/unix_task_runner.cc",
10896 "src/base/utils.cc",
10897 "src/base/uuid.cc",
Colin Cross84172332021-09-14 16:41:33 -070010898 "src/base/virtual_destructors.cc",
10899 "src/base/waitable_event.cc",
10900 "src/base/watchdog_posix.cc",
Daniele Di Proiettod95ad0b2024-06-04 16:48:01 +000010901 "src/base/weak_runner.cc",
Colin Cross84172332021-09-14 16:41:33 -070010902 ],
Sami Kyostilaebba0fe2017-12-19 14:01:52 +000010903}
10904
Lalit Maganti1e7aef12024-10-13 14:19:09 +010010905// GN: //src/base:clock_snapshots
10906filegroup {
10907 name: "perfetto_src_base_clock_snapshots",
10908 srcs: [
10909 "src/base/clock_snapshots.cc",
10910 ],
10911}
10912
Primiano Tucci44a15be2021-11-06 21:40:18 +000010913// GN: //src/base/http:http
10914filegroup {
10915 name: "perfetto_src_base_http_http",
10916 srcs: [
10917 "src/base/http/http_server.cc",
Primiano Tucci95dbb702021-11-25 13:27:04 +000010918 "src/base/http/sha1.cc",
Primiano Tucci44a15be2021-11-06 21:40:18 +000010919 ],
10920}
10921
10922// GN: //src/base/http:unittests
10923filegroup {
10924 name: "perfetto_src_base_http_unittests",
10925 srcs: [
10926 "src/base/http/http_server_unittest.cc",
Primiano Tucci95dbb702021-11-25 13:27:04 +000010927 "src/base/http/sha1_unittest.cc",
Primiano Tucci44a15be2021-11-06 21:40:18 +000010928 ],
10929}
10930
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010010931// GN: //src/base:test_support
10932filegroup {
Colin Cross84172332021-09-14 16:41:33 -070010933 name: "perfetto_src_base_test_support",
10934 srcs: [
10935 "src/base/test/test_task_runner.cc",
Daniele Di Proietto7e6d6b72021-09-17 12:46:41 +000010936 "src/base/test/tmp_dir_tree.cc",
Colin Cross84172332021-09-14 16:41:33 -070010937 "src/base/test/utils.cc",
10938 "src/base/test/vm_test_utils.cc",
10939 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010010940}
10941
Lalit Maganti501742c2023-01-24 21:58:33 +000010942// GN: //src/base/threading:threading
10943filegroup {
10944 name: "perfetto_src_base_threading_threading",
10945 srcs: [
Lalit Maganti56540792023-03-24 18:36:51 +000010946 "src/base/threading/spawn.cc",
Lalit Maganti22dad592023-03-09 15:59:57 +000010947 "src/base/threading/stream_combinators.cc",
Lalit Maganti501742c2023-01-24 21:58:33 +000010948 "src/base/threading/thread_pool.cc",
10949 ],
10950}
10951
10952// GN: //src/base/threading:unittests
10953filegroup {
10954 name: "perfetto_src_base_threading_unittests",
10955 srcs: [
Lalit Maganti80537672023-02-10 00:09:57 +000010956 "src/base/threading/channel_unittest.cc",
Lalit Maganti56411572023-03-02 03:13:01 +000010957 "src/base/threading/future_unittest.cc",
Lalit Maganti56540792023-03-24 18:36:51 +000010958 "src/base/threading/spawn_unittest.cc",
Lalit Maganti22dad592023-03-09 15:59:57 +000010959 "src/base/threading/stream_unittest.cc",
Lalit Maganti501742c2023-01-24 21:58:33 +000010960 "src/base/threading/thread_pool_unittest.cc",
Lalit Magantica02f392023-03-15 14:29:07 +000010961 "src/base/threading/util_unittest.cc",
Lalit Maganti501742c2023-01-24 21:58:33 +000010962 ],
10963}
10964
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010010965// GN: //src/base:unittests
10966filegroup {
Colin Cross84172332021-09-14 16:41:33 -070010967 name: "perfetto_src_base_unittests",
10968 srcs: [
Primiano Tuccif4f2b452021-11-06 12:14:40 +000010969 "src/base/base64_unittest.cc",
Colin Cross84172332021-09-14 16:41:33 -070010970 "src/base/circular_queue_unittest.cc",
Primiano Tucci58a20ff2021-11-18 18:38:55 +000010971 "src/base/flat_hash_map_unittest.cc",
Colin Cross84172332021-09-14 16:41:33 -070010972 "src/base/flat_set_unittest.cc",
10973 "src/base/getopt_compat_unittest.cc",
Hector Dearman59ac7052022-08-02 12:15:54 +010010974 "src/base/hash_unittest.cc",
Colin Cross84172332021-09-14 16:41:33 -070010975 "src/base/logging_unittest.cc",
10976 "src/base/metatrace_unittest.cc",
10977 "src/base/no_destructor_unittest.cc",
Colin Cross84172332021-09-14 16:41:33 -070010978 "src/base/paged_memory_unittest.cc",
10979 "src/base/periodic_task_unittest.cc",
10980 "src/base/scoped_file_unittest.cc",
Daniele Di Proiettocb42b622024-02-22 12:29:49 +000010981 "src/base/scoped_mmap_unittest.cc",
Primiano Tucci34abb8d2021-11-16 13:38:01 +000010982 "src/base/small_vector_unittest.cc",
Lalit Maganti8ef27df2023-01-10 21:38:46 +000010983 "src/base/status_or_unittest.cc",
Lalit Maganti1aa1c712023-05-24 19:22:27 +010010984 "src/base/status_unittest.cc",
Colin Cross84172332021-09-14 16:41:33 -070010985 "src/base/string_splitter_unittest.cc",
10986 "src/base/string_utils_unittest.cc",
10987 "src/base/string_view_unittest.cc",
10988 "src/base/string_writer_unittest.cc",
10989 "src/base/subprocess_unittest.cc",
10990 "src/base/task_runner_unittest.cc",
10991 "src/base/temp_file_unittest.cc",
10992 "src/base/thread_checker_unittest.cc",
10993 "src/base/thread_task_runner_unittest.cc",
10994 "src/base/time_unittest.cc",
10995 "src/base/unix_socket_unittest.cc",
10996 "src/base/utils_unittest.cc",
10997 "src/base/uuid_unittest.cc",
10998 "src/base/watchdog_posix_unittest.cc",
10999 "src/base/watchdog_unittest.cc",
11000 "src/base/weak_ptr_unittest.cc",
11001 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010011002}
11003
11004// GN: //src/base:unix_socket
11005filegroup {
Colin Cross84172332021-09-14 16:41:33 -070011006 name: "perfetto_src_base_unix_socket",
11007 srcs: [
11008 "src/base/unix_socket.cc",
11009 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010011010}
11011
Daniele Di Proietto15b801e2022-06-30 12:56:13 +010011012// GN: //src/base:version
11013filegroup {
11014 name: "perfetto_src_base_version",
11015 srcs: [
11016 "src/base/version.cc",
11017 ],
11018}
11019
Primiano Tucciec590132020-11-16 14:16:44 +010011020// GN: //src/base:version_gen_h
11021genrule {
Colin Cross84172332021-09-14 16:41:33 -070011022 name: "perfetto_src_base_version_gen_h",
11023 srcs: [
11024 "CHANGELOG",
11025 ],
11026 cmd: "python3 $(location tools/write_version_header.py) --no_git --changelog=$(location CHANGELOG) --cpp_out=$(out)",
11027 out: [
11028 "perfetto_version.gen.h",
11029 ],
11030 tool_files: [
11031 "tools/write_version_header.py",
11032 ],
Primiano Tucciec590132020-11-16 14:16:44 +010011033}
11034
Primiano Tuccic4c063b2020-01-27 09:34:46 +000011035// GN: //src/ipc:client
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010011036filegroup {
Colin Cross84172332021-09-14 16:41:33 -070011037 name: "perfetto_src_ipc_client",
11038 srcs: [
11039 "src/ipc/client_impl.cc",
11040 "src/ipc/service_proxy.cc",
11041 ],
Primiano Tuccic4c063b2020-01-27 09:34:46 +000011042}
11043
11044// GN: //src/ipc:common
11045filegroup {
Colin Cross84172332021-09-14 16:41:33 -070011046 name: "perfetto_src_ipc_common",
11047 srcs: [
11048 "src/ipc/buffered_frame_deserializer.cc",
11049 "src/ipc/deferred.cc",
11050 "src/ipc/virtual_destructors.cc",
11051 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010011052}
11053
Primiano Tuccic4c063b2020-01-27 09:34:46 +000011054// GN: //src/ipc:host
11055filegroup {
Colin Cross84172332021-09-14 16:41:33 -070011056 name: "perfetto_src_ipc_host",
11057 srcs: [
11058 "src/ipc/host_impl.cc",
11059 ],
Primiano Tuccic4c063b2020-01-27 09:34:46 +000011060}
11061
Stephen Nusko1af720e2020-11-18 14:04:16 -050011062// GN: //src/ipc:perfetto_ipc
11063filegroup {
Colin Cross84172332021-09-14 16:41:33 -070011064 name: "perfetto_src_ipc_perfetto_ipc",
Stephen Nusko1af720e2020-11-18 14:04:16 -050011065}
11066
Primiano Tuccie8020f92019-11-26 13:24:01 +000011067// GN: //src/ipc:test_messages_cpp
Spandan Das34f1b982023-10-13 23:24:01 +000011068filegroup {
11069 name: "perfetto_src_ipc_test_messages_cpp",
Colin Cross84172332021-09-14 16:41:33 -070011070 srcs: [
11071 "src/ipc/test/client_unittest_messages.proto",
11072 "src/ipc/test/deferred_unittest_messages.proto",
11073 "src/ipc/test/greeter_service.proto",
11074 ],
Spandan Das34f1b982023-10-13 23:24:01 +000011075}
11076
11077// GN: //src/ipc:test_messages_cpp
11078genrule {
11079 name: "perfetto_src_ipc_test_messages_cpp_gen",
11080 srcs: [
11081 ":perfetto_src_ipc_test_messages_cpp",
11082 ],
Colin Cross84172332021-09-14 16:41:33 -070011083 tools: [
11084 "aprotoc",
11085 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
11086 ],
Spandan Das34f1b982023-10-13 23:24:01 +000011087 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_src_ipc_test_messages_cpp)",
Colin Cross84172332021-09-14 16:41:33 -070011088 out: [
11089 "external/perfetto/src/ipc/test/client_unittest_messages.gen.cc",
11090 "external/perfetto/src/ipc/test/deferred_unittest_messages.gen.cc",
11091 "external/perfetto/src/ipc/test/greeter_service.gen.cc",
11092 ],
Primiano Tuccie8020f92019-11-26 13:24:01 +000011093}
11094
11095// GN: //src/ipc:test_messages_cpp
11096genrule {
Colin Cross84172332021-09-14 16:41:33 -070011097 name: "perfetto_src_ipc_test_messages_cpp_gen_headers",
11098 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +000011099 ":perfetto_src_ipc_test_messages_cpp",
Colin Cross84172332021-09-14 16:41:33 -070011100 ],
11101 tools: [
11102 "aprotoc",
11103 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
11104 ],
Spandan Das34f1b982023-10-13 23:24:01 +000011105 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_src_ipc_test_messages_cpp)",
Colin Cross84172332021-09-14 16:41:33 -070011106 out: [
11107 "external/perfetto/src/ipc/test/client_unittest_messages.gen.h",
11108 "external/perfetto/src/ipc/test/deferred_unittest_messages.gen.h",
11109 "external/perfetto/src/ipc/test/greeter_service.gen.h",
11110 ],
11111 export_include_dirs: [
11112 ".",
11113 "protos",
11114 ],
Primiano Tuccie8020f92019-11-26 13:24:01 +000011115}
11116
Primiano Tucci3aa027d2019-11-22 21:43:43 +000011117// GN: //src/ipc:test_messages_ipc
Spandan Das34f1b982023-10-13 23:24:01 +000011118filegroup {
11119 name: "perfetto_src_ipc_test_messages_ipc",
Colin Cross84172332021-09-14 16:41:33 -070011120 srcs: [
11121 "src/ipc/test/client_unittest_messages.proto",
11122 "src/ipc/test/deferred_unittest_messages.proto",
11123 "src/ipc/test/greeter_service.proto",
11124 ],
Spandan Das34f1b982023-10-13 23:24:01 +000011125}
11126
11127// GN: //src/ipc:test_messages_ipc
11128genrule {
11129 name: "perfetto_src_ipc_test_messages_ipc_gen",
11130 srcs: [
11131 ":perfetto_protos_perfetto_ipc_wire_protocol_cpp",
11132 ":perfetto_src_ipc_test_messages_cpp",
11133 ":perfetto_src_ipc_test_messages_ipc",
11134 ],
Colin Cross84172332021-09-14 16:41:33 -070011135 tools: [
11136 "aprotoc",
11137 "ipc_plugin",
11138 ],
Spandan Das34f1b982023-10-13 23:24:01 +000011139 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location ipc_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_src_ipc_test_messages_ipc)",
Colin Cross84172332021-09-14 16:41:33 -070011140 out: [
11141 "external/perfetto/src/ipc/test/client_unittest_messages.ipc.cc",
11142 "external/perfetto/src/ipc/test/deferred_unittest_messages.ipc.cc",
11143 "external/perfetto/src/ipc/test/greeter_service.ipc.cc",
11144 ],
Primiano Tucci3aa027d2019-11-22 21:43:43 +000011145}
11146
11147// GN: //src/ipc:test_messages_ipc
11148genrule {
Colin Cross84172332021-09-14 16:41:33 -070011149 name: "perfetto_src_ipc_test_messages_ipc_gen_headers",
11150 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +000011151 ":perfetto_protos_perfetto_ipc_wire_protocol_cpp",
11152 ":perfetto_src_ipc_test_messages_cpp",
11153 ":perfetto_src_ipc_test_messages_ipc",
Colin Cross84172332021-09-14 16:41:33 -070011154 ],
11155 tools: [
11156 "aprotoc",
11157 "ipc_plugin",
11158 ],
Spandan Das34f1b982023-10-13 23:24:01 +000011159 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location ipc_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_src_ipc_test_messages_ipc)",
Colin Cross84172332021-09-14 16:41:33 -070011160 out: [
11161 "external/perfetto/src/ipc/test/client_unittest_messages.ipc.h",
11162 "external/perfetto/src/ipc/test/deferred_unittest_messages.ipc.h",
11163 "external/perfetto/src/ipc/test/greeter_service.ipc.h",
11164 ],
11165 export_include_dirs: [
11166 ".",
11167 "protos",
11168 ],
Primiano Tucci3aa027d2019-11-22 21:43:43 +000011169}
11170
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010011171// GN: //src/ipc:unittests
11172filegroup {
Colin Cross84172332021-09-14 16:41:33 -070011173 name: "perfetto_src_ipc_unittests",
11174 srcs: [
11175 "src/ipc/buffered_frame_deserializer_unittest.cc",
11176 "src/ipc/client_impl_unittest.cc",
11177 "src/ipc/deferred_unittest.cc",
11178 "src/ipc/host_impl_unittest.cc",
11179 "src/ipc/test/ipc_integrationtest.cc",
11180 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010011181}
11182
Ryan Savitskidc218882020-11-16 18:02:02 +000011183// GN: //src/kallsyms:kallsyms
11184filegroup {
Colin Cross84172332021-09-14 16:41:33 -070011185 name: "perfetto_src_kallsyms_kallsyms",
11186 srcs: [
11187 "src/kallsyms/kernel_symbol_map.cc",
11188 "src/kallsyms/lazy_kernel_symbolizer.cc",
11189 ],
Ryan Savitskidc218882020-11-16 18:02:02 +000011190}
11191
11192// GN: //src/kallsyms:unittests
11193filegroup {
Colin Cross84172332021-09-14 16:41:33 -070011194 name: "perfetto_src_kallsyms_unittests",
11195 srcs: [
11196 "src/kallsyms/kernel_symbol_map_unittest.cc",
11197 "src/kallsyms/lazy_kernel_symbolizer_unittest.cc",
11198 ],
Ryan Savitskidc218882020-11-16 18:02:02 +000011199}
11200
Ryan Zuklieec18eb32022-07-25 15:51:59 -070011201// GN: //src/kernel_utils:syscall_table
11202filegroup {
11203 name: "perfetto_src_kernel_utils_syscall_table",
11204 srcs: [
11205 "src/kernel_utils/syscall_table.cc",
11206 ],
11207}
11208
Primiano Tucci26ff9292024-01-30 00:37:01 +000011209// GN: //src/kernel_utils:unittests
11210filegroup {
11211 name: "perfetto_src_kernel_utils_unittests",
11212 srcs: [
11213 "src/kernel_utils/syscall_table_unittest.cc",
11214 ],
11215}
11216
Primiano Tucci3970dfd2023-03-28 13:02:27 +010011217// GN: //src/perfetto_cmd:bugreport_path
11218filegroup {
11219 name: "perfetto_src_perfetto_cmd_bugreport_path",
11220}
11221
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010011222// GN: //src/perfetto_cmd:perfetto_cmd
11223filegroup {
Colin Cross84172332021-09-14 16:41:33 -070011224 name: "perfetto_src_perfetto_cmd_perfetto_cmd",
11225 srcs: [
11226 "src/perfetto_cmd/config.cc",
11227 "src/perfetto_cmd/packet_writer.cc",
Colin Cross84172332021-09-14 16:41:33 -070011228 "src/perfetto_cmd/perfetto_cmd.cc",
11229 "src/perfetto_cmd/perfetto_cmd_android.cc",
Colin Cross84172332021-09-14 16:41:33 -070011230 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010011231}
11232
Lalit Maganti79d70fe2022-02-15 18:31:09 +000011233// GN: //src/perfetto_cmd:protos_cpp
Spandan Das34f1b982023-10-13 23:24:01 +000011234filegroup {
11235 name: "perfetto_src_perfetto_cmd_protos_cpp",
11236 srcs: [
11237 "src/perfetto_cmd/perfetto_cmd_state.proto",
11238 ],
11239}
11240
11241// GN: //src/perfetto_cmd:protos_cpp
Hector Dearman86cfbe12018-03-22 11:58:42 +000011242genrule {
Lalit Maganti79d70fe2022-02-15 18:31:09 +000011243 name: "perfetto_src_perfetto_cmd_protos_cpp_gen",
Colin Cross84172332021-09-14 16:41:33 -070011244 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +000011245 ":perfetto_src_perfetto_cmd_protos_cpp",
Colin Cross84172332021-09-14 16:41:33 -070011246 ],
11247 tools: [
11248 "aprotoc",
11249 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
11250 ],
Spandan Das34f1b982023-10-13 23:24:01 +000011251 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_src_perfetto_cmd_protos_cpp)",
Colin Cross84172332021-09-14 16:41:33 -070011252 out: [
11253 "external/perfetto/src/perfetto_cmd/perfetto_cmd_state.gen.cc",
11254 ],
Hector Dearman86cfbe12018-03-22 11:58:42 +000011255}
11256
Lalit Maganti79d70fe2022-02-15 18:31:09 +000011257// GN: //src/perfetto_cmd:protos_cpp
Hector Dearman86cfbe12018-03-22 11:58:42 +000011258genrule {
Lalit Maganti79d70fe2022-02-15 18:31:09 +000011259 name: "perfetto_src_perfetto_cmd_protos_cpp_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -070011260 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +000011261 ":perfetto_src_perfetto_cmd_protos_cpp",
Colin Cross84172332021-09-14 16:41:33 -070011262 ],
11263 tools: [
11264 "aprotoc",
11265 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
11266 ],
Spandan Das34f1b982023-10-13 23:24:01 +000011267 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_src_perfetto_cmd_protos_cpp)",
Colin Cross84172332021-09-14 16:41:33 -070011268 out: [
11269 "external/perfetto/src/perfetto_cmd/perfetto_cmd_state.gen.h",
11270 ],
11271 export_include_dirs: [
11272 ".",
11273 "protos",
11274 ],
Hector Dearman86cfbe12018-03-22 11:58:42 +000011275}
11276
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010011277// GN: //src/perfetto_cmd:trigger_perfetto_cmd
11278filegroup {
Colin Cross84172332021-09-14 16:41:33 -070011279 name: "perfetto_src_perfetto_cmd_trigger_perfetto_cmd",
11280 srcs: [
11281 "src/perfetto_cmd/trigger_perfetto.cc",
11282 ],
Sami Kyostilaebba0fe2017-12-19 14:01:52 +000011283}
11284
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010011285// GN: //src/perfetto_cmd:trigger_producer
11286filegroup {
Colin Cross84172332021-09-14 16:41:33 -070011287 name: "perfetto_src_perfetto_cmd_trigger_producer",
11288 srcs: [
11289 "src/perfetto_cmd/trigger_producer.cc",
11290 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010011291}
11292
11293// GN: //src/perfetto_cmd:unittests
11294filegroup {
Colin Cross84172332021-09-14 16:41:33 -070011295 name: "perfetto_src_perfetto_cmd_unittests",
11296 srcs: [
11297 "src/perfetto_cmd/config_unittest.cc",
11298 "src/perfetto_cmd/packet_writer_unittest.cc",
Colin Cross84172332021-09-14 16:41:33 -070011299 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010011300}
11301
Ryan Savitski683b57f2020-02-06 22:09:19 +000011302// GN: //src/profiling/common:callstack_trie
11303filegroup {
Colin Cross84172332021-09-14 16:41:33 -070011304 name: "perfetto_src_profiling_common_callstack_trie",
11305 srcs: [
11306 "src/profiling/common/callstack_trie.cc",
11307 ],
Ryan Savitski683b57f2020-02-06 22:09:19 +000011308}
11309
11310// GN: //src/profiling/common:interner
11311filegroup {
Colin Cross84172332021-09-14 16:41:33 -070011312 name: "perfetto_src_profiling_common_interner",
Ryan Savitski683b57f2020-02-06 22:09:19 +000011313}
11314
Ryan Savitski0154ba32020-02-07 13:29:21 +000011315// GN: //src/profiling/common:interning_output
11316filegroup {
Colin Cross84172332021-09-14 16:41:33 -070011317 name: "perfetto_src_profiling_common_interning_output",
11318 srcs: [
11319 "src/profiling/common/interning_output.cc",
11320 ],
Ryan Savitski0154ba32020-02-07 13:29:21 +000011321}
11322
Ryan Savitski006d75d2022-04-04 13:15:56 +010011323// GN: //src/profiling/common:proc_cmdline
11324filegroup {
11325 name: "perfetto_src_profiling_common_proc_cmdline",
11326 srcs: [
11327 "src/profiling/common/proc_cmdline.cc",
11328 ],
11329}
11330
Ryan Savitski1ae8a812020-03-02 18:22:39 +000011331// GN: //src/profiling/common:proc_utils
11332filegroup {
Colin Cross84172332021-09-14 16:41:33 -070011333 name: "perfetto_src_profiling_common_proc_utils",
11334 srcs: [
11335 "src/profiling/common/proc_utils.cc",
11336 ],
Ryan Savitski1ae8a812020-03-02 18:22:39 +000011337}
11338
Florian Mayer7d55ff32021-01-14 12:59:43 +000011339// GN: //src/profiling/common:producer_support
11340filegroup {
Colin Cross84172332021-09-14 16:41:33 -070011341 name: "perfetto_src_profiling_common_producer_support",
11342 srcs: [
11343 "src/profiling/common/producer_support.cc",
11344 ],
Florian Mayer7d55ff32021-01-14 12:59:43 +000011345}
11346
Florian Mayerc3ed7cb2020-11-18 16:12:18 +000011347// GN: //src/profiling/common:profiler_guardrails
11348filegroup {
Colin Cross84172332021-09-14 16:41:33 -070011349 name: "perfetto_src_profiling_common_profiler_guardrails",
11350 srcs: [
11351 "src/profiling/common/profiler_guardrails.cc",
11352 ],
Florian Mayerc3ed7cb2020-11-18 16:12:18 +000011353}
11354
Ryan Savitski683b57f2020-02-06 22:09:19 +000011355// GN: //src/profiling/common:unittests
11356filegroup {
Colin Cross84172332021-09-14 16:41:33 -070011357 name: "perfetto_src_profiling_common_unittests",
11358 srcs: [
11359 "src/profiling/common/interner_unittest.cc",
Ryan Savitski006d75d2022-04-04 13:15:56 +010011360 "src/profiling/common/proc_cmdline_unittest.cc",
Colin Cross84172332021-09-14 16:41:33 -070011361 "src/profiling/common/proc_utils_unittest.cc",
11362 "src/profiling/common/producer_support_unittest.cc",
11363 "src/profiling/common/profiler_guardrails_unittest.cc",
11364 ],
Ryan Savitski683b57f2020-02-06 22:09:19 +000011365}
11366
Ryan Savitski33fd8b72020-02-04 15:06:15 +000011367// GN: //src/profiling/common:unwind_support
11368filegroup {
Colin Cross84172332021-09-14 16:41:33 -070011369 name: "perfetto_src_profiling_common_unwind_support",
11370 srcs: [
11371 "src/profiling/common/unwind_support.cc",
11372 ],
Ryan Savitski33fd8b72020-02-04 15:06:15 +000011373}
11374
Florian Mayer82375962019-11-20 16:45:28 +000011375// GN: //src/profiling:deobfuscator
11376filegroup {
Colin Cross84172332021-09-14 16:41:33 -070011377 name: "perfetto_src_profiling_deobfuscator",
11378 srcs: [
11379 "src/profiling/deobfuscator.cc",
11380 ],
Florian Mayer82375962019-11-20 16:45:28 +000011381}
11382
Florian Mayer682f05a2020-08-11 10:16:54 +010011383// GN: //src/profiling/memory:bionic_libc_platform_headers_on_android
11384filegroup {
Colin Cross84172332021-09-14 16:41:33 -070011385 name: "perfetto_src_profiling_memory_bionic_libc_platform_headers_on_android",
Florian Mayer682f05a2020-08-11 10:16:54 +010011386}
11387
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010011388// GN: //src/profiling/memory:client
11389filegroup {
Colin Cross84172332021-09-14 16:41:33 -070011390 name: "perfetto_src_profiling_memory_client",
11391 srcs: [
11392 "src/profiling/memory/client.cc",
11393 "src/profiling/memory/sampler.cc",
11394 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010011395}
11396
Florian Mayer40c612f2020-09-17 17:17:44 +010011397// GN: //src/profiling/memory:client_api
Florian Mayer23f79372020-06-16 14:37:06 +020011398filegroup {
Colin Cross84172332021-09-14 16:41:33 -070011399 name: "perfetto_src_profiling_memory_client_api",
11400 srcs: [
11401 "src/profiling/memory/client_api.cc",
11402 ],
Florian Mayer23f79372020-06-16 14:37:06 +020011403}
11404
Florian Mayer40c612f2020-09-17 17:17:44 +010011405// GN: //src/profiling/memory:client_api_standalone
Florian Mayer7ea688b2020-09-15 10:59:36 +010011406filegroup {
Colin Cross84172332021-09-14 16:41:33 -070011407 name: "perfetto_src_profiling_memory_client_api_standalone",
11408 srcs: [
11409 "src/profiling/memory/client_api_factory_standalone.cc",
11410 ],
Florian Mayer7ea688b2020-09-15 10:59:36 +010011411}
11412
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010011413// GN: //src/profiling/memory:daemon
11414filegroup {
Colin Cross84172332021-09-14 16:41:33 -070011415 name: "perfetto_src_profiling_memory_daemon",
11416 srcs: [
11417 "src/profiling/memory/bookkeeping.cc",
11418 "src/profiling/memory/bookkeeping_dump.cc",
11419 "src/profiling/memory/heapprofd_producer.cc",
11420 "src/profiling/memory/java_hprof_producer.cc",
11421 "src/profiling/memory/log_histogram.cc",
11422 "src/profiling/memory/system_property.cc",
11423 "src/profiling/memory/unwinding.cc",
11424 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010011425}
11426
11427// GN: //src/profiling/memory:end_to_end_tests
11428filegroup {
Colin Cross84172332021-09-14 16:41:33 -070011429 name: "perfetto_src_profiling_memory_end_to_end_tests",
11430 srcs: [
11431 "src/profiling/memory/heapprofd_end_to_end_test.cc",
Daniele Di Proiettof56345b2022-11-02 10:16:11 +000011432 "src/profiling/memory/heapprofd_producer_integrationtest.cc",
Colin Cross84172332021-09-14 16:41:33 -070011433 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010011434}
11435
Primiano Tucci890cfbe2021-05-21 13:38:45 +010011436// GN: //src/profiling/memory:heapprofd_main
11437filegroup {
Colin Cross84172332021-09-14 16:41:33 -070011438 name: "perfetto_src_profiling_memory_heapprofd_main",
11439 srcs: [
11440 "src/profiling/memory/heapprofd.cc",
11441 ],
Primiano Tucci890cfbe2021-05-21 13:38:45 +010011442}
11443
Florian Mayer7c52b262021-01-13 12:44:53 +000011444// GN: //src/profiling/memory:malloc_interceptor_bionic_hooks
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010011445filegroup {
Colin Cross84172332021-09-14 16:41:33 -070011446 name: "perfetto_src_profiling_memory_malloc_interceptor_bionic_hooks",
11447 srcs: [
11448 "src/profiling/memory/malloc_interceptor_bionic_hooks.cc",
11449 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010011450}
11451
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010011452// GN: //src/profiling/memory:ring_buffer
11453filegroup {
Colin Cross84172332021-09-14 16:41:33 -070011454 name: "perfetto_src_profiling_memory_ring_buffer",
11455 srcs: [
11456 "src/profiling/memory/shared_ring_buffer.cc",
11457 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010011458}
11459
11460// GN: //src/profiling/memory:ring_buffer_unittests
11461filegroup {
Colin Cross84172332021-09-14 16:41:33 -070011462 name: "perfetto_src_profiling_memory_ring_buffer_unittests",
11463 srcs: [
11464 "src/profiling/memory/shared_ring_buffer_unittest.cc",
11465 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010011466}
11467
11468// GN: //src/profiling/memory:scoped_spinlock
11469filegroup {
Colin Cross84172332021-09-14 16:41:33 -070011470 name: "perfetto_src_profiling_memory_scoped_spinlock",
11471 srcs: [
11472 "src/profiling/memory/scoped_spinlock.cc",
11473 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010011474}
11475
11476// GN: //src/profiling/memory:unittests
11477filegroup {
Colin Cross84172332021-09-14 16:41:33 -070011478 name: "perfetto_src_profiling_memory_unittests",
11479 srcs: [
11480 "src/profiling/memory/bookkeeping_unittest.cc",
11481 "src/profiling/memory/client_unittest.cc",
11482 "src/profiling/memory/heapprofd_producer_unittest.cc",
11483 "src/profiling/memory/parse_smaps_unittest.cc",
11484 "src/profiling/memory/sampler_unittest.cc",
11485 "src/profiling/memory/system_property_unittest.cc",
11486 "src/profiling/memory/unwinding_unittest.cc",
11487 "src/profiling/memory/wire_protocol_unittest.cc",
11488 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010011489}
11490
11491// GN: //src/profiling/memory:wire_protocol
11492filegroup {
Colin Cross84172332021-09-14 16:41:33 -070011493 name: "perfetto_src_profiling_memory_wire_protocol",
11494 srcs: [
11495 "src/profiling/memory/wire_protocol.cc",
11496 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010011497}
11498
Florian Mayer7aab03a2020-09-14 16:40:09 +010011499// GN: //src/profiling/memory:wrap_allocators
11500filegroup {
Colin Cross84172332021-09-14 16:41:33 -070011501 name: "perfetto_src_profiling_memory_wrap_allocators",
11502 srcs: [
11503 "src/profiling/memory/wrap_allocators.cc",
11504 ],
Florian Mayer7aab03a2020-09-14 16:40:09 +010011505}
11506
Ryan Savitskiccd89612020-03-09 18:31:47 +000011507// GN: //src/profiling/perf:common_types
11508filegroup {
Colin Cross84172332021-09-14 16:41:33 -070011509 name: "perfetto_src_profiling_perf_common_types",
Ryan Savitskiccd89612020-03-09 18:31:47 +000011510}
11511
Ryan Savitskic46d4dc2020-02-04 15:03:38 +000011512// GN: //src/profiling/perf:proc_descriptors
11513filegroup {
Colin Cross84172332021-09-14 16:41:33 -070011514 name: "perfetto_src_profiling_perf_proc_descriptors",
11515 srcs: [
11516 "src/profiling/perf/proc_descriptors.cc",
11517 ],
Ryan Savitskic46d4dc2020-02-04 15:03:38 +000011518}
11519
Ryan Savitski462b5db2019-11-20 19:06:46 +000011520// GN: //src/profiling/perf:producer
11521filegroup {
Colin Cross84172332021-09-14 16:41:33 -070011522 name: "perfetto_src_profiling_perf_producer",
11523 srcs: [
11524 "src/profiling/perf/event_config.cc",
11525 "src/profiling/perf/event_reader.cc",
11526 "src/profiling/perf/perf_producer.cc",
11527 ],
Ryan Savitski462b5db2019-11-20 19:06:46 +000011528}
11529
11530// GN: //src/profiling/perf:producer_unittests
11531filegroup {
Colin Cross84172332021-09-14 16:41:33 -070011532 name: "perfetto_src_profiling_perf_producer_unittests",
11533 srcs: [
11534 "src/profiling/perf/event_config_unittest.cc",
Sim Sunab3bf512024-11-08 09:10:29 -080011535 "src/profiling/perf/frame_pointer_unwinder_unittest.cc",
Ryan Savitskid15fb7e2022-07-26 14:41:50 +010011536 "src/profiling/perf/perf_producer_unittest.cc",
Colin Cross84172332021-09-14 16:41:33 -070011537 "src/profiling/perf/unwind_queue_unittest.cc",
11538 ],
Ryan Savitski462b5db2019-11-20 19:06:46 +000011539}
11540
Ryan Savitskic46d4dc2020-02-04 15:03:38 +000011541// GN: //src/profiling/perf:regs_parsing
11542filegroup {
Colin Cross84172332021-09-14 16:41:33 -070011543 name: "perfetto_src_profiling_perf_regs_parsing",
11544 srcs: [
11545 "src/profiling/perf/regs_parsing.cc",
11546 ],
Ryan Savitskic46d4dc2020-02-04 15:03:38 +000011547}
11548
Ryan Savitski462b5db2019-11-20 19:06:46 +000011549// GN: //src/profiling/perf:traced_perf_main
11550filegroup {
Colin Cross84172332021-09-14 16:41:33 -070011551 name: "perfetto_src_profiling_perf_traced_perf_main",
11552 srcs: [
11553 "src/profiling/perf/traced_perf.cc",
11554 ],
Ryan Savitski462b5db2019-11-20 19:06:46 +000011555}
11556
Ryan Savitski95f126d2020-03-08 22:36:53 +000011557// GN: //src/profiling/perf:unwinding
11558filegroup {
Colin Cross84172332021-09-14 16:41:33 -070011559 name: "perfetto_src_profiling_perf_unwinding",
11560 srcs: [
Sim Sunab3bf512024-11-08 09:10:29 -080011561 "src/profiling/perf/frame_pointer_unwinder.cc",
Colin Cross84172332021-09-14 16:41:33 -070011562 "src/profiling/perf/unwinding.cc",
11563 ],
Ryan Savitski95f126d2020-03-08 22:36:53 +000011564}
11565
Florian Mayerbd88ff82019-12-18 16:36:37 +000011566// GN: //src/profiling/symbolizer:symbolize_database
11567filegroup {
Colin Cross84172332021-09-14 16:41:33 -070011568 name: "perfetto_src_profiling_symbolizer_symbolize_database",
11569 srcs: [
11570 "src/profiling/symbolizer/symbolize_database.cc",
11571 ],
Florian Mayerbd88ff82019-12-18 16:36:37 +000011572}
11573
11574// GN: //src/profiling/symbolizer:symbolizer
11575filegroup {
Colin Cross84172332021-09-14 16:41:33 -070011576 name: "perfetto_src_profiling_symbolizer_symbolizer",
11577 srcs: [
11578 "src/profiling/symbolizer/breakpad_parser.cc",
11579 "src/profiling/symbolizer/breakpad_symbolizer.cc",
Daniele Di Proiettocb426002023-02-16 12:14:38 +000011580 "src/profiling/symbolizer/filesystem_posix.cc",
11581 "src/profiling/symbolizer/filesystem_windows.cc",
Colin Cross84172332021-09-14 16:41:33 -070011582 "src/profiling/symbolizer/local_symbolizer.cc",
Colin Cross84172332021-09-14 16:41:33 -070011583 "src/profiling/symbolizer/subprocess_posix.cc",
11584 "src/profiling/symbolizer/subprocess_windows.cc",
11585 "src/profiling/symbolizer/symbolizer.cc",
11586 ],
Florian Mayerbd88ff82019-12-18 16:36:37 +000011587}
11588
Florian Mayer4dd5a1f2020-07-14 13:00:51 +010011589// GN: //src/profiling/symbolizer:unittests
11590filegroup {
Colin Cross84172332021-09-14 16:41:33 -070011591 name: "perfetto_src_profiling_symbolizer_unittests",
11592 srcs: [
11593 "src/profiling/symbolizer/breakpad_parser_unittest.cc",
11594 "src/profiling/symbolizer/breakpad_symbolizer_unittest.cc",
11595 "src/profiling/symbolizer/local_symbolizer_unittest.cc",
11596 ],
Florian Mayer4dd5a1f2020-07-14 13:00:51 +010011597}
11598
Florian Mayer82375962019-11-20 16:45:28 +000011599// GN: //src/profiling:unittests
11600filegroup {
Colin Cross84172332021-09-14 16:41:33 -070011601 name: "perfetto_src_profiling_unittests",
11602 srcs: [
11603 "src/profiling/deobfuscator_unittest.cc",
11604 ],
Florian Mayer82375962019-11-20 16:45:28 +000011605}
11606
Primiano Tucci82527cb2021-05-14 14:22:59 +010011607// GN: //src/protozero/filtering:bytecode_common
11608filegroup {
Colin Cross84172332021-09-14 16:41:33 -070011609 name: "perfetto_src_protozero_filtering_bytecode_common",
Primiano Tucci82527cb2021-05-14 14:22:59 +010011610}
11611
Primiano Tuccid4b49cb2021-05-13 09:53:46 +010011612// GN: //src/protozero/filtering:bytecode_generator
11613filegroup {
Colin Cross84172332021-09-14 16:41:33 -070011614 name: "perfetto_src_protozero_filtering_bytecode_generator",
11615 srcs: [
11616 "src/protozero/filtering/filter_bytecode_generator.cc",
11617 ],
Primiano Tuccid4b49cb2021-05-13 09:53:46 +010011618}
11619
11620// GN: //src/protozero/filtering:bytecode_parser
11621filegroup {
Colin Cross84172332021-09-14 16:41:33 -070011622 name: "perfetto_src_protozero_filtering_bytecode_parser",
11623 srcs: [
11624 "src/protozero/filtering/filter_bytecode_parser.cc",
11625 ],
Primiano Tuccid4b49cb2021-05-13 09:53:46 +010011626}
11627
Primiano Tucci3f003742021-05-14 19:25:14 +010011628// GN: //src/protozero/filtering:filter_util
11629filegroup {
Colin Cross84172332021-09-14 16:41:33 -070011630 name: "perfetto_src_protozero_filtering_filter_util",
11631 srcs: [
11632 "src/protozero/filtering/filter_util.cc",
11633 ],
Primiano Tucci3f003742021-05-14 19:25:14 +010011634}
11635
11636// GN: //src/protozero/filtering:message_filter
11637filegroup {
Colin Cross84172332021-09-14 16:41:33 -070011638 name: "perfetto_src_protozero_filtering_message_filter",
11639 srcs: [
11640 "src/protozero/filtering/message_filter.cc",
11641 ],
Primiano Tucci3f003742021-05-14 19:25:14 +010011642}
11643
Lalit Maganti43b2b942023-06-21 10:31:36 +010011644// GN: //src/protozero/filtering:string_filter
11645filegroup {
11646 name: "perfetto_src_protozero_filtering_string_filter",
11647 srcs: [
11648 "src/protozero/filtering/string_filter.cc",
11649 ],
11650}
11651
Primiano Tuccid4b49cb2021-05-13 09:53:46 +010011652// GN: //src/protozero/filtering:unittests
11653filegroup {
Colin Cross84172332021-09-14 16:41:33 -070011654 name: "perfetto_src_protozero_filtering_unittests",
11655 srcs: [
11656 "src/protozero/filtering/filter_bytecode_generator_unittest.cc",
11657 "src/protozero/filtering/filter_bytecode_parser_unittest.cc",
11658 "src/protozero/filtering/filter_util_unittest.cc",
11659 "src/protozero/filtering/message_filter_unittest.cc",
11660 "src/protozero/filtering/message_tokenizer_unittest.cc",
Lalit Maganti43b2b942023-06-21 10:31:36 +010011661 "src/protozero/filtering/string_filter_unittest.cc",
Colin Cross84172332021-09-14 16:41:33 -070011662 ],
Primiano Tuccid4b49cb2021-05-13 09:53:46 +010011663}
11664
Lalit Maganti7d4b92b2021-05-20 17:16:51 +010011665// GN: //src/protozero:proto_ring_buffer
11666filegroup {
Colin Cross84172332021-09-14 16:41:33 -070011667 name: "perfetto_src_protozero_proto_ring_buffer",
11668 srcs: [
11669 "src/protozero/proto_ring_buffer.cc",
11670 ],
Lalit Maganti7d4b92b2021-05-20 17:16:51 +010011671}
11672
Primiano Tucci57dd66b2019-10-15 23:09:04 +010011673// GN: //src/protozero/protoc_plugin:cppgen_plugin
11674cc_binary_host {
Colin Cross84172332021-09-14 16:41:33 -070011675 name: "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
11676 srcs: [
Lalit Maganti52f13362023-01-23 16:38:01 +000011677 ":perfetto_base_default_platform",
Colin Cross84172332021-09-14 16:41:33 -070011678 ":perfetto_include_perfetto_base_base",
11679 ":perfetto_include_perfetto_ext_base_base",
Daniele Di Proietto8b46d692022-04-22 15:59:40 +010011680 ":perfetto_include_perfetto_public_abi_base",
11681 ":perfetto_include_perfetto_public_base",
Colin Cross84172332021-09-14 16:41:33 -070011682 ":perfetto_src_base_base",
11683 "src/protozero/protoc_plugin/cppgen_plugin.cc",
11684 ],
11685 static_libs: [
11686 "libprotoc",
11687 ],
Colin Cross84172332021-09-14 16:41:33 -070011688 defaults: [
11689 "perfetto_defaults",
11690 ],
11691 cflags: [
11692 "-DGOOGLE_PROTOBUF_NO_RTTI",
11693 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
11694 ],
Primiano Tucci57dd66b2019-10-15 23:09:04 +010011695}
11696
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010011697// GN: //src/protozero:protozero
11698filegroup {
Colin Cross84172332021-09-14 16:41:33 -070011699 name: "perfetto_src_protozero_protozero",
11700 srcs: [
11701 "src/protozero/field.cc",
Daniele Di Proiettoa8559af2022-12-15 16:20:17 +000011702 "src/protozero/gen_field_helpers.cc",
Colin Cross84172332021-09-14 16:41:33 -070011703 "src/protozero/message.cc",
11704 "src/protozero/message_arena.cc",
Colin Cross84172332021-09-14 16:41:33 -070011705 "src/protozero/packed_repeated_fields.cc",
11706 "src/protozero/proto_decoder.cc",
11707 "src/protozero/scattered_heap_buffer.cc",
11708 "src/protozero/scattered_stream_null_delegate.cc",
11709 "src/protozero/scattered_stream_writer.cc",
11710 "src/protozero/static_buffer.cc",
11711 "src/protozero/virtual_destructors.cc",
11712 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010011713}
11714
Primiano Tucci6a7813d2019-11-19 11:08:50 +000011715// GN: //src/protozero:testing_messages_cpp
Spandan Das34f1b982023-10-13 23:24:01 +000011716filegroup {
11717 name: "perfetto_src_protozero_testing_messages_cpp",
Colin Cross84172332021-09-14 16:41:33 -070011718 srcs: [
11719 "src/protozero/test/example_proto/extensions.proto",
11720 "src/protozero/test/example_proto/library.proto",
11721 "src/protozero/test/example_proto/library_internals/galaxies.proto",
11722 "src/protozero/test/example_proto/test_messages.proto",
11723 "src/protozero/test/example_proto/upper_import.proto",
11724 ],
Spandan Das34f1b982023-10-13 23:24:01 +000011725}
11726
11727// GN: //src/protozero:testing_messages_cpp
11728genrule {
11729 name: "perfetto_src_protozero_testing_messages_cpp_gen",
11730 srcs: [
11731 ":perfetto_src_protozero_testing_messages_cpp",
Daniele Di Proietto216d50b2024-03-21 14:15:19 +000011732 ":perfetto_src_protozero_testing_messages_other_package_cpp",
11733 ":perfetto_src_protozero_testing_messages_subpackage_cpp",
Spandan Das34f1b982023-10-13 23:24:01 +000011734 ],
Colin Cross84172332021-09-14 16:41:33 -070011735 tools: [
11736 "aprotoc",
11737 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
11738 ],
Spandan Das34f1b982023-10-13 23:24:01 +000011739 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_src_protozero_testing_messages_cpp)",
Colin Cross84172332021-09-14 16:41:33 -070011740 out: [
11741 "external/perfetto/src/protozero/test/example_proto/extensions.gen.cc",
11742 "external/perfetto/src/protozero/test/example_proto/library.gen.cc",
11743 "external/perfetto/src/protozero/test/example_proto/library_internals/galaxies.gen.cc",
11744 "external/perfetto/src/protozero/test/example_proto/test_messages.gen.cc",
11745 "external/perfetto/src/protozero/test/example_proto/upper_import.gen.cc",
11746 ],
Primiano Tucci6a7813d2019-11-19 11:08:50 +000011747}
11748
11749// GN: //src/protozero:testing_messages_cpp
11750genrule {
Colin Cross84172332021-09-14 16:41:33 -070011751 name: "perfetto_src_protozero_testing_messages_cpp_gen_headers",
11752 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +000011753 ":perfetto_src_protozero_testing_messages_cpp",
Daniele Di Proietto216d50b2024-03-21 14:15:19 +000011754 ":perfetto_src_protozero_testing_messages_other_package_cpp",
11755 ":perfetto_src_protozero_testing_messages_subpackage_cpp",
Colin Cross84172332021-09-14 16:41:33 -070011756 ],
11757 tools: [
11758 "aprotoc",
11759 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
11760 ],
Spandan Das34f1b982023-10-13 23:24:01 +000011761 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_src_protozero_testing_messages_cpp)",
Colin Cross84172332021-09-14 16:41:33 -070011762 out: [
11763 "external/perfetto/src/protozero/test/example_proto/extensions.gen.h",
11764 "external/perfetto/src/protozero/test/example_proto/library.gen.h",
11765 "external/perfetto/src/protozero/test/example_proto/library_internals/galaxies.gen.h",
11766 "external/perfetto/src/protozero/test/example_proto/test_messages.gen.h",
11767 "external/perfetto/src/protozero/test/example_proto/upper_import.gen.h",
11768 ],
11769 export_include_dirs: [
11770 ".",
11771 "protos",
11772 ],
Primiano Tucci6a7813d2019-11-19 11:08:50 +000011773}
11774
Lalit Maganti38e23cc2024-10-30 21:04:12 +000011775// GN: //src/protozero:testing_messages_descriptor
11776genrule {
11777 name: "perfetto_src_protozero_testing_messages_descriptor",
11778 srcs: [
11779 "src/protozero/test/example_proto/extensions.proto",
11780 "src/protozero/test/example_proto/library.proto",
11781 "src/protozero/test/example_proto/library_internals/galaxies.proto",
11782 "src/protozero/test/example_proto/other_package/test_messages.proto",
11783 "src/protozero/test/example_proto/subpackage/test_messages.proto",
11784 "src/protozero/test/example_proto/test_messages.proto",
11785 "src/protozero/test/example_proto/upper_import.proto",
11786 ],
11787 tools: [
11788 "aprotoc",
11789 ],
11790 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --descriptor_set_out=$(out) $(in)",
11791 out: [
11792 "perfetto_src_protozero_testing_messages_descriptor.bin",
11793 ],
11794}
11795
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010011796// GN: //src/protozero:testing_messages_lite
Spandan Das34f1b982023-10-13 23:24:01 +000011797filegroup {
11798 name: "perfetto_src_protozero_testing_messages_lite",
Colin Cross84172332021-09-14 16:41:33 -070011799 srcs: [
11800 "src/protozero/test/example_proto/extensions.proto",
11801 "src/protozero/test/example_proto/library.proto",
11802 "src/protozero/test/example_proto/library_internals/galaxies.proto",
11803 "src/protozero/test/example_proto/test_messages.proto",
11804 "src/protozero/test/example_proto/upper_import.proto",
11805 ],
Spandan Das34f1b982023-10-13 23:24:01 +000011806}
11807
11808// GN: //src/protozero:testing_messages_lite
11809genrule {
11810 name: "perfetto_src_protozero_testing_messages_lite_gen",
11811 srcs: [
11812 ":perfetto_src_protozero_testing_messages_lite",
Daniele Di Proietto216d50b2024-03-21 14:15:19 +000011813 ":perfetto_src_protozero_testing_messages_other_package_lite",
11814 ":perfetto_src_protozero_testing_messages_subpackage_lite",
Spandan Das34f1b982023-10-13 23:24:01 +000011815 ],
Colin Cross84172332021-09-14 16:41:33 -070011816 tools: [
11817 "aprotoc",
11818 ],
Spandan Das34f1b982023-10-13 23:24:01 +000011819 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_src_protozero_testing_messages_lite)",
Colin Cross84172332021-09-14 16:41:33 -070011820 out: [
11821 "external/perfetto/src/protozero/test/example_proto/extensions.pb.cc",
11822 "external/perfetto/src/protozero/test/example_proto/library.pb.cc",
11823 "external/perfetto/src/protozero/test/example_proto/library_internals/galaxies.pb.cc",
11824 "external/perfetto/src/protozero/test/example_proto/test_messages.pb.cc",
11825 "external/perfetto/src/protozero/test/example_proto/upper_import.pb.cc",
11826 ],
Sami Kyostilab27619f2017-12-13 19:22:16 +000011827}
11828
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010011829// GN: //src/protozero:testing_messages_lite
Sami Kyostilaebba0fe2017-12-19 14:01:52 +000011830genrule {
Colin Cross84172332021-09-14 16:41:33 -070011831 name: "perfetto_src_protozero_testing_messages_lite_gen_headers",
11832 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +000011833 ":perfetto_src_protozero_testing_messages_lite",
Daniele Di Proietto216d50b2024-03-21 14:15:19 +000011834 ":perfetto_src_protozero_testing_messages_other_package_lite",
11835 ":perfetto_src_protozero_testing_messages_subpackage_lite",
Colin Cross84172332021-09-14 16:41:33 -070011836 ],
11837 tools: [
11838 "aprotoc",
11839 ],
Spandan Das34f1b982023-10-13 23:24:01 +000011840 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_src_protozero_testing_messages_lite)",
Colin Cross84172332021-09-14 16:41:33 -070011841 out: [
11842 "external/perfetto/src/protozero/test/example_proto/extensions.pb.h",
11843 "external/perfetto/src/protozero/test/example_proto/library.pb.h",
11844 "external/perfetto/src/protozero/test/example_proto/library_internals/galaxies.pb.h",
11845 "external/perfetto/src/protozero/test/example_proto/test_messages.pb.h",
11846 "external/perfetto/src/protozero/test/example_proto/upper_import.pb.h",
11847 ],
11848 export_include_dirs: [
11849 ".",
11850 "protos",
11851 ],
Sami Kyostilaebba0fe2017-12-19 14:01:52 +000011852}
11853
Daniele Di Proietto216d50b2024-03-21 14:15:19 +000011854// GN: //src/protozero:testing_messages_other_package_cpp
11855filegroup {
11856 name: "perfetto_src_protozero_testing_messages_other_package_cpp",
11857 srcs: [
11858 "src/protozero/test/example_proto/other_package/test_messages.proto",
11859 ],
11860}
11861
11862// GN: //src/protozero:testing_messages_other_package_cpp
11863genrule {
11864 name: "perfetto_src_protozero_testing_messages_other_package_cpp_gen",
11865 srcs: [
11866 ":perfetto_src_protozero_testing_messages_other_package_cpp",
11867 ],
11868 tools: [
11869 "aprotoc",
11870 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
11871 ],
11872 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_src_protozero_testing_messages_other_package_cpp)",
11873 out: [
11874 "external/perfetto/src/protozero/test/example_proto/other_package/test_messages.gen.cc",
11875 ],
11876}
11877
11878// GN: //src/protozero:testing_messages_other_package_cpp
11879genrule {
11880 name: "perfetto_src_protozero_testing_messages_other_package_cpp_gen_headers",
11881 srcs: [
11882 ":perfetto_src_protozero_testing_messages_other_package_cpp",
11883 ],
11884 tools: [
11885 "aprotoc",
11886 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
11887 ],
11888 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_src_protozero_testing_messages_other_package_cpp)",
11889 out: [
11890 "external/perfetto/src/protozero/test/example_proto/other_package/test_messages.gen.h",
11891 ],
11892 export_include_dirs: [
11893 ".",
11894 "protos",
11895 ],
11896}
11897
11898// GN: //src/protozero:testing_messages_other_package_lite
11899filegroup {
11900 name: "perfetto_src_protozero_testing_messages_other_package_lite",
11901 srcs: [
11902 "src/protozero/test/example_proto/other_package/test_messages.proto",
11903 ],
11904}
11905
11906// GN: //src/protozero:testing_messages_other_package_lite
11907genrule {
11908 name: "perfetto_src_protozero_testing_messages_other_package_lite_gen",
11909 srcs: [
11910 ":perfetto_src_protozero_testing_messages_other_package_lite",
11911 ],
11912 tools: [
11913 "aprotoc",
11914 ],
11915 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_src_protozero_testing_messages_other_package_lite)",
11916 out: [
11917 "external/perfetto/src/protozero/test/example_proto/other_package/test_messages.pb.cc",
11918 ],
11919}
11920
11921// GN: //src/protozero:testing_messages_other_package_lite
11922genrule {
11923 name: "perfetto_src_protozero_testing_messages_other_package_lite_gen_headers",
11924 srcs: [
11925 ":perfetto_src_protozero_testing_messages_other_package_lite",
11926 ],
11927 tools: [
11928 "aprotoc",
11929 ],
11930 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_src_protozero_testing_messages_other_package_lite)",
11931 out: [
11932 "external/perfetto/src/protozero/test/example_proto/other_package/test_messages.pb.h",
11933 ],
11934 export_include_dirs: [
11935 ".",
11936 "protos",
11937 ],
11938}
11939
11940// GN: //src/protozero:testing_messages_other_package_zero
11941filegroup {
11942 name: "perfetto_src_protozero_testing_messages_other_package_zero",
11943 srcs: [
11944 "src/protozero/test/example_proto/other_package/test_messages.proto",
11945 ],
11946}
11947
11948// GN: //src/protozero:testing_messages_other_package_zero
11949genrule {
11950 name: "perfetto_src_protozero_testing_messages_other_package_zero_gen",
11951 srcs: [
11952 ":perfetto_src_protozero_testing_messages_other_package_zero",
11953 ],
11954 tools: [
11955 "aprotoc",
11956 "protozero_plugin",
11957 ],
11958 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_src_protozero_testing_messages_other_package_zero)",
11959 out: [
11960 "external/perfetto/src/protozero/test/example_proto/other_package/test_messages.pbzero.cc",
11961 ],
11962}
11963
11964// GN: //src/protozero:testing_messages_other_package_zero
11965genrule {
11966 name: "perfetto_src_protozero_testing_messages_other_package_zero_gen_headers",
11967 srcs: [
11968 ":perfetto_src_protozero_testing_messages_other_package_zero",
11969 ],
11970 tools: [
11971 "aprotoc",
11972 "protozero_plugin",
11973 ],
11974 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_src_protozero_testing_messages_other_package_zero)",
11975 out: [
11976 "external/perfetto/src/protozero/test/example_proto/other_package/test_messages.pbzero.h",
11977 ],
11978 export_include_dirs: [
11979 ".",
11980 "protos",
11981 ],
11982}
11983
11984// GN: //src/protozero:testing_messages_subpackage_cpp
11985filegroup {
11986 name: "perfetto_src_protozero_testing_messages_subpackage_cpp",
11987 srcs: [
11988 "src/protozero/test/example_proto/subpackage/test_messages.proto",
11989 ],
11990}
11991
11992// GN: //src/protozero:testing_messages_subpackage_cpp
11993genrule {
11994 name: "perfetto_src_protozero_testing_messages_subpackage_cpp_gen",
11995 srcs: [
11996 ":perfetto_src_protozero_testing_messages_subpackage_cpp",
11997 ],
11998 tools: [
11999 "aprotoc",
12000 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
12001 ],
12002 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_src_protozero_testing_messages_subpackage_cpp)",
12003 out: [
12004 "external/perfetto/src/protozero/test/example_proto/subpackage/test_messages.gen.cc",
12005 ],
12006}
12007
12008// GN: //src/protozero:testing_messages_subpackage_cpp
12009genrule {
12010 name: "perfetto_src_protozero_testing_messages_subpackage_cpp_gen_headers",
12011 srcs: [
12012 ":perfetto_src_protozero_testing_messages_subpackage_cpp",
12013 ],
12014 tools: [
12015 "aprotoc",
12016 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
12017 ],
12018 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_src_protozero_testing_messages_subpackage_cpp)",
12019 out: [
12020 "external/perfetto/src/protozero/test/example_proto/subpackage/test_messages.gen.h",
12021 ],
12022 export_include_dirs: [
12023 ".",
12024 "protos",
12025 ],
12026}
12027
12028// GN: //src/protozero:testing_messages_subpackage_lite
12029filegroup {
12030 name: "perfetto_src_protozero_testing_messages_subpackage_lite",
12031 srcs: [
12032 "src/protozero/test/example_proto/subpackage/test_messages.proto",
12033 ],
12034}
12035
12036// GN: //src/protozero:testing_messages_subpackage_lite
12037genrule {
12038 name: "perfetto_src_protozero_testing_messages_subpackage_lite_gen",
12039 srcs: [
12040 ":perfetto_src_protozero_testing_messages_subpackage_lite",
12041 ],
12042 tools: [
12043 "aprotoc",
12044 ],
12045 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_src_protozero_testing_messages_subpackage_lite)",
12046 out: [
12047 "external/perfetto/src/protozero/test/example_proto/subpackage/test_messages.pb.cc",
12048 ],
12049}
12050
12051// GN: //src/protozero:testing_messages_subpackage_lite
12052genrule {
12053 name: "perfetto_src_protozero_testing_messages_subpackage_lite_gen_headers",
12054 srcs: [
12055 ":perfetto_src_protozero_testing_messages_subpackage_lite",
12056 ],
12057 tools: [
12058 "aprotoc",
12059 ],
12060 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_src_protozero_testing_messages_subpackage_lite)",
12061 out: [
12062 "external/perfetto/src/protozero/test/example_proto/subpackage/test_messages.pb.h",
12063 ],
12064 export_include_dirs: [
12065 ".",
12066 "protos",
12067 ],
12068}
12069
12070// GN: //src/protozero:testing_messages_subpackage_zero
12071filegroup {
12072 name: "perfetto_src_protozero_testing_messages_subpackage_zero",
12073 srcs: [
12074 "src/protozero/test/example_proto/subpackage/test_messages.proto",
12075 ],
12076}
12077
12078// GN: //src/protozero:testing_messages_subpackage_zero
12079genrule {
12080 name: "perfetto_src_protozero_testing_messages_subpackage_zero_gen",
12081 srcs: [
12082 ":perfetto_src_protozero_testing_messages_subpackage_zero",
12083 ],
12084 tools: [
12085 "aprotoc",
12086 "protozero_plugin",
12087 ],
12088 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_src_protozero_testing_messages_subpackage_zero)",
12089 out: [
12090 "external/perfetto/src/protozero/test/example_proto/subpackage/test_messages.pbzero.cc",
12091 ],
12092}
12093
12094// GN: //src/protozero:testing_messages_subpackage_zero
12095genrule {
12096 name: "perfetto_src_protozero_testing_messages_subpackage_zero_gen_headers",
12097 srcs: [
12098 ":perfetto_src_protozero_testing_messages_subpackage_zero",
12099 ],
12100 tools: [
12101 "aprotoc",
12102 "protozero_plugin",
12103 ],
12104 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_src_protozero_testing_messages_subpackage_zero)",
12105 out: [
12106 "external/perfetto/src/protozero/test/example_proto/subpackage/test_messages.pbzero.h",
12107 ],
12108 export_include_dirs: [
12109 ".",
12110 "protos",
12111 ],
12112}
12113
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010012114// GN: //src/protozero:testing_messages_zero
Spandan Das34f1b982023-10-13 23:24:01 +000012115filegroup {
12116 name: "perfetto_src_protozero_testing_messages_zero",
Colin Cross84172332021-09-14 16:41:33 -070012117 srcs: [
12118 "src/protozero/test/example_proto/extensions.proto",
12119 "src/protozero/test/example_proto/library.proto",
12120 "src/protozero/test/example_proto/library_internals/galaxies.proto",
12121 "src/protozero/test/example_proto/test_messages.proto",
12122 "src/protozero/test/example_proto/upper_import.proto",
12123 ],
Spandan Das34f1b982023-10-13 23:24:01 +000012124}
12125
12126// GN: //src/protozero:testing_messages_zero
12127genrule {
12128 name: "perfetto_src_protozero_testing_messages_zero_gen",
12129 srcs: [
Daniele Di Proietto216d50b2024-03-21 14:15:19 +000012130 ":perfetto_src_protozero_testing_messages_other_package_zero",
12131 ":perfetto_src_protozero_testing_messages_subpackage_zero",
Spandan Das34f1b982023-10-13 23:24:01 +000012132 ":perfetto_src_protozero_testing_messages_zero",
12133 ],
Colin Cross84172332021-09-14 16:41:33 -070012134 tools: [
12135 "aprotoc",
12136 "protozero_plugin",
12137 ],
Spandan Das34f1b982023-10-13 23:24:01 +000012138 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_src_protozero_testing_messages_zero)",
Colin Cross84172332021-09-14 16:41:33 -070012139 out: [
12140 "external/perfetto/src/protozero/test/example_proto/extensions.pbzero.cc",
12141 "external/perfetto/src/protozero/test/example_proto/library.pbzero.cc",
12142 "external/perfetto/src/protozero/test/example_proto/library_internals/galaxies.pbzero.cc",
12143 "external/perfetto/src/protozero/test/example_proto/test_messages.pbzero.cc",
12144 "external/perfetto/src/protozero/test/example_proto/upper_import.pbzero.cc",
12145 ],
Sami Kyostilaebba0fe2017-12-19 14:01:52 +000012146}
12147
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010012148// GN: //src/protozero:testing_messages_zero
Sami Kyostilaebba0fe2017-12-19 14:01:52 +000012149genrule {
Colin Cross84172332021-09-14 16:41:33 -070012150 name: "perfetto_src_protozero_testing_messages_zero_gen_headers",
12151 srcs: [
Daniele Di Proietto216d50b2024-03-21 14:15:19 +000012152 ":perfetto_src_protozero_testing_messages_other_package_zero",
12153 ":perfetto_src_protozero_testing_messages_subpackage_zero",
Spandan Das34f1b982023-10-13 23:24:01 +000012154 ":perfetto_src_protozero_testing_messages_zero",
Colin Cross84172332021-09-14 16:41:33 -070012155 ],
12156 tools: [
12157 "aprotoc",
12158 "protozero_plugin",
12159 ],
Spandan Das34f1b982023-10-13 23:24:01 +000012160 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_src_protozero_testing_messages_zero)",
Colin Cross84172332021-09-14 16:41:33 -070012161 out: [
12162 "external/perfetto/src/protozero/test/example_proto/extensions.pbzero.h",
12163 "external/perfetto/src/protozero/test/example_proto/library.pbzero.h",
12164 "external/perfetto/src/protozero/test/example_proto/library_internals/galaxies.pbzero.h",
12165 "external/perfetto/src/protozero/test/example_proto/test_messages.pbzero.h",
12166 "external/perfetto/src/protozero/test/example_proto/upper_import.pbzero.h",
12167 ],
12168 export_include_dirs: [
12169 ".",
12170 "protos",
12171 ],
Sami Kyostilaebba0fe2017-12-19 14:01:52 +000012172}
12173
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010012174// GN: //src/protozero:unittests
12175filegroup {
Colin Cross84172332021-09-14 16:41:33 -070012176 name: "perfetto_src_protozero_unittests",
12177 srcs: [
12178 "src/protozero/copyable_ptr_unittest.cc",
Daniele Di Proietto14d35c12022-06-28 11:29:11 +010012179 "src/protozero/message_arena_unittest.cc",
Colin Cross84172332021-09-14 16:41:33 -070012180 "src/protozero/message_handle_unittest.cc",
12181 "src/protozero/message_unittest.cc",
12182 "src/protozero/proto_decoder_unittest.cc",
12183 "src/protozero/proto_ring_buffer_unittest.cc",
12184 "src/protozero/proto_utils_unittest.cc",
12185 "src/protozero/scattered_stream_writer_unittest.cc",
12186 "src/protozero/test/cppgen_conformance_unittest.cc",
12187 "src/protozero/test/fake_scattered_buffer.cc",
12188 "src/protozero/test/protozero_conformance_unittest.cc",
12189 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010012190}
12191
Daniele Di Proietto65981022023-06-19 13:54:41 +000012192// GN: //src/shared_lib:intern_map
12193filegroup {
12194 name: "perfetto_src_shared_lib_intern_map",
12195 srcs: [
12196 "src/shared_lib/intern_map.cc",
12197 ],
12198}
12199
Daniele Di Proietto5a86c7e2023-01-11 15:54:46 +000012200// GN: //src/shared_lib:shared_lib
12201filegroup {
12202 name: "perfetto_src_shared_lib_shared_lib",
12203 srcs: [
12204 "src/shared_lib/data_source.cc",
12205 "src/shared_lib/heap_buffer.cc",
12206 "src/shared_lib/pb_decoder.cc",
12207 "src/shared_lib/producer.cc",
12208 "src/shared_lib/stream_writer.cc",
Daniele Di Proietto65981022023-06-19 13:54:41 +000012209 "src/shared_lib/thread_utils.cc",
Daniele Di Proietto5a86c7e2023-01-11 15:54:46 +000012210 "src/shared_lib/tracing_session.cc",
Daniele Di Proietto48c739d2023-06-19 13:52:42 +000012211 "src/shared_lib/track_event.cc",
Daniele Di Proietto5a86c7e2023-01-11 15:54:46 +000012212 ],
12213}
12214
12215// GN: //src/shared_lib/test:integrationtests
12216filegroup {
12217 name: "perfetto_src_shared_lib_test_integrationtests",
12218 srcs: [
12219 "src/shared_lib/test/api_integrationtest.cc",
12220 ],
12221}
12222
Daniele Di Proietto2471cd82023-09-25 15:57:50 +000012223// GN: //src/shared_lib/test/protos:protos
12224filegroup {
12225 name: "perfetto_src_shared_lib_test_protos_protos",
12226}
12227
Daniele Di Proietto5a86c7e2023-01-11 15:54:46 +000012228// GN: //src/shared_lib/test:utils
12229filegroup {
12230 name: "perfetto_src_shared_lib_test_utils",
12231 srcs: [
12232 "src/shared_lib/test/utils.cc",
12233 ],
12234}
12235
Daniele Di Proietto65981022023-06-19 13:54:41 +000012236// GN: //src/shared_lib:unittests
12237filegroup {
12238 name: "perfetto_src_shared_lib_unittests",
12239 srcs: [
12240 "src/shared_lib/intern_map_unittest.cc",
12241 ],
12242}
12243
Primiano Tuccia6fd5e22024-11-29 12:08:29 +000012244// GN: //src/trace_config_utils:gen_cc_config_descriptor
12245genrule {
12246 name: "perfetto_src_trace_config_utils_gen_cc_config_descriptor",
12247 srcs: [
12248 ":perfetto_protos_perfetto_config_descriptor",
12249 ],
12250 cmd: "$(location tools/gen_cc_proto_descriptor.py) --gen_dir=$(genDir) --cpp_out=$(out) $(in)",
12251 out: [
12252 "src/trace_config_utils/config.descriptor.h",
12253 ],
12254 tool_files: [
12255 "tools/gen_cc_proto_descriptor.py",
12256 ],
12257}
12258
12259// GN: //src/trace_config_utils:pb_to_txt
12260filegroup {
12261 name: "perfetto_src_trace_config_utils_pb_to_txt",
12262 srcs: [
12263 "src/trace_config_utils/pb_to_txt.cc",
12264 ],
12265}
12266
12267// GN: //src/trace_config_utils:txt_to_pb
12268filegroup {
12269 name: "perfetto_src_trace_config_utils_txt_to_pb",
12270 srcs: [
12271 "src/trace_config_utils/txt_to_pb.cc",
12272 ],
12273}
12274
12275// GN: //src/trace_config_utils:unittests
12276filegroup {
12277 name: "perfetto_src_trace_config_utils_unittests",
12278 srcs: [
12279 "src/trace_config_utils/pb_to_txt_unittest.cc",
12280 "src/trace_config_utils/txt_to_pb_unittest.cc",
12281 ],
12282}
12283
Lalit Maganti2aa88582019-12-17 17:06:49 +000012284// GN: //src/trace_processor/containers:containers
12285filegroup {
Colin Cross84172332021-09-14 16:41:33 -070012286 name: "perfetto_src_trace_processor_containers_containers",
12287 srcs: [
12288 "src/trace_processor/containers/bit_vector.cc",
Colin Cross84172332021-09-14 16:41:33 -070012289 "src/trace_processor/containers/row_map.cc",
12290 "src/trace_processor/containers/string_pool.cc",
12291 ],
Lalit Maganti2aa88582019-12-17 17:06:49 +000012292}
12293
12294// GN: //src/trace_processor/containers:unittests
12295filegroup {
Colin Cross84172332021-09-14 16:41:33 -070012296 name: "perfetto_src_trace_processor_containers_unittests",
12297 srcs: [
12298 "src/trace_processor/containers/bit_vector_unittest.cc",
Lalit Maganti8ae4c862024-04-23 16:50:16 +010012299 "src/trace_processor/containers/implicit_segment_forest_unittest.cc",
Anna Mayznerc253aba2024-07-25 11:26:20 +000012300 "src/trace_processor/containers/interval_intersector_unittest.cc",
Anna Mayzner068504b2024-05-15 10:43:50 +000012301 "src/trace_processor/containers/interval_tree_unittest.cc",
Colin Cross84172332021-09-14 16:41:33 -070012302 "src/trace_processor/containers/null_term_string_view_unittest.cc",
Colin Cross84172332021-09-14 16:41:33 -070012303 "src/trace_processor/containers/row_map_unittest.cc",
12304 "src/trace_processor/containers/string_pool_unittest.cc",
12305 ],
Lalit Maganti2aa88582019-12-17 17:06:49 +000012306}
12307
Anna Mayzner9d4f6cf2024-01-05 07:41:14 +000012308// GN: //src/trace_processor/db/column:column
12309filegroup {
12310 name: "perfetto_src_trace_processor_db_column_column",
12311 srcs: [
Lalit Maganticf684cb2024-02-14 19:00:55 +000012312 "src/trace_processor/db/column/arrangement_overlay.cc",
12313 "src/trace_processor/db/column/data_layer.cc",
Anna Mayzner9d4f6cf2024-01-05 07:41:14 +000012314 "src/trace_processor/db/column/dense_null_overlay.cc",
Lalit Maganticf684cb2024-02-14 19:00:55 +000012315 "src/trace_processor/db/column/dummy_storage.cc",
Anna Mayzner9d4f6cf2024-01-05 07:41:14 +000012316 "src/trace_processor/db/column/id_storage.cc",
12317 "src/trace_processor/db/column/null_overlay.cc",
12318 "src/trace_processor/db/column/numeric_storage.cc",
Lalit Maganti7ef41912024-07-30 13:53:39 +010012319 "src/trace_processor/db/column/overlay_layer.cc",
Lalit Maganticf684cb2024-02-14 19:00:55 +000012320 "src/trace_processor/db/column/range_overlay.cc",
12321 "src/trace_processor/db/column/selector_overlay.cc",
Anna Mayzner9d4f6cf2024-01-05 07:41:14 +000012322 "src/trace_processor/db/column/set_id_storage.cc",
Lalit Maganti7ef41912024-07-30 13:53:39 +010012323 "src/trace_processor/db/column/storage_layer.cc",
Anna Mayzner9d4f6cf2024-01-05 07:41:14 +000012324 "src/trace_processor/db/column/string_storage.cc",
12325 "src/trace_processor/db/column/utils.cc",
12326 ],
12327}
12328
12329// GN: //src/trace_processor/db/column:fake_storage
12330filegroup {
12331 name: "perfetto_src_trace_processor_db_column_fake_storage",
12332 srcs: [
12333 "src/trace_processor/db/column/fake_storage.cc",
12334 ],
12335}
12336
12337// GN: //src/trace_processor/db/column:unittests
12338filegroup {
12339 name: "perfetto_src_trace_processor_db_column_unittests",
12340 srcs: [
12341 "src/trace_processor/db/column/arrangement_overlay_unittest.cc",
12342 "src/trace_processor/db/column/dense_null_overlay_unittest.cc",
Anna Mayzner8351b522024-04-29 14:38:21 +000012343 "src/trace_processor/db/column/fake_storage_unittest.cc",
Anna Mayzner9d4f6cf2024-01-05 07:41:14 +000012344 "src/trace_processor/db/column/id_storage_unittest.cc",
12345 "src/trace_processor/db/column/null_overlay_unittest.cc",
12346 "src/trace_processor/db/column/numeric_storage_unittest.cc",
Anna Mayzneraa59f5d2024-02-07 14:25:03 +000012347 "src/trace_processor/db/column/range_overlay_unittest.cc",
Anna Mayzner9d4f6cf2024-01-05 07:41:14 +000012348 "src/trace_processor/db/column/selector_overlay_unittest.cc",
12349 "src/trace_processor/db/column/set_id_storage_unittest.cc",
12350 "src/trace_processor/db/column/string_storage_unittest.cc",
12351 ],
12352}
12353
Anna Mayznerb3d045c2023-12-12 17:53:57 +000012354// GN: //src/trace_processor/db:compare
12355filegroup {
12356 name: "perfetto_src_trace_processor_db_compare",
12357}
12358
Lalit Maganti1534bb72021-04-23 14:11:26 +010012359// GN: //src/trace_processor/db:db
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010012360filegroup {
Colin Cross84172332021-09-14 16:41:33 -070012361 name: "perfetto_src_trace_processor_db_db",
12362 srcs: [
Lalit Maganti202b26b2024-02-13 15:39:45 +000012363 "src/trace_processor/db/runtime_table.cc",
12364 ],
12365}
12366
12367// GN: //src/trace_processor/db:minimal
12368filegroup {
12369 name: "perfetto_src_trace_processor_db_minimal",
12370 srcs: [
Colin Cross84172332021-09-14 16:41:33 -070012371 "src/trace_processor/db/column.cc",
Lalit Maganti0fc85432022-06-17 15:26:22 +010012372 "src/trace_processor/db/column_storage.cc",
Anna Mayzner8d21b6f2023-06-02 16:02:24 +000012373 "src/trace_processor/db/query_executor.cc",
Colin Cross84172332021-09-14 16:41:33 -070012374 "src/trace_processor/db/table.cc",
12375 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010012376}
12377
12378// GN: //src/trace_processor/db:unittests
12379filegroup {
Colin Cross84172332021-09-14 16:41:33 -070012380 name: "perfetto_src_trace_processor_db_unittests",
12381 srcs: [
12382 "src/trace_processor/db/compare_unittest.cc",
Anna Mayzner8d21b6f2023-06-02 16:02:24 +000012383 "src/trace_processor/db/query_executor_unittest.cc",
Lalit Maganti2f7ebc02023-08-22 13:45:48 +010012384 "src/trace_processor/db/runtime_table_unittest.cc",
Colin Cross84172332021-09-14 16:41:33 -070012385 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010012386}
12387
Ryan Savitskie65c4052022-03-24 18:22:19 +000012388// GN: //src/trace_processor:demangle
12389cc_library_static {
12390 name: "perfetto_src_trace_processor_demangle",
12391 srcs: [
12392 ":perfetto_include_perfetto_base_base",
12393 ":perfetto_include_perfetto_ext_base_base",
12394 ":perfetto_include_perfetto_ext_trace_processor_demangle",
Daniele Di Proietto8b46d692022-04-22 15:59:40 +010012395 ":perfetto_include_perfetto_public_abi_base",
12396 ":perfetto_include_perfetto_public_base",
Ryan Savitskie65c4052022-03-24 18:22:19 +000012397 "src/trace_processor/demangle.cc",
12398 ],
12399 host_supported: true,
12400 defaults: [
12401 "perfetto_defaults",
12402 ],
12403}
12404
Lalit Magantie459edf2024-02-16 15:39:30 +000012405// GN: //src/trace_processor:export_json
Lalit Maganti0bfeb972020-03-14 03:57:30 +000012406filegroup {
Lalit Magantie459edf2024-02-16 15:39:30 +000012407 name: "perfetto_src_trace_processor_export_json",
Colin Cross84172332021-09-14 16:41:33 -070012408 srcs: [
12409 "src/trace_processor/export_json.cc",
12410 ],
Lalit Maganti0bfeb972020-03-14 03:57:30 +000012411}
12412
Lalit Maganti2939c082021-03-11 17:25:44 +000012413// GN: //src/trace_processor:gen_cc_test_messages_descriptor
12414genrule {
Colin Cross84172332021-09-14 16:41:33 -070012415 name: "perfetto_src_trace_processor_gen_cc_test_messages_descriptor",
12416 srcs: [
Lalit Maganti38e23cc2024-10-30 21:04:12 +000012417 ":perfetto_src_protozero_testing_messages_descriptor",
Colin Cross84172332021-09-14 16:41:33 -070012418 ],
12419 cmd: "$(location tools/gen_cc_proto_descriptor.py) --gen_dir=$(genDir) --cpp_out=$(out) $(in)",
12420 out: [
12421 "src/trace_processor/test_messages.descriptor.h",
12422 ],
12423 tool_files: [
12424 "tools/gen_cc_proto_descriptor.py",
12425 ],
Lalit Maganti2939c082021-03-11 17:25:44 +000012426}
12427
Primiano Tuccic9d912e2022-07-28 23:30:11 +010012428// GN: //src/trace_processor/importers/android_bugreport:android_bugreport
12429filegroup {
12430 name: "perfetto_src_trace_processor_importers_android_bugreport_android_bugreport",
12431 srcs: [
Carlos Caballero0735e7e2024-07-12 11:01:43 +000012432 "src/trace_processor/importers/android_bugreport/android_bugreport_reader.cc",
12433 "src/trace_processor/importers/android_bugreport/android_dumpstate_reader.cc",
12434 "src/trace_processor/importers/android_bugreport/android_log_event_parser_impl.cc",
12435 "src/trace_processor/importers/android_bugreport/android_log_reader.cc",
12436 "src/trace_processor/importers/android_bugreport/chunked_line_reader.cc",
12437 ],
12438}
12439
12440// GN: //src/trace_processor/importers/android_bugreport:android_log_event
12441filegroup {
12442 name: "perfetto_src_trace_processor_importers_android_bugreport_android_log_event",
12443 srcs: [
12444 "src/trace_processor/importers/android_bugreport/android_log_event.cc",
Primiano Tuccic9d912e2022-07-28 23:30:11 +010012445 ],
12446}
12447
12448// GN: //src/trace_processor/importers/android_bugreport:unittests
12449filegroup {
12450 name: "perfetto_src_trace_processor_importers_android_bugreport_unittests",
12451 srcs: [
Carlos Caballero0735e7e2024-07-12 11:01:43 +000012452 "src/trace_processor/importers/android_bugreport/android_log_unittest.cc",
Primiano Tuccic9d912e2022-07-28 23:30:11 +010012453 ],
12454}
12455
Carlos Caballero57d05dc2024-10-14 12:05:54 +000012456// GN: //src/trace_processor/importers/archive:archive
12457filegroup {
12458 name: "perfetto_src_trace_processor_importers_archive_archive",
12459 srcs: [
12460 "src/trace_processor/importers/archive/archive_entry.cc",
12461 "src/trace_processor/importers/archive/gzip_trace_parser.cc",
12462 "src/trace_processor/importers/archive/tar_trace_reader.cc",
12463 "src/trace_processor/importers/archive/zip_trace_reader.cc",
12464 ],
12465}
12466
Lalit Magantifd975122024-10-07 16:23:47 +010012467// GN: //src/trace_processor/importers/art_method:art_method
12468filegroup {
12469 name: "perfetto_src_trace_processor_importers_art_method_art_method",
12470 srcs: [
12471 "src/trace_processor/importers/art_method/art_method_parser_impl.cc",
12472 "src/trace_processor/importers/art_method/art_method_tokenizer.cc",
12473 ],
12474}
12475
12476// GN: //src/trace_processor/importers/art_method:art_method_event
12477filegroup {
12478 name: "perfetto_src_trace_processor_importers_art_method_art_method_event",
12479}
12480
Lalit Maganti1534bb72021-04-23 14:11:26 +010012481// GN: //src/trace_processor/importers/common:common
Lalit Maganticcdcbae2020-04-15 14:31:40 +010012482filegroup {
Colin Cross84172332021-09-14 16:41:33 -070012483 name: "perfetto_src_trace_processor_importers_common_common",
12484 srcs: [
12485 "src/trace_processor/importers/common/args_tracker.cc",
Igor Kraskevichbadba0b2022-03-22 19:44:20 +000012486 "src/trace_processor/importers/common/args_translation_table.cc",
Lalit Magantib9a5b432022-12-01 16:13:11 +000012487 "src/trace_processor/importers/common/async_track_set_tracker.cc",
Anna Mayznerbab105a2023-04-17 06:10:26 +000012488 "src/trace_processor/importers/common/clock_converter.cc",
Colin Cross84172332021-09-14 16:41:33 -070012489 "src/trace_processor/importers/common/clock_tracker.cc",
Chinglin Yu270b5af2024-05-27 11:29:52 +080012490 "src/trace_processor/importers/common/cpu_tracker.cc",
Violetta Fedotovaffe20e62022-11-23 11:00:08 +000012491 "src/trace_processor/importers/common/deobfuscation_mapping_table.cc",
Colin Cross84172332021-09-14 16:41:33 -070012492 "src/trace_processor/importers/common/event_tracker.cc",
12493 "src/trace_processor/importers/common/flow_tracker.cc",
12494 "src/trace_processor/importers/common/global_args_tracker.cc",
Carlos Caballerob2876c72024-03-14 01:25:27 +000012495 "src/trace_processor/importers/common/jit_cache.cc",
Lalit Maganti09300672024-08-30 20:59:39 +010012496 "src/trace_processor/importers/common/legacy_v8_cpu_profile_tracker.cc",
Chinglin Yu267ba232024-03-26 14:34:53 +080012497 "src/trace_processor/importers/common/machine_tracker.cc",
Carlos Caballero2f9ecd12024-03-04 17:56:06 +000012498 "src/trace_processor/importers/common/mapping_tracker.cc",
Anna Mayzner36ff4842023-03-27 07:55:47 +000012499 "src/trace_processor/importers/common/metadata_tracker.cc",
Chris Phlipotc53f6a82024-05-08 14:41:28 -070012500 "src/trace_processor/importers/common/process_track_translation_table.cc",
Colin Cross84172332021-09-14 16:41:33 -070012501 "src/trace_processor/importers/common/process_tracker.cc",
Alex Attar87853442024-02-26 15:06:10 -050012502 "src/trace_processor/importers/common/sched_event_tracker.cc",
Colin Cross84172332021-09-14 16:41:33 -070012503 "src/trace_processor/importers/common/slice_tracker.cc",
Igor Kraskevich4f062ad2022-04-11 16:29:06 +000012504 "src/trace_processor/importers/common/slice_translation_table.cc",
Carlos Caballero5903e022024-02-19 19:25:17 +000012505 "src/trace_processor/importers/common/stack_profile_tracker.cc",
Colin Cross84172332021-09-14 16:41:33 -070012506 "src/trace_processor/importers/common/system_info_tracker.cc",
Alex Attar87853442024-02-26 15:06:10 -050012507 "src/trace_processor/importers/common/thread_state_tracker.cc",
Carlos Caballero1c927c12024-07-27 11:20:04 +000012508 "src/trace_processor/importers/common/trace_file_tracker.cc",
Lalit Magantieb2645a2022-11-25 15:49:35 +000012509 "src/trace_processor/importers/common/trace_parser.cc",
Colin Cross84172332021-09-14 16:41:33 -070012510 "src/trace_processor/importers/common/track_tracker.cc",
Carlos Caballero2f9ecd12024-03-04 17:56:06 +000012511 "src/trace_processor/importers/common/virtual_memory_mapping.cc",
Colin Cross84172332021-09-14 16:41:33 -070012512 ],
Lalit Maganticcdcbae2020-04-15 14:31:40 +010012513}
12514
Lalit Magantieb2645a2022-11-25 15:49:35 +000012515// GN: //src/trace_processor/importers/common:parser_types
Lalit Magantife2519b2022-11-24 21:12:05 +000012516filegroup {
Lalit Magantieb2645a2022-11-25 15:49:35 +000012517 name: "perfetto_src_trace_processor_importers_common_parser_types",
12518}
12519
12520// GN: //src/trace_processor/importers/common:trace_parser_hdr
12521filegroup {
12522 name: "perfetto_src_trace_processor_importers_common_trace_parser_hdr",
Lalit Magantife2519b2022-11-24 21:12:05 +000012523}
12524
Lalit Maganti1534bb72021-04-23 14:11:26 +010012525// GN: //src/trace_processor/importers/common:unittests
12526filegroup {
Colin Cross84172332021-09-14 16:41:33 -070012527 name: "perfetto_src_trace_processor_importers_common_unittests",
12528 srcs: [
Carlos Caballeroc7d72092024-01-18 12:27:01 +000012529 "src/trace_processor/importers/common/address_range_unittest.cc",
Igor Kraskevichbadba0b2022-03-22 19:44:20 +000012530 "src/trace_processor/importers/common/args_translation_table_unittest.cc",
Lalit Magantib9a5b432022-12-01 16:13:11 +000012531 "src/trace_processor/importers/common/async_track_set_tracker_unittest.cc",
Anna Mayznerbab105a2023-04-17 06:10:26 +000012532 "src/trace_processor/importers/common/clock_converter_unittest.cc",
Colin Cross84172332021-09-14 16:41:33 -070012533 "src/trace_processor/importers/common/clock_tracker_unittest.cc",
Violetta Fedotovaffe20e62022-11-23 11:00:08 +000012534 "src/trace_processor/importers/common/deobfuscation_mapping_table_unittest.cc",
Colin Cross84172332021-09-14 16:41:33 -070012535 "src/trace_processor/importers/common/event_tracker_unittest.cc",
12536 "src/trace_processor/importers/common/flow_tracker_unittest.cc",
Chris Phlipotc53f6a82024-05-08 14:41:28 -070012537 "src/trace_processor/importers/common/process_track_translation_table_unittest.cc",
Colin Cross84172332021-09-14 16:41:33 -070012538 "src/trace_processor/importers/common/process_tracker_unittest.cc",
12539 "src/trace_processor/importers/common/slice_tracker_unittest.cc",
Igor Kraskevich4f062ad2022-04-11 16:29:06 +000012540 "src/trace_processor/importers/common/slice_translation_table_unittest.cc",
Alex Attar87853442024-02-26 15:06:10 -050012541 "src/trace_processor/importers/common/thread_state_tracker_unittest.cc",
Colin Cross84172332021-09-14 16:41:33 -070012542 ],
Lalit Maganti1534bb72021-04-23 14:11:26 +010012543}
12544
Alex Attar9cc5ef22024-01-30 13:26:17 -050012545// GN: //src/trace_processor/importers/etw:full
12546filegroup {
12547 name: "perfetto_src_trace_processor_importers_etw_full",
12548 srcs: [
Alex Attar3d0aae72024-04-16 14:40:30 -040012549 "src/trace_processor/importers/etw/etw_module_impl.cc",
12550 "src/trace_processor/importers/etw/etw_parser.cc",
Alex Attar9cc5ef22024-01-30 13:26:17 -050012551 "src/trace_processor/importers/etw/etw_tokenizer.cc",
12552 ],
12553}
12554
Alex Attar3d0aae72024-04-16 14:40:30 -040012555// GN: //src/trace_processor/importers/etw:minimal
12556filegroup {
12557 name: "perfetto_src_trace_processor_importers_etw_minimal",
12558 srcs: [
12559 "src/trace_processor/importers/etw/etw_module.cc",
12560 ],
12561}
12562
Lalit Magantib9a5b432022-12-01 16:13:11 +000012563// GN: //src/trace_processor/importers/ftrace:ftrace_descriptors
Lalit Magantiecd5c3d2022-11-30 15:56:14 +000012564filegroup {
Lalit Magantib9a5b432022-12-01 16:13:11 +000012565 name: "perfetto_src_trace_processor_importers_ftrace_ftrace_descriptors",
Lalit Magantiecd5c3d2022-11-30 15:56:14 +000012566 srcs: [
12567 "src/trace_processor/importers/ftrace/ftrace_descriptors.cc",
12568 ],
12569}
12570
Lalit Magantib9a5b432022-12-01 16:13:11 +000012571// GN: //src/trace_processor/importers/ftrace:full
12572filegroup {
12573 name: "perfetto_src_trace_processor_importers_ftrace_full",
12574 srcs: [
12575 "src/trace_processor/importers/ftrace/binder_tracker.cc",
12576 "src/trace_processor/importers/ftrace/drm_tracker.cc",
12577 "src/trace_processor/importers/ftrace/ftrace_module_impl.cc",
12578 "src/trace_processor/importers/ftrace/ftrace_parser.cc",
Alex Attar87853442024-02-26 15:06:10 -050012579 "src/trace_processor/importers/ftrace/ftrace_sched_event_tracker.cc",
Lalit Magantib9a5b432022-12-01 16:13:11 +000012580 "src/trace_processor/importers/ftrace/ftrace_tokenizer.cc",
Serdar Kocdemir7465e6e2023-12-20 13:43:04 +000012581 "src/trace_processor/importers/ftrace/gpu_work_period_tracker.cc",
Lalit Magantib9a5b432022-12-01 16:13:11 +000012582 "src/trace_processor/importers/ftrace/iostat_tracker.cc",
Devika Krishnadasab3673c2022-12-20 23:55:20 +000012583 "src/trace_processor/importers/ftrace/mali_gpu_event_tracker.cc",
Dmitry Skibaf8802a52024-08-23 14:13:07 -070012584 "src/trace_processor/importers/ftrace/pixel_mm_kswapd_event_tracker.cc",
Nikita Ioffe02035142023-03-02 16:57:35 +000012585 "src/trace_processor/importers/ftrace/pkvm_hyp_cpu_tracker.cc",
Lalit Magantib9a5b432022-12-01 16:13:11 +000012586 "src/trace_processor/importers/ftrace/rss_stat_tracker.cc",
sashwinbalaji137288e2024-05-06 11:05:42 +080012587 "src/trace_processor/importers/ftrace/thermal_tracker.cc",
Lalit Magantib9a5b432022-12-01 16:13:11 +000012588 "src/trace_processor/importers/ftrace/v4l2_tracker.cc",
Rob Clark50b20aa2022-11-29 14:24:18 -080012589 "src/trace_processor/importers/ftrace/virtio_gpu_tracker.cc",
Lalit Magantib9a5b432022-12-01 16:13:11 +000012590 "src/trace_processor/importers/ftrace/virtio_video_tracker.cc",
12591 ],
12592}
12593
12594// GN: //src/trace_processor/importers/ftrace:minimal
12595filegroup {
12596 name: "perfetto_src_trace_processor_importers_ftrace_minimal",
12597 srcs: [
12598 "src/trace_processor/importers/ftrace/ftrace_module.cc",
12599 ],
12600}
12601
Lalit Magantiecf23662022-12-02 18:34:37 +000012602// GN: //src/trace_processor/importers/ftrace:unittests
12603filegroup {
12604 name: "perfetto_src_trace_processor_importers_ftrace_unittests",
12605 srcs: [
12606 "src/trace_processor/importers/ftrace/binder_tracker_unittest.cc",
Alex Attar87853442024-02-26 15:06:10 -050012607 "src/trace_processor/importers/ftrace/ftrace_sched_event_tracker_unittest.cc",
Lalit Magantiecf23662022-12-02 18:34:37 +000012608 ],
12609}
12610
Lalit Magantife2519b2022-11-24 21:12:05 +000012611// GN: //src/trace_processor/importers/fuchsia:fuchsia_record
12612filegroup {
12613 name: "perfetto_src_trace_processor_importers_fuchsia_fuchsia_record",
12614 srcs: [
12615 "src/trace_processor/importers/fuchsia/fuchsia_record.cc",
12616 ],
12617}
12618
Lalit Magantiecf23662022-12-02 18:34:37 +000012619// GN: //src/trace_processor/importers/fuchsia:full
Lalit Magantiecd5c3d2022-11-30 15:56:14 +000012620filegroup {
Lalit Magantiecf23662022-12-02 18:34:37 +000012621 name: "perfetto_src_trace_processor_importers_fuchsia_full",
Lalit Magantiecd5c3d2022-11-30 15:56:14 +000012622 srcs: [
Lalit Magantiecd5c3d2022-11-30 15:56:14 +000012623 "src/trace_processor/importers/fuchsia/fuchsia_trace_parser.cc",
12624 "src/trace_processor/importers/fuchsia/fuchsia_trace_tokenizer.cc",
12625 "src/trace_processor/importers/fuchsia/fuchsia_trace_utils.cc",
Lalit Magantiecf23662022-12-02 18:34:37 +000012626 ],
12627}
12628
12629// GN: //src/trace_processor/importers/fuchsia:minimal
12630filegroup {
12631 name: "perfetto_src_trace_processor_importers_fuchsia_minimal",
12632}
12633
12634// GN: //src/trace_processor/importers/fuchsia:unittests
12635filegroup {
12636 name: "perfetto_src_trace_processor_importers_fuchsia_unittests",
12637 srcs: [
12638 "src/trace_processor/importers/fuchsia/fuchsia_parser_unittest.cc",
12639 "src/trace_processor/importers/fuchsia/fuchsia_trace_utils_unittest.cc",
12640 ],
12641}
12642
Lalit Maganti6713f7c2024-10-01 17:50:24 +010012643// GN: //src/trace_processor/importers/gecko:gecko_event
12644filegroup {
12645 name: "perfetto_src_trace_processor_importers_gecko_gecko_event",
12646}
12647
Lalit Magantib9a5b432022-12-01 16:13:11 +000012648// GN: //src/trace_processor/importers/i2c:full
12649filegroup {
12650 name: "perfetto_src_trace_processor_importers_i2c_full",
12651 srcs: [
12652 "src/trace_processor/importers/i2c/i2c_tracker.cc",
12653 ],
12654}
12655
Leszek Swirskia621a8a2024-08-30 18:12:37 +020012656// GN: //src/trace_processor/importers/instruments:instruments
12657filegroup {
12658 name: "perfetto_src_trace_processor_importers_instruments_instruments",
12659 srcs: [
12660 "src/trace_processor/importers/instruments/instruments_xml_tokenizer.cc",
12661 "src/trace_processor/importers/instruments/row_data_tracker.cc",
12662 "src/trace_processor/importers/instruments/row_parser.cc",
12663 ],
12664}
12665
12666// GN: //src/trace_processor/importers/instruments:row
12667filegroup {
12668 name: "perfetto_src_trace_processor_importers_instruments_row",
12669}
12670
Lalit Magantib9a5b432022-12-01 16:13:11 +000012671// GN: //src/trace_processor/importers/json:minimal
12672filegroup {
12673 name: "perfetto_src_trace_processor_importers_json_minimal",
12674 srcs: [
12675 "src/trace_processor/importers/json/json_utils.cc",
12676 ],
12677}
12678
Sylwester Blaszczyk0430ce82020-08-07 16:00:51 +020012679// GN: //src/trace_processor/importers/memory_tracker:graph_processor
12680filegroup {
Colin Cross84172332021-09-14 16:41:33 -070012681 name: "perfetto_src_trace_processor_importers_memory_tracker_graph_processor",
12682 srcs: [
12683 "src/trace_processor/importers/memory_tracker/graph.cc",
12684 "src/trace_processor/importers/memory_tracker/graph_processor.cc",
12685 "src/trace_processor/importers/memory_tracker/memory_allocator_node_id.cc",
12686 "src/trace_processor/importers/memory_tracker/raw_memory_graph_node.cc",
12687 "src/trace_processor/importers/memory_tracker/raw_process_memory_node.cc",
12688 ],
Sylwester Blaszczyk0430ce82020-08-07 16:00:51 +020012689}
12690
Lalit Magantiecf23662022-12-02 18:34:37 +000012691// GN: //src/trace_processor/importers/memory_tracker:unittests
Lalit Magantiecd5c3d2022-11-30 15:56:14 +000012692filegroup {
Lalit Magantiecf23662022-12-02 18:34:37 +000012693 name: "perfetto_src_trace_processor_importers_memory_tracker_unittests",
Lalit Magantiecd5c3d2022-11-30 15:56:14 +000012694 srcs: [
Lalit Magantiecf23662022-12-02 18:34:37 +000012695 "src/trace_processor/importers/memory_tracker/graph_processor_unittest.cc",
12696 "src/trace_processor/importers/memory_tracker/graph_unittest.cc",
12697 "src/trace_processor/importers/memory_tracker/raw_process_memory_node_unittest.cc",
Lalit Magantiecd5c3d2022-11-30 15:56:14 +000012698 ],
12699}
12700
Lalit Maganti1bfdccc2022-11-28 21:19:35 +000012701// GN: //src/trace_processor/importers/ninja:ninja
12702filegroup {
12703 name: "perfetto_src_trace_processor_importers_ninja_ninja",
12704 srcs: [
12705 "src/trace_processor/importers/ninja/ninja_log_parser.cc",
12706 ],
12707}
12708
Anna Mayzner5dbfc2d2023-10-26 10:42:53 +000012709// GN: //src/trace_processor/importers/perf:perf
12710filegroup {
12711 name: "perfetto_src_trace_processor_importers_perf_perf",
12712 srcs: [
Carlos Caballero06f44282024-05-15 12:55:01 +000012713 "src/trace_processor/importers/perf/attrs_section_reader.cc",
Carlos Caballerocd922ad2024-09-04 13:58:24 +000012714 "src/trace_processor/importers/perf/aux_data_tokenizer.cc",
12715 "src/trace_processor/importers/perf/aux_record.cc",
12716 "src/trace_processor/importers/perf/aux_stream_manager.cc",
12717 "src/trace_processor/importers/perf/auxtrace_info_record.cc",
12718 "src/trace_processor/importers/perf/auxtrace_record.cc",
Carlos Caballerofa8bbda2024-05-20 13:43:50 +000012719 "src/trace_processor/importers/perf/features.cc",
Carlos Caballero0e9cfe62024-09-25 15:22:45 +000012720 "src/trace_processor/importers/perf/itrace_start_record.cc",
Carlos Caballeroa5125702024-05-20 08:48:15 +000012721 "src/trace_processor/importers/perf/mmap_record.cc",
Anna Mayzner5dbfc2d2023-10-26 10:42:53 +000012722 "src/trace_processor/importers/perf/perf_data_tokenizer.cc",
Carlos Caballero4c623122024-11-21 15:47:32 +000012723 "src/trace_processor/importers/perf/perf_tracker.cc",
Carlos Caballerof7927972024-05-17 09:19:40 +000012724 "src/trace_processor/importers/perf/record_parser.cc",
Carlos Caballeroa5125702024-05-20 08:48:15 +000012725 "src/trace_processor/importers/perf/sample.cc",
Carlos Caballerocd922ad2024-09-04 13:58:24 +000012726 "src/trace_processor/importers/perf/sample_id.cc",
Carlos Caballero87ecfdd2024-09-27 09:29:23 +000012727 "src/trace_processor/importers/perf/spe_record_parser.cc",
12728 "src/trace_processor/importers/perf/spe_tokenizer.cc",
Anna Mayzner5dbfc2d2023-10-26 10:42:53 +000012729 ],
12730}
12731
Carlos Caballero3c1d6592024-05-13 10:22:49 +000012732// GN: //src/trace_processor/importers/perf:record
12733filegroup {
12734 name: "perfetto_src_trace_processor_importers_perf_record",
12735 srcs: [
Carlos Caballeroa5125702024-05-20 08:48:15 +000012736 "src/trace_processor/importers/perf/perf_counter.cc",
Carlos Caballero3c1d6592024-05-13 10:22:49 +000012737 "src/trace_processor/importers/perf/perf_event_attr.cc",
12738 "src/trace_processor/importers/perf/perf_session.cc",
12739 ],
12740}
12741
Lalit Maganti0044e3c2024-10-09 14:27:37 +010012742// GN: //src/trace_processor/importers/perf_text:perf_text
12743filegroup {
12744 name: "perfetto_src_trace_processor_importers_perf_text_perf_text",
12745 srcs: [
12746 "src/trace_processor/importers/perf_text/perf_text_trace_parser_impl.cc",
12747 "src/trace_processor/importers/perf_text/perf_text_trace_tokenizer.cc",
12748 ],
12749}
12750
12751// GN: //src/trace_processor/importers/perf_text:perf_text_event
12752filegroup {
12753 name: "perfetto_src_trace_processor_importers_perf_text_perf_text_event",
12754}
12755
12756// GN: //src/trace_processor/importers/perf_text:perf_text_sample_line_parser
12757filegroup {
12758 name: "perfetto_src_trace_processor_importers_perf_text_perf_text_sample_line_parser",
12759 srcs: [
12760 "src/trace_processor/importers/perf_text/perf_text_sample_line_parser.cc",
12761 ],
12762}
12763
Anna Mayzner5dbfc2d2023-10-26 10:42:53 +000012764// GN: //src/trace_processor/importers/perf:unittests
12765filegroup {
12766 name: "perfetto_src_trace_processor_importers_perf_unittests",
12767 srcs: [
Carlos Caballerocd922ad2024-09-04 13:58:24 +000012768 "src/trace_processor/importers/perf/aux_stream_manager_unittest.cc",
Carlos Caballero3c1d6592024-05-13 10:22:49 +000012769 "src/trace_processor/importers/perf/perf_session_unittest.cc",
Carlos Caballeroeaa65372024-05-13 10:19:13 +000012770 "src/trace_processor/importers/perf/reader_unittest.cc",
Anna Mayzner5dbfc2d2023-10-26 10:42:53 +000012771 ],
12772}
12773
Lalit Magantib7ad13b2022-11-25 15:55:38 +000012774// GN: //src/trace_processor/importers/proto:full
Lalit Magantiba07dcf2022-11-25 13:58:09 +000012775filegroup {
Lalit Magantib7ad13b2022-11-25 15:55:38 +000012776 name: "perfetto_src_trace_processor_importers_proto_full",
Lalit Maganti3927af82022-05-09 20:23:40 +010012777 srcs: [
Lalit Magantiecf23662022-12-02 18:34:37 +000012778 "src/trace_processor/importers/proto/additional_modules.cc",
Lalit Magantib9a5b432022-12-01 16:13:11 +000012779 "src/trace_processor/importers/proto/android_camera_event_module.cc",
12780 "src/trace_processor/importers/proto/android_probes_module.cc",
12781 "src/trace_processor/importers/proto/android_probes_parser.cc",
12782 "src/trace_processor/importers/proto/android_probes_tracker.cc",
12783 "src/trace_processor/importers/proto/content_analyzer.cc",
12784 "src/trace_processor/importers/proto/frame_timeline_event_parser.cc",
12785 "src/trace_processor/importers/proto/gpu_event_parser.cc",
12786 "src/trace_processor/importers/proto/graphics_event_module.cc",
12787 "src/trace_processor/importers/proto/graphics_frame_event_parser.cc",
12788 "src/trace_processor/importers/proto/heap_graph_module.cc",
Lalit Maganti3927af82022-05-09 20:23:40 +010012789 "src/trace_processor/importers/proto/heap_graph_tracker.cc",
Lalit Magantic26b80d2022-11-30 17:49:16 +000012790 "src/trace_processor/importers/proto/metadata_module.cc",
Simon MacMullendea161d2024-07-16 17:38:23 +000012791 "src/trace_processor/importers/proto/pigweed_detokenizer.cc",
12792 "src/trace_processor/importers/proto/pixel_modem_module.cc",
12793 "src/trace_processor/importers/proto/pixel_modem_parser.cc",
Lalit Magantib7ad13b2022-11-25 15:55:38 +000012794 "src/trace_processor/importers/proto/statsd_module.cc",
Carlos Caballerodf596a62024-01-16 15:32:07 +000012795 "src/trace_processor/importers/proto/string_encoding_utils.cc",
Lalit Magantib9a5b432022-12-01 16:13:11 +000012796 "src/trace_processor/importers/proto/system_probes_module.cc",
12797 "src/trace_processor/importers/proto/system_probes_parser.cc",
12798 "src/trace_processor/importers/proto/translation_table_module.cc",
Carlos Caballeroccbb7252024-01-19 00:41:33 +000012799 "src/trace_processor/importers/proto/v8_module.cc",
12800 "src/trace_processor/importers/proto/v8_sequence_state.cc",
12801 "src/trace_processor/importers/proto/v8_tracker.cc",
Lalit Magantib9a5b432022-12-01 16:13:11 +000012802 "src/trace_processor/importers/proto/vulkan_memory_tracker.cc",
Lalit Maganti3927af82022-05-09 20:23:40 +010012803 ],
12804}
12805
Daniele Di Proietto3a4b48a2024-06-27 11:46:04 +000012806// GN: //src/trace_processor/importers/proto:gen_cc_android_track_event_descriptor
12807genrule {
12808 name: "perfetto_src_trace_processor_importers_proto_gen_cc_android_track_event_descriptor",
12809 srcs: [
12810 ":perfetto_protos_perfetto_trace_android_android_track_event_descriptor",
12811 ],
12812 cmd: "$(location tools/gen_cc_proto_descriptor.py) --gen_dir=$(genDir) --cpp_out=$(out) $(in)",
12813 out: [
12814 "src/trace_processor/importers/proto/android_track_event.descriptor.h",
12815 ],
12816 tool_files: [
12817 "tools/gen_cc_proto_descriptor.py",
12818 ],
12819}
12820
Lalit Magantiecf23662022-12-02 18:34:37 +000012821// GN: //src/trace_processor/importers/proto:gen_cc_chrome_track_event_descriptor
12822genrule {
12823 name: "perfetto_src_trace_processor_importers_proto_gen_cc_chrome_track_event_descriptor",
12824 srcs: [
12825 ":perfetto_protos_third_party_chromium_descriptor",
12826 ],
12827 cmd: "$(location tools/gen_cc_proto_descriptor.py) --gen_dir=$(genDir) --cpp_out=$(out) $(in)",
12828 out: [
12829 "src/trace_processor/importers/proto/chrome_track_event.descriptor.h",
12830 ],
12831 tool_files: [
12832 "tools/gen_cc_proto_descriptor.py",
12833 ],
12834}
12835
12836// GN: //src/trace_processor/importers/proto:gen_cc_config_descriptor
12837genrule {
12838 name: "perfetto_src_trace_processor_importers_proto_gen_cc_config_descriptor",
12839 srcs: [
12840 ":perfetto_protos_perfetto_config_descriptor",
12841 ],
12842 cmd: "$(location tools/gen_cc_proto_descriptor.py) --gen_dir=$(genDir) --cpp_out=$(out) $(in)",
12843 out: [
12844 "src/trace_processor/importers/proto/config.descriptor.h",
12845 ],
12846 tool_files: [
12847 "tools/gen_cc_proto_descriptor.py",
12848 ],
12849}
12850
Lalit Magantib7ad13b2022-11-25 15:55:38 +000012851// GN: //src/trace_processor/importers/proto:gen_cc_statsd_atoms_descriptor
12852genrule {
12853 name: "perfetto_src_trace_processor_importers_proto_gen_cc_statsd_atoms_descriptor",
12854 srcs: [
12855 "src/trace_processor/importers/proto/atoms.descriptor",
12856 ],
12857 cmd: "$(location tools/gen_cc_proto_descriptor.py) --gen_dir=$(genDir) --cpp_out=$(out) $(in)",
12858 out: [
12859 "src/trace_processor/importers/proto/atoms.descriptor.h",
12860 ],
12861 tool_files: [
12862 "tools/gen_cc_proto_descriptor.py",
12863 ],
12864}
12865
Lalit Magantib9a5b432022-12-01 16:13:11 +000012866// GN: //src/trace_processor/importers/proto:gen_cc_trace_descriptor
12867genrule {
12868 name: "perfetto_src_trace_processor_importers_proto_gen_cc_trace_descriptor",
12869 srcs: [
12870 ":perfetto_protos_perfetto_trace_descriptor",
12871 ],
12872 cmd: "$(location tools/gen_cc_proto_descriptor.py) --gen_dir=$(genDir) --cpp_out=$(out) $(in)",
12873 out: [
12874 "src/trace_processor/importers/proto/trace.descriptor.h",
12875 ],
12876 tool_files: [
12877 "tools/gen_cc_proto_descriptor.py",
12878 ],
12879}
12880
Lalit Magantiecf23662022-12-02 18:34:37 +000012881// GN: //src/trace_processor/importers/proto:gen_cc_track_event_descriptor
12882genrule {
12883 name: "perfetto_src_trace_processor_importers_proto_gen_cc_track_event_descriptor",
12884 srcs: [
12885 ":perfetto_protos_perfetto_trace_track_event_descriptor",
12886 ],
12887 cmd: "$(location tools/gen_cc_proto_descriptor.py) --gen_dir=$(genDir) --cpp_out=$(out) $(in)",
12888 out: [
12889 "src/trace_processor/importers/proto/track_event.descriptor.h",
12890 ],
12891 tool_files: [
12892 "tools/gen_cc_proto_descriptor.py",
12893 ],
12894}
12895
Lalit Magantib7ad13b2022-11-25 15:55:38 +000012896// GN: //src/trace_processor/importers/proto:minimal
Lalit Maganti3927af82022-05-09 20:23:40 +010012897filegroup {
Lalit Magantib7ad13b2022-11-25 15:55:38 +000012898 name: "perfetto_src_trace_processor_importers_proto_minimal",
Lalit Maganti3927af82022-05-09 20:23:40 +010012899 srcs: [
Igor Kraskevichdd2591a2022-09-28 08:12:26 +000012900 "src/trace_processor/importers/proto/active_chrome_processes_tracker.cc",
Prabir Pradhanf178fa92024-05-10 16:57:37 +000012901 "src/trace_processor/importers/proto/args_parser.cc",
Lalit Magantib7ad13b2022-11-25 15:55:38 +000012902 "src/trace_processor/importers/proto/chrome_string_lookup.cc",
Lalit Magantib9a5b432022-12-01 16:13:11 +000012903 "src/trace_processor/importers/proto/chrome_system_probes_module.cc",
12904 "src/trace_processor/importers/proto/chrome_system_probes_parser.cc",
Lalit Magantiecf23662022-12-02 18:34:37 +000012905 "src/trace_processor/importers/proto/default_modules.cc",
Carlos Caballerob2876c72024-03-14 01:25:27 +000012906 "src/trace_processor/importers/proto/jit_tracker.cc",
Lalit Magantib9a5b432022-12-01 16:13:11 +000012907 "src/trace_processor/importers/proto/memory_tracker_snapshot_module.cc",
12908 "src/trace_processor/importers/proto/memory_tracker_snapshot_parser.cc",
Lalit Magantic26b80d2022-11-30 17:49:16 +000012909 "src/trace_processor/importers/proto/metadata_minimal_module.cc",
Chinglin Yu549aafa2023-12-01 16:21:18 +080012910 "src/trace_processor/importers/proto/multi_machine_trace_manager.cc",
Ryan Zuklie3338cc22023-03-09 15:37:56 -080012911 "src/trace_processor/importers/proto/network_trace_module.cc",
Etienne Pierre-doray53971a42023-01-18 19:10:03 +000012912 "src/trace_processor/importers/proto/packet_analyzer.cc",
Lalit Magantiba07dcf2022-11-25 13:58:09 +000012913 "src/trace_processor/importers/proto/packet_sequence_state_generation.cc",
Lalit Magantib9a5b432022-12-01 16:13:11 +000012914 "src/trace_processor/importers/proto/perf_sample_tracker.cc",
12915 "src/trace_processor/importers/proto/profile_module.cc",
Carlos Caballero5903e022024-02-19 19:25:17 +000012916 "src/trace_processor/importers/proto/profile_packet_sequence_state.cc",
Lalit Magantib9a5b432022-12-01 16:13:11 +000012917 "src/trace_processor/importers/proto/profile_packet_utils.cc",
Carlos Caballero16cfd0d2024-05-03 13:49:41 +000012918 "src/trace_processor/importers/proto/proto_trace_parser_impl.cc",
Lalit Magantib9a5b432022-12-01 16:13:11 +000012919 "src/trace_processor/importers/proto/proto_trace_reader.cc",
12920 "src/trace_processor/importers/proto/proto_trace_tokenizer.cc",
Carlos Caballero5903e022024-02-19 19:25:17 +000012921 "src/trace_processor/importers/proto/stack_profile_sequence_state.cc",
Lalit Magantib9a5b432022-12-01 16:13:11 +000012922 "src/trace_processor/importers/proto/track_event_module.cc",
12923 "src/trace_processor/importers/proto/track_event_parser.cc",
Carlos Caballeroedac2d02024-05-08 14:30:02 +000012924 "src/trace_processor/importers/proto/track_event_sequence_state.cc",
Lalit Magantib9a5b432022-12-01 16:13:11 +000012925 "src/trace_processor/importers/proto/track_event_tokenizer.cc",
12926 "src/trace_processor/importers/proto/track_event_tracker.cc",
Lalit Maganti3927af82022-05-09 20:23:40 +010012927 ],
12928}
12929
Lalit Magantib7ad13b2022-11-25 15:55:38 +000012930// GN: //src/trace_processor/importers/proto:packet_sequence_state_generation_hdr
12931filegroup {
12932 name: "perfetto_src_trace_processor_importers_proto_packet_sequence_state_generation_hdr",
12933}
12934
Lalit Magantib9a5b432022-12-01 16:13:11 +000012935// GN: //src/trace_processor/importers/proto:proto_importer_module
12936filegroup {
12937 name: "perfetto_src_trace_processor_importers_proto_proto_importer_module",
12938 srcs: [
12939 "src/trace_processor/importers/proto/proto_importer_module.cc",
12940 ],
12941}
12942
Lalit Maganti3927af82022-05-09 20:23:40 +010012943// GN: //src/trace_processor/importers/proto:unittests
12944filegroup {
12945 name: "perfetto_src_trace_processor_importers_proto_unittests",
12946 srcs: [
Igor Kraskevichdd2591a2022-09-28 08:12:26 +000012947 "src/trace_processor/importers/proto/active_chrome_processes_tracker_unittest.cc",
Lalit Maganti3927af82022-05-09 20:23:40 +010012948 "src/trace_processor/importers/proto/heap_graph_tracker_unittest.cc",
Carlos Caballerob2876c72024-03-14 01:25:27 +000012949 "src/trace_processor/importers/proto/jit_tracker_unittest.cc",
Ryan Zukliee4c36bd2023-03-10 13:37:35 -080012950 "src/trace_processor/importers/proto/network_trace_module_unittest.cc",
Lalit Magantiecf23662022-12-02 18:34:37 +000012951 "src/trace_processor/importers/proto/perf_sample_tracker_unittest.cc",
Carlos Caballero5903e022024-02-19 19:25:17 +000012952 "src/trace_processor/importers/proto/profile_packet_sequence_state_unittest.cc",
Carlos Caballero16cfd0d2024-05-03 13:49:41 +000012953 "src/trace_processor/importers/proto/proto_trace_parser_impl_unittest.cc",
Chinglin Yuc9030a02024-07-16 11:30:33 +080012954 "src/trace_processor/importers/proto/proto_trace_reader_unittest.cc",
Daniele Di Proietto80f471c2024-07-11 18:00:59 +000012955 "src/trace_processor/importers/proto/proto_trace_tokenizer_unittest.cc",
Carlos Caballerodf596a62024-01-16 15:32:07 +000012956 "src/trace_processor/importers/proto/string_encoding_utils_unittests.cc",
Lalit Maganti3927af82022-05-09 20:23:40 +010012957 ],
12958}
12959
Kean Mariotti248eebf2023-06-12 09:55:43 +000012960// GN: //src/trace_processor/importers/proto/winscope:full
12961filegroup {
12962 name: "perfetto_src_trace_processor_importers_proto_winscope_full",
12963 srcs: [
Prabir Pradhan62c76802024-06-05 03:37:25 +000012964 "src/trace_processor/importers/proto/winscope/android_input_event_parser.cc",
Pablo Gamitofff03be2024-06-03 10:46:18 +000012965 "src/trace_processor/importers/proto/winscope/protolog_message_decoder.cc",
Pablo Gamito5ee2c942023-12-20 14:24:53 +000012966 "src/trace_processor/importers/proto/winscope/protolog_parser.cc",
Pablo Gamito7f046dc2023-11-14 14:33:22 +000012967 "src/trace_processor/importers/proto/winscope/shell_transitions_parser.cc",
12968 "src/trace_processor/importers/proto/winscope/shell_transitions_tracker.cc",
Kean Mariotti248eebf2023-06-12 09:55:43 +000012969 "src/trace_processor/importers/proto/winscope/surfaceflinger_layers_parser.cc",
Kean Mariotti8527c8c2023-06-06 08:43:59 +000012970 "src/trace_processor/importers/proto/winscope/surfaceflinger_transactions_parser.cc",
Kean Mariotti691dbe22024-05-16 12:25:33 +000012971 "src/trace_processor/importers/proto/winscope/viewcapture_args_parser.cc",
Kean Mariotti248eebf2023-06-12 09:55:43 +000012972 "src/trace_processor/importers/proto/winscope/winscope_module.cc",
12973 ],
12974}
12975
12976// GN: //src/trace_processor/importers/proto/winscope:gen_cc_winscope_descriptor
12977genrule {
12978 name: "perfetto_src_trace_processor_importers_proto_winscope_gen_cc_winscope_descriptor",
12979 srcs: [
12980 ":perfetto_protos_perfetto_trace_android_winscope_descriptor",
12981 ],
12982 cmd: "$(location tools/gen_cc_proto_descriptor.py) --gen_dir=$(genDir) --cpp_out=$(out) $(in)",
12983 out: [
12984 "src/trace_processor/importers/proto/winscope/winscope.descriptor.h",
12985 ],
12986 tool_files: [
12987 "tools/gen_cc_proto_descriptor.py",
12988 ],
12989}
12990
Lalit Magantib9a5b432022-12-01 16:13:11 +000012991// GN: //src/trace_processor/importers/syscalls:full
12992filegroup {
12993 name: "perfetto_src_trace_processor_importers_syscalls_full",
12994 srcs: [
12995 "src/trace_processor/importers/syscalls/syscall_tracker.cc",
12996 ],
12997}
12998
Lalit Magantiecf23662022-12-02 18:34:37 +000012999// GN: //src/trace_processor/importers/syscalls:unittests
13000filegroup {
13001 name: "perfetto_src_trace_processor_importers_syscalls_unittests",
13002 srcs: [
13003 "src/trace_processor/importers/syscalls/syscall_tracker_unittest.cc",
13004 ],
13005}
13006
13007// GN: //src/trace_processor/importers/systrace:full
13008filegroup {
13009 name: "perfetto_src_trace_processor_importers_systrace_full",
13010 srcs: [
13011 "src/trace_processor/importers/systrace/systrace_line_parser.cc",
13012 "src/trace_processor/importers/systrace/systrace_line_tokenizer.cc",
13013 "src/trace_processor/importers/systrace/systrace_trace_parser.cc",
13014 ],
13015}
13016
Lalit Magantife2519b2022-11-24 21:12:05 +000013017// GN: //src/trace_processor/importers/systrace:systrace_line
13018filegroup {
13019 name: "perfetto_src_trace_processor_importers_systrace_systrace_line",
13020}
13021
Lalit Magantib9a5b432022-12-01 16:13:11 +000013022// GN: //src/trace_processor/importers/systrace:systrace_parser
13023filegroup {
13024 name: "perfetto_src_trace_processor_importers_systrace_systrace_parser",
13025 srcs: [
13026 "src/trace_processor/importers/systrace/systrace_parser.cc",
13027 ],
13028}
13029
Lalit Magantiecf23662022-12-02 18:34:37 +000013030// GN: //src/trace_processor/importers/systrace:unittests
Lalit Magantiecd5c3d2022-11-30 15:56:14 +000013031filegroup {
Lalit Magantiecf23662022-12-02 18:34:37 +000013032 name: "perfetto_src_trace_processor_importers_systrace_unittests",
Lalit Magantiecd5c3d2022-11-30 15:56:14 +000013033 srcs: [
Lalit Magantiecd5c3d2022-11-30 15:56:14 +000013034 "src/trace_processor/importers/systrace/systrace_parser_unittest.cc",
13035 ],
13036}
13037
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010013038// GN: //src/trace_processor:lib
13039filegroup {
Colin Cross84172332021-09-14 16:41:33 -070013040 name: "perfetto_src_trace_processor_lib",
13041 srcs: [
Colin Cross84172332021-09-14 16:41:33 -070013042 "src/trace_processor/iterator_impl.cc",
13043 "src/trace_processor/read_trace.cc",
Anna Mayznerec507902022-07-07 15:40:14 +000013044 "src/trace_processor/read_trace_internal.cc",
Colin Cross84172332021-09-14 16:41:33 -070013045 "src/trace_processor/trace_processor.cc",
13046 "src/trace_processor/trace_processor_impl.cc",
13047 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010013048}
13049
Lalit Maganti427b8332020-05-27 16:09:45 +010013050// GN: //src/trace_processor:metatrace
13051filegroup {
Colin Cross84172332021-09-14 16:41:33 -070013052 name: "perfetto_src_trace_processor_metatrace",
13053 srcs: [
13054 "src/trace_processor/tp_metatrace.cc",
13055 ],
Lalit Maganti427b8332020-05-27 16:09:45 +010013056}
13057
Lalit Maganti3b09a3f2020-09-14 13:28:44 +010013058// GN: //src/trace_processor/metrics:gen_cc_all_chrome_metrics_descriptor
13059genrule {
Colin Cross84172332021-09-14 16:41:33 -070013060 name: "perfetto_src_trace_processor_metrics_gen_cc_all_chrome_metrics_descriptor",
13061 srcs: [
13062 ":perfetto_protos_perfetto_metrics_chrome_descriptor",
13063 ],
13064 cmd: "$(location tools/gen_cc_proto_descriptor.py) --gen_dir=$(genDir) --cpp_out=$(out) $(in)",
13065 out: [
Lalit Maganti4c328e32021-11-09 19:29:50 +000013066 "src/trace_processor/metrics/all_chrome_metrics.descriptor.h",
Colin Cross84172332021-09-14 16:41:33 -070013067 ],
13068 tool_files: [
13069 "tools/gen_cc_proto_descriptor.py",
13070 ],
Lalit Maganti3b09a3f2020-09-14 13:28:44 +010013071}
13072
Oksana Zhuravlova62ef13f2023-04-20 14:19:17 +000013073// GN: //src/trace_processor/metrics:gen_cc_all_webview_metrics_descriptor
13074genrule {
13075 name: "perfetto_src_trace_processor_metrics_gen_cc_all_webview_metrics_descriptor",
13076 srcs: [
13077 ":perfetto_protos_perfetto_metrics_webview_descriptor",
13078 ],
13079 cmd: "$(location tools/gen_cc_proto_descriptor.py) --gen_dir=$(genDir) --cpp_out=$(out) $(in)",
13080 out: [
13081 "src/trace_processor/metrics/all_webview_metrics.descriptor.h",
13082 ],
13083 tool_files: [
13084 "tools/gen_cc_proto_descriptor.py",
13085 ],
13086}
13087
Lalit Maganti3b09a3f2020-09-14 13:28:44 +010013088// GN: //src/trace_processor/metrics:gen_cc_metrics_descriptor
13089genrule {
Colin Cross84172332021-09-14 16:41:33 -070013090 name: "perfetto_src_trace_processor_metrics_gen_cc_metrics_descriptor",
13091 srcs: [
13092 ":perfetto_protos_perfetto_metrics_descriptor",
13093 ],
13094 cmd: "$(location tools/gen_cc_proto_descriptor.py) --gen_dir=$(genDir) --cpp_out=$(out) $(in)",
13095 out: [
13096 "src/trace_processor/metrics/metrics.descriptor.h",
13097 ],
13098 tool_files: [
13099 "tools/gen_cc_proto_descriptor.py",
13100 ],
Lalit Maganti3b09a3f2020-09-14 13:28:44 +010013101}
13102
Lalit Maganti4c328e32021-11-09 19:29:50 +000013103// GN: //src/trace_processor/metrics:metrics
13104filegroup {
13105 name: "perfetto_src_trace_processor_metrics_metrics",
Colin Cross84172332021-09-14 16:41:33 -070013106 srcs: [
Lalit Maganti4c328e32021-11-09 19:29:50 +000013107 "src/trace_processor/metrics/metrics.cc",
Colin Cross84172332021-09-14 16:41:33 -070013108 ],
Lalit Maganti3b09a3f2020-09-14 13:28:44 +010013109}
13110
Lalit Maganti4c328e32021-11-09 19:29:50 +000013111// GN: //src/trace_processor/metrics/sql:gen_amalgamated_sql_metrics
13112genrule {
13113 name: "perfetto_src_trace_processor_metrics_sql_gen_amalgamated_sql_metrics",
Colin Cross84172332021-09-14 16:41:33 -070013114 srcs: [
Yang Wangd319afd2023-10-03 14:34:54 +000013115 "src/trace_processor/metrics/sql/android/ad_services_metric.sql",
Zimuzo Ezeozue45d43592024-07-30 16:45:13 +010013116 "src/trace_processor/metrics/sql/android/android_anomaly.sql",
Ben Mileseae7c182023-08-21 16:00:19 +010013117 "src/trace_processor/metrics/sql/android/android_anr.sql",
Ivan Kozlov183ca3a2024-03-21 14:12:05 -070013118 "src/trace_processor/metrics/sql/android/android_auto_multiuser.sql",
Lalit Maganti4c328e32021-11-09 19:29:50 +000013119 "src/trace_processor/metrics/sql/android/android_batt.sql",
Jon Spivackb0974a72022-04-27 16:07:10 -070013120 "src/trace_processor/metrics/sql/android/android_binder.sql",
Nicolo' Mazzucato02b288a2023-03-08 14:17:24 +000013121 "src/trace_processor/metrics/sql/android/android_blocking_calls_cuj_metric.sql",
Devarshi Bhattcc701fa2024-03-11 11:00:19 +000013122 "src/trace_processor/metrics/sql/android/android_blocking_calls_unagg.sql",
Mark Fasheh0771a8d2023-09-14 19:21:15 +000013123 "src/trace_processor/metrics/sql/android/android_boot.sql",
Parth Saneec439dd2024-02-13 17:21:09 +000013124 "src/trace_processor/metrics/sql/android/android_boot_unagg.sql",
Parth Sane106a9b12024-05-31 13:13:59 +000013125 "src/trace_processor/metrics/sql/android/android_broadcasts.sql",
Lalit Maganti4c328e32021-11-09 19:29:50 +000013126 "src/trace_processor/metrics/sql/android/android_camera.sql",
Lalit Magantic16c7212021-12-16 17:32:55 +000013127 "src/trace_processor/metrics/sql/android/android_camera_unagg.sql",
Lalit Maganti4c328e32021-11-09 19:29:50 +000013128 "src/trace_processor/metrics/sql/android/android_cpu.sql",
13129 "src/trace_processor/metrics/sql/android/android_cpu_agg.sql",
13130 "src/trace_processor/metrics/sql/android/android_cpu_raw_metrics_per_core.sql",
13131 "src/trace_processor/metrics/sql/android/android_dma_heap.sql",
Luke Chang476e9442021-11-09 23:14:34 +080013132 "src/trace_processor/metrics/sql/android/android_dvfs.sql",
Lalit Maganti4c328e32021-11-09 19:29:50 +000013133 "src/trace_processor/metrics/sql/android/android_fastrpc.sql",
Shihhsun Ho7edcbe62022-05-09 13:55:52 +080013134 "src/trace_processor/metrics/sql/android/android_frame_timeline_metric.sql",
Parth Sane87c92f82024-02-29 11:34:54 +000013135 "src/trace_processor/metrics/sql/android/android_garbage_collection_unagg.sql",
Lalit Maganti4c328e32021-11-09 19:29:50 +000013136 "src/trace_processor/metrics/sql/android/android_gpu.sql",
13137 "src/trace_processor/metrics/sql/android/android_hwcomposer.sql",
13138 "src/trace_processor/metrics/sql/android/android_hwui_metric.sql",
13139 "src/trace_processor/metrics/sql/android/android_hwui_threads.sql",
Parth Sane94d0cfb2023-07-11 13:58:17 +000013140 "src/trace_processor/metrics/sql/android/android_io.sql",
13141 "src/trace_processor/metrics/sql/android/android_io_unagg.sql",
Lalit Maganti4c328e32021-11-09 19:29:50 +000013142 "src/trace_processor/metrics/sql/android/android_ion.sql",
Shihhsun Ho2305a1d2022-01-13 19:58:02 +080013143 "src/trace_processor/metrics/sql/android/android_irq_runtime.sql",
Marcin Oczeretko7bde3642022-07-14 17:26:02 +010013144 "src/trace_processor/metrics/sql/android/android_jank_cuj.sql",
Lalit Maganti4c328e32021-11-09 19:29:50 +000013145 "src/trace_processor/metrics/sql/android/android_lmk.sql",
13146 "src/trace_processor/metrics/sql/android/android_lmk_reason.sql",
13147 "src/trace_processor/metrics/sql/android/android_mem.sql",
13148 "src/trace_processor/metrics/sql/android/android_mem_unagg.sql",
Hector Dearman19b76ac2023-03-23 10:04:54 +000013149 "src/trace_processor/metrics/sql/android/android_monitor_contention.sql",
Parth Sane0406a202023-08-24 11:08:52 +000013150 "src/trace_processor/metrics/sql/android/android_monitor_contention_agg.sql",
Lalit Maganti4c328e32021-11-09 19:29:50 +000013151 "src/trace_processor/metrics/sql/android/android_multiuser.sql",
13152 "src/trace_processor/metrics/sql/android/android_multiuser_populator.sql",
Luke Change25d2c42021-12-07 16:08:32 +080013153 "src/trace_processor/metrics/sql/android/android_netperf.sql",
Parth Sane60222f52024-03-20 15:37:07 +000013154 "src/trace_processor/metrics/sql/android/android_oom_adjuster.sql",
Lalit Maganti4c328e32021-11-09 19:29:50 +000013155 "src/trace_processor/metrics/sql/android/android_package_list.sql",
13156 "src/trace_processor/metrics/sql/android/android_powrails.sql",
13157 "src/trace_processor/metrics/sql/android/android_proxy_power.sql",
Shihhsun Ho9cc8d502022-01-03 13:21:23 +080013158 "src/trace_processor/metrics/sql/android/android_rt_runtime.sql",
Lalit Maganti4c328e32021-11-09 19:29:50 +000013159 "src/trace_processor/metrics/sql/android/android_simpleperf.sql",
13160 "src/trace_processor/metrics/sql/android/android_startup.sql",
13161 "src/trace_processor/metrics/sql/android/android_surfaceflinger.sql",
Ibrahim Yilmazfcc587a2023-05-15 19:16:37 +000013162 "src/trace_processor/metrics/sql/android/android_sysui_notifications_blocking_calls_metric.sql",
Lalit Maganti4c328e32021-11-09 19:29:50 +000013163 "src/trace_processor/metrics/sql/android/android_task_names.sql",
Lalit Maganti4c328e32021-11-09 19:29:50 +000013164 "src/trace_processor/metrics/sql/android/android_trace_quality.sql",
Arun Johnsone922fa22023-06-09 00:30:40 +000013165 "src/trace_processor/metrics/sql/android/codec_metrics.sql",
Lalit Maganti4c328e32021-11-09 19:29:50 +000013166 "src/trace_processor/metrics/sql/android/composer_execution.sql",
13167 "src/trace_processor/metrics/sql/android/composition_layers.sql",
Simon MacMullena16efc42023-02-28 18:21:05 +000013168 "src/trace_processor/metrics/sql/android/counter_span_view_merged.sql",
Lalit Maganti4c328e32021-11-09 19:29:50 +000013169 "src/trace_processor/metrics/sql/android/cpu_info.sql",
13170 "src/trace_processor/metrics/sql/android/display_metrics.sql",
13171 "src/trace_processor/metrics/sql/android/frame_missed.sql",
13172 "src/trace_processor/metrics/sql/android/g2d.sql",
13173 "src/trace_processor/metrics/sql/android/g2d_duration.sql",
13174 "src/trace_processor/metrics/sql/android/global_counter_span_view.sql",
13175 "src/trace_processor/metrics/sql/android/gpu_counter_span_view.sql",
Marcin Oczeretko7bde3642022-07-14 17:26:02 +010013176 "src/trace_processor/metrics/sql/android/jank/cujs.sql",
13177 "src/trace_processor/metrics/sql/android/jank/cujs_boundaries.sql",
13178 "src/trace_processor/metrics/sql/android/jank/frames.sql",
13179 "src/trace_processor/metrics/sql/android/jank/internal/counters.sql",
Marcin Oczeretko986289e2022-07-21 12:35:19 +010013180 "src/trace_processor/metrics/sql/android/jank/internal/query_base.sql",
13181 "src/trace_processor/metrics/sql/android/jank/internal/query_frame_slice.sql",
Marcin Oczeretko76ac5c72022-10-31 15:34:01 +000013182 "src/trace_processor/metrics/sql/android/jank/params.sql",
Marcin Oczeretko986289e2022-07-21 12:35:19 +010013183 "src/trace_processor/metrics/sql/android/jank/query_functions.sql",
Marcin Oczeretko7bde3642022-07-14 17:26:02 +010013184 "src/trace_processor/metrics/sql/android/jank/relevant_slices.sql",
13185 "src/trace_processor/metrics/sql/android/jank/relevant_threads.sql",
Marcin Oczeretko986289e2022-07-21 12:35:19 +010013186 "src/trace_processor/metrics/sql/android/jank/slices.sql",
Bingqian Liu71ff4022024-05-02 13:21:53 +010013187 "src/trace_processor/metrics/sql/android/java_heap_class_stats.sql",
Lalit Maganti4c328e32021-11-09 19:29:50 +000013188 "src/trace_processor/metrics/sql/android/java_heap_histogram.sql",
13189 "src/trace_processor/metrics/sql/android/java_heap_stats.sql",
13190 "src/trace_processor/metrics/sql/android/mem_stats_priority_breakdown.sql",
Ryan Zuklie71ce4ce2023-05-12 17:47:21 -070013191 "src/trace_processor/metrics/sql/android/network_activity_template.sql",
Anna Mayznerd57d4ef2022-09-22 14:54:12 +000013192 "src/trace_processor/metrics/sql/android/p_state.sql",
Lalit Maganti4c328e32021-11-09 19:29:50 +000013193 "src/trace_processor/metrics/sql/android/power_drain_in_watts.sql",
13194 "src/trace_processor/metrics/sql/android/power_profile_data.sql",
Anna Mayznerfd6227c2022-09-12 16:15:38 +000013195 "src/trace_processor/metrics/sql/android/power_profile_data/barbet.sql",
13196 "src/trace_processor/metrics/sql/android/power_profile_data/bluejay.sql",
13197 "src/trace_processor/metrics/sql/android/power_profile_data/blueline.sql",
13198 "src/trace_processor/metrics/sql/android/power_profile_data/bonito.sql",
13199 "src/trace_processor/metrics/sql/android/power_profile_data/bramble.sql",
13200 "src/trace_processor/metrics/sql/android/power_profile_data/coral.sql",
13201 "src/trace_processor/metrics/sql/android/power_profile_data/crosshatch.sql",
13202 "src/trace_processor/metrics/sql/android/power_profile_data/flame.sql",
13203 "src/trace_processor/metrics/sql/android/power_profile_data/marlin.sql",
13204 "src/trace_processor/metrics/sql/android/power_profile_data/oriole.sql",
13205 "src/trace_processor/metrics/sql/android/power_profile_data/raven.sql",
13206 "src/trace_processor/metrics/sql/android/power_profile_data/redfin.sql",
13207 "src/trace_processor/metrics/sql/android/power_profile_data/sargo.sql",
Anna Mayzner8b77b8d2024-03-09 14:51:41 +000013208 "src/trace_processor/metrics/sql/android/power_profile_data/shusky.sql",
Anna Mayznerfd6227c2022-09-12 16:15:38 +000013209 "src/trace_processor/metrics/sql/android/power_profile_data/sunfish.sql",
13210 "src/trace_processor/metrics/sql/android/power_profile_data/taimen.sql",
13211 "src/trace_processor/metrics/sql/android/power_profile_data/walleye.sql",
Lalit Maganti4c328e32021-11-09 19:29:50 +000013212 "src/trace_processor/metrics/sql/android/process_counter_span_view.sql",
13213 "src/trace_processor/metrics/sql/android/process_mem.sql",
13214 "src/trace_processor/metrics/sql/android/process_metadata.sql",
13215 "src/trace_processor/metrics/sql/android/process_oom_score.sql",
13216 "src/trace_processor/metrics/sql/android/process_unagg_mem_view.sql",
13217 "src/trace_processor/metrics/sql/android/profiler_smaps.sql",
13218 "src/trace_processor/metrics/sql/android/span_view_stats.sql",
Parth Saneec439dd2024-02-13 17:21:09 +000013219 "src/trace_processor/metrics/sql/android/startup/android_app_process_starts.sql",
Lalit Magantifb9252f2022-06-21 20:38:37 +010013220 "src/trace_processor/metrics/sql/android/startup/gc_slices.sql",
Lalit Maganti4c328e32021-11-09 19:29:50 +000013221 "src/trace_processor/metrics/sql/android/startup/hsc.sql",
13222 "src/trace_processor/metrics/sql/android/startup/launches.sql",
Lalit Maganti186ed0f2021-12-02 18:13:15 +000013223 "src/trace_processor/metrics/sql/android/startup/launches_maxsdk28.sql",
13224 "src/trace_processor/metrics/sql/android/startup/launches_minsdk29.sql",
Ioannis Ilkos39fd25c2022-03-31 13:29:15 +010013225 "src/trace_processor/metrics/sql/android/startup/launches_minsdk33.sql",
Lalit Magantifb9252f2022-06-21 20:38:37 +010013226 "src/trace_processor/metrics/sql/android/startup/mcycles_per_launch.sql",
13227 "src/trace_processor/metrics/sql/android/startup/slice_functions.sql",
Haiping Yange49cd242023-10-24 21:15:09 +000013228 "src/trace_processor/metrics/sql/android/startup/slow_start_reasons.sql",
Haiping Yangd6439222024-09-11 18:23:24 +000013229 "src/trace_processor/metrics/sql/android/startup/slow_start_thresholds.sql",
Lalit Maganti6f97a862022-06-23 15:12:42 +010013230 "src/trace_processor/metrics/sql/android/startup/system_state.sql",
Lalit Magantifb9252f2022-06-21 20:38:37 +010013231 "src/trace_processor/metrics/sql/android/startup/thread_state_breakdown.sql",
Yining Liu99c4fc02023-11-14 04:24:40 +000013232 "src/trace_processor/metrics/sql/android/sysui_notif_shade_list_builder_metric.sql",
13233 "src/trace_processor/metrics/sql/android/sysui_notif_shade_list_builder_slices.sql",
Yining Liu5352ae82023-11-15 00:27:35 +000013234 "src/trace_processor/metrics/sql/android/sysui_update_notif_on_ui_mode_changed_metric.sql",
Lalit Maganti4c328e32021-11-09 19:29:50 +000013235 "src/trace_processor/metrics/sql/android/unsymbolized_frames.sql",
Samuel Wu7a3cdf22024-08-08 17:41:57 -070013236 "src/trace_processor/metrics/sql/android/wattson_app_startup_rails.sql",
Samuel Wu5214f152024-10-09 17:34:41 -070013237 "src/trace_processor/metrics/sql/android/wattson_atrace_apps_rails.sql",
Samuel Wu3393e082024-08-06 11:36:16 -070013238 "src/trace_processor/metrics/sql/android/wattson_markers_rails.sql",
Samuel Wu7c364a92024-08-08 17:00:33 -070013239 "src/trace_processor/metrics/sql/android/wattson_markers_threads.sql",
Samuel Wu50d5c552024-07-11 17:27:39 -070013240 "src/trace_processor/metrics/sql/android/wattson_rail_relations.sql",
Samuel Wu900e4c42024-08-08 16:12:10 -070013241 "src/trace_processor/metrics/sql/android/wattson_tasks_attribution.sql",
Samuel Wuf1c49e82024-08-08 17:38:02 -070013242 "src/trace_processor/metrics/sql/android/wattson_trace_rails.sql",
Samuel Wu900e4c42024-08-08 16:12:10 -070013243 "src/trace_processor/metrics/sql/android/wattson_trace_threads.sql",
Lalit Maganti4c328e32021-11-09 19:29:50 +000013244 "src/trace_processor/metrics/sql/chrome/actual_power_by_category.sql",
13245 "src/trace_processor/metrics/sql/chrome/actual_power_by_rail_mode.sql",
Violetta Fedotovaae0f6142022-11-22 12:14:17 +000013246 "src/trace_processor/metrics/sql/chrome/chrome_args_class_names.sql",
Lalit Maganti4c328e32021-11-09 19:29:50 +000013247 "src/trace_processor/metrics/sql/chrome/chrome_event_metadata.sql",
Igor Kraskevich95d635f2022-03-24 16:03:57 +000013248 "src/trace_processor/metrics/sql/chrome/chrome_histogram_hashes.sql",
Masami Hiramatsu5e8f9a72024-11-01 15:11:54 +090013249 "src/trace_processor/metrics/sql/chrome/chrome_histogram_summaries.sql",
Omar Elmekkawyc77393b2022-06-21 10:33:34 +000013250 "src/trace_processor/metrics/sql/chrome/chrome_input_to_browser_intervals.sql",
Harkiran Bolaria277ea4f2023-01-09 14:24:26 +000013251 "src/trace_processor/metrics/sql/chrome/chrome_input_to_browser_intervals_base.sql",
Igor Kraskevich5871f1f2022-10-07 08:48:33 +000013252 "src/trace_processor/metrics/sql/chrome/chrome_input_to_browser_intervals_template.sql",
Harkiran Bolariad52e26d2022-12-23 15:09:23 +000013253 "src/trace_processor/metrics/sql/chrome/chrome_long_tasks.sql",
13254 "src/trace_processor/metrics/sql/chrome/chrome_long_tasks_delaying_input_processing.sql",
Igor Kraskevichf7cf8182022-04-04 11:41:28 +000013255 "src/trace_processor/metrics/sql/chrome/chrome_performance_mark_hashes.sql",
Lalit Maganti4c328e32021-11-09 19:29:50 +000013256 "src/trace_processor/metrics/sql/chrome/chrome_processes.sql",
Igor Kraskevichc30d46b2022-09-13 09:39:41 +000013257 "src/trace_processor/metrics/sql/chrome/chrome_reliable_range.sql",
Omar Elmekkawye1ee55c2022-08-04 13:52:52 +000013258 "src/trace_processor/metrics/sql/chrome/chrome_scroll_inputs_per_frame.sql",
Omar Elmekkawyfa109742022-07-20 14:32:45 +000013259 "src/trace_processor/metrics/sql/chrome/chrome_scroll_jank_caused_by_scheduling.sql",
Harkiran Bolaria3a53b3d2023-08-30 11:39:41 +000013260 "src/trace_processor/metrics/sql/chrome/chrome_scroll_jank_v3.sql",
Igor Kraskevich1888cff2022-04-07 11:07:37 +000013261 "src/trace_processor/metrics/sql/chrome/chrome_slice_names.sql",
Omar Elmekkawyaa60a0c2022-07-19 14:48:40 +000013262 "src/trace_processor/metrics/sql/chrome/chrome_stack_samples_for_task.sql",
Etienne Pierre-doray9e11af52024-11-15 19:55:11 +000013263 "src/trace_processor/metrics/sql/chrome/chrome_study_hashes.sql",
Alexander Timin1e01a9c2022-05-27 18:05:20 +000013264 "src/trace_processor/metrics/sql/chrome/chrome_tasks.sql",
Omar Elmekkawy5e9f3eb2022-07-20 13:35:32 +000013265 "src/trace_processor/metrics/sql/chrome/chrome_tasks_delaying_input_processing.sql",
Harkiran Bolariad52e26d2022-12-23 15:09:23 +000013266 "src/trace_processor/metrics/sql/chrome/chrome_tasks_delaying_input_processing_base.sql",
Igor Kraskevich5871f1f2022-10-07 08:48:33 +000013267 "src/trace_processor/metrics/sql/chrome/chrome_tasks_delaying_input_processing_template.sql",
Omar Elmekkawy07d02b02021-12-14 20:36:36 +000013268 "src/trace_processor/metrics/sql/chrome/chrome_thread_slice.sql",
Igor Kraskevich92c7c5a2022-06-23 16:24:17 +000013269 "src/trace_processor/metrics/sql/chrome/chrome_unsymbolized_args.sql",
Igor Kraskevich32214832022-03-25 13:12:53 +000013270 "src/trace_processor/metrics/sql/chrome/chrome_user_event_hashes.sql",
Lalit Maganti4c328e32021-11-09 19:29:50 +000013271 "src/trace_processor/metrics/sql/chrome/cpu_time_by_category.sql",
13272 "src/trace_processor/metrics/sql/chrome/cpu_time_by_rail_mode.sql",
13273 "src/trace_processor/metrics/sql/chrome/estimated_power_by_category.sql",
13274 "src/trace_processor/metrics/sql/chrome/estimated_power_by_rail_mode.sql",
Igor Kraskevich5871f1f2022-10-07 08:48:33 +000013275 "src/trace_processor/metrics/sql/chrome/experimental_reliable_chrome_tasks_delaying_input_processing.sql",
Lalit Maganti4c328e32021-11-09 19:29:50 +000013276 "src/trace_processor/metrics/sql/chrome/gesture_flow_event.sql",
13277 "src/trace_processor/metrics/sql/chrome/gesture_flow_event_queuing_delay.sql",
13278 "src/trace_processor/metrics/sql/chrome/gesture_jank.sql",
13279 "src/trace_processor/metrics/sql/chrome/rail_modes.sql",
13280 "src/trace_processor/metrics/sql/chrome/scroll_flow_event.sql",
13281 "src/trace_processor/metrics/sql/chrome/scroll_flow_event_queuing_delay.sql",
13282 "src/trace_processor/metrics/sql/chrome/scroll_jank.sql",
13283 "src/trace_processor/metrics/sql/chrome/scroll_jank_cause.sql",
13284 "src/trace_processor/metrics/sql/chrome/scroll_jank_cause_blocking_task.sql",
13285 "src/trace_processor/metrics/sql/chrome/scroll_jank_cause_blocking_touch_move.sql",
13286 "src/trace_processor/metrics/sql/chrome/scroll_jank_cause_get_bitmap.sql",
13287 "src/trace_processor/metrics/sql/chrome/scroll_jank_cause_queuing_delay.sql",
Omar Elmekkawy0d6b3462021-12-09 20:28:02 +000013288 "src/trace_processor/metrics/sql/chrome/sufficient_chrome_processes.sql",
Lalit Maganti4c328e32021-11-09 19:29:50 +000013289 "src/trace_processor/metrics/sql/chrome/test_chrome_metric.sql",
13290 "src/trace_processor/metrics/sql/chrome/touch_flow_event.sql",
13291 "src/trace_processor/metrics/sql/chrome/touch_flow_event_queuing_delay.sql",
13292 "src/trace_processor/metrics/sql/chrome/touch_jank.sql",
Lalit Maganti9c317492022-09-13 20:01:55 +010013293 "src/trace_processor/metrics/sql/common/parent_slice.sql",
Lalit Maganti4c328e32021-11-09 19:29:50 +000013294 "src/trace_processor/metrics/sql/experimental/chrome_dropped_frames.sql",
Mingjing Zhang2a32f6b2022-03-22 16:13:21 -040013295 "src/trace_processor/metrics/sql/experimental/chrome_long_latency.sql",
Lalit Maganti4c328e32021-11-09 19:29:50 +000013296 "src/trace_processor/metrics/sql/experimental/frame_times.sql",
13297 "src/trace_processor/metrics/sql/experimental/media_metric.sql",
13298 "src/trace_processor/metrics/sql/experimental/reported_by_page.sql",
13299 "src/trace_processor/metrics/sql/trace_metadata.sql",
13300 "src/trace_processor/metrics/sql/trace_stats.sql",
Oksana Zhuravlova62ef13f2023-04-20 14:19:17 +000013301 "src/trace_processor/metrics/sql/webview/webview_jank_approximation.sql",
Lalit Maganti4c328e32021-11-09 19:29:50 +000013302 "src/trace_processor/metrics/sql/webview/webview_power_usage.sql",
13303 ],
Lalit Maganti9380b0a2023-01-12 10:51:13 +000013304 cmd: "$(location tools/gen_amalgamated_sql.py) --namespace=sql_metrics --cpp-out=$(out) $(in)",
Lalit Maganti4c328e32021-11-09 19:29:50 +000013305 out: [
13306 "src/trace_processor/metrics/sql/amalgamated_sql_metrics.h",
13307 ],
13308 tool_files: [
Anna Mayznercc18bfd2022-11-03 14:05:19 +000013309 "tools/gen_amalgamated_sql.py",
Colin Cross84172332021-09-14 16:41:33 -070013310 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010013311}
13312
13313// GN: //src/trace_processor/metrics:unittests
13314filegroup {
Colin Cross84172332021-09-14 16:41:33 -070013315 name: "perfetto_src_trace_processor_metrics_unittests",
13316 srcs: [
13317 "src/trace_processor/metrics/metrics_unittest.cc",
13318 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010013319}
13320
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010013321// GN: //src/trace_processor/perfetto_sql/engine:engine
Lalit Maganti628aca72022-12-08 14:20:25 +000013322filegroup {
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010013323 name: "perfetto_src_trace_processor_perfetto_sql_engine_engine",
Lalit Maganti628aca72022-12-08 14:20:25 +000013324 srcs: [
Lalit Maganti74666392023-06-22 23:02:05 +010013325 "src/trace_processor/perfetto_sql/engine/created_function.cc",
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010013326 "src/trace_processor/perfetto_sql/engine/perfetto_sql_engine.cc",
Anna Mayzner46ceee22023-07-31 10:50:00 +000013327 "src/trace_processor/perfetto_sql/engine/runtime_table_function.cc",
Lalit Magantie0696ec2024-04-02 15:45:03 +010013328 "src/trace_processor/perfetto_sql/engine/table_pointer_module.cc",
Lalit Maganti628aca72022-12-08 14:20:25 +000013329 ],
13330}
13331
Lalit Magantib3634792023-06-23 16:35:31 +010013332// GN: //src/trace_processor/perfetto_sql/engine:unittests
13333filegroup {
13334 name: "perfetto_src_trace_processor_perfetto_sql_engine_unittests",
13335 srcs: [
13336 "src/trace_processor/perfetto_sql/engine/perfetto_sql_engine_unittest.cc",
Lalit Magantib3634792023-06-23 16:35:31 +010013337 ],
13338}
13339
Lalit Maganti8ca73542024-09-17 03:10:35 +010013340// GN: //src/trace_processor/perfetto_sql/grammar:grammar
13341filegroup {
13342 name: "perfetto_src_trace_processor_perfetto_sql_grammar_grammar",
13343 srcs: [
13344 "src/trace_processor/perfetto_sql/grammar/perfettosql_grammar.c",
13345 ],
13346}
13347
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010013348// GN: //src/trace_processor/perfetto_sql/intrinsics/functions:functions
Lalit Magantid88300d2023-05-15 13:54:51 +010013349filegroup {
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010013350 name: "perfetto_src_trace_processor_perfetto_sql_intrinsics_functions_functions",
Lalit Magantid88300d2023-05-15 13:54:51 +010013351 srcs: [
Carlos Caballerob2876c72024-03-14 01:25:27 +000013352 "src/trace_processor/perfetto_sql/intrinsics/functions/base64.cc",
Anna Mayzner821f9c32024-09-11 12:26:22 +000013353 "src/trace_processor/perfetto_sql/intrinsics/functions/counter_intervals.cc",
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010013354 "src/trace_processor/perfetto_sql/intrinsics/functions/create_function.cc",
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010013355 "src/trace_processor/perfetto_sql/intrinsics/functions/create_view_function.cc",
Ioannis Ilkos830b1812024-05-10 18:03:05 +010013356 "src/trace_processor/perfetto_sql/intrinsics/functions/dominator_tree.cc",
Lalit Maganticf1813e2024-06-24 12:27:22 +010013357 "src/trace_processor/perfetto_sql/intrinsics/functions/graph_scan.cc",
Lalit Magantidad7f352024-06-18 13:52:41 +010013358 "src/trace_processor/perfetto_sql/intrinsics/functions/graph_traversal.cc",
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010013359 "src/trace_processor/perfetto_sql/intrinsics/functions/import.cc",
Anna Mayzner813b13a2024-06-28 03:11:19 +000013360 "src/trace_processor/perfetto_sql/intrinsics/functions/interval_intersect.cc",
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010013361 "src/trace_processor/perfetto_sql/intrinsics/functions/layout_functions.cc",
13362 "src/trace_processor/perfetto_sql/intrinsics/functions/math.cc",
13363 "src/trace_processor/perfetto_sql/intrinsics/functions/pprof_functions.cc",
13364 "src/trace_processor/perfetto_sql/intrinsics/functions/sqlite3_str_split.cc",
13365 "src/trace_processor/perfetto_sql/intrinsics/functions/stack_functions.cc",
Lalit Maganti51475bc2024-04-08 10:37:06 +010013366 "src/trace_processor/perfetto_sql/intrinsics/functions/structural_tree_partition.cc",
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010013367 "src/trace_processor/perfetto_sql/intrinsics/functions/to_ftrace.cc",
Lalit Maganti31699132024-06-19 10:08:19 +010013368 "src/trace_processor/perfetto_sql/intrinsics/functions/type_builders.cc",
Lalit Magantid88300d2023-05-15 13:54:51 +010013369 ],
13370}
13371
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010013372// GN: //src/trace_processor/perfetto_sql/intrinsics/functions:interface
Lalit Maganti628aca72022-12-08 14:20:25 +000013373filegroup {
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010013374 name: "perfetto_src_trace_processor_perfetto_sql_intrinsics_functions_interface",
Lalit Maganti628aca72022-12-08 14:20:25 +000013375 srcs: [
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010013376 "src/trace_processor/perfetto_sql/intrinsics/functions/sql_function.cc",
Lalit Maganti628aca72022-12-08 14:20:25 +000013377 ],
13378}
13379
Lalit Magantiaa66b342024-04-02 16:20:50 +010013380// GN: //src/trace_processor/perfetto_sql/intrinsics/functions:tables
13381genrule {
13382 name: "perfetto_src_trace_processor_perfetto_sql_intrinsics_functions_tables",
13383 srcs: [
13384 "src/trace_processor/perfetto_sql/intrinsics/functions/tables.py",
13385 ],
13386 tools: [
13387 "perfetto_src_trace_processor_perfetto_sql_intrinsics_functions_tables_binary",
13388 ],
13389 cmd: "$(location perfetto_src_trace_processor_perfetto_sql_intrinsics_functions_tables_binary) --gen-dir=$(genDir) --relative-input-dir=external/perfetto --inputs $(in)",
13390 out: [
13391 "src/trace_processor/perfetto_sql/intrinsics/functions/tables_py.h",
13392 ],
13393}
13394
13395// GN: //src/trace_processor/perfetto_sql/intrinsics/functions:tables
13396python_binary_host {
13397 name: "perfetto_src_trace_processor_perfetto_sql_intrinsics_functions_tables_binary",
13398 srcs: [
13399 "python/generators/trace_processor_table/public.py",
13400 "python/generators/trace_processor_table/serialize.py",
13401 "python/generators/trace_processor_table/util.py",
13402 "src/trace_processor/perfetto_sql/intrinsics/functions/tables.py",
13403 "tools/gen_tp_table_headers.py",
13404 ],
13405 main: "tools/gen_tp_table_headers.py",
13406}
13407
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010013408// GN: //src/trace_processor/perfetto_sql/intrinsics/functions:unittests
Lalit Maganti628aca72022-12-08 14:20:25 +000013409filegroup {
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010013410 name: "perfetto_src_trace_processor_perfetto_sql_intrinsics_functions_unittests",
Lalit Maganti628aca72022-12-08 14:20:25 +000013411 srcs: [
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010013412 "src/trace_processor/perfetto_sql/intrinsics/functions/sqlite3_str_split_unittest.cc",
Lalit Maganti628aca72022-12-08 14:20:25 +000013413 ],
13414}
13415
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010013416// GN: //src/trace_processor/perfetto_sql/intrinsics/operators:operators
Lalit Maganti628aca72022-12-08 14:20:25 +000013417filegroup {
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010013418 name: "perfetto_src_trace_processor_perfetto_sql_intrinsics_operators_operators",
Lalit Maganti628aca72022-12-08 14:20:25 +000013419 srcs: [
Lalit Maganti50456872024-04-26 00:47:08 +010013420 "src/trace_processor/perfetto_sql/intrinsics/operators/counter_mipmap_operator.cc",
Lalit Maganti1eae2b12024-04-26 15:33:19 +010013421 "src/trace_processor/perfetto_sql/intrinsics/operators/slice_mipmap_operator.cc",
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010013422 "src/trace_processor/perfetto_sql/intrinsics/operators/span_join_operator.cc",
13423 "src/trace_processor/perfetto_sql/intrinsics/operators/window_operator.cc",
Lalit Maganti628aca72022-12-08 14:20:25 +000013424 ],
13425}
13426
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010013427// GN: //src/trace_processor/perfetto_sql/intrinsics/operators:unittests
Lalit Maganti9a2b96d2023-05-11 17:13:48 +010013428filegroup {
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010013429 name: "perfetto_src_trace_processor_perfetto_sql_intrinsics_operators_unittests",
Lalit Maganti9a2b96d2023-05-11 17:13:48 +010013430 srcs: [
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010013431 "src/trace_processor/perfetto_sql/intrinsics/operators/span_join_operator_unittest.cc",
Lalit Maganti9a2b96d2023-05-11 17:13:48 +010013432 ],
13433}
13434
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010013435// GN: //src/trace_processor/perfetto_sql/intrinsics/table_functions:interface
Lalit Maganti84aa9022023-03-17 20:29:56 +000013436filegroup {
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010013437 name: "perfetto_src_trace_processor_perfetto_sql_intrinsics_table_functions_interface",
Lalit Maganti84aa9022023-03-17 20:29:56 +000013438 srcs: [
Anna Mayzner46ceee22023-07-31 10:50:00 +000013439 "src/trace_processor/perfetto_sql/intrinsics/table_functions/static_table_function.cc",
Lalit Maganti84aa9022023-03-17 20:29:56 +000013440 ],
13441}
13442
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010013443// GN: //src/trace_processor/perfetto_sql/intrinsics/table_functions:table_functions
13444filegroup {
13445 name: "perfetto_src_trace_processor_perfetto_sql_intrinsics_table_functions_table_functions",
13446 srcs: [
13447 "src/trace_processor/perfetto_sql/intrinsics/table_functions/ancestor.cc",
13448 "src/trace_processor/perfetto_sql/intrinsics/table_functions/connected_flow.cc",
13449 "src/trace_processor/perfetto_sql/intrinsics/table_functions/descendant.cc",
Zim0f1dbbc2024-03-25 10:58:33 +000013450 "src/trace_processor/perfetto_sql/intrinsics/table_functions/dfs_weight_bounded.cc",
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010013451 "src/trace_processor/perfetto_sql/intrinsics/table_functions/experimental_annotated_stack.cc",
13452 "src/trace_processor/perfetto_sql/intrinsics/table_functions/experimental_counter_dur.cc",
13453 "src/trace_processor/perfetto_sql/intrinsics/table_functions/experimental_flamegraph.cc",
13454 "src/trace_processor/perfetto_sql/intrinsics/table_functions/experimental_flat_slice.cc",
13455 "src/trace_processor/perfetto_sql/intrinsics/table_functions/experimental_sched_upid.cc",
13456 "src/trace_processor/perfetto_sql/intrinsics/table_functions/experimental_slice_layout.cc",
13457 "src/trace_processor/perfetto_sql/intrinsics/table_functions/flamegraph_construction_algorithms.cc",
Anna Mayznerbf272ec2024-01-02 11:14:27 +000013458 "src/trace_processor/perfetto_sql/intrinsics/table_functions/table_info.cc",
Priyanka98c2fa02024-10-25 13:10:18 +010013459 "src/trace_processor/perfetto_sql/intrinsics/table_functions/winscope_proto_to_args_with_defaults.cc",
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010013460 ],
13461}
13462
13463// GN: //src/trace_processor/perfetto_sql/intrinsics/table_functions:tables
Lalit Maganti3df8a7e2023-04-25 14:18:17 +010013464genrule {
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010013465 name: "perfetto_src_trace_processor_perfetto_sql_intrinsics_table_functions_tables",
Lalit Maganti3df8a7e2023-04-25 14:18:17 +010013466 srcs: [
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010013467 "src/trace_processor/perfetto_sql/intrinsics/table_functions/tables.py",
Lalit Maganti3df8a7e2023-04-25 14:18:17 +010013468 ],
13469 tools: [
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010013470 "perfetto_src_trace_processor_perfetto_sql_intrinsics_table_functions_tables_binary",
Lalit Maganti3df8a7e2023-04-25 14:18:17 +010013471 ],
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010013472 cmd: "$(location perfetto_src_trace_processor_perfetto_sql_intrinsics_table_functions_tables_binary) --gen-dir=$(genDir) --relative-input-dir=external/perfetto --inputs $(in)",
Lalit Maganti3df8a7e2023-04-25 14:18:17 +010013473 out: [
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010013474 "src/trace_processor/perfetto_sql/intrinsics/table_functions/tables_py.h",
Lalit Maganti3df8a7e2023-04-25 14:18:17 +010013475 ],
13476}
13477
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010013478// GN: //src/trace_processor/perfetto_sql/intrinsics/table_functions:tables
Lalit Maganti3df8a7e2023-04-25 14:18:17 +010013479python_binary_host {
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010013480 name: "perfetto_src_trace_processor_perfetto_sql_intrinsics_table_functions_tables_binary",
Lalit Maganti3df8a7e2023-04-25 14:18:17 +010013481 srcs: [
13482 "python/generators/trace_processor_table/public.py",
13483 "python/generators/trace_processor_table/serialize.py",
13484 "python/generators/trace_processor_table/util.py",
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010013485 "src/trace_processor/perfetto_sql/intrinsics/table_functions/tables.py",
Lalit Maganti3df8a7e2023-04-25 14:18:17 +010013486 "src/trace_processor/tables/android_tables.py",
13487 "src/trace_processor/tables/counter_tables.py",
13488 "src/trace_processor/tables/flow_tables.py",
Carlos Caballerob2876c72024-03-14 01:25:27 +000013489 "src/trace_processor/tables/jit_tables.py",
Lalit Maganti3df8a7e2023-04-25 14:18:17 +010013490 "src/trace_processor/tables/memory_tables.py",
13491 "src/trace_processor/tables/metadata_tables.py",
Carlos Caballero87ecfdd2024-09-27 09:29:23 +000013492 "src/trace_processor/tables/perf_tables.py",
Lalit Maganti3df8a7e2023-04-25 14:18:17 +010013493 "src/trace_processor/tables/profiler_tables.py",
Zim127f2ad2023-05-24 12:25:44 +010013494 "src/trace_processor/tables/sched_tables.py",
Lalit Maganti3df8a7e2023-04-25 14:18:17 +010013495 "src/trace_processor/tables/slice_tables.py",
13496 "src/trace_processor/tables/trace_proto_tables.py",
13497 "src/trace_processor/tables/track_tables.py",
Carlos Caballeroccbb7252024-01-19 00:41:33 +000013498 "src/trace_processor/tables/v8_tables.py",
Kean Mariotti248eebf2023-06-12 09:55:43 +000013499 "src/trace_processor/tables/winscope_tables.py",
Lalit Maganti3df8a7e2023-04-25 14:18:17 +010013500 "tools/gen_tp_table_headers.py",
13501 ],
13502 main: "tools/gen_tp_table_headers.py",
13503}
13504
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010013505// GN: //src/trace_processor/perfetto_sql/intrinsics/table_functions:unittests
Lalit Maganti84aa9022023-03-17 20:29:56 +000013506filegroup {
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010013507 name: "perfetto_src_trace_processor_perfetto_sql_intrinsics_table_functions_unittests",
Lalit Maganti84aa9022023-03-17 20:29:56 +000013508 srcs: [
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010013509 "src/trace_processor/perfetto_sql/intrinsics/table_functions/ancestor_unittest.cc",
13510 "src/trace_processor/perfetto_sql/intrinsics/table_functions/connected_flow_unittest.cc",
13511 "src/trace_processor/perfetto_sql/intrinsics/table_functions/descendant_unittest.cc",
13512 "src/trace_processor/perfetto_sql/intrinsics/table_functions/experimental_counter_dur_unittest.cc",
13513 "src/trace_processor/perfetto_sql/intrinsics/table_functions/experimental_flat_slice_unittest.cc",
13514 "src/trace_processor/perfetto_sql/intrinsics/table_functions/experimental_slice_layout_unittest.cc",
Lalit Maganti84aa9022023-03-17 20:29:56 +000013515 ],
13516}
13517
Lalit Magantia135a082024-06-17 12:05:29 +010013518// GN: //src/trace_processor/perfetto_sql/intrinsics/types:types
13519filegroup {
13520 name: "perfetto_src_trace_processor_perfetto_sql_intrinsics_types_types",
13521}
13522
Lalit Magantia85f0752024-09-13 14:42:20 +010013523// GN: //src/trace_processor/perfetto_sql/parser:parser
13524filegroup {
13525 name: "perfetto_src_trace_processor_perfetto_sql_parser_parser",
13526 srcs: [
13527 "src/trace_processor/perfetto_sql/parser/function_util.cc",
13528 "src/trace_processor/perfetto_sql/parser/perfetto_sql_parser.cc",
13529 ],
13530}
13531
13532// GN: //src/trace_processor/perfetto_sql/parser:test_utils
13533filegroup {
13534 name: "perfetto_src_trace_processor_perfetto_sql_parser_test_utils",
13535}
13536
Lalit Maganti870964a2024-09-13 17:27:26 +010013537// GN: //src/trace_processor/perfetto_sql/parser:unittests
13538filegroup {
13539 name: "perfetto_src_trace_processor_perfetto_sql_parser_unittests",
13540 srcs: [
13541 "src/trace_processor/perfetto_sql/parser/perfetto_sql_parser_unittest.cc",
13542 ],
13543}
13544
Lalit Magantifcae3762024-09-13 14:38:10 +010013545// GN: //src/trace_processor/perfetto_sql/preprocessor:grammar
13546filegroup {
13547 name: "perfetto_src_trace_processor_perfetto_sql_preprocessor_grammar",
13548 srcs: [
13549 "src/trace_processor/perfetto_sql/preprocessor/preprocessor_grammar.c",
13550 ],
13551}
13552
Lalit Maganti9b8abc22024-09-13 12:00:20 +010013553// GN: //src/trace_processor/perfetto_sql/preprocessor:preprocessor
13554filegroup {
13555 name: "perfetto_src_trace_processor_perfetto_sql_preprocessor_preprocessor",
13556 srcs: [
13557 "src/trace_processor/perfetto_sql/preprocessor/perfetto_sql_preprocessor.cc",
13558 ],
13559}
13560
13561// GN: //src/trace_processor/perfetto_sql/preprocessor:unittests
13562filegroup {
13563 name: "perfetto_src_trace_processor_perfetto_sql_preprocessor_unittests",
13564 srcs: [
13565 "src/trace_processor/perfetto_sql/preprocessor/perfetto_sql_preprocessor_unittest.cc",
13566 ],
13567}
13568
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010013569// GN: //src/trace_processor/perfetto_sql/stdlib:stdlib
13570genrule {
13571 name: "perfetto_src_trace_processor_perfetto_sql_stdlib_stdlib",
13572 srcs: [
Ben Milesc582aa12023-08-30 17:12:39 +010013573 "src/trace_processor/perfetto_sql/stdlib/android/anrs.sql",
Zim603ac2d2024-01-30 19:28:10 +000013574 "src/trace_processor/perfetto_sql/stdlib/android/app_process_starts.sql",
Ivan Kozlov9e6623c2024-04-22 15:46:46 -070013575 "src/trace_processor/perfetto_sql/stdlib/android/auto/multiuser.sql",
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010013576 "src/trace_processor/perfetto_sql/stdlib/android/battery.sql",
Lydia Tse7474cae2024-10-23 15:10:29 +000013577 "src/trace_processor/perfetto_sql/stdlib/android/battery/charging_states.sql",
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010013578 "src/trace_processor/perfetto_sql/stdlib/android/battery_stats.sql",
13579 "src/trace_processor/perfetto_sql/stdlib/android/binder.sql",
Zimuzo Ezeozuef3b111a2024-08-06 18:53:31 +010013580 "src/trace_processor/perfetto_sql/stdlib/android/binder_breakdown.sql",
Lalit Maganti3e16bfd2024-01-30 23:06:26 +000013581 "src/trace_processor/perfetto_sql/stdlib/android/broadcasts.sql",
Ivan Chong74b3d032024-07-23 08:31:01 +000013582 "src/trace_processor/perfetto_sql/stdlib/android/cpu/cluster_type.sql",
Devarshi Bhattb5600142024-03-20 19:44:52 +000013583 "src/trace_processor/perfetto_sql/stdlib/android/critical_blocking_calls.sql",
Ben Murdochd5ba33f2024-10-15 16:48:12 +000013584 "src/trace_processor/perfetto_sql/stdlib/android/desktop_mode.sql",
Samuel Wued567892024-04-03 16:16:04 -070013585 "src/trace_processor/perfetto_sql/stdlib/android/device.sql",
lukechang9f169f32023-10-27 02:06:06 +000013586 "src/trace_processor/perfetto_sql/stdlib/android/dvfs.sql",
paulsoumyadeep6650d9e2024-06-24 11:51:50 +000013587 "src/trace_processor/perfetto_sql/stdlib/android/frames/jank_type.sql",
Anna Mayznere819b052024-04-02 13:58:40 +000013588 "src/trace_processor/perfetto_sql/stdlib/android/frames/per_frame_metrics.sql",
13589 "src/trace_processor/perfetto_sql/stdlib/android/frames/timeline.sql",
Anna Mayznerf6b0fec2024-04-15 14:12:51 +000013590 "src/trace_processor/perfetto_sql/stdlib/android/frames/timeline_maxsdk28.sql",
Zim90aa0a42023-10-25 14:24:06 +010013591 "src/trace_processor/perfetto_sql/stdlib/android/freezer.sql",
Zim10f7c292023-10-25 14:07:05 +010013592 "src/trace_processor/perfetto_sql/stdlib/android/garbage_collection.sql",
Lalit Maganti154a7a62024-06-21 13:29:18 +010013593 "src/trace_processor/perfetto_sql/stdlib/android/gpu/frequency.sql",
Lalit Maganti6715e762024-06-21 13:25:16 +010013594 "src/trace_processor/perfetto_sql/stdlib/android/gpu/memory.sql",
Lalit Magantid61e77b2024-10-21 05:05:36 -070013595 "src/trace_processor/perfetto_sql/stdlib/android/gpu/work_period.sql",
Zim529310b2023-06-20 11:39:14 +010013596 "src/trace_processor/perfetto_sql/stdlib/android/input.sql",
Zimd863d7f2023-07-07 11:14:04 +010013597 "src/trace_processor/perfetto_sql/stdlib/android/io.sql",
Zim284c5312024-02-05 11:01:12 +000013598 "src/trace_processor/perfetto_sql/stdlib/android/job_scheduler.sql",
Lydia Tse7474cae2024-10-23 15:10:29 +000013599 "src/trace_processor/perfetto_sql/stdlib/android/job_scheduler_states.sql",
Ioannis Ilkos53947df2024-06-26 13:22:41 +000013600 "src/trace_processor/perfetto_sql/stdlib/android/memory/dmabuf.sql",
Lalit Maganti2e635db2024-10-19 02:24:23 +010013601 "src/trace_processor/perfetto_sql/stdlib/android/memory/heap_graph/class_summary_tree.sql",
Lalit Maganticcc6bd12024-07-01 13:29:51 +010013602 "src/trace_processor/perfetto_sql/stdlib/android/memory/heap_graph/class_tree.sql",
13603 "src/trace_processor/perfetto_sql/stdlib/android/memory/heap_graph/dominator_class_tree.sql",
Lalit Maganti28092f82024-06-21 13:18:41 +010013604 "src/trace_processor/perfetto_sql/stdlib/android/memory/heap_graph/dominator_tree.sql",
Lalit Magantic9b465d2024-06-28 13:36:37 +010013605 "src/trace_processor/perfetto_sql/stdlib/android/memory/heap_graph/excluded_refs.sql",
Ioannis Ilkosba792632024-07-22 11:57:12 +000013606 "src/trace_processor/perfetto_sql/stdlib/android/memory/heap_graph/heap_graph_class_aggregation.sql",
Lalit Maganticcc6bd12024-07-01 13:29:51 +010013607 "src/trace_processor/perfetto_sql/stdlib/android/memory/heap_graph/helpers.sql",
13608 "src/trace_processor/perfetto_sql/stdlib/android/memory/heap_graph/raw_dominator_tree.sql",
Lalit Magantif3624e02024-07-09 13:47:14 +010013609 "src/trace_processor/perfetto_sql/stdlib/android/memory/heap_profile/callstacks.sql",
Lalit Magantif9be4972024-11-07 19:50:46 +000013610 "src/trace_processor/perfetto_sql/stdlib/android/memory/heap_profile/summary_tree.sql",
Lalit Maganti6715e762024-06-21 13:25:16 +010013611 "src/trace_processor/perfetto_sql/stdlib/android/memory/process.sql",
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010013612 "src/trace_processor/perfetto_sql/stdlib/android/monitor_contention.sql",
13613 "src/trace_processor/perfetto_sql/stdlib/android/network_packets.sql",
Zim4d001c32024-02-13 17:24:53 +000013614 "src/trace_processor/perfetto_sql/stdlib/android/oom_adjuster.sql",
Anna Mayzner48ec4662024-04-09 10:18:59 +000013615 "src/trace_processor/perfetto_sql/stdlib/android/power_rails.sql",
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010013616 "src/trace_processor/perfetto_sql/stdlib/android/process_metadata.sql",
Kartar Singhec8171e2023-09-28 12:06:44 +010013617 "src/trace_processor/perfetto_sql/stdlib/android/screenshots.sql",
Zim6bd47012024-02-05 13:16:07 +000013618 "src/trace_processor/perfetto_sql/stdlib/android/services.sql",
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010013619 "src/trace_processor/perfetto_sql/stdlib/android/slices.sql",
Zimuzo Ezeozue9d7d5e62024-10-15 00:52:24 +010013620 "src/trace_processor/perfetto_sql/stdlib/android/startup/startup_breakdowns.sql",
Lalit Maganti62ae18d2024-01-29 21:17:46 +000013621 "src/trace_processor/perfetto_sql/stdlib/android/startup/startup_events.sql",
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010013622 "src/trace_processor/perfetto_sql/stdlib/android/startup/startups.sql",
Lalit Maganti62ae18d2024-01-29 21:17:46 +000013623 "src/trace_processor/perfetto_sql/stdlib/android/startup/startups_maxsdk28.sql",
13624 "src/trace_processor/perfetto_sql/stdlib/android/startup/startups_minsdk29.sql",
13625 "src/trace_processor/perfetto_sql/stdlib/android/startup/startups_minsdk33.sql",
Anna Mayzner01ffdeb2024-04-24 16:52:34 +000013626 "src/trace_processor/perfetto_sql/stdlib/android/startup/time_to_display.sql",
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010013627 "src/trace_processor/perfetto_sql/stdlib/android/statsd.sql",
Lalit Maganti46dfe622024-02-09 15:46:29 +000013628 "src/trace_processor/perfetto_sql/stdlib/android/suspend.sql",
Zimd2dabac2023-07-05 13:35:09 +010013629 "src/trace_processor/perfetto_sql/stdlib/android/thread.sql",
Lalit Magantiefb3bf62024-07-02 17:00:27 +010013630 "src/trace_processor/perfetto_sql/stdlib/android/version.sql",
Kean Mariottid61ae902024-03-20 10:08:20 +000013631 "src/trace_processor/perfetto_sql/stdlib/android/winscope/inputmethod.sql",
Kean Mariotti691dbe22024-05-16 12:25:33 +000013632 "src/trace_processor/perfetto_sql/stdlib/android/winscope/viewcapture.sql",
Kean Mariottie2071bb2024-06-26 08:31:00 +000013633 "src/trace_processor/perfetto_sql/stdlib/android/winscope/windowmanager.sql",
Lalit Magantif3624e02024-07-09 13:47:14 +010013634 "src/trace_processor/perfetto_sql/stdlib/callstacks/stack_profile.sql",
Rasika Navarangec3634b42023-11-14 19:45:04 +000013635 "src/trace_processor/perfetto_sql/stdlib/chrome/**/*.sql",
Lalit Magantif506cb82024-11-29 11:52:45 +000013636 "src/trace_processor/perfetto_sql/stdlib/counters/global_tracks.sql",
Lalit Maganti46dfe622024-02-09 15:46:29 +000013637 "src/trace_processor/perfetto_sql/stdlib/counters/intervals.sql",
Carlos Caballeroed7646d2024-05-24 15:28:04 +000013638 "src/trace_processor/perfetto_sql/stdlib/export/to_firefox_profile.sql",
Zimuzo Ezeozue4bbb31d2024-06-21 11:47:55 +010013639 "src/trace_processor/perfetto_sql/stdlib/graphs/critical_path.sql",
Lalit Magantibd299c32024-01-25 00:10:42 +000013640 "src/trace_processor/perfetto_sql/stdlib/graphs/dominator_tree.sql",
Lalit Magantif3624e02024-07-09 13:47:14 +010013641 "src/trace_processor/perfetto_sql/stdlib/graphs/hierarchy.sql",
Lalit Maganti51475bc2024-04-08 10:37:06 +010013642 "src/trace_processor/perfetto_sql/stdlib/graphs/partition.sql",
Lalit Maganticf1813e2024-06-24 12:27:22 +010013643 "src/trace_processor/perfetto_sql/stdlib/graphs/scan.sql",
Lalit Maganti91266662024-01-30 13:33:18 +000013644 "src/trace_processor/perfetto_sql/stdlib/graphs/search.sql",
Anna Mayznere7403f72024-03-13 15:18:25 +000013645 "src/trace_processor/perfetto_sql/stdlib/intervals/intersect.sql",
Alexander Timin8e1c5e82023-11-06 14:21:12 +000013646 "src/trace_processor/perfetto_sql/stdlib/intervals/overlap.sql",
Ryuichiro Chiba8b89c102024-11-15 07:11:06 +000013647 "src/trace_processor/perfetto_sql/stdlib/linux/block_io.sql",
Lalit Maganti7ae5c742024-06-21 11:48:22 +010013648 "src/trace_processor/perfetto_sql/stdlib/linux/cpu/frequency.sql",
13649 "src/trace_processor/perfetto_sql/stdlib/linux/cpu/idle.sql",
Lalit Magantic04191b2024-07-27 20:34:25 +010013650 "src/trace_processor/perfetto_sql/stdlib/linux/cpu/idle_stats.sql",
Nancy Zhao7e99db62024-08-02 13:16:46 +100013651 "src/trace_processor/perfetto_sql/stdlib/linux/cpu/idle_time_in_state.sql",
Lalit Magantia1aa9942024-06-21 11:47:53 +010013652 "src/trace_processor/perfetto_sql/stdlib/linux/cpu/utilization/general.sql",
13653 "src/trace_processor/perfetto_sql/stdlib/linux/cpu/utilization/process.sql",
Anna Mayzner965ea052024-10-01 15:15:40 +000013654 "src/trace_processor/perfetto_sql/stdlib/linux/cpu/utilization/slice.sql",
Lalit Magantia1aa9942024-06-21 11:47:53 +010013655 "src/trace_processor/perfetto_sql/stdlib/linux/cpu/utilization/system.sql",
13656 "src/trace_processor/perfetto_sql/stdlib/linux/cpu/utilization/thread.sql",
Samuel Wu9adf6282024-10-02 11:06:50 -070013657 "src/trace_processor/perfetto_sql/stdlib/linux/devfreq.sql",
Lalit Maganti6715e762024-06-21 13:25:16 +010013658 "src/trace_processor/perfetto_sql/stdlib/linux/memory/general.sql",
13659 "src/trace_processor/perfetto_sql/stdlib/linux/memory/high_watermark.sql",
13660 "src/trace_processor/perfetto_sql/stdlib/linux/memory/process.sql",
Lalit Magantidb3f7dc2024-07-03 20:09:31 +010013661 "src/trace_processor/perfetto_sql/stdlib/linux/perf/samples.sql",
Carlos Caballero87ecfdd2024-09-27 09:29:23 +000013662 "src/trace_processor/perfetto_sql/stdlib/linux/perf/spe.sql",
Anna Mayznerd3e52272024-07-29 07:20:46 +000013663 "src/trace_processor/perfetto_sql/stdlib/linux/threads.sql",
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010013664 "src/trace_processor/perfetto_sql/stdlib/pkvm/hypervisor.sql",
Lalit Magantibd63e0a2024-10-19 13:08:26 +010013665 "src/trace_processor/perfetto_sql/stdlib/prelude/after_eof/casts.sql",
13666 "src/trace_processor/perfetto_sql/stdlib/prelude/after_eof/slices.sql",
13667 "src/trace_processor/perfetto_sql/stdlib/prelude/after_eof/tables_views.sql",
13668 "src/trace_processor/perfetto_sql/stdlib/prelude/after_eof/views.sql",
13669 "src/trace_processor/perfetto_sql/stdlib/prelude/before_eof/tables.sql",
13670 "src/trace_processor/perfetto_sql/stdlib/prelude/before_eof/trace_bounds.sql",
Anna Mayzneraae882e2024-11-18 14:51:15 +000013671 "src/trace_processor/perfetto_sql/stdlib/sched/latency.sql",
Anna Mayzner96ccec22024-03-27 16:29:35 +000013672 "src/trace_processor/perfetto_sql/stdlib/sched/runnable.sql",
Anna Mayzner5c050c82024-02-19 13:52:36 +000013673 "src/trace_processor/perfetto_sql/stdlib/sched/states.sql",
Lalit Maganti3e16bfd2024-01-30 23:06:26 +000013674 "src/trace_processor/perfetto_sql/stdlib/sched/thread_executing_span.sql",
Zim99328202024-03-27 21:36:01 +000013675 "src/trace_processor/perfetto_sql/stdlib/sched/thread_executing_span_with_slice.sql",
Alexander Timin8e1c5e82023-11-06 14:21:12 +000013676 "src/trace_processor/perfetto_sql/stdlib/sched/thread_level_parallelism.sql",
Lalit Maganti3e16bfd2024-01-30 23:06:26 +000013677 "src/trace_processor/perfetto_sql/stdlib/sched/thread_state_flattened.sql",
Anna Mayznerfd5ae3e2024-03-07 17:12:25 +000013678 "src/trace_processor/perfetto_sql/stdlib/sched/time_in_state.sql",
Anna Mayzner47000d42024-03-04 12:28:17 +000013679 "src/trace_processor/perfetto_sql/stdlib/slices/cpu_time.sql",
Lalit Maganti3e16bfd2024-01-30 23:06:26 +000013680 "src/trace_processor/perfetto_sql/stdlib/slices/flat_slices.sql",
Zimuzo Ezeozuedf648252024-06-17 16:47:39 +010013681 "src/trace_processor/perfetto_sql/stdlib/slices/flow.sql",
Alexander Timin15d740a2024-06-20 13:25:46 +010013682 "src/trace_processor/perfetto_sql/stdlib/slices/hierarchy.sql",
Lalit Maganti3e16bfd2024-01-30 23:06:26 +000013683 "src/trace_processor/perfetto_sql/stdlib/slices/slices.sql",
Lalit Magantia55c9b42024-11-12 11:36:02 +000013684 "src/trace_processor/perfetto_sql/stdlib/slices/time_in_state.sql",
Anna Mayznerc92752c2024-02-15 11:37:46 +000013685 "src/trace_processor/perfetto_sql/stdlib/slices/with_context.sql",
Carlos Caballerobee15bb2024-03-15 19:43:57 +000013686 "src/trace_processor/perfetto_sql/stdlib/stack_trace/jit.sql",
Lalit Magantia6fc0362024-10-01 15:49:39 +010013687 "src/trace_processor/perfetto_sql/stdlib/stacks/cpu_profiling.sql",
Anna Mayzner88df9ba2024-02-13 17:06:26 +000013688 "src/trace_processor/perfetto_sql/stdlib/time/conversion.sql",
Carlos Caballero05429942024-03-13 19:28:50 +000013689 "src/trace_processor/perfetto_sql/stdlib/v8/jit.sql",
Lalit Maganti886244d2024-07-02 18:59:57 +010013690 "src/trace_processor/perfetto_sql/stdlib/viz/flamegraph.sql",
Lalit Magantic94a2692024-07-25 06:20:17 +010013691 "src/trace_processor/perfetto_sql/stdlib/viz/slices.sql",
Lalit Maganti6fff21f2024-05-28 14:08:46 +010013692 "src/trace_processor/perfetto_sql/stdlib/viz/summary/counters.sql",
Lalit Maganti3a636162024-04-23 19:31:45 +010013693 "src/trace_processor/perfetto_sql/stdlib/viz/summary/processes.sql",
13694 "src/trace_processor/perfetto_sql/stdlib/viz/summary/slices.sql",
13695 "src/trace_processor/perfetto_sql/stdlib/viz/summary/threads.sql",
Samuel Wu1c92a3c2024-07-19 11:59:37 -070013696 "src/trace_processor/perfetto_sql/stdlib/viz/summary/threads_w_processes.sql",
Anna Mayzner1130c8a2024-07-30 09:48:29 +000013697 "src/trace_processor/perfetto_sql/stdlib/viz/summary/trace.sql",
Lalit Maganti3a636162024-04-23 19:31:45 +010013698 "src/trace_processor/perfetto_sql/stdlib/viz/summary/tracks.sql",
Steve Goltondf1f0562024-07-30 17:32:01 +010013699 "src/trace_processor/perfetto_sql/stdlib/viz/threads.sql",
Samuel Wued567892024-04-03 16:16:04 -070013700 "src/trace_processor/perfetto_sql/stdlib/wattson/arm_dsu.sql",
Samuel Wu221383a2024-07-26 19:32:50 -070013701 "src/trace_processor/perfetto_sql/stdlib/wattson/cpu_freq.sql",
13702 "src/trace_processor/perfetto_sql/stdlib/wattson/cpu_freq_idle.sql",
Samuel Wued567892024-04-03 16:16:04 -070013703 "src/trace_processor/perfetto_sql/stdlib/wattson/cpu_idle.sql",
Samuel Wu59e48bc2024-04-26 16:11:47 -070013704 "src/trace_processor/perfetto_sql/stdlib/wattson/cpu_split.sql",
13705 "src/trace_processor/perfetto_sql/stdlib/wattson/curves/device.sql",
Samuel Wu24764a12024-10-09 14:29:57 -070013706 "src/trace_processor/perfetto_sql/stdlib/wattson/curves/estimates.sql",
Samuel Wub44ea0a2024-08-05 20:16:54 -070013707 "src/trace_processor/perfetto_sql/stdlib/wattson/curves/idle_attribution.sql",
Samuel Wu59e48bc2024-04-26 16:11:47 -070013708 "src/trace_processor/perfetto_sql/stdlib/wattson/curves/utils.sql",
Samuel Wud31780e2024-10-09 14:45:33 -070013709 "src/trace_processor/perfetto_sql/stdlib/wattson/curves/w_cpu_dependence.sql",
Samuel Wu83b65222024-10-03 10:42:18 -070013710 "src/trace_processor/perfetto_sql/stdlib/wattson/curves/w_dsu_dependence.sql",
Samuel Wud2e50d52024-05-29 22:59:05 -070013711 "src/trace_processor/perfetto_sql/stdlib/wattson/device_infos.sql",
Samuel Wued567892024-04-03 16:16:04 -070013712 "src/trace_processor/perfetto_sql/stdlib/wattson/system_state.sql",
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010013713 ],
13714 cmd: "$(location tools/gen_amalgamated_sql.py) --namespace=stdlib --cpp-out=$(out) $(in)",
13715 out: [
13716 "src/trace_processor/perfetto_sql/stdlib/stdlib.h",
Lalit Maganti8ac54f52023-04-24 15:22:22 +010013717 ],
13718 tool_files: [
13719 "tools/gen_amalgamated_sql.py",
13720 ],
13721}
13722
Lalit Maganti8ca73542024-09-17 03:10:35 +010013723// GN: //src/trace_processor/perfetto_sql/tokenizer:tokenize_internal
13724filegroup {
13725 name: "perfetto_src_trace_processor_perfetto_sql_tokenizer_tokenize_internal",
13726 srcs: [
13727 "src/trace_processor/perfetto_sql/tokenizer/tokenize_internal.c",
13728 ],
13729}
13730
Lalit Maganti870964a2024-09-13 17:27:26 +010013731// GN: //src/trace_processor/perfetto_sql/tokenizer:tokenizer
13732filegroup {
13733 name: "perfetto_src_trace_processor_perfetto_sql_tokenizer_tokenizer",
13734 srcs: [
13735 "src/trace_processor/perfetto_sql/tokenizer/sqlite_tokenizer.cc",
13736 ],
13737}
13738
13739// GN: //src/trace_processor/perfetto_sql/tokenizer:unittests
13740filegroup {
13741 name: "perfetto_src_trace_processor_perfetto_sql_tokenizer_unittests",
13742 srcs: [
13743 "src/trace_processor/perfetto_sql/tokenizer/sqlite_tokenizer_unittest.cc",
13744 ],
13745}
13746
Paul Thomson4a792952021-06-04 13:51:47 +010013747// GN: //src/trace_processor/rpc:httpd
13748filegroup {
Colin Cross84172332021-09-14 16:41:33 -070013749 name: "perfetto_src_trace_processor_rpc_httpd",
13750 srcs: [
13751 "src/trace_processor/rpc/httpd.cc",
13752 ],
Paul Thomson4a792952021-06-04 13:51:47 +010013753}
13754
Primiano Tucci4079d1d2020-06-30 11:03:38 +010013755// GN: //src/trace_processor/rpc:rpc
13756filegroup {
Colin Cross84172332021-09-14 16:41:33 -070013757 name: "perfetto_src_trace_processor_rpc_rpc",
13758 srcs: [
13759 "src/trace_processor/rpc/query_result_serializer.cc",
13760 "src/trace_processor/rpc/rpc.cc",
13761 ],
Primiano Tucci4079d1d2020-06-30 11:03:38 +010013762}
13763
Lalit Maganti00bca032023-12-21 11:39:58 +000013764// GN: //src/trace_processor/rpc:stdiod
13765filegroup {
13766 name: "perfetto_src_trace_processor_rpc_stdiod",
13767 srcs: [
13768 "src/trace_processor/rpc/stdiod.cc",
13769 ],
13770}
13771
Primiano Tucci4079d1d2020-06-30 11:03:38 +010013772// GN: //src/trace_processor/rpc:unittests
13773filegroup {
Colin Cross84172332021-09-14 16:41:33 -070013774 name: "perfetto_src_trace_processor_rpc_unittests",
13775 srcs: [
13776 "src/trace_processor/rpc/query_result_serializer_unittest.cc",
13777 ],
Primiano Tucci4079d1d2020-06-30 11:03:38 +010013778}
13779
Lalit Maganti1e7a5bb2022-11-25 15:50:43 +000013780// GN: //src/trace_processor/sorter:sorter
13781filegroup {
13782 name: "perfetto_src_trace_processor_sorter_sorter",
13783 srcs: [
13784 "src/trace_processor/sorter/trace_sorter.cc",
Lalit Magantiffaed7a2023-02-21 16:02:04 +000013785 "src/trace_processor/sorter/trace_token_buffer.cc",
Lalit Maganti1e7a5bb2022-11-25 15:50:43 +000013786 ],
13787}
13788
13789// GN: //src/trace_processor/sorter:unittests
13790filegroup {
13791 name: "perfetto_src_trace_processor_sorter_unittests",
13792 srcs: [
Lalit Maganti1e7a5bb2022-11-25 15:50:43 +000013793 "src/trace_processor/sorter/trace_sorter_unittest.cc",
Lalit Magantiffaed7a2023-02-21 16:02:04 +000013794 "src/trace_processor/sorter/trace_token_buffer_unittest.cc",
Lalit Maganti1e7a5bb2022-11-25 15:50:43 +000013795 ],
13796}
13797
Lalit Magantib7f8a072024-03-25 13:40:56 +000013798// GN: //src/trace_processor/sqlite/bindings:bindings
13799filegroup {
13800 name: "perfetto_src_trace_processor_sqlite_bindings_bindings",
13801}
13802
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010013803// GN: //src/trace_processor/sqlite:sqlite
13804filegroup {
Colin Cross84172332021-09-14 16:41:33 -070013805 name: "perfetto_src_trace_processor_sqlite_sqlite",
13806 srcs: [
13807 "src/trace_processor/sqlite/db_sqlite_table.cc",
Lalit Maganti95f25b12023-06-22 18:11:05 +010013808 "src/trace_processor/sqlite/sql_source.cc",
Colin Cross84172332021-09-14 16:41:33 -070013809 "src/trace_processor/sqlite/sql_stats_table.cc",
Lalit Magantief6f33e2023-04-25 17:45:27 +010013810 "src/trace_processor/sqlite/sqlite_engine.cc",
Carlos Caballero Grolimund62b4a1d2022-10-14 10:24:34 +000013811 "src/trace_processor/sqlite/sqlite_utils.cc",
Colin Cross84172332021-09-14 16:41:33 -070013812 "src/trace_processor/sqlite/stats_table.cc",
Colin Cross84172332021-09-14 16:41:33 -070013813 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010013814}
13815
13816// GN: //src/trace_processor/sqlite:unittests
13817filegroup {
Colin Cross84172332021-09-14 16:41:33 -070013818 name: "perfetto_src_trace_processor_sqlite_unittests",
13819 srcs: [
13820 "src/trace_processor/sqlite/db_sqlite_table_unittest.cc",
Lalit Maganti4fc13ca2023-07-20 02:04:48 +010013821 "src/trace_processor/sqlite/sql_source_unittest.cc",
Colin Cross84172332021-09-14 16:41:33 -070013822 "src/trace_processor/sqlite/sqlite_utils_unittest.cc",
13823 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010013824}
13825
Mikhail Khokhlov692087e2019-12-11 10:53:45 +000013826// GN: //src/trace_processor:storage_minimal
13827filegroup {
Colin Cross84172332021-09-14 16:41:33 -070013828 name: "perfetto_src_trace_processor_storage_minimal",
13829 srcs: [
13830 "src/trace_processor/forwarding_trace_parser.cc",
Primiano Tucci3264b592021-11-08 18:20:51 +000013831 "src/trace_processor/trace_blob.cc",
Colin Cross84172332021-09-14 16:41:33 -070013832 "src/trace_processor/trace_processor_context.cc",
13833 "src/trace_processor/trace_processor_storage.cc",
13834 "src/trace_processor/trace_processor_storage_impl.cc",
Carlos Caballero462d1ac2024-05-17 13:10:22 +000013835 "src/trace_processor/trace_reader_registry.cc",
Colin Cross84172332021-09-14 16:41:33 -070013836 "src/trace_processor/virtual_destructors.cc",
13837 ],
Eric Secklera7870e62019-11-01 10:11:58 +000013838}
13839
Lalit Maganti7010b332020-02-07 10:51:15 +000013840// GN: //src/trace_processor/storage:storage
13841filegroup {
Colin Cross84172332021-09-14 16:41:33 -070013842 name: "perfetto_src_trace_processor_storage_storage",
13843 srcs: [
13844 "src/trace_processor/storage/trace_storage.cc",
13845 ],
Lalit Maganti7010b332020-02-07 10:51:15 +000013846}
13847
Lalit Maganti16117cc2022-12-21 15:33:21 +000013848// GN: //src/trace_processor/tables:py_tables_unittest
13849genrule {
13850 name: "perfetto_src_trace_processor_tables_py_tables_unittest",
13851 srcs: [
13852 "src/trace_processor/tables/py_tables_unittest.py",
13853 ],
13854 tools: [
13855 "perfetto_src_trace_processor_tables_py_tables_unittest_binary",
13856 ],
Lalit Maganti3df8a7e2023-04-25 14:18:17 +010013857 cmd: "$(location perfetto_src_trace_processor_tables_py_tables_unittest_binary) --gen-dir=$(genDir) --relative-input-dir=external/perfetto --inputs $(in)",
Lalit Maganti16117cc2022-12-21 15:33:21 +000013858 out: [
13859 "src/trace_processor/tables/py_tables_unittest_py.h",
13860 ],
13861}
13862
13863// GN: //src/trace_processor/tables:py_tables_unittest
13864python_binary_host {
13865 name: "perfetto_src_trace_processor_tables_py_tables_unittest_binary",
13866 srcs: [
13867 "python/generators/trace_processor_table/public.py",
13868 "python/generators/trace_processor_table/serialize.py",
13869 "python/generators/trace_processor_table/util.py",
13870 "src/trace_processor/tables/py_tables_unittest.py",
13871 "tools/gen_tp_table_headers.py",
13872 ],
13873 main: "tools/gen_tp_table_headers.py",
13874}
13875
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010013876// GN: //src/trace_processor/tables:tables
13877filegroup {
Colin Cross84172332021-09-14 16:41:33 -070013878 name: "perfetto_src_trace_processor_tables_tables",
13879 srcs: [
Lalit Maganti743b52a2024-08-09 10:55:27 +010013880 "src/trace_processor/tables/macros_internal.cc",
Colin Cross84172332021-09-14 16:41:33 -070013881 "src/trace_processor/tables/table_destructors.cc",
13882 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010013883}
13884
Lalit Maganti3dc8e302022-12-01 20:32:46 +000013885// GN: //src/trace_processor/tables:tables_python
13886genrule {
13887 name: "perfetto_src_trace_processor_tables_tables_python",
13888 srcs: [
13889 "src/trace_processor/tables/android_tables.py",
Lalit Maganti1c46cbb2023-03-24 17:01:51 +000013890 "src/trace_processor/tables/counter_tables.py",
13891 "src/trace_processor/tables/flow_tables.py",
Carlos Caballerob2876c72024-03-14 01:25:27 +000013892 "src/trace_processor/tables/jit_tables.py",
Lalit Maganti1c46cbb2023-03-24 17:01:51 +000013893 "src/trace_processor/tables/memory_tables.py",
Lalit Maganti3dc8e302022-12-01 20:32:46 +000013894 "src/trace_processor/tables/metadata_tables.py",
Carlos Caballero87ecfdd2024-09-27 09:29:23 +000013895 "src/trace_processor/tables/perf_tables.py",
Lalit Maganti1c46cbb2023-03-24 17:01:51 +000013896 "src/trace_processor/tables/profiler_tables.py",
Zim127f2ad2023-05-24 12:25:44 +010013897 "src/trace_processor/tables/sched_tables.py",
Lalit Maganti1c46cbb2023-03-24 17:01:51 +000013898 "src/trace_processor/tables/slice_tables.py",
13899 "src/trace_processor/tables/trace_proto_tables.py",
Lalit Magantie2a74562023-03-16 18:07:25 +000013900 "src/trace_processor/tables/track_tables.py",
Carlos Caballeroccbb7252024-01-19 00:41:33 +000013901 "src/trace_processor/tables/v8_tables.py",
Kean Mariotti248eebf2023-06-12 09:55:43 +000013902 "src/trace_processor/tables/winscope_tables.py",
Lalit Maganti3dc8e302022-12-01 20:32:46 +000013903 ],
13904 tools: [
13905 "perfetto_src_trace_processor_tables_tables_python_binary",
13906 ],
Lalit Maganti3df8a7e2023-04-25 14:18:17 +010013907 cmd: "$(location perfetto_src_trace_processor_tables_tables_python_binary) --gen-dir=$(genDir) --relative-input-dir=external/perfetto --inputs $(in)",
Lalit Maganti3dc8e302022-12-01 20:32:46 +000013908 out: [
13909 "src/trace_processor/tables/android_tables_py.h",
Lalit Maganti1c46cbb2023-03-24 17:01:51 +000013910 "src/trace_processor/tables/counter_tables_py.h",
13911 "src/trace_processor/tables/flow_tables_py.h",
Carlos Caballerob2876c72024-03-14 01:25:27 +000013912 "src/trace_processor/tables/jit_tables_py.h",
Lalit Maganti1c46cbb2023-03-24 17:01:51 +000013913 "src/trace_processor/tables/memory_tables_py.h",
Lalit Maganti3dc8e302022-12-01 20:32:46 +000013914 "src/trace_processor/tables/metadata_tables_py.h",
Carlos Caballero87ecfdd2024-09-27 09:29:23 +000013915 "src/trace_processor/tables/perf_tables_py.h",
Lalit Maganti1c46cbb2023-03-24 17:01:51 +000013916 "src/trace_processor/tables/profiler_tables_py.h",
Zim127f2ad2023-05-24 12:25:44 +010013917 "src/trace_processor/tables/sched_tables_py.h",
Lalit Maganti1c46cbb2023-03-24 17:01:51 +000013918 "src/trace_processor/tables/slice_tables_py.h",
13919 "src/trace_processor/tables/trace_proto_tables_py.h",
Lalit Magantie2a74562023-03-16 18:07:25 +000013920 "src/trace_processor/tables/track_tables_py.h",
Carlos Caballeroccbb7252024-01-19 00:41:33 +000013921 "src/trace_processor/tables/v8_tables_py.h",
Kean Mariotti248eebf2023-06-12 09:55:43 +000013922 "src/trace_processor/tables/winscope_tables_py.h",
Lalit Maganti3dc8e302022-12-01 20:32:46 +000013923 ],
13924}
13925
13926// GN: //src/trace_processor/tables:tables_python
13927python_binary_host {
13928 name: "perfetto_src_trace_processor_tables_tables_python_binary",
13929 srcs: [
13930 "python/generators/trace_processor_table/public.py",
Lalit Maganti16117cc2022-12-21 15:33:21 +000013931 "python/generators/trace_processor_table/serialize.py",
Lalit Maganti167b93f2023-01-10 13:56:13 +000013932 "python/generators/trace_processor_table/util.py",
Lalit Maganti3dc8e302022-12-01 20:32:46 +000013933 "src/trace_processor/tables/android_tables.py",
Lalit Maganti1c46cbb2023-03-24 17:01:51 +000013934 "src/trace_processor/tables/counter_tables.py",
13935 "src/trace_processor/tables/flow_tables.py",
Carlos Caballerob2876c72024-03-14 01:25:27 +000013936 "src/trace_processor/tables/jit_tables.py",
Lalit Maganti1c46cbb2023-03-24 17:01:51 +000013937 "src/trace_processor/tables/memory_tables.py",
Lalit Maganti3dc8e302022-12-01 20:32:46 +000013938 "src/trace_processor/tables/metadata_tables.py",
Carlos Caballero87ecfdd2024-09-27 09:29:23 +000013939 "src/trace_processor/tables/perf_tables.py",
Lalit Maganti1c46cbb2023-03-24 17:01:51 +000013940 "src/trace_processor/tables/profiler_tables.py",
Zim127f2ad2023-05-24 12:25:44 +010013941 "src/trace_processor/tables/sched_tables.py",
Lalit Maganti1c46cbb2023-03-24 17:01:51 +000013942 "src/trace_processor/tables/slice_tables.py",
13943 "src/trace_processor/tables/trace_proto_tables.py",
Lalit Magantie2a74562023-03-16 18:07:25 +000013944 "src/trace_processor/tables/track_tables.py",
Carlos Caballeroccbb7252024-01-19 00:41:33 +000013945 "src/trace_processor/tables/v8_tables.py",
Kean Mariotti248eebf2023-06-12 09:55:43 +000013946 "src/trace_processor/tables/winscope_tables.py",
Lalit Maganti3dc8e302022-12-01 20:32:46 +000013947 "tools/gen_tp_table_headers.py",
13948 ],
13949 main: "tools/gen_tp_table_headers.py",
13950}
13951
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010013952// GN: //src/trace_processor/tables:unittests
13953filegroup {
Colin Cross84172332021-09-14 16:41:33 -070013954 name: "perfetto_src_trace_processor_tables_unittests",
13955 srcs: [
Lalit Maganti16117cc2022-12-21 15:33:21 +000013956 "src/trace_processor/tables/py_tables_unittest.cc",
Colin Cross84172332021-09-14 16:41:33 -070013957 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010013958}
13959
Lalit Magantiecd5c3d2022-11-30 15:56:14 +000013960// GN: //src/trace_processor:top_level_unittests
13961filegroup {
13962 name: "perfetto_src_trace_processor_top_level_unittests",
13963 srcs: [
13964 "src/trace_processor/forwarding_trace_parser_unittest.cc",
13965 "src/trace_processor/ref_counted_unittest.cc",
Daniele Di Proietto964a32f2024-02-28 15:30:34 +000013966 "src/trace_processor/trace_blob_unittest.cc",
Lalit Magantiecd5c3d2022-11-30 15:56:14 +000013967 ],
13968}
13969
Lalit Maganti83b53fa2020-01-13 12:55:36 +000013970// GN: //src/trace_processor/types:types
13971filegroup {
Colin Cross84172332021-09-14 16:41:33 -070013972 name: "perfetto_src_trace_processor_types_types",
13973 srcs: [
13974 "src/trace_processor/types/destructible.cc",
13975 "src/trace_processor/types/gfp_flags.cc",
13976 "src/trace_processor/types/task_state.cc",
Colin Cross84172332021-09-14 16:41:33 -070013977 ],
Lalit Maganti83b53fa2020-01-13 12:55:36 +000013978}
13979
Lalit Maganti616bc082020-04-09 19:03:12 +010013980// GN: //src/trace_processor/types:unittests
13981filegroup {
Colin Cross84172332021-09-14 16:41:33 -070013982 name: "perfetto_src_trace_processor_types_unittests",
13983 srcs: [
13984 "src/trace_processor/types/task_state_unittests.cc",
13985 ],
Lalit Maganti616bc082020-04-09 19:03:12 +010013986}
13987
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010013988// GN: //src/trace_processor:unittests
13989filegroup {
Colin Cross84172332021-09-14 16:41:33 -070013990 name: "perfetto_src_trace_processor_unittests",
Lalit Magantie7107402020-04-15 13:41:12 +010013991}
13992
Carlos Caballero2f9ecd12024-03-04 17:56:06 +000013993// GN: //src/trace_processor/util:build_id
13994filegroup {
13995 name: "perfetto_src_trace_processor_util_build_id",
13996 srcs: [
13997 "src/trace_processor/util/build_id.cc",
13998 ],
13999}
14000
Lalit Maganti99378ef2023-01-30 14:28:44 +000014001// GN: //src/trace_processor/util:bump_allocator
14002filegroup {
14003 name: "perfetto_src_trace_processor_util_bump_allocator",
14004 srcs: [
14005 "src/trace_processor/util/bump_allocator.cc",
14006 ],
14007}
14008
Lalit Magantie7107402020-04-15 13:41:12 +010014009// GN: //src/trace_processor/util:descriptors
14010filegroup {
Colin Cross84172332021-09-14 16:41:33 -070014011 name: "perfetto_src_trace_processor_util_descriptors",
14012 srcs: [
14013 "src/trace_processor/util/descriptors.cc",
14014 ],
Lalit Magantie7107402020-04-15 13:41:12 +010014015}
14016
Lalit Maganti83ddffe2022-10-18 17:47:44 +010014017// GN: //src/trace_processor/util:glob
14018filegroup {
14019 name: "perfetto_src_trace_processor_util_glob",
14020 srcs: [
14021 "src/trace_processor/util/glob.cc",
14022 ],
14023}
14024
Lalit Maganti69216ec2021-05-21 14:10:42 +010014025// GN: //src/trace_processor/util:gzip
14026filegroup {
Colin Cross84172332021-09-14 16:41:33 -070014027 name: "perfetto_src_trace_processor_util_gzip",
14028 srcs: [
14029 "src/trace_processor/util/gzip_utils.cc",
14030 ],
Lalit Maganti69216ec2021-05-21 14:10:42 +010014031}
14032
Alexander Timin97d87852021-05-17 18:01:33 +000014033// GN: //src/trace_processor/util:interned_message_view
14034filegroup {
Colin Cross84172332021-09-14 16:41:33 -070014035 name: "perfetto_src_trace_processor_util_interned_message_view",
Alexander Timin97d87852021-05-17 18:01:33 +000014036}
14037
Carlos Caballero Grolimund8a495a72022-09-05 09:29:09 +000014038// GN: //src/trace_processor/util:profile_builder
14039filegroup {
14040 name: "perfetto_src_trace_processor_util_profile_builder",
14041 srcs: [
Carlos Caballero Grolimund689ef042022-09-26 14:58:20 +000014042 "src/trace_processor/util/annotated_callsites.cc",
Carlos Caballero Grolimund8a495a72022-09-05 09:29:09 +000014043 "src/trace_processor/util/profile_builder.cc",
14044 ],
14045}
14046
Carlos Caballero5903e022024-02-19 19:25:17 +000014047// GN: //src/trace_processor/util:profiler_util
14048filegroup {
14049 name: "perfetto_src_trace_processor_util_profiler_util",
14050 srcs: [
14051 "src/trace_processor/util/profiler_util.cc",
14052 ],
14053}
14054
Igor Kraskevich5827bf32022-08-15 15:46:32 +000014055// GN: //src/trace_processor/util:proto_profiler
14056filegroup {
14057 name: "perfetto_src_trace_processor_util_proto_profiler",
14058 srcs: [
14059 "src/trace_processor/util/proto_profiler.cc",
14060 ],
14061}
14062
Alexander Timin5a99b5c2021-05-11 22:48:07 +000014063// GN: //src/trace_processor/util:proto_to_args_parser
14064filegroup {
Colin Cross84172332021-09-14 16:41:33 -070014065 name: "perfetto_src_trace_processor_util_proto_to_args_parser",
14066 srcs: [
14067 "src/trace_processor/util/debug_annotation_parser.cc",
14068 "src/trace_processor/util/proto_to_args_parser.cc",
14069 ],
Alexander Timin5a99b5c2021-05-11 22:48:07 +000014070}
14071
Hector Dearmanc6cbdc52023-07-11 22:29:37 +010014072// GN: //src/trace_processor/util:protozero_to_json
14073filegroup {
14074 name: "perfetto_src_trace_processor_util_protozero_to_json",
14075 srcs: [
14076 "src/trace_processor/util/protozero_to_json.cc",
14077 ],
14078}
14079
Lalit Magantie7107402020-04-15 13:41:12 +010014080// GN: //src/trace_processor/util:protozero_to_text
14081filegroup {
Colin Cross84172332021-09-14 16:41:33 -070014082 name: "perfetto_src_trace_processor_util_protozero_to_text",
14083 srcs: [
14084 "src/trace_processor/util/protozero_to_text.cc",
14085 ],
Lalit Magantie7107402020-04-15 13:41:12 +010014086}
14087
Anna Mayznerb1146632023-07-05 14:14:25 +000014088// GN: //src/trace_processor/util:regex
14089filegroup {
14090 name: "perfetto_src_trace_processor_util_regex",
14091}
14092
Lalit Magantiea630542022-11-21 19:35:02 +000014093// GN: //src/trace_processor/util:sql_argument
14094filegroup {
14095 name: "perfetto_src_trace_processor_util_sql_argument",
14096 srcs: [
14097 "src/trace_processor/util/sql_argument.cc",
14098 ],
14099}
14100
Anna Mayzner5980c712022-11-24 15:09:11 +000014101// GN: //src/trace_processor/util:stdlib
14102filegroup {
14103 name: "perfetto_src_trace_processor_util_stdlib",
14104}
14105
Lalit Maganti58b22cc2024-07-10 08:28:51 +010014106// GN: //src/trace_processor/util:trace_blob_view_reader
14107filegroup {
14108 name: "perfetto_src_trace_processor_util_trace_blob_view_reader",
14109 srcs: [
14110 "src/trace_processor/util/trace_blob_view_reader.cc",
14111 ],
14112}
14113
Carlos Caballero462d1ac2024-05-17 13:10:22 +000014114// GN: //src/trace_processor/util:trace_type
14115filegroup {
14116 name: "perfetto_src_trace_processor_util_trace_type",
14117 srcs: [
14118 "src/trace_processor/util/trace_type.cc",
14119 ],
14120}
14121
Lalit Magantie7107402020-04-15 13:41:12 +010014122// GN: //src/trace_processor/util:unittests
14123filegroup {
Colin Cross84172332021-09-14 16:41:33 -070014124 name: "perfetto_src_trace_processor_util_unittests",
14125 srcs: [
Lalit Maganti99378ef2023-01-30 14:28:44 +000014126 "src/trace_processor/util/bump_allocator_unittest.cc",
Colin Cross84172332021-09-14 16:41:33 -070014127 "src/trace_processor/util/debug_annotation_parser_unittest.cc",
Lalit Maganti83ddffe2022-10-18 17:47:44 +010014128 "src/trace_processor/util/glob_unittest.cc",
Mohit Saini2838cdf2022-02-17 09:58:25 +000014129 "src/trace_processor/util/gzip_utils_unittest.cc",
Igor Kraskevich5827bf32022-08-15 15:46:32 +000014130 "src/trace_processor/util/proto_profiler_unittest.cc",
Colin Cross84172332021-09-14 16:41:33 -070014131 "src/trace_processor/util/proto_to_args_parser_unittest.cc",
Hector Dearmanc6cbdc52023-07-11 22:29:37 +010014132 "src/trace_processor/util/protozero_to_json_unittests.cc",
Colin Cross84172332021-09-14 16:41:33 -070014133 "src/trace_processor/util/protozero_to_text_unittests.cc",
Lalit Magantiea630542022-11-21 19:35:02 +000014134 "src/trace_processor/util/sql_argument_unittest.cc",
Primiano Tucci9903a6e2022-07-26 09:41:33 +010014135 "src/trace_processor/util/streaming_line_reader_unittest.cc",
Lalit Maganti58b22cc2024-07-10 08:28:51 +010014136 "src/trace_processor/util/trace_blob_view_reader_unittest.cc",
Primiano Tuccibe37f0c2022-07-26 10:08:12 +010014137 "src/trace_processor/util/zip_reader_unittest.cc",
Colin Cross84172332021-09-14 16:41:33 -070014138 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010014139}
14140
Lalit Magantie7107402020-04-15 13:41:12 +010014141// GN: //src/trace_processor/util:util
14142filegroup {
Colin Cross84172332021-09-14 16:41:33 -070014143 name: "perfetto_src_trace_processor_util_util",
Lalit Magantie7107402020-04-15 13:41:12 +010014144}
14145
Priyankaf1e96e32024-11-06 20:45:54 +000014146// GN: //src/trace_processor/util:winscope_proto_mapping
14147filegroup {
14148 name: "perfetto_src_trace_processor_util_winscope_proto_mapping",
14149}
14150
Primiano Tucci9903a6e2022-07-26 09:41:33 +010014151// GN: //src/trace_processor/util:zip_reader
14152filegroup {
14153 name: "perfetto_src_trace_processor_util_zip_reader",
14154 srcs: [
14155 "src/trace_processor/util/streaming_line_reader.cc",
Primiano Tuccibe37f0c2022-07-26 10:08:12 +010014156 "src/trace_processor/util/zip_reader.cc",
Primiano Tucci9903a6e2022-07-26 09:41:33 +010014157 ],
14158}
14159
Aaron Vaage07130572024-01-16 21:02:52 +000014160// GN: //src/trace_redaction:trace_redaction
14161filegroup {
14162 name: "perfetto_src_trace_redaction_trace_redaction",
14163 srcs: [
Aaron Vaage60dcbd22024-06-10 17:57:49 -070014164 "src/trace_redaction/broadphase_packet_filter.cc",
Aaron Vaageda5ae112024-04-23 10:33:46 -070014165 "src/trace_redaction/collect_frame_cookies.cc",
Aaron Vaage583bc032024-05-01 13:41:10 -070014166 "src/trace_redaction/collect_system_info.cc",
Aaron Vaage2f297382024-04-15 11:42:30 -070014167 "src/trace_redaction/collect_timeline_events.cc",
Aaron Vaageaa0b4432024-06-04 11:05:21 -070014168 "src/trace_redaction/filtering.cc",
Aaron Vaage07130572024-01-16 21:02:52 +000014169 "src/trace_redaction/find_package_uid.cc",
Aaron Vaage65d5c292024-06-04 21:17:02 -070014170 "src/trace_redaction/merge_threads.cc",
Aaron Vaagedf1996f2024-06-04 12:29:19 -070014171 "src/trace_redaction/modify.cc",
Aaron Vaage14b255d2024-02-28 09:11:00 -080014172 "src/trace_redaction/populate_allow_lists.cc",
Aaron Vaage731f04a2024-03-21 09:15:18 -070014173 "src/trace_redaction/process_thread_timeline.cc",
Aaron Vaage6cfe30d2024-03-13 12:14:22 -070014174 "src/trace_redaction/proto_util.cc",
Aaron Vaage07130572024-01-16 21:02:52 +000014175 "src/trace_redaction/prune_package_list.cc",
Aaron Vaage46cc07f2024-06-01 17:14:17 -070014176 "src/trace_redaction/redact_ftrace_events.cc",
Aaron Vaage7803d7c2024-05-31 13:18:11 -070014177 "src/trace_redaction/redact_process_events.cc",
Aaron Vaage65e9de62024-06-02 18:20:36 -070014178 "src/trace_redaction/redact_process_trees.cc",
Aaron Vaage1e626712024-05-29 12:56:16 -070014179 "src/trace_redaction/redact_sched_events.cc",
Aaron Vaage0a2bf5c2024-04-08 11:45:55 -070014180 "src/trace_redaction/scrub_process_stats.cc",
Aaron Vaage07130572024-01-16 21:02:52 +000014181 "src/trace_redaction/trace_redaction_framework.cc",
14182 "src/trace_redaction/trace_redactor.cc",
Aaron Vaagef0a658e2024-05-28 14:36:02 -070014183 "src/trace_redaction/verify_integrity.cc",
Aaron Vaage07130572024-01-16 21:02:52 +000014184 ],
14185}
14186
14187// GN: //src/trace_redaction:unittests
14188filegroup {
14189 name: "perfetto_src_trace_redaction_unittests",
14190 srcs: [
Aaron Vaage60dcbd22024-06-10 17:57:49 -070014191 "src/trace_redaction/broadphase_packet_filter_unittest.cc",
Aaron Vaageda5ae112024-04-23 10:33:46 -070014192 "src/trace_redaction/collect_frame_cookies_unittest.cc",
Aaron Vaage583bc032024-05-01 13:41:10 -070014193 "src/trace_redaction/collect_system_info_unittest.cc",
Aaron Vaage2f297382024-04-15 11:42:30 -070014194 "src/trace_redaction/collect_timeline_events_unittest.cc",
Aaron Vaagefe3dbf42024-04-04 10:32:55 -070014195 "src/trace_redaction/filter_sched_waking_events_unittest.cc",
Aaron Vaage07130572024-01-16 21:02:52 +000014196 "src/trace_redaction/find_package_uid_unittest.cc",
Aaron Vaage731f04a2024-03-21 09:15:18 -070014197 "src/trace_redaction/process_thread_timeline_unittest.cc",
Aaron Vaage6cfe30d2024-03-13 12:14:22 -070014198 "src/trace_redaction/proto_util_unittest.cc",
Aaron Vaage07130572024-01-16 21:02:52 +000014199 "src/trace_redaction/prune_package_list_unittest.cc",
Aaron Vaage7803d7c2024-05-31 13:18:11 -070014200 "src/trace_redaction/redact_process_events_unittest.cc",
Aaron Vaage1e626712024-05-29 12:56:16 -070014201 "src/trace_redaction/redact_sched_events_unittest.cc",
Aaron Vaagef0a658e2024-05-28 14:36:02 -070014202 "src/trace_redaction/verify_integrity_unittest.cc",
Aaron Vaage07130572024-01-16 21:02:52 +000014203 ],
14204}
14205
Hector Dearmana9545e52022-05-17 12:23:25 +010014206// GN: //src/traceconv:gen_cc_trace_descriptor
14207genrule {
14208 name: "perfetto_src_traceconv_gen_cc_trace_descriptor",
14209 srcs: [
14210 ":perfetto_protos_perfetto_trace_descriptor",
14211 ],
14212 cmd: "$(location tools/gen_cc_proto_descriptor.py) --gen_dir=$(genDir) --cpp_out=$(out) $(in)",
14213 out: [
14214 "src/traceconv/trace.descriptor.h",
14215 ],
14216 tool_files: [
14217 "tools/gen_cc_proto_descriptor.py",
14218 ],
14219}
14220
Daniele Di Proietto6bdf69c2024-04-24 14:07:24 +000014221// GN: //src/traceconv:gen_cc_winscope_descriptor
14222genrule {
14223 name: "perfetto_src_traceconv_gen_cc_winscope_descriptor",
14224 srcs: [
14225 ":perfetto_protos_perfetto_trace_android_winscope_descriptor",
14226 ],
14227 cmd: "$(location tools/gen_cc_proto_descriptor.py) --gen_dir=$(genDir) --cpp_out=$(out) $(in)",
14228 out: [
14229 "src/traceconv/winscope.descriptor.h",
14230 ],
14231 tool_files: [
14232 "tools/gen_cc_proto_descriptor.py",
14233 ],
14234}
14235
Hector Dearmana9545e52022-05-17 12:23:25 +010014236// GN: //src/traceconv:lib
14237filegroup {
14238 name: "perfetto_src_traceconv_lib",
14239 srcs: [
14240 "src/traceconv/deobfuscate_profile.cc",
14241 "src/traceconv/symbolize_profile.cc",
Carlos Caballeroed7646d2024-05-24 15:28:04 +000014242 "src/traceconv/trace_to_firefox.cc",
Hector Dearmana9545e52022-05-17 12:23:25 +010014243 "src/traceconv/trace_to_hprof.cc",
14244 "src/traceconv/trace_to_json.cc",
14245 "src/traceconv/trace_to_profile.cc",
14246 "src/traceconv/trace_to_systrace.cc",
14247 "src/traceconv/trace_to_text.cc",
Ryan Savitski2c657b22024-02-17 16:08:24 +000014248 "src/traceconv/trace_unpack.cc",
Hector Dearmana9545e52022-05-17 12:23:25 +010014249 ],
14250}
14251
14252// GN: //src/traceconv:main
14253filegroup {
14254 name: "perfetto_src_traceconv_main",
14255 srcs: [
14256 "src/traceconv/main.cc",
14257 ],
14258}
14259
14260// GN: //src/traceconv:pprofbuilder
14261filegroup {
14262 name: "perfetto_src_traceconv_pprofbuilder",
14263 srcs: [
14264 "src/traceconv/pprof_builder.cc",
14265 ],
14266}
14267
14268// GN: //src/traceconv:utils
14269filegroup {
14270 name: "perfetto_src_traceconv_utils",
14271 srcs: [
14272 "src/traceconv/utils.cc",
14273 ],
14274}
14275
Andy Yu2b0a2132022-04-07 16:17:10 -070014276// GN: //src/traced/probes/android_game_intervention_list:android_game_intervention_list
14277filegroup {
14278 name: "perfetto_src_traced_probes_android_game_intervention_list_android_game_intervention_list",
14279 srcs: [
14280 "src/traced/probes/android_game_intervention_list/android_game_intervention_list_data_source.cc",
14281 ],
14282}
14283
14284// GN: //src/traced/probes/android_game_intervention_list:unittests
14285filegroup {
14286 name: "perfetto_src_traced_probes_android_game_intervention_list_unittests",
14287 srcs: [
14288 "src/traced/probes/android_game_intervention_list/android_game_intervention_list_unittest.cc",
14289 ],
14290}
14291
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010014292// GN: //src/traced/probes/android_log:android_log
14293filegroup {
Colin Cross84172332021-09-14 16:41:33 -070014294 name: "perfetto_src_traced_probes_android_log_android_log",
14295 srcs: [
14296 "src/traced/probes/android_log/android_log_data_source.cc",
14297 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010014298}
14299
14300// GN: //src/traced/probes/android_log:unittests
14301filegroup {
Colin Cross84172332021-09-14 16:41:33 -070014302 name: "perfetto_src_traced_probes_android_log_unittests",
14303 srcs: [
14304 "src/traced/probes/android_log/android_log_data_source_unittest.cc",
14305 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010014306}
14307
Simon MacMullenf0a6b382022-07-06 16:35:55 +000014308// GN: //src/traced/probes/android_system_property:android_system_property
14309filegroup {
14310 name: "perfetto_src_traced_probes_android_system_property_android_system_property",
14311 srcs: [
14312 "src/traced/probes/android_system_property/android_system_property_data_source.cc",
14313 ],
14314}
14315
14316// GN: //src/traced/probes/android_system_property:unittests
14317filegroup {
14318 name: "perfetto_src_traced_probes_android_system_property_unittests",
14319 srcs: [
14320 "src/traced/probes/android_system_property/android_system_property_data_source_unittest.cc",
14321 ],
14322}
14323
Rafal Slawik8053a682020-04-08 17:26:40 +010014324// GN: //src/traced/probes/common:common
14325filegroup {
Colin Cross84172332021-09-14 16:41:33 -070014326 name: "perfetto_src_traced_probes_common_common",
14327 srcs: [
14328 "src/traced/probes/common/cpu_freq_info.cc",
14329 ],
Rafal Slawik8053a682020-04-08 17:26:40 +010014330}
14331
14332// GN: //src/traced/probes/common:test_support
14333filegroup {
Colin Cross84172332021-09-14 16:41:33 -070014334 name: "perfetto_src_traced_probes_common_test_support",
14335 srcs: [
14336 "src/traced/probes/common/cpu_freq_info_for_testing.cc",
14337 ],
Rafal Slawik8053a682020-04-08 17:26:40 +010014338}
14339
14340// GN: //src/traced/probes/common:unittests
14341filegroup {
Colin Cross84172332021-09-14 16:41:33 -070014342 name: "perfetto_src_traced_probes_common_unittests",
14343 srcs: [
14344 "src/traced/probes/common/cpu_freq_info_unittest.cc",
14345 ],
Rafal Slawik8053a682020-04-08 17:26:40 +010014346}
14347
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010014348// GN: //src/traced/probes:data_source
14349filegroup {
Colin Cross84172332021-09-14 16:41:33 -070014350 name: "perfetto_src_traced_probes_data_source",
14351 srcs: [
14352 "src/traced/probes/probes_data_source.cc",
14353 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010014354}
14355
14356// GN: //src/traced/probes/filesystem:filesystem
14357filegroup {
Colin Cross84172332021-09-14 16:41:33 -070014358 name: "perfetto_src_traced_probes_filesystem_filesystem",
14359 srcs: [
14360 "src/traced/probes/filesystem/file_scanner.cc",
14361 "src/traced/probes/filesystem/fs_mount.cc",
14362 "src/traced/probes/filesystem/inode_file_data_source.cc",
14363 "src/traced/probes/filesystem/lru_inode_cache.cc",
14364 "src/traced/probes/filesystem/prefix_finder.cc",
14365 "src/traced/probes/filesystem/range_tree.cc",
14366 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010014367}
14368
14369// GN: //src/traced/probes/filesystem:unittests
14370filegroup {
Colin Cross84172332021-09-14 16:41:33 -070014371 name: "perfetto_src_traced_probes_filesystem_unittests",
14372 srcs: [
14373 "src/traced/probes/filesystem/file_scanner_unittest.cc",
14374 "src/traced/probes/filesystem/fs_mount_unittest.cc",
14375 "src/traced/probes/filesystem/inode_file_data_source_unittest.cc",
14376 "src/traced/probes/filesystem/lru_inode_cache_unittest.cc",
14377 "src/traced/probes/filesystem/prefix_finder_unittest.cc",
14378 "src/traced/probes/filesystem/range_tree_unittest.cc",
14379 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010014380}
14381
Primiano Tucci65a4fb12020-12-21 18:35:15 +010014382// GN: //src/traced/probes/ftrace/format_parser:format_parser
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010014383filegroup {
Colin Cross84172332021-09-14 16:41:33 -070014384 name: "perfetto_src_traced_probes_ftrace_format_parser_format_parser",
14385 srcs: [
14386 "src/traced/probes/ftrace/format_parser/format_parser.cc",
14387 ],
Primiano Tucci65a4fb12020-12-21 18:35:15 +010014388}
14389
14390// GN: //src/traced/probes/ftrace/format_parser:unittests
14391filegroup {
Colin Cross84172332021-09-14 16:41:33 -070014392 name: "perfetto_src_traced_probes_ftrace_format_parser_unittests",
14393 srcs: [
14394 "src/traced/probes/ftrace/format_parser/format_parser_unittest.cc",
14395 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010014396}
14397
14398// GN: //src/traced/probes/ftrace:ftrace
14399filegroup {
Colin Cross84172332021-09-14 16:41:33 -070014400 name: "perfetto_src_traced_probes_ftrace_ftrace",
14401 srcs: [
14402 "src/traced/probes/ftrace/atrace_hal_wrapper.cc",
14403 "src/traced/probes/ftrace/atrace_wrapper.cc",
14404 "src/traced/probes/ftrace/compact_sched.cc",
14405 "src/traced/probes/ftrace/cpu_reader.cc",
14406 "src/traced/probes/ftrace/cpu_stats_parser.cc",
Colin Cross84172332021-09-14 16:41:33 -070014407 "src/traced/probes/ftrace/event_info.cc",
14408 "src/traced/probes/ftrace/event_info_constants.cc",
14409 "src/traced/probes/ftrace/ftrace_config_muxer.cc",
14410 "src/traced/probes/ftrace/ftrace_config_utils.cc",
14411 "src/traced/probes/ftrace/ftrace_controller.cc",
14412 "src/traced/probes/ftrace/ftrace_data_source.cc",
Daniele Di Proietto5c4b4432022-10-05 14:54:11 +010014413 "src/traced/probes/ftrace/ftrace_print_filter.cc",
Colin Cross84172332021-09-14 16:41:33 -070014414 "src/traced/probes/ftrace/ftrace_stats.cc",
14415 "src/traced/probes/ftrace/printk_formats_parser.cc",
14416 "src/traced/probes/ftrace/proto_translation_table.cc",
Daniele Di Proietto9ffc5bf2022-10-03 10:03:24 +000014417 "src/traced/probes/ftrace/vendor_tracepoints.cc",
Colin Cross84172332021-09-14 16:41:33 -070014418 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010014419}
14420
Ryan Savitskiec35afb2021-01-29 18:39:36 +000014421// GN: //src/traced/probes/ftrace:ftrace_procfs
14422filegroup {
Colin Cross84172332021-09-14 16:41:33 -070014423 name: "perfetto_src_traced_probes_ftrace_ftrace_procfs",
14424 srcs: [
14425 "src/traced/probes/ftrace/ftrace_procfs.cc",
14426 ],
Ryan Savitskiec35afb2021-01-29 18:39:36 +000014427}
14428
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010014429// GN: //src/traced/probes/ftrace:integrationtests
14430filegroup {
Colin Cross84172332021-09-14 16:41:33 -070014431 name: "perfetto_src_traced_probes_ftrace_integrationtests",
14432 srcs: [
14433 "src/traced/probes/ftrace/ftrace_procfs_integrationtest.cc",
14434 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010014435}
14436
Primiano Tuccife502c42019-12-11 01:00:27 +000014437// GN: //src/traced/probes/ftrace:test_messages_cpp
Spandan Das34f1b982023-10-13 23:24:01 +000014438filegroup {
14439 name: "perfetto_src_traced_probes_ftrace_test_messages_cpp",
14440 srcs: [
14441 "src/traced/probes/ftrace/test/test_messages.proto",
14442 ],
14443}
14444
14445// GN: //src/traced/probes/ftrace:test_messages_cpp
Primiano Tuccife502c42019-12-11 01:00:27 +000014446genrule {
Colin Cross84172332021-09-14 16:41:33 -070014447 name: "perfetto_src_traced_probes_ftrace_test_messages_cpp_gen",
14448 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +000014449 ":perfetto_src_traced_probes_ftrace_test_messages_cpp",
Colin Cross84172332021-09-14 16:41:33 -070014450 ],
14451 tools: [
14452 "aprotoc",
14453 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
14454 ],
Spandan Das34f1b982023-10-13 23:24:01 +000014455 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_src_traced_probes_ftrace_test_messages_cpp)",
Colin Cross84172332021-09-14 16:41:33 -070014456 out: [
14457 "external/perfetto/src/traced/probes/ftrace/test/test_messages.gen.cc",
14458 ],
Primiano Tuccife502c42019-12-11 01:00:27 +000014459}
14460
14461// GN: //src/traced/probes/ftrace:test_messages_cpp
14462genrule {
Colin Cross84172332021-09-14 16:41:33 -070014463 name: "perfetto_src_traced_probes_ftrace_test_messages_cpp_gen_headers",
14464 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +000014465 ":perfetto_src_traced_probes_ftrace_test_messages_cpp",
Colin Cross84172332021-09-14 16:41:33 -070014466 ],
14467 tools: [
14468 "aprotoc",
14469 "perfetto_src_protozero_protoc_plugin_cppgen_plugin",
14470 ],
Spandan Das34f1b982023-10-13 23:24:01 +000014471 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(locations :perfetto_src_traced_probes_ftrace_test_messages_cpp)",
Colin Cross84172332021-09-14 16:41:33 -070014472 out: [
14473 "external/perfetto/src/traced/probes/ftrace/test/test_messages.gen.h",
14474 ],
14475 export_include_dirs: [
14476 ".",
14477 "protos",
14478 ],
Primiano Tuccife502c42019-12-11 01:00:27 +000014479}
14480
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010014481// GN: //src/traced/probes/ftrace:test_messages_lite
Spandan Das34f1b982023-10-13 23:24:01 +000014482filegroup {
14483 name: "perfetto_src_traced_probes_ftrace_test_messages_lite",
14484 srcs: [
14485 "src/traced/probes/ftrace/test/test_messages.proto",
14486 ],
14487}
14488
14489// GN: //src/traced/probes/ftrace:test_messages_lite
Primiano Tuccide82dae2018-06-04 16:17:49 +020014490genrule {
Colin Cross84172332021-09-14 16:41:33 -070014491 name: "perfetto_src_traced_probes_ftrace_test_messages_lite_gen",
14492 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +000014493 ":perfetto_src_traced_probes_ftrace_test_messages_lite",
Colin Cross84172332021-09-14 16:41:33 -070014494 ],
14495 tools: [
14496 "aprotoc",
14497 ],
Spandan Das34f1b982023-10-13 23:24:01 +000014498 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_src_traced_probes_ftrace_test_messages_lite)",
Colin Cross84172332021-09-14 16:41:33 -070014499 out: [
14500 "external/perfetto/src/traced/probes/ftrace/test/test_messages.pb.cc",
14501 ],
Primiano Tuccide82dae2018-06-04 16:17:49 +020014502}
14503
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010014504// GN: //src/traced/probes/ftrace:test_messages_lite
Primiano Tuccide82dae2018-06-04 16:17:49 +020014505genrule {
Colin Cross84172332021-09-14 16:41:33 -070014506 name: "perfetto_src_traced_probes_ftrace_test_messages_lite_gen_headers",
14507 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +000014508 ":perfetto_src_traced_probes_ftrace_test_messages_lite",
Colin Cross84172332021-09-14 16:41:33 -070014509 ],
14510 tools: [
14511 "aprotoc",
14512 ],
Spandan Das34f1b982023-10-13 23:24:01 +000014513 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=lite=true:$(genDir)/external/perfetto/ $(locations :perfetto_src_traced_probes_ftrace_test_messages_lite)",
Colin Cross84172332021-09-14 16:41:33 -070014514 out: [
14515 "external/perfetto/src/traced/probes/ftrace/test/test_messages.pb.h",
14516 ],
14517 export_include_dirs: [
14518 ".",
14519 "protos",
14520 ],
Primiano Tuccide82dae2018-06-04 16:17:49 +020014521}
14522
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010014523// GN: //src/traced/probes/ftrace:test_messages_zero
Spandan Das34f1b982023-10-13 23:24:01 +000014524filegroup {
14525 name: "perfetto_src_traced_probes_ftrace_test_messages_zero",
14526 srcs: [
14527 "src/traced/probes/ftrace/test/test_messages.proto",
14528 ],
14529}
14530
14531// GN: //src/traced/probes/ftrace:test_messages_zero
Primiano Tuccide82dae2018-06-04 16:17:49 +020014532genrule {
Colin Cross84172332021-09-14 16:41:33 -070014533 name: "perfetto_src_traced_probes_ftrace_test_messages_zero_gen",
14534 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +000014535 ":perfetto_src_traced_probes_ftrace_test_messages_zero",
Colin Cross84172332021-09-14 16:41:33 -070014536 ],
14537 tools: [
14538 "aprotoc",
14539 "protozero_plugin",
14540 ],
Spandan Das34f1b982023-10-13 23:24:01 +000014541 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_src_traced_probes_ftrace_test_messages_zero)",
Colin Cross84172332021-09-14 16:41:33 -070014542 out: [
14543 "external/perfetto/src/traced/probes/ftrace/test/test_messages.pbzero.cc",
14544 ],
Primiano Tuccide82dae2018-06-04 16:17:49 +020014545}
14546
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010014547// GN: //src/traced/probes/ftrace:test_messages_zero
Primiano Tuccide82dae2018-06-04 16:17:49 +020014548genrule {
Colin Cross84172332021-09-14 16:41:33 -070014549 name: "perfetto_src_traced_probes_ftrace_test_messages_zero_gen_headers",
14550 srcs: [
Spandan Das34f1b982023-10-13 23:24:01 +000014551 ":perfetto_src_traced_probes_ftrace_test_messages_zero",
Colin Cross84172332021-09-14 16:41:33 -070014552 ],
14553 tools: [
14554 "aprotoc",
14555 "protozero_plugin",
14556 ],
Spandan Das34f1b982023-10-13 23:24:01 +000014557 cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_src_traced_probes_ftrace_test_messages_zero)",
Colin Cross84172332021-09-14 16:41:33 -070014558 out: [
14559 "external/perfetto/src/traced/probes/ftrace/test/test_messages.pbzero.h",
14560 ],
14561 export_include_dirs: [
14562 ".",
14563 "protos",
14564 ],
Primiano Tuccide82dae2018-06-04 16:17:49 +020014565}
14566
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010014567// GN: //src/traced/probes/ftrace:test_support
14568filegroup {
Colin Cross84172332021-09-14 16:41:33 -070014569 name: "perfetto_src_traced_probes_ftrace_test_support",
14570 srcs: [
14571 "src/traced/probes/ftrace/test/cpu_reader_support.cc",
14572 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010014573}
14574
14575// GN: //src/traced/probes/ftrace:unittests
14576filegroup {
Colin Cross84172332021-09-14 16:41:33 -070014577 name: "perfetto_src_traced_probes_ftrace_unittests",
14578 srcs: [
14579 "src/traced/probes/ftrace/cpu_reader_unittest.cc",
14580 "src/traced/probes/ftrace/cpu_stats_parser_unittest.cc",
Colin Cross84172332021-09-14 16:41:33 -070014581 "src/traced/probes/ftrace/event_info_unittest.cc",
14582 "src/traced/probes/ftrace/ftrace_config_muxer_unittest.cc",
14583 "src/traced/probes/ftrace/ftrace_config_unittest.cc",
14584 "src/traced/probes/ftrace/ftrace_controller_unittest.cc",
Daniele Di Proietto5c4b4432022-10-05 14:54:11 +010014585 "src/traced/probes/ftrace/ftrace_print_filter_unittest.cc",
Colin Cross84172332021-09-14 16:41:33 -070014586 "src/traced/probes/ftrace/ftrace_procfs_unittest.cc",
14587 "src/traced/probes/ftrace/printk_formats_parser_unittest.cc",
14588 "src/traced/probes/ftrace/proto_translation_table_unittest.cc",
Daniele Di Proietto9ffc5bf2022-10-03 10:03:24 +000014589 "src/traced/probes/ftrace/vendor_tracepoints_unittest.cc",
Colin Cross84172332021-09-14 16:41:33 -070014590 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010014591}
14592
Simon MacMullen3d4c54a2020-04-17 16:40:53 +010014593// GN: //src/traced/probes/initial_display_state:initial_display_state
14594filegroup {
Colin Cross84172332021-09-14 16:41:33 -070014595 name: "perfetto_src_traced_probes_initial_display_state_initial_display_state",
14596 srcs: [
14597 "src/traced/probes/initial_display_state/initial_display_state_data_source.cc",
14598 ],
Simon MacMullen3d4c54a2020-04-17 16:40:53 +010014599}
14600
14601// GN: //src/traced/probes/initial_display_state:unittests
14602filegroup {
Colin Cross84172332021-09-14 16:41:33 -070014603 name: "perfetto_src_traced_probes_initial_display_state_unittests",
14604 srcs: [
14605 "src/traced/probes/initial_display_state/initial_display_state_data_source_unittest.cc",
14606 ],
Simon MacMullen3d4c54a2020-04-17 16:40:53 +010014607}
14608
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010014609// GN: //src/traced/probes/metatrace:metatrace
14610filegroup {
Colin Cross84172332021-09-14 16:41:33 -070014611 name: "perfetto_src_traced_probes_metatrace_metatrace",
14612 srcs: [
14613 "src/traced/probes/metatrace/metatrace_data_source.cc",
14614 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010014615}
14616
14617// GN: //src/traced/probes/packages_list:packages_list
14618filegroup {
Colin Cross84172332021-09-14 16:41:33 -070014619 name: "perfetto_src_traced_probes_packages_list_packages_list",
14620 srcs: [
14621 "src/traced/probes/packages_list/packages_list_data_source.cc",
14622 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010014623}
14624
Florian Mayer29e17182020-12-23 10:59:02 +000014625// GN: //src/traced/probes/packages_list:packages_list_parser
14626filegroup {
Colin Cross84172332021-09-14 16:41:33 -070014627 name: "perfetto_src_traced_probes_packages_list_packages_list_parser",
14628 srcs: [
14629 "src/traced/probes/packages_list/packages_list_parser.cc",
14630 ],
Florian Mayer29e17182020-12-23 10:59:02 +000014631}
14632
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010014633// GN: //src/traced/probes/packages_list:unittests
14634filegroup {
Colin Cross84172332021-09-14 16:41:33 -070014635 name: "perfetto_src_traced_probes_packages_list_unittests",
14636 srcs: [
14637 "src/traced/probes/packages_list/packages_list_unittest.cc",
14638 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010014639}
14640
14641// GN: //src/traced/probes/power:power
14642filegroup {
Colin Cross84172332021-09-14 16:41:33 -070014643 name: "perfetto_src_traced_probes_power_power",
14644 srcs: [
14645 "src/traced/probes/power/android_power_data_source.cc",
Chinglin Yu819ef1a2021-11-15 22:25:05 +080014646 "src/traced/probes/power/linux_power_sysfs_data_source.cc",
14647 ],
14648}
14649
14650// GN: //src/traced/probes/power:unittests
14651filegroup {
14652 name: "perfetto_src_traced_probes_power_unittests",
14653 srcs: [
14654 "src/traced/probes/power/linux_power_sysfs_data_source_unittest.cc",
Colin Cross84172332021-09-14 16:41:33 -070014655 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010014656}
14657
14658// GN: //src/traced/probes:probes
14659filegroup {
Colin Cross84172332021-09-14 16:41:33 -070014660 name: "perfetto_src_traced_probes_probes",
14661 srcs: [
14662 "src/traced/probes/probes.cc",
14663 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010014664}
14665
14666// GN: //src/traced/probes:probes_src
14667filegroup {
Colin Cross84172332021-09-14 16:41:33 -070014668 name: "perfetto_src_traced_probes_probes_src",
14669 srcs: [
14670 "src/traced/probes/kmem_activity_trigger.cc",
14671 "src/traced/probes/probes_producer.cc",
14672 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010014673}
14674
14675// GN: //src/traced/probes/ps:ps
14676filegroup {
Colin Cross84172332021-09-14 16:41:33 -070014677 name: "perfetto_src_traced_probes_ps_ps",
14678 srcs: [
14679 "src/traced/probes/ps/process_stats_data_source.cc",
14680 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010014681}
14682
14683// GN: //src/traced/probes/ps:unittests
14684filegroup {
Colin Cross84172332021-09-14 16:41:33 -070014685 name: "perfetto_src_traced_probes_ps_unittests",
14686 srcs: [
14687 "src/traced/probes/ps/process_stats_data_source_unittest.cc",
14688 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010014689}
14690
Hector Dearman09db5b02022-07-11 13:35:23 +010014691// GN: //src/traced/probes/statsd_client:statsd_client
14692filegroup {
14693 name: "perfetto_src_traced_probes_statsd_client_statsd_client",
14694 srcs: [
Hector Dearman7d7193a2023-03-20 14:10:06 +000014695 "src/traced/probes/statsd_client/common.cc",
Hector Dearmanff7abd42023-03-22 19:11:35 +000014696 "src/traced/probes/statsd_client/statsd_binder_data_source.cc",
Hector Dearman09db5b02022-07-11 13:35:23 +010014697 ],
14698}
14699
14700// GN: //src/traced/probes/statsd_client:unittests
14701filegroup {
14702 name: "perfetto_src_traced_probes_statsd_client_unittests",
14703 srcs: [
Hector Dearman7d7193a2023-03-20 14:10:06 +000014704 "src/traced/probes/statsd_client/common_unittest.cc",
Hector Dearman09db5b02022-07-11 13:35:23 +010014705 ],
14706}
14707
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010014708// GN: //src/traced/probes/sys_stats:sys_stats
14709filegroup {
Colin Cross84172332021-09-14 16:41:33 -070014710 name: "perfetto_src_traced_probes_sys_stats_sys_stats",
14711 srcs: [
14712 "src/traced/probes/sys_stats/sys_stats_data_source.cc",
14713 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010014714}
14715
14716// GN: //src/traced/probes/sys_stats:unittests
14717filegroup {
Colin Cross84172332021-09-14 16:41:33 -070014718 name: "perfetto_src_traced_probes_sys_stats_unittests",
14719 srcs: [
14720 "src/traced/probes/sys_stats/sys_stats_data_source_unittest.cc",
14721 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010014722}
14723
Rafal Slawikb013a112020-04-03 16:12:02 +010014724// GN: //src/traced/probes/system_info:system_info
14725filegroup {
Colin Cross84172332021-09-14 16:41:33 -070014726 name: "perfetto_src_traced_probes_system_info_system_info",
14727 srcs: [
14728 "src/traced/probes/system_info/system_info_data_source.cc",
14729 ],
Rafal Slawikb013a112020-04-03 16:12:02 +010014730}
14731
14732// GN: //src/traced/probes/system_info:unittests
14733filegroup {
Colin Cross84172332021-09-14 16:41:33 -070014734 name: "perfetto_src_traced_probes_system_info_unittests",
14735 srcs: [
14736 "src/traced/probes/system_info/system_info_data_source_unittest.cc",
14737 ],
Rafal Slawikb013a112020-04-03 16:12:02 +010014738}
14739
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010014740// GN: //src/traced/probes:unittests
14741filegroup {
Colin Cross84172332021-09-14 16:41:33 -070014742 name: "perfetto_src_traced_probes_unittests",
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010014743}
14744
Chinglin Yu5682f422023-10-13 14:28:04 +080014745// GN: //src/traced_relay:integrationtests
14746filegroup {
14747 name: "perfetto_src_traced_relay_integrationtests",
14748 srcs: [
14749 "src/traced_relay/relay_service_integrationtest.cc",
14750 ],
14751}
14752
14753// GN: //src/traced_relay:lib
14754filegroup {
14755 name: "perfetto_src_traced_relay_lib",
14756 srcs: [
14757 "src/traced_relay/relay_service.cc",
14758 "src/traced_relay/socket_relay_handler.cc",
14759 ],
14760}
14761
14762// GN: //src/traced_relay:unittests
14763filegroup {
14764 name: "perfetto_src_traced_relay_unittests",
14765 srcs: [
14766 "src/traced_relay/relay_service_unittest.cc",
14767 "src/traced_relay/socket_relay_handler_unittest.cc",
14768 ],
14769}
14770
Daniele Di Proietto740dd922024-11-27 14:28:01 +000014771// GN: //src/traced/service:builtin_producer
14772filegroup {
14773 name: "perfetto_src_traced_service_builtin_producer",
14774 srcs: [
14775 "src/traced/service/builtin_producer.cc",
14776 ],
14777}
14778
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010014779// GN: //src/traced/service:service
14780filegroup {
Colin Cross84172332021-09-14 16:41:33 -070014781 name: "perfetto_src_traced_service_service",
14782 srcs: [
Colin Cross84172332021-09-14 16:41:33 -070014783 "src/traced/service/service.cc",
14784 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010014785}
14786
14787// GN: //src/traced/service:unittests
14788filegroup {
Colin Cross84172332021-09-14 16:41:33 -070014789 name: "perfetto_src_traced_service_unittests",
14790 srcs: [
14791 "src/traced/service/builtin_producer_unittest.cc",
14792 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010014793}
14794
Primiano Tucci3feec552020-02-04 11:14:42 +000014795// GN: //src/tracing:client_api_without_backends
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010014796filegroup {
Colin Cross84172332021-09-14 16:41:33 -070014797 name: "perfetto_src_tracing_client_api_without_backends",
14798 srcs: [
14799 "src/tracing/console_interceptor.cc",
14800 "src/tracing/data_source.cc",
14801 "src/tracing/debug_annotation.cc",
14802 "src/tracing/event_context.cc",
14803 "src/tracing/interceptor.cc",
14804 "src/tracing/internal/checked_scope.cc",
14805 "src/tracing/internal/interceptor_trace_writer.cc",
14806 "src/tracing/internal/tracing_backend_fake.cc",
14807 "src/tracing/internal/tracing_muxer_fake.cc",
14808 "src/tracing/internal/tracing_muxer_impl.cc",
14809 "src/tracing/internal/track_event_internal.cc",
14810 "src/tracing/internal/track_event_interned_fields.cc",
14811 "src/tracing/platform.cc",
14812 "src/tracing/traced_value.cc",
14813 "src/tracing/tracing.cc",
14814 "src/tracing/tracing_policy.cc",
14815 "src/tracing/track.cc",
14816 "src/tracing/track_event_category_registry.cc",
14817 "src/tracing/track_event_legacy.cc",
14818 "src/tracing/track_event_state_tracker.cc",
14819 "src/tracing/virtual_destructors.cc",
14820 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010014821}
14822
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010014823// GN: //src/tracing:common
14824filegroup {
Colin Cross84172332021-09-14 16:41:33 -070014825 name: "perfetto_src_tracing_common",
14826 srcs: [
14827 "src/tracing/trace_writer_base.cc",
14828 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010014829}
14830
Primiano Tuccic4c063b2020-01-27 09:34:46 +000014831// GN: //src/tracing/core:core
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010014832filegroup {
Colin Cross84172332021-09-14 16:41:33 -070014833 name: "perfetto_src_tracing_core_core",
14834 srcs: [
14835 "src/tracing/core/id_allocator.cc",
Chinglin Yuc51f3b42023-05-25 09:06:27 +000014836 "src/tracing/core/in_process_shared_memory.cc",
Colin Cross84172332021-09-14 16:41:33 -070014837 "src/tracing/core/null_trace_writer.cc",
14838 "src/tracing/core/shared_memory_abi.cc",
14839 "src/tracing/core/shared_memory_arbiter_impl.cc",
14840 "src/tracing/core/trace_packet.cc",
14841 "src/tracing/core/trace_writer_impl.cc",
14842 "src/tracing/core/virtual_destructors.cc",
14843 ],
Primiano Tuccic4c063b2020-01-27 09:34:46 +000014844}
14845
Primiano Tuccic4c063b2020-01-27 09:34:46 +000014846// GN: //src/tracing/core:test_support
14847filegroup {
Colin Cross84172332021-09-14 16:41:33 -070014848 name: "perfetto_src_tracing_core_test_support",
14849 srcs: [
14850 "src/tracing/core/trace_writer_for_testing.cc",
14851 ],
Primiano Tuccic4c063b2020-01-27 09:34:46 +000014852}
14853
14854// GN: //src/tracing/core:unittests
14855filegroup {
Colin Cross84172332021-09-14 16:41:33 -070014856 name: "perfetto_src_tracing_core_unittests",
14857 srcs: [
14858 "src/tracing/core/id_allocator_unittest.cc",
14859 "src/tracing/core/null_trace_writer_unittest.cc",
Colin Cross84172332021-09-14 16:41:33 -070014860 "src/tracing/core/patch_list_unittest.cc",
14861 "src/tracing/core/shared_memory_abi_unittest.cc",
14862 "src/tracing/core/shared_memory_arbiter_impl_unittest.cc",
Colin Cross84172332021-09-14 16:41:33 -070014863 "src/tracing/core/trace_packet_unittest.cc",
14864 "src/tracing/core/trace_writer_impl_unittest.cc",
Colin Cross84172332021-09-14 16:41:33 -070014865 ],
Primiano Tuccic4c063b2020-01-27 09:34:46 +000014866}
14867
Primiano Tucci55b4d912020-01-28 11:17:51 +000014868// GN: //src/tracing:in_process_backend
14869filegroup {
Colin Cross84172332021-09-14 16:41:33 -070014870 name: "perfetto_src_tracing_in_process_backend",
14871 srcs: [
14872 "src/tracing/internal/in_process_tracing_backend.cc",
14873 ],
Primiano Tucci55b4d912020-01-28 11:17:51 +000014874}
14875
Daniele Di Proietto03728272022-11-21 20:07:16 +000014876// GN: //src/tracing:integrationtests
14877filegroup {
14878 name: "perfetto_src_tracing_integrationtests",
14879 srcs: [
14880 "src/tracing/internal/tracing_muxer_impl_integrationtest.cc",
14881 ],
14882}
14883
Primiano Tuccic4c063b2020-01-27 09:34:46 +000014884// GN: //src/tracing/ipc:common
14885filegroup {
Colin Cross84172332021-09-14 16:41:33 -070014886 name: "perfetto_src_tracing_ipc_common",
14887 srcs: [
Colin Cross84172332021-09-14 16:41:33 -070014888 "src/tracing/ipc/memfd.cc",
14889 "src/tracing/ipc/posix_shared_memory.cc",
14890 "src/tracing/ipc/shared_memory_windows.cc",
14891 ],
Primiano Tuccic4c063b2020-01-27 09:34:46 +000014892}
14893
14894// GN: //src/tracing/ipc/consumer:consumer
14895filegroup {
Colin Cross84172332021-09-14 16:41:33 -070014896 name: "perfetto_src_tracing_ipc_consumer_consumer",
14897 srcs: [
14898 "src/tracing/ipc/consumer/consumer_ipc_client_impl.cc",
14899 ],
Primiano Tuccic4c063b2020-01-27 09:34:46 +000014900}
14901
Primiano Tucci8761a312021-11-25 17:17:23 +000014902// GN: //src/tracing/ipc:default_socket
14903filegroup {
14904 name: "perfetto_src_tracing_ipc_default_socket",
14905 srcs: [
14906 "src/tracing/ipc/default_socket.cc",
14907 ],
14908}
14909
Primiano Tuccic4c063b2020-01-27 09:34:46 +000014910// GN: //src/tracing/ipc/producer:producer
14911filegroup {
Colin Cross84172332021-09-14 16:41:33 -070014912 name: "perfetto_src_tracing_ipc_producer_producer",
14913 srcs: [
14914 "src/tracing/ipc/producer/producer_ipc_client_impl.cc",
14915 ],
Primiano Tuccic4c063b2020-01-27 09:34:46 +000014916}
14917
Chinglin Yu76788d22024-02-21 15:49:43 +080014918// GN: //src/tracing/ipc/producer:relay
14919filegroup {
14920 name: "perfetto_src_tracing_ipc_producer_relay",
14921 srcs: [
14922 "src/tracing/ipc/producer/relay_ipc_client.cc",
14923 ],
14924}
14925
Primiano Tuccic4c063b2020-01-27 09:34:46 +000014926// GN: //src/tracing/ipc/service:service
14927filegroup {
Colin Cross84172332021-09-14 16:41:33 -070014928 name: "perfetto_src_tracing_ipc_service_service",
14929 srcs: [
14930 "src/tracing/ipc/service/consumer_ipc_service.cc",
14931 "src/tracing/ipc/service/producer_ipc_service.cc",
Chinglin Yu76788d22024-02-21 15:49:43 +080014932 "src/tracing/ipc/service/relay_ipc_service.cc",
Colin Cross84172332021-09-14 16:41:33 -070014933 "src/tracing/ipc/service/service_ipc_host_impl.cc",
14934 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010014935}
14936
Primiano Tuccic4c063b2020-01-27 09:34:46 +000014937// GN: //src/tracing/ipc:unittests
14938filegroup {
Colin Cross84172332021-09-14 16:41:33 -070014939 name: "perfetto_src_tracing_ipc_unittests",
14940 srcs: [
14941 "src/tracing/ipc/posix_shared_memory_unittest.cc",
14942 ],
Primiano Tuccic4c063b2020-01-27 09:34:46 +000014943}
14944
Primiano Tucci10c9e9e2021-01-08 13:04:40 +010014945// GN: //src/tracing:platform_impl
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010014946filegroup {
Colin Cross84172332021-09-14 16:41:33 -070014947 name: "perfetto_src_tracing_platform_impl",
14948 srcs: [
14949 "src/tracing/platform_posix.cc",
14950 "src/tracing/platform_windows.cc",
14951 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010014952}
14953
Daniele Di Proietto7c058852024-01-19 13:25:40 +000014954// GN: //src/tracing/service:service
14955filegroup {
14956 name: "perfetto_src_tracing_service_service",
14957 srcs: [
Daniele Di Proietto9e4635d2024-10-07 13:59:51 +000014958 "src/tracing/service/clock.cc",
Daniele Di Proietto7c058852024-01-19 13:25:40 +000014959 "src/tracing/service/metatrace_writer.cc",
14960 "src/tracing/service/packet_stream_validator.cc",
Daniele Di Proietto2d6bb122024-10-07 13:59:51 +000014961 "src/tracing/service/random.cc",
Daniele Di Proietto7c058852024-01-19 13:25:40 +000014962 "src/tracing/service/trace_buffer.cc",
14963 "src/tracing/service/tracing_service_impl.cc",
14964 ],
14965}
14966
14967// GN: //src/tracing/service:unittests
14968filegroup {
14969 name: "perfetto_src_tracing_service_unittests",
14970 srcs: [
14971 "src/tracing/service/histogram_unittest.cc",
14972 "src/tracing/service/packet_stream_validator_unittest.cc",
14973 "src/tracing/service/trace_buffer_unittest.cc",
14974 "src/tracing/service/tracing_service_impl_unittest.cc",
14975 "src/tracing/service/zlib_compressor_unittest.cc",
14976 ],
14977}
14978
14979// GN: //src/tracing/service:zlib_compressor
14980filegroup {
14981 name: "perfetto_src_tracing_service_zlib_compressor",
14982 srcs: [
14983 "src/tracing/service/zlib_compressor.cc",
14984 ],
14985}
14986
Primiano Tucci3feec552020-02-04 11:14:42 +000014987// GN: //src/tracing:system_backend
Primiano Tucci55b4d912020-01-28 11:17:51 +000014988filegroup {
Colin Cross84172332021-09-14 16:41:33 -070014989 name: "perfetto_src_tracing_system_backend",
14990 srcs: [
14991 "src/tracing/internal/system_tracing_backend.cc",
14992 ],
Primiano Tucci55b4d912020-01-28 11:17:51 +000014993}
14994
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010014995// GN: //src/tracing/test:api_test_support
14996filegroup {
Colin Cross84172332021-09-14 16:41:33 -070014997 name: "perfetto_src_tracing_test_api_test_support",
14998 srcs: [
14999 "src/tracing/test/api_test_support.cc",
15000 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010015001}
15002
Primiano Tuccic4c063b2020-01-27 09:34:46 +000015003// GN: //src/tracing/test:client_api_integrationtests
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010015004filegroup {
Colin Cross84172332021-09-14 16:41:33 -070015005 name: "perfetto_src_tracing_test_client_api_integrationtests",
15006 srcs: [
15007 "src/tracing/test/api_integrationtest.cc",
15008 "src/tracing/test/tracing_module.cc",
15009 "src/tracing/test/tracing_module2.cc",
Sami Kyöstilä6020a922023-01-17 16:18:33 +110015010 "src/tracing/test/tracing_module3.cc",
Colin Cross84172332021-09-14 16:41:33 -070015011 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010015012}
15013
Primiano Tuccic4c063b2020-01-27 09:34:46 +000015014// GN: //src/tracing/test:test_support
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010015015filegroup {
Colin Cross84172332021-09-14 16:41:33 -070015016 name: "perfetto_src_tracing_test_test_support",
15017 srcs: [
15018 "src/tracing/test/aligned_buffer_test.cc",
15019 "src/tracing/test/fake_packet.cc",
15020 "src/tracing/test/mock_consumer.cc",
15021 "src/tracing/test/mock_producer.cc",
Daniele Di Proiettof63951d2024-10-07 13:59:50 +000015022 "src/tracing/test/proxy_producer_endpoint.cc",
15023 "src/tracing/test/test_shared_memory.cc",
Colin Cross84172332021-09-14 16:41:33 -070015024 "src/tracing/test/traced_value_test_support.cc",
15025 ],
Primiano Tuccic4c063b2020-01-27 09:34:46 +000015026}
15027
15028// GN: //src/tracing/test:tracing_integration_test
15029filegroup {
Colin Cross84172332021-09-14 16:41:33 -070015030 name: "perfetto_src_tracing_test_tracing_integration_test",
15031 srcs: [
15032 "src/tracing/test/platform_unittest.cc",
15033 "src/tracing/test/tracing_integration_test.cc",
15034 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010015035}
15036
Alexander Timin02d79852021-01-15 16:31:24 +000015037// GN: //src/tracing:unittests
15038filegroup {
Colin Cross84172332021-09-14 16:41:33 -070015039 name: "perfetto_src_tracing_unittests",
15040 srcs: [
Daniele Di Proiettof4cfd652022-04-22 15:59:40 +010015041 "src/tracing/internal/interceptor_trace_writer_unittest.cc",
Colin Cross84172332021-09-14 16:41:33 -070015042 "src/tracing/traced_proto_unittest.cc",
15043 "src/tracing/traced_value_unittest.cc",
15044 ],
Alexander Timin02d79852021-01-15 16:31:24 +000015045}
15046
Daniele Di Proiettoc60ec0d2024-09-04 13:43:48 +000015047// GN: //test:integrationtest_initializer
15048filegroup {
15049 name: "perfetto_test_integrationtest_initializer",
15050}
15051
15052// GN: //test:integrationtest_main
15053filegroup {
15054 name: "perfetto_test_integrationtest_main",
15055 srcs: [
15056 "test/integrationtest_main.cc",
15057 ],
15058}
15059
Hector Dearmanca273502022-05-12 08:46:34 +010015060// GN: //test/sanitizers:unittests
15061filegroup {
15062 name: "perfetto_test_sanitizers_unittests",
15063 srcs: [
15064 "test/sanitizers/sanitizers_unittest.cc",
15065 ],
15066}
15067
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010015068// GN: //test:test_helper
15069filegroup {
Colin Cross84172332021-09-14 16:41:33 -070015070 name: "perfetto_test_test_helper",
15071 srcs: [
15072 "test/android_test_utils.cc",
15073 "test/fake_producer.cc",
15074 "test/test_helper.cc",
15075 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010015076}
15077
Lalit Magantid7afbb12022-03-28 15:12:24 +010015078// GN: [//protos/perfetto/trace:non_minimal_source_set, //protos/perfetto/trace:minimal_source_set]
15079java_library {
15080 name: "perfetto_trace_java_protos",
15081 srcs: [
15082 "protos/perfetto/common/android_energy_consumer_descriptor.proto",
15083 "protos/perfetto/common/android_log_constants.proto",
15084 "protos/perfetto/common/builtin_clock.proto",
15085 "protos/perfetto/common/commit_data_request.proto",
15086 "protos/perfetto/common/data_source_descriptor.proto",
15087 "protos/perfetto/common/descriptor.proto",
15088 "protos/perfetto/common/ftrace_descriptor.proto",
15089 "protos/perfetto/common/gpu_counter_descriptor.proto",
15090 "protos/perfetto/common/interceptor_descriptor.proto",
15091 "protos/perfetto/common/observable_events.proto",
15092 "protos/perfetto/common/perf_events.proto",
Pablo Gamito56893db2023-11-28 16:32:24 +000015093 "protos/perfetto/common/protolog_common.proto",
Lalit Magantid7afbb12022-03-28 15:12:24 +010015094 "protos/perfetto/common/sys_stats_counters.proto",
15095 "protos/perfetto/common/trace_stats.proto",
15096 "protos/perfetto/common/tracing_service_capabilities.proto",
15097 "protos/perfetto/common/tracing_service_state.proto",
15098 "protos/perfetto/common/track_event_descriptor.proto",
Andy Yu2e3c9b62022-05-31 11:23:18 -070015099 "protos/perfetto/config/android/android_game_intervention_list_config.proto",
Prabir Pradhan278f4672024-01-16 21:01:06 +000015100 "protos/perfetto/config/android/android_input_event_config.proto",
Lalit Magantid7afbb12022-03-28 15:12:24 +010015101 "protos/perfetto/config/android/android_log_config.proto",
15102 "protos/perfetto/config/android/android_polled_state_config.proto",
Nolan Scobieae5edf02023-04-23 17:23:23 -040015103 "protos/perfetto/config/android/android_sdk_sysprop_guard_config.proto",
Simon MacMullenf0a6b382022-07-06 16:35:55 +000015104 "protos/perfetto/config/android/android_system_property_config.proto",
Ryan Zuklie1c0a5002022-11-18 17:03:37 -080015105 "protos/perfetto/config/android/network_trace_config.proto",
Lalit Magantid7afbb12022-03-28 15:12:24 +010015106 "protos/perfetto/config/android/packages_list_config.proto",
Simon MacMullen10715962024-04-18 17:48:47 +000015107 "protos/perfetto/config/android/pixel_modem_config.proto",
Pablo Gamito56893db2023-11-28 16:32:24 +000015108 "protos/perfetto/config/android/protolog_config.proto",
Kean Mariottia977e772023-06-06 08:27:55 +000015109 "protos/perfetto/config/android/surfaceflinger_layers_config.proto",
Kean Mariotti8200d062023-08-02 13:14:10 +000015110 "protos/perfetto/config/android/surfaceflinger_transactions_config.proto",
Kean Mariotti1060a4a2024-06-26 08:01:48 +000015111 "protos/perfetto/config/android/windowmanager_config.proto",
Lalit Magantid7afbb12022-03-28 15:12:24 +010015112 "protos/perfetto/config/chrome/chrome_config.proto",
Etienne Pierre-dorayd8663352023-02-28 21:24:56 +000015113 "protos/perfetto/config/chrome/scenario_config.proto",
Etienne Pierre-doray0508c942024-10-31 15:38:19 +000015114 "protos/perfetto/config/chrome/system_metrics.proto",
Carlos Caballero856a7092024-01-15 17:27:35 +000015115 "protos/perfetto/config/chrome/v8_config.proto",
Lalit Magantid7afbb12022-03-28 15:12:24 +010015116 "protos/perfetto/config/data_source_config.proto",
Alex Attar40214472023-11-27 10:59:52 -050015117 "protos/perfetto/config/etw/etw_config.proto",
Lalit Magantid7afbb12022-03-28 15:12:24 +010015118 "protos/perfetto/config/ftrace/ftrace_config.proto",
15119 "protos/perfetto/config/gpu/gpu_counter_config.proto",
15120 "protos/perfetto/config/gpu/vulkan_memory_config.proto",
15121 "protos/perfetto/config/inode_file/inode_file_config.proto",
15122 "protos/perfetto/config/interceptor_config.proto",
15123 "protos/perfetto/config/interceptors/console_config.proto",
15124 "protos/perfetto/config/power/android_power_config.proto",
15125 "protos/perfetto/config/process_stats/process_stats_config.proto",
15126 "protos/perfetto/config/profiling/heapprofd_config.proto",
15127 "protos/perfetto/config/profiling/java_hprof_config.proto",
15128 "protos/perfetto/config/profiling/perf_event_config.proto",
Hector Dearman5974de02022-06-23 15:31:40 +010015129 "protos/perfetto/config/statsd/atom_ids.proto",
15130 "protos/perfetto/config/statsd/statsd_tracing_config.proto",
Lalit Magantid7afbb12022-03-28 15:12:24 +010015131 "protos/perfetto/config/stress_test_config.proto",
15132 "protos/perfetto/config/sys_stats/sys_stats_config.proto",
Hector Dearman48047d12022-08-02 14:00:46 +010015133 "protos/perfetto/config/system_info/system_info.proto",
Lalit Magantid7afbb12022-03-28 15:12:24 +010015134 "protos/perfetto/config/test_config.proto",
15135 "protos/perfetto/config/trace_config.proto",
15136 "protos/perfetto/config/track_event/track_event_config.proto",
Andy Yu2e3c9b62022-05-31 11:23:18 -070015137 "protos/perfetto/trace/android/android_game_intervention_list.proto",
Lalit Magantid7afbb12022-03-28 15:12:24 +010015138 "protos/perfetto/trace/android/android_log.proto",
Simon MacMullenf0a6b382022-07-06 16:35:55 +000015139 "protos/perfetto/trace/android/android_system_property.proto",
Lalit Magantid7afbb12022-03-28 15:12:24 +010015140 "protos/perfetto/trace/android/camera_event.proto",
15141 "protos/perfetto/trace/android/frame_timeline_event.proto",
15142 "protos/perfetto/trace/android/gpu_mem_event.proto",
Kean Mariotti4ce4f042024-05-02 07:55:57 +000015143 "protos/perfetto/trace/android/graphics/point.proto",
15144 "protos/perfetto/trace/android/graphics/rect.proto",
Lalit Magantid7afbb12022-03-28 15:12:24 +010015145 "protos/perfetto/trace/android/graphics_frame_event.proto",
15146 "protos/perfetto/trace/android/initial_display_state.proto",
Ryan Zuklie1c0a5002022-11-18 17:03:37 -080015147 "protos/perfetto/trace/android/network_trace.proto",
Lalit Magantid7afbb12022-03-28 15:12:24 +010015148 "protos/perfetto/trace/android/packages_list.proto",
Simon MacMullen10715962024-04-18 17:48:47 +000015149 "protos/perfetto/trace/android/pixel_modem_events.proto",
Pablo Gamito56893db2023-11-28 16:32:24 +000015150 "protos/perfetto/trace/android/protolog.proto",
Pablo Gamito16010812023-11-13 14:35:58 +000015151 "protos/perfetto/trace/android/shell_transition.proto",
Kean Mariottia977e772023-06-06 08:27:55 +000015152 "protos/perfetto/trace/android/surfaceflinger_common.proto",
15153 "protos/perfetto/trace/android/surfaceflinger_layers.proto",
15154 "protos/perfetto/trace/android/surfaceflinger_transactions.proto",
Kean Mariotti4ce4f042024-05-02 07:55:57 +000015155 "protos/perfetto/trace/android/winscope_extensions.proto",
Lalit Magantid7afbb12022-03-28 15:12:24 +010015156 "protos/perfetto/trace/chrome/chrome_benchmark_metadata.proto",
15157 "protos/perfetto/trace/chrome/chrome_metadata.proto",
15158 "protos/perfetto/trace/chrome/chrome_trace_event.proto",
Etienne Pierre-doray34407262024-04-10 14:27:47 +000015159 "protos/perfetto/trace/chrome/chrome_trigger.proto",
Carlos Caballero856a7092024-01-15 17:27:35 +000015160 "protos/perfetto/trace/chrome/v8.proto",
Lalit Magantid7afbb12022-03-28 15:12:24 +010015161 "protos/perfetto/trace/clock_snapshot.proto",
Alex Attar3cacb1d2023-10-10 13:13:25 -040015162 "protos/perfetto/trace/etw/etw.proto",
15163 "protos/perfetto/trace/etw/etw_event.proto",
15164 "protos/perfetto/trace/etw/etw_event_bundle.proto",
Lalit Magantid7afbb12022-03-28 15:12:24 +010015165 "protos/perfetto/trace/extension_descriptor.proto",
15166 "protos/perfetto/trace/filesystem/inode_file_map.proto",
Rahul Dandamudic8169462022-09-11 13:36:37 -040015167 "protos/perfetto/trace/ftrace/android_fs.proto",
George Leeefccce32024-06-06 01:09:42 +000015168 "protos/perfetto/trace/ftrace/bcl_exynos.proto",
Lalit Magantid7afbb12022-03-28 15:12:24 +010015169 "protos/perfetto/trace/ftrace/binder.proto",
15170 "protos/perfetto/trace/ftrace/block.proto",
15171 "protos/perfetto/trace/ftrace/cgroup.proto",
15172 "protos/perfetto/trace/ftrace/clk.proto",
Martin Liu2a4a27f2022-11-11 15:47:47 +080015173 "protos/perfetto/trace/ftrace/cma.proto",
Lalit Magantid7afbb12022-03-28 15:12:24 +010015174 "protos/perfetto/trace/ftrace/compaction.proto",
sashwinbalajib4f79a62024-11-07 08:24:21 +080015175 "protos/perfetto/trace/ftrace/cpm_trace.proto",
Lalit Magantid7afbb12022-03-28 15:12:24 +010015176 "protos/perfetto/trace/ftrace/cpuhp.proto",
15177 "protos/perfetto/trace/ftrace/cros_ec.proto",
John Batese0a60172024-05-29 23:17:05 +000015178 "protos/perfetto/trace/ftrace/dcvsh.proto",
Samuel Wu52c46252024-09-11 17:34:10 -070015179 "protos/perfetto/trace/ftrace/devfreq.proto",
Chia-I Wu56619782022-03-28 16:02:01 -070015180 "protos/perfetto/trace/ftrace/dma_fence.proto",
Lalit Magantid7afbb12022-03-28 15:12:24 +010015181 "protos/perfetto/trace/ftrace/dmabuf_heap.proto",
15182 "protos/perfetto/trace/ftrace/dpu.proto",
Chia-I Wu56619782022-03-28 16:02:01 -070015183 "protos/perfetto/trace/ftrace/drm.proto",
Lalit Magantid7afbb12022-03-28 15:12:24 +010015184 "protos/perfetto/trace/ftrace/ext4.proto",
15185 "protos/perfetto/trace/ftrace/f2fs.proto",
15186 "protos/perfetto/trace/ftrace/fastrpc.proto",
15187 "protos/perfetto/trace/ftrace/fence.proto",
15188 "protos/perfetto/trace/ftrace/filemap.proto",
Yuan Yao389e81f2024-11-12 04:06:34 +000015189 "protos/perfetto/trace/ftrace/fs.proto",
Lalit Magantid7afbb12022-03-28 15:12:24 +010015190 "protos/perfetto/trace/ftrace/ftrace.proto",
15191 "protos/perfetto/trace/ftrace/ftrace_event.proto",
15192 "protos/perfetto/trace/ftrace/ftrace_event_bundle.proto",
15193 "protos/perfetto/trace/ftrace/ftrace_stats.proto",
15194 "protos/perfetto/trace/ftrace/g2d.proto",
15195 "protos/perfetto/trace/ftrace/generic.proto",
Tushar Khandelwal40f683b2024-05-02 11:10:09 +000015196 "protos/perfetto/trace/ftrace/google_icc_trace.proto",
15197 "protos/perfetto/trace/ftrace/google_irm_trace.proto",
Lalit Magantid7afbb12022-03-28 15:12:24 +010015198 "protos/perfetto/trace/ftrace/gpu_mem.proto",
Chia-I Wu56619782022-03-28 16:02:01 -070015199 "protos/perfetto/trace/ftrace/gpu_scheduler.proto",
Nikita Ioffe02035142023-03-02 16:57:35 +000015200 "protos/perfetto/trace/ftrace/hyp.proto",
Lalit Magantid7afbb12022-03-28 15:12:24 +010015201 "protos/perfetto/trace/ftrace/i2c.proto",
15202 "protos/perfetto/trace/ftrace/ion.proto",
15203 "protos/perfetto/trace/ftrace/ipi.proto",
15204 "protos/perfetto/trace/ftrace/irq.proto",
John Batesa0695862024-05-29 23:31:45 +000015205 "protos/perfetto/trace/ftrace/kgsl.proto",
Lalit Magantid7afbb12022-03-28 15:12:24 +010015206 "protos/perfetto/trace/ftrace/kmem.proto",
15207 "protos/perfetto/trace/ftrace/kvm.proto",
15208 "protos/perfetto/trace/ftrace/lowmemorykiller.proto",
Nick Chung8f4dd962022-12-14 12:08:07 +000015209 "protos/perfetto/trace/ftrace/lwis.proto",
Lalit Magantid7afbb12022-03-28 15:12:24 +010015210 "protos/perfetto/trace/ftrace/mali.proto",
15211 "protos/perfetto/trace/ftrace/mdss.proto",
15212 "protos/perfetto/trace/ftrace/mm_event.proto",
15213 "protos/perfetto/trace/ftrace/net.proto",
15214 "protos/perfetto/trace/ftrace/oom.proto",
Jeremy DeHaan57d8b862022-09-02 22:08:43 +000015215 "protos/perfetto/trace/ftrace/panel.proto",
lukechang0d6f88d2023-12-04 05:56:12 +000015216 "protos/perfetto/trace/ftrace/perf_trace_counters.proto",
Dmitry Skibaf8802a52024-08-23 14:13:07 -070015217 "protos/perfetto/trace/ftrace/pixel_mm.proto",
Lalit Magantid7afbb12022-03-28 15:12:24 +010015218 "protos/perfetto/trace/ftrace/power.proto",
Hector Dearmanae5a60e2022-03-30 19:30:43 +010015219 "protos/perfetto/trace/ftrace/printk.proto",
Lalit Magantid7afbb12022-03-28 15:12:24 +010015220 "protos/perfetto/trace/ftrace/raw_syscalls.proto",
15221 "protos/perfetto/trace/ftrace/regulator.proto",
Vilas Bhat20477072024-02-28 11:29:47 -080015222 "protos/perfetto/trace/ftrace/rpm.proto",
Jaewon Kim7e13b1e2023-08-09 16:09:30 +090015223 "protos/perfetto/trace/ftrace/samsung.proto",
Lalit Magantid7afbb12022-03-28 15:12:24 +010015224 "protos/perfetto/trace/ftrace/sched.proto",
15225 "protos/perfetto/trace/ftrace/scm.proto",
15226 "protos/perfetto/trace/ftrace/sde.proto",
15227 "protos/perfetto/trace/ftrace/signal.proto",
15228 "protos/perfetto/trace/ftrace/skb.proto",
15229 "protos/perfetto/trace/ftrace/sock.proto",
15230 "protos/perfetto/trace/ftrace/sync.proto",
15231 "protos/perfetto/trace/ftrace/synthetic.proto",
15232 "protos/perfetto/trace/ftrace/systrace.proto",
15233 "protos/perfetto/trace/ftrace/task.proto",
15234 "protos/perfetto/trace/ftrace/tcp.proto",
15235 "protos/perfetto/trace/ftrace/test_bundle_wrapper.proto",
15236 "protos/perfetto/trace/ftrace/thermal.proto",
sashwinbalaji008127d2024-05-06 08:43:28 +080015237 "protos/perfetto/trace/ftrace/thermal_exynos.proto",
Padmanabha V0e45bba2022-10-20 05:26:21 +000015238 "protos/perfetto/trace/ftrace/trusty.proto",
Lalit Magantid7afbb12022-03-28 15:12:24 +010015239 "protos/perfetto/trace/ftrace/ufs.proto",
Bartłomiej Grzesik6b257532022-08-08 09:34:15 +000015240 "protos/perfetto/trace/ftrace/v4l2.proto",
Rob Clark50b20aa2022-11-29 14:24:18 -080015241 "protos/perfetto/trace/ftrace/virtio_gpu.proto",
Bartłomiej Grzesikfa4c9c92022-10-03 11:12:18 +000015242 "protos/perfetto/trace/ftrace/virtio_video.proto",
Lalit Magantid7afbb12022-03-28 15:12:24 +010015243 "protos/perfetto/trace/ftrace/vmscan.proto",
15244 "protos/perfetto/trace/ftrace/workqueue.proto",
15245 "protos/perfetto/trace/gpu/gpu_counter_event.proto",
15246 "protos/perfetto/trace/gpu/gpu_log.proto",
15247 "protos/perfetto/trace/gpu/gpu_render_stage_event.proto",
15248 "protos/perfetto/trace/gpu/vulkan_api_event.proto",
15249 "protos/perfetto/trace/gpu/vulkan_memory_event.proto",
15250 "protos/perfetto/trace/interned_data/interned_data.proto",
15251 "protos/perfetto/trace/memory_graph.proto",
15252 "protos/perfetto/trace/perfetto/perfetto_metatrace.proto",
15253 "protos/perfetto/trace/perfetto/tracing_service_event.proto",
15254 "protos/perfetto/trace/power/android_energy_estimation_breakdown.proto",
Simon MacMullen1777bde2023-02-17 14:54:01 +000015255 "protos/perfetto/trace/power/android_entity_state_residency.proto",
Lalit Magantid7afbb12022-03-28 15:12:24 +010015256 "protos/perfetto/trace/power/battery_counters.proto",
15257 "protos/perfetto/trace/power/power_rails.proto",
15258 "protos/perfetto/trace/profiling/deobfuscation.proto",
15259 "protos/perfetto/trace/profiling/heap_graph.proto",
15260 "protos/perfetto/trace/profiling/profile_common.proto",
15261 "protos/perfetto/trace/profiling/profile_packet.proto",
15262 "protos/perfetto/trace/profiling/smaps.proto",
15263 "protos/perfetto/trace/ps/process_stats.proto",
15264 "protos/perfetto/trace/ps/process_tree.proto",
Chinglin Yu76788d22024-02-21 15:49:43 +080015265 "protos/perfetto/trace/remote_clock_sync.proto",
Hector Dearman5974de02022-06-23 15:31:40 +010015266 "protos/perfetto/trace/statsd/statsd_atom.proto",
Lalit Magantid7afbb12022-03-28 15:12:24 +010015267 "protos/perfetto/trace/sys_stats/sys_stats.proto",
15268 "protos/perfetto/trace/system_info.proto",
15269 "protos/perfetto/trace/system_info/cpu_info.proto",
15270 "protos/perfetto/trace/test_event.proto",
15271 "protos/perfetto/trace/test_extensions.proto",
15272 "protos/perfetto/trace/trace.proto",
15273 "protos/perfetto/trace/trace_packet.proto",
15274 "protos/perfetto/trace/trace_packet_defaults.proto",
Primiano Tucci7c327c22022-11-23 12:24:49 +000015275 "protos/perfetto/trace/trace_uuid.proto",
Igor Kraskevichebf48602022-10-25 10:28:36 +000015276 "protos/perfetto/trace/track_event/chrome_active_processes.proto",
Lalit Magantid7afbb12022-03-28 15:12:24 +010015277 "protos/perfetto/trace/track_event/chrome_application_state_info.proto",
15278 "protos/perfetto/trace/track_event/chrome_compositor_scheduler_state.proto",
15279 "protos/perfetto/trace/track_event/chrome_content_settings_event_info.proto",
15280 "protos/perfetto/trace/track_event/chrome_frame_reporter.proto",
15281 "protos/perfetto/trace/track_event/chrome_histogram_sample.proto",
15282 "protos/perfetto/trace/track_event/chrome_keyed_service.proto",
15283 "protos/perfetto/trace/track_event/chrome_latency_info.proto",
15284 "protos/perfetto/trace/track_event/chrome_legacy_ipc.proto",
15285 "protos/perfetto/trace/track_event/chrome_message_pump.proto",
15286 "protos/perfetto/trace/track_event/chrome_mojo_event_info.proto",
15287 "protos/perfetto/trace/track_event/chrome_process_descriptor.proto",
15288 "protos/perfetto/trace/track_event/chrome_renderer_scheduler_state.proto",
15289 "protos/perfetto/trace/track_event/chrome_thread_descriptor.proto",
15290 "protos/perfetto/trace/track_event/chrome_user_event.proto",
15291 "protos/perfetto/trace/track_event/chrome_window_handle_event_info.proto",
15292 "protos/perfetto/trace/track_event/counter_descriptor.proto",
15293 "protos/perfetto/trace/track_event/debug_annotation.proto",
15294 "protos/perfetto/trace/track_event/log_message.proto",
15295 "protos/perfetto/trace/track_event/process_descriptor.proto",
Igor Kraskevich49756332022-12-01 18:05:57 +000015296 "protos/perfetto/trace/track_event/range_of_interest.proto",
Kartar Singhec8171e2023-09-28 12:06:44 +010015297 "protos/perfetto/trace/track_event/screenshot.proto",
Lalit Magantid7afbb12022-03-28 15:12:24 +010015298 "protos/perfetto/trace/track_event/source_location.proto",
15299 "protos/perfetto/trace/track_event/task_execution.proto",
15300 "protos/perfetto/trace/track_event/thread_descriptor.proto",
15301 "protos/perfetto/trace/track_event/track_descriptor.proto",
15302 "protos/perfetto/trace/track_event/track_event.proto",
15303 "protos/perfetto/trace/translation/translation_table.proto",
15304 "protos/perfetto/trace/trigger.proto",
15305 "protos/perfetto/trace/ui_state.proto",
15306 ],
15307 proto: {
15308 type: "lite",
15309 canonical_path_from_root: false,
15310 },
15311}
15312
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010015313// GN: //protos/perfetto/trace:perfetto_trace_protos
Primiano Tucci6aa75572018-03-21 05:33:14 -070015314cc_library_static {
Colin Cross84172332021-09-14 16:41:33 -070015315 name: "perfetto_trace_protos",
15316 srcs: [
15317 ":perfetto_protos_perfetto_common_lite_gen",
15318 ":perfetto_protos_perfetto_config_android_lite_gen",
15319 ":perfetto_protos_perfetto_config_ftrace_lite_gen",
15320 ":perfetto_protos_perfetto_config_gpu_lite_gen",
15321 ":perfetto_protos_perfetto_config_inode_file_lite_gen",
15322 ":perfetto_protos_perfetto_config_interceptors_lite_gen",
15323 ":perfetto_protos_perfetto_config_lite_gen",
15324 ":perfetto_protos_perfetto_config_power_lite_gen",
15325 ":perfetto_protos_perfetto_config_process_stats_lite_gen",
15326 ":perfetto_protos_perfetto_config_profiling_lite_gen",
Hector Dearman5974de02022-06-23 15:31:40 +010015327 ":perfetto_protos_perfetto_config_statsd_lite_gen",
Colin Cross84172332021-09-14 16:41:33 -070015328 ":perfetto_protos_perfetto_config_sys_stats_lite_gen",
Hector Dearman48047d12022-08-02 14:00:46 +010015329 ":perfetto_protos_perfetto_config_system_info_lite_gen",
Colin Cross84172332021-09-14 16:41:33 -070015330 ":perfetto_protos_perfetto_config_track_event_lite_gen",
15331 ":perfetto_protos_perfetto_trace_android_lite_gen",
Kean Mariotti4ce4f042024-05-02 07:55:57 +000015332 ":perfetto_protos_perfetto_trace_android_winscope_common_lite_gen",
15333 ":perfetto_protos_perfetto_trace_android_winscope_regular_lite_gen",
Colin Cross84172332021-09-14 16:41:33 -070015334 ":perfetto_protos_perfetto_trace_chrome_lite_gen",
Alex Attar3cacb1d2023-10-10 13:13:25 -040015335 ":perfetto_protos_perfetto_trace_etw_lite_gen",
Colin Cross84172332021-09-14 16:41:33 -070015336 ":perfetto_protos_perfetto_trace_filesystem_lite_gen",
15337 ":perfetto_protos_perfetto_trace_ftrace_lite_gen",
15338 ":perfetto_protos_perfetto_trace_gpu_lite_gen",
15339 ":perfetto_protos_perfetto_trace_interned_data_lite_gen",
15340 ":perfetto_protos_perfetto_trace_minimal_lite_gen",
15341 ":perfetto_protos_perfetto_trace_non_minimal_lite_gen",
15342 ":perfetto_protos_perfetto_trace_perfetto_lite_gen",
15343 ":perfetto_protos_perfetto_trace_power_lite_gen",
15344 ":perfetto_protos_perfetto_trace_profiling_lite_gen",
15345 ":perfetto_protos_perfetto_trace_ps_lite_gen",
Hector Dearman5974de02022-06-23 15:31:40 +010015346 ":perfetto_protos_perfetto_trace_statsd_lite_gen",
Colin Cross84172332021-09-14 16:41:33 -070015347 ":perfetto_protos_perfetto_trace_sys_stats_lite_gen",
15348 ":perfetto_protos_perfetto_trace_system_info_lite_gen",
15349 ":perfetto_protos_perfetto_trace_track_event_lite_gen",
Igor Kraskevich49b42882022-03-21 13:03:02 +000015350 ":perfetto_protos_perfetto_trace_translation_lite_gen",
Colin Cross84172332021-09-14 16:41:33 -070015351 ],
15352 shared_libs: [
15353 "libprotobuf-cpp-lite",
15354 ],
15355 host_supported: true,
15356 generated_headers: [
15357 "perfetto_protos_perfetto_common_lite_gen_headers",
15358 "perfetto_protos_perfetto_config_android_lite_gen_headers",
15359 "perfetto_protos_perfetto_config_ftrace_lite_gen_headers",
15360 "perfetto_protos_perfetto_config_gpu_lite_gen_headers",
15361 "perfetto_protos_perfetto_config_inode_file_lite_gen_headers",
15362 "perfetto_protos_perfetto_config_interceptors_lite_gen_headers",
15363 "perfetto_protos_perfetto_config_lite_gen_headers",
15364 "perfetto_protos_perfetto_config_power_lite_gen_headers",
15365 "perfetto_protos_perfetto_config_process_stats_lite_gen_headers",
15366 "perfetto_protos_perfetto_config_profiling_lite_gen_headers",
Hector Dearman5974de02022-06-23 15:31:40 +010015367 "perfetto_protos_perfetto_config_statsd_lite_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -070015368 "perfetto_protos_perfetto_config_sys_stats_lite_gen_headers",
Hector Dearman48047d12022-08-02 14:00:46 +010015369 "perfetto_protos_perfetto_config_system_info_lite_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -070015370 "perfetto_protos_perfetto_config_track_event_lite_gen_headers",
15371 "perfetto_protos_perfetto_trace_android_lite_gen_headers",
Kean Mariotti4ce4f042024-05-02 07:55:57 +000015372 "perfetto_protos_perfetto_trace_android_winscope_common_lite_gen_headers",
15373 "perfetto_protos_perfetto_trace_android_winscope_regular_lite_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -070015374 "perfetto_protos_perfetto_trace_chrome_lite_gen_headers",
Alex Attar3cacb1d2023-10-10 13:13:25 -040015375 "perfetto_protos_perfetto_trace_etw_lite_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -070015376 "perfetto_protos_perfetto_trace_filesystem_lite_gen_headers",
15377 "perfetto_protos_perfetto_trace_ftrace_lite_gen_headers",
15378 "perfetto_protos_perfetto_trace_gpu_lite_gen_headers",
15379 "perfetto_protos_perfetto_trace_interned_data_lite_gen_headers",
15380 "perfetto_protos_perfetto_trace_minimal_lite_gen_headers",
15381 "perfetto_protos_perfetto_trace_non_minimal_lite_gen_headers",
15382 "perfetto_protos_perfetto_trace_perfetto_lite_gen_headers",
15383 "perfetto_protos_perfetto_trace_power_lite_gen_headers",
15384 "perfetto_protos_perfetto_trace_profiling_lite_gen_headers",
15385 "perfetto_protos_perfetto_trace_ps_lite_gen_headers",
Hector Dearman5974de02022-06-23 15:31:40 +010015386 "perfetto_protos_perfetto_trace_statsd_lite_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -070015387 "perfetto_protos_perfetto_trace_sys_stats_lite_gen_headers",
15388 "perfetto_protos_perfetto_trace_system_info_lite_gen_headers",
15389 "perfetto_protos_perfetto_trace_track_event_lite_gen_headers",
Igor Kraskevich49b42882022-03-21 13:03:02 +000015390 "perfetto_protos_perfetto_trace_translation_lite_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -070015391 ],
15392 export_generated_headers: [
15393 "perfetto_protos_perfetto_common_lite_gen_headers",
15394 "perfetto_protos_perfetto_config_android_lite_gen_headers",
15395 "perfetto_protos_perfetto_config_ftrace_lite_gen_headers",
15396 "perfetto_protos_perfetto_config_gpu_lite_gen_headers",
15397 "perfetto_protos_perfetto_config_inode_file_lite_gen_headers",
15398 "perfetto_protos_perfetto_config_interceptors_lite_gen_headers",
15399 "perfetto_protos_perfetto_config_lite_gen_headers",
15400 "perfetto_protos_perfetto_config_power_lite_gen_headers",
15401 "perfetto_protos_perfetto_config_process_stats_lite_gen_headers",
15402 "perfetto_protos_perfetto_config_profiling_lite_gen_headers",
Hector Dearman5974de02022-06-23 15:31:40 +010015403 "perfetto_protos_perfetto_config_statsd_lite_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -070015404 "perfetto_protos_perfetto_config_sys_stats_lite_gen_headers",
Hector Dearman48047d12022-08-02 14:00:46 +010015405 "perfetto_protos_perfetto_config_system_info_lite_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -070015406 "perfetto_protos_perfetto_config_track_event_lite_gen_headers",
15407 "perfetto_protos_perfetto_trace_android_lite_gen_headers",
Kean Mariotti4ce4f042024-05-02 07:55:57 +000015408 "perfetto_protos_perfetto_trace_android_winscope_common_lite_gen_headers",
15409 "perfetto_protos_perfetto_trace_android_winscope_regular_lite_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -070015410 "perfetto_protos_perfetto_trace_chrome_lite_gen_headers",
Alex Attar3cacb1d2023-10-10 13:13:25 -040015411 "perfetto_protos_perfetto_trace_etw_lite_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -070015412 "perfetto_protos_perfetto_trace_filesystem_lite_gen_headers",
15413 "perfetto_protos_perfetto_trace_ftrace_lite_gen_headers",
15414 "perfetto_protos_perfetto_trace_gpu_lite_gen_headers",
15415 "perfetto_protos_perfetto_trace_interned_data_lite_gen_headers",
15416 "perfetto_protos_perfetto_trace_minimal_lite_gen_headers",
15417 "perfetto_protos_perfetto_trace_non_minimal_lite_gen_headers",
15418 "perfetto_protos_perfetto_trace_perfetto_lite_gen_headers",
15419 "perfetto_protos_perfetto_trace_power_lite_gen_headers",
15420 "perfetto_protos_perfetto_trace_profiling_lite_gen_headers",
15421 "perfetto_protos_perfetto_trace_ps_lite_gen_headers",
Hector Dearman5974de02022-06-23 15:31:40 +010015422 "perfetto_protos_perfetto_trace_statsd_lite_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -070015423 "perfetto_protos_perfetto_trace_sys_stats_lite_gen_headers",
15424 "perfetto_protos_perfetto_trace_system_info_lite_gen_headers",
15425 "perfetto_protos_perfetto_trace_track_event_lite_gen_headers",
Igor Kraskevich49b42882022-03-21 13:03:02 +000015426 "perfetto_protos_perfetto_trace_translation_lite_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -070015427 ],
15428 defaults: [
15429 "perfetto_defaults",
15430 ],
15431 cflags: [
15432 "-DGOOGLE_PROTOBUF_NO_RTTI",
15433 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
15434 ],
15435 apex_available: [
15436 "//apex_available:platform",
15437 "com.android.art",
15438 "com.android.art.debug",
15439 ],
15440 min_sdk_version: "S",
Primiano Tucci6aa75572018-03-21 05:33:14 -070015441}
15442
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010015443// GN: //:perfetto_unittests
Sami Kyostilab27619f2017-12-13 19:22:16 +000015444cc_test {
Colin Cross84172332021-09-14 16:41:33 -070015445 name: "perfetto_unittests",
15446 srcs: [
Lalit Maganti52f13362023-01-23 16:38:01 +000015447 ":perfetto_base_default_platform",
Colin Cross84172332021-09-14 16:41:33 -070015448 ":perfetto_include_perfetto_base_base",
15449 ":perfetto_include_perfetto_ext_base_base",
Primiano Tucci44a15be2021-11-06 21:40:18 +000015450 ":perfetto_include_perfetto_ext_base_http_http",
Lalit Maganti501742c2023-01-24 21:58:33 +000015451 ":perfetto_include_perfetto_ext_base_threading_threading",
Daniele Di Proietto15b801e2022-06-30 12:56:13 +010015452 ":perfetto_include_perfetto_ext_base_version",
Colin Cross84172332021-09-14 16:41:33 -070015453 ":perfetto_include_perfetto_ext_ipc_ipc",
Lalit Magantifd92a952024-02-28 11:58:53 +000015454 ":perfetto_include_perfetto_ext_protozero_protozero",
Carlos Caballero Grolimund8a495a72022-09-05 09:29:09 +000015455 ":perfetto_include_perfetto_ext_trace_processor_demangle",
Colin Cross84172332021-09-14 16:41:33 -070015456 ":perfetto_include_perfetto_ext_trace_processor_export_json",
15457 ":perfetto_include_perfetto_ext_trace_processor_importers_memory_tracker_memory_tracker",
Lalit Magantibe79bb22023-10-03 13:53:25 +010015458 ":perfetto_include_perfetto_ext_trace_processor_rpc_query_result_serializer",
Colin Cross84172332021-09-14 16:41:33 -070015459 ":perfetto_include_perfetto_ext_traced_sys_stats_counters",
15460 ":perfetto_include_perfetto_ext_traced_traced",
15461 ":perfetto_include_perfetto_ext_tracing_core_core",
15462 ":perfetto_include_perfetto_ext_tracing_ipc_ipc",
Colin Cross84172332021-09-14 16:41:33 -070015463 ":perfetto_include_perfetto_protozero_protozero",
Daniele Di Proietto8b46d692022-04-22 15:59:40 +010015464 ":perfetto_include_perfetto_public_abi_base",
Daniele Di Proietto65981022023-06-19 13:54:41 +000015465 ":perfetto_include_perfetto_public_abi_public",
Daniele Di Proietto8b46d692022-04-22 15:59:40 +010015466 ":perfetto_include_perfetto_public_base",
Daniele Di Proietto65981022023-06-19 13:54:41 +000015467 ":perfetto_include_perfetto_public_protos_protos",
Daniele Di Proietto7451ea62023-01-09 11:31:16 +000015468 ":perfetto_include_perfetto_public_protozero",
Daniele Di Proietto65981022023-06-19 13:54:41 +000015469 ":perfetto_include_perfetto_public_public",
Colin Cross84172332021-09-14 16:41:33 -070015470 ":perfetto_include_perfetto_test_test_support",
15471 ":perfetto_include_perfetto_trace_processor_basic_types",
15472 ":perfetto_include_perfetto_trace_processor_storage",
15473 ":perfetto_include_perfetto_trace_processor_trace_processor",
15474 ":perfetto_include_perfetto_tracing_core_core",
15475 ":perfetto_include_perfetto_tracing_core_forward_decls",
15476 ":perfetto_include_perfetto_tracing_tracing",
15477 ":perfetto_protos_perfetto_common_cpp_gen",
15478 ":perfetto_protos_perfetto_common_lite_gen",
15479 ":perfetto_protos_perfetto_common_zero_gen",
15480 ":perfetto_protos_perfetto_config_android_cpp_gen",
15481 ":perfetto_protos_perfetto_config_android_lite_gen",
15482 ":perfetto_protos_perfetto_config_android_zero_gen",
15483 ":perfetto_protos_perfetto_config_cpp_gen",
15484 ":perfetto_protos_perfetto_config_ftrace_cpp_gen",
15485 ":perfetto_protos_perfetto_config_ftrace_lite_gen",
15486 ":perfetto_protos_perfetto_config_ftrace_zero_gen",
15487 ":perfetto_protos_perfetto_config_gpu_cpp_gen",
15488 ":perfetto_protos_perfetto_config_gpu_lite_gen",
15489 ":perfetto_protos_perfetto_config_gpu_zero_gen",
15490 ":perfetto_protos_perfetto_config_inode_file_cpp_gen",
15491 ":perfetto_protos_perfetto_config_inode_file_lite_gen",
15492 ":perfetto_protos_perfetto_config_inode_file_zero_gen",
15493 ":perfetto_protos_perfetto_config_interceptors_cpp_gen",
15494 ":perfetto_protos_perfetto_config_interceptors_lite_gen",
15495 ":perfetto_protos_perfetto_config_interceptors_zero_gen",
15496 ":perfetto_protos_perfetto_config_lite_gen",
15497 ":perfetto_protos_perfetto_config_power_cpp_gen",
15498 ":perfetto_protos_perfetto_config_power_lite_gen",
15499 ":perfetto_protos_perfetto_config_power_zero_gen",
15500 ":perfetto_protos_perfetto_config_process_stats_cpp_gen",
15501 ":perfetto_protos_perfetto_config_process_stats_lite_gen",
15502 ":perfetto_protos_perfetto_config_process_stats_zero_gen",
15503 ":perfetto_protos_perfetto_config_profiling_cpp_gen",
15504 ":perfetto_protos_perfetto_config_profiling_lite_gen",
15505 ":perfetto_protos_perfetto_config_profiling_zero_gen",
Hector Dearman5974de02022-06-23 15:31:40 +010015506 ":perfetto_protos_perfetto_config_statsd_cpp_gen",
15507 ":perfetto_protos_perfetto_config_statsd_lite_gen",
15508 ":perfetto_protos_perfetto_config_statsd_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -070015509 ":perfetto_protos_perfetto_config_sys_stats_cpp_gen",
15510 ":perfetto_protos_perfetto_config_sys_stats_lite_gen",
15511 ":perfetto_protos_perfetto_config_sys_stats_zero_gen",
Hector Dearman48047d12022-08-02 14:00:46 +010015512 ":perfetto_protos_perfetto_config_system_info_cpp_gen",
15513 ":perfetto_protos_perfetto_config_system_info_lite_gen",
15514 ":perfetto_protos_perfetto_config_system_info_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -070015515 ":perfetto_protos_perfetto_config_track_event_cpp_gen",
15516 ":perfetto_protos_perfetto_config_track_event_lite_gen",
15517 ":perfetto_protos_perfetto_config_track_event_zero_gen",
15518 ":perfetto_protos_perfetto_config_zero_gen",
15519 ":perfetto_protos_perfetto_ipc_cpp_gen",
15520 ":perfetto_protos_perfetto_ipc_ipc_gen",
15521 ":perfetto_protos_perfetto_ipc_wire_protocol_cpp_gen",
15522 ":perfetto_protos_perfetto_trace_android_cpp_gen",
15523 ":perfetto_protos_perfetto_trace_android_lite_gen",
Kean Mariotti4ce4f042024-05-02 07:55:57 +000015524 ":perfetto_protos_perfetto_trace_android_winscope_common_cpp_gen",
15525 ":perfetto_protos_perfetto_trace_android_winscope_common_lite_gen",
15526 ":perfetto_protos_perfetto_trace_android_winscope_common_zero_gen",
15527 ":perfetto_protos_perfetto_trace_android_winscope_extensions_zero_gen",
15528 ":perfetto_protos_perfetto_trace_android_winscope_regular_cpp_gen",
15529 ":perfetto_protos_perfetto_trace_android_winscope_regular_lite_gen",
15530 ":perfetto_protos_perfetto_trace_android_winscope_regular_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -070015531 ":perfetto_protos_perfetto_trace_android_zero_gen",
15532 ":perfetto_protos_perfetto_trace_chrome_cpp_gen",
15533 ":perfetto_protos_perfetto_trace_chrome_lite_gen",
15534 ":perfetto_protos_perfetto_trace_chrome_zero_gen",
Alex Attar3cacb1d2023-10-10 13:13:25 -040015535 ":perfetto_protos_perfetto_trace_etw_cpp_gen",
15536 ":perfetto_protos_perfetto_trace_etw_lite_gen",
15537 ":perfetto_protos_perfetto_trace_etw_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -070015538 ":perfetto_protos_perfetto_trace_filesystem_cpp_gen",
15539 ":perfetto_protos_perfetto_trace_filesystem_lite_gen",
15540 ":perfetto_protos_perfetto_trace_filesystem_zero_gen",
15541 ":perfetto_protos_perfetto_trace_ftrace_cpp_gen",
15542 ":perfetto_protos_perfetto_trace_ftrace_lite_gen",
15543 ":perfetto_protos_perfetto_trace_ftrace_zero_gen",
15544 ":perfetto_protos_perfetto_trace_gpu_cpp_gen",
15545 ":perfetto_protos_perfetto_trace_gpu_lite_gen",
15546 ":perfetto_protos_perfetto_trace_gpu_zero_gen",
15547 ":perfetto_protos_perfetto_trace_interned_data_cpp_gen",
15548 ":perfetto_protos_perfetto_trace_interned_data_lite_gen",
15549 ":perfetto_protos_perfetto_trace_interned_data_zero_gen",
15550 ":perfetto_protos_perfetto_trace_minimal_cpp_gen",
15551 ":perfetto_protos_perfetto_trace_minimal_lite_gen",
15552 ":perfetto_protos_perfetto_trace_minimal_zero_gen",
15553 ":perfetto_protos_perfetto_trace_non_minimal_cpp_gen",
15554 ":perfetto_protos_perfetto_trace_non_minimal_lite_gen",
15555 ":perfetto_protos_perfetto_trace_non_minimal_zero_gen",
15556 ":perfetto_protos_perfetto_trace_perfetto_cpp_gen",
15557 ":perfetto_protos_perfetto_trace_perfetto_lite_gen",
15558 ":perfetto_protos_perfetto_trace_perfetto_zero_gen",
15559 ":perfetto_protos_perfetto_trace_power_cpp_gen",
15560 ":perfetto_protos_perfetto_trace_power_lite_gen",
15561 ":perfetto_protos_perfetto_trace_power_zero_gen",
15562 ":perfetto_protos_perfetto_trace_processor_metrics_impl_zero_gen",
15563 ":perfetto_protos_perfetto_trace_processor_zero_gen",
15564 ":perfetto_protos_perfetto_trace_profiling_cpp_gen",
15565 ":perfetto_protos_perfetto_trace_profiling_lite_gen",
15566 ":perfetto_protos_perfetto_trace_profiling_zero_gen",
15567 ":perfetto_protos_perfetto_trace_ps_cpp_gen",
15568 ":perfetto_protos_perfetto_trace_ps_lite_gen",
15569 ":perfetto_protos_perfetto_trace_ps_zero_gen",
Hector Dearman5974de02022-06-23 15:31:40 +010015570 ":perfetto_protos_perfetto_trace_statsd_cpp_gen",
15571 ":perfetto_protos_perfetto_trace_statsd_lite_gen",
15572 ":perfetto_protos_perfetto_trace_statsd_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -070015573 ":perfetto_protos_perfetto_trace_sys_stats_cpp_gen",
15574 ":perfetto_protos_perfetto_trace_sys_stats_lite_gen",
15575 ":perfetto_protos_perfetto_trace_sys_stats_zero_gen",
15576 ":perfetto_protos_perfetto_trace_system_info_cpp_gen",
15577 ":perfetto_protos_perfetto_trace_system_info_lite_gen",
15578 ":perfetto_protos_perfetto_trace_system_info_zero_gen",
15579 ":perfetto_protos_perfetto_trace_track_event_cpp_gen",
15580 ":perfetto_protos_perfetto_trace_track_event_lite_gen",
15581 ":perfetto_protos_perfetto_trace_track_event_zero_gen",
Igor Kraskevich49b42882022-03-21 13:03:02 +000015582 ":perfetto_protos_perfetto_trace_translation_cpp_gen",
15583 ":perfetto_protos_perfetto_trace_translation_lite_gen",
15584 ":perfetto_protos_perfetto_trace_translation_zero_gen",
Igor Kraskevich5827bf32022-08-15 15:46:32 +000015585 ":perfetto_protos_third_party_pprof_zero_gen",
Carlos Caballero7068d202024-05-22 23:33:31 +000015586 ":perfetto_protos_third_party_simpleperf_zero_gen",
Hector Dearman09db5b02022-07-11 13:35:23 +010015587 ":perfetto_protos_third_party_statsd_config_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -070015588 ":perfetto_src_android_internal_headers",
15589 ":perfetto_src_android_internal_lazy_library_loader",
15590 ":perfetto_src_android_stats_android_stats",
15591 ":perfetto_src_android_stats_perfetto_atoms",
15592 ":perfetto_src_base_base",
Lalit Maganti1e7aef12024-10-13 14:19:09 +010015593 ":perfetto_src_base_clock_snapshots",
Primiano Tucci44a15be2021-11-06 21:40:18 +000015594 ":perfetto_src_base_http_http",
15595 ":perfetto_src_base_http_unittests",
Colin Cross84172332021-09-14 16:41:33 -070015596 ":perfetto_src_base_test_support",
Lalit Maganti501742c2023-01-24 21:58:33 +000015597 ":perfetto_src_base_threading_threading",
15598 ":perfetto_src_base_threading_unittests",
Colin Cross84172332021-09-14 16:41:33 -070015599 ":perfetto_src_base_unittests",
15600 ":perfetto_src_base_unix_socket",
Daniele Di Proietto15b801e2022-06-30 12:56:13 +010015601 ":perfetto_src_base_version",
Colin Cross84172332021-09-14 16:41:33 -070015602 ":perfetto_src_ipc_client",
15603 ":perfetto_src_ipc_common",
15604 ":perfetto_src_ipc_host",
Chinglin Yu5682f422023-10-13 14:28:04 +080015605 ":perfetto_src_ipc_perfetto_ipc",
Colin Cross84172332021-09-14 16:41:33 -070015606 ":perfetto_src_ipc_test_messages_cpp_gen",
15607 ":perfetto_src_ipc_test_messages_ipc_gen",
15608 ":perfetto_src_ipc_unittests",
15609 ":perfetto_src_kallsyms_kallsyms",
15610 ":perfetto_src_kallsyms_unittests",
Ryan Zuklieec18eb32022-07-25 15:51:59 -070015611 ":perfetto_src_kernel_utils_syscall_table",
Primiano Tucci26ff9292024-01-30 00:37:01 +000015612 ":perfetto_src_kernel_utils_unittests",
Primiano Tucci3970dfd2023-03-28 13:02:27 +010015613 ":perfetto_src_perfetto_cmd_bugreport_path",
Colin Cross84172332021-09-14 16:41:33 -070015614 ":perfetto_src_perfetto_cmd_perfetto_cmd",
Lalit Maganti79d70fe2022-02-15 18:31:09 +000015615 ":perfetto_src_perfetto_cmd_protos_cpp_gen",
Colin Cross84172332021-09-14 16:41:33 -070015616 ":perfetto_src_perfetto_cmd_trigger_producer",
15617 ":perfetto_src_perfetto_cmd_unittests",
15618 ":perfetto_src_profiling_common_callstack_trie",
15619 ":perfetto_src_profiling_common_interner",
15620 ":perfetto_src_profiling_common_interning_output",
Ryan Savitski006d75d2022-04-04 13:15:56 +010015621 ":perfetto_src_profiling_common_proc_cmdline",
Colin Cross84172332021-09-14 16:41:33 -070015622 ":perfetto_src_profiling_common_proc_utils",
15623 ":perfetto_src_profiling_common_producer_support",
15624 ":perfetto_src_profiling_common_profiler_guardrails",
15625 ":perfetto_src_profiling_common_unittests",
15626 ":perfetto_src_profiling_common_unwind_support",
15627 ":perfetto_src_profiling_deobfuscator",
15628 ":perfetto_src_profiling_memory_client",
15629 ":perfetto_src_profiling_memory_daemon",
15630 ":perfetto_src_profiling_memory_ring_buffer",
15631 ":perfetto_src_profiling_memory_ring_buffer_unittests",
15632 ":perfetto_src_profiling_memory_scoped_spinlock",
15633 ":perfetto_src_profiling_memory_unittests",
15634 ":perfetto_src_profiling_memory_wire_protocol",
15635 ":perfetto_src_profiling_perf_common_types",
15636 ":perfetto_src_profiling_perf_proc_descriptors",
15637 ":perfetto_src_profiling_perf_producer",
15638 ":perfetto_src_profiling_perf_producer_unittests",
15639 ":perfetto_src_profiling_perf_regs_parsing",
15640 ":perfetto_src_profiling_perf_unwinding",
15641 ":perfetto_src_profiling_symbolizer_symbolizer",
15642 ":perfetto_src_profiling_symbolizer_unittests",
15643 ":perfetto_src_profiling_unittests",
15644 ":perfetto_src_protozero_filtering_bytecode_common",
15645 ":perfetto_src_protozero_filtering_bytecode_generator",
15646 ":perfetto_src_protozero_filtering_bytecode_parser",
15647 ":perfetto_src_protozero_filtering_filter_util",
15648 ":perfetto_src_protozero_filtering_message_filter",
Lalit Maganti43b2b942023-06-21 10:31:36 +010015649 ":perfetto_src_protozero_filtering_string_filter",
Colin Cross84172332021-09-14 16:41:33 -070015650 ":perfetto_src_protozero_filtering_unittests",
15651 ":perfetto_src_protozero_proto_ring_buffer",
15652 ":perfetto_src_protozero_protozero",
15653 ":perfetto_src_protozero_testing_messages_cpp_gen",
15654 ":perfetto_src_protozero_testing_messages_lite_gen",
Daniele Di Proietto216d50b2024-03-21 14:15:19 +000015655 ":perfetto_src_protozero_testing_messages_other_package_cpp_gen",
15656 ":perfetto_src_protozero_testing_messages_other_package_lite_gen",
15657 ":perfetto_src_protozero_testing_messages_other_package_zero_gen",
15658 ":perfetto_src_protozero_testing_messages_subpackage_cpp_gen",
15659 ":perfetto_src_protozero_testing_messages_subpackage_lite_gen",
15660 ":perfetto_src_protozero_testing_messages_subpackage_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -070015661 ":perfetto_src_protozero_testing_messages_zero_gen",
15662 ":perfetto_src_protozero_unittests",
Daniele Di Proietto65981022023-06-19 13:54:41 +000015663 ":perfetto_src_shared_lib_intern_map",
15664 ":perfetto_src_shared_lib_unittests",
Primiano Tuccia6fd5e22024-11-29 12:08:29 +000015665 ":perfetto_src_trace_config_utils_pb_to_txt",
15666 ":perfetto_src_trace_config_utils_txt_to_pb",
15667 ":perfetto_src_trace_config_utils_unittests",
Colin Cross84172332021-09-14 16:41:33 -070015668 ":perfetto_src_trace_processor_containers_containers",
15669 ":perfetto_src_trace_processor_containers_unittests",
Anna Mayzner9d4f6cf2024-01-05 07:41:14 +000015670 ":perfetto_src_trace_processor_db_column_column",
15671 ":perfetto_src_trace_processor_db_column_fake_storage",
15672 ":perfetto_src_trace_processor_db_column_unittests",
Anna Mayznerb3d045c2023-12-12 17:53:57 +000015673 ":perfetto_src_trace_processor_db_compare",
Colin Cross84172332021-09-14 16:41:33 -070015674 ":perfetto_src_trace_processor_db_db",
Lalit Maganti202b26b2024-02-13 15:39:45 +000015675 ":perfetto_src_trace_processor_db_minimal",
Colin Cross84172332021-09-14 16:41:33 -070015676 ":perfetto_src_trace_processor_db_unittests",
Lalit Magantie459edf2024-02-16 15:39:30 +000015677 ":perfetto_src_trace_processor_export_json",
Primiano Tuccic9d912e2022-07-28 23:30:11 +010015678 ":perfetto_src_trace_processor_importers_android_bugreport_android_bugreport",
Carlos Caballero0735e7e2024-07-12 11:01:43 +000015679 ":perfetto_src_trace_processor_importers_android_bugreport_android_log_event",
Primiano Tuccic9d912e2022-07-28 23:30:11 +010015680 ":perfetto_src_trace_processor_importers_android_bugreport_unittests",
Carlos Caballero57d05dc2024-10-14 12:05:54 +000015681 ":perfetto_src_trace_processor_importers_archive_archive",
Lalit Magantifd975122024-10-07 16:23:47 +010015682 ":perfetto_src_trace_processor_importers_art_method_art_method",
15683 ":perfetto_src_trace_processor_importers_art_method_art_method_event",
Colin Cross84172332021-09-14 16:41:33 -070015684 ":perfetto_src_trace_processor_importers_common_common",
Lalit Magantieb2645a2022-11-25 15:49:35 +000015685 ":perfetto_src_trace_processor_importers_common_parser_types",
15686 ":perfetto_src_trace_processor_importers_common_trace_parser_hdr",
Colin Cross84172332021-09-14 16:41:33 -070015687 ":perfetto_src_trace_processor_importers_common_unittests",
Alex Attar9cc5ef22024-01-30 13:26:17 -050015688 ":perfetto_src_trace_processor_importers_etw_full",
Alex Attar3d0aae72024-04-16 14:40:30 -040015689 ":perfetto_src_trace_processor_importers_etw_minimal",
Lalit Magantib9a5b432022-12-01 16:13:11 +000015690 ":perfetto_src_trace_processor_importers_ftrace_ftrace_descriptors",
15691 ":perfetto_src_trace_processor_importers_ftrace_full",
15692 ":perfetto_src_trace_processor_importers_ftrace_minimal",
Lalit Magantiecf23662022-12-02 18:34:37 +000015693 ":perfetto_src_trace_processor_importers_ftrace_unittests",
Lalit Magantife2519b2022-11-24 21:12:05 +000015694 ":perfetto_src_trace_processor_importers_fuchsia_fuchsia_record",
Lalit Magantiecf23662022-12-02 18:34:37 +000015695 ":perfetto_src_trace_processor_importers_fuchsia_full",
15696 ":perfetto_src_trace_processor_importers_fuchsia_minimal",
15697 ":perfetto_src_trace_processor_importers_fuchsia_unittests",
Lalit Maganti6713f7c2024-10-01 17:50:24 +010015698 ":perfetto_src_trace_processor_importers_gecko_gecko_event",
Lalit Magantib9a5b432022-12-01 16:13:11 +000015699 ":perfetto_src_trace_processor_importers_i2c_full",
Leszek Swirskia621a8a2024-08-30 18:12:37 +020015700 ":perfetto_src_trace_processor_importers_instruments_instruments",
15701 ":perfetto_src_trace_processor_importers_instruments_row",
Lalit Magantib9a5b432022-12-01 16:13:11 +000015702 ":perfetto_src_trace_processor_importers_json_minimal",
Colin Cross84172332021-09-14 16:41:33 -070015703 ":perfetto_src_trace_processor_importers_memory_tracker_graph_processor",
Lalit Magantiecf23662022-12-02 18:34:37 +000015704 ":perfetto_src_trace_processor_importers_memory_tracker_unittests",
Lalit Maganti1bfdccc2022-11-28 21:19:35 +000015705 ":perfetto_src_trace_processor_importers_ninja_ninja",
Anna Mayzner5dbfc2d2023-10-26 10:42:53 +000015706 ":perfetto_src_trace_processor_importers_perf_perf",
Carlos Caballero3c1d6592024-05-13 10:22:49 +000015707 ":perfetto_src_trace_processor_importers_perf_record",
Lalit Maganti0044e3c2024-10-09 14:27:37 +010015708 ":perfetto_src_trace_processor_importers_perf_text_perf_text",
15709 ":perfetto_src_trace_processor_importers_perf_text_perf_text_event",
15710 ":perfetto_src_trace_processor_importers_perf_text_perf_text_sample_line_parser",
Anna Mayzner5dbfc2d2023-10-26 10:42:53 +000015711 ":perfetto_src_trace_processor_importers_perf_unittests",
Lalit Magantib7ad13b2022-11-25 15:55:38 +000015712 ":perfetto_src_trace_processor_importers_proto_full",
15713 ":perfetto_src_trace_processor_importers_proto_minimal",
Lalit Magantiba07dcf2022-11-25 13:58:09 +000015714 ":perfetto_src_trace_processor_importers_proto_packet_sequence_state_generation_hdr",
Lalit Magantib9a5b432022-12-01 16:13:11 +000015715 ":perfetto_src_trace_processor_importers_proto_proto_importer_module",
Lalit Maganti3927af82022-05-09 20:23:40 +010015716 ":perfetto_src_trace_processor_importers_proto_unittests",
Kean Mariotti248eebf2023-06-12 09:55:43 +000015717 ":perfetto_src_trace_processor_importers_proto_winscope_full",
Lalit Magantib9a5b432022-12-01 16:13:11 +000015718 ":perfetto_src_trace_processor_importers_syscalls_full",
Lalit Magantiecf23662022-12-02 18:34:37 +000015719 ":perfetto_src_trace_processor_importers_syscalls_unittests",
15720 ":perfetto_src_trace_processor_importers_systrace_full",
Lalit Magantife2519b2022-11-24 21:12:05 +000015721 ":perfetto_src_trace_processor_importers_systrace_systrace_line",
Lalit Magantib9a5b432022-12-01 16:13:11 +000015722 ":perfetto_src_trace_processor_importers_systrace_systrace_parser",
Lalit Magantiecf23662022-12-02 18:34:37 +000015723 ":perfetto_src_trace_processor_importers_systrace_unittests",
Colin Cross84172332021-09-14 16:41:33 -070015724 ":perfetto_src_trace_processor_lib",
15725 ":perfetto_src_trace_processor_metatrace",
Lalit Maganti4c328e32021-11-09 19:29:50 +000015726 ":perfetto_src_trace_processor_metrics_metrics",
Colin Cross84172332021-09-14 16:41:33 -070015727 ":perfetto_src_trace_processor_metrics_unittests",
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010015728 ":perfetto_src_trace_processor_perfetto_sql_engine_engine",
Lalit Magantib3634792023-06-23 16:35:31 +010015729 ":perfetto_src_trace_processor_perfetto_sql_engine_unittests",
Lalit Maganti8ca73542024-09-17 03:10:35 +010015730 ":perfetto_src_trace_processor_perfetto_sql_grammar_grammar",
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010015731 ":perfetto_src_trace_processor_perfetto_sql_intrinsics_functions_functions",
15732 ":perfetto_src_trace_processor_perfetto_sql_intrinsics_functions_interface",
15733 ":perfetto_src_trace_processor_perfetto_sql_intrinsics_functions_unittests",
15734 ":perfetto_src_trace_processor_perfetto_sql_intrinsics_operators_operators",
15735 ":perfetto_src_trace_processor_perfetto_sql_intrinsics_operators_unittests",
15736 ":perfetto_src_trace_processor_perfetto_sql_intrinsics_table_functions_interface",
15737 ":perfetto_src_trace_processor_perfetto_sql_intrinsics_table_functions_table_functions",
15738 ":perfetto_src_trace_processor_perfetto_sql_intrinsics_table_functions_unittests",
Lalit Magantia135a082024-06-17 12:05:29 +010015739 ":perfetto_src_trace_processor_perfetto_sql_intrinsics_types_types",
Lalit Magantia85f0752024-09-13 14:42:20 +010015740 ":perfetto_src_trace_processor_perfetto_sql_parser_parser",
15741 ":perfetto_src_trace_processor_perfetto_sql_parser_test_utils",
Lalit Maganti870964a2024-09-13 17:27:26 +010015742 ":perfetto_src_trace_processor_perfetto_sql_parser_unittests",
Lalit Magantifcae3762024-09-13 14:38:10 +010015743 ":perfetto_src_trace_processor_perfetto_sql_preprocessor_grammar",
Lalit Maganti9b8abc22024-09-13 12:00:20 +010015744 ":perfetto_src_trace_processor_perfetto_sql_preprocessor_preprocessor",
15745 ":perfetto_src_trace_processor_perfetto_sql_preprocessor_unittests",
Lalit Maganti8ca73542024-09-17 03:10:35 +010015746 ":perfetto_src_trace_processor_perfetto_sql_tokenizer_tokenize_internal",
Lalit Maganti870964a2024-09-13 17:27:26 +010015747 ":perfetto_src_trace_processor_perfetto_sql_tokenizer_tokenizer",
15748 ":perfetto_src_trace_processor_perfetto_sql_tokenizer_unittests",
Colin Cross84172332021-09-14 16:41:33 -070015749 ":perfetto_src_trace_processor_rpc_rpc",
15750 ":perfetto_src_trace_processor_rpc_unittests",
Lalit Maganti1e7a5bb2022-11-25 15:50:43 +000015751 ":perfetto_src_trace_processor_sorter_sorter",
15752 ":perfetto_src_trace_processor_sorter_unittests",
Lalit Magantib7f8a072024-03-25 13:40:56 +000015753 ":perfetto_src_trace_processor_sqlite_bindings_bindings",
Colin Cross84172332021-09-14 16:41:33 -070015754 ":perfetto_src_trace_processor_sqlite_sqlite",
15755 ":perfetto_src_trace_processor_sqlite_unittests",
Colin Cross84172332021-09-14 16:41:33 -070015756 ":perfetto_src_trace_processor_storage_minimal",
15757 ":perfetto_src_trace_processor_storage_storage",
15758 ":perfetto_src_trace_processor_tables_tables",
15759 ":perfetto_src_trace_processor_tables_unittests",
Lalit Magantiecd5c3d2022-11-30 15:56:14 +000015760 ":perfetto_src_trace_processor_top_level_unittests",
Colin Cross84172332021-09-14 16:41:33 -070015761 ":perfetto_src_trace_processor_types_types",
15762 ":perfetto_src_trace_processor_types_unittests",
15763 ":perfetto_src_trace_processor_unittests",
Carlos Caballero2f9ecd12024-03-04 17:56:06 +000015764 ":perfetto_src_trace_processor_util_build_id",
Lalit Maganti99378ef2023-01-30 14:28:44 +000015765 ":perfetto_src_trace_processor_util_bump_allocator",
Colin Cross84172332021-09-14 16:41:33 -070015766 ":perfetto_src_trace_processor_util_descriptors",
Lalit Maganti83ddffe2022-10-18 17:47:44 +010015767 ":perfetto_src_trace_processor_util_glob",
Colin Cross84172332021-09-14 16:41:33 -070015768 ":perfetto_src_trace_processor_util_gzip",
15769 ":perfetto_src_trace_processor_util_interned_message_view",
Carlos Caballero Grolimund8a495a72022-09-05 09:29:09 +000015770 ":perfetto_src_trace_processor_util_profile_builder",
Carlos Caballero5903e022024-02-19 19:25:17 +000015771 ":perfetto_src_trace_processor_util_profiler_util",
Igor Kraskevich5827bf32022-08-15 15:46:32 +000015772 ":perfetto_src_trace_processor_util_proto_profiler",
Colin Cross84172332021-09-14 16:41:33 -070015773 ":perfetto_src_trace_processor_util_proto_to_args_parser",
Hector Dearmanc6cbdc52023-07-11 22:29:37 +010015774 ":perfetto_src_trace_processor_util_protozero_to_json",
Colin Cross84172332021-09-14 16:41:33 -070015775 ":perfetto_src_trace_processor_util_protozero_to_text",
Anna Mayznerb1146632023-07-05 14:14:25 +000015776 ":perfetto_src_trace_processor_util_regex",
Lalit Magantiea630542022-11-21 19:35:02 +000015777 ":perfetto_src_trace_processor_util_sql_argument",
Anna Mayzner5980c712022-11-24 15:09:11 +000015778 ":perfetto_src_trace_processor_util_stdlib",
Lalit Maganti58b22cc2024-07-10 08:28:51 +010015779 ":perfetto_src_trace_processor_util_trace_blob_view_reader",
Carlos Caballero462d1ac2024-05-17 13:10:22 +000015780 ":perfetto_src_trace_processor_util_trace_type",
Colin Cross84172332021-09-14 16:41:33 -070015781 ":perfetto_src_trace_processor_util_unittests",
15782 ":perfetto_src_trace_processor_util_util",
Priyankaf1e96e32024-11-06 20:45:54 +000015783 ":perfetto_src_trace_processor_util_winscope_proto_mapping",
Primiano Tucci9903a6e2022-07-26 09:41:33 +010015784 ":perfetto_src_trace_processor_util_zip_reader",
Aaron Vaage07130572024-01-16 21:02:52 +000015785 ":perfetto_src_trace_redaction_trace_redaction",
15786 ":perfetto_src_trace_redaction_unittests",
Andy Yu2b0a2132022-04-07 16:17:10 -070015787 ":perfetto_src_traced_probes_android_game_intervention_list_android_game_intervention_list",
15788 ":perfetto_src_traced_probes_android_game_intervention_list_unittests",
Colin Cross84172332021-09-14 16:41:33 -070015789 ":perfetto_src_traced_probes_android_log_android_log",
15790 ":perfetto_src_traced_probes_android_log_unittests",
Simon MacMullenf0a6b382022-07-06 16:35:55 +000015791 ":perfetto_src_traced_probes_android_system_property_android_system_property",
15792 ":perfetto_src_traced_probes_android_system_property_unittests",
Colin Cross84172332021-09-14 16:41:33 -070015793 ":perfetto_src_traced_probes_common_common",
15794 ":perfetto_src_traced_probes_common_test_support",
15795 ":perfetto_src_traced_probes_common_unittests",
15796 ":perfetto_src_traced_probes_data_source",
15797 ":perfetto_src_traced_probes_filesystem_filesystem",
15798 ":perfetto_src_traced_probes_filesystem_unittests",
15799 ":perfetto_src_traced_probes_ftrace_format_parser_format_parser",
15800 ":perfetto_src_traced_probes_ftrace_format_parser_unittests",
15801 ":perfetto_src_traced_probes_ftrace_ftrace",
15802 ":perfetto_src_traced_probes_ftrace_ftrace_procfs",
15803 ":perfetto_src_traced_probes_ftrace_test_messages_cpp_gen",
15804 ":perfetto_src_traced_probes_ftrace_test_messages_lite_gen",
15805 ":perfetto_src_traced_probes_ftrace_test_messages_zero_gen",
15806 ":perfetto_src_traced_probes_ftrace_test_support",
15807 ":perfetto_src_traced_probes_ftrace_unittests",
15808 ":perfetto_src_traced_probes_initial_display_state_initial_display_state",
15809 ":perfetto_src_traced_probes_initial_display_state_unittests",
15810 ":perfetto_src_traced_probes_metatrace_metatrace",
15811 ":perfetto_src_traced_probes_packages_list_packages_list",
15812 ":perfetto_src_traced_probes_packages_list_packages_list_parser",
15813 ":perfetto_src_traced_probes_packages_list_unittests",
15814 ":perfetto_src_traced_probes_power_power",
Chinglin Yu819ef1a2021-11-15 22:25:05 +080015815 ":perfetto_src_traced_probes_power_unittests",
Colin Cross84172332021-09-14 16:41:33 -070015816 ":perfetto_src_traced_probes_probes_src",
15817 ":perfetto_src_traced_probes_ps_ps",
15818 ":perfetto_src_traced_probes_ps_unittests",
Hector Dearman09db5b02022-07-11 13:35:23 +010015819 ":perfetto_src_traced_probes_statsd_client_statsd_client",
15820 ":perfetto_src_traced_probes_statsd_client_unittests",
Colin Cross84172332021-09-14 16:41:33 -070015821 ":perfetto_src_traced_probes_sys_stats_sys_stats",
15822 ":perfetto_src_traced_probes_sys_stats_unittests",
15823 ":perfetto_src_traced_probes_system_info_system_info",
15824 ":perfetto_src_traced_probes_system_info_unittests",
15825 ":perfetto_src_traced_probes_unittests",
Chinglin Yu5682f422023-10-13 14:28:04 +080015826 ":perfetto_src_traced_relay_lib",
15827 ":perfetto_src_traced_relay_unittests",
Daniele Di Proietto740dd922024-11-27 14:28:01 +000015828 ":perfetto_src_traced_service_builtin_producer",
Colin Cross84172332021-09-14 16:41:33 -070015829 ":perfetto_src_traced_service_unittests",
15830 ":perfetto_src_tracing_client_api_without_backends",
15831 ":perfetto_src_tracing_common",
15832 ":perfetto_src_tracing_core_core",
Colin Cross84172332021-09-14 16:41:33 -070015833 ":perfetto_src_tracing_core_test_support",
15834 ":perfetto_src_tracing_core_unittests",
15835 ":perfetto_src_tracing_ipc_common",
15836 ":perfetto_src_tracing_ipc_consumer_consumer",
Primiano Tucci8761a312021-11-25 17:17:23 +000015837 ":perfetto_src_tracing_ipc_default_socket",
Colin Cross84172332021-09-14 16:41:33 -070015838 ":perfetto_src_tracing_ipc_producer_producer",
Chinglin Yu76788d22024-02-21 15:49:43 +080015839 ":perfetto_src_tracing_ipc_producer_relay",
Colin Cross84172332021-09-14 16:41:33 -070015840 ":perfetto_src_tracing_ipc_unittests",
15841 ":perfetto_src_tracing_platform_impl",
Daniele Di Proietto7c058852024-01-19 13:25:40 +000015842 ":perfetto_src_tracing_service_service",
15843 ":perfetto_src_tracing_service_unittests",
15844 ":perfetto_src_tracing_service_zlib_compressor",
Colin Cross84172332021-09-14 16:41:33 -070015845 ":perfetto_src_tracing_test_test_support",
Colin Cross84172332021-09-14 16:41:33 -070015846 ":perfetto_src_tracing_unittests",
Hector Dearmanca273502022-05-12 08:46:34 +010015847 ":perfetto_test_sanitizers_unittests",
Colin Cross84172332021-09-14 16:41:33 -070015848 ],
15849 shared_libs: [
Colin Cross84172332021-09-14 16:41:33 -070015850 "libbase",
Leszek Swirskia621a8a2024-08-30 18:12:37 +020015851 "libexpat",
Victor Changd0d65902022-03-10 11:54:27 +000015852 "libicu",
Colin Cross84172332021-09-14 16:41:33 -070015853 "liblog",
15854 "libprocinfo",
15855 "libprotobuf-cpp-full",
15856 "libprotobuf-cpp-lite",
15857 "libsqlite",
15858 "libunwindstack",
15859 "libutils",
15860 "libz",
15861 ],
15862 static_libs: [
15863 "libgmock",
15864 "libgtest",
Ryan Savitskie65c4052022-03-24 18:22:19 +000015865 "perfetto_src_trace_processor_demangle",
Marcin Oczeretko1662f182022-08-18 10:29:46 +010015866 "sqlite_ext_percentile",
Colin Cross84172332021-09-14 16:41:33 -070015867 ],
15868 whole_static_libs: [
15869 "perfetto_gtest_logcat_printer",
15870 ],
15871 generated_headers: [
15872 "perfetto_protos_perfetto_common_cpp_gen_headers",
15873 "perfetto_protos_perfetto_common_lite_gen_headers",
15874 "perfetto_protos_perfetto_common_zero_gen_headers",
15875 "perfetto_protos_perfetto_config_android_cpp_gen_headers",
15876 "perfetto_protos_perfetto_config_android_lite_gen_headers",
15877 "perfetto_protos_perfetto_config_android_zero_gen_headers",
15878 "perfetto_protos_perfetto_config_cpp_gen_headers",
15879 "perfetto_protos_perfetto_config_ftrace_cpp_gen_headers",
15880 "perfetto_protos_perfetto_config_ftrace_lite_gen_headers",
15881 "perfetto_protos_perfetto_config_ftrace_zero_gen_headers",
15882 "perfetto_protos_perfetto_config_gpu_cpp_gen_headers",
15883 "perfetto_protos_perfetto_config_gpu_lite_gen_headers",
15884 "perfetto_protos_perfetto_config_gpu_zero_gen_headers",
15885 "perfetto_protos_perfetto_config_inode_file_cpp_gen_headers",
15886 "perfetto_protos_perfetto_config_inode_file_lite_gen_headers",
15887 "perfetto_protos_perfetto_config_inode_file_zero_gen_headers",
15888 "perfetto_protos_perfetto_config_interceptors_cpp_gen_headers",
15889 "perfetto_protos_perfetto_config_interceptors_lite_gen_headers",
15890 "perfetto_protos_perfetto_config_interceptors_zero_gen_headers",
15891 "perfetto_protos_perfetto_config_lite_gen_headers",
15892 "perfetto_protos_perfetto_config_power_cpp_gen_headers",
15893 "perfetto_protos_perfetto_config_power_lite_gen_headers",
15894 "perfetto_protos_perfetto_config_power_zero_gen_headers",
15895 "perfetto_protos_perfetto_config_process_stats_cpp_gen_headers",
15896 "perfetto_protos_perfetto_config_process_stats_lite_gen_headers",
15897 "perfetto_protos_perfetto_config_process_stats_zero_gen_headers",
15898 "perfetto_protos_perfetto_config_profiling_cpp_gen_headers",
15899 "perfetto_protos_perfetto_config_profiling_lite_gen_headers",
15900 "perfetto_protos_perfetto_config_profiling_zero_gen_headers",
Hector Dearman5974de02022-06-23 15:31:40 +010015901 "perfetto_protos_perfetto_config_statsd_cpp_gen_headers",
15902 "perfetto_protos_perfetto_config_statsd_lite_gen_headers",
15903 "perfetto_protos_perfetto_config_statsd_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -070015904 "perfetto_protos_perfetto_config_sys_stats_cpp_gen_headers",
15905 "perfetto_protos_perfetto_config_sys_stats_lite_gen_headers",
15906 "perfetto_protos_perfetto_config_sys_stats_zero_gen_headers",
Hector Dearman48047d12022-08-02 14:00:46 +010015907 "perfetto_protos_perfetto_config_system_info_cpp_gen_headers",
15908 "perfetto_protos_perfetto_config_system_info_lite_gen_headers",
15909 "perfetto_protos_perfetto_config_system_info_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -070015910 "perfetto_protos_perfetto_config_track_event_cpp_gen_headers",
15911 "perfetto_protos_perfetto_config_track_event_lite_gen_headers",
15912 "perfetto_protos_perfetto_config_track_event_zero_gen_headers",
15913 "perfetto_protos_perfetto_config_zero_gen_headers",
15914 "perfetto_protos_perfetto_ipc_cpp_gen_headers",
15915 "perfetto_protos_perfetto_ipc_ipc_gen_headers",
15916 "perfetto_protos_perfetto_ipc_wire_protocol_cpp_gen_headers",
15917 "perfetto_protos_perfetto_trace_android_cpp_gen_headers",
15918 "perfetto_protos_perfetto_trace_android_lite_gen_headers",
Kean Mariotti4ce4f042024-05-02 07:55:57 +000015919 "perfetto_protos_perfetto_trace_android_winscope_common_cpp_gen_headers",
15920 "perfetto_protos_perfetto_trace_android_winscope_common_lite_gen_headers",
15921 "perfetto_protos_perfetto_trace_android_winscope_common_zero_gen_headers",
15922 "perfetto_protos_perfetto_trace_android_winscope_extensions_zero_gen_headers",
15923 "perfetto_protos_perfetto_trace_android_winscope_regular_cpp_gen_headers",
15924 "perfetto_protos_perfetto_trace_android_winscope_regular_lite_gen_headers",
15925 "perfetto_protos_perfetto_trace_android_winscope_regular_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -070015926 "perfetto_protos_perfetto_trace_android_zero_gen_headers",
15927 "perfetto_protos_perfetto_trace_chrome_cpp_gen_headers",
15928 "perfetto_protos_perfetto_trace_chrome_lite_gen_headers",
15929 "perfetto_protos_perfetto_trace_chrome_zero_gen_headers",
Alex Attar3cacb1d2023-10-10 13:13:25 -040015930 "perfetto_protos_perfetto_trace_etw_cpp_gen_headers",
15931 "perfetto_protos_perfetto_trace_etw_lite_gen_headers",
15932 "perfetto_protos_perfetto_trace_etw_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -070015933 "perfetto_protos_perfetto_trace_filesystem_cpp_gen_headers",
15934 "perfetto_protos_perfetto_trace_filesystem_lite_gen_headers",
15935 "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers",
15936 "perfetto_protos_perfetto_trace_ftrace_cpp_gen_headers",
15937 "perfetto_protos_perfetto_trace_ftrace_lite_gen_headers",
15938 "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers",
15939 "perfetto_protos_perfetto_trace_gpu_cpp_gen_headers",
15940 "perfetto_protos_perfetto_trace_gpu_lite_gen_headers",
15941 "perfetto_protos_perfetto_trace_gpu_zero_gen_headers",
15942 "perfetto_protos_perfetto_trace_interned_data_cpp_gen_headers",
15943 "perfetto_protos_perfetto_trace_interned_data_lite_gen_headers",
15944 "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers",
15945 "perfetto_protos_perfetto_trace_minimal_cpp_gen_headers",
15946 "perfetto_protos_perfetto_trace_minimal_lite_gen_headers",
15947 "perfetto_protos_perfetto_trace_minimal_zero_gen_headers",
15948 "perfetto_protos_perfetto_trace_non_minimal_cpp_gen_headers",
15949 "perfetto_protos_perfetto_trace_non_minimal_lite_gen_headers",
15950 "perfetto_protos_perfetto_trace_non_minimal_zero_gen_headers",
15951 "perfetto_protos_perfetto_trace_perfetto_cpp_gen_headers",
15952 "perfetto_protos_perfetto_trace_perfetto_lite_gen_headers",
15953 "perfetto_protos_perfetto_trace_perfetto_zero_gen_headers",
15954 "perfetto_protos_perfetto_trace_power_cpp_gen_headers",
15955 "perfetto_protos_perfetto_trace_power_lite_gen_headers",
15956 "perfetto_protos_perfetto_trace_power_zero_gen_headers",
15957 "perfetto_protos_perfetto_trace_processor_metrics_impl_zero_gen_headers",
15958 "perfetto_protos_perfetto_trace_processor_zero_gen_headers",
15959 "perfetto_protos_perfetto_trace_profiling_cpp_gen_headers",
15960 "perfetto_protos_perfetto_trace_profiling_lite_gen_headers",
15961 "perfetto_protos_perfetto_trace_profiling_zero_gen_headers",
15962 "perfetto_protos_perfetto_trace_ps_cpp_gen_headers",
15963 "perfetto_protos_perfetto_trace_ps_lite_gen_headers",
15964 "perfetto_protos_perfetto_trace_ps_zero_gen_headers",
Hector Dearman5974de02022-06-23 15:31:40 +010015965 "perfetto_protos_perfetto_trace_statsd_cpp_gen_headers",
15966 "perfetto_protos_perfetto_trace_statsd_lite_gen_headers",
15967 "perfetto_protos_perfetto_trace_statsd_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -070015968 "perfetto_protos_perfetto_trace_sys_stats_cpp_gen_headers",
15969 "perfetto_protos_perfetto_trace_sys_stats_lite_gen_headers",
15970 "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers",
15971 "perfetto_protos_perfetto_trace_system_info_cpp_gen_headers",
15972 "perfetto_protos_perfetto_trace_system_info_lite_gen_headers",
15973 "perfetto_protos_perfetto_trace_system_info_zero_gen_headers",
15974 "perfetto_protos_perfetto_trace_track_event_cpp_gen_headers",
15975 "perfetto_protos_perfetto_trace_track_event_lite_gen_headers",
15976 "perfetto_protos_perfetto_trace_track_event_zero_gen_headers",
Igor Kraskevich49b42882022-03-21 13:03:02 +000015977 "perfetto_protos_perfetto_trace_translation_cpp_gen_headers",
15978 "perfetto_protos_perfetto_trace_translation_lite_gen_headers",
15979 "perfetto_protos_perfetto_trace_translation_zero_gen_headers",
Igor Kraskevich5827bf32022-08-15 15:46:32 +000015980 "perfetto_protos_third_party_pprof_zero_gen_headers",
Carlos Caballero7068d202024-05-22 23:33:31 +000015981 "perfetto_protos_third_party_simpleperf_zero_gen_headers",
Hector Dearman09db5b02022-07-11 13:35:23 +010015982 "perfetto_protos_third_party_statsd_config_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -070015983 "perfetto_src_base_version_gen_h",
15984 "perfetto_src_ipc_test_messages_cpp_gen_headers",
15985 "perfetto_src_ipc_test_messages_ipc_gen_headers",
Lalit Maganti79d70fe2022-02-15 18:31:09 +000015986 "perfetto_src_perfetto_cmd_protos_cpp_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -070015987 "perfetto_src_protozero_testing_messages_cpp_gen_headers",
15988 "perfetto_src_protozero_testing_messages_lite_gen_headers",
Daniele Di Proietto216d50b2024-03-21 14:15:19 +000015989 "perfetto_src_protozero_testing_messages_other_package_cpp_gen_headers",
15990 "perfetto_src_protozero_testing_messages_other_package_lite_gen_headers",
15991 "perfetto_src_protozero_testing_messages_other_package_zero_gen_headers",
15992 "perfetto_src_protozero_testing_messages_subpackage_cpp_gen_headers",
15993 "perfetto_src_protozero_testing_messages_subpackage_lite_gen_headers",
15994 "perfetto_src_protozero_testing_messages_subpackage_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -070015995 "perfetto_src_protozero_testing_messages_zero_gen_headers",
Primiano Tuccia6fd5e22024-11-29 12:08:29 +000015996 "perfetto_src_trace_config_utils_gen_cc_config_descriptor",
Colin Cross84172332021-09-14 16:41:33 -070015997 "perfetto_src_trace_processor_gen_cc_test_messages_descriptor",
Daniele Di Proietto3a4b48a2024-06-27 11:46:04 +000015998 "perfetto_src_trace_processor_importers_proto_gen_cc_android_track_event_descriptor",
Lalit Magantiecf23662022-12-02 18:34:37 +000015999 "perfetto_src_trace_processor_importers_proto_gen_cc_chrome_track_event_descriptor",
16000 "perfetto_src_trace_processor_importers_proto_gen_cc_config_descriptor",
Lalit Magantib7ad13b2022-11-25 15:55:38 +000016001 "perfetto_src_trace_processor_importers_proto_gen_cc_statsd_atoms_descriptor",
Lalit Magantib9a5b432022-12-01 16:13:11 +000016002 "perfetto_src_trace_processor_importers_proto_gen_cc_trace_descriptor",
Lalit Magantiecf23662022-12-02 18:34:37 +000016003 "perfetto_src_trace_processor_importers_proto_gen_cc_track_event_descriptor",
Kean Mariotti248eebf2023-06-12 09:55:43 +000016004 "perfetto_src_trace_processor_importers_proto_winscope_gen_cc_winscope_descriptor",
Colin Cross84172332021-09-14 16:41:33 -070016005 "perfetto_src_trace_processor_metrics_gen_cc_all_chrome_metrics_descriptor",
Oksana Zhuravlova62ef13f2023-04-20 14:19:17 +000016006 "perfetto_src_trace_processor_metrics_gen_cc_all_webview_metrics_descriptor",
Colin Cross84172332021-09-14 16:41:33 -070016007 "perfetto_src_trace_processor_metrics_gen_cc_metrics_descriptor",
Lalit Maganti4c328e32021-11-09 19:29:50 +000016008 "perfetto_src_trace_processor_metrics_sql_gen_amalgamated_sql_metrics",
Lalit Magantiaa66b342024-04-02 16:20:50 +010016009 "perfetto_src_trace_processor_perfetto_sql_intrinsics_functions_tables",
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010016010 "perfetto_src_trace_processor_perfetto_sql_intrinsics_table_functions_tables",
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010016011 "perfetto_src_trace_processor_perfetto_sql_stdlib_stdlib",
Lalit Maganti16117cc2022-12-21 15:33:21 +000016012 "perfetto_src_trace_processor_tables_py_tables_unittest",
Lalit Maganti3dc8e302022-12-01 20:32:46 +000016013 "perfetto_src_trace_processor_tables_tables_python",
Colin Cross84172332021-09-14 16:41:33 -070016014 "perfetto_src_traced_probes_ftrace_test_messages_cpp_gen_headers",
16015 "perfetto_src_traced_probes_ftrace_test_messages_lite_gen_headers",
16016 "perfetto_src_traced_probes_ftrace_test_messages_zero_gen_headers",
16017 ],
16018 defaults: [
16019 "perfetto_defaults",
16020 ],
16021 cflags: [
16022 "-DGOOGLE_PROTOBUF_NO_RTTI",
16023 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
Lalit Magantifa957e72023-03-16 18:22:23 +000016024 "-DZLIB_IMPLEMENTATION",
Colin Cross84172332021-09-14 16:41:33 -070016025 ],
16026 include_dirs: [
16027 "bionic/libc/kernel",
16028 ],
16029 header_libs: [
16030 "bionic_libc_platform_headers",
16031 ],
16032 data: [
16033 "src/profiling/memory/test/data/**/*",
16034 "src/traced/probes/filesystem/testdata/**/*",
16035 "src/traced/probes/ftrace/test/data/**/*",
16036 ],
Daniele Di Proiettocb426002023-02-16 12:14:38 +000016037 target: {
16038 musl: {
16039 static_libs: [
16040 "libfts",
16041 ],
16042 },
16043 },
Sami Kyostila2357b032017-12-06 18:38:17 +000016044}
Primiano Tucci4e49c022017-12-21 18:22:44 +010016045
Daniele Di Proietto2e6c1062022-09-14 13:52:19 +000016046// GN: //test/vts:perfetto_vts_deps
16047cc_library_static {
16048 name: "perfetto_vts_deps",
16049 srcs: [
Lalit Maganti52f13362023-01-23 16:38:01 +000016050 ":perfetto_base_default_platform",
Daniele Di Proietto2e6c1062022-09-14 13:52:19 +000016051 ":perfetto_include_perfetto_base_base",
16052 ":perfetto_include_perfetto_ext_base_base",
16053 ":perfetto_include_perfetto_ext_base_version",
16054 ":perfetto_include_perfetto_ext_ipc_ipc",
Lalit Magantifd92a952024-02-28 11:58:53 +000016055 ":perfetto_include_perfetto_ext_protozero_protozero",
Daniele Di Proietto2e6c1062022-09-14 13:52:19 +000016056 ":perfetto_include_perfetto_ext_traced_sys_stats_counters",
16057 ":perfetto_include_perfetto_ext_traced_traced",
16058 ":perfetto_include_perfetto_ext_tracing_core_core",
16059 ":perfetto_include_perfetto_ext_tracing_ipc_ipc",
16060 ":perfetto_include_perfetto_protozero_protozero",
16061 ":perfetto_include_perfetto_public_abi_base",
16062 ":perfetto_include_perfetto_public_base",
Daniele Di Proietto7451ea62023-01-09 11:31:16 +000016063 ":perfetto_include_perfetto_public_protozero",
Daniele Di Proietto2e6c1062022-09-14 13:52:19 +000016064 ":perfetto_include_perfetto_tracing_core_core",
16065 ":perfetto_include_perfetto_tracing_core_forward_decls",
16066 ":perfetto_include_perfetto_tracing_tracing",
Daniele Di Proietto2e6c1062022-09-14 13:52:19 +000016067 ":perfetto_protos_perfetto_common_cpp_gen",
16068 ":perfetto_protos_perfetto_common_zero_gen",
16069 ":perfetto_protos_perfetto_config_android_cpp_gen",
16070 ":perfetto_protos_perfetto_config_android_zero_gen",
16071 ":perfetto_protos_perfetto_config_cpp_gen",
16072 ":perfetto_protos_perfetto_config_ftrace_cpp_gen",
16073 ":perfetto_protos_perfetto_config_ftrace_zero_gen",
16074 ":perfetto_protos_perfetto_config_gpu_cpp_gen",
16075 ":perfetto_protos_perfetto_config_gpu_zero_gen",
16076 ":perfetto_protos_perfetto_config_inode_file_cpp_gen",
16077 ":perfetto_protos_perfetto_config_inode_file_zero_gen",
16078 ":perfetto_protos_perfetto_config_interceptors_cpp_gen",
16079 ":perfetto_protos_perfetto_config_interceptors_zero_gen",
16080 ":perfetto_protos_perfetto_config_power_cpp_gen",
16081 ":perfetto_protos_perfetto_config_power_zero_gen",
16082 ":perfetto_protos_perfetto_config_process_stats_cpp_gen",
16083 ":perfetto_protos_perfetto_config_process_stats_zero_gen",
16084 ":perfetto_protos_perfetto_config_profiling_cpp_gen",
16085 ":perfetto_protos_perfetto_config_profiling_zero_gen",
16086 ":perfetto_protos_perfetto_config_statsd_cpp_gen",
16087 ":perfetto_protos_perfetto_config_statsd_zero_gen",
16088 ":perfetto_protos_perfetto_config_sys_stats_cpp_gen",
16089 ":perfetto_protos_perfetto_config_sys_stats_zero_gen",
16090 ":perfetto_protos_perfetto_config_system_info_cpp_gen",
16091 ":perfetto_protos_perfetto_config_system_info_zero_gen",
16092 ":perfetto_protos_perfetto_config_track_event_cpp_gen",
16093 ":perfetto_protos_perfetto_config_track_event_zero_gen",
16094 ":perfetto_protos_perfetto_config_zero_gen",
16095 ":perfetto_protos_perfetto_ipc_cpp_gen",
16096 ":perfetto_protos_perfetto_ipc_ipc_gen",
16097 ":perfetto_protos_perfetto_ipc_wire_protocol_cpp_gen",
16098 ":perfetto_protos_perfetto_trace_android_cpp_gen",
Kean Mariotti4ce4f042024-05-02 07:55:57 +000016099 ":perfetto_protos_perfetto_trace_android_winscope_common_cpp_gen",
16100 ":perfetto_protos_perfetto_trace_android_winscope_common_zero_gen",
16101 ":perfetto_protos_perfetto_trace_android_winscope_regular_cpp_gen",
16102 ":perfetto_protos_perfetto_trace_android_winscope_regular_zero_gen",
Daniele Di Proietto2e6c1062022-09-14 13:52:19 +000016103 ":perfetto_protos_perfetto_trace_android_zero_gen",
16104 ":perfetto_protos_perfetto_trace_chrome_cpp_gen",
16105 ":perfetto_protos_perfetto_trace_chrome_zero_gen",
Alex Attar3cacb1d2023-10-10 13:13:25 -040016106 ":perfetto_protos_perfetto_trace_etw_cpp_gen",
16107 ":perfetto_protos_perfetto_trace_etw_zero_gen",
Daniele Di Proietto2e6c1062022-09-14 13:52:19 +000016108 ":perfetto_protos_perfetto_trace_filesystem_cpp_gen",
16109 ":perfetto_protos_perfetto_trace_filesystem_zero_gen",
16110 ":perfetto_protos_perfetto_trace_ftrace_cpp_gen",
16111 ":perfetto_protos_perfetto_trace_ftrace_zero_gen",
16112 ":perfetto_protos_perfetto_trace_gpu_cpp_gen",
16113 ":perfetto_protos_perfetto_trace_gpu_zero_gen",
16114 ":perfetto_protos_perfetto_trace_interned_data_cpp_gen",
16115 ":perfetto_protos_perfetto_trace_interned_data_zero_gen",
16116 ":perfetto_protos_perfetto_trace_minimal_cpp_gen",
16117 ":perfetto_protos_perfetto_trace_minimal_zero_gen",
16118 ":perfetto_protos_perfetto_trace_non_minimal_cpp_gen",
16119 ":perfetto_protos_perfetto_trace_non_minimal_zero_gen",
16120 ":perfetto_protos_perfetto_trace_perfetto_cpp_gen",
16121 ":perfetto_protos_perfetto_trace_perfetto_zero_gen",
16122 ":perfetto_protos_perfetto_trace_power_cpp_gen",
16123 ":perfetto_protos_perfetto_trace_power_zero_gen",
16124 ":perfetto_protos_perfetto_trace_profiling_cpp_gen",
16125 ":perfetto_protos_perfetto_trace_profiling_zero_gen",
16126 ":perfetto_protos_perfetto_trace_ps_cpp_gen",
16127 ":perfetto_protos_perfetto_trace_ps_zero_gen",
16128 ":perfetto_protos_perfetto_trace_statsd_cpp_gen",
16129 ":perfetto_protos_perfetto_trace_statsd_zero_gen",
16130 ":perfetto_protos_perfetto_trace_sys_stats_cpp_gen",
16131 ":perfetto_protos_perfetto_trace_sys_stats_zero_gen",
16132 ":perfetto_protos_perfetto_trace_system_info_cpp_gen",
16133 ":perfetto_protos_perfetto_trace_system_info_zero_gen",
16134 ":perfetto_protos_perfetto_trace_track_event_cpp_gen",
16135 ":perfetto_protos_perfetto_trace_track_event_zero_gen",
16136 ":perfetto_protos_perfetto_trace_translation_cpp_gen",
16137 ":perfetto_protos_perfetto_trace_translation_zero_gen",
16138 ":perfetto_protos_third_party_statsd_config_zero_gen",
16139 ":perfetto_src_android_internal_headers",
16140 ":perfetto_src_android_internal_lazy_library_loader",
16141 ":perfetto_src_android_stats_android_stats",
16142 ":perfetto_src_android_stats_perfetto_atoms",
16143 ":perfetto_src_base_base",
Lalit Maganti1e7aef12024-10-13 14:19:09 +010016144 ":perfetto_src_base_clock_snapshots",
Daniele Di Proietto2e6c1062022-09-14 13:52:19 +000016145 ":perfetto_src_base_test_support",
16146 ":perfetto_src_base_unix_socket",
16147 ":perfetto_src_base_version",
16148 ":perfetto_src_ipc_client",
16149 ":perfetto_src_ipc_common",
16150 ":perfetto_src_ipc_host",
16151 ":perfetto_src_ipc_perfetto_ipc",
16152 ":perfetto_src_kallsyms_kallsyms",
16153 ":perfetto_src_kernel_utils_syscall_table",
16154 ":perfetto_src_protozero_filtering_bytecode_common",
16155 ":perfetto_src_protozero_filtering_bytecode_parser",
16156 ":perfetto_src_protozero_filtering_message_filter",
Lalit Maganti43b2b942023-06-21 10:31:36 +010016157 ":perfetto_src_protozero_filtering_string_filter",
Daniele Di Proietto2e6c1062022-09-14 13:52:19 +000016158 ":perfetto_src_protozero_proto_ring_buffer",
16159 ":perfetto_src_protozero_protozero",
16160 ":perfetto_src_traced_probes_android_game_intervention_list_android_game_intervention_list",
16161 ":perfetto_src_traced_probes_android_log_android_log",
16162 ":perfetto_src_traced_probes_android_system_property_android_system_property",
16163 ":perfetto_src_traced_probes_common_common",
16164 ":perfetto_src_traced_probes_data_source",
16165 ":perfetto_src_traced_probes_filesystem_filesystem",
16166 ":perfetto_src_traced_probes_ftrace_format_parser_format_parser",
16167 ":perfetto_src_traced_probes_ftrace_ftrace",
16168 ":perfetto_src_traced_probes_ftrace_ftrace_procfs",
16169 ":perfetto_src_traced_probes_initial_display_state_initial_display_state",
16170 ":perfetto_src_traced_probes_metatrace_metatrace",
16171 ":perfetto_src_traced_probes_packages_list_packages_list",
16172 ":perfetto_src_traced_probes_packages_list_packages_list_parser",
16173 ":perfetto_src_traced_probes_power_power",
16174 ":perfetto_src_traced_probes_probes_src",
16175 ":perfetto_src_traced_probes_ps_ps",
16176 ":perfetto_src_traced_probes_statsd_client_statsd_client",
16177 ":perfetto_src_traced_probes_sys_stats_sys_stats",
16178 ":perfetto_src_traced_probes_system_info_system_info",
16179 ":perfetto_src_tracing_common",
16180 ":perfetto_src_tracing_core_core",
Daniele Di Proietto2e6c1062022-09-14 13:52:19 +000016181 ":perfetto_src_tracing_ipc_common",
16182 ":perfetto_src_tracing_ipc_consumer_consumer",
16183 ":perfetto_src_tracing_ipc_default_socket",
16184 ":perfetto_src_tracing_ipc_producer_producer",
16185 ":perfetto_src_tracing_ipc_service_service",
Daniele Di Proietto7c058852024-01-19 13:25:40 +000016186 ":perfetto_src_tracing_service_service",
Daniele Di Proietto2e6c1062022-09-14 13:52:19 +000016187 ":perfetto_test_test_helper",
16188 ],
16189 static_libs: [
16190 "libgmock",
16191 "libgtest",
16192 ],
16193 whole_static_libs: [
16194 "perfetto_gtest_logcat_printer",
16195 ],
16196 generated_headers: [
Daniele Di Proietto2e6c1062022-09-14 13:52:19 +000016197 "perfetto_protos_perfetto_common_cpp_gen_headers",
16198 "perfetto_protos_perfetto_common_zero_gen_headers",
16199 "perfetto_protos_perfetto_config_android_cpp_gen_headers",
16200 "perfetto_protos_perfetto_config_android_zero_gen_headers",
16201 "perfetto_protos_perfetto_config_cpp_gen_headers",
16202 "perfetto_protos_perfetto_config_ftrace_cpp_gen_headers",
16203 "perfetto_protos_perfetto_config_ftrace_zero_gen_headers",
16204 "perfetto_protos_perfetto_config_gpu_cpp_gen_headers",
16205 "perfetto_protos_perfetto_config_gpu_zero_gen_headers",
16206 "perfetto_protos_perfetto_config_inode_file_cpp_gen_headers",
16207 "perfetto_protos_perfetto_config_inode_file_zero_gen_headers",
16208 "perfetto_protos_perfetto_config_interceptors_cpp_gen_headers",
16209 "perfetto_protos_perfetto_config_interceptors_zero_gen_headers",
16210 "perfetto_protos_perfetto_config_power_cpp_gen_headers",
16211 "perfetto_protos_perfetto_config_power_zero_gen_headers",
16212 "perfetto_protos_perfetto_config_process_stats_cpp_gen_headers",
16213 "perfetto_protos_perfetto_config_process_stats_zero_gen_headers",
16214 "perfetto_protos_perfetto_config_profiling_cpp_gen_headers",
16215 "perfetto_protos_perfetto_config_profiling_zero_gen_headers",
16216 "perfetto_protos_perfetto_config_statsd_cpp_gen_headers",
16217 "perfetto_protos_perfetto_config_statsd_zero_gen_headers",
16218 "perfetto_protos_perfetto_config_sys_stats_cpp_gen_headers",
16219 "perfetto_protos_perfetto_config_sys_stats_zero_gen_headers",
16220 "perfetto_protos_perfetto_config_system_info_cpp_gen_headers",
16221 "perfetto_protos_perfetto_config_system_info_zero_gen_headers",
16222 "perfetto_protos_perfetto_config_track_event_cpp_gen_headers",
16223 "perfetto_protos_perfetto_config_track_event_zero_gen_headers",
16224 "perfetto_protos_perfetto_config_zero_gen_headers",
16225 "perfetto_protos_perfetto_ipc_cpp_gen_headers",
16226 "perfetto_protos_perfetto_ipc_ipc_gen_headers",
16227 "perfetto_protos_perfetto_ipc_wire_protocol_cpp_gen_headers",
16228 "perfetto_protos_perfetto_trace_android_cpp_gen_headers",
Kean Mariotti4ce4f042024-05-02 07:55:57 +000016229 "perfetto_protos_perfetto_trace_android_winscope_common_cpp_gen_headers",
16230 "perfetto_protos_perfetto_trace_android_winscope_common_zero_gen_headers",
16231 "perfetto_protos_perfetto_trace_android_winscope_regular_cpp_gen_headers",
16232 "perfetto_protos_perfetto_trace_android_winscope_regular_zero_gen_headers",
Daniele Di Proietto2e6c1062022-09-14 13:52:19 +000016233 "perfetto_protos_perfetto_trace_android_zero_gen_headers",
16234 "perfetto_protos_perfetto_trace_chrome_cpp_gen_headers",
16235 "perfetto_protos_perfetto_trace_chrome_zero_gen_headers",
Alex Attar3cacb1d2023-10-10 13:13:25 -040016236 "perfetto_protos_perfetto_trace_etw_cpp_gen_headers",
16237 "perfetto_protos_perfetto_trace_etw_zero_gen_headers",
Daniele Di Proietto2e6c1062022-09-14 13:52:19 +000016238 "perfetto_protos_perfetto_trace_filesystem_cpp_gen_headers",
16239 "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers",
16240 "perfetto_protos_perfetto_trace_ftrace_cpp_gen_headers",
16241 "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers",
16242 "perfetto_protos_perfetto_trace_gpu_cpp_gen_headers",
16243 "perfetto_protos_perfetto_trace_gpu_zero_gen_headers",
16244 "perfetto_protos_perfetto_trace_interned_data_cpp_gen_headers",
16245 "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers",
16246 "perfetto_protos_perfetto_trace_minimal_cpp_gen_headers",
16247 "perfetto_protos_perfetto_trace_minimal_zero_gen_headers",
16248 "perfetto_protos_perfetto_trace_non_minimal_cpp_gen_headers",
16249 "perfetto_protos_perfetto_trace_non_minimal_zero_gen_headers",
16250 "perfetto_protos_perfetto_trace_perfetto_cpp_gen_headers",
16251 "perfetto_protos_perfetto_trace_perfetto_zero_gen_headers",
16252 "perfetto_protos_perfetto_trace_power_cpp_gen_headers",
16253 "perfetto_protos_perfetto_trace_power_zero_gen_headers",
16254 "perfetto_protos_perfetto_trace_profiling_cpp_gen_headers",
16255 "perfetto_protos_perfetto_trace_profiling_zero_gen_headers",
16256 "perfetto_protos_perfetto_trace_ps_cpp_gen_headers",
16257 "perfetto_protos_perfetto_trace_ps_zero_gen_headers",
16258 "perfetto_protos_perfetto_trace_statsd_cpp_gen_headers",
16259 "perfetto_protos_perfetto_trace_statsd_zero_gen_headers",
16260 "perfetto_protos_perfetto_trace_sys_stats_cpp_gen_headers",
16261 "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers",
16262 "perfetto_protos_perfetto_trace_system_info_cpp_gen_headers",
16263 "perfetto_protos_perfetto_trace_system_info_zero_gen_headers",
16264 "perfetto_protos_perfetto_trace_track_event_cpp_gen_headers",
16265 "perfetto_protos_perfetto_trace_track_event_zero_gen_headers",
16266 "perfetto_protos_perfetto_trace_translation_cpp_gen_headers",
16267 "perfetto_protos_perfetto_trace_translation_zero_gen_headers",
16268 "perfetto_protos_third_party_statsd_config_zero_gen_headers",
16269 "perfetto_src_base_version_gen_h",
16270 ],
16271 export_generated_headers: [
Daniele Di Proietto2e6c1062022-09-14 13:52:19 +000016272 "perfetto_protos_perfetto_common_cpp_gen_headers",
16273 "perfetto_protos_perfetto_common_zero_gen_headers",
16274 "perfetto_protos_perfetto_config_android_cpp_gen_headers",
16275 "perfetto_protos_perfetto_config_android_zero_gen_headers",
16276 "perfetto_protos_perfetto_config_cpp_gen_headers",
16277 "perfetto_protos_perfetto_config_ftrace_cpp_gen_headers",
16278 "perfetto_protos_perfetto_config_ftrace_zero_gen_headers",
16279 "perfetto_protos_perfetto_config_gpu_cpp_gen_headers",
16280 "perfetto_protos_perfetto_config_gpu_zero_gen_headers",
16281 "perfetto_protos_perfetto_config_inode_file_cpp_gen_headers",
16282 "perfetto_protos_perfetto_config_inode_file_zero_gen_headers",
16283 "perfetto_protos_perfetto_config_interceptors_cpp_gen_headers",
16284 "perfetto_protos_perfetto_config_interceptors_zero_gen_headers",
16285 "perfetto_protos_perfetto_config_power_cpp_gen_headers",
16286 "perfetto_protos_perfetto_config_power_zero_gen_headers",
16287 "perfetto_protos_perfetto_config_process_stats_cpp_gen_headers",
16288 "perfetto_protos_perfetto_config_process_stats_zero_gen_headers",
16289 "perfetto_protos_perfetto_config_profiling_cpp_gen_headers",
16290 "perfetto_protos_perfetto_config_profiling_zero_gen_headers",
16291 "perfetto_protos_perfetto_config_statsd_cpp_gen_headers",
16292 "perfetto_protos_perfetto_config_statsd_zero_gen_headers",
16293 "perfetto_protos_perfetto_config_sys_stats_cpp_gen_headers",
16294 "perfetto_protos_perfetto_config_sys_stats_zero_gen_headers",
16295 "perfetto_protos_perfetto_config_system_info_cpp_gen_headers",
16296 "perfetto_protos_perfetto_config_system_info_zero_gen_headers",
16297 "perfetto_protos_perfetto_config_track_event_cpp_gen_headers",
16298 "perfetto_protos_perfetto_config_track_event_zero_gen_headers",
16299 "perfetto_protos_perfetto_config_zero_gen_headers",
16300 "perfetto_protos_perfetto_ipc_cpp_gen_headers",
16301 "perfetto_protos_perfetto_ipc_ipc_gen_headers",
16302 "perfetto_protos_perfetto_ipc_wire_protocol_cpp_gen_headers",
16303 "perfetto_protos_perfetto_trace_android_cpp_gen_headers",
Kean Mariotti4ce4f042024-05-02 07:55:57 +000016304 "perfetto_protos_perfetto_trace_android_winscope_common_cpp_gen_headers",
16305 "perfetto_protos_perfetto_trace_android_winscope_common_zero_gen_headers",
16306 "perfetto_protos_perfetto_trace_android_winscope_regular_cpp_gen_headers",
16307 "perfetto_protos_perfetto_trace_android_winscope_regular_zero_gen_headers",
Daniele Di Proietto2e6c1062022-09-14 13:52:19 +000016308 "perfetto_protos_perfetto_trace_android_zero_gen_headers",
16309 "perfetto_protos_perfetto_trace_chrome_cpp_gen_headers",
16310 "perfetto_protos_perfetto_trace_chrome_zero_gen_headers",
Alex Attar3cacb1d2023-10-10 13:13:25 -040016311 "perfetto_protos_perfetto_trace_etw_cpp_gen_headers",
16312 "perfetto_protos_perfetto_trace_etw_zero_gen_headers",
Daniele Di Proietto2e6c1062022-09-14 13:52:19 +000016313 "perfetto_protos_perfetto_trace_filesystem_cpp_gen_headers",
16314 "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers",
16315 "perfetto_protos_perfetto_trace_ftrace_cpp_gen_headers",
16316 "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers",
16317 "perfetto_protos_perfetto_trace_gpu_cpp_gen_headers",
16318 "perfetto_protos_perfetto_trace_gpu_zero_gen_headers",
16319 "perfetto_protos_perfetto_trace_interned_data_cpp_gen_headers",
16320 "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers",
16321 "perfetto_protos_perfetto_trace_minimal_cpp_gen_headers",
16322 "perfetto_protos_perfetto_trace_minimal_zero_gen_headers",
16323 "perfetto_protos_perfetto_trace_non_minimal_cpp_gen_headers",
16324 "perfetto_protos_perfetto_trace_non_minimal_zero_gen_headers",
16325 "perfetto_protos_perfetto_trace_perfetto_cpp_gen_headers",
16326 "perfetto_protos_perfetto_trace_perfetto_zero_gen_headers",
16327 "perfetto_protos_perfetto_trace_power_cpp_gen_headers",
16328 "perfetto_protos_perfetto_trace_power_zero_gen_headers",
16329 "perfetto_protos_perfetto_trace_profiling_cpp_gen_headers",
16330 "perfetto_protos_perfetto_trace_profiling_zero_gen_headers",
16331 "perfetto_protos_perfetto_trace_ps_cpp_gen_headers",
16332 "perfetto_protos_perfetto_trace_ps_zero_gen_headers",
16333 "perfetto_protos_perfetto_trace_statsd_cpp_gen_headers",
16334 "perfetto_protos_perfetto_trace_statsd_zero_gen_headers",
16335 "perfetto_protos_perfetto_trace_sys_stats_cpp_gen_headers",
16336 "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers",
16337 "perfetto_protos_perfetto_trace_system_info_cpp_gen_headers",
16338 "perfetto_protos_perfetto_trace_system_info_zero_gen_headers",
16339 "perfetto_protos_perfetto_trace_track_event_cpp_gen_headers",
16340 "perfetto_protos_perfetto_trace_track_event_zero_gen_headers",
16341 "perfetto_protos_perfetto_trace_translation_cpp_gen_headers",
16342 "perfetto_protos_perfetto_trace_translation_zero_gen_headers",
16343 "perfetto_protos_third_party_statsd_config_zero_gen_headers",
16344 "perfetto_src_base_version_gen_h",
16345 ],
16346 defaults: [
16347 "perfetto_defaults",
16348 ],
16349}
16350
Prabir Pradhan62c76802024-06-05 03:37:25 +000016351// GN: //protos/perfetto/trace/android:perfetto_winscope_extensions_zero
16352cc_library_static {
16353 name: "perfetto_winscope_extensions_zero",
16354 srcs: [
16355 ":perfetto_include_perfetto_base_base",
16356 ":perfetto_include_perfetto_ext_base_base",
16357 ":perfetto_include_perfetto_protozero_protozero",
16358 ":perfetto_include_perfetto_public_abi_base",
16359 ":perfetto_include_perfetto_public_base",
16360 ":perfetto_include_perfetto_public_protozero",
16361 ":perfetto_protos_perfetto_trace_android_winscope_common_zero_gen",
16362 ":perfetto_protos_perfetto_trace_android_winscope_extensions_zero_gen",
16363 ":perfetto_src_base_base",
16364 ":perfetto_src_protozero_protozero",
16365 ],
16366 host_supported: true,
16367 generated_headers: [
16368 "perfetto_protos_perfetto_trace_android_winscope_common_zero_gen_headers",
16369 "perfetto_protos_perfetto_trace_android_winscope_extensions_zero_gen_headers",
16370 ],
16371 export_generated_headers: [
16372 "perfetto_protos_perfetto_trace_android_winscope_common_zero_gen_headers",
16373 "perfetto_protos_perfetto_trace_android_winscope_extensions_zero_gen_headers",
16374 ],
16375 defaults: [
16376 "perfetto_defaults",
16377 ],
16378}
16379
Daniele Di Proietto4b881842024-05-07 12:50:58 +000016380// GN: [//protos/perfetto/trace:non_minimal_source_set, //protos/perfetto/trace/android:winscope_extensions_source_set]
Kean Mariotti4ce4f042024-05-02 07:55:57 +000016381filegroup {
16382 name: "perfetto_winscope_filegroup_proto",
16383 srcs: [
16384 "protos/perfetto/common/android_energy_consumer_descriptor.proto",
16385 "protos/perfetto/common/android_log_constants.proto",
16386 "protos/perfetto/common/builtin_clock.proto",
16387 "protos/perfetto/common/commit_data_request.proto",
16388 "protos/perfetto/common/data_source_descriptor.proto",
16389 "protos/perfetto/common/descriptor.proto",
16390 "protos/perfetto/common/ftrace_descriptor.proto",
16391 "protos/perfetto/common/gpu_counter_descriptor.proto",
16392 "protos/perfetto/common/interceptor_descriptor.proto",
16393 "protos/perfetto/common/observable_events.proto",
16394 "protos/perfetto/common/perf_events.proto",
16395 "protos/perfetto/common/protolog_common.proto",
16396 "protos/perfetto/common/sys_stats_counters.proto",
16397 "protos/perfetto/common/trace_stats.proto",
16398 "protos/perfetto/common/tracing_service_capabilities.proto",
16399 "protos/perfetto/common/tracing_service_state.proto",
16400 "protos/perfetto/common/track_event_descriptor.proto",
16401 "protos/perfetto/config/android/android_game_intervention_list_config.proto",
16402 "protos/perfetto/config/android/android_input_event_config.proto",
16403 "protos/perfetto/config/android/android_log_config.proto",
16404 "protos/perfetto/config/android/android_polled_state_config.proto",
16405 "protos/perfetto/config/android/android_sdk_sysprop_guard_config.proto",
16406 "protos/perfetto/config/android/android_system_property_config.proto",
16407 "protos/perfetto/config/android/network_trace_config.proto",
16408 "protos/perfetto/config/android/packages_list_config.proto",
16409 "protos/perfetto/config/android/pixel_modem_config.proto",
16410 "protos/perfetto/config/android/protolog_config.proto",
16411 "protos/perfetto/config/android/surfaceflinger_layers_config.proto",
16412 "protos/perfetto/config/android/surfaceflinger_transactions_config.proto",
Kean Mariotti1060a4a2024-06-26 08:01:48 +000016413 "protos/perfetto/config/android/windowmanager_config.proto",
Kean Mariotti4ce4f042024-05-02 07:55:57 +000016414 "protos/perfetto/config/chrome/chrome_config.proto",
16415 "protos/perfetto/config/chrome/scenario_config.proto",
Etienne Pierre-doray0508c942024-10-31 15:38:19 +000016416 "protos/perfetto/config/chrome/system_metrics.proto",
Kean Mariotti4ce4f042024-05-02 07:55:57 +000016417 "protos/perfetto/config/chrome/v8_config.proto",
16418 "protos/perfetto/config/data_source_config.proto",
16419 "protos/perfetto/config/etw/etw_config.proto",
16420 "protos/perfetto/config/ftrace/ftrace_config.proto",
16421 "protos/perfetto/config/gpu/gpu_counter_config.proto",
16422 "protos/perfetto/config/gpu/vulkan_memory_config.proto",
16423 "protos/perfetto/config/inode_file/inode_file_config.proto",
16424 "protos/perfetto/config/interceptor_config.proto",
16425 "protos/perfetto/config/interceptors/console_config.proto",
16426 "protos/perfetto/config/power/android_power_config.proto",
16427 "protos/perfetto/config/process_stats/process_stats_config.proto",
16428 "protos/perfetto/config/profiling/heapprofd_config.proto",
16429 "protos/perfetto/config/profiling/java_hprof_config.proto",
16430 "protos/perfetto/config/profiling/perf_event_config.proto",
16431 "protos/perfetto/config/statsd/atom_ids.proto",
16432 "protos/perfetto/config/statsd/statsd_tracing_config.proto",
16433 "protos/perfetto/config/stress_test_config.proto",
16434 "protos/perfetto/config/sys_stats/sys_stats_config.proto",
16435 "protos/perfetto/config/system_info/system_info.proto",
16436 "protos/perfetto/config/test_config.proto",
16437 "protos/perfetto/config/trace_config.proto",
16438 "protos/perfetto/config/track_event/track_event_config.proto",
16439 "protos/perfetto/trace/android/android_game_intervention_list.proto",
16440 "protos/perfetto/trace/android/android_input_event.proto",
16441 "protos/perfetto/trace/android/android_log.proto",
16442 "protos/perfetto/trace/android/android_system_property.proto",
Kean Mariottib9e8db42024-06-24 09:20:50 +000016443 "protos/perfetto/trace/android/app/statusbarmanager.proto",
16444 "protos/perfetto/trace/android/app/window_configuration.proto",
Kean Mariotti4ce4f042024-05-02 07:55:57 +000016445 "protos/perfetto/trace/android/camera_event.proto",
Kean Mariottib9e8db42024-06-24 09:20:50 +000016446 "protos/perfetto/trace/android/content/activityinfo.proto",
16447 "protos/perfetto/trace/android/content/configuration.proto",
16448 "protos/perfetto/trace/android/content/locale.proto",
Kean Mariotti4ce4f042024-05-02 07:55:57 +000016449 "protos/perfetto/trace/android/frame_timeline_event.proto",
16450 "protos/perfetto/trace/android/gpu_mem_event.proto",
16451 "protos/perfetto/trace/android/graphics/pixelformat.proto",
16452 "protos/perfetto/trace/android/graphics/point.proto",
16453 "protos/perfetto/trace/android/graphics/rect.proto",
16454 "protos/perfetto/trace/android/graphics_frame_event.proto",
16455 "protos/perfetto/trace/android/initial_display_state.proto",
16456 "protos/perfetto/trace/android/inputmethodeditor.proto",
16457 "protos/perfetto/trace/android/inputmethodservice/inputmethodservice.proto",
16458 "protos/perfetto/trace/android/inputmethodservice/softinputwindow.proto",
16459 "protos/perfetto/trace/android/network_trace.proto",
16460 "protos/perfetto/trace/android/packages_list.proto",
16461 "protos/perfetto/trace/android/pixel_modem_events.proto",
Kean Mariottib9e8db42024-06-24 09:20:50 +000016462 "protos/perfetto/trace/android/privacy.proto",
Kean Mariotti4ce4f042024-05-02 07:55:57 +000016463 "protos/perfetto/trace/android/protolog.proto",
Kean Mariottib9e8db42024-06-24 09:20:50 +000016464 "protos/perfetto/trace/android/server/animationadapter.proto",
Kean Mariotti4ce4f042024-05-02 07:55:57 +000016465 "protos/perfetto/trace/android/server/inputmethod/inputmethodmanagerservice.proto",
Kean Mariottib9e8db42024-06-24 09:20:50 +000016466 "protos/perfetto/trace/android/server/surfaceanimator.proto",
16467 "protos/perfetto/trace/android/server/windowcontainerthumbnail.proto",
16468 "protos/perfetto/trace/android/server/windowmanagerservice.proto",
Kean Mariotti4ce4f042024-05-02 07:55:57 +000016469 "protos/perfetto/trace/android/shell_transition.proto",
16470 "protos/perfetto/trace/android/surfaceflinger_common.proto",
16471 "protos/perfetto/trace/android/surfaceflinger_layers.proto",
16472 "protos/perfetto/trace/android/surfaceflinger_transactions.proto",
16473 "protos/perfetto/trace/android/typedef.proto",
16474 "protos/perfetto/trace/android/view/display.proto",
16475 "protos/perfetto/trace/android/view/displaycutout.proto",
Kean Mariottib9e8db42024-06-24 09:20:50 +000016476 "protos/perfetto/trace/android/view/displayinfo.proto",
16477 "protos/perfetto/trace/android/view/enums.proto",
Kean Mariotti4ce4f042024-05-02 07:55:57 +000016478 "protos/perfetto/trace/android/view/imefocuscontroller.proto",
16479 "protos/perfetto/trace/android/view/imeinsetssourceconsumer.proto",
16480 "protos/perfetto/trace/android/view/inputmethod/editorinfo.proto",
16481 "protos/perfetto/trace/android/view/inputmethod/inputconnection.proto",
16482 "protos/perfetto/trace/android/view/inputmethod/inputmethodmanager.proto",
16483 "protos/perfetto/trace/android/view/insetsanimationcontrolimpl.proto",
16484 "protos/perfetto/trace/android/view/insetscontroller.proto",
16485 "protos/perfetto/trace/android/view/insetssource.proto",
16486 "protos/perfetto/trace/android/view/insetssourceconsumer.proto",
16487 "protos/perfetto/trace/android/view/insetssourcecontrol.proto",
16488 "protos/perfetto/trace/android/view/insetsstate.proto",
Kean Mariottib9e8db42024-06-24 09:20:50 +000016489 "protos/perfetto/trace/android/view/remote_animation_target.proto",
16490 "protos/perfetto/trace/android/view/surface.proto",
Kean Mariotti4ce4f042024-05-02 07:55:57 +000016491 "protos/perfetto/trace/android/view/surfacecontrol.proto",
16492 "protos/perfetto/trace/android/view/viewrootimpl.proto",
16493 "protos/perfetto/trace/android/view/windowlayoutparams.proto",
Kean Mariottia50c9f42024-05-03 14:26:14 +000016494 "protos/perfetto/trace/android/viewcapture.proto",
Kean Mariottib9e8db42024-06-24 09:20:50 +000016495 "protos/perfetto/trace/android/windowmanager.proto",
Kean Mariotti4ce4f042024-05-02 07:55:57 +000016496 "protos/perfetto/trace/android/winscope_extensions.proto",
16497 "protos/perfetto/trace/android/winscope_extensions_impl.proto",
16498 "protos/perfetto/trace/chrome/chrome_benchmark_metadata.proto",
16499 "protos/perfetto/trace/chrome/chrome_metadata.proto",
16500 "protos/perfetto/trace/chrome/chrome_trace_event.proto",
16501 "protos/perfetto/trace/chrome/chrome_trigger.proto",
16502 "protos/perfetto/trace/chrome/v8.proto",
16503 "protos/perfetto/trace/clock_snapshot.proto",
16504 "protos/perfetto/trace/etw/etw.proto",
16505 "protos/perfetto/trace/etw/etw_event.proto",
16506 "protos/perfetto/trace/etw/etw_event_bundle.proto",
16507 "protos/perfetto/trace/extension_descriptor.proto",
16508 "protos/perfetto/trace/filesystem/inode_file_map.proto",
16509 "protos/perfetto/trace/ftrace/android_fs.proto",
George Leeefccce32024-06-06 01:09:42 +000016510 "protos/perfetto/trace/ftrace/bcl_exynos.proto",
Kean Mariotti4ce4f042024-05-02 07:55:57 +000016511 "protos/perfetto/trace/ftrace/binder.proto",
16512 "protos/perfetto/trace/ftrace/block.proto",
16513 "protos/perfetto/trace/ftrace/cgroup.proto",
16514 "protos/perfetto/trace/ftrace/clk.proto",
16515 "protos/perfetto/trace/ftrace/cma.proto",
16516 "protos/perfetto/trace/ftrace/compaction.proto",
sashwinbalajib4f79a62024-11-07 08:24:21 +080016517 "protos/perfetto/trace/ftrace/cpm_trace.proto",
Kean Mariotti4ce4f042024-05-02 07:55:57 +000016518 "protos/perfetto/trace/ftrace/cpuhp.proto",
16519 "protos/perfetto/trace/ftrace/cros_ec.proto",
John Batese0a60172024-05-29 23:17:05 +000016520 "protos/perfetto/trace/ftrace/dcvsh.proto",
Samuel Wu52c46252024-09-11 17:34:10 -070016521 "protos/perfetto/trace/ftrace/devfreq.proto",
Kean Mariotti4ce4f042024-05-02 07:55:57 +000016522 "protos/perfetto/trace/ftrace/dma_fence.proto",
16523 "protos/perfetto/trace/ftrace/dmabuf_heap.proto",
16524 "protos/perfetto/trace/ftrace/dpu.proto",
16525 "protos/perfetto/trace/ftrace/drm.proto",
16526 "protos/perfetto/trace/ftrace/ext4.proto",
16527 "protos/perfetto/trace/ftrace/f2fs.proto",
16528 "protos/perfetto/trace/ftrace/fastrpc.proto",
16529 "protos/perfetto/trace/ftrace/fence.proto",
16530 "protos/perfetto/trace/ftrace/filemap.proto",
Yuan Yao389e81f2024-11-12 04:06:34 +000016531 "protos/perfetto/trace/ftrace/fs.proto",
Kean Mariotti4ce4f042024-05-02 07:55:57 +000016532 "protos/perfetto/trace/ftrace/ftrace.proto",
16533 "protos/perfetto/trace/ftrace/ftrace_event.proto",
16534 "protos/perfetto/trace/ftrace/ftrace_event_bundle.proto",
16535 "protos/perfetto/trace/ftrace/ftrace_stats.proto",
16536 "protos/perfetto/trace/ftrace/g2d.proto",
16537 "protos/perfetto/trace/ftrace/generic.proto",
16538 "protos/perfetto/trace/ftrace/google_icc_trace.proto",
16539 "protos/perfetto/trace/ftrace/google_irm_trace.proto",
16540 "protos/perfetto/trace/ftrace/gpu_mem.proto",
16541 "protos/perfetto/trace/ftrace/gpu_scheduler.proto",
16542 "protos/perfetto/trace/ftrace/hyp.proto",
16543 "protos/perfetto/trace/ftrace/i2c.proto",
16544 "protos/perfetto/trace/ftrace/ion.proto",
16545 "protos/perfetto/trace/ftrace/ipi.proto",
16546 "protos/perfetto/trace/ftrace/irq.proto",
John Batesa0695862024-05-29 23:31:45 +000016547 "protos/perfetto/trace/ftrace/kgsl.proto",
Kean Mariotti4ce4f042024-05-02 07:55:57 +000016548 "protos/perfetto/trace/ftrace/kmem.proto",
16549 "protos/perfetto/trace/ftrace/kvm.proto",
16550 "protos/perfetto/trace/ftrace/lowmemorykiller.proto",
16551 "protos/perfetto/trace/ftrace/lwis.proto",
16552 "protos/perfetto/trace/ftrace/mali.proto",
16553 "protos/perfetto/trace/ftrace/mdss.proto",
16554 "protos/perfetto/trace/ftrace/mm_event.proto",
16555 "protos/perfetto/trace/ftrace/net.proto",
16556 "protos/perfetto/trace/ftrace/oom.proto",
16557 "protos/perfetto/trace/ftrace/panel.proto",
16558 "protos/perfetto/trace/ftrace/perf_trace_counters.proto",
Dmitry Skibaf8802a52024-08-23 14:13:07 -070016559 "protos/perfetto/trace/ftrace/pixel_mm.proto",
Kean Mariotti4ce4f042024-05-02 07:55:57 +000016560 "protos/perfetto/trace/ftrace/power.proto",
16561 "protos/perfetto/trace/ftrace/printk.proto",
16562 "protos/perfetto/trace/ftrace/raw_syscalls.proto",
16563 "protos/perfetto/trace/ftrace/regulator.proto",
16564 "protos/perfetto/trace/ftrace/rpm.proto",
16565 "protos/perfetto/trace/ftrace/samsung.proto",
16566 "protos/perfetto/trace/ftrace/sched.proto",
16567 "protos/perfetto/trace/ftrace/scm.proto",
16568 "protos/perfetto/trace/ftrace/sde.proto",
16569 "protos/perfetto/trace/ftrace/signal.proto",
16570 "protos/perfetto/trace/ftrace/skb.proto",
16571 "protos/perfetto/trace/ftrace/sock.proto",
16572 "protos/perfetto/trace/ftrace/sync.proto",
16573 "protos/perfetto/trace/ftrace/synthetic.proto",
16574 "protos/perfetto/trace/ftrace/systrace.proto",
16575 "protos/perfetto/trace/ftrace/task.proto",
16576 "protos/perfetto/trace/ftrace/tcp.proto",
16577 "protos/perfetto/trace/ftrace/test_bundle_wrapper.proto",
16578 "protos/perfetto/trace/ftrace/thermal.proto",
sashwinbalaji008127d2024-05-06 08:43:28 +080016579 "protos/perfetto/trace/ftrace/thermal_exynos.proto",
Kean Mariotti4ce4f042024-05-02 07:55:57 +000016580 "protos/perfetto/trace/ftrace/trusty.proto",
16581 "protos/perfetto/trace/ftrace/ufs.proto",
16582 "protos/perfetto/trace/ftrace/v4l2.proto",
16583 "protos/perfetto/trace/ftrace/virtio_gpu.proto",
16584 "protos/perfetto/trace/ftrace/virtio_video.proto",
16585 "protos/perfetto/trace/ftrace/vmscan.proto",
16586 "protos/perfetto/trace/ftrace/workqueue.proto",
16587 "protos/perfetto/trace/gpu/gpu_counter_event.proto",
16588 "protos/perfetto/trace/gpu/gpu_log.proto",
16589 "protos/perfetto/trace/gpu/gpu_render_stage_event.proto",
16590 "protos/perfetto/trace/gpu/vulkan_api_event.proto",
16591 "protos/perfetto/trace/gpu/vulkan_memory_event.proto",
16592 "protos/perfetto/trace/interned_data/interned_data.proto",
16593 "protos/perfetto/trace/memory_graph.proto",
16594 "protos/perfetto/trace/perfetto/perfetto_metatrace.proto",
16595 "protos/perfetto/trace/perfetto/tracing_service_event.proto",
16596 "protos/perfetto/trace/power/android_energy_estimation_breakdown.proto",
16597 "protos/perfetto/trace/power/android_entity_state_residency.proto",
16598 "protos/perfetto/trace/power/battery_counters.proto",
16599 "protos/perfetto/trace/power/power_rails.proto",
16600 "protos/perfetto/trace/profiling/deobfuscation.proto",
16601 "protos/perfetto/trace/profiling/heap_graph.proto",
16602 "protos/perfetto/trace/profiling/profile_common.proto",
16603 "protos/perfetto/trace/profiling/profile_packet.proto",
16604 "protos/perfetto/trace/profiling/smaps.proto",
16605 "protos/perfetto/trace/ps/process_stats.proto",
16606 "protos/perfetto/trace/ps/process_tree.proto",
16607 "protos/perfetto/trace/remote_clock_sync.proto",
16608 "protos/perfetto/trace/statsd/statsd_atom.proto",
16609 "protos/perfetto/trace/sys_stats/sys_stats.proto",
16610 "protos/perfetto/trace/system_info.proto",
16611 "protos/perfetto/trace/system_info/cpu_info.proto",
16612 "protos/perfetto/trace/test_event.proto",
16613 "protos/perfetto/trace/test_extensions.proto",
16614 "protos/perfetto/trace/trace.proto",
16615 "protos/perfetto/trace/trace_packet.proto",
16616 "protos/perfetto/trace/trace_packet_defaults.proto",
16617 "protos/perfetto/trace/trace_uuid.proto",
16618 "protos/perfetto/trace/track_event/chrome_active_processes.proto",
16619 "protos/perfetto/trace/track_event/chrome_application_state_info.proto",
16620 "protos/perfetto/trace/track_event/chrome_compositor_scheduler_state.proto",
16621 "protos/perfetto/trace/track_event/chrome_content_settings_event_info.proto",
16622 "protos/perfetto/trace/track_event/chrome_frame_reporter.proto",
16623 "protos/perfetto/trace/track_event/chrome_histogram_sample.proto",
16624 "protos/perfetto/trace/track_event/chrome_keyed_service.proto",
16625 "protos/perfetto/trace/track_event/chrome_latency_info.proto",
16626 "protos/perfetto/trace/track_event/chrome_legacy_ipc.proto",
16627 "protos/perfetto/trace/track_event/chrome_message_pump.proto",
16628 "protos/perfetto/trace/track_event/chrome_mojo_event_info.proto",
16629 "protos/perfetto/trace/track_event/chrome_process_descriptor.proto",
16630 "protos/perfetto/trace/track_event/chrome_renderer_scheduler_state.proto",
16631 "protos/perfetto/trace/track_event/chrome_thread_descriptor.proto",
16632 "protos/perfetto/trace/track_event/chrome_user_event.proto",
16633 "protos/perfetto/trace/track_event/chrome_window_handle_event_info.proto",
16634 "protos/perfetto/trace/track_event/counter_descriptor.proto",
16635 "protos/perfetto/trace/track_event/debug_annotation.proto",
16636 "protos/perfetto/trace/track_event/log_message.proto",
Kean Mariotti4ce4f042024-05-02 07:55:57 +000016637 "protos/perfetto/trace/track_event/process_descriptor.proto",
16638 "protos/perfetto/trace/track_event/range_of_interest.proto",
16639 "protos/perfetto/trace/track_event/screenshot.proto",
16640 "protos/perfetto/trace/track_event/source_location.proto",
16641 "protos/perfetto/trace/track_event/task_execution.proto",
16642 "protos/perfetto/trace/track_event/thread_descriptor.proto",
16643 "protos/perfetto/trace/track_event/track_descriptor.proto",
16644 "protos/perfetto/trace/track_event/track_event.proto",
16645 "protos/perfetto/trace/translation/translation_table.proto",
16646 "protos/perfetto/trace/trigger.proto",
16647 "protos/perfetto/trace/ui_state.proto",
16648 ],
16649}
16650
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010016651// GN: //src/protozero/protoc_plugin:protozero_plugin
16652cc_binary_host {
Colin Cross84172332021-09-14 16:41:33 -070016653 name: "protozero_plugin",
16654 srcs: [
Lalit Maganti52f13362023-01-23 16:38:01 +000016655 ":perfetto_base_default_platform",
Colin Cross84172332021-09-14 16:41:33 -070016656 ":perfetto_include_perfetto_base_base",
16657 ":perfetto_include_perfetto_ext_base_base",
Daniele Di Proietto8b46d692022-04-22 15:59:40 +010016658 ":perfetto_include_perfetto_public_abi_base",
16659 ":perfetto_include_perfetto_public_base",
Colin Cross84172332021-09-14 16:41:33 -070016660 ":perfetto_src_base_base",
16661 "src/protozero/protoc_plugin/protozero_plugin.cc",
16662 ],
16663 static_libs: [
16664 "libprotoc",
16665 ],
Colin Cross84172332021-09-14 16:41:33 -070016666 defaults: [
16667 "perfetto_defaults",
16668 ],
16669 cflags: [
16670 "-DGOOGLE_PROTOBUF_NO_RTTI",
16671 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
16672 ],
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010016673}
16674
16675// GN: //src/trace_processor:trace_processor_shell
Lalit Magantie0986f32020-09-17 15:35:47 +010016676cc_binary {
Colin Cross84172332021-09-14 16:41:33 -070016677 name: "trace_processor_shell",
16678 srcs: [
Lalit Maganti52f13362023-01-23 16:38:01 +000016679 ":perfetto_base_default_platform",
Colin Cross84172332021-09-14 16:41:33 -070016680 ":perfetto_include_perfetto_base_base",
16681 ":perfetto_include_perfetto_ext_base_base",
Primiano Tucci44a15be2021-11-06 21:40:18 +000016682 ":perfetto_include_perfetto_ext_base_http_http",
Daniele Di Proietto15b801e2022-06-30 12:56:13 +010016683 ":perfetto_include_perfetto_ext_base_version",
Lalit Magantifd92a952024-02-28 11:58:53 +000016684 ":perfetto_include_perfetto_ext_protozero_protozero",
Carlos Caballero Grolimund8a495a72022-09-05 09:29:09 +000016685 ":perfetto_include_perfetto_ext_trace_processor_demangle",
Colin Cross84172332021-09-14 16:41:33 -070016686 ":perfetto_include_perfetto_ext_trace_processor_export_json",
16687 ":perfetto_include_perfetto_ext_trace_processor_importers_memory_tracker_memory_tracker",
Lalit Magantibe79bb22023-10-03 13:53:25 +010016688 ":perfetto_include_perfetto_ext_trace_processor_rpc_query_result_serializer",
Colin Cross84172332021-09-14 16:41:33 -070016689 ":perfetto_include_perfetto_ext_traced_sys_stats_counters",
16690 ":perfetto_include_perfetto_protozero_protozero",
Daniele Di Proietto8b46d692022-04-22 15:59:40 +010016691 ":perfetto_include_perfetto_public_abi_base",
Leszek Swirskia621a8a2024-08-30 18:12:37 +020016692 ":perfetto_include_perfetto_public_abi_public",
Daniele Di Proietto8b46d692022-04-22 15:59:40 +010016693 ":perfetto_include_perfetto_public_base",
Leszek Swirskia621a8a2024-08-30 18:12:37 +020016694 ":perfetto_include_perfetto_public_protos_protos",
Daniele Di Proietto7451ea62023-01-09 11:31:16 +000016695 ":perfetto_include_perfetto_public_protozero",
Leszek Swirskia621a8a2024-08-30 18:12:37 +020016696 ":perfetto_include_perfetto_public_public",
Colin Cross84172332021-09-14 16:41:33 -070016697 ":perfetto_include_perfetto_trace_processor_basic_types",
16698 ":perfetto_include_perfetto_trace_processor_storage",
16699 ":perfetto_include_perfetto_trace_processor_trace_processor",
16700 ":perfetto_protos_perfetto_common_zero_gen",
16701 ":perfetto_protos_perfetto_config_android_zero_gen",
16702 ":perfetto_protos_perfetto_config_ftrace_zero_gen",
16703 ":perfetto_protos_perfetto_config_gpu_zero_gen",
16704 ":perfetto_protos_perfetto_config_inode_file_zero_gen",
16705 ":perfetto_protos_perfetto_config_interceptors_zero_gen",
16706 ":perfetto_protos_perfetto_config_power_zero_gen",
16707 ":perfetto_protos_perfetto_config_process_stats_zero_gen",
16708 ":perfetto_protos_perfetto_config_profiling_zero_gen",
Hector Dearman5974de02022-06-23 15:31:40 +010016709 ":perfetto_protos_perfetto_config_statsd_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -070016710 ":perfetto_protos_perfetto_config_sys_stats_zero_gen",
Hector Dearman48047d12022-08-02 14:00:46 +010016711 ":perfetto_protos_perfetto_config_system_info_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -070016712 ":perfetto_protos_perfetto_config_track_event_zero_gen",
16713 ":perfetto_protos_perfetto_config_zero_gen",
Kean Mariotti4ce4f042024-05-02 07:55:57 +000016714 ":perfetto_protos_perfetto_trace_android_winscope_common_zero_gen",
16715 ":perfetto_protos_perfetto_trace_android_winscope_extensions_zero_gen",
16716 ":perfetto_protos_perfetto_trace_android_winscope_regular_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -070016717 ":perfetto_protos_perfetto_trace_android_zero_gen",
16718 ":perfetto_protos_perfetto_trace_chrome_zero_gen",
Alex Attar3cacb1d2023-10-10 13:13:25 -040016719 ":perfetto_protos_perfetto_trace_etw_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -070016720 ":perfetto_protos_perfetto_trace_filesystem_zero_gen",
16721 ":perfetto_protos_perfetto_trace_ftrace_zero_gen",
16722 ":perfetto_protos_perfetto_trace_gpu_zero_gen",
16723 ":perfetto_protos_perfetto_trace_interned_data_zero_gen",
16724 ":perfetto_protos_perfetto_trace_minimal_zero_gen",
16725 ":perfetto_protos_perfetto_trace_non_minimal_zero_gen",
16726 ":perfetto_protos_perfetto_trace_perfetto_zero_gen",
16727 ":perfetto_protos_perfetto_trace_power_zero_gen",
16728 ":perfetto_protos_perfetto_trace_processor_metrics_impl_zero_gen",
16729 ":perfetto_protos_perfetto_trace_processor_zero_gen",
16730 ":perfetto_protos_perfetto_trace_profiling_zero_gen",
16731 ":perfetto_protos_perfetto_trace_ps_zero_gen",
Hector Dearman5974de02022-06-23 15:31:40 +010016732 ":perfetto_protos_perfetto_trace_statsd_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -070016733 ":perfetto_protos_perfetto_trace_sys_stats_zero_gen",
16734 ":perfetto_protos_perfetto_trace_system_info_zero_gen",
16735 ":perfetto_protos_perfetto_trace_track_event_zero_gen",
Igor Kraskevich49b42882022-03-21 13:03:02 +000016736 ":perfetto_protos_perfetto_trace_translation_zero_gen",
Igor Kraskevich3da925d2022-08-22 12:02:30 +000016737 ":perfetto_protos_third_party_pprof_zero_gen",
Carlos Caballero7068d202024-05-22 23:33:31 +000016738 ":perfetto_protos_third_party_simpleperf_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -070016739 ":perfetto_src_base_base",
Lalit Maganti1e7aef12024-10-13 14:19:09 +010016740 ":perfetto_src_base_clock_snapshots",
Primiano Tucci44a15be2021-11-06 21:40:18 +000016741 ":perfetto_src_base_http_http",
Colin Cross84172332021-09-14 16:41:33 -070016742 ":perfetto_src_base_unix_socket",
Daniele Di Proietto15b801e2022-06-30 12:56:13 +010016743 ":perfetto_src_base_version",
Ryan Zuklieec18eb32022-07-25 15:51:59 -070016744 ":perfetto_src_kernel_utils_syscall_table",
Colin Cross84172332021-09-14 16:41:33 -070016745 ":perfetto_src_profiling_deobfuscator",
16746 ":perfetto_src_profiling_symbolizer_symbolize_database",
16747 ":perfetto_src_profiling_symbolizer_symbolizer",
16748 ":perfetto_src_protozero_proto_ring_buffer",
16749 ":perfetto_src_protozero_protozero",
Colin Cross84172332021-09-14 16:41:33 -070016750 ":perfetto_src_trace_processor_containers_containers",
Anna Mayzner9d4f6cf2024-01-05 07:41:14 +000016751 ":perfetto_src_trace_processor_db_column_column",
Lalit Maganti3e31faf2024-05-23 18:04:23 +010016752 ":perfetto_src_trace_processor_db_compare",
Colin Cross84172332021-09-14 16:41:33 -070016753 ":perfetto_src_trace_processor_db_db",
Lalit Maganti202b26b2024-02-13 15:39:45 +000016754 ":perfetto_src_trace_processor_db_minimal",
Lalit Magantie459edf2024-02-16 15:39:30 +000016755 ":perfetto_src_trace_processor_export_json",
Primiano Tuccic9d912e2022-07-28 23:30:11 +010016756 ":perfetto_src_trace_processor_importers_android_bugreport_android_bugreport",
Carlos Caballero0735e7e2024-07-12 11:01:43 +000016757 ":perfetto_src_trace_processor_importers_android_bugreport_android_log_event",
Carlos Caballero57d05dc2024-10-14 12:05:54 +000016758 ":perfetto_src_trace_processor_importers_archive_archive",
Lalit Magantifd975122024-10-07 16:23:47 +010016759 ":perfetto_src_trace_processor_importers_art_method_art_method",
16760 ":perfetto_src_trace_processor_importers_art_method_art_method_event",
Colin Cross84172332021-09-14 16:41:33 -070016761 ":perfetto_src_trace_processor_importers_common_common",
Lalit Magantieb2645a2022-11-25 15:49:35 +000016762 ":perfetto_src_trace_processor_importers_common_parser_types",
16763 ":perfetto_src_trace_processor_importers_common_trace_parser_hdr",
Alex Attar9cc5ef22024-01-30 13:26:17 -050016764 ":perfetto_src_trace_processor_importers_etw_full",
Alex Attar3d0aae72024-04-16 14:40:30 -040016765 ":perfetto_src_trace_processor_importers_etw_minimal",
Lalit Magantib9a5b432022-12-01 16:13:11 +000016766 ":perfetto_src_trace_processor_importers_ftrace_ftrace_descriptors",
16767 ":perfetto_src_trace_processor_importers_ftrace_full",
16768 ":perfetto_src_trace_processor_importers_ftrace_minimal",
Lalit Magantife2519b2022-11-24 21:12:05 +000016769 ":perfetto_src_trace_processor_importers_fuchsia_fuchsia_record",
Lalit Magantiecf23662022-12-02 18:34:37 +000016770 ":perfetto_src_trace_processor_importers_fuchsia_full",
16771 ":perfetto_src_trace_processor_importers_fuchsia_minimal",
Lalit Maganti6713f7c2024-10-01 17:50:24 +010016772 ":perfetto_src_trace_processor_importers_gecko_gecko_event",
Lalit Magantib9a5b432022-12-01 16:13:11 +000016773 ":perfetto_src_trace_processor_importers_i2c_full",
Leszek Swirskia621a8a2024-08-30 18:12:37 +020016774 ":perfetto_src_trace_processor_importers_instruments_instruments",
16775 ":perfetto_src_trace_processor_importers_instruments_row",
Lalit Magantib9a5b432022-12-01 16:13:11 +000016776 ":perfetto_src_trace_processor_importers_json_minimal",
Colin Cross84172332021-09-14 16:41:33 -070016777 ":perfetto_src_trace_processor_importers_memory_tracker_graph_processor",
Lalit Maganti1bfdccc2022-11-28 21:19:35 +000016778 ":perfetto_src_trace_processor_importers_ninja_ninja",
Anna Mayzner5dbfc2d2023-10-26 10:42:53 +000016779 ":perfetto_src_trace_processor_importers_perf_perf",
Carlos Caballero3c1d6592024-05-13 10:22:49 +000016780 ":perfetto_src_trace_processor_importers_perf_record",
Lalit Maganti0044e3c2024-10-09 14:27:37 +010016781 ":perfetto_src_trace_processor_importers_perf_text_perf_text",
16782 ":perfetto_src_trace_processor_importers_perf_text_perf_text_event",
16783 ":perfetto_src_trace_processor_importers_perf_text_perf_text_sample_line_parser",
Lalit Magantib7ad13b2022-11-25 15:55:38 +000016784 ":perfetto_src_trace_processor_importers_proto_full",
16785 ":perfetto_src_trace_processor_importers_proto_minimal",
Lalit Magantiba07dcf2022-11-25 13:58:09 +000016786 ":perfetto_src_trace_processor_importers_proto_packet_sequence_state_generation_hdr",
Lalit Magantib9a5b432022-12-01 16:13:11 +000016787 ":perfetto_src_trace_processor_importers_proto_proto_importer_module",
Kean Mariotti248eebf2023-06-12 09:55:43 +000016788 ":perfetto_src_trace_processor_importers_proto_winscope_full",
Lalit Magantib9a5b432022-12-01 16:13:11 +000016789 ":perfetto_src_trace_processor_importers_syscalls_full",
Lalit Magantiecf23662022-12-02 18:34:37 +000016790 ":perfetto_src_trace_processor_importers_systrace_full",
Lalit Magantife2519b2022-11-24 21:12:05 +000016791 ":perfetto_src_trace_processor_importers_systrace_systrace_line",
Lalit Magantib9a5b432022-12-01 16:13:11 +000016792 ":perfetto_src_trace_processor_importers_systrace_systrace_parser",
Colin Cross84172332021-09-14 16:41:33 -070016793 ":perfetto_src_trace_processor_lib",
16794 ":perfetto_src_trace_processor_metatrace",
Lalit Maganti4c328e32021-11-09 19:29:50 +000016795 ":perfetto_src_trace_processor_metrics_metrics",
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010016796 ":perfetto_src_trace_processor_perfetto_sql_engine_engine",
Lalit Maganti8ca73542024-09-17 03:10:35 +010016797 ":perfetto_src_trace_processor_perfetto_sql_grammar_grammar",
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010016798 ":perfetto_src_trace_processor_perfetto_sql_intrinsics_functions_functions",
16799 ":perfetto_src_trace_processor_perfetto_sql_intrinsics_functions_interface",
16800 ":perfetto_src_trace_processor_perfetto_sql_intrinsics_operators_operators",
16801 ":perfetto_src_trace_processor_perfetto_sql_intrinsics_table_functions_interface",
16802 ":perfetto_src_trace_processor_perfetto_sql_intrinsics_table_functions_table_functions",
Lalit Magantia135a082024-06-17 12:05:29 +010016803 ":perfetto_src_trace_processor_perfetto_sql_intrinsics_types_types",
Lalit Magantia85f0752024-09-13 14:42:20 +010016804 ":perfetto_src_trace_processor_perfetto_sql_parser_parser",
Lalit Magantifcae3762024-09-13 14:38:10 +010016805 ":perfetto_src_trace_processor_perfetto_sql_preprocessor_grammar",
Lalit Maganti9b8abc22024-09-13 12:00:20 +010016806 ":perfetto_src_trace_processor_perfetto_sql_preprocessor_preprocessor",
Lalit Maganti8ca73542024-09-17 03:10:35 +010016807 ":perfetto_src_trace_processor_perfetto_sql_tokenizer_tokenize_internal",
Lalit Maganti870964a2024-09-13 17:27:26 +010016808 ":perfetto_src_trace_processor_perfetto_sql_tokenizer_tokenizer",
Colin Cross84172332021-09-14 16:41:33 -070016809 ":perfetto_src_trace_processor_rpc_httpd",
16810 ":perfetto_src_trace_processor_rpc_rpc",
Lalit Maganti00bca032023-12-21 11:39:58 +000016811 ":perfetto_src_trace_processor_rpc_stdiod",
Lalit Maganti1e7a5bb2022-11-25 15:50:43 +000016812 ":perfetto_src_trace_processor_sorter_sorter",
Lalit Magantib7f8a072024-03-25 13:40:56 +000016813 ":perfetto_src_trace_processor_sqlite_bindings_bindings",
Colin Cross84172332021-09-14 16:41:33 -070016814 ":perfetto_src_trace_processor_sqlite_sqlite",
Colin Cross84172332021-09-14 16:41:33 -070016815 ":perfetto_src_trace_processor_storage_minimal",
16816 ":perfetto_src_trace_processor_storage_storage",
16817 ":perfetto_src_trace_processor_tables_tables",
16818 ":perfetto_src_trace_processor_types_types",
Carlos Caballero2f9ecd12024-03-04 17:56:06 +000016819 ":perfetto_src_trace_processor_util_build_id",
Lalit Magantiffaed7a2023-02-21 16:02:04 +000016820 ":perfetto_src_trace_processor_util_bump_allocator",
Colin Cross84172332021-09-14 16:41:33 -070016821 ":perfetto_src_trace_processor_util_descriptors",
Lalit Maganti83ddffe2022-10-18 17:47:44 +010016822 ":perfetto_src_trace_processor_util_glob",
Colin Cross84172332021-09-14 16:41:33 -070016823 ":perfetto_src_trace_processor_util_gzip",
16824 ":perfetto_src_trace_processor_util_interned_message_view",
Carlos Caballero Grolimund8a495a72022-09-05 09:29:09 +000016825 ":perfetto_src_trace_processor_util_profile_builder",
Carlos Caballero5903e022024-02-19 19:25:17 +000016826 ":perfetto_src_trace_processor_util_profiler_util",
Igor Kraskevich3da925d2022-08-22 12:02:30 +000016827 ":perfetto_src_trace_processor_util_proto_profiler",
Colin Cross84172332021-09-14 16:41:33 -070016828 ":perfetto_src_trace_processor_util_proto_to_args_parser",
Hector Dearmanc6cbdc52023-07-11 22:29:37 +010016829 ":perfetto_src_trace_processor_util_protozero_to_json",
Colin Cross84172332021-09-14 16:41:33 -070016830 ":perfetto_src_trace_processor_util_protozero_to_text",
Anna Mayznerb1146632023-07-05 14:14:25 +000016831 ":perfetto_src_trace_processor_util_regex",
Lalit Magantiea630542022-11-21 19:35:02 +000016832 ":perfetto_src_trace_processor_util_sql_argument",
Anna Mayzner5980c712022-11-24 15:09:11 +000016833 ":perfetto_src_trace_processor_util_stdlib",
Lalit Maganti58b22cc2024-07-10 08:28:51 +010016834 ":perfetto_src_trace_processor_util_trace_blob_view_reader",
Carlos Caballero462d1ac2024-05-17 13:10:22 +000016835 ":perfetto_src_trace_processor_util_trace_type",
Colin Cross84172332021-09-14 16:41:33 -070016836 ":perfetto_src_trace_processor_util_util",
Priyankaf1e96e32024-11-06 20:45:54 +000016837 ":perfetto_src_trace_processor_util_winscope_proto_mapping",
Primiano Tuccic9d912e2022-07-28 23:30:11 +010016838 ":perfetto_src_trace_processor_util_zip_reader",
Colin Cross84172332021-09-14 16:41:33 -070016839 "src/trace_processor/trace_processor_shell.cc",
Colin Cross84172332021-09-14 16:41:33 -070016840 ],
Ryan Savitskie65c4052022-03-24 18:22:19 +000016841 static_libs: [
16842 "perfetto_src_trace_processor_demangle",
16843 ],
Colin Cross84172332021-09-14 16:41:33 -070016844 host_supported: true,
16845 generated_headers: [
16846 "perfetto_protos_perfetto_common_zero_gen_headers",
16847 "perfetto_protos_perfetto_config_android_zero_gen_headers",
16848 "perfetto_protos_perfetto_config_ftrace_zero_gen_headers",
16849 "perfetto_protos_perfetto_config_gpu_zero_gen_headers",
16850 "perfetto_protos_perfetto_config_inode_file_zero_gen_headers",
16851 "perfetto_protos_perfetto_config_interceptors_zero_gen_headers",
16852 "perfetto_protos_perfetto_config_power_zero_gen_headers",
16853 "perfetto_protos_perfetto_config_process_stats_zero_gen_headers",
16854 "perfetto_protos_perfetto_config_profiling_zero_gen_headers",
Hector Dearman5974de02022-06-23 15:31:40 +010016855 "perfetto_protos_perfetto_config_statsd_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -070016856 "perfetto_protos_perfetto_config_sys_stats_zero_gen_headers",
Hector Dearman48047d12022-08-02 14:00:46 +010016857 "perfetto_protos_perfetto_config_system_info_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -070016858 "perfetto_protos_perfetto_config_track_event_zero_gen_headers",
16859 "perfetto_protos_perfetto_config_zero_gen_headers",
Kean Mariotti4ce4f042024-05-02 07:55:57 +000016860 "perfetto_protos_perfetto_trace_android_winscope_common_zero_gen_headers",
16861 "perfetto_protos_perfetto_trace_android_winscope_extensions_zero_gen_headers",
16862 "perfetto_protos_perfetto_trace_android_winscope_regular_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -070016863 "perfetto_protos_perfetto_trace_android_zero_gen_headers",
16864 "perfetto_protos_perfetto_trace_chrome_zero_gen_headers",
Alex Attar3cacb1d2023-10-10 13:13:25 -040016865 "perfetto_protos_perfetto_trace_etw_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -070016866 "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers",
16867 "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers",
16868 "perfetto_protos_perfetto_trace_gpu_zero_gen_headers",
16869 "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers",
16870 "perfetto_protos_perfetto_trace_minimal_zero_gen_headers",
16871 "perfetto_protos_perfetto_trace_non_minimal_zero_gen_headers",
16872 "perfetto_protos_perfetto_trace_perfetto_zero_gen_headers",
16873 "perfetto_protos_perfetto_trace_power_zero_gen_headers",
16874 "perfetto_protos_perfetto_trace_processor_metrics_impl_zero_gen_headers",
16875 "perfetto_protos_perfetto_trace_processor_zero_gen_headers",
16876 "perfetto_protos_perfetto_trace_profiling_zero_gen_headers",
16877 "perfetto_protos_perfetto_trace_ps_zero_gen_headers",
Hector Dearman5974de02022-06-23 15:31:40 +010016878 "perfetto_protos_perfetto_trace_statsd_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -070016879 "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers",
16880 "perfetto_protos_perfetto_trace_system_info_zero_gen_headers",
16881 "perfetto_protos_perfetto_trace_track_event_zero_gen_headers",
Igor Kraskevich49b42882022-03-21 13:03:02 +000016882 "perfetto_protos_perfetto_trace_translation_zero_gen_headers",
Igor Kraskevich3da925d2022-08-22 12:02:30 +000016883 "perfetto_protos_third_party_pprof_zero_gen_headers",
Carlos Caballero7068d202024-05-22 23:33:31 +000016884 "perfetto_protos_third_party_simpleperf_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -070016885 "perfetto_src_base_version_gen_h",
Daniele Di Proietto3a4b48a2024-06-27 11:46:04 +000016886 "perfetto_src_trace_processor_importers_proto_gen_cc_android_track_event_descriptor",
Lalit Magantiecf23662022-12-02 18:34:37 +000016887 "perfetto_src_trace_processor_importers_proto_gen_cc_chrome_track_event_descriptor",
16888 "perfetto_src_trace_processor_importers_proto_gen_cc_config_descriptor",
Lalit Magantib7ad13b2022-11-25 15:55:38 +000016889 "perfetto_src_trace_processor_importers_proto_gen_cc_statsd_atoms_descriptor",
Lalit Magantib9a5b432022-12-01 16:13:11 +000016890 "perfetto_src_trace_processor_importers_proto_gen_cc_trace_descriptor",
Lalit Magantiecf23662022-12-02 18:34:37 +000016891 "perfetto_src_trace_processor_importers_proto_gen_cc_track_event_descriptor",
Kean Mariotti248eebf2023-06-12 09:55:43 +000016892 "perfetto_src_trace_processor_importers_proto_winscope_gen_cc_winscope_descriptor",
Colin Cross84172332021-09-14 16:41:33 -070016893 "perfetto_src_trace_processor_metrics_gen_cc_all_chrome_metrics_descriptor",
Oksana Zhuravlova62ef13f2023-04-20 14:19:17 +000016894 "perfetto_src_trace_processor_metrics_gen_cc_all_webview_metrics_descriptor",
Colin Cross84172332021-09-14 16:41:33 -070016895 "perfetto_src_trace_processor_metrics_gen_cc_metrics_descriptor",
Lalit Maganti4c328e32021-11-09 19:29:50 +000016896 "perfetto_src_trace_processor_metrics_sql_gen_amalgamated_sql_metrics",
Lalit Magantiaa66b342024-04-02 16:20:50 +010016897 "perfetto_src_trace_processor_perfetto_sql_intrinsics_functions_tables",
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010016898 "perfetto_src_trace_processor_perfetto_sql_intrinsics_table_functions_tables",
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010016899 "perfetto_src_trace_processor_perfetto_sql_stdlib_stdlib",
Lalit Maganti3dc8e302022-12-01 20:32:46 +000016900 "perfetto_src_trace_processor_tables_tables_python",
Colin Cross84172332021-09-14 16:41:33 -070016901 ],
16902 defaults: [
16903 "perfetto_defaults",
16904 ],
16905 cflags: [
16906 "-DGOOGLE_PROTOBUF_NO_RTTI",
16907 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
Lalit Magantifa957e72023-03-16 18:22:23 +000016908 "-DZLIB_IMPLEMENTATION",
Colin Cross84172332021-09-14 16:41:33 -070016909 ],
16910 strip: {
16911 all: true,
Lalit Magantie0986f32020-09-17 15:35:47 +010016912 },
Colin Cross84172332021-09-14 16:41:33 -070016913 target: {
16914 android: {
16915 shared_libs: [
Leszek Swirskia621a8a2024-08-30 18:12:37 +020016916 "libexpat",
Victor Changd0d65902022-03-10 11:54:27 +000016917 "libicu",
Colin Cross84172332021-09-14 16:41:33 -070016918 "liblog",
16919 "libprotobuf-cpp-full",
16920 "libsqlite",
16921 "libutils",
16922 "libz",
16923 ],
Marcin Oczeretko1662f182022-08-18 10:29:46 +010016924 static_libs: [
16925 "sqlite_ext_percentile",
16926 ],
Colin Cross84172332021-09-14 16:41:33 -070016927 },
16928 host: {
16929 static_libs: [
Leszek Swirskia621a8a2024-08-30 18:12:37 +020016930 "libexpat",
Colin Cross84172332021-09-14 16:41:33 -070016931 "libprotobuf-cpp-full",
Michael Hoisie3e193512023-11-18 08:13:49 +000016932 "libsqlite_static_noicu",
Colin Cross84172332021-09-14 16:41:33 -070016933 "libz",
Marcin Oczeretko1662f182022-08-18 10:29:46 +010016934 "sqlite_ext_percentile",
Colin Cross84172332021-09-14 16:41:33 -070016935 ],
16936 stl: "libc++_static",
16937 dist: {
16938 targets: [
16939 "sdk_repo",
16940 ],
16941 },
16942 },
Daniele Di Proiettocb426002023-02-16 12:14:38 +000016943 musl: {
16944 static_libs: [
16945 "libfts",
16946 ],
16947 },
Lalit Magantie0986f32020-09-17 15:35:47 +010016948 },
Lalit Magantiedace412019-06-18 13:28:28 +010016949}
16950
Steven Terrell3137bbe2024-03-22 18:55:56 +000016951// GN: //src/trace_redaction:trace_redactor
16952cc_binary {
16953 name: "trace_redactor",
16954 srcs: [
16955 ":perfetto_base_default_platform",
16956 ":perfetto_include_perfetto_base_base",
16957 ":perfetto_include_perfetto_ext_base_base",
16958 ":perfetto_include_perfetto_ext_trace_processor_importers_memory_tracker_memory_tracker",
16959 ":perfetto_include_perfetto_protozero_protozero",
16960 ":perfetto_include_perfetto_public_abi_base",
16961 ":perfetto_include_perfetto_public_base",
16962 ":perfetto_include_perfetto_public_protozero",
16963 ":perfetto_include_perfetto_trace_processor_basic_types",
16964 ":perfetto_include_perfetto_trace_processor_storage",
16965 ":perfetto_include_perfetto_trace_processor_trace_processor",
Steven Terrell3137bbe2024-03-22 18:55:56 +000016966 ":perfetto_protos_perfetto_common_zero_gen",
Steven Terrell3137bbe2024-03-22 18:55:56 +000016967 ":perfetto_protos_perfetto_config_android_zero_gen",
Steven Terrell3137bbe2024-03-22 18:55:56 +000016968 ":perfetto_protos_perfetto_config_ftrace_zero_gen",
Steven Terrell3137bbe2024-03-22 18:55:56 +000016969 ":perfetto_protos_perfetto_config_gpu_zero_gen",
Steven Terrell3137bbe2024-03-22 18:55:56 +000016970 ":perfetto_protos_perfetto_config_inode_file_zero_gen",
Steven Terrell3137bbe2024-03-22 18:55:56 +000016971 ":perfetto_protos_perfetto_config_interceptors_zero_gen",
Steven Terrell3137bbe2024-03-22 18:55:56 +000016972 ":perfetto_protos_perfetto_config_power_zero_gen",
Steven Terrell3137bbe2024-03-22 18:55:56 +000016973 ":perfetto_protos_perfetto_config_process_stats_zero_gen",
Steven Terrell3137bbe2024-03-22 18:55:56 +000016974 ":perfetto_protos_perfetto_config_profiling_zero_gen",
Steven Terrell3137bbe2024-03-22 18:55:56 +000016975 ":perfetto_protos_perfetto_config_statsd_zero_gen",
Steven Terrell3137bbe2024-03-22 18:55:56 +000016976 ":perfetto_protos_perfetto_config_sys_stats_zero_gen",
Steven Terrell3137bbe2024-03-22 18:55:56 +000016977 ":perfetto_protos_perfetto_config_system_info_zero_gen",
Steven Terrell3137bbe2024-03-22 18:55:56 +000016978 ":perfetto_protos_perfetto_config_track_event_zero_gen",
16979 ":perfetto_protos_perfetto_config_zero_gen",
Kean Mariotti4ce4f042024-05-02 07:55:57 +000016980 ":perfetto_protos_perfetto_trace_android_winscope_common_zero_gen",
16981 ":perfetto_protos_perfetto_trace_android_winscope_regular_zero_gen",
Steven Terrell3137bbe2024-03-22 18:55:56 +000016982 ":perfetto_protos_perfetto_trace_android_zero_gen",
Steven Terrell3137bbe2024-03-22 18:55:56 +000016983 ":perfetto_protos_perfetto_trace_chrome_zero_gen",
Steven Terrell3137bbe2024-03-22 18:55:56 +000016984 ":perfetto_protos_perfetto_trace_etw_zero_gen",
Steven Terrell3137bbe2024-03-22 18:55:56 +000016985 ":perfetto_protos_perfetto_trace_filesystem_zero_gen",
Steven Terrell3137bbe2024-03-22 18:55:56 +000016986 ":perfetto_protos_perfetto_trace_ftrace_zero_gen",
Steven Terrell3137bbe2024-03-22 18:55:56 +000016987 ":perfetto_protos_perfetto_trace_gpu_zero_gen",
Steven Terrell3137bbe2024-03-22 18:55:56 +000016988 ":perfetto_protos_perfetto_trace_interned_data_zero_gen",
Steven Terrell3137bbe2024-03-22 18:55:56 +000016989 ":perfetto_protos_perfetto_trace_minimal_zero_gen",
Steven Terrell3137bbe2024-03-22 18:55:56 +000016990 ":perfetto_protos_perfetto_trace_non_minimal_zero_gen",
Steven Terrell3137bbe2024-03-22 18:55:56 +000016991 ":perfetto_protos_perfetto_trace_perfetto_zero_gen",
Steven Terrell3137bbe2024-03-22 18:55:56 +000016992 ":perfetto_protos_perfetto_trace_power_zero_gen",
16993 ":perfetto_protos_perfetto_trace_processor_zero_gen",
Steven Terrell3137bbe2024-03-22 18:55:56 +000016994 ":perfetto_protos_perfetto_trace_profiling_zero_gen",
Steven Terrell3137bbe2024-03-22 18:55:56 +000016995 ":perfetto_protos_perfetto_trace_ps_zero_gen",
Steven Terrell3137bbe2024-03-22 18:55:56 +000016996 ":perfetto_protos_perfetto_trace_statsd_zero_gen",
Steven Terrell3137bbe2024-03-22 18:55:56 +000016997 ":perfetto_protos_perfetto_trace_sys_stats_zero_gen",
Steven Terrell3137bbe2024-03-22 18:55:56 +000016998 ":perfetto_protos_perfetto_trace_system_info_zero_gen",
Steven Terrell3137bbe2024-03-22 18:55:56 +000016999 ":perfetto_protos_perfetto_trace_track_event_zero_gen",
Steven Terrell3137bbe2024-03-22 18:55:56 +000017000 ":perfetto_protos_perfetto_trace_translation_zero_gen",
17001 ":perfetto_src_base_base",
17002 ":perfetto_src_protozero_protozero",
17003 ":perfetto_src_trace_processor_containers_containers",
17004 ":perfetto_src_trace_processor_db_column_column",
Lalit Maganti3e31faf2024-05-23 18:04:23 +010017005 ":perfetto_src_trace_processor_db_compare",
Steven Terrell3137bbe2024-03-22 18:55:56 +000017006 ":perfetto_src_trace_processor_db_minimal",
Carlos Caballero0735e7e2024-07-12 11:01:43 +000017007 ":perfetto_src_trace_processor_importers_android_bugreport_android_log_event",
Lalit Magantifd975122024-10-07 16:23:47 +010017008 ":perfetto_src_trace_processor_importers_art_method_art_method_event",
Steven Terrell3137bbe2024-03-22 18:55:56 +000017009 ":perfetto_src_trace_processor_importers_common_common",
17010 ":perfetto_src_trace_processor_importers_common_parser_types",
17011 ":perfetto_src_trace_processor_importers_common_trace_parser_hdr",
Alex Attar3d0aae72024-04-16 14:40:30 -040017012 ":perfetto_src_trace_processor_importers_etw_minimal",
Steven Terrell3137bbe2024-03-22 18:55:56 +000017013 ":perfetto_src_trace_processor_importers_ftrace_minimal",
17014 ":perfetto_src_trace_processor_importers_fuchsia_fuchsia_record",
Lalit Maganti6713f7c2024-10-01 17:50:24 +010017015 ":perfetto_src_trace_processor_importers_gecko_gecko_event",
Leszek Swirskia621a8a2024-08-30 18:12:37 +020017016 ":perfetto_src_trace_processor_importers_instruments_row",
Steven Terrell3137bbe2024-03-22 18:55:56 +000017017 ":perfetto_src_trace_processor_importers_json_minimal",
17018 ":perfetto_src_trace_processor_importers_memory_tracker_graph_processor",
Carlos Caballero06f44282024-05-15 12:55:01 +000017019 ":perfetto_src_trace_processor_importers_perf_record",
Lalit Maganti0044e3c2024-10-09 14:27:37 +010017020 ":perfetto_src_trace_processor_importers_perf_text_perf_text_event",
17021 ":perfetto_src_trace_processor_importers_perf_text_perf_text_sample_line_parser",
Steven Terrell3137bbe2024-03-22 18:55:56 +000017022 ":perfetto_src_trace_processor_importers_proto_minimal",
17023 ":perfetto_src_trace_processor_importers_proto_packet_sequence_state_generation_hdr",
17024 ":perfetto_src_trace_processor_importers_proto_proto_importer_module",
17025 ":perfetto_src_trace_processor_importers_systrace_systrace_line",
17026 ":perfetto_src_trace_processor_metatrace",
17027 ":perfetto_src_trace_processor_sorter_sorter",
17028 ":perfetto_src_trace_processor_storage_minimal",
17029 ":perfetto_src_trace_processor_storage_storage",
17030 ":perfetto_src_trace_processor_tables_tables",
17031 ":perfetto_src_trace_processor_types_types",
17032 ":perfetto_src_trace_processor_util_build_id",
17033 ":perfetto_src_trace_processor_util_bump_allocator",
17034 ":perfetto_src_trace_processor_util_descriptors",
17035 ":perfetto_src_trace_processor_util_glob",
17036 ":perfetto_src_trace_processor_util_gzip",
17037 ":perfetto_src_trace_processor_util_interned_message_view",
17038 ":perfetto_src_trace_processor_util_profiler_util",
17039 ":perfetto_src_trace_processor_util_proto_to_args_parser",
17040 ":perfetto_src_trace_processor_util_protozero_to_text",
17041 ":perfetto_src_trace_processor_util_regex",
Lalit Maganti58b22cc2024-07-10 08:28:51 +010017042 ":perfetto_src_trace_processor_util_trace_blob_view_reader",
Carlos Caballero462d1ac2024-05-17 13:10:22 +000017043 ":perfetto_src_trace_processor_util_trace_type",
Steven Terrell3137bbe2024-03-22 18:55:56 +000017044 ":perfetto_src_trace_processor_util_util",
17045 ":perfetto_src_trace_redaction_trace_redaction",
17046 "src/trace_redaction/main.cc",
17047 ],
17048 shared_libs: [
17049 "liblog",
17050 "libz",
17051 ],
17052 generated_headers: [
Steven Terrell3137bbe2024-03-22 18:55:56 +000017053 "perfetto_protos_perfetto_common_zero_gen_headers",
Steven Terrell3137bbe2024-03-22 18:55:56 +000017054 "perfetto_protos_perfetto_config_android_zero_gen_headers",
Steven Terrell3137bbe2024-03-22 18:55:56 +000017055 "perfetto_protos_perfetto_config_ftrace_zero_gen_headers",
Steven Terrell3137bbe2024-03-22 18:55:56 +000017056 "perfetto_protos_perfetto_config_gpu_zero_gen_headers",
Steven Terrell3137bbe2024-03-22 18:55:56 +000017057 "perfetto_protos_perfetto_config_inode_file_zero_gen_headers",
Steven Terrell3137bbe2024-03-22 18:55:56 +000017058 "perfetto_protos_perfetto_config_interceptors_zero_gen_headers",
Steven Terrell3137bbe2024-03-22 18:55:56 +000017059 "perfetto_protos_perfetto_config_power_zero_gen_headers",
Steven Terrell3137bbe2024-03-22 18:55:56 +000017060 "perfetto_protos_perfetto_config_process_stats_zero_gen_headers",
Steven Terrell3137bbe2024-03-22 18:55:56 +000017061 "perfetto_protos_perfetto_config_profiling_zero_gen_headers",
Steven Terrell3137bbe2024-03-22 18:55:56 +000017062 "perfetto_protos_perfetto_config_statsd_zero_gen_headers",
Steven Terrell3137bbe2024-03-22 18:55:56 +000017063 "perfetto_protos_perfetto_config_sys_stats_zero_gen_headers",
Steven Terrell3137bbe2024-03-22 18:55:56 +000017064 "perfetto_protos_perfetto_config_system_info_zero_gen_headers",
Steven Terrell3137bbe2024-03-22 18:55:56 +000017065 "perfetto_protos_perfetto_config_track_event_zero_gen_headers",
17066 "perfetto_protos_perfetto_config_zero_gen_headers",
Kean Mariotti4ce4f042024-05-02 07:55:57 +000017067 "perfetto_protos_perfetto_trace_android_winscope_common_zero_gen_headers",
17068 "perfetto_protos_perfetto_trace_android_winscope_regular_zero_gen_headers",
Steven Terrell3137bbe2024-03-22 18:55:56 +000017069 "perfetto_protos_perfetto_trace_android_zero_gen_headers",
Steven Terrell3137bbe2024-03-22 18:55:56 +000017070 "perfetto_protos_perfetto_trace_chrome_zero_gen_headers",
Steven Terrell3137bbe2024-03-22 18:55:56 +000017071 "perfetto_protos_perfetto_trace_etw_zero_gen_headers",
Steven Terrell3137bbe2024-03-22 18:55:56 +000017072 "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers",
Steven Terrell3137bbe2024-03-22 18:55:56 +000017073 "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers",
Steven Terrell3137bbe2024-03-22 18:55:56 +000017074 "perfetto_protos_perfetto_trace_gpu_zero_gen_headers",
Steven Terrell3137bbe2024-03-22 18:55:56 +000017075 "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers",
Steven Terrell3137bbe2024-03-22 18:55:56 +000017076 "perfetto_protos_perfetto_trace_minimal_zero_gen_headers",
Steven Terrell3137bbe2024-03-22 18:55:56 +000017077 "perfetto_protos_perfetto_trace_non_minimal_zero_gen_headers",
Steven Terrell3137bbe2024-03-22 18:55:56 +000017078 "perfetto_protos_perfetto_trace_perfetto_zero_gen_headers",
Steven Terrell3137bbe2024-03-22 18:55:56 +000017079 "perfetto_protos_perfetto_trace_power_zero_gen_headers",
17080 "perfetto_protos_perfetto_trace_processor_zero_gen_headers",
Steven Terrell3137bbe2024-03-22 18:55:56 +000017081 "perfetto_protos_perfetto_trace_profiling_zero_gen_headers",
Steven Terrell3137bbe2024-03-22 18:55:56 +000017082 "perfetto_protos_perfetto_trace_ps_zero_gen_headers",
Steven Terrell3137bbe2024-03-22 18:55:56 +000017083 "perfetto_protos_perfetto_trace_statsd_zero_gen_headers",
Steven Terrell3137bbe2024-03-22 18:55:56 +000017084 "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers",
Steven Terrell3137bbe2024-03-22 18:55:56 +000017085 "perfetto_protos_perfetto_trace_system_info_zero_gen_headers",
Steven Terrell3137bbe2024-03-22 18:55:56 +000017086 "perfetto_protos_perfetto_trace_track_event_zero_gen_headers",
Steven Terrell3137bbe2024-03-22 18:55:56 +000017087 "perfetto_protos_perfetto_trace_translation_zero_gen_headers",
Daniele Di Proietto3a4b48a2024-06-27 11:46:04 +000017088 "perfetto_src_trace_processor_importers_proto_gen_cc_android_track_event_descriptor",
Steven Terrell3137bbe2024-03-22 18:55:56 +000017089 "perfetto_src_trace_processor_importers_proto_gen_cc_chrome_track_event_descriptor",
17090 "perfetto_src_trace_processor_importers_proto_gen_cc_track_event_descriptor",
17091 "perfetto_src_trace_processor_tables_tables_python",
17092 ],
17093 defaults: [
17094 "perfetto_defaults",
17095 ],
17096 cflags: [
17097 "-DZLIB_IMPLEMENTATION",
17098 ],
Yisroel Forta1554c9d2024-11-15 11:39:33 +000017099 apex_available: [
17100 "//apex_available:platform",
17101 "com.android.profiling",
17102 ],
17103 min_sdk_version: "35",
Steven Terrell3137bbe2024-03-22 18:55:56 +000017104}
17105
Hector Dearmana9545e52022-05-17 12:23:25 +010017106// GN: //src/traceconv:traceconv
Primiano Tucci21c19d82018-03-29 12:35:08 +010017107cc_binary_host {
Hector Dearmana9545e52022-05-17 12:23:25 +010017108 name: "traceconv",
Colin Cross84172332021-09-14 16:41:33 -070017109 srcs: [
Lalit Maganti52f13362023-01-23 16:38:01 +000017110 ":perfetto_base_default_platform",
Colin Cross84172332021-09-14 16:41:33 -070017111 ":perfetto_include_perfetto_base_base",
17112 ":perfetto_include_perfetto_ext_base_base",
Daniele Di Proietto15b801e2022-06-30 12:56:13 +010017113 ":perfetto_include_perfetto_ext_base_version",
Lalit Magantifd92a952024-02-28 11:58:53 +000017114 ":perfetto_include_perfetto_ext_protozero_protozero",
Carlos Caballero Grolimund8a495a72022-09-05 09:29:09 +000017115 ":perfetto_include_perfetto_ext_trace_processor_demangle",
Colin Cross84172332021-09-14 16:41:33 -070017116 ":perfetto_include_perfetto_ext_trace_processor_export_json",
17117 ":perfetto_include_perfetto_ext_trace_processor_importers_memory_tracker_memory_tracker",
17118 ":perfetto_include_perfetto_ext_traced_sys_stats_counters",
17119 ":perfetto_include_perfetto_profiling_pprof_builder",
17120 ":perfetto_include_perfetto_protozero_protozero",
Daniele Di Proietto8b46d692022-04-22 15:59:40 +010017121 ":perfetto_include_perfetto_public_abi_base",
Leszek Swirskia621a8a2024-08-30 18:12:37 +020017122 ":perfetto_include_perfetto_public_abi_public",
Daniele Di Proietto8b46d692022-04-22 15:59:40 +010017123 ":perfetto_include_perfetto_public_base",
Leszek Swirskia621a8a2024-08-30 18:12:37 +020017124 ":perfetto_include_perfetto_public_protos_protos",
Daniele Di Proietto7451ea62023-01-09 11:31:16 +000017125 ":perfetto_include_perfetto_public_protozero",
Leszek Swirskia621a8a2024-08-30 18:12:37 +020017126 ":perfetto_include_perfetto_public_public",
Colin Cross84172332021-09-14 16:41:33 -070017127 ":perfetto_include_perfetto_trace_processor_basic_types",
17128 ":perfetto_include_perfetto_trace_processor_storage",
17129 ":perfetto_include_perfetto_trace_processor_trace_processor",
17130 ":perfetto_protos_perfetto_common_zero_gen",
17131 ":perfetto_protos_perfetto_config_android_zero_gen",
17132 ":perfetto_protos_perfetto_config_ftrace_zero_gen",
17133 ":perfetto_protos_perfetto_config_gpu_zero_gen",
17134 ":perfetto_protos_perfetto_config_inode_file_zero_gen",
17135 ":perfetto_protos_perfetto_config_interceptors_zero_gen",
17136 ":perfetto_protos_perfetto_config_power_zero_gen",
17137 ":perfetto_protos_perfetto_config_process_stats_zero_gen",
17138 ":perfetto_protos_perfetto_config_profiling_zero_gen",
Hector Dearman5974de02022-06-23 15:31:40 +010017139 ":perfetto_protos_perfetto_config_statsd_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -070017140 ":perfetto_protos_perfetto_config_sys_stats_zero_gen",
Hector Dearman48047d12022-08-02 14:00:46 +010017141 ":perfetto_protos_perfetto_config_system_info_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -070017142 ":perfetto_protos_perfetto_config_track_event_zero_gen",
17143 ":perfetto_protos_perfetto_config_zero_gen",
Kean Mariotti4ce4f042024-05-02 07:55:57 +000017144 ":perfetto_protos_perfetto_trace_android_winscope_common_zero_gen",
17145 ":perfetto_protos_perfetto_trace_android_winscope_extensions_zero_gen",
17146 ":perfetto_protos_perfetto_trace_android_winscope_regular_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -070017147 ":perfetto_protos_perfetto_trace_android_zero_gen",
17148 ":perfetto_protos_perfetto_trace_chrome_zero_gen",
Alex Attar3cacb1d2023-10-10 13:13:25 -040017149 ":perfetto_protos_perfetto_trace_etw_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -070017150 ":perfetto_protos_perfetto_trace_filesystem_zero_gen",
17151 ":perfetto_protos_perfetto_trace_ftrace_zero_gen",
17152 ":perfetto_protos_perfetto_trace_gpu_zero_gen",
17153 ":perfetto_protos_perfetto_trace_interned_data_zero_gen",
17154 ":perfetto_protos_perfetto_trace_minimal_zero_gen",
17155 ":perfetto_protos_perfetto_trace_non_minimal_zero_gen",
17156 ":perfetto_protos_perfetto_trace_perfetto_zero_gen",
17157 ":perfetto_protos_perfetto_trace_power_zero_gen",
17158 ":perfetto_protos_perfetto_trace_processor_metrics_impl_zero_gen",
17159 ":perfetto_protos_perfetto_trace_processor_zero_gen",
17160 ":perfetto_protos_perfetto_trace_profiling_zero_gen",
17161 ":perfetto_protos_perfetto_trace_ps_zero_gen",
Hector Dearman5974de02022-06-23 15:31:40 +010017162 ":perfetto_protos_perfetto_trace_statsd_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -070017163 ":perfetto_protos_perfetto_trace_sys_stats_zero_gen",
17164 ":perfetto_protos_perfetto_trace_system_info_zero_gen",
17165 ":perfetto_protos_perfetto_trace_track_event_zero_gen",
Igor Kraskevich49b42882022-03-21 13:03:02 +000017166 ":perfetto_protos_perfetto_trace_translation_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -070017167 ":perfetto_protos_third_party_pprof_zero_gen",
Carlos Caballero7068d202024-05-22 23:33:31 +000017168 ":perfetto_protos_third_party_simpleperf_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -070017169 ":perfetto_src_base_base",
Lalit Maganti1e7aef12024-10-13 14:19:09 +010017170 ":perfetto_src_base_clock_snapshots",
Daniele Di Proietto15b801e2022-06-30 12:56:13 +010017171 ":perfetto_src_base_version",
Ryan Zuklieec18eb32022-07-25 15:51:59 -070017172 ":perfetto_src_kernel_utils_syscall_table",
Colin Cross84172332021-09-14 16:41:33 -070017173 ":perfetto_src_profiling_deobfuscator",
17174 ":perfetto_src_profiling_symbolizer_symbolize_database",
17175 ":perfetto_src_profiling_symbolizer_symbolizer",
17176 ":perfetto_src_protozero_proto_ring_buffer",
17177 ":perfetto_src_protozero_protozero",
Colin Cross84172332021-09-14 16:41:33 -070017178 ":perfetto_src_trace_processor_containers_containers",
Anna Mayzner9d4f6cf2024-01-05 07:41:14 +000017179 ":perfetto_src_trace_processor_db_column_column",
Lalit Maganti3e31faf2024-05-23 18:04:23 +010017180 ":perfetto_src_trace_processor_db_compare",
Colin Cross84172332021-09-14 16:41:33 -070017181 ":perfetto_src_trace_processor_db_db",
Lalit Maganti202b26b2024-02-13 15:39:45 +000017182 ":perfetto_src_trace_processor_db_minimal",
Lalit Magantie459edf2024-02-16 15:39:30 +000017183 ":perfetto_src_trace_processor_export_json",
Primiano Tuccic9d912e2022-07-28 23:30:11 +010017184 ":perfetto_src_trace_processor_importers_android_bugreport_android_bugreport",
Carlos Caballero0735e7e2024-07-12 11:01:43 +000017185 ":perfetto_src_trace_processor_importers_android_bugreport_android_log_event",
Carlos Caballero57d05dc2024-10-14 12:05:54 +000017186 ":perfetto_src_trace_processor_importers_archive_archive",
Lalit Magantifd975122024-10-07 16:23:47 +010017187 ":perfetto_src_trace_processor_importers_art_method_art_method",
17188 ":perfetto_src_trace_processor_importers_art_method_art_method_event",
Colin Cross84172332021-09-14 16:41:33 -070017189 ":perfetto_src_trace_processor_importers_common_common",
Lalit Magantieb2645a2022-11-25 15:49:35 +000017190 ":perfetto_src_trace_processor_importers_common_parser_types",
17191 ":perfetto_src_trace_processor_importers_common_trace_parser_hdr",
Alex Attar9cc5ef22024-01-30 13:26:17 -050017192 ":perfetto_src_trace_processor_importers_etw_full",
Alex Attar3d0aae72024-04-16 14:40:30 -040017193 ":perfetto_src_trace_processor_importers_etw_minimal",
Lalit Magantib9a5b432022-12-01 16:13:11 +000017194 ":perfetto_src_trace_processor_importers_ftrace_ftrace_descriptors",
17195 ":perfetto_src_trace_processor_importers_ftrace_full",
17196 ":perfetto_src_trace_processor_importers_ftrace_minimal",
Lalit Magantife2519b2022-11-24 21:12:05 +000017197 ":perfetto_src_trace_processor_importers_fuchsia_fuchsia_record",
Lalit Magantiecf23662022-12-02 18:34:37 +000017198 ":perfetto_src_trace_processor_importers_fuchsia_full",
17199 ":perfetto_src_trace_processor_importers_fuchsia_minimal",
Lalit Maganti6713f7c2024-10-01 17:50:24 +010017200 ":perfetto_src_trace_processor_importers_gecko_gecko_event",
Lalit Magantib9a5b432022-12-01 16:13:11 +000017201 ":perfetto_src_trace_processor_importers_i2c_full",
Leszek Swirskia621a8a2024-08-30 18:12:37 +020017202 ":perfetto_src_trace_processor_importers_instruments_instruments",
17203 ":perfetto_src_trace_processor_importers_instruments_row",
Lalit Magantib9a5b432022-12-01 16:13:11 +000017204 ":perfetto_src_trace_processor_importers_json_minimal",
Colin Cross84172332021-09-14 16:41:33 -070017205 ":perfetto_src_trace_processor_importers_memory_tracker_graph_processor",
Lalit Maganti1bfdccc2022-11-28 21:19:35 +000017206 ":perfetto_src_trace_processor_importers_ninja_ninja",
Anna Mayzner5dbfc2d2023-10-26 10:42:53 +000017207 ":perfetto_src_trace_processor_importers_perf_perf",
Carlos Caballero3c1d6592024-05-13 10:22:49 +000017208 ":perfetto_src_trace_processor_importers_perf_record",
Lalit Maganti0044e3c2024-10-09 14:27:37 +010017209 ":perfetto_src_trace_processor_importers_perf_text_perf_text",
17210 ":perfetto_src_trace_processor_importers_perf_text_perf_text_event",
17211 ":perfetto_src_trace_processor_importers_perf_text_perf_text_sample_line_parser",
Lalit Magantib7ad13b2022-11-25 15:55:38 +000017212 ":perfetto_src_trace_processor_importers_proto_full",
17213 ":perfetto_src_trace_processor_importers_proto_minimal",
Lalit Magantiba07dcf2022-11-25 13:58:09 +000017214 ":perfetto_src_trace_processor_importers_proto_packet_sequence_state_generation_hdr",
Lalit Magantib9a5b432022-12-01 16:13:11 +000017215 ":perfetto_src_trace_processor_importers_proto_proto_importer_module",
Kean Mariotti248eebf2023-06-12 09:55:43 +000017216 ":perfetto_src_trace_processor_importers_proto_winscope_full",
Lalit Magantib9a5b432022-12-01 16:13:11 +000017217 ":perfetto_src_trace_processor_importers_syscalls_full",
Lalit Magantiecf23662022-12-02 18:34:37 +000017218 ":perfetto_src_trace_processor_importers_systrace_full",
Lalit Magantife2519b2022-11-24 21:12:05 +000017219 ":perfetto_src_trace_processor_importers_systrace_systrace_line",
Lalit Magantib9a5b432022-12-01 16:13:11 +000017220 ":perfetto_src_trace_processor_importers_systrace_systrace_parser",
Colin Cross84172332021-09-14 16:41:33 -070017221 ":perfetto_src_trace_processor_lib",
17222 ":perfetto_src_trace_processor_metatrace",
Lalit Maganti4c328e32021-11-09 19:29:50 +000017223 ":perfetto_src_trace_processor_metrics_metrics",
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010017224 ":perfetto_src_trace_processor_perfetto_sql_engine_engine",
Lalit Maganti8ca73542024-09-17 03:10:35 +010017225 ":perfetto_src_trace_processor_perfetto_sql_grammar_grammar",
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010017226 ":perfetto_src_trace_processor_perfetto_sql_intrinsics_functions_functions",
17227 ":perfetto_src_trace_processor_perfetto_sql_intrinsics_functions_interface",
17228 ":perfetto_src_trace_processor_perfetto_sql_intrinsics_operators_operators",
17229 ":perfetto_src_trace_processor_perfetto_sql_intrinsics_table_functions_interface",
17230 ":perfetto_src_trace_processor_perfetto_sql_intrinsics_table_functions_table_functions",
Lalit Magantia135a082024-06-17 12:05:29 +010017231 ":perfetto_src_trace_processor_perfetto_sql_intrinsics_types_types",
Lalit Magantia85f0752024-09-13 14:42:20 +010017232 ":perfetto_src_trace_processor_perfetto_sql_parser_parser",
Lalit Magantifcae3762024-09-13 14:38:10 +010017233 ":perfetto_src_trace_processor_perfetto_sql_preprocessor_grammar",
Lalit Maganti9b8abc22024-09-13 12:00:20 +010017234 ":perfetto_src_trace_processor_perfetto_sql_preprocessor_preprocessor",
Lalit Maganti8ca73542024-09-17 03:10:35 +010017235 ":perfetto_src_trace_processor_perfetto_sql_tokenizer_tokenize_internal",
Lalit Maganti870964a2024-09-13 17:27:26 +010017236 ":perfetto_src_trace_processor_perfetto_sql_tokenizer_tokenizer",
Lalit Maganti1e7a5bb2022-11-25 15:50:43 +000017237 ":perfetto_src_trace_processor_sorter_sorter",
Lalit Magantib7f8a072024-03-25 13:40:56 +000017238 ":perfetto_src_trace_processor_sqlite_bindings_bindings",
Colin Cross84172332021-09-14 16:41:33 -070017239 ":perfetto_src_trace_processor_sqlite_sqlite",
Colin Cross84172332021-09-14 16:41:33 -070017240 ":perfetto_src_trace_processor_storage_minimal",
17241 ":perfetto_src_trace_processor_storage_storage",
17242 ":perfetto_src_trace_processor_tables_tables",
17243 ":perfetto_src_trace_processor_types_types",
Carlos Caballero2f9ecd12024-03-04 17:56:06 +000017244 ":perfetto_src_trace_processor_util_build_id",
Lalit Magantiffaed7a2023-02-21 16:02:04 +000017245 ":perfetto_src_trace_processor_util_bump_allocator",
Colin Cross84172332021-09-14 16:41:33 -070017246 ":perfetto_src_trace_processor_util_descriptors",
Lalit Maganti83ddffe2022-10-18 17:47:44 +010017247 ":perfetto_src_trace_processor_util_glob",
Colin Cross84172332021-09-14 16:41:33 -070017248 ":perfetto_src_trace_processor_util_gzip",
17249 ":perfetto_src_trace_processor_util_interned_message_view",
Carlos Caballero Grolimund8a495a72022-09-05 09:29:09 +000017250 ":perfetto_src_trace_processor_util_profile_builder",
Carlos Caballero5903e022024-02-19 19:25:17 +000017251 ":perfetto_src_trace_processor_util_profiler_util",
Igor Kraskevich3da925d2022-08-22 12:02:30 +000017252 ":perfetto_src_trace_processor_util_proto_profiler",
Colin Cross84172332021-09-14 16:41:33 -070017253 ":perfetto_src_trace_processor_util_proto_to_args_parser",
Hector Dearmanc6cbdc52023-07-11 22:29:37 +010017254 ":perfetto_src_trace_processor_util_protozero_to_json",
Colin Cross84172332021-09-14 16:41:33 -070017255 ":perfetto_src_trace_processor_util_protozero_to_text",
Anna Mayznerb1146632023-07-05 14:14:25 +000017256 ":perfetto_src_trace_processor_util_regex",
Lalit Magantiea630542022-11-21 19:35:02 +000017257 ":perfetto_src_trace_processor_util_sql_argument",
Anna Mayzner5980c712022-11-24 15:09:11 +000017258 ":perfetto_src_trace_processor_util_stdlib",
Lalit Maganti58b22cc2024-07-10 08:28:51 +010017259 ":perfetto_src_trace_processor_util_trace_blob_view_reader",
Carlos Caballero462d1ac2024-05-17 13:10:22 +000017260 ":perfetto_src_trace_processor_util_trace_type",
Colin Cross84172332021-09-14 16:41:33 -070017261 ":perfetto_src_trace_processor_util_util",
Priyankaf1e96e32024-11-06 20:45:54 +000017262 ":perfetto_src_trace_processor_util_winscope_proto_mapping",
Primiano Tuccic9d912e2022-07-28 23:30:11 +010017263 ":perfetto_src_trace_processor_util_zip_reader",
Hector Dearmana9545e52022-05-17 12:23:25 +010017264 ":perfetto_src_traceconv_lib",
17265 ":perfetto_src_traceconv_main",
17266 ":perfetto_src_traceconv_pprofbuilder",
17267 ":perfetto_src_traceconv_utils",
Colin Cross84172332021-09-14 16:41:33 -070017268 ],
17269 static_libs: [
Leszek Swirskia621a8a2024-08-30 18:12:37 +020017270 "libexpat",
Michael Hoisie3e193512023-11-18 08:13:49 +000017271 "libsqlite_static_noicu",
Colin Cross84172332021-09-14 16:41:33 -070017272 "libz",
Ryan Savitskie65c4052022-03-24 18:22:19 +000017273 "perfetto_src_trace_processor_demangle",
Marcin Oczeretko1662f182022-08-18 10:29:46 +010017274 "sqlite_ext_percentile",
Colin Cross84172332021-09-14 16:41:33 -070017275 ],
17276 generated_headers: [
17277 "perfetto_protos_perfetto_common_zero_gen_headers",
17278 "perfetto_protos_perfetto_config_android_zero_gen_headers",
17279 "perfetto_protos_perfetto_config_ftrace_zero_gen_headers",
17280 "perfetto_protos_perfetto_config_gpu_zero_gen_headers",
17281 "perfetto_protos_perfetto_config_inode_file_zero_gen_headers",
17282 "perfetto_protos_perfetto_config_interceptors_zero_gen_headers",
17283 "perfetto_protos_perfetto_config_power_zero_gen_headers",
17284 "perfetto_protos_perfetto_config_process_stats_zero_gen_headers",
17285 "perfetto_protos_perfetto_config_profiling_zero_gen_headers",
Hector Dearman5974de02022-06-23 15:31:40 +010017286 "perfetto_protos_perfetto_config_statsd_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -070017287 "perfetto_protos_perfetto_config_sys_stats_zero_gen_headers",
Hector Dearman48047d12022-08-02 14:00:46 +010017288 "perfetto_protos_perfetto_config_system_info_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -070017289 "perfetto_protos_perfetto_config_track_event_zero_gen_headers",
17290 "perfetto_protos_perfetto_config_zero_gen_headers",
Kean Mariotti4ce4f042024-05-02 07:55:57 +000017291 "perfetto_protos_perfetto_trace_android_winscope_common_zero_gen_headers",
17292 "perfetto_protos_perfetto_trace_android_winscope_extensions_zero_gen_headers",
17293 "perfetto_protos_perfetto_trace_android_winscope_regular_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -070017294 "perfetto_protos_perfetto_trace_android_zero_gen_headers",
17295 "perfetto_protos_perfetto_trace_chrome_zero_gen_headers",
Alex Attar3cacb1d2023-10-10 13:13:25 -040017296 "perfetto_protos_perfetto_trace_etw_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -070017297 "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers",
17298 "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers",
17299 "perfetto_protos_perfetto_trace_gpu_zero_gen_headers",
17300 "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers",
17301 "perfetto_protos_perfetto_trace_minimal_zero_gen_headers",
17302 "perfetto_protos_perfetto_trace_non_minimal_zero_gen_headers",
17303 "perfetto_protos_perfetto_trace_perfetto_zero_gen_headers",
17304 "perfetto_protos_perfetto_trace_power_zero_gen_headers",
17305 "perfetto_protos_perfetto_trace_processor_metrics_impl_zero_gen_headers",
17306 "perfetto_protos_perfetto_trace_processor_zero_gen_headers",
17307 "perfetto_protos_perfetto_trace_profiling_zero_gen_headers",
17308 "perfetto_protos_perfetto_trace_ps_zero_gen_headers",
Hector Dearman5974de02022-06-23 15:31:40 +010017309 "perfetto_protos_perfetto_trace_statsd_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -070017310 "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers",
17311 "perfetto_protos_perfetto_trace_system_info_zero_gen_headers",
17312 "perfetto_protos_perfetto_trace_track_event_zero_gen_headers",
Igor Kraskevich49b42882022-03-21 13:03:02 +000017313 "perfetto_protos_perfetto_trace_translation_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -070017314 "perfetto_protos_third_party_pprof_zero_gen_headers",
Carlos Caballero7068d202024-05-22 23:33:31 +000017315 "perfetto_protos_third_party_simpleperf_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -070017316 "perfetto_src_base_version_gen_h",
Daniele Di Proietto3a4b48a2024-06-27 11:46:04 +000017317 "perfetto_src_trace_processor_importers_proto_gen_cc_android_track_event_descriptor",
Lalit Magantiecf23662022-12-02 18:34:37 +000017318 "perfetto_src_trace_processor_importers_proto_gen_cc_chrome_track_event_descriptor",
17319 "perfetto_src_trace_processor_importers_proto_gen_cc_config_descriptor",
Lalit Magantib7ad13b2022-11-25 15:55:38 +000017320 "perfetto_src_trace_processor_importers_proto_gen_cc_statsd_atoms_descriptor",
Lalit Magantib9a5b432022-12-01 16:13:11 +000017321 "perfetto_src_trace_processor_importers_proto_gen_cc_trace_descriptor",
Lalit Magantiecf23662022-12-02 18:34:37 +000017322 "perfetto_src_trace_processor_importers_proto_gen_cc_track_event_descriptor",
Kean Mariotti248eebf2023-06-12 09:55:43 +000017323 "perfetto_src_trace_processor_importers_proto_winscope_gen_cc_winscope_descriptor",
Colin Cross84172332021-09-14 16:41:33 -070017324 "perfetto_src_trace_processor_metrics_gen_cc_all_chrome_metrics_descriptor",
Oksana Zhuravlova62ef13f2023-04-20 14:19:17 +000017325 "perfetto_src_trace_processor_metrics_gen_cc_all_webview_metrics_descriptor",
Colin Cross84172332021-09-14 16:41:33 -070017326 "perfetto_src_trace_processor_metrics_gen_cc_metrics_descriptor",
Lalit Maganti4c328e32021-11-09 19:29:50 +000017327 "perfetto_src_trace_processor_metrics_sql_gen_amalgamated_sql_metrics",
Lalit Magantiaa66b342024-04-02 16:20:50 +010017328 "perfetto_src_trace_processor_perfetto_sql_intrinsics_functions_tables",
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010017329 "perfetto_src_trace_processor_perfetto_sql_intrinsics_table_functions_tables",
Lalit Maganti6e0c50c2023-06-22 18:13:58 +010017330 "perfetto_src_trace_processor_perfetto_sql_stdlib_stdlib",
Lalit Maganti3dc8e302022-12-01 20:32:46 +000017331 "perfetto_src_trace_processor_tables_tables_python",
Hector Dearmana9545e52022-05-17 12:23:25 +010017332 "perfetto_src_traceconv_gen_cc_trace_descriptor",
Daniele Di Proietto6bdf69c2024-04-24 14:07:24 +000017333 "perfetto_src_traceconv_gen_cc_winscope_descriptor",
Colin Cross84172332021-09-14 16:41:33 -070017334 ],
17335 defaults: [
17336 "perfetto_defaults",
17337 ],
17338 cflags: [
Lalit Magantifa957e72023-03-16 18:22:23 +000017339 "-DZLIB_IMPLEMENTATION",
Colin Cross84172332021-09-14 16:41:33 -070017340 ],
Daniele Di Proiettocb426002023-02-16 12:14:38 +000017341 target: {
17342 musl: {
17343 static_libs: [
17344 "libfts",
17345 ],
17346 },
17347 },
Primiano Tucci21c19d82018-03-29 12:35:08 +010017348}
17349
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010017350// GN: //src/traced/service:traced
Primiano Tucci4e49c022017-12-21 18:22:44 +010017351cc_binary {
Colin Cross84172332021-09-14 16:41:33 -070017352 name: "traced",
17353 srcs: [
17354 ":perfetto_include_perfetto_ext_traced_traced",
17355 "src/traced/service/main.cc",
17356 ],
17357 shared_libs: [
Colin Cross84172332021-09-14 16:41:33 -070017358 "libperfetto",
17359 ],
A. Cody Schuffelenbf636942023-05-17 18:34:33 -070017360 host_supported: true,
Colin Cross84172332021-09-14 16:41:33 -070017361 init_rc: [
17362 "perfetto.rc",
17363 ],
17364 defaults: [
17365 "perfetto_defaults",
17366 ],
A. Cody Schuffelenbf636942023-05-17 18:34:33 -070017367 target: {
17368 android: {
17369 shared_libs: [
17370 "liblog",
17371 ],
17372 },
17373 },
Primiano Tucci6067e732018-01-08 16:19:40 +000017374}
17375
Ryan Savitski462b5db2019-11-20 19:06:46 +000017376// GN: //src/profiling/perf:traced_perf
17377cc_binary {
Colin Cross84172332021-09-14 16:41:33 -070017378 name: "traced_perf",
17379 srcs: [
Lalit Maganti52f13362023-01-23 16:38:01 +000017380 ":perfetto_base_default_platform",
Colin Cross84172332021-09-14 16:41:33 -070017381 ":perfetto_include_perfetto_base_base",
17382 ":perfetto_include_perfetto_ext_base_base",
Daniele Di Proietto15b801e2022-06-30 12:56:13 +010017383 ":perfetto_include_perfetto_ext_base_version",
Colin Cross84172332021-09-14 16:41:33 -070017384 ":perfetto_include_perfetto_ext_ipc_ipc",
17385 ":perfetto_include_perfetto_ext_tracing_core_core",
17386 ":perfetto_include_perfetto_ext_tracing_ipc_ipc",
Colin Cross84172332021-09-14 16:41:33 -070017387 ":perfetto_include_perfetto_protozero_protozero",
Daniele Di Proietto8b46d692022-04-22 15:59:40 +010017388 ":perfetto_include_perfetto_public_abi_base",
17389 ":perfetto_include_perfetto_public_base",
Daniele Di Proietto7451ea62023-01-09 11:31:16 +000017390 ":perfetto_include_perfetto_public_protozero",
Colin Cross84172332021-09-14 16:41:33 -070017391 ":perfetto_include_perfetto_tracing_core_core",
17392 ":perfetto_include_perfetto_tracing_core_forward_decls",
17393 ":perfetto_include_perfetto_tracing_tracing",
17394 ":perfetto_protos_perfetto_common_cpp_gen",
17395 ":perfetto_protos_perfetto_common_zero_gen",
17396 ":perfetto_protos_perfetto_config_android_cpp_gen",
17397 ":perfetto_protos_perfetto_config_android_zero_gen",
17398 ":perfetto_protos_perfetto_config_cpp_gen",
17399 ":perfetto_protos_perfetto_config_ftrace_cpp_gen",
17400 ":perfetto_protos_perfetto_config_ftrace_zero_gen",
17401 ":perfetto_protos_perfetto_config_gpu_cpp_gen",
17402 ":perfetto_protos_perfetto_config_gpu_zero_gen",
17403 ":perfetto_protos_perfetto_config_inode_file_cpp_gen",
17404 ":perfetto_protos_perfetto_config_inode_file_zero_gen",
17405 ":perfetto_protos_perfetto_config_interceptors_cpp_gen",
17406 ":perfetto_protos_perfetto_config_interceptors_zero_gen",
17407 ":perfetto_protos_perfetto_config_power_cpp_gen",
17408 ":perfetto_protos_perfetto_config_power_zero_gen",
17409 ":perfetto_protos_perfetto_config_process_stats_cpp_gen",
17410 ":perfetto_protos_perfetto_config_process_stats_zero_gen",
17411 ":perfetto_protos_perfetto_config_profiling_cpp_gen",
17412 ":perfetto_protos_perfetto_config_profiling_zero_gen",
Hector Dearman5974de02022-06-23 15:31:40 +010017413 ":perfetto_protos_perfetto_config_statsd_cpp_gen",
17414 ":perfetto_protos_perfetto_config_statsd_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -070017415 ":perfetto_protos_perfetto_config_sys_stats_cpp_gen",
17416 ":perfetto_protos_perfetto_config_sys_stats_zero_gen",
Hector Dearman48047d12022-08-02 14:00:46 +010017417 ":perfetto_protos_perfetto_config_system_info_cpp_gen",
17418 ":perfetto_protos_perfetto_config_system_info_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -070017419 ":perfetto_protos_perfetto_config_track_event_cpp_gen",
17420 ":perfetto_protos_perfetto_config_track_event_zero_gen",
17421 ":perfetto_protos_perfetto_config_zero_gen",
17422 ":perfetto_protos_perfetto_ipc_cpp_gen",
17423 ":perfetto_protos_perfetto_ipc_ipc_gen",
17424 ":perfetto_protos_perfetto_ipc_wire_protocol_cpp_gen",
Kean Mariotti4ce4f042024-05-02 07:55:57 +000017425 ":perfetto_protos_perfetto_trace_android_winscope_common_zero_gen",
17426 ":perfetto_protos_perfetto_trace_android_winscope_regular_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -070017427 ":perfetto_protos_perfetto_trace_android_zero_gen",
17428 ":perfetto_protos_perfetto_trace_chrome_zero_gen",
Alex Attar3cacb1d2023-10-10 13:13:25 -040017429 ":perfetto_protos_perfetto_trace_etw_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -070017430 ":perfetto_protos_perfetto_trace_filesystem_zero_gen",
17431 ":perfetto_protos_perfetto_trace_ftrace_zero_gen",
17432 ":perfetto_protos_perfetto_trace_gpu_zero_gen",
17433 ":perfetto_protos_perfetto_trace_interned_data_zero_gen",
17434 ":perfetto_protos_perfetto_trace_minimal_zero_gen",
17435 ":perfetto_protos_perfetto_trace_non_minimal_zero_gen",
17436 ":perfetto_protos_perfetto_trace_perfetto_zero_gen",
17437 ":perfetto_protos_perfetto_trace_power_zero_gen",
17438 ":perfetto_protos_perfetto_trace_profiling_zero_gen",
17439 ":perfetto_protos_perfetto_trace_ps_zero_gen",
Hector Dearman5974de02022-06-23 15:31:40 +010017440 ":perfetto_protos_perfetto_trace_statsd_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -070017441 ":perfetto_protos_perfetto_trace_sys_stats_zero_gen",
17442 ":perfetto_protos_perfetto_trace_system_info_zero_gen",
17443 ":perfetto_protos_perfetto_trace_track_event_cpp_gen",
17444 ":perfetto_protos_perfetto_trace_track_event_zero_gen",
Igor Kraskevich49b42882022-03-21 13:03:02 +000017445 ":perfetto_protos_perfetto_trace_translation_zero_gen",
Colin Cross84172332021-09-14 16:41:33 -070017446 ":perfetto_src_android_internal_headers",
17447 ":perfetto_src_android_internal_lazy_library_loader",
17448 ":perfetto_src_android_stats_android_stats",
17449 ":perfetto_src_android_stats_perfetto_atoms",
17450 ":perfetto_src_base_base",
Lalit Maganti1e7aef12024-10-13 14:19:09 +010017451 ":perfetto_src_base_clock_snapshots",
Colin Cross84172332021-09-14 16:41:33 -070017452 ":perfetto_src_base_unix_socket",
Daniele Di Proietto15b801e2022-06-30 12:56:13 +010017453 ":perfetto_src_base_version",
Colin Cross84172332021-09-14 16:41:33 -070017454 ":perfetto_src_ipc_client",
17455 ":perfetto_src_ipc_common",
17456 ":perfetto_src_kallsyms_kallsyms",
17457 ":perfetto_src_profiling_common_callstack_trie",
17458 ":perfetto_src_profiling_common_interner",
17459 ":perfetto_src_profiling_common_interning_output",
Ryan Savitski01f4ad72022-04-04 13:17:29 +010017460 ":perfetto_src_profiling_common_proc_cmdline",
Colin Cross84172332021-09-14 16:41:33 -070017461 ":perfetto_src_profiling_common_proc_utils",
17462 ":perfetto_src_profiling_common_producer_support",
17463 ":perfetto_src_profiling_common_profiler_guardrails",
17464 ":perfetto_src_profiling_common_unwind_support",
17465 ":perfetto_src_profiling_perf_common_types",
17466 ":perfetto_src_profiling_perf_proc_descriptors",
17467 ":perfetto_src_profiling_perf_producer",
17468 ":perfetto_src_profiling_perf_regs_parsing",
17469 ":perfetto_src_profiling_perf_traced_perf_main",
17470 ":perfetto_src_profiling_perf_unwinding",
17471 ":perfetto_src_protozero_filtering_bytecode_common",
17472 ":perfetto_src_protozero_filtering_bytecode_parser",
17473 ":perfetto_src_protozero_filtering_message_filter",
Lalit Maganti43b2b942023-06-21 10:31:36 +010017474 ":perfetto_src_protozero_filtering_string_filter",
Colin Cross84172332021-09-14 16:41:33 -070017475 ":perfetto_src_protozero_protozero",
17476 ":perfetto_src_traced_probes_ftrace_ftrace_procfs",
17477 ":perfetto_src_traced_probes_packages_list_packages_list_parser",
17478 ":perfetto_src_tracing_common",
17479 ":perfetto_src_tracing_core_core",
Colin Cross84172332021-09-14 16:41:33 -070017480 ":perfetto_src_tracing_ipc_common",
Primiano Tucci8761a312021-11-25 17:17:23 +000017481 ":perfetto_src_tracing_ipc_default_socket",
Colin Cross84172332021-09-14 16:41:33 -070017482 ":perfetto_src_tracing_ipc_producer_producer",
Daniele Di Proietto7c058852024-01-19 13:25:40 +000017483 ":perfetto_src_tracing_service_service",
Colin Cross84172332021-09-14 16:41:33 -070017484 "src/profiling/perf/main.cc",
17485 ],
17486 shared_libs: [
17487 "libbase",
17488 "liblog",
17489 "libprocinfo",
17490 "libunwindstack",
17491 ],
17492 init_rc: [
17493 "traced_perf.rc",
17494 ],
17495 generated_headers: [
17496 "perfetto_protos_perfetto_common_cpp_gen_headers",
17497 "perfetto_protos_perfetto_common_zero_gen_headers",
17498 "perfetto_protos_perfetto_config_android_cpp_gen_headers",
17499 "perfetto_protos_perfetto_config_android_zero_gen_headers",
17500 "perfetto_protos_perfetto_config_cpp_gen_headers",
17501 "perfetto_protos_perfetto_config_ftrace_cpp_gen_headers",
17502 "perfetto_protos_perfetto_config_ftrace_zero_gen_headers",
17503 "perfetto_protos_perfetto_config_gpu_cpp_gen_headers",
17504 "perfetto_protos_perfetto_config_gpu_zero_gen_headers",
17505 "perfetto_protos_perfetto_config_inode_file_cpp_gen_headers",
17506 "perfetto_protos_perfetto_config_inode_file_zero_gen_headers",
17507 "perfetto_protos_perfetto_config_interceptors_cpp_gen_headers",
17508 "perfetto_protos_perfetto_config_interceptors_zero_gen_headers",
17509 "perfetto_protos_perfetto_config_power_cpp_gen_headers",
17510 "perfetto_protos_perfetto_config_power_zero_gen_headers",
17511 "perfetto_protos_perfetto_config_process_stats_cpp_gen_headers",
17512 "perfetto_protos_perfetto_config_process_stats_zero_gen_headers",
17513 "perfetto_protos_perfetto_config_profiling_cpp_gen_headers",
17514 "perfetto_protos_perfetto_config_profiling_zero_gen_headers",
Hector Dearman5974de02022-06-23 15:31:40 +010017515 "perfetto_protos_perfetto_config_statsd_cpp_gen_headers",
17516 "perfetto_protos_perfetto_config_statsd_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -070017517 "perfetto_protos_perfetto_config_sys_stats_cpp_gen_headers",
17518 "perfetto_protos_perfetto_config_sys_stats_zero_gen_headers",
Hector Dearman48047d12022-08-02 14:00:46 +010017519 "perfetto_protos_perfetto_config_system_info_cpp_gen_headers",
17520 "perfetto_protos_perfetto_config_system_info_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -070017521 "perfetto_protos_perfetto_config_track_event_cpp_gen_headers",
17522 "perfetto_protos_perfetto_config_track_event_zero_gen_headers",
17523 "perfetto_protos_perfetto_config_zero_gen_headers",
17524 "perfetto_protos_perfetto_ipc_cpp_gen_headers",
17525 "perfetto_protos_perfetto_ipc_ipc_gen_headers",
17526 "perfetto_protos_perfetto_ipc_wire_protocol_cpp_gen_headers",
Kean Mariotti4ce4f042024-05-02 07:55:57 +000017527 "perfetto_protos_perfetto_trace_android_winscope_common_zero_gen_headers",
17528 "perfetto_protos_perfetto_trace_android_winscope_regular_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -070017529 "perfetto_protos_perfetto_trace_android_zero_gen_headers",
17530 "perfetto_protos_perfetto_trace_chrome_zero_gen_headers",
Alex Attar3cacb1d2023-10-10 13:13:25 -040017531 "perfetto_protos_perfetto_trace_etw_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -070017532 "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers",
17533 "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers",
17534 "perfetto_protos_perfetto_trace_gpu_zero_gen_headers",
17535 "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers",
17536 "perfetto_protos_perfetto_trace_minimal_zero_gen_headers",
17537 "perfetto_protos_perfetto_trace_non_minimal_zero_gen_headers",
17538 "perfetto_protos_perfetto_trace_perfetto_zero_gen_headers",
17539 "perfetto_protos_perfetto_trace_power_zero_gen_headers",
17540 "perfetto_protos_perfetto_trace_profiling_zero_gen_headers",
17541 "perfetto_protos_perfetto_trace_ps_zero_gen_headers",
Hector Dearman5974de02022-06-23 15:31:40 +010017542 "perfetto_protos_perfetto_trace_statsd_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -070017543 "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers",
17544 "perfetto_protos_perfetto_trace_system_info_zero_gen_headers",
17545 "perfetto_protos_perfetto_trace_track_event_cpp_gen_headers",
17546 "perfetto_protos_perfetto_trace_track_event_zero_gen_headers",
Igor Kraskevich49b42882022-03-21 13:03:02 +000017547 "perfetto_protos_perfetto_trace_translation_zero_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -070017548 "perfetto_src_base_version_gen_h",
17549 ],
17550 defaults: [
17551 "perfetto_defaults",
17552 ],
Colin Cross84172332021-09-14 16:41:33 -070017553 include_dirs: [
17554 "bionic/libc/kernel",
17555 ],
Ryan Savitski462b5db2019-11-20 19:06:46 +000017556}
17557
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010017558// GN: //src/traced/probes:traced_probes
Primiano Tucci6067e732018-01-08 16:19:40 +000017559cc_binary {
Colin Cross84172332021-09-14 16:41:33 -070017560 name: "traced_probes",
17561 srcs: [
17562 ":perfetto_include_perfetto_ext_traced_traced",
17563 "src/traced/probes/main.cc",
17564 ],
17565 shared_libs: [
Colin Cross84172332021-09-14 16:41:33 -070017566 "libperfetto",
17567 ],
A. Cody Schuffelen3c82a542023-05-22 20:11:25 -070017568 host_supported: true,
Colin Cross84172332021-09-14 16:41:33 -070017569 defaults: [
17570 "perfetto_defaults",
17571 ],
A. Cody Schuffelen3c82a542023-05-22 20:11:25 -070017572 target: {
17573 android: {
17574 shared_libs: [
17575 "liblog",
17576 ],
17577 },
17578 },
Hector Dearman696ff772019-04-23 18:38:53 +010017579}
17580
Chinglin Yu23b17522024-05-09 12:49:33 +080017581// GN: //src/traced_relay:traced_relay
17582cc_binary {
17583 name: "traced_relay",
17584 srcs: [
17585 ":perfetto_base_default_platform",
17586 ":perfetto_include_perfetto_base_base",
17587 ":perfetto_include_perfetto_ext_base_base",
17588 ":perfetto_include_perfetto_ext_base_version",
17589 ":perfetto_include_perfetto_ext_ipc_ipc",
17590 ":perfetto_include_perfetto_ext_traced_traced",
17591 ":perfetto_include_perfetto_ext_tracing_core_core",
17592 ":perfetto_include_perfetto_ext_tracing_ipc_ipc",
17593 ":perfetto_include_perfetto_protozero_protozero",
17594 ":perfetto_include_perfetto_public_abi_base",
17595 ":perfetto_include_perfetto_public_base",
17596 ":perfetto_include_perfetto_public_protozero",
17597 ":perfetto_include_perfetto_tracing_core_core",
17598 ":perfetto_include_perfetto_tracing_core_forward_decls",
17599 ":perfetto_include_perfetto_tracing_tracing",
17600 ":perfetto_protos_perfetto_common_cpp_gen",
17601 ":perfetto_protos_perfetto_common_zero_gen",
17602 ":perfetto_protos_perfetto_config_android_cpp_gen",
17603 ":perfetto_protos_perfetto_config_android_zero_gen",
17604 ":perfetto_protos_perfetto_config_cpp_gen",
17605 ":perfetto_protos_perfetto_config_ftrace_cpp_gen",
17606 ":perfetto_protos_perfetto_config_ftrace_zero_gen",
17607 ":perfetto_protos_perfetto_config_gpu_cpp_gen",
17608 ":perfetto_protos_perfetto_config_gpu_zero_gen",
17609 ":perfetto_protos_perfetto_config_inode_file_cpp_gen",
17610 ":perfetto_protos_perfetto_config_inode_file_zero_gen",
17611 ":perfetto_protos_perfetto_config_interceptors_cpp_gen",
17612 ":perfetto_protos_perfetto_config_interceptors_zero_gen",
17613 ":perfetto_protos_perfetto_config_power_cpp_gen",
17614 ":perfetto_protos_perfetto_config_power_zero_gen",
17615 ":perfetto_protos_perfetto_config_process_stats_cpp_gen",
17616 ":perfetto_protos_perfetto_config_process_stats_zero_gen",
17617 ":perfetto_protos_perfetto_config_profiling_cpp_gen",
17618 ":perfetto_protos_perfetto_config_profiling_zero_gen",
17619 ":perfetto_protos_perfetto_config_statsd_cpp_gen",
17620 ":perfetto_protos_perfetto_config_statsd_zero_gen",
17621 ":perfetto_protos_perfetto_config_sys_stats_cpp_gen",
17622 ":perfetto_protos_perfetto_config_sys_stats_zero_gen",
17623 ":perfetto_protos_perfetto_config_system_info_cpp_gen",
17624 ":perfetto_protos_perfetto_config_system_info_zero_gen",
17625 ":perfetto_protos_perfetto_config_track_event_cpp_gen",
17626 ":perfetto_protos_perfetto_config_track_event_zero_gen",
17627 ":perfetto_protos_perfetto_config_zero_gen",
17628 ":perfetto_protos_perfetto_ipc_cpp_gen",
17629 ":perfetto_protos_perfetto_ipc_ipc_gen",
17630 ":perfetto_protos_perfetto_ipc_wire_protocol_cpp_gen",
17631 ":perfetto_protos_perfetto_trace_android_winscope_common_zero_gen",
17632 ":perfetto_protos_perfetto_trace_android_winscope_regular_zero_gen",
17633 ":perfetto_protos_perfetto_trace_android_zero_gen",
17634 ":perfetto_protos_perfetto_trace_chrome_zero_gen",
17635 ":perfetto_protos_perfetto_trace_etw_zero_gen",
17636 ":perfetto_protos_perfetto_trace_filesystem_zero_gen",
17637 ":perfetto_protos_perfetto_trace_ftrace_zero_gen",
17638 ":perfetto_protos_perfetto_trace_gpu_zero_gen",
17639 ":perfetto_protos_perfetto_trace_interned_data_zero_gen",
17640 ":perfetto_protos_perfetto_trace_minimal_zero_gen",
17641 ":perfetto_protos_perfetto_trace_non_minimal_zero_gen",
17642 ":perfetto_protos_perfetto_trace_perfetto_zero_gen",
17643 ":perfetto_protos_perfetto_trace_power_zero_gen",
17644 ":perfetto_protos_perfetto_trace_profiling_zero_gen",
17645 ":perfetto_protos_perfetto_trace_ps_zero_gen",
17646 ":perfetto_protos_perfetto_trace_statsd_zero_gen",
17647 ":perfetto_protos_perfetto_trace_sys_stats_zero_gen",
17648 ":perfetto_protos_perfetto_trace_system_info_zero_gen",
17649 ":perfetto_protos_perfetto_trace_track_event_cpp_gen",
17650 ":perfetto_protos_perfetto_trace_track_event_zero_gen",
17651 ":perfetto_protos_perfetto_trace_translation_zero_gen",
17652 ":perfetto_src_base_base",
Lalit Maganti1e7aef12024-10-13 14:19:09 +010017653 ":perfetto_src_base_clock_snapshots",
Chinglin Yu23b17522024-05-09 12:49:33 +080017654 ":perfetto_src_base_unix_socket",
17655 ":perfetto_src_base_version",
17656 ":perfetto_src_ipc_client",
17657 ":perfetto_src_ipc_common",
17658 ":perfetto_src_ipc_host",
17659 ":perfetto_src_ipc_perfetto_ipc",
17660 ":perfetto_src_protozero_protozero",
17661 ":perfetto_src_traced_relay_lib",
17662 ":perfetto_src_tracing_common",
17663 ":perfetto_src_tracing_core_core",
17664 ":perfetto_src_tracing_ipc_common",
17665 ":perfetto_src_tracing_ipc_default_socket",
17666 ":perfetto_src_tracing_ipc_producer_relay",
17667 "src/traced_relay/relay_service_main.cc",
17668 ],
17669 shared_libs: [
17670 "liblog",
17671 ],
17672 generated_headers: [
17673 "perfetto_protos_perfetto_common_cpp_gen_headers",
17674 "perfetto_protos_perfetto_common_zero_gen_headers",
17675 "perfetto_protos_perfetto_config_android_cpp_gen_headers",
17676 "perfetto_protos_perfetto_config_android_zero_gen_headers",
17677 "perfetto_protos_perfetto_config_cpp_gen_headers",
17678 "perfetto_protos_perfetto_config_ftrace_cpp_gen_headers",
17679 "perfetto_protos_perfetto_config_ftrace_zero_gen_headers",
17680 "perfetto_protos_perfetto_config_gpu_cpp_gen_headers",
17681 "perfetto_protos_perfetto_config_gpu_zero_gen_headers",
17682 "perfetto_protos_perfetto_config_inode_file_cpp_gen_headers",
17683 "perfetto_protos_perfetto_config_inode_file_zero_gen_headers",
17684 "perfetto_protos_perfetto_config_interceptors_cpp_gen_headers",
17685 "perfetto_protos_perfetto_config_interceptors_zero_gen_headers",
17686 "perfetto_protos_perfetto_config_power_cpp_gen_headers",
17687 "perfetto_protos_perfetto_config_power_zero_gen_headers",
17688 "perfetto_protos_perfetto_config_process_stats_cpp_gen_headers",
17689 "perfetto_protos_perfetto_config_process_stats_zero_gen_headers",
17690 "perfetto_protos_perfetto_config_profiling_cpp_gen_headers",
17691 "perfetto_protos_perfetto_config_profiling_zero_gen_headers",
17692 "perfetto_protos_perfetto_config_statsd_cpp_gen_headers",
17693 "perfetto_protos_perfetto_config_statsd_zero_gen_headers",
17694 "perfetto_protos_perfetto_config_sys_stats_cpp_gen_headers",
17695 "perfetto_protos_perfetto_config_sys_stats_zero_gen_headers",
17696 "perfetto_protos_perfetto_config_system_info_cpp_gen_headers",
17697 "perfetto_protos_perfetto_config_system_info_zero_gen_headers",
17698 "perfetto_protos_perfetto_config_track_event_cpp_gen_headers",
17699 "perfetto_protos_perfetto_config_track_event_zero_gen_headers",
17700 "perfetto_protos_perfetto_config_zero_gen_headers",
17701 "perfetto_protos_perfetto_ipc_cpp_gen_headers",
17702 "perfetto_protos_perfetto_ipc_ipc_gen_headers",
17703 "perfetto_protos_perfetto_ipc_wire_protocol_cpp_gen_headers",
17704 "perfetto_protos_perfetto_trace_android_winscope_common_zero_gen_headers",
17705 "perfetto_protos_perfetto_trace_android_winscope_regular_zero_gen_headers",
17706 "perfetto_protos_perfetto_trace_android_zero_gen_headers",
17707 "perfetto_protos_perfetto_trace_chrome_zero_gen_headers",
17708 "perfetto_protos_perfetto_trace_etw_zero_gen_headers",
17709 "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers",
17710 "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers",
17711 "perfetto_protos_perfetto_trace_gpu_zero_gen_headers",
17712 "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers",
17713 "perfetto_protos_perfetto_trace_minimal_zero_gen_headers",
17714 "perfetto_protos_perfetto_trace_non_minimal_zero_gen_headers",
17715 "perfetto_protos_perfetto_trace_perfetto_zero_gen_headers",
17716 "perfetto_protos_perfetto_trace_power_zero_gen_headers",
17717 "perfetto_protos_perfetto_trace_profiling_zero_gen_headers",
17718 "perfetto_protos_perfetto_trace_ps_zero_gen_headers",
17719 "perfetto_protos_perfetto_trace_statsd_zero_gen_headers",
17720 "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers",
17721 "perfetto_protos_perfetto_trace_system_info_zero_gen_headers",
17722 "perfetto_protos_perfetto_trace_track_event_cpp_gen_headers",
17723 "perfetto_protos_perfetto_trace_track_event_zero_gen_headers",
17724 "perfetto_protos_perfetto_trace_translation_zero_gen_headers",
17725 "perfetto_src_base_version_gen_h",
17726 ],
17727 defaults: [
17728 "perfetto_defaults",
17729 ],
17730}
17731
Primiano Tuccif0d7ef82019-10-04 15:35:24 +010017732// GN: //src/perfetto_cmd:trigger_perfetto
Hector Dearman696ff772019-04-23 18:38:53 +010017733cc_binary {
Colin Cross84172332021-09-14 16:41:33 -070017734 name: "trigger_perfetto",
17735 srcs: [
Daniele Di Proietto0bbc6ae2024-01-29 17:48:09 +000017736 ":perfetto_base_default_platform",
17737 ":perfetto_include_perfetto_base_base",
17738 ":perfetto_include_perfetto_ext_base_base",
17739 ":perfetto_include_perfetto_ext_base_version",
17740 ":perfetto_include_perfetto_ext_ipc_ipc",
Colin Cross84172332021-09-14 16:41:33 -070017741 ":perfetto_include_perfetto_ext_traced_traced",
Daniele Di Proietto0bbc6ae2024-01-29 17:48:09 +000017742 ":perfetto_include_perfetto_ext_tracing_core_core",
17743 ":perfetto_include_perfetto_ext_tracing_ipc_ipc",
17744 ":perfetto_include_perfetto_protozero_protozero",
17745 ":perfetto_include_perfetto_public_abi_base",
17746 ":perfetto_include_perfetto_public_base",
17747 ":perfetto_include_perfetto_public_protozero",
17748 ":perfetto_include_perfetto_tracing_core_core",
17749 ":perfetto_include_perfetto_tracing_core_forward_decls",
17750 ":perfetto_include_perfetto_tracing_tracing",
17751 ":perfetto_protos_perfetto_common_cpp_gen",
17752 ":perfetto_protos_perfetto_common_zero_gen",
17753 ":perfetto_protos_perfetto_config_android_cpp_gen",
17754 ":perfetto_protos_perfetto_config_android_zero_gen",
17755 ":perfetto_protos_perfetto_config_cpp_gen",
17756 ":perfetto_protos_perfetto_config_ftrace_cpp_gen",
17757 ":perfetto_protos_perfetto_config_ftrace_zero_gen",
17758 ":perfetto_protos_perfetto_config_gpu_cpp_gen",
17759 ":perfetto_protos_perfetto_config_gpu_zero_gen",
17760 ":perfetto_protos_perfetto_config_inode_file_cpp_gen",
17761 ":perfetto_protos_perfetto_config_inode_file_zero_gen",
17762 ":perfetto_protos_perfetto_config_interceptors_cpp_gen",
17763 ":perfetto_protos_perfetto_config_interceptors_zero_gen",
17764 ":perfetto_protos_perfetto_config_power_cpp_gen",
17765 ":perfetto_protos_perfetto_config_power_zero_gen",
17766 ":perfetto_protos_perfetto_config_process_stats_cpp_gen",
17767 ":perfetto_protos_perfetto_config_process_stats_zero_gen",
17768 ":perfetto_protos_perfetto_config_profiling_cpp_gen",
17769 ":perfetto_protos_perfetto_config_profiling_zero_gen",
17770 ":perfetto_protos_perfetto_config_statsd_cpp_gen",
17771 ":perfetto_protos_perfetto_config_statsd_zero_gen",
17772 ":perfetto_protos_perfetto_config_sys_stats_cpp_gen",
17773 ":perfetto_protos_perfetto_config_sys_stats_zero_gen",
17774 ":perfetto_protos_perfetto_config_system_info_cpp_gen",
17775 ":perfetto_protos_perfetto_config_system_info_zero_gen",
17776 ":perfetto_protos_perfetto_config_track_event_cpp_gen",
17777 ":perfetto_protos_perfetto_config_track_event_zero_gen",
17778 ":perfetto_protos_perfetto_config_zero_gen",
17779 ":perfetto_protos_perfetto_ipc_cpp_gen",
17780 ":perfetto_protos_perfetto_ipc_ipc_gen",
17781 ":perfetto_protos_perfetto_ipc_wire_protocol_cpp_gen",
Kean Mariotti4ce4f042024-05-02 07:55:57 +000017782 ":perfetto_protos_perfetto_trace_android_winscope_common_zero_gen",
17783 ":perfetto_protos_perfetto_trace_android_winscope_regular_zero_gen",
Daniele Di Proietto0bbc6ae2024-01-29 17:48:09 +000017784 ":perfetto_protos_perfetto_trace_android_zero_gen",
17785 ":perfetto_protos_perfetto_trace_chrome_zero_gen",
17786 ":perfetto_protos_perfetto_trace_etw_zero_gen",
17787 ":perfetto_protos_perfetto_trace_filesystem_zero_gen",
17788 ":perfetto_protos_perfetto_trace_ftrace_zero_gen",
17789 ":perfetto_protos_perfetto_trace_gpu_zero_gen",
17790 ":perfetto_protos_perfetto_trace_interned_data_zero_gen",
17791 ":perfetto_protos_perfetto_trace_minimal_zero_gen",
17792 ":perfetto_protos_perfetto_trace_non_minimal_zero_gen",
17793 ":perfetto_protos_perfetto_trace_perfetto_zero_gen",
17794 ":perfetto_protos_perfetto_trace_power_zero_gen",
17795 ":perfetto_protos_perfetto_trace_profiling_zero_gen",
17796 ":perfetto_protos_perfetto_trace_ps_zero_gen",
17797 ":perfetto_protos_perfetto_trace_statsd_zero_gen",
17798 ":perfetto_protos_perfetto_trace_sys_stats_zero_gen",
17799 ":perfetto_protos_perfetto_trace_system_info_zero_gen",
17800 ":perfetto_protos_perfetto_trace_track_event_cpp_gen",
17801 ":perfetto_protos_perfetto_trace_track_event_zero_gen",
17802 ":perfetto_protos_perfetto_trace_translation_zero_gen",
17803 ":perfetto_src_android_internal_headers",
17804 ":perfetto_src_android_internal_lazy_library_loader",
17805 ":perfetto_src_android_stats_android_stats",
17806 ":perfetto_src_android_stats_perfetto_atoms",
17807 ":perfetto_src_base_base",
17808 ":perfetto_src_base_unix_socket",
17809 ":perfetto_src_base_version",
17810 ":perfetto_src_ipc_client",
17811 ":perfetto_src_ipc_common",
17812 ":perfetto_src_perfetto_cmd_protos_cpp_gen",
17813 ":perfetto_src_perfetto_cmd_trigger_perfetto_cmd",
17814 ":perfetto_src_perfetto_cmd_trigger_producer",
17815 ":perfetto_src_protozero_protozero",
17816 ":perfetto_src_tracing_common",
17817 ":perfetto_src_tracing_core_core",
17818 ":perfetto_src_tracing_ipc_common",
17819 ":perfetto_src_tracing_ipc_default_socket",
17820 ":perfetto_src_tracing_ipc_producer_producer",
Colin Cross84172332021-09-14 16:41:33 -070017821 "src/perfetto_cmd/trigger_perfetto_main.cc",
17822 ],
17823 shared_libs: [
17824 "liblog",
Daniele Di Proietto0bbc6ae2024-01-29 17:48:09 +000017825 ],
17826 generated_headers: [
17827 "perfetto_protos_perfetto_common_cpp_gen_headers",
17828 "perfetto_protos_perfetto_common_zero_gen_headers",
17829 "perfetto_protos_perfetto_config_android_cpp_gen_headers",
17830 "perfetto_protos_perfetto_config_android_zero_gen_headers",
17831 "perfetto_protos_perfetto_config_cpp_gen_headers",
17832 "perfetto_protos_perfetto_config_ftrace_cpp_gen_headers",
17833 "perfetto_protos_perfetto_config_ftrace_zero_gen_headers",
17834 "perfetto_protos_perfetto_config_gpu_cpp_gen_headers",
17835 "perfetto_protos_perfetto_config_gpu_zero_gen_headers",
17836 "perfetto_protos_perfetto_config_inode_file_cpp_gen_headers",
17837 "perfetto_protos_perfetto_config_inode_file_zero_gen_headers",
17838 "perfetto_protos_perfetto_config_interceptors_cpp_gen_headers",
17839 "perfetto_protos_perfetto_config_interceptors_zero_gen_headers",
17840 "perfetto_protos_perfetto_config_power_cpp_gen_headers",
17841 "perfetto_protos_perfetto_config_power_zero_gen_headers",
17842 "perfetto_protos_perfetto_config_process_stats_cpp_gen_headers",
17843 "perfetto_protos_perfetto_config_process_stats_zero_gen_headers",
17844 "perfetto_protos_perfetto_config_profiling_cpp_gen_headers",
17845 "perfetto_protos_perfetto_config_profiling_zero_gen_headers",
17846 "perfetto_protos_perfetto_config_statsd_cpp_gen_headers",
17847 "perfetto_protos_perfetto_config_statsd_zero_gen_headers",
17848 "perfetto_protos_perfetto_config_sys_stats_cpp_gen_headers",
17849 "perfetto_protos_perfetto_config_sys_stats_zero_gen_headers",
17850 "perfetto_protos_perfetto_config_system_info_cpp_gen_headers",
17851 "perfetto_protos_perfetto_config_system_info_zero_gen_headers",
17852 "perfetto_protos_perfetto_config_track_event_cpp_gen_headers",
17853 "perfetto_protos_perfetto_config_track_event_zero_gen_headers",
17854 "perfetto_protos_perfetto_config_zero_gen_headers",
17855 "perfetto_protos_perfetto_ipc_cpp_gen_headers",
17856 "perfetto_protos_perfetto_ipc_ipc_gen_headers",
17857 "perfetto_protos_perfetto_ipc_wire_protocol_cpp_gen_headers",
Kean Mariotti4ce4f042024-05-02 07:55:57 +000017858 "perfetto_protos_perfetto_trace_android_winscope_common_zero_gen_headers",
17859 "perfetto_protos_perfetto_trace_android_winscope_regular_zero_gen_headers",
Daniele Di Proietto0bbc6ae2024-01-29 17:48:09 +000017860 "perfetto_protos_perfetto_trace_android_zero_gen_headers",
17861 "perfetto_protos_perfetto_trace_chrome_zero_gen_headers",
17862 "perfetto_protos_perfetto_trace_etw_zero_gen_headers",
17863 "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers",
17864 "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers",
17865 "perfetto_protos_perfetto_trace_gpu_zero_gen_headers",
17866 "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers",
17867 "perfetto_protos_perfetto_trace_minimal_zero_gen_headers",
17868 "perfetto_protos_perfetto_trace_non_minimal_zero_gen_headers",
17869 "perfetto_protos_perfetto_trace_perfetto_zero_gen_headers",
17870 "perfetto_protos_perfetto_trace_power_zero_gen_headers",
17871 "perfetto_protos_perfetto_trace_profiling_zero_gen_headers",
17872 "perfetto_protos_perfetto_trace_ps_zero_gen_headers",
17873 "perfetto_protos_perfetto_trace_statsd_zero_gen_headers",
17874 "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers",
17875 "perfetto_protos_perfetto_trace_system_info_zero_gen_headers",
17876 "perfetto_protos_perfetto_trace_track_event_cpp_gen_headers",
17877 "perfetto_protos_perfetto_trace_track_event_zero_gen_headers",
17878 "perfetto_protos_perfetto_trace_translation_zero_gen_headers",
17879 "perfetto_src_base_version_gen_h",
17880 "perfetto_src_perfetto_cmd_protos_cpp_gen_headers",
Colin Cross84172332021-09-14 16:41:33 -070017881 ],
17882 defaults: [
17883 "perfetto_defaults",
17884 ],
Primiano Tucci4e49c022017-12-21 18:22:44 +010017885}
Lalit Maganti83e712a2018-02-05 15:48:00 +000017886
17887// These targets are appended to the autogenerated Android.bp by tools/gen_android_bp.
Primiano Tuccif9551982019-09-06 13:48:01 +010017888
Lalit Magantif5d666d2018-10-23 14:23:24 +010017889java_library_host {
Colin Cross84172332021-09-14 16:41:33 -070017890 name: "perfetto_config-full",
17891 proto: {
17892 type: "full",
17893 },
17894 srcs: [
17895 "protos/perfetto/config/perfetto_config.proto",
17896 ],
Primiano Tucci0b651b82019-06-03 17:16:23 +010017897}
17898
Kean Mariottia977e772023-06-06 08:27:55 +000017899java_library {
17900 name: "perfetto_config-lite",
17901 proto: {
17902 type: "lite",
17903 },
17904 srcs: [
17905 "protos/perfetto/config/perfetto_config.proto",
17906 ],
17907}
17908
Lalit Magantiaa035b22019-12-20 16:13:09 +000017909java_library_host {
Julien Desprez03858802022-07-26 16:15:12 -070017910 name: "perfetto_trace-full",
17911 proto: {
17912 type: "full",
17913 },
17914 srcs: [
17915 "protos/perfetto/trace/perfetto_trace.proto",
17916 ],
Sorin Bascafdf4fb22023-02-04 15:52:44 +000017917 // b/267831518: Pin tradefed and dependencies to Java 11.
17918 java_version: "11",
Julien Desprez03858802022-07-26 16:15:12 -070017919}
17920
17921java_library_host {
Colin Cross84172332021-09-14 16:41:33 -070017922 name: "perfetto_metrics-full",
17923 proto: {
17924 type: "full",
17925 },
17926 srcs: [
17927 "protos/perfetto/metrics/perfetto_merged_metrics.proto",
17928 ],
Sorin Bascafdf4fb22023-02-04 15:52:44 +000017929 // b/267831518: Pin tradefed and dependencies to Java 11.
17930 java_version: "11",
Lalit Magantiaa035b22019-12-20 16:13:09 +000017931}
17932
Primiano Tucci0b651b82019-06-03 17:16:23 +010017933// This sample target shows how to use the perfetto client API from within the
17934// Android tree.
17935cc_binary {
Colin Cross84172332021-09-14 16:41:33 -070017936 name: "libperfetto_client_example",
17937 srcs: [
17938 "test/client_api_example.cc",
17939 ],
17940 static_libs: [
17941 "libperfetto_client_experimental",
17942 "perfetto_trace_protos",
17943 ],
17944 shared_libs: [
17945 "libprotobuf-cpp-lite",
17946 "liblog",
17947 ],
17948 cflags: [
17949 "-DGOOGLE_PROTOBUF_NO_RTTI",
17950 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
17951 ],
17952 defaults: [
17953 "perfetto_defaults",
17954 ],
Hector Dearman92d7d112019-12-05 15:19:57 +000017955}
17956
17957cc_library_static {
17958 name: "libstatslog_perfetto",
17959 generated_sources: ["statslog_perfetto.cpp"],
17960 generated_headers: ["statslog_perfetto.h"],
17961 cflags: [
17962 "-Wall",
17963 "-Werror",
17964 ],
17965 export_generated_headers: ["statslog_perfetto.h"],
17966 shared_libs: [
17967 "libcutils",
17968 "liblog",
17969 "libstatssocket",
17970 "libutils",
17971 ],
17972}
17973
17974genrule {
17975 name: "statslog_perfetto.h",
17976 tools: ["stats-log-api-gen"],
17977 cmd: "$(location stats-log-api-gen) --header $(genDir)/statslog_perfetto.h --module perfetto --namespace perfetto,android_internal",
17978 out: [
17979 "statslog_perfetto.h",
17980 ],
17981}
17982
17983genrule {
17984 name: "statslog_perfetto.cpp",
17985 tools: ["stats-log-api-gen"],
17986 cmd: "$(location stats-log-api-gen) --cpp $(genDir)/statslog_perfetto.cpp --module perfetto --namespace perfetto,android_internal --importHeader statslog_perfetto.h",
17987 out: [
17988 "statslog_perfetto.cpp",
17989 ],
Lalit Magantic87db892020-03-21 00:00:30 +000017990}
Florian Mayer1584c262021-03-05 13:11:22 +000017991
Kalesh Singh8c1eb4b2021-03-30 11:59:09 -040017992sh_binary {
17993 name: "mm_events",
17994 src: "tools/mm_events",
17995}
17996
Florian Mayer1584c262021-03-05 13:11:22 +000017997package {
17998 default_applicable_licenses: ["external_perfetto_license"],
17999}
18000
Paul Thomson109ce872021-04-07 11:41:06 +010018001python_library {
18002 name: "perfetto-trace-processor-python",
18003 srcs: [
18004 ":perfetto-trace-processor-python-srcs",
Tomas Urbonaitis63735472022-08-11 15:18:06 +020018005 ":perfetto-trace-uri-resolver-python-srcs",
Paul Thomson109ce872021-04-07 11:41:06 +010018006 ],
18007 data: [
18008 ":perfetto-trace-processor-python-data",
18009 ],
Paul Thomson109ce872021-04-07 11:41:06 +010018010 libs: [
18011 "libprotobuf-python",
18012 ],
18013 host_supported: true,
18014}
18015
18016filegroup {
Tomas Urbonaitis63735472022-08-11 15:18:06 +020018017 name: "perfetto-trace-uri-resolver-python-srcs",
18018 srcs: ["python/perfetto/trace_uri_resolver/*.py"],
18019 path: "python",
18020}
18021
18022filegroup {
Paul Thomson109ce872021-04-07 11:41:06 +010018023 name: "perfetto-trace-processor-python-srcs",
Buyu Xiaobec47c42024-11-26 23:30:35 +000018024 srcs: [
18025 "python/perfetto/common/*.py",
18026 "python/perfetto/trace_processor/*.py",
18027 ],
Lalit Maganti4c76b4d2022-01-11 15:37:41 +000018028 path: "python",
Paul Thomson109ce872021-04-07 11:41:06 +010018029}
18030
18031filegroup {
18032 name: "perfetto-trace-processor-python-data",
Lalit Maganti4c76b4d2022-01-11 15:37:41 +000018033 srcs: ["python/perfetto/trace_processor/*.descriptor*"],
18034 path: "python",
Paul Thomson109ce872021-04-07 11:41:06 +010018035}
18036
Florian Mayer1584c262021-03-05 13:11:22 +000018037// Added automatically by a large-scale-change that took the approach of
18038// 'apply every license found to every target'. While this makes sure we respect
18039// every license restriction, it may not be entirely correct.
18040//
18041// e.g. GPL in an MIT project might only apply to the contrib/ directory.
18042//
18043// Please consider splitting the single license below into multiple licenses,
18044// taking care not to lose any license_kind information, and overriding the
18045// default license using the 'licenses: [...]' property on targets as needed.
18046//
18047// For unused files, consider creating a 'fileGroup' with "//visibility:private"
18048// to attach the license to, and including a comment whether the files may be
18049// used in the current project.
18050// See: http://go/android-license-faq
18051license {
18052 name: "external_perfetto_license",
18053 visibility: [":__subpackages__"],
18054 license_kinds: [
18055 "SPDX-license-identifier-Apache-2.0",
18056 "SPDX-license-identifier-BSD",
18057 "SPDX-license-identifier-CC-BY",
18058 ],
18059 license_text: [
18060 "LICENSE",
18061 ],
18062}
Pablo Gamito40e6e682023-12-04 12:04:33 +000018063
Pablo Gamito40e6e682023-12-04 12:04:33 +000018064gensrcs {
18065 name: "perfetto_trace_javastream_protos",
18066 srcs: [
Kean Mariotti4ce4f042024-05-02 07:55:57 +000018067 ":perfetto_winscope_filegroup_proto",
Pablo Gamito40e6e682023-12-04 12:04:33 +000018068 ],
18069 tools: [
18070 "aprotoc",
18071 "protoc-gen-javastream",
18072 "soong_zip",
18073 ],
18074 cmd: "mkdir -p $(genDir)/$(in) " +
Pablo Gamito8442d7f2024-02-12 19:17:05 +000018075 "&& $(location aprotoc) " +
Pablo Gamito40e6e682023-12-04 12:04:33 +000018076 "--plugin=$(location protoc-gen-javastream) " +
Kean Mariotti1060a4a2024-06-26 08:01:48 +000018077 "--javastream_opt=include_filter:perfetto.protos.TracePacket,perfetto.protos.ShellTransition,perfetto.protos.ShellHandlerMappings,perfetto.protos.ProtoLogMessage,perfetto.protos.ProtoLogViewerConfig,perfetto.protos.ShellHandlerMapping,perfetto.protos.ShellHandlerMappings,perfetto.protos.ProtoLogGroup,perfetto.protos.ProtoLogConfig,perfetto.protos.DataSourceConfig,perfetto.protos.InternedString,perfetto.protos.InternedData,perfetto.protos.ProtoLogLevel,perfetto.protos.TestEvent,perfetto.protos.TestEvent.TestPayload,perfetto.protos.TestConfig,perfetto.protos.TestConfig.DummyFields,perfetto.protos.WinscopeExtensionsImpl,perfetto.protos.InputMethodClientsTraceProto,perfetto.protos.InputMethodManagerServiceTraceProto,perfetto.protos.InputMethodServiceTraceProto,perfetto.protos.ViewCapture,perfetto.protos.WindowManagerConfig,perfetto.protos.WindowManagerTraceEntry " +
Pablo Gamito40e6e682023-12-04 12:04:33 +000018078 "--javastream_out=$(genDir)/$(in) " +
18079 "-Iexternal/protobuf/src " +
18080 "-Iexternal/perfetto " +
18081 "-I . $(in) " +
Pablo Gamito8442d7f2024-02-12 19:17:05 +000018082 "&& $(location soong_zip) " +
Pablo Gamito40e6e682023-12-04 12:04:33 +000018083 "-jar -o $(out) -C $(genDir)/$(in) -D $(genDir)/$(in)",
18084 data: [
18085 ":libprotobuf-internal-protos",
18086 ],
18087 output_extension: "srcjar",
18088}
Daniele Di Proiettoe8068062024-02-16 17:54:03 +000018089
Daniele Di Proietto40830782024-05-21 09:40:36 +000018090java_library {
Kean Mariottid9c9ea62024-08-28 08:48:35 +000018091 name: "perfetto_winscope-lite",
18092 proto: {
18093 type: "lite",
18094 include_dirs: ["external/protobuf/src"],
18095 canonical_path_from_root: false,
18096 },
18097 srcs: [
18098 ":libprotobuf-internal-descriptor-proto",
18099 ":perfetto_winscope_filegroup_proto",
18100 ],
18101 static_libs: [
18102 "libprotobuf-java-lite",
18103 ],
Kean Mariottib7869df2024-10-28 09:18:12 +000018104 sdk_version: "current",
Kean Mariottid9c9ea62024-08-28 08:48:35 +000018105}
18106
18107java_library {
Daniele Di Proietto40830782024-05-21 09:40:36 +000018108 name: "perfetto_config_java_protos_system_server_current",
18109 srcs: [
18110 ":perfetto_config_filegroup_proto",
18111 ],
18112 static_libs: [
18113 "libprotobuf-java-lite",
18114 ],
18115 proto: {
18116 type: "lite",
18117 canonical_path_from_root: false,
18118 },
18119 sdk_version: "system_server_current",
Steven Terrellb1548e92024-07-04 00:06:28 +000018120 min_sdk_version: "35",
Daniele Di Proietto40830782024-05-21 09:40:36 +000018121 apex_available: [
18122 "com.android.profiling",
18123 ],
18124}
18125
Daniele Di Proiettoe8068062024-02-16 17:54:03 +000018126prebuilt_etc {
18127 name: "perfetto_persistent_cfg.pbtxt",
18128 filename: "persistent_cfg.pbtxt",
18129 sub_dir: "perfetto",
18130 src: "persistent_cfg.pbtxt",
18131}
Jiyong Park56f45022024-03-19 15:51:49 +090018132
18133phony {
18134 name: "perfetto-extras",
18135 required: [
18136 "libperfetto_android_internal",
18137 "mm_events",
18138 "traced_perf",
18139 "trigger_perfetto",
18140 ],
18141}
Becky Wen43b65372024-10-23 10:25:58 -070018142
18143filegroup {
18144 name: "heap_profile",
18145 srcs: [
18146 "tools/heap_profile",
18147 ],
18148}