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