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