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