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