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