Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 1 | # Copyright (C) 2019 The Android Open Source Project |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | # |
Sami Kyostila | 3c88a1d | 2019-05-22 18:29:42 +0100 | [diff] [blame] | 15 | # This file is automatically generated by tools/gen_bazel. Do not edit. |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 16 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 17 | load("@perfetto_cfg//:perfetto_cfg.bzl", "PERFETTO_CONFIG") |
| 18 | load( |
| 19 | "@perfetto//bazel:rules.bzl", |
| 20 | "perfetto_cc_binary", |
| 21 | "perfetto_cc_ipc_library", |
| 22 | "perfetto_cc_library", |
| 23 | "perfetto_cc_proto_library", |
| 24 | "perfetto_cc_protozero_library", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 25 | "perfetto_java_proto_library", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 26 | "perfetto_proto_library", |
| 27 | "perfetto_py_binary", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 28 | "perfetto_gensignature_internal_only", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 29 | ) |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 30 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 31 | package(default_visibility = ["//visibility:private"]) |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 32 | |
Lalit Maganti | bb037f7 | 2019-09-24 16:22:45 +0100 | [diff] [blame] | 33 | licenses(["notice"]) |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 34 | |
| 35 | exports_files(["NOTICE"]) |
Lalit Maganti | a48710d | 2019-09-24 13:10:11 +0100 | [diff] [blame] | 36 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 37 | # ############################################################################## |
| 38 | # Internal targets |
| 39 | # ############################################################################## |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 40 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 41 | # GN target: //src/ipc/protoc_plugin:ipc_plugin |
| 42 | perfetto_cc_binary( |
| 43 | name = "ipc_plugin", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 44 | srcs = [ |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 45 | "src/ipc/protoc_plugin/ipc_plugin.cc", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 46 | ":include_perfetto_base_base", |
| 47 | ":include_perfetto_ext_base_base", |
| 48 | ":src_base_base", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 49 | ], |
| 50 | deps = [ |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 51 | ] + PERFETTO_CONFIG.deps.protoc_lib, |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 52 | ) |
| 53 | |
| 54 | # GN target: //src/ipc:perfetto_ipc |
| 55 | perfetto_cc_library( |
| 56 | name = "perfetto_ipc", |
| 57 | srcs = [ |
| 58 | ":src_base_base", |
| 59 | ":src_base_unix_socket", |
| 60 | ":src_ipc_ipc", |
| 61 | ], |
| 62 | hdrs = [ |
| 63 | ":include_perfetto_base_base", |
| 64 | ":include_perfetto_ext_base_base", |
| 65 | ":include_perfetto_ext_ipc_ipc", |
| 66 | ], |
| 67 | deps = [ |
| 68 | ":protos_perfetto_ipc_wire_protocol", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 69 | ] + PERFETTO_CONFIG.deps.protobuf_lite, |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 70 | ) |
| 71 | |
| 72 | # GN target: //src/protozero/protoc_plugin:protozero_plugin |
| 73 | perfetto_cc_binary( |
| 74 | name = "protozero_plugin", |
| 75 | srcs = [ |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 76 | "src/protozero/protoc_plugin/protozero_plugin.cc", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 77 | ":include_perfetto_base_base", |
| 78 | ":include_perfetto_ext_base_base", |
| 79 | ":src_base_base", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 80 | ], |
| 81 | deps = [ |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 82 | ] + PERFETTO_CONFIG.deps.protoc_lib, |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 83 | ) |
| 84 | |
| 85 | # GN target: //src/protozero:libprotozero |
| 86 | perfetto_cc_library( |
| 87 | name = "libprotozero", |
| 88 | srcs = [ |
| 89 | ":src_protozero_protozero", |
| 90 | ], |
| 91 | hdrs = [ |
| 92 | ":include_perfetto_base_base", |
| 93 | ":include_perfetto_ext_base_base", |
| 94 | ":include_perfetto_protozero_protozero", |
| 95 | ], |
| 96 | ) |
| 97 | |
| 98 | # GN target: //:libperfetto |
| 99 | perfetto_cc_library( |
| 100 | name = "libperfetto", |
| 101 | srcs = [ |
| 102 | ":src_android_internal_headers", |
| 103 | ":src_android_internal_lazy_library_loader", |
| 104 | ":src_base_base", |
| 105 | ":src_base_unix_socket", |
| 106 | ":src_ipc_ipc", |
| 107 | ":src_protozero_protozero", |
| 108 | ":src_traced_probes_android_log_android_log", |
| 109 | ":src_traced_probes_data_source", |
| 110 | ":src_traced_probes_filesystem_filesystem", |
| 111 | ":src_traced_probes_ftrace_format_parser", |
| 112 | ":src_traced_probes_ftrace_ftrace", |
| 113 | ":src_traced_probes_metatrace_metatrace", |
| 114 | ":src_traced_probes_packages_list_packages_list", |
| 115 | ":src_traced_probes_power_power", |
| 116 | ":src_traced_probes_probes", |
| 117 | ":src_traced_probes_probes_src", |
| 118 | ":src_traced_probes_ps_ps", |
| 119 | ":src_traced_probes_sys_stats_sys_stats", |
| 120 | ":src_traced_service_service", |
| 121 | ":src_tracing_common", |
| 122 | ":src_tracing_consumer_api_deprecated", |
| 123 | ":src_tracing_ipc", |
| 124 | ":src_tracing_tracing", |
| 125 | ], |
| 126 | hdrs = [ |
| 127 | ":include_perfetto_base_base", |
| 128 | ":include_perfetto_ext_base_base", |
| 129 | ":include_perfetto_ext_ipc_ipc", |
| 130 | ":include_perfetto_ext_traced_sys_stats_counters", |
| 131 | ":include_perfetto_ext_traced_traced", |
| 132 | ":include_perfetto_ext_tracing_core_core", |
| 133 | ":include_perfetto_ext_tracing_ipc_ipc", |
| 134 | ":include_perfetto_protozero_protozero", |
| 135 | ":include_perfetto_public_public", |
| 136 | ":include_perfetto_tracing_core_core", |
| 137 | ":include_perfetto_tracing_tracing", |
| 138 | ], |
| 139 | deps = [ |
| 140 | ":protos_perfetto_common_lite", |
| 141 | ":protos_perfetto_common_zero", |
| 142 | ":protos_perfetto_config_android_lite", |
| 143 | ":protos_perfetto_config_android_zero", |
| 144 | ":protos_perfetto_config_ftrace_lite", |
| 145 | ":protos_perfetto_config_ftrace_zero", |
| 146 | ":protos_perfetto_config_gpu_lite", |
| 147 | ":protos_perfetto_config_gpu_zero", |
| 148 | ":protos_perfetto_config_inode_file_lite", |
| 149 | ":protos_perfetto_config_inode_file_zero", |
| 150 | ":protos_perfetto_config_lite", |
| 151 | ":protos_perfetto_config_power_lite", |
| 152 | ":protos_perfetto_config_power_zero", |
| 153 | ":protos_perfetto_config_process_stats_lite", |
| 154 | ":protos_perfetto_config_process_stats_zero", |
| 155 | ":protos_perfetto_config_profiling_lite", |
| 156 | ":protos_perfetto_config_profiling_zero", |
| 157 | ":protos_perfetto_config_sys_stats_lite", |
| 158 | ":protos_perfetto_config_sys_stats_zero", |
| 159 | ":protos_perfetto_config_zero", |
| 160 | ":protos_perfetto_ipc_ipc", |
| 161 | ":protos_perfetto_ipc_wire_protocol", |
| 162 | ":protos_perfetto_trace_android_zero", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 163 | ":protos_perfetto_trace_chrome_zero", |
| 164 | ":protos_perfetto_trace_filesystem_zero", |
| 165 | ":protos_perfetto_trace_ftrace_zero", |
| 166 | ":protos_perfetto_trace_gpu_zero", |
| 167 | ":protos_perfetto_trace_interned_data_zero", |
| 168 | ":protos_perfetto_trace_minimal_lite", |
| 169 | ":protos_perfetto_trace_minimal_zero", |
| 170 | ":protos_perfetto_trace_non_minimal_zero", |
| 171 | ":protos_perfetto_trace_perfetto_zero", |
| 172 | ":protos_perfetto_trace_power_zero", |
| 173 | ":protos_perfetto_trace_profiling_zero", |
| 174 | ":protos_perfetto_trace_ps_zero", |
| 175 | ":protos_perfetto_trace_sys_stats_zero", |
| 176 | ":protos_perfetto_trace_track_event_zero", |
| 177 | ":protos_perfetto_trace_trusted_lite", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 178 | ] + PERFETTO_CONFIG.deps.protobuf_lite, |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 179 | ) |
| 180 | |
| 181 | # GN target: //include/perfetto/base:base |
| 182 | filegroup( |
| 183 | name = "include_perfetto_base_base", |
| 184 | srcs = [ |
| 185 | "include/perfetto/base/build_config.h", |
| 186 | "include/perfetto/base/compiler.h", |
| 187 | "include/perfetto/base/copyable_ptr.h", |
| 188 | "include/perfetto/base/export.h", |
| 189 | "include/perfetto/base/logging.h", |
| 190 | "include/perfetto/base/task_runner.h", |
| 191 | "include/perfetto/base/time.h", |
| 192 | ], |
| 193 | ) |
| 194 | |
| 195 | # GN target: //include/perfetto/ext/base:base |
| 196 | filegroup( |
| 197 | name = "include_perfetto_ext_base_base", |
| 198 | srcs = [ |
| 199 | "include/perfetto/ext/base/circular_queue.h", |
| 200 | "include/perfetto/ext/base/container_annotations.h", |
| 201 | "include/perfetto/ext/base/event_fd.h", |
| 202 | "include/perfetto/ext/base/file_utils.h", |
| 203 | "include/perfetto/ext/base/hash.h", |
| 204 | "include/perfetto/ext/base/lookup_set.h", |
| 205 | "include/perfetto/ext/base/metatrace.h", |
| 206 | "include/perfetto/ext/base/metatrace_events.h", |
| 207 | "include/perfetto/ext/base/no_destructor.h", |
| 208 | "include/perfetto/ext/base/optional.h", |
| 209 | "include/perfetto/ext/base/paged_memory.h", |
| 210 | "include/perfetto/ext/base/pipe.h", |
| 211 | "include/perfetto/ext/base/proc_utils.h", |
| 212 | "include/perfetto/ext/base/scoped_file.h", |
| 213 | "include/perfetto/ext/base/small_set.h", |
| 214 | "include/perfetto/ext/base/string_splitter.h", |
| 215 | "include/perfetto/ext/base/string_utils.h", |
| 216 | "include/perfetto/ext/base/string_view.h", |
| 217 | "include/perfetto/ext/base/string_writer.h", |
| 218 | "include/perfetto/ext/base/temp_file.h", |
| 219 | "include/perfetto/ext/base/thread_annotations.h", |
| 220 | "include/perfetto/ext/base/thread_checker.h", |
| 221 | "include/perfetto/ext/base/thread_task_runner.h", |
| 222 | "include/perfetto/ext/base/thread_utils.h", |
| 223 | "include/perfetto/ext/base/unix_socket.h", |
| 224 | "include/perfetto/ext/base/unix_task_runner.h", |
| 225 | "include/perfetto/ext/base/utils.h", |
| 226 | "include/perfetto/ext/base/uuid.h", |
| 227 | "include/perfetto/ext/base/waitable_event.h", |
| 228 | "include/perfetto/ext/base/watchdog.h", |
| 229 | "include/perfetto/ext/base/watchdog_noop.h", |
| 230 | "include/perfetto/ext/base/watchdog_posix.h", |
| 231 | "include/perfetto/ext/base/weak_ptr.h", |
| 232 | ], |
| 233 | ) |
| 234 | |
| 235 | # GN target: //include/perfetto/ext/ipc:ipc |
| 236 | filegroup( |
| 237 | name = "include_perfetto_ext_ipc_ipc", |
| 238 | srcs = [ |
| 239 | "include/perfetto/ext/ipc/async_result.h", |
| 240 | "include/perfetto/ext/ipc/basic_types.h", |
| 241 | "include/perfetto/ext/ipc/client.h", |
| 242 | "include/perfetto/ext/ipc/client_info.h", |
| 243 | "include/perfetto/ext/ipc/codegen_helpers.h", |
| 244 | "include/perfetto/ext/ipc/deferred.h", |
| 245 | "include/perfetto/ext/ipc/host.h", |
| 246 | "include/perfetto/ext/ipc/service.h", |
| 247 | "include/perfetto/ext/ipc/service_descriptor.h", |
| 248 | "include/perfetto/ext/ipc/service_proxy.h", |
| 249 | ], |
| 250 | ) |
| 251 | |
| 252 | # GN target: //include/perfetto/ext/traced:sys_stats_counters |
| 253 | filegroup( |
| 254 | name = "include_perfetto_ext_traced_sys_stats_counters", |
| 255 | srcs = [ |
| 256 | "include/perfetto/ext/traced/sys_stats_counters.h", |
| 257 | ], |
| 258 | ) |
| 259 | |
| 260 | # GN target: //include/perfetto/ext/traced:traced |
| 261 | filegroup( |
| 262 | name = "include_perfetto_ext_traced_traced", |
| 263 | srcs = [ |
| 264 | "include/perfetto/ext/traced/data_source_types.h", |
| 265 | "include/perfetto/ext/traced/traced.h", |
| 266 | ], |
| 267 | ) |
| 268 | |
| 269 | # GN target: //include/perfetto/ext/tracing/core:core |
| 270 | filegroup( |
| 271 | name = "include_perfetto_ext_tracing_core_core", |
| 272 | srcs = [ |
| 273 | "include/perfetto/ext/tracing/core/basic_types.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 274 | "include/perfetto/ext/tracing/core/commit_data_request.h", |
| 275 | "include/perfetto/ext/tracing/core/consumer.h", |
| 276 | "include/perfetto/ext/tracing/core/observable_events.h", |
| 277 | "include/perfetto/ext/tracing/core/producer.h", |
| 278 | "include/perfetto/ext/tracing/core/shared_memory.h", |
| 279 | "include/perfetto/ext/tracing/core/shared_memory_abi.h", |
| 280 | "include/perfetto/ext/tracing/core/shared_memory_arbiter.h", |
| 281 | "include/perfetto/ext/tracing/core/slice.h", |
| 282 | "include/perfetto/ext/tracing/core/sliced_protobuf_input_stream.h", |
| 283 | "include/perfetto/ext/tracing/core/startup_trace_writer.h", |
| 284 | "include/perfetto/ext/tracing/core/startup_trace_writer_registry.h", |
| 285 | "include/perfetto/ext/tracing/core/trace_packet.h", |
| 286 | "include/perfetto/ext/tracing/core/trace_stats.h", |
| 287 | "include/perfetto/ext/tracing/core/trace_writer.h", |
| 288 | "include/perfetto/ext/tracing/core/tracing_service.h", |
| 289 | ], |
| 290 | ) |
| 291 | |
| 292 | # GN target: //include/perfetto/ext/tracing/ipc:ipc |
| 293 | filegroup( |
| 294 | name = "include_perfetto_ext_tracing_ipc_ipc", |
| 295 | srcs = [ |
| 296 | "include/perfetto/ext/tracing/ipc/consumer_ipc_client.h", |
| 297 | "include/perfetto/ext/tracing/ipc/default_socket.h", |
| 298 | "include/perfetto/ext/tracing/ipc/producer_ipc_client.h", |
| 299 | "include/perfetto/ext/tracing/ipc/service_ipc_host.h", |
| 300 | ], |
| 301 | ) |
| 302 | |
Lalit Maganti | a4244e4 | 2019-09-20 12:03:32 +0100 | [diff] [blame] | 303 | # GN target: //include/perfetto/profiling:symbolizer |
| 304 | filegroup( |
| 305 | name = "include_perfetto_profiling_symbolizer", |
| 306 | srcs = [ |
| 307 | "include/perfetto/profiling/pprof_builder.h", |
| 308 | "include/perfetto/profiling/symbolizer.h", |
| 309 | ], |
| 310 | ) |
| 311 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 312 | # GN target: //include/perfetto/protozero:protozero |
| 313 | filegroup( |
| 314 | name = "include_perfetto_protozero_protozero", |
| 315 | srcs = [ |
| 316 | "include/perfetto/protozero/contiguous_memory_range.h", |
| 317 | "include/perfetto/protozero/field.h", |
| 318 | "include/perfetto/protozero/message.h", |
| 319 | "include/perfetto/protozero/message_handle.h", |
| 320 | "include/perfetto/protozero/packed_repeated_fields.h", |
| 321 | "include/perfetto/protozero/proto_decoder.h", |
| 322 | "include/perfetto/protozero/proto_utils.h", |
| 323 | "include/perfetto/protozero/scattered_heap_buffer.h", |
| 324 | "include/perfetto/protozero/scattered_stream_null_delegate.h", |
| 325 | "include/perfetto/protozero/scattered_stream_writer.h", |
| 326 | ], |
| 327 | ) |
| 328 | |
| 329 | # GN target: //include/perfetto/public:public |
| 330 | filegroup( |
| 331 | name = "include_perfetto_public_public", |
| 332 | srcs = [ |
| 333 | "include/perfetto/public/consumer_api.h", |
| 334 | ], |
| 335 | ) |
| 336 | |
| 337 | # GN target: //include/perfetto/trace_processor:trace_processor |
| 338 | filegroup( |
| 339 | name = "include_perfetto_trace_processor_trace_processor", |
| 340 | srcs = [ |
| 341 | "include/perfetto/trace_processor/basic_types.h", |
Eric Seckler | 8f70bbf | 2019-10-09 09:37:43 +0100 | [diff] [blame^] | 342 | "include/perfetto/trace_processor/read_trace.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 343 | "include/perfetto/trace_processor/status.h", |
| 344 | "include/perfetto/trace_processor/trace_processor.h", |
| 345 | ], |
| 346 | ) |
| 347 | |
| 348 | # GN target: //include/perfetto/tracing/core:core |
| 349 | filegroup( |
| 350 | name = "include_perfetto_tracing_core_core", |
| 351 | srcs = [ |
| 352 | "include/perfetto/tracing/core/chrome_config.h", |
| 353 | "include/perfetto/tracing/core/data_source_config.h", |
| 354 | "include/perfetto/tracing/core/data_source_descriptor.h", |
| 355 | "include/perfetto/tracing/core/test_config.h", |
| 356 | "include/perfetto/tracing/core/trace_config.h", |
| 357 | "include/perfetto/tracing/core/tracing_service_state.h", |
| 358 | ], |
| 359 | ) |
| 360 | |
| 361 | # GN target: //include/perfetto/tracing:tracing |
| 362 | filegroup( |
| 363 | name = "include_perfetto_tracing_tracing", |
| 364 | srcs = [ |
Florian Mayer | 974a8b8 | 2019-10-03 10:04:27 +0100 | [diff] [blame] | 365 | "include/perfetto/tracing/buffer_exhausted_policy.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 366 | "include/perfetto/tracing/data_source.h", |
| 367 | "include/perfetto/tracing/internal/basic_types.h", |
| 368 | "include/perfetto/tracing/internal/data_source_internal.h", |
| 369 | "include/perfetto/tracing/internal/tracing_muxer.h", |
| 370 | "include/perfetto/tracing/internal/tracing_tls.h", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 371 | "include/perfetto/tracing/internal/track_event_data_source.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 372 | "include/perfetto/tracing/locked_handle.h", |
| 373 | "include/perfetto/tracing/platform.h", |
| 374 | "include/perfetto/tracing/trace_writer_base.h", |
| 375 | "include/perfetto/tracing/tracing.h", |
| 376 | "include/perfetto/tracing/tracing_backend.h", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 377 | "include/perfetto/tracing/track_event.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 378 | ], |
| 379 | ) |
| 380 | |
| 381 | # GN target: //src/android_internal:headers |
| 382 | filegroup( |
| 383 | name = "src_android_internal_headers", |
| 384 | srcs = [ |
| 385 | "src/android_internal/atrace_hal.h", |
| 386 | "src/android_internal/dropbox_service.h", |
| 387 | "src/android_internal/health_hal.h", |
| 388 | "src/android_internal/incident_service.h", |
| 389 | "src/android_internal/power_stats_hal.h", |
| 390 | ], |
| 391 | ) |
| 392 | |
| 393 | # GN target: //src/android_internal:lazy_library_loader |
| 394 | filegroup( |
| 395 | name = "src_android_internal_lazy_library_loader", |
| 396 | srcs = [ |
| 397 | "src/android_internal/lazy_library_loader.cc", |
| 398 | "src/android_internal/lazy_library_loader.h", |
| 399 | ], |
| 400 | ) |
| 401 | |
| 402 | # GN target: //src/base:base |
| 403 | filegroup( |
| 404 | name = "src_base_base", |
| 405 | srcs = [ |
| 406 | "src/base/event_fd.cc", |
| 407 | "src/base/file_utils.cc", |
| 408 | "src/base/metatrace.cc", |
| 409 | "src/base/paged_memory.cc", |
| 410 | "src/base/pipe.cc", |
| 411 | "src/base/string_splitter.cc", |
| 412 | "src/base/string_utils.cc", |
| 413 | "src/base/string_view.cc", |
| 414 | "src/base/temp_file.cc", |
| 415 | "src/base/thread_checker.cc", |
| 416 | "src/base/thread_task_runner.cc", |
| 417 | "src/base/time.cc", |
| 418 | "src/base/unix_task_runner.cc", |
| 419 | "src/base/uuid.cc", |
| 420 | "src/base/virtual_destructors.cc", |
| 421 | "src/base/waitable_event.cc", |
| 422 | "src/base/watchdog_posix.cc", |
| 423 | ], |
| 424 | ) |
| 425 | |
| 426 | # GN target: //src/base:unix_socket |
| 427 | filegroup( |
| 428 | name = "src_base_unix_socket", |
| 429 | srcs = [ |
| 430 | "src/base/unix_socket.cc", |
| 431 | ], |
| 432 | ) |
| 433 | |
| 434 | # GN target: //src/ipc:ipc |
| 435 | filegroup( |
| 436 | name = "src_ipc_ipc", |
| 437 | srcs = [ |
| 438 | "src/ipc/buffered_frame_deserializer.cc", |
| 439 | "src/ipc/buffered_frame_deserializer.h", |
| 440 | "src/ipc/client_impl.cc", |
| 441 | "src/ipc/client_impl.h", |
| 442 | "src/ipc/deferred.cc", |
| 443 | "src/ipc/host_impl.cc", |
| 444 | "src/ipc/host_impl.h", |
| 445 | "src/ipc/service_proxy.cc", |
| 446 | "src/ipc/virtual_destructors.cc", |
| 447 | ], |
| 448 | ) |
| 449 | |
| 450 | # GN target: //src/perfetto_cmd:perfetto_cmd |
| 451 | filegroup( |
| 452 | name = "src_perfetto_cmd_perfetto_cmd", |
| 453 | srcs = [ |
| 454 | "src/perfetto_cmd/config.cc", |
| 455 | "src/perfetto_cmd/config.h", |
| 456 | "src/perfetto_cmd/packet_writer.cc", |
| 457 | "src/perfetto_cmd/packet_writer.h", |
| 458 | "src/perfetto_cmd/pbtxt_to_pb.cc", |
| 459 | "src/perfetto_cmd/pbtxt_to_pb.h", |
| 460 | "src/perfetto_cmd/perfetto_cmd.cc", |
| 461 | "src/perfetto_cmd/perfetto_cmd.h", |
| 462 | "src/perfetto_cmd/perfetto_config.descriptor.h", |
| 463 | "src/perfetto_cmd/rate_limiter.cc", |
| 464 | "src/perfetto_cmd/rate_limiter.h", |
| 465 | ], |
| 466 | ) |
| 467 | |
| 468 | # GN target: //src/perfetto_cmd:trigger_producer |
| 469 | filegroup( |
| 470 | name = "src_perfetto_cmd_trigger_producer", |
| 471 | srcs = [ |
| 472 | "src/perfetto_cmd/trigger_producer.cc", |
| 473 | "src/perfetto_cmd/trigger_producer.h", |
| 474 | ], |
| 475 | ) |
| 476 | |
| 477 | # GN target: //src/protozero:protozero |
| 478 | filegroup( |
| 479 | name = "src_protozero_protozero", |
| 480 | srcs = [ |
| 481 | "src/protozero/message.cc", |
| 482 | "src/protozero/message_handle.cc", |
| 483 | "src/protozero/proto_decoder.cc", |
| 484 | "src/protozero/scattered_heap_buffer.cc", |
| 485 | "src/protozero/scattered_stream_null_delegate.cc", |
| 486 | "src/protozero/scattered_stream_writer.cc", |
| 487 | ], |
| 488 | ) |
| 489 | |
| 490 | # GN target: //src/trace_processor/db:lib |
| 491 | filegroup( |
| 492 | name = "src_trace_processor_db_lib", |
| 493 | srcs = [ |
| 494 | "src/trace_processor/db/bit_vector.cc", |
| 495 | "src/trace_processor/db/bit_vector.h", |
| 496 | "src/trace_processor/db/column.cc", |
| 497 | "src/trace_processor/db/column.h", |
| 498 | "src/trace_processor/db/row_map.cc", |
| 499 | "src/trace_processor/db/row_map.h", |
| 500 | "src/trace_processor/db/sparse_vector.h", |
| 501 | "src/trace_processor/db/table.cc", |
| 502 | "src/trace_processor/db/table.h", |
| 503 | "src/trace_processor/db/typed_column.h", |
| 504 | ], |
| 505 | ) |
| 506 | |
| 507 | genrule( |
| 508 | name = "src_trace_processor_metrics_gen_merged_sql_metrics", |
| 509 | srcs = [ |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 510 | "src/trace_processor/metrics/android/android_batt.sql", |
| 511 | "src/trace_processor/metrics/android/android_cpu.sql", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 512 | "src/trace_processor/metrics/android/android_cpu_agg.sql", |
Ioannis Ilkos | ed80390 | 2019-09-24 11:58:56 +0100 | [diff] [blame] | 513 | "src/trace_processor/metrics/android/android_ion.sql", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 514 | "src/trace_processor/metrics/android/android_lmk.sql", |
| 515 | "src/trace_processor/metrics/android/android_mem.sql", |
| 516 | "src/trace_processor/metrics/android/android_mem_unagg.sql", |
| 517 | "src/trace_processor/metrics/android/android_package_list.sql", |
Ioannis Ilkos | ed80390 | 2019-09-24 11:58:56 +0100 | [diff] [blame] | 518 | "src/trace_processor/metrics/android/android_powrails.sql", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 519 | "src/trace_processor/metrics/android/android_process_growth.sql", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 520 | "src/trace_processor/metrics/android/android_startup.sql", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 521 | "src/trace_processor/metrics/android/android_startup_cpu.sql", |
Ioannis Ilkos | ed80390 | 2019-09-24 11:58:56 +0100 | [diff] [blame] | 522 | "src/trace_processor/metrics/android/android_startup_launches.sql", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 523 | "src/trace_processor/metrics/android/android_task_state.sql", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 524 | "src/trace_processor/metrics/android/heap_profile_callsite_stats.sql", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 525 | "src/trace_processor/metrics/android/mem_stats_priority_breakdown.sql", |
| 526 | "src/trace_processor/metrics/android/process_mem.sql", |
Ioannis Ilkos | ed80390 | 2019-09-24 11:58:56 +0100 | [diff] [blame] | 527 | "src/trace_processor/metrics/android/process_unagg_mem_view.sql", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 528 | "src/trace_processor/metrics/android/span_view_stats.sql", |
| 529 | "src/trace_processor/metrics/android/unsymbolized_frames.sql", |
| 530 | "src/trace_processor/metrics/android/upid_span_view.sql", |
| 531 | "src/trace_processor/metrics/trace_metadata.sql", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 532 | ], |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 533 | outs = [ |
| 534 | "src/trace_processor/metrics/sql_metrics.h", |
| 535 | ], |
Lalit Maganti | e667b0f | 2019-05-02 13:49:35 +0100 | [diff] [blame] | 536 | cmd = "$(location gen_merged_sql_metrics_py) --cpp_out=$@ $(SRCS)", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 537 | tools = [ |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 538 | ":gen_merged_sql_metrics_py", |
| 539 | ], |
| 540 | ) |
| 541 | |
| 542 | # GN target: //src/trace_processor/metrics:lib |
| 543 | filegroup( |
| 544 | name = "src_trace_processor_metrics_lib", |
| 545 | srcs = [ |
| 546 | "src/trace_processor/metrics/descriptors.cc", |
| 547 | "src/trace_processor/metrics/descriptors.h", |
| 548 | "src/trace_processor/metrics/metrics.cc", |
| 549 | "src/trace_processor/metrics/metrics.descriptor.h", |
| 550 | "src/trace_processor/metrics/metrics.h", |
| 551 | ], |
| 552 | ) |
| 553 | |
| 554 | # GN target: //src/trace_processor/sqlite:sqlite |
| 555 | filegroup( |
| 556 | name = "src_trace_processor_sqlite_sqlite", |
| 557 | srcs = [ |
| 558 | "src/trace_processor/sqlite/db_sqlite_table.cc", |
| 559 | "src/trace_processor/sqlite/db_sqlite_table.h", |
| 560 | "src/trace_processor/sqlite/query_constraints.cc", |
| 561 | "src/trace_processor/sqlite/query_constraints.h", |
| 562 | "src/trace_processor/sqlite/scoped_db.h", |
| 563 | "src/trace_processor/sqlite/sqlite3_str_split.cc", |
| 564 | "src/trace_processor/sqlite/sqlite3_str_split.h", |
| 565 | "src/trace_processor/sqlite/sqlite_table.cc", |
| 566 | "src/trace_processor/sqlite/sqlite_table.h", |
| 567 | "src/trace_processor/sqlite/sqlite_utils.h", |
| 568 | ], |
| 569 | ) |
| 570 | |
| 571 | # GN target: //src/trace_processor/tables:tables |
| 572 | filegroup( |
| 573 | name = "src_trace_processor_tables_tables", |
| 574 | srcs = [ |
| 575 | "src/trace_processor/tables/macros.h", |
| 576 | "src/trace_processor/tables/macros_internal.h", |
| 577 | "src/trace_processor/tables/profiler_tables.h", |
| 578 | "src/trace_processor/tables/slice_tables.h", |
| 579 | "src/trace_processor/tables/track_tables.h", |
| 580 | ], |
| 581 | ) |
| 582 | |
| 583 | # GN target: //src/trace_processor:common |
| 584 | filegroup( |
| 585 | name = "src_trace_processor_common", |
| 586 | srcs = [ |
| 587 | "src/trace_processor/null_term_string_view.h", |
| 588 | "src/trace_processor/string_pool.cc", |
| 589 | "src/trace_processor/string_pool.h", |
| 590 | ], |
| 591 | ) |
| 592 | |
| 593 | # GN target: //src/trace_processor:lib |
| 594 | filegroup( |
| 595 | name = "src_trace_processor_lib", |
| 596 | srcs = [ |
| 597 | "src/trace_processor/android_logs_table.cc", |
| 598 | "src/trace_processor/android_logs_table.h", |
| 599 | "src/trace_processor/args_table.cc", |
| 600 | "src/trace_processor/args_table.h", |
| 601 | "src/trace_processor/args_tracker.cc", |
| 602 | "src/trace_processor/args_tracker.h", |
| 603 | "src/trace_processor/chunked_trace_reader.h", |
| 604 | "src/trace_processor/clock_tracker.cc", |
| 605 | "src/trace_processor/clock_tracker.h", |
| 606 | "src/trace_processor/counter_definitions_table.cc", |
| 607 | "src/trace_processor/counter_definitions_table.h", |
| 608 | "src/trace_processor/counter_values_table.cc", |
| 609 | "src/trace_processor/counter_values_table.h", |
| 610 | "src/trace_processor/cpu_profile_stack_sample_table.cc", |
| 611 | "src/trace_processor/cpu_profile_stack_sample_table.h", |
| 612 | "src/trace_processor/event_tracker.cc", |
| 613 | "src/trace_processor/event_tracker.h", |
| 614 | "src/trace_processor/export_json.cc", |
| 615 | "src/trace_processor/export_json.h", |
| 616 | "src/trace_processor/filtered_row_index.cc", |
| 617 | "src/trace_processor/filtered_row_index.h", |
| 618 | "src/trace_processor/forwarding_trace_parser.cc", |
| 619 | "src/trace_processor/forwarding_trace_parser.h", |
| 620 | "src/trace_processor/ftrace_descriptors.cc", |
| 621 | "src/trace_processor/ftrace_descriptors.h", |
| 622 | "src/trace_processor/ftrace_utils.cc", |
| 623 | "src/trace_processor/ftrace_utils.h", |
| 624 | "src/trace_processor/fuchsia_provider_view.cc", |
| 625 | "src/trace_processor/fuchsia_provider_view.h", |
| 626 | "src/trace_processor/fuchsia_trace_parser.cc", |
| 627 | "src/trace_processor/fuchsia_trace_parser.h", |
| 628 | "src/trace_processor/fuchsia_trace_tokenizer.cc", |
| 629 | "src/trace_processor/fuchsia_trace_tokenizer.h", |
| 630 | "src/trace_processor/fuchsia_trace_utils.cc", |
| 631 | "src/trace_processor/fuchsia_trace_utils.h", |
Raymond Chiu | 2bd536a | 2019-09-18 15:22:51 -0700 | [diff] [blame] | 632 | "src/trace_processor/graphics_event_parser.cc", |
| 633 | "src/trace_processor/graphics_event_parser.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 634 | "src/trace_processor/gzip_trace_parser.cc", |
| 635 | "src/trace_processor/gzip_trace_parser.h", |
Florian Mayer | 25e013e | 2019-10-01 14:06:15 +0100 | [diff] [blame] | 636 | "src/trace_processor/heap_graph_tracker.cc", |
| 637 | "src/trace_processor/heap_graph_tracker.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 638 | "src/trace_processor/heap_profile_allocation_table.cc", |
| 639 | "src/trace_processor/heap_profile_allocation_table.h", |
| 640 | "src/trace_processor/heap_profile_tracker.cc", |
| 641 | "src/trace_processor/heap_profile_tracker.h", |
| 642 | "src/trace_processor/instants_table.cc", |
| 643 | "src/trace_processor/instants_table.h", |
| 644 | "src/trace_processor/json_trace_parser.cc", |
| 645 | "src/trace_processor/json_trace_parser.h", |
| 646 | "src/trace_processor/json_trace_tokenizer.cc", |
| 647 | "src/trace_processor/json_trace_tokenizer.h", |
| 648 | "src/trace_processor/json_trace_utils.cc", |
| 649 | "src/trace_processor/json_trace_utils.h", |
| 650 | "src/trace_processor/metadata.h", |
| 651 | "src/trace_processor/metadata_table.cc", |
| 652 | "src/trace_processor/metadata_table.h", |
| 653 | "src/trace_processor/process_table.cc", |
| 654 | "src/trace_processor/process_table.h", |
| 655 | "src/trace_processor/process_tracker.cc", |
| 656 | "src/trace_processor/process_tracker.h", |
| 657 | "src/trace_processor/proto_incremental_state.h", |
| 658 | "src/trace_processor/proto_trace_parser.cc", |
| 659 | "src/trace_processor/proto_trace_parser.h", |
| 660 | "src/trace_processor/proto_trace_tokenizer.cc", |
| 661 | "src/trace_processor/proto_trace_tokenizer.h", |
| 662 | "src/trace_processor/raw_table.cc", |
| 663 | "src/trace_processor/raw_table.h", |
Eric Seckler | 8f70bbf | 2019-10-09 09:37:43 +0100 | [diff] [blame^] | 664 | "src/trace_processor/read_trace.cc", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 665 | "src/trace_processor/row_iterators.cc", |
| 666 | "src/trace_processor/row_iterators.h", |
| 667 | "src/trace_processor/sched_slice_table.cc", |
| 668 | "src/trace_processor/sched_slice_table.h", |
| 669 | "src/trace_processor/slice_table.cc", |
| 670 | "src/trace_processor/slice_table.h", |
| 671 | "src/trace_processor/slice_tracker.cc", |
| 672 | "src/trace_processor/slice_tracker.h", |
| 673 | "src/trace_processor/span_join_operator_table.cc", |
| 674 | "src/trace_processor/span_join_operator_table.h", |
| 675 | "src/trace_processor/sql_stats_table.cc", |
| 676 | "src/trace_processor/sql_stats_table.h", |
| 677 | "src/trace_processor/stack_profile_callsite_table.cc", |
| 678 | "src/trace_processor/stack_profile_callsite_table.h", |
| 679 | "src/trace_processor/stack_profile_frame_table.cc", |
| 680 | "src/trace_processor/stack_profile_frame_table.h", |
| 681 | "src/trace_processor/stack_profile_mapping_table.cc", |
| 682 | "src/trace_processor/stack_profile_mapping_table.h", |
| 683 | "src/trace_processor/stack_profile_tracker.cc", |
| 684 | "src/trace_processor/stack_profile_tracker.h", |
| 685 | "src/trace_processor/stats.h", |
| 686 | "src/trace_processor/stats_table.cc", |
| 687 | "src/trace_processor/stats_table.h", |
| 688 | "src/trace_processor/storage_columns.cc", |
| 689 | "src/trace_processor/storage_columns.h", |
| 690 | "src/trace_processor/storage_schema.cc", |
| 691 | "src/trace_processor/storage_schema.h", |
| 692 | "src/trace_processor/storage_table.cc", |
| 693 | "src/trace_processor/storage_table.h", |
| 694 | "src/trace_processor/syscall_tracker.cc", |
| 695 | "src/trace_processor/syscall_tracker.h", |
| 696 | "src/trace_processor/syscalls_aarch32.h", |
| 697 | "src/trace_processor/syscalls_aarch64.h", |
| 698 | "src/trace_processor/syscalls_armeabi.h", |
| 699 | "src/trace_processor/syscalls_x86_64.h", |
| 700 | "src/trace_processor/systrace_parser.cc", |
| 701 | "src/trace_processor/systrace_parser.h", |
| 702 | "src/trace_processor/systrace_trace_parser.cc", |
| 703 | "src/trace_processor/systrace_trace_parser.h", |
| 704 | "src/trace_processor/thread_table.cc", |
| 705 | "src/trace_processor/thread_table.h", |
| 706 | "src/trace_processor/trace_blob_view.h", |
| 707 | "src/trace_processor/trace_parser.h", |
| 708 | "src/trace_processor/trace_processor.cc", |
| 709 | "src/trace_processor/trace_processor_context.cc", |
| 710 | "src/trace_processor/trace_processor_context.h", |
| 711 | "src/trace_processor/trace_processor_impl.cc", |
| 712 | "src/trace_processor/trace_processor_impl.h", |
| 713 | "src/trace_processor/trace_sorter.cc", |
| 714 | "src/trace_processor/trace_sorter.h", |
| 715 | "src/trace_processor/trace_storage.cc", |
| 716 | "src/trace_processor/trace_storage.h", |
Lalit Maganti | 4ea78d9 | 2019-09-20 20:20:41 +0100 | [diff] [blame] | 717 | "src/trace_processor/track_tracker.cc", |
| 718 | "src/trace_processor/track_tracker.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 719 | "src/trace_processor/variadic.h", |
| 720 | "src/trace_processor/virtual_destructors.cc", |
Mohammad Reza Zakerinasab | b06d185 | 2019-09-11 14:41:36 -0400 | [diff] [blame] | 721 | "src/trace_processor/vulkan_memory_tracker.cc", |
| 722 | "src/trace_processor/vulkan_memory_tracker.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 723 | "src/trace_processor/window_operator_table.cc", |
| 724 | "src/trace_processor/window_operator_table.h", |
| 725 | ], |
| 726 | ) |
| 727 | |
| 728 | # GN target: //src/traced/probes/android_log:android_log |
| 729 | filegroup( |
| 730 | name = "src_traced_probes_android_log_android_log", |
| 731 | srcs = [ |
| 732 | "src/traced/probes/android_log/android_log_data_source.cc", |
| 733 | "src/traced/probes/android_log/android_log_data_source.h", |
| 734 | ], |
| 735 | ) |
| 736 | |
| 737 | # GN target: //src/traced/probes/filesystem:filesystem |
| 738 | filegroup( |
| 739 | name = "src_traced_probes_filesystem_filesystem", |
| 740 | srcs = [ |
| 741 | "src/traced/probes/filesystem/file_scanner.cc", |
| 742 | "src/traced/probes/filesystem/file_scanner.h", |
| 743 | "src/traced/probes/filesystem/fs_mount.cc", |
| 744 | "src/traced/probes/filesystem/fs_mount.h", |
| 745 | "src/traced/probes/filesystem/inode_file_data_source.cc", |
| 746 | "src/traced/probes/filesystem/inode_file_data_source.h", |
| 747 | "src/traced/probes/filesystem/lru_inode_cache.cc", |
| 748 | "src/traced/probes/filesystem/lru_inode_cache.h", |
| 749 | "src/traced/probes/filesystem/prefix_finder.cc", |
| 750 | "src/traced/probes/filesystem/prefix_finder.h", |
| 751 | "src/traced/probes/filesystem/range_tree.cc", |
| 752 | "src/traced/probes/filesystem/range_tree.h", |
| 753 | ], |
| 754 | ) |
| 755 | |
| 756 | # GN target: //src/traced/probes/ftrace:format_parser |
| 757 | filegroup( |
| 758 | name = "src_traced_probes_ftrace_format_parser", |
| 759 | srcs = [ |
| 760 | "src/traced/probes/ftrace/format_parser.cc", |
| 761 | "src/traced/probes/ftrace/format_parser.h", |
| 762 | ], |
| 763 | ) |
| 764 | |
| 765 | # GN target: //src/traced/probes/ftrace:ftrace |
| 766 | filegroup( |
| 767 | name = "src_traced_probes_ftrace_ftrace", |
| 768 | srcs = [ |
| 769 | "src/traced/probes/ftrace/atrace_hal_wrapper.cc", |
| 770 | "src/traced/probes/ftrace/atrace_hal_wrapper.h", |
| 771 | "src/traced/probes/ftrace/atrace_wrapper.cc", |
| 772 | "src/traced/probes/ftrace/atrace_wrapper.h", |
Lalit Maganti | 44817b6 | 2019-09-19 16:58:23 +0100 | [diff] [blame] | 773 | "src/traced/probes/ftrace/compact_sched.cc", |
| 774 | "src/traced/probes/ftrace/compact_sched.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 775 | "src/traced/probes/ftrace/cpu_reader.cc", |
| 776 | "src/traced/probes/ftrace/cpu_reader.h", |
| 777 | "src/traced/probes/ftrace/cpu_stats_parser.cc", |
| 778 | "src/traced/probes/ftrace/cpu_stats_parser.h", |
| 779 | "src/traced/probes/ftrace/event_info.cc", |
| 780 | "src/traced/probes/ftrace/event_info.h", |
| 781 | "src/traced/probes/ftrace/event_info_constants.cc", |
| 782 | "src/traced/probes/ftrace/event_info_constants.h", |
| 783 | "src/traced/probes/ftrace/ftrace_config.cc", |
| 784 | "src/traced/probes/ftrace/ftrace_config.h", |
| 785 | "src/traced/probes/ftrace/ftrace_config_muxer.cc", |
| 786 | "src/traced/probes/ftrace/ftrace_config_muxer.h", |
| 787 | "src/traced/probes/ftrace/ftrace_config_utils.cc", |
| 788 | "src/traced/probes/ftrace/ftrace_config_utils.h", |
| 789 | "src/traced/probes/ftrace/ftrace_controller.cc", |
| 790 | "src/traced/probes/ftrace/ftrace_controller.h", |
| 791 | "src/traced/probes/ftrace/ftrace_data_source.cc", |
| 792 | "src/traced/probes/ftrace/ftrace_data_source.h", |
| 793 | "src/traced/probes/ftrace/ftrace_metadata.cc", |
| 794 | "src/traced/probes/ftrace/ftrace_metadata.h", |
| 795 | "src/traced/probes/ftrace/ftrace_procfs.cc", |
| 796 | "src/traced/probes/ftrace/ftrace_procfs.h", |
| 797 | "src/traced/probes/ftrace/ftrace_stats.cc", |
| 798 | "src/traced/probes/ftrace/ftrace_stats.h", |
| 799 | "src/traced/probes/ftrace/proto_translation_table.cc", |
| 800 | "src/traced/probes/ftrace/proto_translation_table.h", |
| 801 | ], |
| 802 | ) |
| 803 | |
| 804 | # GN target: //src/traced/probes/metatrace:metatrace |
| 805 | filegroup( |
| 806 | name = "src_traced_probes_metatrace_metatrace", |
| 807 | srcs = [ |
| 808 | "src/traced/probes/metatrace/metatrace_data_source.cc", |
| 809 | "src/traced/probes/metatrace/metatrace_data_source.h", |
| 810 | ], |
| 811 | ) |
| 812 | |
| 813 | # GN target: //src/traced/probes/packages_list:packages_list |
| 814 | filegroup( |
| 815 | name = "src_traced_probes_packages_list_packages_list", |
| 816 | srcs = [ |
| 817 | "src/traced/probes/packages_list/packages_list_data_source.cc", |
| 818 | "src/traced/probes/packages_list/packages_list_data_source.h", |
| 819 | ], |
| 820 | ) |
| 821 | |
| 822 | # GN target: //src/traced/probes/power:power |
| 823 | filegroup( |
| 824 | name = "src_traced_probes_power_power", |
| 825 | srcs = [ |
| 826 | "src/traced/probes/power/android_power_data_source.cc", |
| 827 | "src/traced/probes/power/android_power_data_source.h", |
| 828 | ], |
| 829 | ) |
| 830 | |
| 831 | # GN target: //src/traced/probes/ps:ps |
| 832 | filegroup( |
| 833 | name = "src_traced_probes_ps_ps", |
| 834 | srcs = [ |
| 835 | "src/traced/probes/ps/process_stats_data_source.cc", |
| 836 | "src/traced/probes/ps/process_stats_data_source.h", |
| 837 | ], |
| 838 | ) |
| 839 | |
| 840 | # GN target: //src/traced/probes/sys_stats:sys_stats |
| 841 | filegroup( |
| 842 | name = "src_traced_probes_sys_stats_sys_stats", |
| 843 | srcs = [ |
| 844 | "src/traced/probes/sys_stats/sys_stats_data_source.cc", |
| 845 | "src/traced/probes/sys_stats/sys_stats_data_source.h", |
| 846 | ], |
| 847 | ) |
| 848 | |
| 849 | # GN target: //src/traced/probes:data_source |
| 850 | filegroup( |
| 851 | name = "src_traced_probes_data_source", |
| 852 | srcs = [ |
| 853 | "src/traced/probes/probes_data_source.cc", |
| 854 | "src/traced/probes/probes_data_source.h", |
| 855 | ], |
| 856 | ) |
| 857 | |
| 858 | # GN target: //src/traced/probes:probes |
| 859 | filegroup( |
| 860 | name = "src_traced_probes_probes", |
| 861 | srcs = [ |
| 862 | "src/traced/probes/probes.cc", |
| 863 | ], |
| 864 | ) |
| 865 | |
| 866 | # GN target: //src/traced/probes:probes_src |
| 867 | filegroup( |
| 868 | name = "src_traced_probes_probes_src", |
| 869 | srcs = [ |
| 870 | "src/traced/probes/probes_producer.cc", |
| 871 | "src/traced/probes/probes_producer.h", |
| 872 | ], |
| 873 | ) |
| 874 | |
| 875 | # GN target: //src/traced/service:service |
| 876 | filegroup( |
| 877 | name = "src_traced_service_service", |
| 878 | srcs = [ |
| 879 | "src/traced/service/builtin_producer.cc", |
| 880 | "src/traced/service/builtin_producer.h", |
| 881 | "src/traced/service/service.cc", |
| 882 | ], |
| 883 | ) |
| 884 | |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 885 | # GN target: //src/tracing:client_api |
| 886 | filegroup( |
| 887 | name = "src_tracing_client_api", |
| 888 | srcs = [ |
| 889 | "src/tracing/data_source.cc", |
| 890 | "src/tracing/internal/in_process_tracing_backend.cc", |
| 891 | "src/tracing/internal/in_process_tracing_backend.h", |
| 892 | "src/tracing/internal/system_tracing_backend.cc", |
| 893 | "src/tracing/internal/system_tracing_backend.h", |
| 894 | "src/tracing/internal/tracing_muxer_impl.cc", |
| 895 | "src/tracing/internal/tracing_muxer_impl.h", |
| 896 | "src/tracing/platform.cc", |
| 897 | "src/tracing/tracing.cc", |
| 898 | "src/tracing/track_event.cc", |
| 899 | "src/tracing/virtual_destructors.cc", |
| 900 | ], |
| 901 | ) |
| 902 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 903 | # GN target: //src/tracing:common |
| 904 | filegroup( |
| 905 | name = "src_tracing_common", |
| 906 | srcs = [ |
| 907 | "src/tracing/trace_writer_base.cc", |
| 908 | ], |
| 909 | ) |
| 910 | |
| 911 | # GN target: //src/tracing:consumer_api_deprecated |
| 912 | filegroup( |
| 913 | name = "src_tracing_consumer_api_deprecated", |
| 914 | srcs = [ |
| 915 | "src/tracing/api_impl/consumer_api.cc", |
| 916 | ], |
| 917 | ) |
| 918 | |
| 919 | # GN target: //src/tracing:ipc |
| 920 | filegroup( |
| 921 | name = "src_tracing_ipc", |
| 922 | srcs = [ |
| 923 | "src/tracing/ipc/consumer/consumer_ipc_client_impl.cc", |
| 924 | "src/tracing/ipc/consumer/consumer_ipc_client_impl.h", |
| 925 | "src/tracing/ipc/default_socket.cc", |
| 926 | "src/tracing/ipc/posix_shared_memory.cc", |
| 927 | "src/tracing/ipc/posix_shared_memory.h", |
| 928 | "src/tracing/ipc/producer/producer_ipc_client_impl.cc", |
| 929 | "src/tracing/ipc/producer/producer_ipc_client_impl.h", |
| 930 | "src/tracing/ipc/service/consumer_ipc_service.cc", |
| 931 | "src/tracing/ipc/service/consumer_ipc_service.h", |
| 932 | "src/tracing/ipc/service/producer_ipc_service.cc", |
| 933 | "src/tracing/ipc/service/producer_ipc_service.h", |
| 934 | "src/tracing/ipc/service/service_ipc_host_impl.cc", |
| 935 | "src/tracing/ipc/service/service_ipc_host_impl.h", |
| 936 | ], |
| 937 | ) |
| 938 | |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 939 | # GN target: //src/tracing:platform_posix |
| 940 | filegroup( |
| 941 | name = "src_tracing_platform_posix", |
| 942 | srcs = [ |
| 943 | "src/tracing/platform_posix.cc", |
| 944 | ], |
| 945 | ) |
| 946 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 947 | # GN target: //src/tracing:tracing |
| 948 | filegroup( |
| 949 | name = "src_tracing_tracing", |
| 950 | srcs = [ |
| 951 | "src/tracing/core/chrome_config.cc", |
| 952 | "src/tracing/core/commit_data_request.cc", |
| 953 | "src/tracing/core/data_source_config.cc", |
| 954 | "src/tracing/core/data_source_descriptor.cc", |
| 955 | "src/tracing/core/id_allocator.cc", |
| 956 | "src/tracing/core/id_allocator.h", |
| 957 | "src/tracing/core/metatrace_writer.cc", |
| 958 | "src/tracing/core/metatrace_writer.h", |
| 959 | "src/tracing/core/null_trace_writer.cc", |
| 960 | "src/tracing/core/null_trace_writer.h", |
| 961 | "src/tracing/core/observable_events.cc", |
| 962 | "src/tracing/core/packet_stream_validator.cc", |
| 963 | "src/tracing/core/packet_stream_validator.h", |
| 964 | "src/tracing/core/patch_list.h", |
| 965 | "src/tracing/core/shared_memory_abi.cc", |
| 966 | "src/tracing/core/shared_memory_arbiter_impl.cc", |
| 967 | "src/tracing/core/shared_memory_arbiter_impl.h", |
| 968 | "src/tracing/core/sliced_protobuf_input_stream.cc", |
| 969 | "src/tracing/core/startup_trace_writer.cc", |
| 970 | "src/tracing/core/startup_trace_writer_registry.cc", |
| 971 | "src/tracing/core/test_config.cc", |
| 972 | "src/tracing/core/trace_buffer.cc", |
| 973 | "src/tracing/core/trace_buffer.h", |
| 974 | "src/tracing/core/trace_config.cc", |
| 975 | "src/tracing/core/trace_packet.cc", |
| 976 | "src/tracing/core/trace_stats.cc", |
| 977 | "src/tracing/core/trace_writer_impl.cc", |
| 978 | "src/tracing/core/trace_writer_impl.h", |
| 979 | "src/tracing/core/tracing_service_impl.cc", |
| 980 | "src/tracing/core/tracing_service_impl.h", |
| 981 | "src/tracing/core/tracing_service_state.cc", |
| 982 | "src/tracing/core/virtual_destructors.cc", |
| 983 | ], |
| 984 | ) |
| 985 | |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 986 | # GN target: //tools/trace_to_text:common |
| 987 | filegroup( |
| 988 | name = "tools_trace_to_text_common", |
| 989 | srcs = [ |
| 990 | "tools/trace_to_text/main.cc", |
| 991 | "tools/trace_to_text/symbolize_profile.cc", |
| 992 | "tools/trace_to_text/symbolize_profile.h", |
Eric Seckler | a60a6b4 | 2019-10-07 10:35:48 +0100 | [diff] [blame] | 993 | "tools/trace_to_text/trace_to_json.cc", |
| 994 | "tools/trace_to_text/trace_to_json.h", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 995 | "tools/trace_to_text/trace_to_profile.cc", |
| 996 | "tools/trace_to_text/trace_to_profile.h", |
| 997 | "tools/trace_to_text/trace_to_systrace.cc", |
| 998 | "tools/trace_to_text/trace_to_systrace.h", |
| 999 | "tools/trace_to_text/trace_to_text.h", |
| 1000 | ], |
| 1001 | ) |
| 1002 | |
| 1003 | # GN target: //tools/trace_to_text:full |
| 1004 | filegroup( |
| 1005 | name = "tools_trace_to_text_full", |
| 1006 | srcs = [ |
| 1007 | "tools/trace_to_text/proto_full_utils.cc", |
| 1008 | "tools/trace_to_text/proto_full_utils.h", |
| 1009 | "tools/trace_to_text/trace_to_text.cc", |
| 1010 | ], |
| 1011 | ) |
| 1012 | |
| 1013 | # GN target: //tools/trace_to_text:local_symbolizer |
| 1014 | filegroup( |
| 1015 | name = "tools_trace_to_text_local_symbolizer", |
| 1016 | srcs = [ |
| 1017 | "tools/trace_to_text/local_symbolizer.cc", |
| 1018 | "tools/trace_to_text/local_symbolizer.h", |
| 1019 | ], |
| 1020 | ) |
| 1021 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1022 | # GN target: //tools/trace_to_text:pprofbuilder |
| 1023 | filegroup( |
| 1024 | name = "tools_trace_to_text_pprofbuilder", |
| 1025 | srcs = [ |
| 1026 | "tools/trace_to_text/pprof_builder.cc", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1027 | ], |
| 1028 | ) |
| 1029 | |
| 1030 | # GN target: //tools/trace_to_text:symbolizer |
| 1031 | filegroup( |
| 1032 | name = "tools_trace_to_text_symbolizer", |
| 1033 | srcs = [ |
| 1034 | "tools/trace_to_text/symbolizer.cc", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1035 | ], |
| 1036 | ) |
| 1037 | |
| 1038 | # GN target: //tools/trace_to_text:utils |
| 1039 | filegroup( |
| 1040 | name = "tools_trace_to_text_utils", |
| 1041 | srcs = [ |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1042 | "tools/trace_to_text/utils.cc", |
| 1043 | "tools/trace_to_text/utils.h", |
| 1044 | ], |
| 1045 | ) |
| 1046 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1047 | # ############################################################################## |
| 1048 | # Proto libraries |
| 1049 | # ############################################################################## |
| 1050 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1051 | # GN target: //protos/perfetto/common:lite |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1052 | perfetto_cc_proto_library( |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1053 | name = "protos_perfetto_common_lite", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1054 | deps = [ |
| 1055 | ":protos_perfetto_common_protos", |
| 1056 | ], |
| 1057 | ) |
| 1058 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1059 | # GN target: //protos/perfetto/common:zero |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1060 | perfetto_proto_library( |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1061 | name = "protos_perfetto_common_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1062 | srcs = [ |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1063 | "protos/perfetto/common/android_log_constants.proto", |
| 1064 | "protos/perfetto/common/commit_data_request.proto", |
| 1065 | "protos/perfetto/common/data_source_descriptor.proto", |
| 1066 | "protos/perfetto/common/descriptor.proto", |
| 1067 | "protos/perfetto/common/gpu_counter_descriptor.proto", |
| 1068 | "protos/perfetto/common/observable_events.proto", |
| 1069 | "protos/perfetto/common/sys_stats_counters.proto", |
| 1070 | "protos/perfetto/common/trace_stats.proto", |
| 1071 | "protos/perfetto/common/tracing_service_state.proto", |
| 1072 | "protos/perfetto/common/track_event_descriptor.proto", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1073 | ], |
| 1074 | ) |
| 1075 | |
| 1076 | # GN target: //protos/perfetto/common:zero |
| 1077 | perfetto_cc_protozero_library( |
| 1078 | name = "protos_perfetto_common_zero", |
| 1079 | deps = [ |
| 1080 | ":protos_perfetto_common_protos", |
| 1081 | ], |
| 1082 | ) |
| 1083 | |
| 1084 | # GN target: //protos/perfetto/config/android:lite |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1085 | perfetto_cc_proto_library( |
| 1086 | name = "protos_perfetto_config_android_lite", |
| 1087 | deps = [ |
| 1088 | ":protos_perfetto_config_android_protos", |
| 1089 | ], |
| 1090 | ) |
| 1091 | |
| 1092 | # GN target: //protos/perfetto/config/android:zero |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1093 | perfetto_proto_library( |
| 1094 | name = "protos_perfetto_config_android_protos", |
| 1095 | srcs = [ |
| 1096 | "protos/perfetto/config/android/android_log_config.proto", |
| 1097 | "protos/perfetto/config/android/packages_list_config.proto", |
| 1098 | ], |
| 1099 | deps = [ |
| 1100 | ":protos_perfetto_common_protos", |
| 1101 | ], |
| 1102 | ) |
| 1103 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1104 | # GN target: //protos/perfetto/config/android:zero |
| 1105 | perfetto_cc_protozero_library( |
| 1106 | name = "protos_perfetto_config_android_zero", |
| 1107 | deps = [ |
| 1108 | ":protos_perfetto_config_android_protos", |
| 1109 | ], |
| 1110 | ) |
| 1111 | |
| 1112 | # GN target: //protos/perfetto/config/ftrace:lite |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1113 | perfetto_cc_proto_library( |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1114 | name = "protos_perfetto_config_ftrace_lite", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1115 | deps = [ |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1116 | ":protos_perfetto_config_ftrace_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1117 | ], |
| 1118 | ) |
| 1119 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1120 | # GN target: //protos/perfetto/config/ftrace:zero |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1121 | perfetto_proto_library( |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1122 | name = "protos_perfetto_config_ftrace_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1123 | srcs = [ |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1124 | "protos/perfetto/config/ftrace/ftrace_config.proto", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1125 | ], |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1126 | ) |
| 1127 | |
| 1128 | # GN target: //protos/perfetto/config/ftrace:zero |
| 1129 | perfetto_cc_protozero_library( |
| 1130 | name = "protos_perfetto_config_ftrace_zero", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1131 | deps = [ |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1132 | ":protos_perfetto_config_ftrace_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1133 | ], |
| 1134 | ) |
| 1135 | |
| 1136 | # GN target: //protos/perfetto/config/gpu:lite |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1137 | perfetto_cc_proto_library( |
| 1138 | name = "protos_perfetto_config_gpu_lite", |
| 1139 | deps = [ |
| 1140 | ":protos_perfetto_config_gpu_protos", |
| 1141 | ], |
| 1142 | ) |
| 1143 | |
| 1144 | # GN target: //protos/perfetto/config/gpu:zero |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1145 | perfetto_proto_library( |
| 1146 | name = "protos_perfetto_config_gpu_protos", |
| 1147 | srcs = [ |
| 1148 | "protos/perfetto/config/gpu/gpu_counter_config.proto", |
| 1149 | ], |
| 1150 | ) |
| 1151 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1152 | # GN target: //protos/perfetto/config/gpu:zero |
| 1153 | perfetto_cc_protozero_library( |
| 1154 | name = "protos_perfetto_config_gpu_zero", |
| 1155 | deps = [ |
| 1156 | ":protos_perfetto_config_gpu_protos", |
| 1157 | ], |
| 1158 | ) |
| 1159 | |
| 1160 | # GN target: //protos/perfetto/config/inode_file:lite |
| 1161 | perfetto_cc_proto_library( |
| 1162 | name = "protos_perfetto_config_inode_file_lite", |
| 1163 | deps = [ |
| 1164 | ":protos_perfetto_config_inode_file_protos", |
| 1165 | ], |
| 1166 | ) |
| 1167 | |
| 1168 | # GN target: //protos/perfetto/config/inode_file:zero |
| 1169 | perfetto_proto_library( |
| 1170 | name = "protos_perfetto_config_inode_file_protos", |
| 1171 | srcs = [ |
| 1172 | "protos/perfetto/config/inode_file/inode_file_config.proto", |
| 1173 | ], |
| 1174 | ) |
| 1175 | |
| 1176 | # GN target: //protos/perfetto/config/inode_file:zero |
| 1177 | perfetto_cc_protozero_library( |
| 1178 | name = "protos_perfetto_config_inode_file_zero", |
| 1179 | deps = [ |
| 1180 | ":protos_perfetto_config_inode_file_protos", |
| 1181 | ], |
| 1182 | ) |
| 1183 | |
| 1184 | # GN target: //protos/perfetto/config:lite |
| 1185 | perfetto_cc_proto_library( |
| 1186 | name = "protos_perfetto_config_lite", |
| 1187 | deps = [ |
| 1188 | ":protos_perfetto_config_protos", |
| 1189 | ], |
| 1190 | ) |
| 1191 | |
Pascal Muetschard | b7cdea0 | 2019-09-23 15:25:20 -0700 | [diff] [blame] | 1192 | # GN target: //protos/perfetto/config:merged_config |
| 1193 | perfetto_cc_proto_library( |
| 1194 | name = "protos_perfetto_config_merged_config", |
| 1195 | deps = [ |
| 1196 | ":protos_perfetto_config_merged_config_protos", |
| 1197 | ], |
| 1198 | ) |
| 1199 | |
Pascal Muetschard | b7cdea0 | 2019-09-23 15:25:20 -0700 | [diff] [blame] | 1200 | # GN target: //protos/perfetto/config:merged_config |
| 1201 | perfetto_proto_library( |
| 1202 | name = "protos_perfetto_config_merged_config_protos", |
| 1203 | srcs = [ |
| 1204 | "protos/perfetto/config/perfetto_config.proto", |
| 1205 | ], |
| 1206 | visibility = [ |
| 1207 | "//visibility:public", |
| 1208 | ], |
| 1209 | ) |
| 1210 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1211 | # GN target: //protos/perfetto/config/power:lite |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1212 | perfetto_cc_proto_library( |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1213 | name = "protos_perfetto_config_power_lite", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1214 | deps = [ |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1215 | ":protos_perfetto_config_power_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1216 | ], |
| 1217 | ) |
| 1218 | |
| 1219 | # GN target: //protos/perfetto/config/power:zero |
| 1220 | perfetto_proto_library( |
| 1221 | name = "protos_perfetto_config_power_protos", |
| 1222 | srcs = [ |
| 1223 | "protos/perfetto/config/power/android_power_config.proto", |
| 1224 | ], |
| 1225 | ) |
| 1226 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1227 | # GN target: //protos/perfetto/config/power:zero |
| 1228 | perfetto_cc_protozero_library( |
| 1229 | name = "protos_perfetto_config_power_zero", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1230 | deps = [ |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1231 | ":protos_perfetto_config_power_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1232 | ], |
| 1233 | ) |
| 1234 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1235 | # GN target: //protos/perfetto/config/process_stats:lite |
| 1236 | perfetto_cc_proto_library( |
| 1237 | name = "protos_perfetto_config_process_stats_lite", |
| 1238 | deps = [ |
| 1239 | ":protos_perfetto_config_process_stats_protos", |
| 1240 | ], |
| 1241 | ) |
| 1242 | |
| 1243 | # GN target: //protos/perfetto/config/process_stats:zero |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1244 | perfetto_proto_library( |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1245 | name = "protos_perfetto_config_process_stats_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1246 | srcs = [ |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1247 | "protos/perfetto/config/process_stats/process_stats_config.proto", |
| 1248 | ], |
| 1249 | ) |
| 1250 | |
| 1251 | # GN target: //protos/perfetto/config/process_stats:zero |
| 1252 | perfetto_cc_protozero_library( |
| 1253 | name = "protos_perfetto_config_process_stats_zero", |
| 1254 | deps = [ |
| 1255 | ":protos_perfetto_config_process_stats_protos", |
| 1256 | ], |
| 1257 | ) |
| 1258 | |
| 1259 | # GN target: //protos/perfetto/config/profiling:lite |
| 1260 | perfetto_cc_proto_library( |
| 1261 | name = "protos_perfetto_config_profiling_lite", |
| 1262 | deps = [ |
| 1263 | ":protos_perfetto_config_profiling_protos", |
| 1264 | ], |
| 1265 | ) |
| 1266 | |
| 1267 | # GN target: //protos/perfetto/config/profiling:zero |
| 1268 | perfetto_proto_library( |
| 1269 | name = "protos_perfetto_config_profiling_protos", |
| 1270 | srcs = [ |
| 1271 | "protos/perfetto/config/profiling/heapprofd_config.proto", |
| 1272 | "protos/perfetto/config/profiling/java_hprof_config.proto", |
| 1273 | ], |
| 1274 | ) |
| 1275 | |
| 1276 | # GN target: //protos/perfetto/config/profiling:zero |
| 1277 | perfetto_cc_protozero_library( |
| 1278 | name = "protos_perfetto_config_profiling_zero", |
| 1279 | deps = [ |
| 1280 | ":protos_perfetto_config_profiling_protos", |
| 1281 | ], |
| 1282 | ) |
| 1283 | |
| 1284 | # GN target: //protos/perfetto/config:zero |
| 1285 | perfetto_proto_library( |
| 1286 | name = "protos_perfetto_config_protos", |
| 1287 | srcs = [ |
| 1288 | "protos/perfetto/config/chrome/chrome_config.proto", |
| 1289 | "protos/perfetto/config/data_source_config.proto", |
| 1290 | "protos/perfetto/config/test_config.proto", |
| 1291 | "protos/perfetto/config/trace_config.proto", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1292 | ], |
| 1293 | deps = [ |
| 1294 | ":protos_perfetto_common_protos", |
| 1295 | ":protos_perfetto_config_android_protos", |
| 1296 | ":protos_perfetto_config_ftrace_protos", |
| 1297 | ":protos_perfetto_config_gpu_protos", |
| 1298 | ":protos_perfetto_config_inode_file_protos", |
| 1299 | ":protos_perfetto_config_power_protos", |
| 1300 | ":protos_perfetto_config_process_stats_protos", |
| 1301 | ":protos_perfetto_config_profiling_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1302 | ":protos_perfetto_config_sys_stats_protos", |
| 1303 | ], |
| 1304 | ) |
| 1305 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1306 | # GN target: //protos/perfetto/config/sys_stats:lite |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1307 | perfetto_cc_proto_library( |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1308 | name = "protos_perfetto_config_sys_stats_lite", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1309 | deps = [ |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1310 | ":protos_perfetto_config_sys_stats_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1311 | ], |
| 1312 | ) |
| 1313 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1314 | # GN target: //protos/perfetto/config/sys_stats:zero |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1315 | perfetto_proto_library( |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1316 | name = "protos_perfetto_config_sys_stats_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1317 | srcs = [ |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1318 | "protos/perfetto/config/sys_stats/sys_stats_config.proto", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1319 | ], |
| 1320 | deps = [ |
| 1321 | ":protos_perfetto_common_protos", |
| 1322 | ], |
| 1323 | ) |
| 1324 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1325 | # GN target: //protos/perfetto/config/sys_stats:zero |
| 1326 | perfetto_cc_protozero_library( |
| 1327 | name = "protos_perfetto_config_sys_stats_zero", |
| 1328 | deps = [ |
| 1329 | ":protos_perfetto_config_sys_stats_protos", |
| 1330 | ], |
| 1331 | ) |
| 1332 | |
| 1333 | # GN target: //protos/perfetto/config:zero |
| 1334 | perfetto_cc_protozero_library( |
| 1335 | name = "protos_perfetto_config_zero", |
| 1336 | deps = [ |
| 1337 | ":protos_perfetto_config_protos", |
| 1338 | ], |
| 1339 | ) |
| 1340 | |
| 1341 | # GN target: //protos/perfetto/ipc:ipc |
| 1342 | perfetto_cc_ipc_library( |
| 1343 | name = "protos_perfetto_ipc_ipc", |
| 1344 | deps = [ |
| 1345 | ":protos_perfetto_ipc_ipc_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1346 | ], |
| 1347 | ) |
| 1348 | |
| 1349 | # GN target: //protos/perfetto/ipc:ipc |
| 1350 | perfetto_proto_library( |
| 1351 | name = "protos_perfetto_ipc_ipc_protos", |
| 1352 | srcs = [ |
| 1353 | "protos/perfetto/ipc/consumer_port.proto", |
| 1354 | "protos/perfetto/ipc/producer_port.proto", |
| 1355 | ], |
| 1356 | deps = [ |
| 1357 | ":protos_perfetto_common_protos", |
| 1358 | ":protos_perfetto_config_android_protos", |
| 1359 | ":protos_perfetto_config_ftrace_protos", |
| 1360 | ":protos_perfetto_config_gpu_protos", |
| 1361 | ":protos_perfetto_config_inode_file_protos", |
| 1362 | ":protos_perfetto_config_power_protos", |
| 1363 | ":protos_perfetto_config_process_stats_protos", |
| 1364 | ":protos_perfetto_config_profiling_protos", |
| 1365 | ":protos_perfetto_config_protos", |
| 1366 | ":protos_perfetto_config_sys_stats_protos", |
| 1367 | ":protos_perfetto_ipc_wire_protocol_protos", |
| 1368 | ], |
| 1369 | ) |
| 1370 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1371 | # GN target: //protos/perfetto/ipc:wire_protocol |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1372 | perfetto_cc_proto_library( |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1373 | name = "protos_perfetto_ipc_wire_protocol", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1374 | deps = [ |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1375 | ":protos_perfetto_ipc_wire_protocol_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1376 | ], |
| 1377 | ) |
| 1378 | |
| 1379 | # GN target: //protos/perfetto/ipc:wire_protocol |
| 1380 | perfetto_proto_library( |
| 1381 | name = "protos_perfetto_ipc_wire_protocol_protos", |
| 1382 | srcs = [ |
| 1383 | "protos/perfetto/ipc/wire_protocol.proto", |
| 1384 | ], |
| 1385 | ) |
| 1386 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1387 | # GN target: //protos/perfetto/metrics/android:lite |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1388 | perfetto_cc_proto_library( |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1389 | name = "protos_perfetto_metrics_android_lite", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1390 | deps = [ |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1391 | ":protos_perfetto_metrics_android_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1392 | ], |
| 1393 | ) |
| 1394 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1395 | # GN target: //protos/perfetto/metrics/android:zero |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1396 | perfetto_proto_library( |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1397 | name = "protos_perfetto_metrics_android_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1398 | srcs = [ |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1399 | "protos/perfetto/metrics/android/batt_metric.proto", |
| 1400 | "protos/perfetto/metrics/android/cpu_metric.proto", |
| 1401 | "protos/perfetto/metrics/android/heap_profile_callsite_stats.proto", |
| 1402 | "protos/perfetto/metrics/android/ion_metric.proto", |
| 1403 | "protos/perfetto/metrics/android/lmk_metric.proto", |
| 1404 | "protos/perfetto/metrics/android/mem_metric.proto", |
| 1405 | "protos/perfetto/metrics/android/mem_unagg_metric.proto", |
| 1406 | "protos/perfetto/metrics/android/package_list.proto", |
| 1407 | "protos/perfetto/metrics/android/powrails_metric.proto", |
| 1408 | "protos/perfetto/metrics/android/process_growth.proto", |
| 1409 | "protos/perfetto/metrics/android/startup_metric.proto", |
| 1410 | "protos/perfetto/metrics/android/unsymbolized_frames.proto", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1411 | ], |
| 1412 | ) |
| 1413 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1414 | # GN target: //protos/perfetto/metrics/android:zero |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1415 | perfetto_cc_protozero_library( |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1416 | name = "protos_perfetto_metrics_android_zero", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1417 | deps = [ |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1418 | ":protos_perfetto_metrics_android_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1419 | ], |
| 1420 | ) |
| 1421 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1422 | # GN target: //protos/perfetto/metrics:lite |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1423 | perfetto_cc_proto_library( |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1424 | name = "protos_perfetto_metrics_lite", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1425 | deps = [ |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1426 | ":protos_perfetto_metrics_protos", |
| 1427 | ], |
| 1428 | ) |
| 1429 | |
| 1430 | # GN target: //protos/perfetto/metrics:zero |
| 1431 | perfetto_proto_library( |
| 1432 | name = "protos_perfetto_metrics_protos", |
| 1433 | srcs = [ |
| 1434 | "protos/perfetto/metrics/metrics.proto", |
| 1435 | ], |
| 1436 | deps = [ |
| 1437 | ":protos_perfetto_metrics_android_protos", |
| 1438 | ], |
| 1439 | ) |
| 1440 | |
| 1441 | # GN target: //protos/perfetto/metrics:zero |
| 1442 | perfetto_cc_protozero_library( |
| 1443 | name = "protos_perfetto_metrics_zero", |
| 1444 | deps = [ |
| 1445 | ":protos_perfetto_metrics_protos", |
| 1446 | ], |
| 1447 | ) |
| 1448 | |
| 1449 | # GN target: //protos/perfetto/trace/android:lite |
| 1450 | perfetto_cc_proto_library( |
| 1451 | name = "protos_perfetto_trace_android_lite", |
| 1452 | deps = [ |
| 1453 | ":protos_perfetto_trace_android_protos", |
| 1454 | ], |
| 1455 | ) |
| 1456 | |
| 1457 | # GN target: //protos/perfetto/trace/android:zero |
| 1458 | perfetto_proto_library( |
| 1459 | name = "protos_perfetto_trace_android_protos", |
| 1460 | srcs = [ |
| 1461 | "protos/perfetto/trace/android/android_log.proto", |
| 1462 | "protos/perfetto/trace/android/graphics_frame_event.proto", |
| 1463 | "protos/perfetto/trace/android/packages_list.proto", |
| 1464 | ], |
| 1465 | deps = [ |
| 1466 | ":protos_perfetto_common_protos", |
| 1467 | ], |
| 1468 | ) |
| 1469 | |
| 1470 | # GN target: //protos/perfetto/trace/android:zero |
| 1471 | perfetto_cc_protozero_library( |
| 1472 | name = "protos_perfetto_trace_android_zero", |
| 1473 | deps = [ |
| 1474 | ":protos_perfetto_trace_android_protos", |
| 1475 | ], |
| 1476 | ) |
| 1477 | |
| 1478 | # GN target: //protos/perfetto/trace/chrome:lite |
| 1479 | perfetto_cc_proto_library( |
| 1480 | name = "protos_perfetto_trace_chrome_lite", |
| 1481 | deps = [ |
| 1482 | ":protos_perfetto_trace_chrome_protos", |
| 1483 | ], |
| 1484 | ) |
| 1485 | |
| 1486 | # GN target: //protos/perfetto/trace/chrome:zero |
| 1487 | perfetto_proto_library( |
| 1488 | name = "protos_perfetto_trace_chrome_protos", |
| 1489 | srcs = [ |
| 1490 | "protos/perfetto/trace/chrome/chrome_benchmark_metadata.proto", |
| 1491 | "protos/perfetto/trace/chrome/chrome_metadata.proto", |
| 1492 | "protos/perfetto/trace/chrome/chrome_trace_event.proto", |
| 1493 | ], |
| 1494 | ) |
| 1495 | |
| 1496 | # GN target: //protos/perfetto/trace/chrome:zero |
| 1497 | perfetto_cc_protozero_library( |
| 1498 | name = "protos_perfetto_trace_chrome_zero", |
| 1499 | deps = [ |
| 1500 | ":protos_perfetto_trace_chrome_protos", |
| 1501 | ], |
| 1502 | ) |
| 1503 | |
| 1504 | # GN target: //protos/perfetto/trace/filesystem:lite |
| 1505 | perfetto_cc_proto_library( |
| 1506 | name = "protos_perfetto_trace_filesystem_lite", |
| 1507 | deps = [ |
| 1508 | ":protos_perfetto_trace_filesystem_protos", |
| 1509 | ], |
| 1510 | ) |
| 1511 | |
| 1512 | # GN target: //protos/perfetto/trace/filesystem:zero |
| 1513 | perfetto_proto_library( |
| 1514 | name = "protos_perfetto_trace_filesystem_protos", |
| 1515 | srcs = [ |
| 1516 | "protos/perfetto/trace/filesystem/inode_file_map.proto", |
| 1517 | ], |
| 1518 | ) |
| 1519 | |
| 1520 | # GN target: //protos/perfetto/trace/filesystem:zero |
| 1521 | perfetto_cc_protozero_library( |
| 1522 | name = "protos_perfetto_trace_filesystem_zero", |
| 1523 | deps = [ |
| 1524 | ":protos_perfetto_trace_filesystem_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1525 | ], |
| 1526 | ) |
| 1527 | |
| 1528 | # GN target: //protos/perfetto/trace/ftrace:lite |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1529 | perfetto_cc_proto_library( |
| 1530 | name = "protos_perfetto_trace_ftrace_lite", |
| 1531 | deps = [ |
| 1532 | ":protos_perfetto_trace_ftrace_protos", |
| 1533 | ], |
| 1534 | ) |
| 1535 | |
| 1536 | # GN target: //protos/perfetto/trace/ftrace:zero |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1537 | perfetto_proto_library( |
| 1538 | name = "protos_perfetto_trace_ftrace_protos", |
| 1539 | srcs = [ |
| 1540 | "protos/perfetto/trace/ftrace/binder.proto", |
| 1541 | "protos/perfetto/trace/ftrace/block.proto", |
| 1542 | "protos/perfetto/trace/ftrace/cgroup.proto", |
| 1543 | "protos/perfetto/trace/ftrace/clk.proto", |
| 1544 | "protos/perfetto/trace/ftrace/compaction.proto", |
| 1545 | "protos/perfetto/trace/ftrace/ext4.proto", |
| 1546 | "protos/perfetto/trace/ftrace/f2fs.proto", |
| 1547 | "protos/perfetto/trace/ftrace/fence.proto", |
| 1548 | "protos/perfetto/trace/ftrace/filemap.proto", |
| 1549 | "protos/perfetto/trace/ftrace/ftrace.proto", |
| 1550 | "protos/perfetto/trace/ftrace/ftrace_event.proto", |
| 1551 | "protos/perfetto/trace/ftrace/ftrace_event_bundle.proto", |
| 1552 | "protos/perfetto/trace/ftrace/ftrace_stats.proto", |
| 1553 | "protos/perfetto/trace/ftrace/generic.proto", |
| 1554 | "protos/perfetto/trace/ftrace/i2c.proto", |
| 1555 | "protos/perfetto/trace/ftrace/ipi.proto", |
| 1556 | "protos/perfetto/trace/ftrace/irq.proto", |
| 1557 | "protos/perfetto/trace/ftrace/kmem.proto", |
| 1558 | "protos/perfetto/trace/ftrace/lowmemorykiller.proto", |
| 1559 | "protos/perfetto/trace/ftrace/mdss.proto", |
| 1560 | "protos/perfetto/trace/ftrace/mm_event.proto", |
| 1561 | "protos/perfetto/trace/ftrace/oom.proto", |
| 1562 | "protos/perfetto/trace/ftrace/power.proto", |
| 1563 | "protos/perfetto/trace/ftrace/raw_syscalls.proto", |
| 1564 | "protos/perfetto/trace/ftrace/regulator.proto", |
| 1565 | "protos/perfetto/trace/ftrace/sched.proto", |
| 1566 | "protos/perfetto/trace/ftrace/signal.proto", |
| 1567 | "protos/perfetto/trace/ftrace/sync.proto", |
| 1568 | "protos/perfetto/trace/ftrace/systrace.proto", |
| 1569 | "protos/perfetto/trace/ftrace/task.proto", |
| 1570 | "protos/perfetto/trace/ftrace/test_bundle_wrapper.proto", |
| 1571 | "protos/perfetto/trace/ftrace/vmscan.proto", |
| 1572 | "protos/perfetto/trace/ftrace/workqueue.proto", |
| 1573 | ], |
| 1574 | ) |
| 1575 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1576 | # GN target: //protos/perfetto/trace/ftrace:zero |
| 1577 | perfetto_cc_protozero_library( |
| 1578 | name = "protos_perfetto_trace_ftrace_zero", |
| 1579 | deps = [ |
| 1580 | ":protos_perfetto_trace_ftrace_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1581 | ], |
| 1582 | ) |
| 1583 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1584 | # GN target: //protos/perfetto/trace/gpu:lite |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1585 | perfetto_cc_proto_library( |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1586 | name = "protos_perfetto_trace_gpu_lite", |
| 1587 | deps = [ |
| 1588 | ":protos_perfetto_trace_gpu_protos", |
| 1589 | ], |
| 1590 | ) |
| 1591 | |
| 1592 | # GN target: //protos/perfetto/trace/gpu:zero |
| 1593 | perfetto_proto_library( |
| 1594 | name = "protos_perfetto_trace_gpu_protos", |
| 1595 | srcs = [ |
| 1596 | "protos/perfetto/trace/gpu/gpu_counter_event.proto", |
Raymond Chiu | c612b7f | 2019-09-18 14:53:28 -0700 | [diff] [blame] | 1597 | "protos/perfetto/trace/gpu/gpu_log.proto", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1598 | "protos/perfetto/trace/gpu/gpu_render_stage_event.proto", |
| 1599 | "protos/perfetto/trace/gpu/vulkan_memory_event.proto", |
| 1600 | ], |
| 1601 | deps = [ |
| 1602 | ":protos_perfetto_common_protos", |
| 1603 | ], |
| 1604 | ) |
| 1605 | |
| 1606 | # GN target: //protos/perfetto/trace/gpu:zero |
| 1607 | perfetto_cc_protozero_library( |
| 1608 | name = "protos_perfetto_trace_gpu_zero", |
| 1609 | deps = [ |
| 1610 | ":protos_perfetto_trace_gpu_protos", |
| 1611 | ], |
| 1612 | ) |
| 1613 | |
| 1614 | # GN target: //protos/perfetto/trace/interned_data:lite |
| 1615 | perfetto_cc_proto_library( |
| 1616 | name = "protos_perfetto_trace_interned_data_lite", |
| 1617 | deps = [ |
| 1618 | ":protos_perfetto_trace_interned_data_protos", |
| 1619 | ], |
| 1620 | ) |
| 1621 | |
| 1622 | # GN target: //protos/perfetto/trace/interned_data:zero |
| 1623 | perfetto_proto_library( |
| 1624 | name = "protos_perfetto_trace_interned_data_protos", |
| 1625 | srcs = [ |
| 1626 | "protos/perfetto/trace/interned_data/interned_data.proto", |
| 1627 | ], |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1628 | deps = [ |
| 1629 | ":protos_perfetto_trace_profiling_protos", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1630 | ":protos_perfetto_trace_track_event_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1631 | ], |
| 1632 | ) |
| 1633 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1634 | # GN target: //protos/perfetto/trace/interned_data:zero |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1635 | perfetto_cc_protozero_library( |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1636 | name = "protos_perfetto_trace_interned_data_zero", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1637 | deps = [ |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1638 | ":protos_perfetto_trace_interned_data_protos", |
| 1639 | ], |
| 1640 | ) |
| 1641 | |
| 1642 | # GN target: //protos/perfetto/trace:merged_trace |
| 1643 | perfetto_cc_proto_library( |
| 1644 | name = "protos_perfetto_trace_merged_trace", |
| 1645 | deps = [ |
| 1646 | ":protos_perfetto_trace_merged_trace_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1647 | ], |
| 1648 | ) |
| 1649 | |
Lalit Maganti | c3187f8 | 2019-09-20 14:51:11 +0100 | [diff] [blame] | 1650 | # GN target: //protos/perfetto/trace:merged_trace |
| 1651 | perfetto_proto_library( |
| 1652 | name = "protos_perfetto_trace_merged_trace_protos", |
| 1653 | srcs = [ |
| 1654 | "protos/perfetto/trace/perfetto_trace.proto", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1655 | ], |
Pascal Muetschard | b7cdea0 | 2019-09-23 15:25:20 -0700 | [diff] [blame] | 1656 | visibility = [ |
| 1657 | "//visibility:public", |
| 1658 | ], |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1659 | ) |
| 1660 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1661 | # GN target: //protos/perfetto/trace:minimal_lite |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1662 | perfetto_cc_proto_library( |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1663 | name = "protos_perfetto_trace_minimal_lite", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1664 | deps = [ |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1665 | ":protos_perfetto_trace_minimal_protos", |
| 1666 | ], |
| 1667 | ) |
| 1668 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1669 | # GN target: //protos/perfetto/trace:minimal_zero |
| 1670 | perfetto_proto_library( |
| 1671 | name = "protos_perfetto_trace_minimal_protos", |
| 1672 | srcs = [ |
| 1673 | "protos/perfetto/trace/clock_snapshot.proto", |
| 1674 | "protos/perfetto/trace/system_info.proto", |
| 1675 | "protos/perfetto/trace/trigger.proto", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1676 | ], |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1677 | deps = [ |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1678 | ":protos_perfetto_common_protos", |
| 1679 | ":protos_perfetto_config_android_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1680 | ":protos_perfetto_config_ftrace_protos", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1681 | ":protos_perfetto_config_gpu_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1682 | ":protos_perfetto_config_inode_file_protos", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1683 | ":protos_perfetto_config_power_protos", |
| 1684 | ":protos_perfetto_config_process_stats_protos", |
| 1685 | ":protos_perfetto_config_profiling_protos", |
| 1686 | ":protos_perfetto_config_protos", |
| 1687 | ":protos_perfetto_config_sys_stats_protos", |
| 1688 | ], |
| 1689 | ) |
| 1690 | |
| 1691 | # GN target: //protos/perfetto/trace:minimal_zero |
| 1692 | perfetto_cc_protozero_library( |
| 1693 | name = "protos_perfetto_trace_minimal_zero", |
| 1694 | deps = [ |
| 1695 | ":protos_perfetto_trace_minimal_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1696 | ], |
| 1697 | ) |
| 1698 | |
| 1699 | # GN target: //protos/perfetto/trace:non_minimal_lite |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1700 | perfetto_cc_proto_library( |
| 1701 | name = "protos_perfetto_trace_non_minimal_lite", |
| 1702 | deps = [ |
| 1703 | ":protos_perfetto_trace_non_minimal_protos", |
| 1704 | ], |
| 1705 | ) |
| 1706 | |
| 1707 | # GN target: //protos/perfetto/trace:non_minimal_zero |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1708 | perfetto_proto_library( |
| 1709 | name = "protos_perfetto_trace_non_minimal_protos", |
| 1710 | srcs = [ |
| 1711 | "protos/perfetto/trace/test_event.proto", |
| 1712 | "protos/perfetto/trace/trace.proto", |
| 1713 | "protos/perfetto/trace/trace_packet.proto", |
| 1714 | "protos/perfetto/trace/trace_packet_defaults.proto", |
| 1715 | ], |
| 1716 | deps = [ |
| 1717 | ":protos_perfetto_common_protos", |
| 1718 | ":protos_perfetto_config_android_protos", |
| 1719 | ":protos_perfetto_config_ftrace_protos", |
| 1720 | ":protos_perfetto_config_gpu_protos", |
| 1721 | ":protos_perfetto_config_inode_file_protos", |
| 1722 | ":protos_perfetto_config_power_protos", |
| 1723 | ":protos_perfetto_config_process_stats_protos", |
| 1724 | ":protos_perfetto_config_profiling_protos", |
| 1725 | ":protos_perfetto_config_protos", |
| 1726 | ":protos_perfetto_config_sys_stats_protos", |
| 1727 | ":protos_perfetto_trace_android_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1728 | ":protos_perfetto_trace_chrome_protos", |
| 1729 | ":protos_perfetto_trace_filesystem_protos", |
| 1730 | ":protos_perfetto_trace_ftrace_protos", |
| 1731 | ":protos_perfetto_trace_gpu_protos", |
| 1732 | ":protos_perfetto_trace_interned_data_protos", |
| 1733 | ":protos_perfetto_trace_minimal_protos", |
| 1734 | ":protos_perfetto_trace_perfetto_protos", |
| 1735 | ":protos_perfetto_trace_power_protos", |
| 1736 | ":protos_perfetto_trace_profiling_protos", |
| 1737 | ":protos_perfetto_trace_ps_protos", |
| 1738 | ":protos_perfetto_trace_sys_stats_protos", |
| 1739 | ":protos_perfetto_trace_track_event_protos", |
| 1740 | ], |
| 1741 | ) |
| 1742 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1743 | # GN target: //protos/perfetto/trace:non_minimal_zero |
| 1744 | perfetto_cc_protozero_library( |
| 1745 | name = "protos_perfetto_trace_non_minimal_zero", |
| 1746 | deps = [ |
| 1747 | ":protos_perfetto_trace_non_minimal_protos", |
| 1748 | ], |
| 1749 | ) |
| 1750 | |
| 1751 | # GN target: //protos/perfetto/trace/perfetto:lite |
| 1752 | perfetto_cc_proto_library( |
| 1753 | name = "protos_perfetto_trace_perfetto_lite", |
| 1754 | deps = [ |
| 1755 | ":protos_perfetto_trace_perfetto_protos", |
| 1756 | ], |
| 1757 | ) |
| 1758 | |
| 1759 | # GN target: //protos/perfetto/trace/perfetto:zero |
| 1760 | perfetto_proto_library( |
| 1761 | name = "protos_perfetto_trace_perfetto_protos", |
| 1762 | srcs = [ |
| 1763 | "protos/perfetto/trace/perfetto/perfetto_metatrace.proto", |
| 1764 | ], |
| 1765 | ) |
| 1766 | |
| 1767 | # GN target: //protos/perfetto/trace/perfetto:zero |
| 1768 | perfetto_cc_protozero_library( |
| 1769 | name = "protos_perfetto_trace_perfetto_zero", |
| 1770 | deps = [ |
| 1771 | ":protos_perfetto_trace_perfetto_protos", |
| 1772 | ], |
| 1773 | ) |
| 1774 | |
| 1775 | # GN target: //protos/perfetto/trace/power:lite |
| 1776 | perfetto_cc_proto_library( |
| 1777 | name = "protos_perfetto_trace_power_lite", |
| 1778 | deps = [ |
| 1779 | ":protos_perfetto_trace_power_protos", |
| 1780 | ], |
| 1781 | ) |
| 1782 | |
| 1783 | # GN target: //protos/perfetto/trace/power:zero |
| 1784 | perfetto_proto_library( |
| 1785 | name = "protos_perfetto_trace_power_protos", |
| 1786 | srcs = [ |
| 1787 | "protos/perfetto/trace/power/battery_counters.proto", |
| 1788 | "protos/perfetto/trace/power/power_rails.proto", |
| 1789 | ], |
| 1790 | ) |
| 1791 | |
| 1792 | # GN target: //protos/perfetto/trace/power:zero |
| 1793 | perfetto_cc_protozero_library( |
| 1794 | name = "protos_perfetto_trace_power_zero", |
| 1795 | deps = [ |
| 1796 | ":protos_perfetto_trace_power_protos", |
| 1797 | ], |
| 1798 | ) |
| 1799 | |
| 1800 | # GN target: //protos/perfetto/trace_processor:metrics_impl_zero |
| 1801 | perfetto_proto_library( |
| 1802 | name = "protos_perfetto_trace_processor_metrics_impl_protos", |
| 1803 | srcs = [ |
| 1804 | "protos/perfetto/trace_processor/metrics_impl.proto", |
| 1805 | ], |
| 1806 | ) |
| 1807 | |
| 1808 | # GN target: //protos/perfetto/trace_processor:metrics_impl_zero |
| 1809 | perfetto_cc_protozero_library( |
| 1810 | name = "protos_perfetto_trace_processor_metrics_impl_zero", |
| 1811 | deps = [ |
| 1812 | ":protos_perfetto_trace_processor_metrics_impl_protos", |
| 1813 | ], |
| 1814 | ) |
| 1815 | |
| 1816 | # GN target: //protos/perfetto/trace/profiling:lite |
| 1817 | perfetto_cc_proto_library( |
| 1818 | name = "protos_perfetto_trace_profiling_lite", |
| 1819 | deps = [ |
| 1820 | ":protos_perfetto_trace_profiling_protos", |
| 1821 | ], |
| 1822 | ) |
| 1823 | |
| 1824 | # GN target: //protos/perfetto/trace/profiling:zero |
| 1825 | perfetto_proto_library( |
| 1826 | name = "protos_perfetto_trace_profiling_protos", |
| 1827 | srcs = [ |
| 1828 | "protos/perfetto/trace/profiling/heap_graph.proto", |
| 1829 | "protos/perfetto/trace/profiling/profile_common.proto", |
| 1830 | "protos/perfetto/trace/profiling/profile_packet.proto", |
| 1831 | ], |
| 1832 | ) |
| 1833 | |
| 1834 | # GN target: //protos/perfetto/trace/profiling:zero |
| 1835 | perfetto_cc_protozero_library( |
| 1836 | name = "protos_perfetto_trace_profiling_zero", |
| 1837 | deps = [ |
| 1838 | ":protos_perfetto_trace_profiling_protos", |
| 1839 | ], |
| 1840 | ) |
| 1841 | |
| 1842 | # GN target: //protos/perfetto/trace/ps:lite |
| 1843 | perfetto_cc_proto_library( |
| 1844 | name = "protos_perfetto_trace_ps_lite", |
| 1845 | deps = [ |
| 1846 | ":protos_perfetto_trace_ps_protos", |
| 1847 | ], |
| 1848 | ) |
| 1849 | |
| 1850 | # GN target: //protos/perfetto/trace/ps:zero |
| 1851 | perfetto_proto_library( |
| 1852 | name = "protos_perfetto_trace_ps_protos", |
| 1853 | srcs = [ |
| 1854 | "protos/perfetto/trace/ps/process_stats.proto", |
| 1855 | "protos/perfetto/trace/ps/process_tree.proto", |
| 1856 | ], |
| 1857 | ) |
| 1858 | |
| 1859 | # GN target: //protos/perfetto/trace/ps:zero |
| 1860 | perfetto_cc_protozero_library( |
| 1861 | name = "protos_perfetto_trace_ps_zero", |
| 1862 | deps = [ |
| 1863 | ":protos_perfetto_trace_ps_protos", |
| 1864 | ], |
| 1865 | ) |
| 1866 | |
| 1867 | # GN target: //protos/perfetto/trace/sys_stats:lite |
| 1868 | perfetto_cc_proto_library( |
| 1869 | name = "protos_perfetto_trace_sys_stats_lite", |
| 1870 | deps = [ |
| 1871 | ":protos_perfetto_trace_sys_stats_protos", |
| 1872 | ], |
| 1873 | ) |
| 1874 | |
| 1875 | # GN target: //protos/perfetto/trace/sys_stats:zero |
| 1876 | perfetto_proto_library( |
| 1877 | name = "protos_perfetto_trace_sys_stats_protos", |
| 1878 | srcs = [ |
| 1879 | "protos/perfetto/trace/sys_stats/sys_stats.proto", |
| 1880 | ], |
| 1881 | deps = [ |
| 1882 | ":protos_perfetto_common_protos", |
| 1883 | ], |
| 1884 | ) |
| 1885 | |
| 1886 | # GN target: //protos/perfetto/trace/sys_stats:zero |
| 1887 | perfetto_cc_protozero_library( |
| 1888 | name = "protos_perfetto_trace_sys_stats_zero", |
| 1889 | deps = [ |
| 1890 | ":protos_perfetto_trace_sys_stats_protos", |
| 1891 | ], |
| 1892 | ) |
| 1893 | |
| 1894 | # GN target: //protos/perfetto/trace/track_event:lite |
| 1895 | perfetto_cc_proto_library( |
| 1896 | name = "protos_perfetto_trace_track_event_lite", |
| 1897 | deps = [ |
| 1898 | ":protos_perfetto_trace_track_event_protos", |
| 1899 | ], |
| 1900 | ) |
| 1901 | |
| 1902 | # GN target: //protos/perfetto/trace/track_event:zero |
| 1903 | perfetto_proto_library( |
| 1904 | name = "protos_perfetto_trace_track_event_protos", |
| 1905 | srcs = [ |
| 1906 | "protos/perfetto/trace/track_event/debug_annotation.proto", |
| 1907 | "protos/perfetto/trace/track_event/log_message.proto", |
| 1908 | "protos/perfetto/trace/track_event/process_descriptor.proto", |
| 1909 | "protos/perfetto/trace/track_event/source_location.proto", |
| 1910 | "protos/perfetto/trace/track_event/task_execution.proto", |
| 1911 | "protos/perfetto/trace/track_event/thread_descriptor.proto", |
| 1912 | "protos/perfetto/trace/track_event/track_descriptor.proto", |
| 1913 | "protos/perfetto/trace/track_event/track_event.proto", |
| 1914 | ], |
| 1915 | ) |
| 1916 | |
| 1917 | # GN target: //protos/perfetto/trace/track_event:zero |
| 1918 | perfetto_cc_protozero_library( |
| 1919 | name = "protos_perfetto_trace_track_event_zero", |
| 1920 | deps = [ |
| 1921 | ":protos_perfetto_trace_track_event_protos", |
| 1922 | ], |
| 1923 | ) |
| 1924 | |
| 1925 | # GN target: //protos/perfetto/trace:trusted_lite |
| 1926 | perfetto_cc_proto_library( |
| 1927 | name = "protos_perfetto_trace_trusted_lite", |
| 1928 | deps = [ |
| 1929 | ":protos_perfetto_trace_trusted_protos", |
| 1930 | ], |
| 1931 | ) |
| 1932 | |
| 1933 | # GN target: //protos/perfetto/trace:trusted_lite |
| 1934 | perfetto_proto_library( |
| 1935 | name = "protos_perfetto_trace_trusted_protos", |
| 1936 | srcs = [ |
| 1937 | "protos/perfetto/trace/trusted_packet.proto", |
| 1938 | ], |
| 1939 | deps = [ |
| 1940 | ":protos_perfetto_common_protos", |
| 1941 | ":protos_perfetto_config_android_protos", |
| 1942 | ":protos_perfetto_config_ftrace_protos", |
| 1943 | ":protos_perfetto_config_gpu_protos", |
| 1944 | ":protos_perfetto_config_inode_file_protos", |
| 1945 | ":protos_perfetto_config_power_protos", |
| 1946 | ":protos_perfetto_config_process_stats_protos", |
| 1947 | ":protos_perfetto_config_profiling_protos", |
| 1948 | ":protos_perfetto_config_protos", |
| 1949 | ":protos_perfetto_config_sys_stats_protos", |
| 1950 | ":protos_perfetto_trace_minimal_protos", |
| 1951 | ], |
| 1952 | ) |
| 1953 | |
| 1954 | # GN target: //protos/third_party/pprof:lite |
| 1955 | perfetto_cc_proto_library( |
| 1956 | name = "protos_third_party_pprof_lite", |
| 1957 | deps = [ |
| 1958 | ":protos_third_party_pprof_protos", |
| 1959 | ], |
| 1960 | ) |
| 1961 | |
| 1962 | # GN target: //protos/third_party/pprof:lite |
| 1963 | perfetto_proto_library( |
| 1964 | name = "protos_third_party_pprof_protos", |
| 1965 | srcs = [ |
| 1966 | "protos/third_party/pprof/profile.proto", |
| 1967 | ], |
| 1968 | ) |
| 1969 | |
| 1970 | # GN target: //src/perfetto_cmd:protos |
| 1971 | perfetto_cc_proto_library( |
| 1972 | name = "src_perfetto_cmd_protos", |
| 1973 | deps = [ |
| 1974 | ":src_perfetto_cmd_protos_protos", |
| 1975 | ], |
| 1976 | ) |
| 1977 | |
| 1978 | # GN target: //src/perfetto_cmd:protos |
| 1979 | perfetto_proto_library( |
| 1980 | name = "src_perfetto_cmd_protos_protos", |
| 1981 | srcs = [ |
| 1982 | "src/perfetto_cmd/perfetto_cmd_state.proto", |
| 1983 | ], |
| 1984 | ) |
| 1985 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1986 | # ############################################################################## |
| 1987 | # Public targets |
| 1988 | # ############################################################################## |
| 1989 | |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 1990 | # GN target: //:libperfetto_client_experimental |
| 1991 | perfetto_cc_library( |
| 1992 | name = "libperfetto_client_experimental", |
| 1993 | srcs = [ |
| 1994 | "include/perfetto/tracing.h", |
| 1995 | ":src_base_base", |
| 1996 | ":src_base_unix_socket", |
| 1997 | ":src_ipc_ipc", |
| 1998 | ":src_protozero_protozero", |
| 1999 | ":src_tracing_client_api", |
| 2000 | ":src_tracing_common", |
| 2001 | ":src_tracing_ipc", |
| 2002 | ":src_tracing_platform_posix", |
| 2003 | ":src_tracing_tracing", |
| 2004 | ], |
| 2005 | hdrs = [ |
| 2006 | ":include_perfetto_base_base", |
| 2007 | ":include_perfetto_ext_base_base", |
| 2008 | ":include_perfetto_ext_ipc_ipc", |
| 2009 | ":include_perfetto_ext_tracing_core_core", |
| 2010 | ":include_perfetto_ext_tracing_ipc_ipc", |
| 2011 | ":include_perfetto_protozero_protozero", |
| 2012 | ":include_perfetto_tracing_core_core", |
| 2013 | ":include_perfetto_tracing_tracing", |
| 2014 | ], |
| 2015 | visibility = [ |
| 2016 | "//visibility:public", |
| 2017 | ], |
| 2018 | deps = [ |
| 2019 | ":protos_perfetto_common_lite", |
| 2020 | ":protos_perfetto_common_zero", |
| 2021 | ":protos_perfetto_config_android_lite", |
| 2022 | ":protos_perfetto_config_android_zero", |
| 2023 | ":protos_perfetto_config_ftrace_lite", |
| 2024 | ":protos_perfetto_config_ftrace_zero", |
| 2025 | ":protos_perfetto_config_gpu_lite", |
| 2026 | ":protos_perfetto_config_gpu_zero", |
| 2027 | ":protos_perfetto_config_inode_file_lite", |
| 2028 | ":protos_perfetto_config_inode_file_zero", |
| 2029 | ":protos_perfetto_config_lite", |
| 2030 | ":protos_perfetto_config_power_lite", |
| 2031 | ":protos_perfetto_config_power_zero", |
| 2032 | ":protos_perfetto_config_process_stats_lite", |
| 2033 | ":protos_perfetto_config_process_stats_zero", |
| 2034 | ":protos_perfetto_config_profiling_lite", |
| 2035 | ":protos_perfetto_config_profiling_zero", |
| 2036 | ":protos_perfetto_config_sys_stats_lite", |
| 2037 | ":protos_perfetto_config_sys_stats_zero", |
| 2038 | ":protos_perfetto_config_zero", |
| 2039 | ":protos_perfetto_ipc_ipc", |
| 2040 | ":protos_perfetto_ipc_wire_protocol", |
| 2041 | ":protos_perfetto_trace_android_zero", |
| 2042 | ":protos_perfetto_trace_chrome_zero", |
| 2043 | ":protos_perfetto_trace_filesystem_zero", |
| 2044 | ":protos_perfetto_trace_ftrace_zero", |
| 2045 | ":protos_perfetto_trace_gpu_zero", |
| 2046 | ":protos_perfetto_trace_interned_data_zero", |
| 2047 | ":protos_perfetto_trace_minimal_lite", |
| 2048 | ":protos_perfetto_trace_minimal_zero", |
| 2049 | ":protos_perfetto_trace_non_minimal_zero", |
| 2050 | ":protos_perfetto_trace_perfetto_zero", |
| 2051 | ":protos_perfetto_trace_power_zero", |
| 2052 | ":protos_perfetto_trace_profiling_zero", |
| 2053 | ":protos_perfetto_trace_ps_zero", |
| 2054 | ":protos_perfetto_trace_sys_stats_zero", |
| 2055 | ":protos_perfetto_trace_track_event_zero", |
| 2056 | ":protos_perfetto_trace_trusted_lite", |
| 2057 | ] + PERFETTO_CONFIG.deps.protobuf_lite, |
| 2058 | ) |
| 2059 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2060 | # GN target: //src/perfetto_cmd:perfetto |
| 2061 | perfetto_cc_binary( |
| 2062 | name = "perfetto", |
| 2063 | srcs = [ |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2064 | "src/perfetto_cmd/main.cc", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2065 | ":include_perfetto_base_base", |
| 2066 | ":include_perfetto_ext_base_base", |
| 2067 | ":include_perfetto_ext_ipc_ipc", |
| 2068 | ":include_perfetto_ext_traced_traced", |
| 2069 | ":include_perfetto_ext_tracing_core_core", |
| 2070 | ":include_perfetto_ext_tracing_ipc_ipc", |
| 2071 | ":include_perfetto_protozero_protozero", |
| 2072 | ":include_perfetto_tracing_core_core", |
| 2073 | ":include_perfetto_tracing_tracing", |
| 2074 | ":src_android_internal_headers", |
| 2075 | ":src_android_internal_lazy_library_loader", |
| 2076 | ":src_base_base", |
| 2077 | ":src_base_unix_socket", |
| 2078 | ":src_ipc_ipc", |
| 2079 | ":src_perfetto_cmd_perfetto_cmd", |
| 2080 | ":src_perfetto_cmd_trigger_producer", |
| 2081 | ":src_protozero_protozero", |
| 2082 | ":src_tracing_common", |
| 2083 | ":src_tracing_ipc", |
| 2084 | ":src_tracing_tracing", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2085 | ], |
| 2086 | visibility = [ |
| 2087 | "//visibility:public", |
| 2088 | ], |
| 2089 | deps = [ |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2090 | ":protos_perfetto_common_lite", |
| 2091 | ":protos_perfetto_common_zero", |
| 2092 | ":protos_perfetto_config_android_lite", |
| 2093 | ":protos_perfetto_config_android_zero", |
| 2094 | ":protos_perfetto_config_ftrace_lite", |
| 2095 | ":protos_perfetto_config_ftrace_zero", |
| 2096 | ":protos_perfetto_config_gpu_lite", |
| 2097 | ":protos_perfetto_config_gpu_zero", |
| 2098 | ":protos_perfetto_config_inode_file_lite", |
| 2099 | ":protos_perfetto_config_inode_file_zero", |
| 2100 | ":protos_perfetto_config_lite", |
| 2101 | ":protos_perfetto_config_power_lite", |
| 2102 | ":protos_perfetto_config_power_zero", |
| 2103 | ":protos_perfetto_config_process_stats_lite", |
| 2104 | ":protos_perfetto_config_process_stats_zero", |
| 2105 | ":protos_perfetto_config_profiling_lite", |
| 2106 | ":protos_perfetto_config_profiling_zero", |
| 2107 | ":protos_perfetto_config_sys_stats_lite", |
| 2108 | ":protos_perfetto_config_sys_stats_zero", |
| 2109 | ":protos_perfetto_config_zero", |
| 2110 | ":protos_perfetto_ipc_ipc", |
| 2111 | ":protos_perfetto_ipc_wire_protocol", |
| 2112 | ":protos_perfetto_trace_android_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2113 | ":protos_perfetto_trace_chrome_zero", |
| 2114 | ":protos_perfetto_trace_filesystem_zero", |
| 2115 | ":protos_perfetto_trace_ftrace_zero", |
| 2116 | ":protos_perfetto_trace_gpu_zero", |
| 2117 | ":protos_perfetto_trace_interned_data_zero", |
| 2118 | ":protos_perfetto_trace_minimal_lite", |
| 2119 | ":protos_perfetto_trace_minimal_zero", |
| 2120 | ":protos_perfetto_trace_non_minimal_zero", |
| 2121 | ":protos_perfetto_trace_perfetto_zero", |
| 2122 | ":protos_perfetto_trace_power_zero", |
| 2123 | ":protos_perfetto_trace_profiling_zero", |
| 2124 | ":protos_perfetto_trace_ps_zero", |
| 2125 | ":protos_perfetto_trace_sys_stats_zero", |
| 2126 | ":protos_perfetto_trace_track_event_zero", |
| 2127 | ":protos_perfetto_trace_trusted_lite", |
| 2128 | ":src_perfetto_cmd_protos", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2129 | ] + PERFETTO_CONFIG.deps.protobuf_lite + |
| 2130 | PERFETTO_CONFIG.deps.zlib, |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2131 | ) |
| 2132 | |
| 2133 | # GN target: //src/trace_processor:trace_processor |
| 2134 | perfetto_cc_library( |
| 2135 | name = "trace_processor", |
| 2136 | srcs = [ |
| 2137 | ":src_base_base", |
| 2138 | ":src_protozero_protozero", |
| 2139 | ":src_trace_processor_common", |
| 2140 | ":src_trace_processor_db_lib", |
| 2141 | ":src_trace_processor_lib", |
| 2142 | ":src_trace_processor_metrics_lib", |
| 2143 | ":src_trace_processor_sqlite_sqlite", |
| 2144 | ":src_trace_processor_tables_tables", |
| 2145 | ], |
| 2146 | hdrs = [ |
| 2147 | ":include_perfetto_base_base", |
| 2148 | ":include_perfetto_ext_base_base", |
| 2149 | ":include_perfetto_ext_traced_sys_stats_counters", |
| 2150 | ":include_perfetto_protozero_protozero", |
| 2151 | ":include_perfetto_trace_processor_trace_processor", |
| 2152 | ], |
| 2153 | visibility = [ |
| 2154 | "//visibility:public", |
| 2155 | ], |
| 2156 | deps = [ |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2157 | ":protos_perfetto_common_zero", |
| 2158 | ":protos_perfetto_config_android_zero", |
| 2159 | ":protos_perfetto_config_ftrace_zero", |
| 2160 | ":protos_perfetto_config_gpu_zero", |
| 2161 | ":protos_perfetto_config_inode_file_zero", |
| 2162 | ":protos_perfetto_config_power_zero", |
| 2163 | ":protos_perfetto_config_process_stats_zero", |
| 2164 | ":protos_perfetto_config_profiling_zero", |
| 2165 | ":protos_perfetto_config_sys_stats_zero", |
| 2166 | ":protos_perfetto_config_zero", |
| 2167 | ":protos_perfetto_metrics_android_zero", |
| 2168 | ":protos_perfetto_metrics_zero", |
| 2169 | ":protos_perfetto_trace_android_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2170 | ":protos_perfetto_trace_chrome_zero", |
| 2171 | ":protos_perfetto_trace_filesystem_zero", |
| 2172 | ":protos_perfetto_trace_ftrace_zero", |
| 2173 | ":protos_perfetto_trace_gpu_zero", |
| 2174 | ":protos_perfetto_trace_interned_data_zero", |
| 2175 | ":protos_perfetto_trace_minimal_zero", |
| 2176 | ":protos_perfetto_trace_non_minimal_zero", |
| 2177 | ":protos_perfetto_trace_perfetto_zero", |
| 2178 | ":protos_perfetto_trace_power_zero", |
| 2179 | ":protos_perfetto_trace_processor_metrics_impl_zero", |
| 2180 | ":protos_perfetto_trace_profiling_zero", |
| 2181 | ":protos_perfetto_trace_ps_zero", |
| 2182 | ":protos_perfetto_trace_sys_stats_zero", |
| 2183 | ":protos_perfetto_trace_track_event_zero", |
| 2184 | ] + PERFETTO_CONFIG.deps.jsoncpp + |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2185 | PERFETTO_CONFIG.deps.sqlite + |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2186 | PERFETTO_CONFIG.deps.sqlite_ext_percentile + |
| 2187 | PERFETTO_CONFIG.deps.zlib + [ |
Lalit Maganti | a4244e4 | 2019-09-20 12:03:32 +0100 | [diff] [blame] | 2188 | ":cc_merged_sql_metrics", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2189 | ], |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2190 | ) |
| 2191 | |
| 2192 | # GN target: //src/trace_processor:trace_processor_shell |
| 2193 | perfetto_cc_binary( |
| 2194 | name = "trace_processor_shell", |
| 2195 | srcs = [ |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2196 | "src/trace_processor/proto_to_json.cc", |
| 2197 | "src/trace_processor/proto_to_json.h", |
| 2198 | "src/trace_processor/trace_processor_shell.cc", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2199 | ":include_perfetto_base_base", |
| 2200 | ":include_perfetto_ext_base_base", |
| 2201 | ":include_perfetto_ext_traced_sys_stats_counters", |
| 2202 | ":include_perfetto_protozero_protozero", |
| 2203 | ":include_perfetto_trace_processor_trace_processor", |
| 2204 | ":src_base_base", |
| 2205 | ":src_protozero_protozero", |
| 2206 | ":src_trace_processor_common", |
| 2207 | ":src_trace_processor_db_lib", |
| 2208 | ":src_trace_processor_lib", |
| 2209 | ":src_trace_processor_metrics_lib", |
| 2210 | ":src_trace_processor_sqlite_sqlite", |
| 2211 | ":src_trace_processor_tables_tables", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2212 | ], |
| 2213 | visibility = [ |
| 2214 | "//visibility:public", |
| 2215 | ], |
| 2216 | deps = [ |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2217 | ":protos_perfetto_common_zero", |
| 2218 | ":protos_perfetto_config_android_zero", |
| 2219 | ":protos_perfetto_config_ftrace_zero", |
| 2220 | ":protos_perfetto_config_gpu_zero", |
| 2221 | ":protos_perfetto_config_inode_file_zero", |
| 2222 | ":protos_perfetto_config_power_zero", |
| 2223 | ":protos_perfetto_config_process_stats_zero", |
| 2224 | ":protos_perfetto_config_profiling_zero", |
| 2225 | ":protos_perfetto_config_sys_stats_zero", |
| 2226 | ":protos_perfetto_config_zero", |
| 2227 | ":protos_perfetto_metrics_android_zero", |
| 2228 | ":protos_perfetto_metrics_zero", |
| 2229 | ":protos_perfetto_trace_android_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2230 | ":protos_perfetto_trace_chrome_zero", |
| 2231 | ":protos_perfetto_trace_filesystem_zero", |
| 2232 | ":protos_perfetto_trace_ftrace_zero", |
| 2233 | ":protos_perfetto_trace_gpu_zero", |
| 2234 | ":protos_perfetto_trace_interned_data_zero", |
| 2235 | ":protos_perfetto_trace_minimal_zero", |
| 2236 | ":protos_perfetto_trace_non_minimal_zero", |
| 2237 | ":protos_perfetto_trace_perfetto_zero", |
| 2238 | ":protos_perfetto_trace_power_zero", |
| 2239 | ":protos_perfetto_trace_processor_metrics_impl_zero", |
| 2240 | ":protos_perfetto_trace_profiling_zero", |
| 2241 | ":protos_perfetto_trace_ps_zero", |
| 2242 | ":protos_perfetto_trace_sys_stats_zero", |
| 2243 | ":protos_perfetto_trace_track_event_zero", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2244 | ] + PERFETTO_CONFIG.deps.jsoncpp + |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2245 | PERFETTO_CONFIG.deps.linenoise + |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2246 | PERFETTO_CONFIG.deps.protoc_lib + |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2247 | PERFETTO_CONFIG.deps.sqlite + |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2248 | PERFETTO_CONFIG.deps.sqlite_ext_percentile + |
| 2249 | PERFETTO_CONFIG.deps.zlib + [ |
Lalit Maganti | a4244e4 | 2019-09-20 12:03:32 +0100 | [diff] [blame] | 2250 | ":cc_merged_sql_metrics", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2251 | ], |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2252 | ) |
| 2253 | |
| 2254 | # GN target: //src/traced/probes:traced_probes |
| 2255 | perfetto_cc_binary( |
| 2256 | name = "traced_probes", |
| 2257 | srcs = [ |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2258 | "src/traced/probes/main.cc", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2259 | ":include_perfetto_ext_traced_traced", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2260 | ], |
| 2261 | visibility = [ |
| 2262 | "//visibility:public", |
| 2263 | ], |
| 2264 | deps = [ |
| 2265 | ":libperfetto", |
| 2266 | ], |
| 2267 | ) |
| 2268 | |
| 2269 | # GN target: //src/traced/service:traced |
| 2270 | perfetto_cc_binary( |
| 2271 | name = "traced", |
| 2272 | srcs = [ |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2273 | "src/traced/service/main.cc", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2274 | ":include_perfetto_ext_traced_traced", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2275 | ], |
| 2276 | visibility = [ |
| 2277 | "//visibility:public", |
| 2278 | ], |
| 2279 | deps = [ |
| 2280 | ":libperfetto", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 2281 | ], |
| 2282 | ) |
| 2283 | |
Ioannis Ilkos | bd4ee3f | 2019-06-21 17:40:09 +0100 | [diff] [blame] | 2284 | # GN target: //tools/trace_to_text:libpprofbuilder |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2285 | perfetto_cc_library( |
Primiano Tucci | 02c1176 | 2019-08-30 00:57:59 +0200 | [diff] [blame] | 2286 | name = "libpprofbuilder", |
Ioannis Ilkos | bd4ee3f | 2019-06-21 17:40:09 +0100 | [diff] [blame] | 2287 | srcs = [ |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2288 | ":src_base_base", |
Florian Mayer | 5403ce9 | 2019-09-19 19:55:17 +0100 | [diff] [blame] | 2289 | ":src_protozero_protozero", |
| 2290 | ":src_trace_processor_common", |
| 2291 | ":src_trace_processor_db_lib", |
| 2292 | ":src_trace_processor_lib", |
| 2293 | ":src_trace_processor_metrics_lib", |
| 2294 | ":src_trace_processor_sqlite_sqlite", |
| 2295 | ":src_trace_processor_tables_tables", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2296 | ":tools_trace_to_text_pprofbuilder", |
| 2297 | ":tools_trace_to_text_symbolizer", |
| 2298 | ":tools_trace_to_text_utils", |
Ioannis Ilkos | bd4ee3f | 2019-06-21 17:40:09 +0100 | [diff] [blame] | 2299 | ], |
| 2300 | hdrs = [ |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2301 | ":include_perfetto_base_base", |
| 2302 | ":include_perfetto_ext_base_base", |
| 2303 | ":include_perfetto_ext_traced_sys_stats_counters", |
Lalit Maganti | a4244e4 | 2019-09-20 12:03:32 +0100 | [diff] [blame] | 2304 | ":include_perfetto_profiling_symbolizer", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2305 | ":include_perfetto_protozero_protozero", |
Florian Mayer | 5403ce9 | 2019-09-19 19:55:17 +0100 | [diff] [blame] | 2306 | ":include_perfetto_trace_processor_trace_processor", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2307 | ], |
| 2308 | visibility = [ |
| 2309 | "//visibility:public", |
Ioannis Ilkos | bd4ee3f | 2019-06-21 17:40:09 +0100 | [diff] [blame] | 2310 | ], |
| 2311 | deps = [ |
Lalit Maganti | a4244e4 | 2019-09-20 12:03:32 +0100 | [diff] [blame] | 2312 | ":protos_perfetto_common_lite", |
| 2313 | ":protos_perfetto_common_zero", |
| 2314 | ":protos_perfetto_config_android_lite", |
| 2315 | ":protos_perfetto_config_android_zero", |
| 2316 | ":protos_perfetto_config_ftrace_lite", |
| 2317 | ":protos_perfetto_config_ftrace_zero", |
| 2318 | ":protos_perfetto_config_gpu_lite", |
| 2319 | ":protos_perfetto_config_gpu_zero", |
| 2320 | ":protos_perfetto_config_inode_file_lite", |
| 2321 | ":protos_perfetto_config_inode_file_zero", |
| 2322 | ":protos_perfetto_config_lite", |
| 2323 | ":protos_perfetto_config_power_lite", |
| 2324 | ":protos_perfetto_config_power_zero", |
| 2325 | ":protos_perfetto_config_process_stats_lite", |
| 2326 | ":protos_perfetto_config_process_stats_zero", |
| 2327 | ":protos_perfetto_config_profiling_lite", |
| 2328 | ":protos_perfetto_config_profiling_zero", |
| 2329 | ":protos_perfetto_config_sys_stats_lite", |
| 2330 | ":protos_perfetto_config_sys_stats_zero", |
| 2331 | ":protos_perfetto_config_zero", |
| 2332 | ":protos_perfetto_metrics_android_zero", |
| 2333 | ":protos_perfetto_metrics_zero", |
| 2334 | ":protos_perfetto_trace_android_lite", |
| 2335 | ":protos_perfetto_trace_android_zero", |
Lalit Maganti | a4244e4 | 2019-09-20 12:03:32 +0100 | [diff] [blame] | 2336 | ":protos_perfetto_trace_chrome_lite", |
| 2337 | ":protos_perfetto_trace_chrome_zero", |
| 2338 | ":protos_perfetto_trace_filesystem_lite", |
| 2339 | ":protos_perfetto_trace_filesystem_zero", |
| 2340 | ":protos_perfetto_trace_ftrace_lite", |
| 2341 | ":protos_perfetto_trace_ftrace_zero", |
| 2342 | ":protos_perfetto_trace_gpu_lite", |
| 2343 | ":protos_perfetto_trace_gpu_zero", |
| 2344 | ":protos_perfetto_trace_interned_data_lite", |
| 2345 | ":protos_perfetto_trace_interned_data_zero", |
| 2346 | ":protos_perfetto_trace_minimal_lite", |
| 2347 | ":protos_perfetto_trace_minimal_zero", |
| 2348 | ":protos_perfetto_trace_non_minimal_lite", |
| 2349 | ":protos_perfetto_trace_non_minimal_zero", |
| 2350 | ":protos_perfetto_trace_perfetto_lite", |
| 2351 | ":protos_perfetto_trace_perfetto_zero", |
| 2352 | ":protos_perfetto_trace_power_lite", |
| 2353 | ":protos_perfetto_trace_power_zero", |
| 2354 | ":protos_perfetto_trace_processor_metrics_impl_zero", |
| 2355 | ":protos_perfetto_trace_profiling_lite", |
| 2356 | ":protos_perfetto_trace_profiling_zero", |
| 2357 | ":protos_perfetto_trace_ps_lite", |
| 2358 | ":protos_perfetto_trace_ps_zero", |
| 2359 | ":protos_perfetto_trace_sys_stats_lite", |
| 2360 | ":protos_perfetto_trace_sys_stats_zero", |
| 2361 | ":protos_perfetto_trace_track_event_lite", |
| 2362 | ":protos_perfetto_trace_track_event_zero", |
| 2363 | ":protos_third_party_pprof_lite", |
| 2364 | ] + PERFETTO_CONFIG.deps.jsoncpp + |
Lalit Maganti | a4244e4 | 2019-09-20 12:03:32 +0100 | [diff] [blame] | 2365 | PERFETTO_CONFIG.deps.sqlite + |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2366 | PERFETTO_CONFIG.deps.sqlite_ext_percentile + |
| 2367 | PERFETTO_CONFIG.deps.zlib + [ |
Lalit Maganti | a4244e4 | 2019-09-20 12:03:32 +0100 | [diff] [blame] | 2368 | ":cc_merged_sql_metrics", |
| 2369 | ], |
Ioannis Ilkos | bd4ee3f | 2019-06-21 17:40:09 +0100 | [diff] [blame] | 2370 | ) |
| 2371 | |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2372 | # GN target: //tools/trace_to_text:trace_to_text |
| 2373 | perfetto_cc_binary( |
| 2374 | name = "trace_to_text", |
| 2375 | srcs = [ |
| 2376 | ":include_perfetto_base_base", |
| 2377 | ":include_perfetto_ext_base_base", |
| 2378 | ":include_perfetto_ext_traced_sys_stats_counters", |
Lalit Maganti | a4244e4 | 2019-09-20 12:03:32 +0100 | [diff] [blame] | 2379 | ":include_perfetto_profiling_symbolizer", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2380 | ":include_perfetto_protozero_protozero", |
| 2381 | ":include_perfetto_trace_processor_trace_processor", |
| 2382 | ":src_base_base", |
| 2383 | ":src_protozero_protozero", |
| 2384 | ":src_trace_processor_common", |
| 2385 | ":src_trace_processor_db_lib", |
| 2386 | ":src_trace_processor_lib", |
| 2387 | ":src_trace_processor_metrics_lib", |
| 2388 | ":src_trace_processor_sqlite_sqlite", |
| 2389 | ":src_trace_processor_tables_tables", |
| 2390 | ":tools_trace_to_text_common", |
| 2391 | ":tools_trace_to_text_full", |
| 2392 | ":tools_trace_to_text_local_symbolizer", |
| 2393 | ":tools_trace_to_text_pprofbuilder", |
| 2394 | ":tools_trace_to_text_symbolizer", |
| 2395 | ":tools_trace_to_text_utils", |
| 2396 | ], |
| 2397 | visibility = [ |
| 2398 | "//visibility:public", |
| 2399 | ], |
| 2400 | deps = [ |
| 2401 | ":protos_perfetto_common_lite", |
| 2402 | ":protos_perfetto_common_zero", |
| 2403 | ":protos_perfetto_config_android_lite", |
| 2404 | ":protos_perfetto_config_android_zero", |
| 2405 | ":protos_perfetto_config_ftrace_lite", |
| 2406 | ":protos_perfetto_config_ftrace_zero", |
| 2407 | ":protos_perfetto_config_gpu_lite", |
| 2408 | ":protos_perfetto_config_gpu_zero", |
| 2409 | ":protos_perfetto_config_inode_file_lite", |
| 2410 | ":protos_perfetto_config_inode_file_zero", |
| 2411 | ":protos_perfetto_config_lite", |
| 2412 | ":protos_perfetto_config_power_lite", |
| 2413 | ":protos_perfetto_config_power_zero", |
| 2414 | ":protos_perfetto_config_process_stats_lite", |
| 2415 | ":protos_perfetto_config_process_stats_zero", |
| 2416 | ":protos_perfetto_config_profiling_lite", |
| 2417 | ":protos_perfetto_config_profiling_zero", |
| 2418 | ":protos_perfetto_config_sys_stats_lite", |
| 2419 | ":protos_perfetto_config_sys_stats_zero", |
| 2420 | ":protos_perfetto_config_zero", |
| 2421 | ":protos_perfetto_metrics_android_zero", |
| 2422 | ":protos_perfetto_metrics_zero", |
| 2423 | ":protos_perfetto_trace_android_lite", |
| 2424 | ":protos_perfetto_trace_android_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2425 | ":protos_perfetto_trace_chrome_lite", |
| 2426 | ":protos_perfetto_trace_chrome_zero", |
| 2427 | ":protos_perfetto_trace_filesystem_lite", |
| 2428 | ":protos_perfetto_trace_filesystem_zero", |
| 2429 | ":protos_perfetto_trace_ftrace_lite", |
| 2430 | ":protos_perfetto_trace_ftrace_zero", |
| 2431 | ":protos_perfetto_trace_gpu_lite", |
| 2432 | ":protos_perfetto_trace_gpu_zero", |
| 2433 | ":protos_perfetto_trace_interned_data_lite", |
| 2434 | ":protos_perfetto_trace_interned_data_zero", |
| 2435 | ":protos_perfetto_trace_minimal_lite", |
| 2436 | ":protos_perfetto_trace_minimal_zero", |
| 2437 | ":protos_perfetto_trace_non_minimal_lite", |
| 2438 | ":protos_perfetto_trace_non_minimal_zero", |
| 2439 | ":protos_perfetto_trace_perfetto_lite", |
| 2440 | ":protos_perfetto_trace_perfetto_zero", |
| 2441 | ":protos_perfetto_trace_power_lite", |
| 2442 | ":protos_perfetto_trace_power_zero", |
| 2443 | ":protos_perfetto_trace_processor_metrics_impl_zero", |
| 2444 | ":protos_perfetto_trace_profiling_lite", |
| 2445 | ":protos_perfetto_trace_profiling_zero", |
| 2446 | ":protos_perfetto_trace_ps_lite", |
| 2447 | ":protos_perfetto_trace_ps_zero", |
| 2448 | ":protos_perfetto_trace_sys_stats_lite", |
| 2449 | ":protos_perfetto_trace_sys_stats_zero", |
| 2450 | ":protos_perfetto_trace_track_event_lite", |
| 2451 | ":protos_perfetto_trace_track_event_zero", |
| 2452 | ":protos_third_party_pprof_lite", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2453 | ] + PERFETTO_CONFIG.deps.jsoncpp + |
| 2454 | PERFETTO_CONFIG.deps.protobuf_full + |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2455 | PERFETTO_CONFIG.deps.sqlite + |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2456 | PERFETTO_CONFIG.deps.sqlite_ext_percentile + |
| 2457 | PERFETTO_CONFIG.deps.zlib + [ |
Lalit Maganti | a4244e4 | 2019-09-20 12:03:32 +0100 | [diff] [blame] | 2458 | ":cc_merged_sql_metrics", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2459 | ], |
| 2460 | ) |
| 2461 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2462 | # Content from BUILD.extras |
| 2463 | |
| 2464 | build_config_dir_ = "include/perfetto/base/build_configs/bazel" |
| 2465 | |
| 2466 | # Deliberately NOT a perfetto_cc_library, to avoid cyclic deps. |
| 2467 | # This is pulled as a default dep by all targets. |
Primiano Tucci | 02c1176 | 2019-08-30 00:57:59 +0200 | [diff] [blame] | 2468 | cc_library( |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2469 | name = "build_config_hdr", |
| 2470 | hdrs = [build_config_dir_ + "/perfetto_build_flags.h"], |
| 2471 | includes = [build_config_dir_], |
Primiano Tucci | 02c1176 | 2019-08-30 00:57:59 +0200 | [diff] [blame] | 2472 | ) |
| 2473 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2474 | perfetto_cc_library( |
| 2475 | name = "cc_merged_sql_metrics", |
| 2476 | hdrs = ["src/trace_processor/metrics/sql_metrics.h"], |
Primiano Tucci | 02c1176 | 2019-08-30 00:57:59 +0200 | [diff] [blame] | 2477 | ) |
| 2478 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2479 | perfetto_py_binary( |
Lalit Maganti | caac992 | 2019-05-01 10:40:53 +0100 | [diff] [blame] | 2480 | name = "gen_merged_sql_metrics_py", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 2481 | srcs = [ |
Lalit Maganti | ab619fa | 2019-05-02 12:56:37 +0100 | [diff] [blame] | 2482 | "tools/gen_merged_sql_metrics.py", |
| 2483 | ], |
| 2484 | main = "tools/gen_merged_sql_metrics.py", |
Florian Mayer | a5c1bd5 | 2019-08-02 11:01:34 +0100 | [diff] [blame] | 2485 | python_version = "PY2", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 2486 | ) |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2487 | |
| 2488 | perfetto_java_proto_library( |
| 2489 | name = "protos_perfetto_metrics_java", |
| 2490 | deps = [ |
| 2491 | ":protos_perfetto_metrics_protos", |
| 2492 | ], |
| 2493 | ) |
| 2494 | |
| 2495 | perfetto_java_proto_library( |
| 2496 | name = "protos_perfetto_metrics_android_java", |
| 2497 | deps = [ |
| 2498 | ":protos_perfetto_metrics_android_protos", |
| 2499 | ], |
| 2500 | ) |
| 2501 | |
Lalit Maganti | c3187f8 | 2019-09-20 14:51:11 +0100 | [diff] [blame] | 2502 | perfetto_java_proto_library( |
| 2503 | name = "protos_perfetto_trace_merged_trace_java", |
| 2504 | deps = [ |
| 2505 | ":protos_perfetto_trace_merged_trace_protos", |
| 2506 | ], |
| 2507 | ) |
| 2508 | |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2509 | perfetto_gensignature_internal_only( |
| 2510 | name = "trace_processor_sig", |
| 2511 | srcs = [ |
| 2512 | ":trace_processor_shell", |
| 2513 | ":trace_to_text", |
| 2514 | ], |
| 2515 | tags = [ |
| 2516 | "__TRACE_PROCESSOR_SIG_TAG1", |
| 2517 | "__TRACE_PROCESSOR_SIG_TAG2", |
| 2518 | ], |
| 2519 | ) |