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", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 192 | ":protos_perfetto_trace_minimal_zero", |
| 193 | ":protos_perfetto_trace_non_minimal_zero", |
| 194 | ":protos_perfetto_trace_perfetto_zero", |
| 195 | ":protos_perfetto_trace_power_zero", |
| 196 | ":protos_perfetto_trace_profiling_zero", |
| 197 | ":protos_perfetto_trace_ps_zero", |
| 198 | ":protos_perfetto_trace_sys_stats_zero", |
| 199 | ":protos_perfetto_trace_track_event_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 200 | ] + PERFETTO_CONFIG.deps.protobuf_lite, |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 201 | ) |
| 202 | |
| 203 | # GN target: //include/perfetto/base:base |
| 204 | filegroup( |
| 205 | name = "include_perfetto_base_base", |
| 206 | srcs = [ |
| 207 | "include/perfetto/base/build_config.h", |
| 208 | "include/perfetto/base/compiler.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 209 | "include/perfetto/base/export.h", |
| 210 | "include/perfetto/base/logging.h", |
| 211 | "include/perfetto/base/task_runner.h", |
| 212 | "include/perfetto/base/time.h", |
| 213 | ], |
| 214 | ) |
| 215 | |
| 216 | # GN target: //include/perfetto/ext/base:base |
| 217 | filegroup( |
| 218 | name = "include_perfetto_ext_base_base", |
| 219 | srcs = [ |
| 220 | "include/perfetto/ext/base/circular_queue.h", |
| 221 | "include/perfetto/ext/base/container_annotations.h", |
| 222 | "include/perfetto/ext/base/event_fd.h", |
| 223 | "include/perfetto/ext/base/file_utils.h", |
| 224 | "include/perfetto/ext/base/hash.h", |
| 225 | "include/perfetto/ext/base/lookup_set.h", |
| 226 | "include/perfetto/ext/base/metatrace.h", |
| 227 | "include/perfetto/ext/base/metatrace_events.h", |
| 228 | "include/perfetto/ext/base/no_destructor.h", |
| 229 | "include/perfetto/ext/base/optional.h", |
| 230 | "include/perfetto/ext/base/paged_memory.h", |
| 231 | "include/perfetto/ext/base/pipe.h", |
| 232 | "include/perfetto/ext/base/proc_utils.h", |
| 233 | "include/perfetto/ext/base/scoped_file.h", |
| 234 | "include/perfetto/ext/base/small_set.h", |
| 235 | "include/perfetto/ext/base/string_splitter.h", |
| 236 | "include/perfetto/ext/base/string_utils.h", |
| 237 | "include/perfetto/ext/base/string_view.h", |
| 238 | "include/perfetto/ext/base/string_writer.h", |
| 239 | "include/perfetto/ext/base/temp_file.h", |
| 240 | "include/perfetto/ext/base/thread_annotations.h", |
| 241 | "include/perfetto/ext/base/thread_checker.h", |
| 242 | "include/perfetto/ext/base/thread_task_runner.h", |
| 243 | "include/perfetto/ext/base/thread_utils.h", |
| 244 | "include/perfetto/ext/base/unix_socket.h", |
| 245 | "include/perfetto/ext/base/unix_task_runner.h", |
| 246 | "include/perfetto/ext/base/utils.h", |
| 247 | "include/perfetto/ext/base/uuid.h", |
| 248 | "include/perfetto/ext/base/waitable_event.h", |
| 249 | "include/perfetto/ext/base/watchdog.h", |
| 250 | "include/perfetto/ext/base/watchdog_noop.h", |
| 251 | "include/perfetto/ext/base/watchdog_posix.h", |
| 252 | "include/perfetto/ext/base/weak_ptr.h", |
| 253 | ], |
| 254 | ) |
| 255 | |
| 256 | # GN target: //include/perfetto/ext/ipc:ipc |
| 257 | filegroup( |
| 258 | name = "include_perfetto_ext_ipc_ipc", |
| 259 | srcs = [ |
| 260 | "include/perfetto/ext/ipc/async_result.h", |
| 261 | "include/perfetto/ext/ipc/basic_types.h", |
| 262 | "include/perfetto/ext/ipc/client.h", |
| 263 | "include/perfetto/ext/ipc/client_info.h", |
| 264 | "include/perfetto/ext/ipc/codegen_helpers.h", |
| 265 | "include/perfetto/ext/ipc/deferred.h", |
| 266 | "include/perfetto/ext/ipc/host.h", |
| 267 | "include/perfetto/ext/ipc/service.h", |
| 268 | "include/perfetto/ext/ipc/service_descriptor.h", |
| 269 | "include/perfetto/ext/ipc/service_proxy.h", |
| 270 | ], |
| 271 | ) |
| 272 | |
Eric Seckler | 7fb1d23 | 2019-10-23 14:42:43 +0100 | [diff] [blame] | 273 | # GN target: //include/perfetto/ext/trace_processor:export_json |
| 274 | filegroup( |
| 275 | name = "include_perfetto_ext_trace_processor_export_json", |
| 276 | srcs = [ |
| 277 | "include/perfetto/ext/trace_processor/export_json.h", |
| 278 | ], |
| 279 | ) |
| 280 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 281 | # GN target: //include/perfetto/ext/traced:sys_stats_counters |
| 282 | filegroup( |
| 283 | name = "include_perfetto_ext_traced_sys_stats_counters", |
| 284 | srcs = [ |
| 285 | "include/perfetto/ext/traced/sys_stats_counters.h", |
| 286 | ], |
| 287 | ) |
| 288 | |
| 289 | # GN target: //include/perfetto/ext/traced:traced |
| 290 | filegroup( |
| 291 | name = "include_perfetto_ext_traced_traced", |
| 292 | srcs = [ |
| 293 | "include/perfetto/ext/traced/data_source_types.h", |
| 294 | "include/perfetto/ext/traced/traced.h", |
| 295 | ], |
| 296 | ) |
| 297 | |
| 298 | # GN target: //include/perfetto/ext/tracing/core:core |
| 299 | filegroup( |
| 300 | name = "include_perfetto_ext_tracing_core_core", |
| 301 | srcs = [ |
| 302 | "include/perfetto/ext/tracing/core/basic_types.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 303 | "include/perfetto/ext/tracing/core/commit_data_request.h", |
| 304 | "include/perfetto/ext/tracing/core/consumer.h", |
| 305 | "include/perfetto/ext/tracing/core/observable_events.h", |
| 306 | "include/perfetto/ext/tracing/core/producer.h", |
| 307 | "include/perfetto/ext/tracing/core/shared_memory.h", |
| 308 | "include/perfetto/ext/tracing/core/shared_memory_abi.h", |
| 309 | "include/perfetto/ext/tracing/core/shared_memory_arbiter.h", |
| 310 | "include/perfetto/ext/tracing/core/slice.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 311 | "include/perfetto/ext/tracing/core/startup_trace_writer.h", |
| 312 | "include/perfetto/ext/tracing/core/startup_trace_writer_registry.h", |
| 313 | "include/perfetto/ext/tracing/core/trace_packet.h", |
| 314 | "include/perfetto/ext/tracing/core/trace_stats.h", |
| 315 | "include/perfetto/ext/tracing/core/trace_writer.h", |
| 316 | "include/perfetto/ext/tracing/core/tracing_service.h", |
| 317 | ], |
| 318 | ) |
| 319 | |
| 320 | # GN target: //include/perfetto/ext/tracing/ipc:ipc |
| 321 | filegroup( |
| 322 | name = "include_perfetto_ext_tracing_ipc_ipc", |
| 323 | srcs = [ |
| 324 | "include/perfetto/ext/tracing/ipc/consumer_ipc_client.h", |
| 325 | "include/perfetto/ext/tracing/ipc/default_socket.h", |
| 326 | "include/perfetto/ext/tracing/ipc/producer_ipc_client.h", |
| 327 | "include/perfetto/ext/tracing/ipc/service_ipc_host.h", |
| 328 | ], |
| 329 | ) |
| 330 | |
Lalit Maganti | a4244e4 | 2019-09-20 12:03:32 +0100 | [diff] [blame] | 331 | # GN target: //include/perfetto/profiling:symbolizer |
| 332 | filegroup( |
| 333 | name = "include_perfetto_profiling_symbolizer", |
| 334 | srcs = [ |
| 335 | "include/perfetto/profiling/pprof_builder.h", |
| 336 | "include/perfetto/profiling/symbolizer.h", |
| 337 | ], |
| 338 | ) |
| 339 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 340 | # GN target: //include/perfetto/protozero:protozero |
| 341 | filegroup( |
| 342 | name = "include_perfetto_protozero_protozero", |
| 343 | srcs = [ |
| 344 | "include/perfetto/protozero/contiguous_memory_range.h", |
Primiano Tucci | e4144b7 | 2019-11-07 16:10:19 +0000 | [diff] [blame] | 345 | "include/perfetto/protozero/copyable_ptr.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 346 | "include/perfetto/protozero/field.h", |
| 347 | "include/perfetto/protozero/message.h", |
| 348 | "include/perfetto/protozero/message_handle.h", |
| 349 | "include/perfetto/protozero/packed_repeated_fields.h", |
| 350 | "include/perfetto/protozero/proto_decoder.h", |
| 351 | "include/perfetto/protozero/proto_utils.h", |
| 352 | "include/perfetto/protozero/scattered_heap_buffer.h", |
| 353 | "include/perfetto/protozero/scattered_stream_null_delegate.h", |
| 354 | "include/perfetto/protozero/scattered_stream_writer.h", |
Primiano Tucci | 6a7fa5f | 2019-11-19 11:09:20 +0000 | [diff] [blame^] | 355 | "include/perfetto/protozero/static_buffer.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 356 | ], |
| 357 | ) |
| 358 | |
| 359 | # GN target: //include/perfetto/public:public |
| 360 | filegroup( |
| 361 | name = "include_perfetto_public_public", |
| 362 | srcs = [ |
| 363 | "include/perfetto/public/consumer_api.h", |
| 364 | ], |
| 365 | ) |
| 366 | |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 367 | # GN target: //include/perfetto/trace_processor:basic_types |
| 368 | filegroup( |
| 369 | name = "include_perfetto_trace_processor_basic_types", |
| 370 | srcs = [ |
| 371 | "include/perfetto/trace_processor/basic_types.h", |
| 372 | "include/perfetto/trace_processor/status.h", |
| 373 | ], |
| 374 | ) |
| 375 | |
| 376 | # GN target: //include/perfetto/trace_processor:storage |
| 377 | filegroup( |
| 378 | name = "include_perfetto_trace_processor_storage", |
| 379 | srcs = [ |
| 380 | "include/perfetto/trace_processor/trace_processor_storage.h", |
| 381 | ], |
| 382 | ) |
| 383 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 384 | # GN target: //include/perfetto/trace_processor:trace_processor |
| 385 | filegroup( |
| 386 | name = "include_perfetto_trace_processor_trace_processor", |
| 387 | srcs = [ |
Eric Seckler | 8f70bbf | 2019-10-09 09:37:43 +0100 | [diff] [blame] | 388 | "include/perfetto/trace_processor/read_trace.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 389 | "include/perfetto/trace_processor/trace_processor.h", |
| 390 | ], |
| 391 | ) |
| 392 | |
| 393 | # GN target: //include/perfetto/tracing/core:core |
| 394 | filegroup( |
| 395 | name = "include_perfetto_tracing_core_core", |
| 396 | srcs = [ |
| 397 | "include/perfetto/tracing/core/chrome_config.h", |
| 398 | "include/perfetto/tracing/core/data_source_config.h", |
| 399 | "include/perfetto/tracing/core/data_source_descriptor.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 400 | "include/perfetto/tracing/core/trace_config.h", |
| 401 | "include/perfetto/tracing/core/tracing_service_state.h", |
| 402 | ], |
| 403 | ) |
| 404 | |
| 405 | # GN target: //include/perfetto/tracing:tracing |
| 406 | filegroup( |
| 407 | name = "include_perfetto_tracing_tracing", |
| 408 | srcs = [ |
Florian Mayer | 974a8b8 | 2019-10-03 10:04:27 +0100 | [diff] [blame] | 409 | "include/perfetto/tracing/buffer_exhausted_policy.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 410 | "include/perfetto/tracing/data_source.h", |
| 411 | "include/perfetto/tracing/internal/basic_types.h", |
| 412 | "include/perfetto/tracing/internal/data_source_internal.h", |
| 413 | "include/perfetto/tracing/internal/tracing_muxer.h", |
| 414 | "include/perfetto/tracing/internal/tracing_tls.h", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 415 | "include/perfetto/tracing/internal/track_event_data_source.h", |
Sami Kyostila | 1eebf5e | 2019-10-24 17:36:15 +0100 | [diff] [blame] | 416 | "include/perfetto/tracing/internal/track_event_internal.h", |
| 417 | "include/perfetto/tracing/internal/track_event_macros.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 418 | "include/perfetto/tracing/locked_handle.h", |
| 419 | "include/perfetto/tracing/platform.h", |
| 420 | "include/perfetto/tracing/trace_writer_base.h", |
| 421 | "include/perfetto/tracing/tracing.h", |
| 422 | "include/perfetto/tracing/tracing_backend.h", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 423 | "include/perfetto/tracing/track_event.h", |
Sami Kyostila | 1eebf5e | 2019-10-24 17:36:15 +0100 | [diff] [blame] | 424 | "include/perfetto/tracing/track_event_category_registry.h", |
Sami Kyostila | 0c22984 | 2019-11-01 11:01:54 +0000 | [diff] [blame] | 425 | "include/perfetto/tracing/track_event_context.h", |
Sami Kyostila | be5d0e3 | 2019-11-07 12:53:25 +0000 | [diff] [blame] | 426 | "include/perfetto/tracing/track_event_interned_data_index.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 427 | ], |
| 428 | ) |
| 429 | |
| 430 | # GN target: //src/android_internal:headers |
| 431 | filegroup( |
| 432 | name = "src_android_internal_headers", |
| 433 | srcs = [ |
| 434 | "src/android_internal/atrace_hal.h", |
| 435 | "src/android_internal/dropbox_service.h", |
| 436 | "src/android_internal/health_hal.h", |
| 437 | "src/android_internal/incident_service.h", |
| 438 | "src/android_internal/power_stats_hal.h", |
| 439 | ], |
| 440 | ) |
| 441 | |
| 442 | # GN target: //src/android_internal:lazy_library_loader |
| 443 | filegroup( |
| 444 | name = "src_android_internal_lazy_library_loader", |
| 445 | srcs = [ |
| 446 | "src/android_internal/lazy_library_loader.cc", |
| 447 | "src/android_internal/lazy_library_loader.h", |
| 448 | ], |
| 449 | ) |
| 450 | |
| 451 | # GN target: //src/base:base |
| 452 | filegroup( |
| 453 | name = "src_base_base", |
| 454 | srcs = [ |
| 455 | "src/base/event_fd.cc", |
| 456 | "src/base/file_utils.cc", |
| 457 | "src/base/metatrace.cc", |
| 458 | "src/base/paged_memory.cc", |
| 459 | "src/base/pipe.cc", |
| 460 | "src/base/string_splitter.cc", |
| 461 | "src/base/string_utils.cc", |
| 462 | "src/base/string_view.cc", |
| 463 | "src/base/temp_file.cc", |
| 464 | "src/base/thread_checker.cc", |
| 465 | "src/base/thread_task_runner.cc", |
| 466 | "src/base/time.cc", |
| 467 | "src/base/unix_task_runner.cc", |
| 468 | "src/base/uuid.cc", |
| 469 | "src/base/virtual_destructors.cc", |
| 470 | "src/base/waitable_event.cc", |
| 471 | "src/base/watchdog_posix.cc", |
| 472 | ], |
| 473 | ) |
| 474 | |
| 475 | # GN target: //src/base:unix_socket |
| 476 | filegroup( |
| 477 | name = "src_base_unix_socket", |
| 478 | srcs = [ |
| 479 | "src/base/unix_socket.cc", |
| 480 | ], |
| 481 | ) |
| 482 | |
| 483 | # GN target: //src/ipc:ipc |
| 484 | filegroup( |
| 485 | name = "src_ipc_ipc", |
| 486 | srcs = [ |
| 487 | "src/ipc/buffered_frame_deserializer.cc", |
| 488 | "src/ipc/buffered_frame_deserializer.h", |
| 489 | "src/ipc/client_impl.cc", |
| 490 | "src/ipc/client_impl.h", |
| 491 | "src/ipc/deferred.cc", |
| 492 | "src/ipc/host_impl.cc", |
| 493 | "src/ipc/host_impl.h", |
| 494 | "src/ipc/service_proxy.cc", |
| 495 | "src/ipc/virtual_destructors.cc", |
| 496 | ], |
| 497 | ) |
| 498 | |
| 499 | # GN target: //src/perfetto_cmd:perfetto_cmd |
| 500 | filegroup( |
| 501 | name = "src_perfetto_cmd_perfetto_cmd", |
| 502 | srcs = [ |
| 503 | "src/perfetto_cmd/config.cc", |
| 504 | "src/perfetto_cmd/config.h", |
| 505 | "src/perfetto_cmd/packet_writer.cc", |
| 506 | "src/perfetto_cmd/packet_writer.h", |
| 507 | "src/perfetto_cmd/pbtxt_to_pb.cc", |
| 508 | "src/perfetto_cmd/pbtxt_to_pb.h", |
| 509 | "src/perfetto_cmd/perfetto_cmd.cc", |
| 510 | "src/perfetto_cmd/perfetto_cmd.h", |
| 511 | "src/perfetto_cmd/perfetto_config.descriptor.h", |
| 512 | "src/perfetto_cmd/rate_limiter.cc", |
| 513 | "src/perfetto_cmd/rate_limiter.h", |
| 514 | ], |
| 515 | ) |
| 516 | |
| 517 | # GN target: //src/perfetto_cmd:trigger_producer |
| 518 | filegroup( |
| 519 | name = "src_perfetto_cmd_trigger_producer", |
| 520 | srcs = [ |
| 521 | "src/perfetto_cmd/trigger_producer.cc", |
| 522 | "src/perfetto_cmd/trigger_producer.h", |
| 523 | ], |
| 524 | ) |
| 525 | |
| 526 | # GN target: //src/protozero:protozero |
| 527 | filegroup( |
| 528 | name = "src_protozero_protozero", |
| 529 | srcs = [ |
Primiano Tucci | 6a7813d | 2019-11-19 11:08:50 +0000 | [diff] [blame] | 530 | "src/protozero/field.cc", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 531 | "src/protozero/message.cc", |
| 532 | "src/protozero/message_handle.cc", |
Primiano Tucci | 03ac833 | 2019-11-06 13:30:36 +0000 | [diff] [blame] | 533 | "src/protozero/packed_repeated_fields.cc", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 534 | "src/protozero/proto_decoder.cc", |
| 535 | "src/protozero/scattered_heap_buffer.cc", |
| 536 | "src/protozero/scattered_stream_null_delegate.cc", |
| 537 | "src/protozero/scattered_stream_writer.cc", |
Primiano Tucci | 6a7fa5f | 2019-11-19 11:09:20 +0000 | [diff] [blame^] | 538 | "src/protozero/static_buffer.cc", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 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", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1077 | "src/tracing/core/startup_trace_writer.cc", |
| 1078 | "src/tracing/core/startup_trace_writer_registry.cc", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1079 | "src/tracing/core/trace_buffer.cc", |
| 1080 | "src/tracing/core/trace_buffer.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1081 | "src/tracing/core/trace_packet.cc", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1082 | "src/tracing/core/trace_writer_impl.cc", |
| 1083 | "src/tracing/core/trace_writer_impl.h", |
| 1084 | "src/tracing/core/tracing_service_impl.cc", |
| 1085 | "src/tracing/core/tracing_service_impl.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1086 | "src/tracing/core/virtual_destructors.cc", |
| 1087 | ], |
| 1088 | ) |
| 1089 | |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 1090 | # GN target: //tools/trace_to_text:common |
| 1091 | filegroup( |
| 1092 | name = "tools_trace_to_text_common", |
| 1093 | srcs = [ |
| 1094 | "tools/trace_to_text/main.cc", |
| 1095 | "tools/trace_to_text/symbolize_profile.cc", |
| 1096 | "tools/trace_to_text/symbolize_profile.h", |
Eric Seckler | a60a6b4 | 2019-10-07 10:35:48 +0100 | [diff] [blame] | 1097 | "tools/trace_to_text/trace_to_json.cc", |
| 1098 | "tools/trace_to_text/trace_to_json.h", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 1099 | "tools/trace_to_text/trace_to_profile.cc", |
| 1100 | "tools/trace_to_text/trace_to_profile.h", |
| 1101 | "tools/trace_to_text/trace_to_systrace.cc", |
| 1102 | "tools/trace_to_text/trace_to_systrace.h", |
| 1103 | "tools/trace_to_text/trace_to_text.h", |
| 1104 | ], |
| 1105 | ) |
| 1106 | |
| 1107 | # GN target: //tools/trace_to_text:full |
| 1108 | filegroup( |
| 1109 | name = "tools_trace_to_text_full", |
| 1110 | srcs = [ |
| 1111 | "tools/trace_to_text/proto_full_utils.cc", |
| 1112 | "tools/trace_to_text/proto_full_utils.h", |
| 1113 | "tools/trace_to_text/trace_to_text.cc", |
| 1114 | ], |
| 1115 | ) |
| 1116 | |
| 1117 | # GN target: //tools/trace_to_text:local_symbolizer |
| 1118 | filegroup( |
| 1119 | name = "tools_trace_to_text_local_symbolizer", |
| 1120 | srcs = [ |
| 1121 | "tools/trace_to_text/local_symbolizer.cc", |
| 1122 | "tools/trace_to_text/local_symbolizer.h", |
| 1123 | ], |
| 1124 | ) |
| 1125 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1126 | # GN target: //tools/trace_to_text:pprofbuilder |
| 1127 | filegroup( |
| 1128 | name = "tools_trace_to_text_pprofbuilder", |
| 1129 | srcs = [ |
| 1130 | "tools/trace_to_text/pprof_builder.cc", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1131 | ], |
| 1132 | ) |
| 1133 | |
| 1134 | # GN target: //tools/trace_to_text:symbolizer |
| 1135 | filegroup( |
| 1136 | name = "tools_trace_to_text_symbolizer", |
| 1137 | srcs = [ |
| 1138 | "tools/trace_to_text/symbolizer.cc", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1139 | ], |
| 1140 | ) |
| 1141 | |
| 1142 | # GN target: //tools/trace_to_text:utils |
| 1143 | filegroup( |
| 1144 | name = "tools_trace_to_text_utils", |
| 1145 | srcs = [ |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1146 | "tools/trace_to_text/utils.cc", |
| 1147 | "tools/trace_to_text/utils.h", |
| 1148 | ], |
| 1149 | ) |
| 1150 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1151 | # ############################################################################## |
| 1152 | # Proto libraries |
| 1153 | # ############################################################################## |
| 1154 | |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1155 | # GN target: //protos/perfetto/common:cpp |
| 1156 | perfetto_cc_protocpp_library( |
| 1157 | name = "protos_perfetto_common_cpp", |
| 1158 | deps = [ |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1159 | ":protos_perfetto_common_protos", |
Primiano Tucci | 6a7813d | 2019-11-19 11:08:50 +0000 | [diff] [blame] | 1160 | ":protos_perfetto_common_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1161 | ], |
| 1162 | ) |
| 1163 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1164 | # GN target: //protos/perfetto/common:lite |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1165 | perfetto_cc_proto_library( |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1166 | name = "protos_perfetto_common_lite", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1167 | deps = [ |
| 1168 | ":protos_perfetto_common_protos", |
| 1169 | ], |
| 1170 | ) |
| 1171 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1172 | # GN target: //protos/perfetto/common:zero |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1173 | perfetto_proto_library( |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1174 | name = "protos_perfetto_common_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1175 | srcs = [ |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1176 | "protos/perfetto/common/android_log_constants.proto", |
| 1177 | "protos/perfetto/common/commit_data_request.proto", |
| 1178 | "protos/perfetto/common/data_source_descriptor.proto", |
| 1179 | "protos/perfetto/common/descriptor.proto", |
| 1180 | "protos/perfetto/common/gpu_counter_descriptor.proto", |
| 1181 | "protos/perfetto/common/observable_events.proto", |
| 1182 | "protos/perfetto/common/sys_stats_counters.proto", |
| 1183 | "protos/perfetto/common/trace_stats.proto", |
| 1184 | "protos/perfetto/common/tracing_service_state.proto", |
| 1185 | "protos/perfetto/common/track_event_descriptor.proto", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1186 | ], |
| 1187 | ) |
| 1188 | |
| 1189 | # GN target: //protos/perfetto/common:zero |
| 1190 | perfetto_cc_protozero_library( |
| 1191 | name = "protos_perfetto_common_zero", |
| 1192 | deps = [ |
| 1193 | ":protos_perfetto_common_protos", |
| 1194 | ], |
| 1195 | ) |
| 1196 | |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1197 | # GN target: //protos/perfetto/config/android:cpp |
| 1198 | perfetto_cc_protocpp_library( |
| 1199 | name = "protos_perfetto_config_android_cpp", |
| 1200 | deps = [ |
Hector Dearman | 70fc6ca | 2019-10-23 13:57:43 +0100 | [diff] [blame] | 1201 | ":protos_perfetto_config_android_protos", |
Primiano Tucci | 6a7813d | 2019-11-19 11:08:50 +0000 | [diff] [blame] | 1202 | ":protos_perfetto_config_android_zero", |
| 1203 | ":protos_perfetto_common_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1204 | ":protos_perfetto_common_cpp", |
| 1205 | ], |
| 1206 | ) |
| 1207 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1208 | # GN target: //protos/perfetto/config/android:lite |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1209 | perfetto_cc_proto_library( |
| 1210 | name = "protos_perfetto_config_android_lite", |
| 1211 | deps = [ |
| 1212 | ":protos_perfetto_config_android_protos", |
| 1213 | ], |
| 1214 | ) |
| 1215 | |
| 1216 | # GN target: //protos/perfetto/config/android:zero |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1217 | perfetto_proto_library( |
| 1218 | name = "protos_perfetto_config_android_protos", |
| 1219 | srcs = [ |
| 1220 | "protos/perfetto/config/android/android_log_config.proto", |
| 1221 | "protos/perfetto/config/android/packages_list_config.proto", |
| 1222 | ], |
| 1223 | deps = [ |
| 1224 | ":protos_perfetto_common_protos", |
| 1225 | ], |
| 1226 | ) |
| 1227 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1228 | # GN target: //protos/perfetto/config/android:zero |
| 1229 | perfetto_cc_protozero_library( |
| 1230 | name = "protos_perfetto_config_android_zero", |
| 1231 | deps = [ |
| 1232 | ":protos_perfetto_config_android_protos", |
| 1233 | ], |
| 1234 | ) |
| 1235 | |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1236 | # GN target: //protos/perfetto/config:cpp |
| 1237 | perfetto_cc_protocpp_library( |
| 1238 | name = "protos_perfetto_config_cpp", |
| 1239 | deps = [ |
Hector Dearman | 70fc6ca | 2019-10-23 13:57:43 +0100 | [diff] [blame] | 1240 | ":protos_perfetto_config_protos", |
Primiano Tucci | 6a7813d | 2019-11-19 11:08:50 +0000 | [diff] [blame] | 1241 | ":protos_perfetto_config_gpu_zero", |
| 1242 | ":protos_perfetto_config_profiling_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1243 | ":protos_perfetto_config_android_cpp", |
Primiano Tucci | 6a7813d | 2019-11-19 11:08:50 +0000 | [diff] [blame] | 1244 | ":protos_perfetto_config_sys_stats_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1245 | ":protos_perfetto_common_cpp", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1246 | ":protos_perfetto_config_process_stats_cpp", |
Primiano Tucci | 6a7813d | 2019-11-19 11:08:50 +0000 | [diff] [blame] | 1247 | ":protos_perfetto_config_power_zero", |
| 1248 | ":protos_perfetto_config_ftrace_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1249 | ":protos_perfetto_config_power_cpp", |
Primiano Tucci | 6a7813d | 2019-11-19 11:08:50 +0000 | [diff] [blame] | 1250 | ":protos_perfetto_config_inode_file_cpp", |
| 1251 | ":protos_perfetto_config_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1252 | ":protos_perfetto_config_profiling_cpp", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1253 | ":protos_perfetto_config_gpu_cpp", |
Primiano Tucci | 6a7813d | 2019-11-19 11:08:50 +0000 | [diff] [blame] | 1254 | ":protos_perfetto_config_inode_file_zero", |
| 1255 | ":protos_perfetto_config_android_zero", |
| 1256 | ":protos_perfetto_config_process_stats_zero", |
| 1257 | ":protos_perfetto_common_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1258 | ":protos_perfetto_config_ftrace_cpp", |
| 1259 | ":protos_perfetto_config_sys_stats_cpp", |
| 1260 | ], |
| 1261 | ) |
| 1262 | |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1263 | # GN target: //protos/perfetto/config/ftrace:cpp |
| 1264 | perfetto_cc_protocpp_library( |
| 1265 | name = "protos_perfetto_config_ftrace_cpp", |
| 1266 | deps = [ |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1267 | ":protos_perfetto_config_ftrace_protos", |
Primiano Tucci | 6a7813d | 2019-11-19 11:08:50 +0000 | [diff] [blame] | 1268 | ":protos_perfetto_config_ftrace_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1269 | ], |
| 1270 | ) |
| 1271 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1272 | # GN target: //protos/perfetto/config/ftrace:lite |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1273 | perfetto_cc_proto_library( |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1274 | name = "protos_perfetto_config_ftrace_lite", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1275 | deps = [ |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1276 | ":protos_perfetto_config_ftrace_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1277 | ], |
| 1278 | ) |
| 1279 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1280 | # GN target: //protos/perfetto/config/ftrace:zero |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1281 | perfetto_proto_library( |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1282 | name = "protos_perfetto_config_ftrace_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1283 | srcs = [ |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1284 | "protos/perfetto/config/ftrace/ftrace_config.proto", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1285 | ], |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1286 | ) |
| 1287 | |
| 1288 | # GN target: //protos/perfetto/config/ftrace:zero |
| 1289 | perfetto_cc_protozero_library( |
| 1290 | name = "protos_perfetto_config_ftrace_zero", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1291 | deps = [ |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1292 | ":protos_perfetto_config_ftrace_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1293 | ], |
| 1294 | ) |
| 1295 | |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1296 | # GN target: //protos/perfetto/config/gpu:cpp |
| 1297 | perfetto_cc_protocpp_library( |
| 1298 | name = "protos_perfetto_config_gpu_cpp", |
| 1299 | deps = [ |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1300 | ":protos_perfetto_config_gpu_protos", |
Primiano Tucci | 6a7813d | 2019-11-19 11:08:50 +0000 | [diff] [blame] | 1301 | ":protos_perfetto_config_gpu_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1302 | ], |
| 1303 | ) |
| 1304 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1305 | # GN target: //protos/perfetto/config/gpu:lite |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1306 | perfetto_cc_proto_library( |
| 1307 | name = "protos_perfetto_config_gpu_lite", |
| 1308 | deps = [ |
| 1309 | ":protos_perfetto_config_gpu_protos", |
| 1310 | ], |
| 1311 | ) |
| 1312 | |
| 1313 | # GN target: //protos/perfetto/config/gpu:zero |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1314 | perfetto_proto_library( |
| 1315 | name = "protos_perfetto_config_gpu_protos", |
| 1316 | srcs = [ |
| 1317 | "protos/perfetto/config/gpu/gpu_counter_config.proto", |
| 1318 | ], |
| 1319 | ) |
| 1320 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1321 | # GN target: //protos/perfetto/config/gpu:zero |
| 1322 | perfetto_cc_protozero_library( |
| 1323 | name = "protos_perfetto_config_gpu_zero", |
| 1324 | deps = [ |
| 1325 | ":protos_perfetto_config_gpu_protos", |
| 1326 | ], |
| 1327 | ) |
| 1328 | |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1329 | # GN target: //protos/perfetto/config/inode_file:cpp |
| 1330 | perfetto_cc_protocpp_library( |
| 1331 | name = "protos_perfetto_config_inode_file_cpp", |
| 1332 | deps = [ |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1333 | ":protos_perfetto_config_inode_file_protos", |
Primiano Tucci | 6a7813d | 2019-11-19 11:08:50 +0000 | [diff] [blame] | 1334 | ":protos_perfetto_config_inode_file_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1335 | ], |
| 1336 | ) |
| 1337 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1338 | # GN target: //protos/perfetto/config/inode_file:lite |
| 1339 | perfetto_cc_proto_library( |
| 1340 | name = "protos_perfetto_config_inode_file_lite", |
| 1341 | deps = [ |
| 1342 | ":protos_perfetto_config_inode_file_protos", |
| 1343 | ], |
| 1344 | ) |
| 1345 | |
| 1346 | # GN target: //protos/perfetto/config/inode_file:zero |
| 1347 | perfetto_proto_library( |
| 1348 | name = "protos_perfetto_config_inode_file_protos", |
| 1349 | srcs = [ |
| 1350 | "protos/perfetto/config/inode_file/inode_file_config.proto", |
| 1351 | ], |
| 1352 | ) |
| 1353 | |
| 1354 | # GN target: //protos/perfetto/config/inode_file:zero |
| 1355 | perfetto_cc_protozero_library( |
| 1356 | name = "protos_perfetto_config_inode_file_zero", |
| 1357 | deps = [ |
| 1358 | ":protos_perfetto_config_inode_file_protos", |
| 1359 | ], |
| 1360 | ) |
| 1361 | |
| 1362 | # GN target: //protos/perfetto/config:lite |
| 1363 | perfetto_cc_proto_library( |
| 1364 | name = "protos_perfetto_config_lite", |
| 1365 | deps = [ |
| 1366 | ":protos_perfetto_config_protos", |
| 1367 | ], |
| 1368 | ) |
| 1369 | |
Pascal Muetschard | b7cdea0 | 2019-09-23 15:25:20 -0700 | [diff] [blame] | 1370 | # GN target: //protos/perfetto/config:merged_config |
| 1371 | perfetto_cc_proto_library( |
| 1372 | name = "protos_perfetto_config_merged_config", |
| 1373 | deps = [ |
| 1374 | ":protos_perfetto_config_merged_config_protos", |
| 1375 | ], |
| 1376 | ) |
| 1377 | |
Pascal Muetschard | b7cdea0 | 2019-09-23 15:25:20 -0700 | [diff] [blame] | 1378 | # GN target: //protos/perfetto/config:merged_config |
| 1379 | perfetto_proto_library( |
| 1380 | name = "protos_perfetto_config_merged_config_protos", |
| 1381 | srcs = [ |
| 1382 | "protos/perfetto/config/perfetto_config.proto", |
| 1383 | ], |
| 1384 | visibility = [ |
| 1385 | "//visibility:public", |
| 1386 | ], |
| 1387 | ) |
| 1388 | |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1389 | # GN target: //protos/perfetto/config/power:cpp |
| 1390 | perfetto_cc_protocpp_library( |
| 1391 | name = "protos_perfetto_config_power_cpp", |
| 1392 | deps = [ |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1393 | ":protos_perfetto_config_power_protos", |
Primiano Tucci | 6a7813d | 2019-11-19 11:08:50 +0000 | [diff] [blame] | 1394 | ":protos_perfetto_config_power_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1395 | ], |
| 1396 | ) |
| 1397 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1398 | # GN target: //protos/perfetto/config/power:lite |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1399 | perfetto_cc_proto_library( |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1400 | name = "protos_perfetto_config_power_lite", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1401 | deps = [ |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1402 | ":protos_perfetto_config_power_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1403 | ], |
| 1404 | ) |
| 1405 | |
| 1406 | # GN target: //protos/perfetto/config/power:zero |
| 1407 | perfetto_proto_library( |
| 1408 | name = "protos_perfetto_config_power_protos", |
| 1409 | srcs = [ |
| 1410 | "protos/perfetto/config/power/android_power_config.proto", |
| 1411 | ], |
| 1412 | ) |
| 1413 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1414 | # GN target: //protos/perfetto/config/power:zero |
| 1415 | perfetto_cc_protozero_library( |
| 1416 | name = "protos_perfetto_config_power_zero", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1417 | deps = [ |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1418 | ":protos_perfetto_config_power_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1419 | ], |
| 1420 | ) |
| 1421 | |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1422 | # GN target: //protos/perfetto/config/process_stats:cpp |
| 1423 | perfetto_cc_protocpp_library( |
| 1424 | name = "protos_perfetto_config_process_stats_cpp", |
| 1425 | deps = [ |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1426 | ":protos_perfetto_config_process_stats_protos", |
Primiano Tucci | 6a7813d | 2019-11-19 11:08:50 +0000 | [diff] [blame] | 1427 | ":protos_perfetto_config_process_stats_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1428 | ], |
| 1429 | ) |
| 1430 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1431 | # GN target: //protos/perfetto/config/process_stats:lite |
| 1432 | perfetto_cc_proto_library( |
| 1433 | name = "protos_perfetto_config_process_stats_lite", |
| 1434 | deps = [ |
| 1435 | ":protos_perfetto_config_process_stats_protos", |
| 1436 | ], |
| 1437 | ) |
| 1438 | |
| 1439 | # GN target: //protos/perfetto/config/process_stats:zero |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1440 | perfetto_proto_library( |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1441 | name = "protos_perfetto_config_process_stats_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1442 | srcs = [ |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1443 | "protos/perfetto/config/process_stats/process_stats_config.proto", |
| 1444 | ], |
| 1445 | ) |
| 1446 | |
| 1447 | # GN target: //protos/perfetto/config/process_stats:zero |
| 1448 | perfetto_cc_protozero_library( |
| 1449 | name = "protos_perfetto_config_process_stats_zero", |
| 1450 | deps = [ |
| 1451 | ":protos_perfetto_config_process_stats_protos", |
| 1452 | ], |
| 1453 | ) |
| 1454 | |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1455 | # GN target: //protos/perfetto/config/profiling:cpp |
| 1456 | perfetto_cc_protocpp_library( |
| 1457 | name = "protos_perfetto_config_profiling_cpp", |
| 1458 | deps = [ |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1459 | ":protos_perfetto_config_profiling_protos", |
Primiano Tucci | 6a7813d | 2019-11-19 11:08:50 +0000 | [diff] [blame] | 1460 | ":protos_perfetto_config_profiling_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1461 | ], |
| 1462 | ) |
| 1463 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1464 | # GN target: //protos/perfetto/config/profiling:lite |
| 1465 | perfetto_cc_proto_library( |
| 1466 | name = "protos_perfetto_config_profiling_lite", |
| 1467 | deps = [ |
| 1468 | ":protos_perfetto_config_profiling_protos", |
| 1469 | ], |
| 1470 | ) |
| 1471 | |
| 1472 | # GN target: //protos/perfetto/config/profiling:zero |
| 1473 | perfetto_proto_library( |
| 1474 | name = "protos_perfetto_config_profiling_protos", |
| 1475 | srcs = [ |
| 1476 | "protos/perfetto/config/profiling/heapprofd_config.proto", |
| 1477 | "protos/perfetto/config/profiling/java_hprof_config.proto", |
| 1478 | ], |
| 1479 | ) |
| 1480 | |
| 1481 | # GN target: //protos/perfetto/config/profiling:zero |
| 1482 | perfetto_cc_protozero_library( |
| 1483 | name = "protos_perfetto_config_profiling_zero", |
| 1484 | deps = [ |
| 1485 | ":protos_perfetto_config_profiling_protos", |
| 1486 | ], |
| 1487 | ) |
| 1488 | |
| 1489 | # GN target: //protos/perfetto/config:zero |
| 1490 | perfetto_proto_library( |
| 1491 | name = "protos_perfetto_config_protos", |
| 1492 | srcs = [ |
| 1493 | "protos/perfetto/config/chrome/chrome_config.proto", |
| 1494 | "protos/perfetto/config/data_source_config.proto", |
| 1495 | "protos/perfetto/config/test_config.proto", |
| 1496 | "protos/perfetto/config/trace_config.proto", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1497 | ], |
| 1498 | deps = [ |
| 1499 | ":protos_perfetto_common_protos", |
| 1500 | ":protos_perfetto_config_android_protos", |
| 1501 | ":protos_perfetto_config_ftrace_protos", |
| 1502 | ":protos_perfetto_config_gpu_protos", |
| 1503 | ":protos_perfetto_config_inode_file_protos", |
| 1504 | ":protos_perfetto_config_power_protos", |
| 1505 | ":protos_perfetto_config_process_stats_protos", |
| 1506 | ":protos_perfetto_config_profiling_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1507 | ":protos_perfetto_config_sys_stats_protos", |
| 1508 | ], |
| 1509 | ) |
| 1510 | |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1511 | # GN target: //protos/perfetto/config/sys_stats:cpp |
| 1512 | perfetto_cc_protocpp_library( |
| 1513 | name = "protos_perfetto_config_sys_stats_cpp", |
| 1514 | deps = [ |
Hector Dearman | 70fc6ca | 2019-10-23 13:57:43 +0100 | [diff] [blame] | 1515 | ":protos_perfetto_config_sys_stats_protos", |
Primiano Tucci | 6a7813d | 2019-11-19 11:08:50 +0000 | [diff] [blame] | 1516 | ":protos_perfetto_config_sys_stats_zero", |
| 1517 | ":protos_perfetto_common_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1518 | ":protos_perfetto_common_cpp", |
| 1519 | ], |
| 1520 | ) |
| 1521 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1522 | # GN target: //protos/perfetto/config/sys_stats:lite |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1523 | perfetto_cc_proto_library( |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1524 | name = "protos_perfetto_config_sys_stats_lite", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1525 | deps = [ |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1526 | ":protos_perfetto_config_sys_stats_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1527 | ], |
| 1528 | ) |
| 1529 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1530 | # GN target: //protos/perfetto/config/sys_stats:zero |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1531 | perfetto_proto_library( |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1532 | name = "protos_perfetto_config_sys_stats_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1533 | srcs = [ |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1534 | "protos/perfetto/config/sys_stats/sys_stats_config.proto", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1535 | ], |
| 1536 | deps = [ |
| 1537 | ":protos_perfetto_common_protos", |
| 1538 | ], |
| 1539 | ) |
| 1540 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1541 | # GN target: //protos/perfetto/config/sys_stats:zero |
| 1542 | perfetto_cc_protozero_library( |
| 1543 | name = "protos_perfetto_config_sys_stats_zero", |
| 1544 | deps = [ |
| 1545 | ":protos_perfetto_config_sys_stats_protos", |
| 1546 | ], |
| 1547 | ) |
| 1548 | |
| 1549 | # GN target: //protos/perfetto/config:zero |
| 1550 | perfetto_cc_protozero_library( |
| 1551 | name = "protos_perfetto_config_zero", |
| 1552 | deps = [ |
| 1553 | ":protos_perfetto_config_protos", |
| 1554 | ], |
| 1555 | ) |
| 1556 | |
| 1557 | # GN target: //protos/perfetto/ipc:ipc |
| 1558 | perfetto_cc_ipc_library( |
| 1559 | name = "protos_perfetto_ipc_ipc", |
| 1560 | deps = [ |
| 1561 | ":protos_perfetto_ipc_ipc_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1562 | ], |
| 1563 | ) |
| 1564 | |
| 1565 | # GN target: //protos/perfetto/ipc:ipc |
| 1566 | perfetto_proto_library( |
| 1567 | name = "protos_perfetto_ipc_ipc_protos", |
| 1568 | srcs = [ |
| 1569 | "protos/perfetto/ipc/consumer_port.proto", |
| 1570 | "protos/perfetto/ipc/producer_port.proto", |
| 1571 | ], |
| 1572 | deps = [ |
| 1573 | ":protos_perfetto_common_protos", |
| 1574 | ":protos_perfetto_config_android_protos", |
| 1575 | ":protos_perfetto_config_ftrace_protos", |
| 1576 | ":protos_perfetto_config_gpu_protos", |
| 1577 | ":protos_perfetto_config_inode_file_protos", |
| 1578 | ":protos_perfetto_config_power_protos", |
| 1579 | ":protos_perfetto_config_process_stats_protos", |
| 1580 | ":protos_perfetto_config_profiling_protos", |
| 1581 | ":protos_perfetto_config_protos", |
| 1582 | ":protos_perfetto_config_sys_stats_protos", |
| 1583 | ":protos_perfetto_ipc_wire_protocol_protos", |
| 1584 | ], |
| 1585 | ) |
| 1586 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1587 | # GN target: //protos/perfetto/ipc:wire_protocol |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1588 | perfetto_cc_proto_library( |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1589 | name = "protos_perfetto_ipc_wire_protocol", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1590 | deps = [ |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1591 | ":protos_perfetto_ipc_wire_protocol_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1592 | ], |
| 1593 | ) |
| 1594 | |
| 1595 | # GN target: //protos/perfetto/ipc:wire_protocol |
| 1596 | perfetto_proto_library( |
| 1597 | name = "protos_perfetto_ipc_wire_protocol_protos", |
| 1598 | srcs = [ |
| 1599 | "protos/perfetto/ipc/wire_protocol.proto", |
| 1600 | ], |
| 1601 | ) |
| 1602 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1603 | # GN target: //protos/perfetto/metrics/android:lite |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1604 | perfetto_cc_proto_library( |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1605 | name = "protos_perfetto_metrics_android_lite", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1606 | deps = [ |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1607 | ":protos_perfetto_metrics_android_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1608 | ], |
| 1609 | ) |
| 1610 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1611 | # GN target: //protos/perfetto/metrics/android:zero |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1612 | perfetto_proto_library( |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1613 | name = "protos_perfetto_metrics_android_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1614 | srcs = [ |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1615 | "protos/perfetto/metrics/android/batt_metric.proto", |
| 1616 | "protos/perfetto/metrics/android/cpu_metric.proto", |
Ioannis Ilkos | 73f2cd0 | 2019-10-08 22:49:02 +0100 | [diff] [blame] | 1617 | "protos/perfetto/metrics/android/heap_profile_callsites.proto", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1618 | "protos/perfetto/metrics/android/ion_metric.proto", |
Ioannis Ilkos | 2c832dc | 2019-11-08 11:35:03 +0000 | [diff] [blame] | 1619 | "protos/perfetto/metrics/android/java_heap_stats.proto", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1620 | "protos/perfetto/metrics/android/lmk_metric.proto", |
| 1621 | "protos/perfetto/metrics/android/mem_metric.proto", |
| 1622 | "protos/perfetto/metrics/android/mem_unagg_metric.proto", |
| 1623 | "protos/perfetto/metrics/android/package_list.proto", |
| 1624 | "protos/perfetto/metrics/android/powrails_metric.proto", |
| 1625 | "protos/perfetto/metrics/android/process_growth.proto", |
| 1626 | "protos/perfetto/metrics/android/startup_metric.proto", |
| 1627 | "protos/perfetto/metrics/android/unsymbolized_frames.proto", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1628 | ], |
| 1629 | ) |
| 1630 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1631 | # GN target: //protos/perfetto/metrics/android:zero |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1632 | perfetto_cc_protozero_library( |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1633 | name = "protos_perfetto_metrics_android_zero", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1634 | deps = [ |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1635 | ":protos_perfetto_metrics_android_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1636 | ], |
| 1637 | ) |
| 1638 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1639 | # GN target: //protos/perfetto/metrics:lite |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1640 | perfetto_cc_proto_library( |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1641 | name = "protos_perfetto_metrics_lite", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1642 | deps = [ |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1643 | ":protos_perfetto_metrics_protos", |
| 1644 | ], |
| 1645 | ) |
| 1646 | |
| 1647 | # GN target: //protos/perfetto/metrics:zero |
| 1648 | perfetto_proto_library( |
| 1649 | name = "protos_perfetto_metrics_protos", |
| 1650 | srcs = [ |
| 1651 | "protos/perfetto/metrics/metrics.proto", |
| 1652 | ], |
| 1653 | deps = [ |
| 1654 | ":protos_perfetto_metrics_android_protos", |
| 1655 | ], |
| 1656 | ) |
| 1657 | |
| 1658 | # GN target: //protos/perfetto/metrics:zero |
| 1659 | perfetto_cc_protozero_library( |
| 1660 | name = "protos_perfetto_metrics_zero", |
| 1661 | deps = [ |
| 1662 | ":protos_perfetto_metrics_protos", |
| 1663 | ], |
| 1664 | ) |
| 1665 | |
| 1666 | # GN target: //protos/perfetto/trace/android:lite |
| 1667 | perfetto_cc_proto_library( |
| 1668 | name = "protos_perfetto_trace_android_lite", |
| 1669 | deps = [ |
| 1670 | ":protos_perfetto_trace_android_protos", |
| 1671 | ], |
| 1672 | ) |
| 1673 | |
| 1674 | # GN target: //protos/perfetto/trace/android:zero |
| 1675 | perfetto_proto_library( |
| 1676 | name = "protos_perfetto_trace_android_protos", |
| 1677 | srcs = [ |
| 1678 | "protos/perfetto/trace/android/android_log.proto", |
| 1679 | "protos/perfetto/trace/android/graphics_frame_event.proto", |
| 1680 | "protos/perfetto/trace/android/packages_list.proto", |
| 1681 | ], |
| 1682 | deps = [ |
| 1683 | ":protos_perfetto_common_protos", |
| 1684 | ], |
| 1685 | ) |
| 1686 | |
| 1687 | # GN target: //protos/perfetto/trace/android:zero |
| 1688 | perfetto_cc_protozero_library( |
| 1689 | name = "protos_perfetto_trace_android_zero", |
| 1690 | deps = [ |
| 1691 | ":protos_perfetto_trace_android_protos", |
| 1692 | ], |
| 1693 | ) |
| 1694 | |
| 1695 | # GN target: //protos/perfetto/trace/chrome:lite |
| 1696 | perfetto_cc_proto_library( |
| 1697 | name = "protos_perfetto_trace_chrome_lite", |
| 1698 | deps = [ |
| 1699 | ":protos_perfetto_trace_chrome_protos", |
| 1700 | ], |
| 1701 | ) |
| 1702 | |
| 1703 | # GN target: //protos/perfetto/trace/chrome:zero |
| 1704 | perfetto_proto_library( |
| 1705 | name = "protos_perfetto_trace_chrome_protos", |
| 1706 | srcs = [ |
| 1707 | "protos/perfetto/trace/chrome/chrome_benchmark_metadata.proto", |
| 1708 | "protos/perfetto/trace/chrome/chrome_metadata.proto", |
| 1709 | "protos/perfetto/trace/chrome/chrome_trace_event.proto", |
| 1710 | ], |
| 1711 | ) |
| 1712 | |
| 1713 | # GN target: //protos/perfetto/trace/chrome:zero |
| 1714 | perfetto_cc_protozero_library( |
| 1715 | name = "protos_perfetto_trace_chrome_zero", |
| 1716 | deps = [ |
| 1717 | ":protos_perfetto_trace_chrome_protos", |
| 1718 | ], |
| 1719 | ) |
| 1720 | |
| 1721 | # GN target: //protos/perfetto/trace/filesystem:lite |
| 1722 | perfetto_cc_proto_library( |
| 1723 | name = "protos_perfetto_trace_filesystem_lite", |
| 1724 | deps = [ |
| 1725 | ":protos_perfetto_trace_filesystem_protos", |
| 1726 | ], |
| 1727 | ) |
| 1728 | |
| 1729 | # GN target: //protos/perfetto/trace/filesystem:zero |
| 1730 | perfetto_proto_library( |
| 1731 | name = "protos_perfetto_trace_filesystem_protos", |
| 1732 | srcs = [ |
| 1733 | "protos/perfetto/trace/filesystem/inode_file_map.proto", |
| 1734 | ], |
| 1735 | ) |
| 1736 | |
| 1737 | # GN target: //protos/perfetto/trace/filesystem:zero |
| 1738 | perfetto_cc_protozero_library( |
| 1739 | name = "protos_perfetto_trace_filesystem_zero", |
| 1740 | deps = [ |
| 1741 | ":protos_perfetto_trace_filesystem_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1742 | ], |
| 1743 | ) |
| 1744 | |
| 1745 | # GN target: //protos/perfetto/trace/ftrace:lite |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1746 | perfetto_cc_proto_library( |
| 1747 | name = "protos_perfetto_trace_ftrace_lite", |
| 1748 | deps = [ |
| 1749 | ":protos_perfetto_trace_ftrace_protos", |
| 1750 | ], |
| 1751 | ) |
| 1752 | |
| 1753 | # GN target: //protos/perfetto/trace/ftrace:zero |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1754 | perfetto_proto_library( |
| 1755 | name = "protos_perfetto_trace_ftrace_protos", |
| 1756 | srcs = [ |
| 1757 | "protos/perfetto/trace/ftrace/binder.proto", |
| 1758 | "protos/perfetto/trace/ftrace/block.proto", |
| 1759 | "protos/perfetto/trace/ftrace/cgroup.proto", |
| 1760 | "protos/perfetto/trace/ftrace/clk.proto", |
| 1761 | "protos/perfetto/trace/ftrace/compaction.proto", |
| 1762 | "protos/perfetto/trace/ftrace/ext4.proto", |
| 1763 | "protos/perfetto/trace/ftrace/f2fs.proto", |
| 1764 | "protos/perfetto/trace/ftrace/fence.proto", |
| 1765 | "protos/perfetto/trace/ftrace/filemap.proto", |
| 1766 | "protos/perfetto/trace/ftrace/ftrace.proto", |
| 1767 | "protos/perfetto/trace/ftrace/ftrace_event.proto", |
| 1768 | "protos/perfetto/trace/ftrace/ftrace_event_bundle.proto", |
| 1769 | "protos/perfetto/trace/ftrace/ftrace_stats.proto", |
| 1770 | "protos/perfetto/trace/ftrace/generic.proto", |
| 1771 | "protos/perfetto/trace/ftrace/i2c.proto", |
| 1772 | "protos/perfetto/trace/ftrace/ipi.proto", |
| 1773 | "protos/perfetto/trace/ftrace/irq.proto", |
| 1774 | "protos/perfetto/trace/ftrace/kmem.proto", |
| 1775 | "protos/perfetto/trace/ftrace/lowmemorykiller.proto", |
| 1776 | "protos/perfetto/trace/ftrace/mdss.proto", |
| 1777 | "protos/perfetto/trace/ftrace/mm_event.proto", |
| 1778 | "protos/perfetto/trace/ftrace/oom.proto", |
| 1779 | "protos/perfetto/trace/ftrace/power.proto", |
| 1780 | "protos/perfetto/trace/ftrace/raw_syscalls.proto", |
| 1781 | "protos/perfetto/trace/ftrace/regulator.proto", |
| 1782 | "protos/perfetto/trace/ftrace/sched.proto", |
| 1783 | "protos/perfetto/trace/ftrace/signal.proto", |
| 1784 | "protos/perfetto/trace/ftrace/sync.proto", |
| 1785 | "protos/perfetto/trace/ftrace/systrace.proto", |
| 1786 | "protos/perfetto/trace/ftrace/task.proto", |
| 1787 | "protos/perfetto/trace/ftrace/test_bundle_wrapper.proto", |
| 1788 | "protos/perfetto/trace/ftrace/vmscan.proto", |
| 1789 | "protos/perfetto/trace/ftrace/workqueue.proto", |
| 1790 | ], |
| 1791 | ) |
| 1792 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1793 | # GN target: //protos/perfetto/trace/ftrace:zero |
| 1794 | perfetto_cc_protozero_library( |
| 1795 | name = "protos_perfetto_trace_ftrace_zero", |
| 1796 | deps = [ |
| 1797 | ":protos_perfetto_trace_ftrace_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1798 | ], |
| 1799 | ) |
| 1800 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1801 | # GN target: //protos/perfetto/trace/gpu:lite |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1802 | perfetto_cc_proto_library( |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1803 | name = "protos_perfetto_trace_gpu_lite", |
| 1804 | deps = [ |
| 1805 | ":protos_perfetto_trace_gpu_protos", |
| 1806 | ], |
| 1807 | ) |
| 1808 | |
| 1809 | # GN target: //protos/perfetto/trace/gpu:zero |
| 1810 | perfetto_proto_library( |
| 1811 | name = "protos_perfetto_trace_gpu_protos", |
| 1812 | srcs = [ |
| 1813 | "protos/perfetto/trace/gpu/gpu_counter_event.proto", |
Raymond Chiu | c612b7f | 2019-09-18 14:53:28 -0700 | [diff] [blame] | 1814 | "protos/perfetto/trace/gpu/gpu_log.proto", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1815 | "protos/perfetto/trace/gpu/gpu_render_stage_event.proto", |
| 1816 | "protos/perfetto/trace/gpu/vulkan_memory_event.proto", |
| 1817 | ], |
| 1818 | deps = [ |
| 1819 | ":protos_perfetto_common_protos", |
| 1820 | ], |
| 1821 | ) |
| 1822 | |
| 1823 | # GN target: //protos/perfetto/trace/gpu:zero |
| 1824 | perfetto_cc_protozero_library( |
| 1825 | name = "protos_perfetto_trace_gpu_zero", |
| 1826 | deps = [ |
| 1827 | ":protos_perfetto_trace_gpu_protos", |
| 1828 | ], |
| 1829 | ) |
| 1830 | |
| 1831 | # GN target: //protos/perfetto/trace/interned_data:lite |
| 1832 | perfetto_cc_proto_library( |
| 1833 | name = "protos_perfetto_trace_interned_data_lite", |
| 1834 | deps = [ |
| 1835 | ":protos_perfetto_trace_interned_data_protos", |
| 1836 | ], |
| 1837 | ) |
| 1838 | |
| 1839 | # GN target: //protos/perfetto/trace/interned_data:zero |
| 1840 | perfetto_proto_library( |
| 1841 | name = "protos_perfetto_trace_interned_data_protos", |
| 1842 | srcs = [ |
| 1843 | "protos/perfetto/trace/interned_data/interned_data.proto", |
| 1844 | ], |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1845 | deps = [ |
| 1846 | ":protos_perfetto_trace_profiling_protos", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1847 | ":protos_perfetto_trace_track_event_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1848 | ], |
| 1849 | ) |
| 1850 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1851 | # GN target: //protos/perfetto/trace/interned_data:zero |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1852 | perfetto_cc_protozero_library( |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1853 | name = "protos_perfetto_trace_interned_data_zero", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1854 | deps = [ |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1855 | ":protos_perfetto_trace_interned_data_protos", |
| 1856 | ], |
| 1857 | ) |
| 1858 | |
| 1859 | # GN target: //protos/perfetto/trace:merged_trace |
| 1860 | perfetto_cc_proto_library( |
| 1861 | name = "protos_perfetto_trace_merged_trace", |
| 1862 | deps = [ |
| 1863 | ":protos_perfetto_trace_merged_trace_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1864 | ], |
| 1865 | ) |
| 1866 | |
Lalit Maganti | c3187f8 | 2019-09-20 14:51:11 +0100 | [diff] [blame] | 1867 | # GN target: //protos/perfetto/trace:merged_trace |
| 1868 | perfetto_proto_library( |
| 1869 | name = "protos_perfetto_trace_merged_trace_protos", |
| 1870 | srcs = [ |
| 1871 | "protos/perfetto/trace/perfetto_trace.proto", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1872 | ], |
Pascal Muetschard | b7cdea0 | 2019-09-23 15:25:20 -0700 | [diff] [blame] | 1873 | visibility = [ |
| 1874 | "//visibility:public", |
| 1875 | ], |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1876 | ) |
| 1877 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1878 | # GN target: //protos/perfetto/trace:minimal_lite |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1879 | perfetto_cc_proto_library( |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1880 | name = "protos_perfetto_trace_minimal_lite", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1881 | deps = [ |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1882 | ":protos_perfetto_trace_minimal_protos", |
| 1883 | ], |
| 1884 | ) |
| 1885 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1886 | # GN target: //protos/perfetto/trace:minimal_zero |
| 1887 | perfetto_proto_library( |
| 1888 | name = "protos_perfetto_trace_minimal_protos", |
| 1889 | srcs = [ |
| 1890 | "protos/perfetto/trace/clock_snapshot.proto", |
| 1891 | "protos/perfetto/trace/system_info.proto", |
| 1892 | "protos/perfetto/trace/trigger.proto", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1893 | ], |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1894 | deps = [ |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1895 | ":protos_perfetto_common_protos", |
| 1896 | ":protos_perfetto_config_android_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1897 | ":protos_perfetto_config_ftrace_protos", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1898 | ":protos_perfetto_config_gpu_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1899 | ":protos_perfetto_config_inode_file_protos", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1900 | ":protos_perfetto_config_power_protos", |
| 1901 | ":protos_perfetto_config_process_stats_protos", |
| 1902 | ":protos_perfetto_config_profiling_protos", |
| 1903 | ":protos_perfetto_config_protos", |
| 1904 | ":protos_perfetto_config_sys_stats_protos", |
| 1905 | ], |
| 1906 | ) |
| 1907 | |
| 1908 | # GN target: //protos/perfetto/trace:minimal_zero |
| 1909 | perfetto_cc_protozero_library( |
| 1910 | name = "protos_perfetto_trace_minimal_zero", |
| 1911 | deps = [ |
| 1912 | ":protos_perfetto_trace_minimal_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1913 | ], |
| 1914 | ) |
| 1915 | |
| 1916 | # GN target: //protos/perfetto/trace:non_minimal_lite |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1917 | perfetto_cc_proto_library( |
| 1918 | name = "protos_perfetto_trace_non_minimal_lite", |
| 1919 | deps = [ |
| 1920 | ":protos_perfetto_trace_non_minimal_protos", |
| 1921 | ], |
| 1922 | ) |
| 1923 | |
| 1924 | # GN target: //protos/perfetto/trace:non_minimal_zero |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1925 | perfetto_proto_library( |
| 1926 | name = "protos_perfetto_trace_non_minimal_protos", |
| 1927 | srcs = [ |
| 1928 | "protos/perfetto/trace/test_event.proto", |
| 1929 | "protos/perfetto/trace/trace.proto", |
| 1930 | "protos/perfetto/trace/trace_packet.proto", |
| 1931 | "protos/perfetto/trace/trace_packet_defaults.proto", |
| 1932 | ], |
| 1933 | deps = [ |
| 1934 | ":protos_perfetto_common_protos", |
| 1935 | ":protos_perfetto_config_android_protos", |
| 1936 | ":protos_perfetto_config_ftrace_protos", |
| 1937 | ":protos_perfetto_config_gpu_protos", |
| 1938 | ":protos_perfetto_config_inode_file_protos", |
| 1939 | ":protos_perfetto_config_power_protos", |
| 1940 | ":protos_perfetto_config_process_stats_protos", |
| 1941 | ":protos_perfetto_config_profiling_protos", |
| 1942 | ":protos_perfetto_config_protos", |
| 1943 | ":protos_perfetto_config_sys_stats_protos", |
| 1944 | ":protos_perfetto_trace_android_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1945 | ":protos_perfetto_trace_chrome_protos", |
| 1946 | ":protos_perfetto_trace_filesystem_protos", |
| 1947 | ":protos_perfetto_trace_ftrace_protos", |
| 1948 | ":protos_perfetto_trace_gpu_protos", |
| 1949 | ":protos_perfetto_trace_interned_data_protos", |
| 1950 | ":protos_perfetto_trace_minimal_protos", |
| 1951 | ":protos_perfetto_trace_perfetto_protos", |
| 1952 | ":protos_perfetto_trace_power_protos", |
| 1953 | ":protos_perfetto_trace_profiling_protos", |
| 1954 | ":protos_perfetto_trace_ps_protos", |
| 1955 | ":protos_perfetto_trace_sys_stats_protos", |
| 1956 | ":protos_perfetto_trace_track_event_protos", |
| 1957 | ], |
| 1958 | ) |
| 1959 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1960 | # GN target: //protos/perfetto/trace:non_minimal_zero |
| 1961 | perfetto_cc_protozero_library( |
| 1962 | name = "protos_perfetto_trace_non_minimal_zero", |
| 1963 | deps = [ |
| 1964 | ":protos_perfetto_trace_non_minimal_protos", |
| 1965 | ], |
| 1966 | ) |
| 1967 | |
| 1968 | # GN target: //protos/perfetto/trace/perfetto:lite |
| 1969 | perfetto_cc_proto_library( |
| 1970 | name = "protos_perfetto_trace_perfetto_lite", |
| 1971 | deps = [ |
| 1972 | ":protos_perfetto_trace_perfetto_protos", |
| 1973 | ], |
| 1974 | ) |
| 1975 | |
| 1976 | # GN target: //protos/perfetto/trace/perfetto:zero |
| 1977 | perfetto_proto_library( |
| 1978 | name = "protos_perfetto_trace_perfetto_protos", |
| 1979 | srcs = [ |
| 1980 | "protos/perfetto/trace/perfetto/perfetto_metatrace.proto", |
| 1981 | ], |
| 1982 | ) |
| 1983 | |
| 1984 | # GN target: //protos/perfetto/trace/perfetto:zero |
| 1985 | perfetto_cc_protozero_library( |
| 1986 | name = "protos_perfetto_trace_perfetto_zero", |
| 1987 | deps = [ |
| 1988 | ":protos_perfetto_trace_perfetto_protos", |
| 1989 | ], |
| 1990 | ) |
| 1991 | |
| 1992 | # GN target: //protos/perfetto/trace/power:lite |
| 1993 | perfetto_cc_proto_library( |
| 1994 | name = "protos_perfetto_trace_power_lite", |
| 1995 | deps = [ |
| 1996 | ":protos_perfetto_trace_power_protos", |
| 1997 | ], |
| 1998 | ) |
| 1999 | |
| 2000 | # GN target: //protos/perfetto/trace/power:zero |
| 2001 | perfetto_proto_library( |
| 2002 | name = "protos_perfetto_trace_power_protos", |
| 2003 | srcs = [ |
| 2004 | "protos/perfetto/trace/power/battery_counters.proto", |
| 2005 | "protos/perfetto/trace/power/power_rails.proto", |
| 2006 | ], |
| 2007 | ) |
| 2008 | |
| 2009 | # GN target: //protos/perfetto/trace/power:zero |
| 2010 | perfetto_cc_protozero_library( |
| 2011 | name = "protos_perfetto_trace_power_zero", |
| 2012 | deps = [ |
| 2013 | ":protos_perfetto_trace_power_protos", |
| 2014 | ], |
| 2015 | ) |
| 2016 | |
| 2017 | # GN target: //protos/perfetto/trace_processor:metrics_impl_zero |
| 2018 | perfetto_proto_library( |
| 2019 | name = "protos_perfetto_trace_processor_metrics_impl_protos", |
| 2020 | srcs = [ |
| 2021 | "protos/perfetto/trace_processor/metrics_impl.proto", |
| 2022 | ], |
| 2023 | ) |
| 2024 | |
| 2025 | # GN target: //protos/perfetto/trace_processor:metrics_impl_zero |
| 2026 | perfetto_cc_protozero_library( |
| 2027 | name = "protos_perfetto_trace_processor_metrics_impl_zero", |
| 2028 | deps = [ |
| 2029 | ":protos_perfetto_trace_processor_metrics_impl_protos", |
| 2030 | ], |
| 2031 | ) |
| 2032 | |
Primiano Tucci | a36cccc | 2019-10-27 13:15:04 +0100 | [diff] [blame] | 2033 | # GN target: //protos/perfetto/trace_processor:zero |
| 2034 | perfetto_proto_library( |
| 2035 | name = "protos_perfetto_trace_processor_protos", |
| 2036 | srcs = [ |
| 2037 | "protos/perfetto/trace_processor/trace_processor.proto", |
| 2038 | ], |
| 2039 | ) |
| 2040 | |
| 2041 | # GN target: //protos/perfetto/trace_processor:zero |
| 2042 | perfetto_cc_protozero_library( |
| 2043 | name = "protos_perfetto_trace_processor_zero", |
| 2044 | deps = [ |
| 2045 | ":protos_perfetto_trace_processor_protos", |
| 2046 | ], |
| 2047 | ) |
| 2048 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2049 | # GN target: //protos/perfetto/trace/profiling:lite |
| 2050 | perfetto_cc_proto_library( |
| 2051 | name = "protos_perfetto_trace_profiling_lite", |
| 2052 | deps = [ |
| 2053 | ":protos_perfetto_trace_profiling_protos", |
| 2054 | ], |
| 2055 | ) |
| 2056 | |
| 2057 | # GN target: //protos/perfetto/trace/profiling:zero |
| 2058 | perfetto_proto_library( |
| 2059 | name = "protos_perfetto_trace_profiling_protos", |
| 2060 | srcs = [ |
| 2061 | "protos/perfetto/trace/profiling/heap_graph.proto", |
| 2062 | "protos/perfetto/trace/profiling/profile_common.proto", |
| 2063 | "protos/perfetto/trace/profiling/profile_packet.proto", |
| 2064 | ], |
| 2065 | ) |
| 2066 | |
| 2067 | # GN target: //protos/perfetto/trace/profiling:zero |
| 2068 | perfetto_cc_protozero_library( |
| 2069 | name = "protos_perfetto_trace_profiling_zero", |
| 2070 | deps = [ |
| 2071 | ":protos_perfetto_trace_profiling_protos", |
| 2072 | ], |
| 2073 | ) |
| 2074 | |
| 2075 | # GN target: //protos/perfetto/trace/ps:lite |
| 2076 | perfetto_cc_proto_library( |
| 2077 | name = "protos_perfetto_trace_ps_lite", |
| 2078 | deps = [ |
| 2079 | ":protos_perfetto_trace_ps_protos", |
| 2080 | ], |
| 2081 | ) |
| 2082 | |
| 2083 | # GN target: //protos/perfetto/trace/ps:zero |
| 2084 | perfetto_proto_library( |
| 2085 | name = "protos_perfetto_trace_ps_protos", |
| 2086 | srcs = [ |
| 2087 | "protos/perfetto/trace/ps/process_stats.proto", |
| 2088 | "protos/perfetto/trace/ps/process_tree.proto", |
| 2089 | ], |
| 2090 | ) |
| 2091 | |
| 2092 | # GN target: //protos/perfetto/trace/ps:zero |
| 2093 | perfetto_cc_protozero_library( |
| 2094 | name = "protos_perfetto_trace_ps_zero", |
| 2095 | deps = [ |
| 2096 | ":protos_perfetto_trace_ps_protos", |
| 2097 | ], |
| 2098 | ) |
| 2099 | |
| 2100 | # GN target: //protos/perfetto/trace/sys_stats:lite |
| 2101 | perfetto_cc_proto_library( |
| 2102 | name = "protos_perfetto_trace_sys_stats_lite", |
| 2103 | deps = [ |
| 2104 | ":protos_perfetto_trace_sys_stats_protos", |
| 2105 | ], |
| 2106 | ) |
| 2107 | |
| 2108 | # GN target: //protos/perfetto/trace/sys_stats:zero |
| 2109 | perfetto_proto_library( |
| 2110 | name = "protos_perfetto_trace_sys_stats_protos", |
| 2111 | srcs = [ |
| 2112 | "protos/perfetto/trace/sys_stats/sys_stats.proto", |
| 2113 | ], |
| 2114 | deps = [ |
| 2115 | ":protos_perfetto_common_protos", |
| 2116 | ], |
| 2117 | ) |
| 2118 | |
| 2119 | # GN target: //protos/perfetto/trace/sys_stats:zero |
| 2120 | perfetto_cc_protozero_library( |
| 2121 | name = "protos_perfetto_trace_sys_stats_zero", |
| 2122 | deps = [ |
| 2123 | ":protos_perfetto_trace_sys_stats_protos", |
| 2124 | ], |
| 2125 | ) |
| 2126 | |
| 2127 | # GN target: //protos/perfetto/trace/track_event:lite |
| 2128 | perfetto_cc_proto_library( |
| 2129 | name = "protos_perfetto_trace_track_event_lite", |
| 2130 | deps = [ |
| 2131 | ":protos_perfetto_trace_track_event_protos", |
| 2132 | ], |
| 2133 | ) |
| 2134 | |
| 2135 | # GN target: //protos/perfetto/trace/track_event:zero |
| 2136 | perfetto_proto_library( |
| 2137 | name = "protos_perfetto_trace_track_event_protos", |
| 2138 | srcs = [ |
| 2139 | "protos/perfetto/trace/track_event/debug_annotation.proto", |
| 2140 | "protos/perfetto/trace/track_event/log_message.proto", |
| 2141 | "protos/perfetto/trace/track_event/process_descriptor.proto", |
| 2142 | "protos/perfetto/trace/track_event/source_location.proto", |
| 2143 | "protos/perfetto/trace/track_event/task_execution.proto", |
| 2144 | "protos/perfetto/trace/track_event/thread_descriptor.proto", |
| 2145 | "protos/perfetto/trace/track_event/track_descriptor.proto", |
| 2146 | "protos/perfetto/trace/track_event/track_event.proto", |
| 2147 | ], |
| 2148 | ) |
| 2149 | |
| 2150 | # GN target: //protos/perfetto/trace/track_event:zero |
| 2151 | perfetto_cc_protozero_library( |
| 2152 | name = "protos_perfetto_trace_track_event_zero", |
| 2153 | deps = [ |
| 2154 | ":protos_perfetto_trace_track_event_protos", |
| 2155 | ], |
| 2156 | ) |
| 2157 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2158 | # GN target: //protos/third_party/pprof:lite |
| 2159 | perfetto_cc_proto_library( |
| 2160 | name = "protos_third_party_pprof_lite", |
| 2161 | deps = [ |
| 2162 | ":protos_third_party_pprof_protos", |
| 2163 | ], |
| 2164 | ) |
| 2165 | |
| 2166 | # GN target: //protos/third_party/pprof:lite |
| 2167 | perfetto_proto_library( |
| 2168 | name = "protos_third_party_pprof_protos", |
| 2169 | srcs = [ |
| 2170 | "protos/third_party/pprof/profile.proto", |
| 2171 | ], |
| 2172 | ) |
| 2173 | |
| 2174 | # GN target: //src/perfetto_cmd:protos |
| 2175 | perfetto_cc_proto_library( |
| 2176 | name = "src_perfetto_cmd_protos", |
| 2177 | deps = [ |
| 2178 | ":src_perfetto_cmd_protos_protos", |
| 2179 | ], |
| 2180 | ) |
| 2181 | |
| 2182 | # GN target: //src/perfetto_cmd:protos |
| 2183 | perfetto_proto_library( |
| 2184 | name = "src_perfetto_cmd_protos_protos", |
| 2185 | srcs = [ |
| 2186 | "src/perfetto_cmd/perfetto_cmd_state.proto", |
| 2187 | ], |
| 2188 | ) |
| 2189 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2190 | # ############################################################################## |
| 2191 | # Public targets |
| 2192 | # ############################################################################## |
| 2193 | |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 2194 | # GN target: //:libperfetto_client_experimental |
| 2195 | perfetto_cc_library( |
| 2196 | name = "libperfetto_client_experimental", |
| 2197 | srcs = [ |
| 2198 | "include/perfetto/tracing.h", |
| 2199 | ":src_base_base", |
| 2200 | ":src_base_unix_socket", |
| 2201 | ":src_ipc_ipc", |
| 2202 | ":src_protozero_protozero", |
| 2203 | ":src_tracing_client_api", |
| 2204 | ":src_tracing_common", |
| 2205 | ":src_tracing_ipc", |
| 2206 | ":src_tracing_platform_posix", |
| 2207 | ":src_tracing_tracing", |
| 2208 | ], |
| 2209 | hdrs = [ |
| 2210 | ":include_perfetto_base_base", |
| 2211 | ":include_perfetto_ext_base_base", |
| 2212 | ":include_perfetto_ext_ipc_ipc", |
| 2213 | ":include_perfetto_ext_tracing_core_core", |
| 2214 | ":include_perfetto_ext_tracing_ipc_ipc", |
| 2215 | ":include_perfetto_protozero_protozero", |
| 2216 | ":include_perfetto_tracing_core_core", |
| 2217 | ":include_perfetto_tracing_tracing", |
| 2218 | ], |
| 2219 | visibility = [ |
| 2220 | "//visibility:public", |
| 2221 | ], |
| 2222 | deps = [ |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2223 | ":protos_perfetto_common_cpp", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 2224 | ":protos_perfetto_common_lite", |
| 2225 | ":protos_perfetto_common_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2226 | ":protos_perfetto_config_android_cpp", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 2227 | ":protos_perfetto_config_android_lite", |
| 2228 | ":protos_perfetto_config_android_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2229 | ":protos_perfetto_config_cpp", |
| 2230 | ":protos_perfetto_config_ftrace_cpp", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 2231 | ":protos_perfetto_config_ftrace_lite", |
| 2232 | ":protos_perfetto_config_ftrace_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2233 | ":protos_perfetto_config_gpu_cpp", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 2234 | ":protos_perfetto_config_gpu_lite", |
| 2235 | ":protos_perfetto_config_gpu_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2236 | ":protos_perfetto_config_inode_file_cpp", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 2237 | ":protos_perfetto_config_inode_file_lite", |
| 2238 | ":protos_perfetto_config_inode_file_zero", |
| 2239 | ":protos_perfetto_config_lite", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2240 | ":protos_perfetto_config_power_cpp", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 2241 | ":protos_perfetto_config_power_lite", |
| 2242 | ":protos_perfetto_config_power_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2243 | ":protos_perfetto_config_process_stats_cpp", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 2244 | ":protos_perfetto_config_process_stats_lite", |
| 2245 | ":protos_perfetto_config_process_stats_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2246 | ":protos_perfetto_config_profiling_cpp", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 2247 | ":protos_perfetto_config_profiling_lite", |
| 2248 | ":protos_perfetto_config_profiling_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2249 | ":protos_perfetto_config_sys_stats_cpp", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 2250 | ":protos_perfetto_config_sys_stats_lite", |
| 2251 | ":protos_perfetto_config_sys_stats_zero", |
| 2252 | ":protos_perfetto_config_zero", |
| 2253 | ":protos_perfetto_ipc_ipc", |
| 2254 | ":protos_perfetto_ipc_wire_protocol", |
| 2255 | ":protos_perfetto_trace_android_zero", |
| 2256 | ":protos_perfetto_trace_chrome_zero", |
| 2257 | ":protos_perfetto_trace_filesystem_zero", |
| 2258 | ":protos_perfetto_trace_ftrace_zero", |
| 2259 | ":protos_perfetto_trace_gpu_zero", |
| 2260 | ":protos_perfetto_trace_interned_data_zero", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 2261 | ":protos_perfetto_trace_minimal_zero", |
| 2262 | ":protos_perfetto_trace_non_minimal_zero", |
| 2263 | ":protos_perfetto_trace_perfetto_zero", |
| 2264 | ":protos_perfetto_trace_power_zero", |
| 2265 | ":protos_perfetto_trace_profiling_zero", |
| 2266 | ":protos_perfetto_trace_ps_zero", |
| 2267 | ":protos_perfetto_trace_sys_stats_zero", |
| 2268 | ":protos_perfetto_trace_track_event_zero", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 2269 | ] + PERFETTO_CONFIG.deps.protobuf_lite, |
| 2270 | ) |
| 2271 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2272 | # GN target: //src/perfetto_cmd:perfetto |
| 2273 | perfetto_cc_binary( |
| 2274 | name = "perfetto", |
| 2275 | srcs = [ |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2276 | "src/perfetto_cmd/main.cc", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2277 | ":include_perfetto_base_base", |
| 2278 | ":include_perfetto_ext_base_base", |
| 2279 | ":include_perfetto_ext_ipc_ipc", |
| 2280 | ":include_perfetto_ext_traced_traced", |
| 2281 | ":include_perfetto_ext_tracing_core_core", |
| 2282 | ":include_perfetto_ext_tracing_ipc_ipc", |
| 2283 | ":include_perfetto_protozero_protozero", |
| 2284 | ":include_perfetto_tracing_core_core", |
| 2285 | ":include_perfetto_tracing_tracing", |
| 2286 | ":src_android_internal_headers", |
| 2287 | ":src_android_internal_lazy_library_loader", |
| 2288 | ":src_base_base", |
| 2289 | ":src_base_unix_socket", |
| 2290 | ":src_ipc_ipc", |
| 2291 | ":src_perfetto_cmd_perfetto_cmd", |
| 2292 | ":src_perfetto_cmd_trigger_producer", |
| 2293 | ":src_protozero_protozero", |
| 2294 | ":src_tracing_common", |
| 2295 | ":src_tracing_ipc", |
| 2296 | ":src_tracing_tracing", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2297 | ], |
| 2298 | visibility = [ |
| 2299 | "//visibility:public", |
| 2300 | ], |
| 2301 | deps = [ |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2302 | ":protos_perfetto_common_cpp", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2303 | ":protos_perfetto_common_lite", |
| 2304 | ":protos_perfetto_common_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2305 | ":protos_perfetto_config_android_cpp", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2306 | ":protos_perfetto_config_android_lite", |
| 2307 | ":protos_perfetto_config_android_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2308 | ":protos_perfetto_config_cpp", |
| 2309 | ":protos_perfetto_config_ftrace_cpp", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2310 | ":protos_perfetto_config_ftrace_lite", |
| 2311 | ":protos_perfetto_config_ftrace_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2312 | ":protos_perfetto_config_gpu_cpp", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2313 | ":protos_perfetto_config_gpu_lite", |
| 2314 | ":protos_perfetto_config_gpu_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2315 | ":protos_perfetto_config_inode_file_cpp", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2316 | ":protos_perfetto_config_inode_file_lite", |
| 2317 | ":protos_perfetto_config_inode_file_zero", |
| 2318 | ":protos_perfetto_config_lite", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2319 | ":protos_perfetto_config_power_cpp", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2320 | ":protos_perfetto_config_power_lite", |
| 2321 | ":protos_perfetto_config_power_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2322 | ":protos_perfetto_config_process_stats_cpp", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2323 | ":protos_perfetto_config_process_stats_lite", |
| 2324 | ":protos_perfetto_config_process_stats_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2325 | ":protos_perfetto_config_profiling_cpp", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2326 | ":protos_perfetto_config_profiling_lite", |
| 2327 | ":protos_perfetto_config_profiling_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2328 | ":protos_perfetto_config_sys_stats_cpp", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2329 | ":protos_perfetto_config_sys_stats_lite", |
| 2330 | ":protos_perfetto_config_sys_stats_zero", |
| 2331 | ":protos_perfetto_config_zero", |
| 2332 | ":protos_perfetto_ipc_ipc", |
| 2333 | ":protos_perfetto_ipc_wire_protocol", |
| 2334 | ":protos_perfetto_trace_android_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2335 | ":protos_perfetto_trace_chrome_zero", |
| 2336 | ":protos_perfetto_trace_filesystem_zero", |
| 2337 | ":protos_perfetto_trace_ftrace_zero", |
| 2338 | ":protos_perfetto_trace_gpu_zero", |
| 2339 | ":protos_perfetto_trace_interned_data_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2340 | ":protos_perfetto_trace_minimal_zero", |
| 2341 | ":protos_perfetto_trace_non_minimal_zero", |
| 2342 | ":protos_perfetto_trace_perfetto_zero", |
| 2343 | ":protos_perfetto_trace_power_zero", |
| 2344 | ":protos_perfetto_trace_profiling_zero", |
| 2345 | ":protos_perfetto_trace_ps_zero", |
| 2346 | ":protos_perfetto_trace_sys_stats_zero", |
| 2347 | ":protos_perfetto_trace_track_event_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2348 | ":src_perfetto_cmd_protos", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2349 | ] + PERFETTO_CONFIG.deps.protobuf_lite + |
| 2350 | PERFETTO_CONFIG.deps.zlib, |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2351 | ) |
| 2352 | |
| 2353 | # GN target: //src/trace_processor:trace_processor |
| 2354 | perfetto_cc_library( |
| 2355 | name = "trace_processor", |
| 2356 | srcs = [ |
| 2357 | ":src_base_base", |
| 2358 | ":src_protozero_protozero", |
| 2359 | ":src_trace_processor_common", |
| 2360 | ":src_trace_processor_db_lib", |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 2361 | ":src_trace_processor_export_json", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2362 | ":src_trace_processor_lib", |
| 2363 | ":src_trace_processor_metrics_lib", |
| 2364 | ":src_trace_processor_sqlite_sqlite", |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 2365 | ":src_trace_processor_storage", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2366 | ":src_trace_processor_tables_tables", |
| 2367 | ], |
| 2368 | hdrs = [ |
| 2369 | ":include_perfetto_base_base", |
| 2370 | ":include_perfetto_ext_base_base", |
Eric Seckler | 7fb1d23 | 2019-10-23 14:42:43 +0100 | [diff] [blame] | 2371 | ":include_perfetto_ext_trace_processor_export_json", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2372 | ":include_perfetto_ext_traced_sys_stats_counters", |
| 2373 | ":include_perfetto_protozero_protozero", |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 2374 | ":include_perfetto_trace_processor_basic_types", |
| 2375 | ":include_perfetto_trace_processor_storage", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2376 | ":include_perfetto_trace_processor_trace_processor", |
| 2377 | ], |
| 2378 | visibility = [ |
| 2379 | "//visibility:public", |
| 2380 | ], |
| 2381 | deps = [ |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2382 | ":protos_perfetto_common_zero", |
| 2383 | ":protos_perfetto_config_android_zero", |
| 2384 | ":protos_perfetto_config_ftrace_zero", |
| 2385 | ":protos_perfetto_config_gpu_zero", |
| 2386 | ":protos_perfetto_config_inode_file_zero", |
| 2387 | ":protos_perfetto_config_power_zero", |
| 2388 | ":protos_perfetto_config_process_stats_zero", |
| 2389 | ":protos_perfetto_config_profiling_zero", |
| 2390 | ":protos_perfetto_config_sys_stats_zero", |
| 2391 | ":protos_perfetto_config_zero", |
| 2392 | ":protos_perfetto_metrics_android_zero", |
| 2393 | ":protos_perfetto_metrics_zero", |
| 2394 | ":protos_perfetto_trace_android_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2395 | ":protos_perfetto_trace_chrome_zero", |
| 2396 | ":protos_perfetto_trace_filesystem_zero", |
| 2397 | ":protos_perfetto_trace_ftrace_zero", |
| 2398 | ":protos_perfetto_trace_gpu_zero", |
| 2399 | ":protos_perfetto_trace_interned_data_zero", |
| 2400 | ":protos_perfetto_trace_minimal_zero", |
| 2401 | ":protos_perfetto_trace_non_minimal_zero", |
| 2402 | ":protos_perfetto_trace_perfetto_zero", |
| 2403 | ":protos_perfetto_trace_power_zero", |
| 2404 | ":protos_perfetto_trace_processor_metrics_impl_zero", |
| 2405 | ":protos_perfetto_trace_profiling_zero", |
| 2406 | ":protos_perfetto_trace_ps_zero", |
| 2407 | ":protos_perfetto_trace_sys_stats_zero", |
| 2408 | ":protos_perfetto_trace_track_event_zero", |
| 2409 | ] + PERFETTO_CONFIG.deps.jsoncpp + |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2410 | PERFETTO_CONFIG.deps.sqlite + |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2411 | PERFETTO_CONFIG.deps.sqlite_ext_percentile + |
| 2412 | PERFETTO_CONFIG.deps.zlib + [ |
Lalit Maganti | a4244e4 | 2019-09-20 12:03:32 +0100 | [diff] [blame] | 2413 | ":cc_merged_sql_metrics", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2414 | ], |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2415 | ) |
| 2416 | |
| 2417 | # GN target: //src/trace_processor:trace_processor_shell |
| 2418 | perfetto_cc_binary( |
| 2419 | name = "trace_processor_shell", |
| 2420 | srcs = [ |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2421 | "src/trace_processor/proto_to_json.cc", |
| 2422 | "src/trace_processor/proto_to_json.h", |
| 2423 | "src/trace_processor/trace_processor_shell.cc", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2424 | ":include_perfetto_base_base", |
| 2425 | ":include_perfetto_ext_base_base", |
Eric Seckler | 7fb1d23 | 2019-10-23 14:42:43 +0100 | [diff] [blame] | 2426 | ":include_perfetto_ext_trace_processor_export_json", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2427 | ":include_perfetto_ext_traced_sys_stats_counters", |
| 2428 | ":include_perfetto_protozero_protozero", |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 2429 | ":include_perfetto_trace_processor_basic_types", |
| 2430 | ":include_perfetto_trace_processor_storage", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2431 | ":include_perfetto_trace_processor_trace_processor", |
| 2432 | ":src_base_base", |
Primiano Tucci | a36cccc | 2019-10-27 13:15:04 +0100 | [diff] [blame] | 2433 | ":src_base_unix_socket", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2434 | ":src_protozero_protozero", |
| 2435 | ":src_trace_processor_common", |
| 2436 | ":src_trace_processor_db_lib", |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 2437 | ":src_trace_processor_export_json", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2438 | ":src_trace_processor_lib", |
| 2439 | ":src_trace_processor_metrics_lib", |
Primiano Tucci | a36cccc | 2019-10-27 13:15:04 +0100 | [diff] [blame] | 2440 | ":src_trace_processor_rpc_httpd", |
| 2441 | ":src_trace_processor_rpc_rpc", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2442 | ":src_trace_processor_sqlite_sqlite", |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 2443 | ":src_trace_processor_storage", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2444 | ":src_trace_processor_tables_tables", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2445 | ], |
| 2446 | visibility = [ |
| 2447 | "//visibility:public", |
| 2448 | ], |
| 2449 | deps = [ |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2450 | ":protos_perfetto_common_zero", |
| 2451 | ":protos_perfetto_config_android_zero", |
| 2452 | ":protos_perfetto_config_ftrace_zero", |
| 2453 | ":protos_perfetto_config_gpu_zero", |
| 2454 | ":protos_perfetto_config_inode_file_zero", |
| 2455 | ":protos_perfetto_config_power_zero", |
| 2456 | ":protos_perfetto_config_process_stats_zero", |
| 2457 | ":protos_perfetto_config_profiling_zero", |
| 2458 | ":protos_perfetto_config_sys_stats_zero", |
| 2459 | ":protos_perfetto_config_zero", |
| 2460 | ":protos_perfetto_metrics_android_zero", |
| 2461 | ":protos_perfetto_metrics_zero", |
| 2462 | ":protos_perfetto_trace_android_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2463 | ":protos_perfetto_trace_chrome_zero", |
| 2464 | ":protos_perfetto_trace_filesystem_zero", |
| 2465 | ":protos_perfetto_trace_ftrace_zero", |
| 2466 | ":protos_perfetto_trace_gpu_zero", |
| 2467 | ":protos_perfetto_trace_interned_data_zero", |
| 2468 | ":protos_perfetto_trace_minimal_zero", |
| 2469 | ":protos_perfetto_trace_non_minimal_zero", |
| 2470 | ":protos_perfetto_trace_perfetto_zero", |
| 2471 | ":protos_perfetto_trace_power_zero", |
| 2472 | ":protos_perfetto_trace_processor_metrics_impl_zero", |
Primiano Tucci | a36cccc | 2019-10-27 13:15:04 +0100 | [diff] [blame] | 2473 | ":protos_perfetto_trace_processor_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2474 | ":protos_perfetto_trace_profiling_zero", |
| 2475 | ":protos_perfetto_trace_ps_zero", |
| 2476 | ":protos_perfetto_trace_sys_stats_zero", |
| 2477 | ":protos_perfetto_trace_track_event_zero", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2478 | ] + PERFETTO_CONFIG.deps.jsoncpp + |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2479 | PERFETTO_CONFIG.deps.linenoise + |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2480 | PERFETTO_CONFIG.deps.protoc_lib + |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2481 | PERFETTO_CONFIG.deps.sqlite + |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2482 | PERFETTO_CONFIG.deps.sqlite_ext_percentile + |
| 2483 | PERFETTO_CONFIG.deps.zlib + [ |
Lalit Maganti | a4244e4 | 2019-09-20 12:03:32 +0100 | [diff] [blame] | 2484 | ":cc_merged_sql_metrics", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2485 | ], |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2486 | ) |
| 2487 | |
| 2488 | # GN target: //src/traced/probes:traced_probes |
| 2489 | perfetto_cc_binary( |
| 2490 | name = "traced_probes", |
| 2491 | srcs = [ |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2492 | "src/traced/probes/main.cc", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2493 | ":include_perfetto_ext_traced_traced", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2494 | ], |
| 2495 | visibility = [ |
| 2496 | "//visibility:public", |
| 2497 | ], |
| 2498 | deps = [ |
| 2499 | ":libperfetto", |
| 2500 | ], |
| 2501 | ) |
| 2502 | |
| 2503 | # GN target: //src/traced/service:traced |
| 2504 | perfetto_cc_binary( |
| 2505 | name = "traced", |
| 2506 | srcs = [ |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2507 | "src/traced/service/main.cc", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2508 | ":include_perfetto_ext_traced_traced", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2509 | ], |
| 2510 | visibility = [ |
| 2511 | "//visibility:public", |
| 2512 | ], |
| 2513 | deps = [ |
| 2514 | ":libperfetto", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 2515 | ], |
| 2516 | ) |
| 2517 | |
Ioannis Ilkos | bd4ee3f | 2019-06-21 17:40:09 +0100 | [diff] [blame] | 2518 | # GN target: //tools/trace_to_text:libpprofbuilder |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2519 | perfetto_cc_library( |
Primiano Tucci | 02c1176 | 2019-08-30 00:57:59 +0200 | [diff] [blame] | 2520 | name = "libpprofbuilder", |
Ioannis Ilkos | bd4ee3f | 2019-06-21 17:40:09 +0100 | [diff] [blame] | 2521 | srcs = [ |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2522 | ":src_base_base", |
Florian Mayer | 5403ce9 | 2019-09-19 19:55:17 +0100 | [diff] [blame] | 2523 | ":src_protozero_protozero", |
| 2524 | ":src_trace_processor_common", |
| 2525 | ":src_trace_processor_db_lib", |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 2526 | ":src_trace_processor_export_json", |
Florian Mayer | 5403ce9 | 2019-09-19 19:55:17 +0100 | [diff] [blame] | 2527 | ":src_trace_processor_lib", |
| 2528 | ":src_trace_processor_metrics_lib", |
| 2529 | ":src_trace_processor_sqlite_sqlite", |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 2530 | ":src_trace_processor_storage", |
Florian Mayer | 5403ce9 | 2019-09-19 19:55:17 +0100 | [diff] [blame] | 2531 | ":src_trace_processor_tables_tables", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2532 | ":tools_trace_to_text_pprofbuilder", |
| 2533 | ":tools_trace_to_text_symbolizer", |
| 2534 | ":tools_trace_to_text_utils", |
Ioannis Ilkos | bd4ee3f | 2019-06-21 17:40:09 +0100 | [diff] [blame] | 2535 | ], |
| 2536 | hdrs = [ |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2537 | ":include_perfetto_base_base", |
| 2538 | ":include_perfetto_ext_base_base", |
Eric Seckler | 7fb1d23 | 2019-10-23 14:42:43 +0100 | [diff] [blame] | 2539 | ":include_perfetto_ext_trace_processor_export_json", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2540 | ":include_perfetto_ext_traced_sys_stats_counters", |
Lalit Maganti | a4244e4 | 2019-09-20 12:03:32 +0100 | [diff] [blame] | 2541 | ":include_perfetto_profiling_symbolizer", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2542 | ":include_perfetto_protozero_protozero", |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 2543 | ":include_perfetto_trace_processor_basic_types", |
| 2544 | ":include_perfetto_trace_processor_storage", |
Florian Mayer | 5403ce9 | 2019-09-19 19:55:17 +0100 | [diff] [blame] | 2545 | ":include_perfetto_trace_processor_trace_processor", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2546 | ], |
| 2547 | visibility = [ |
| 2548 | "//visibility:public", |
Ioannis Ilkos | bd4ee3f | 2019-06-21 17:40:09 +0100 | [diff] [blame] | 2549 | ], |
| 2550 | deps = [ |
Lalit Maganti | a4244e4 | 2019-09-20 12:03:32 +0100 | [diff] [blame] | 2551 | ":protos_perfetto_common_lite", |
| 2552 | ":protos_perfetto_common_zero", |
| 2553 | ":protos_perfetto_config_android_lite", |
| 2554 | ":protos_perfetto_config_android_zero", |
| 2555 | ":protos_perfetto_config_ftrace_lite", |
| 2556 | ":protos_perfetto_config_ftrace_zero", |
| 2557 | ":protos_perfetto_config_gpu_lite", |
| 2558 | ":protos_perfetto_config_gpu_zero", |
| 2559 | ":protos_perfetto_config_inode_file_lite", |
| 2560 | ":protos_perfetto_config_inode_file_zero", |
| 2561 | ":protos_perfetto_config_lite", |
| 2562 | ":protos_perfetto_config_power_lite", |
| 2563 | ":protos_perfetto_config_power_zero", |
| 2564 | ":protos_perfetto_config_process_stats_lite", |
| 2565 | ":protos_perfetto_config_process_stats_zero", |
| 2566 | ":protos_perfetto_config_profiling_lite", |
| 2567 | ":protos_perfetto_config_profiling_zero", |
| 2568 | ":protos_perfetto_config_sys_stats_lite", |
| 2569 | ":protos_perfetto_config_sys_stats_zero", |
| 2570 | ":protos_perfetto_config_zero", |
| 2571 | ":protos_perfetto_metrics_android_zero", |
| 2572 | ":protos_perfetto_metrics_zero", |
| 2573 | ":protos_perfetto_trace_android_lite", |
| 2574 | ":protos_perfetto_trace_android_zero", |
Lalit Maganti | a4244e4 | 2019-09-20 12:03:32 +0100 | [diff] [blame] | 2575 | ":protos_perfetto_trace_chrome_lite", |
| 2576 | ":protos_perfetto_trace_chrome_zero", |
| 2577 | ":protos_perfetto_trace_filesystem_lite", |
| 2578 | ":protos_perfetto_trace_filesystem_zero", |
| 2579 | ":protos_perfetto_trace_ftrace_lite", |
| 2580 | ":protos_perfetto_trace_ftrace_zero", |
| 2581 | ":protos_perfetto_trace_gpu_lite", |
| 2582 | ":protos_perfetto_trace_gpu_zero", |
| 2583 | ":protos_perfetto_trace_interned_data_lite", |
| 2584 | ":protos_perfetto_trace_interned_data_zero", |
| 2585 | ":protos_perfetto_trace_minimal_lite", |
| 2586 | ":protos_perfetto_trace_minimal_zero", |
| 2587 | ":protos_perfetto_trace_non_minimal_lite", |
| 2588 | ":protos_perfetto_trace_non_minimal_zero", |
| 2589 | ":protos_perfetto_trace_perfetto_lite", |
| 2590 | ":protos_perfetto_trace_perfetto_zero", |
| 2591 | ":protos_perfetto_trace_power_lite", |
| 2592 | ":protos_perfetto_trace_power_zero", |
| 2593 | ":protos_perfetto_trace_processor_metrics_impl_zero", |
| 2594 | ":protos_perfetto_trace_profiling_lite", |
| 2595 | ":protos_perfetto_trace_profiling_zero", |
| 2596 | ":protos_perfetto_trace_ps_lite", |
| 2597 | ":protos_perfetto_trace_ps_zero", |
| 2598 | ":protos_perfetto_trace_sys_stats_lite", |
| 2599 | ":protos_perfetto_trace_sys_stats_zero", |
| 2600 | ":protos_perfetto_trace_track_event_lite", |
| 2601 | ":protos_perfetto_trace_track_event_zero", |
| 2602 | ":protos_third_party_pprof_lite", |
| 2603 | ] + PERFETTO_CONFIG.deps.jsoncpp + |
Lalit Maganti | a4244e4 | 2019-09-20 12:03:32 +0100 | [diff] [blame] | 2604 | PERFETTO_CONFIG.deps.sqlite + |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2605 | PERFETTO_CONFIG.deps.sqlite_ext_percentile + |
| 2606 | PERFETTO_CONFIG.deps.zlib + [ |
Lalit Maganti | a4244e4 | 2019-09-20 12:03:32 +0100 | [diff] [blame] | 2607 | ":cc_merged_sql_metrics", |
| 2608 | ], |
Ioannis Ilkos | bd4ee3f | 2019-06-21 17:40:09 +0100 | [diff] [blame] | 2609 | ) |
| 2610 | |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2611 | # GN target: //tools/trace_to_text:trace_to_text |
| 2612 | perfetto_cc_binary( |
| 2613 | name = "trace_to_text", |
| 2614 | srcs = [ |
| 2615 | ":include_perfetto_base_base", |
| 2616 | ":include_perfetto_ext_base_base", |
Eric Seckler | 7fb1d23 | 2019-10-23 14:42:43 +0100 | [diff] [blame] | 2617 | ":include_perfetto_ext_trace_processor_export_json", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2618 | ":include_perfetto_ext_traced_sys_stats_counters", |
Lalit Maganti | a4244e4 | 2019-09-20 12:03:32 +0100 | [diff] [blame] | 2619 | ":include_perfetto_profiling_symbolizer", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2620 | ":include_perfetto_protozero_protozero", |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 2621 | ":include_perfetto_trace_processor_basic_types", |
| 2622 | ":include_perfetto_trace_processor_storage", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2623 | ":include_perfetto_trace_processor_trace_processor", |
| 2624 | ":src_base_base", |
| 2625 | ":src_protozero_protozero", |
| 2626 | ":src_trace_processor_common", |
| 2627 | ":src_trace_processor_db_lib", |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 2628 | ":src_trace_processor_export_json", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2629 | ":src_trace_processor_lib", |
| 2630 | ":src_trace_processor_metrics_lib", |
| 2631 | ":src_trace_processor_sqlite_sqlite", |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 2632 | ":src_trace_processor_storage", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2633 | ":src_trace_processor_tables_tables", |
| 2634 | ":tools_trace_to_text_common", |
| 2635 | ":tools_trace_to_text_full", |
| 2636 | ":tools_trace_to_text_local_symbolizer", |
| 2637 | ":tools_trace_to_text_pprofbuilder", |
| 2638 | ":tools_trace_to_text_symbolizer", |
| 2639 | ":tools_trace_to_text_utils", |
| 2640 | ], |
| 2641 | visibility = [ |
| 2642 | "//visibility:public", |
| 2643 | ], |
| 2644 | deps = [ |
| 2645 | ":protos_perfetto_common_lite", |
| 2646 | ":protos_perfetto_common_zero", |
| 2647 | ":protos_perfetto_config_android_lite", |
| 2648 | ":protos_perfetto_config_android_zero", |
| 2649 | ":protos_perfetto_config_ftrace_lite", |
| 2650 | ":protos_perfetto_config_ftrace_zero", |
| 2651 | ":protos_perfetto_config_gpu_lite", |
| 2652 | ":protos_perfetto_config_gpu_zero", |
| 2653 | ":protos_perfetto_config_inode_file_lite", |
| 2654 | ":protos_perfetto_config_inode_file_zero", |
| 2655 | ":protos_perfetto_config_lite", |
| 2656 | ":protos_perfetto_config_power_lite", |
| 2657 | ":protos_perfetto_config_power_zero", |
| 2658 | ":protos_perfetto_config_process_stats_lite", |
| 2659 | ":protos_perfetto_config_process_stats_zero", |
| 2660 | ":protos_perfetto_config_profiling_lite", |
| 2661 | ":protos_perfetto_config_profiling_zero", |
| 2662 | ":protos_perfetto_config_sys_stats_lite", |
| 2663 | ":protos_perfetto_config_sys_stats_zero", |
| 2664 | ":protos_perfetto_config_zero", |
| 2665 | ":protos_perfetto_metrics_android_zero", |
| 2666 | ":protos_perfetto_metrics_zero", |
| 2667 | ":protos_perfetto_trace_android_lite", |
| 2668 | ":protos_perfetto_trace_android_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2669 | ":protos_perfetto_trace_chrome_lite", |
| 2670 | ":protos_perfetto_trace_chrome_zero", |
| 2671 | ":protos_perfetto_trace_filesystem_lite", |
| 2672 | ":protos_perfetto_trace_filesystem_zero", |
| 2673 | ":protos_perfetto_trace_ftrace_lite", |
| 2674 | ":protos_perfetto_trace_ftrace_zero", |
| 2675 | ":protos_perfetto_trace_gpu_lite", |
| 2676 | ":protos_perfetto_trace_gpu_zero", |
| 2677 | ":protos_perfetto_trace_interned_data_lite", |
| 2678 | ":protos_perfetto_trace_interned_data_zero", |
| 2679 | ":protos_perfetto_trace_minimal_lite", |
| 2680 | ":protos_perfetto_trace_minimal_zero", |
| 2681 | ":protos_perfetto_trace_non_minimal_lite", |
| 2682 | ":protos_perfetto_trace_non_minimal_zero", |
| 2683 | ":protos_perfetto_trace_perfetto_lite", |
| 2684 | ":protos_perfetto_trace_perfetto_zero", |
| 2685 | ":protos_perfetto_trace_power_lite", |
| 2686 | ":protos_perfetto_trace_power_zero", |
| 2687 | ":protos_perfetto_trace_processor_metrics_impl_zero", |
| 2688 | ":protos_perfetto_trace_profiling_lite", |
| 2689 | ":protos_perfetto_trace_profiling_zero", |
| 2690 | ":protos_perfetto_trace_ps_lite", |
| 2691 | ":protos_perfetto_trace_ps_zero", |
| 2692 | ":protos_perfetto_trace_sys_stats_lite", |
| 2693 | ":protos_perfetto_trace_sys_stats_zero", |
| 2694 | ":protos_perfetto_trace_track_event_lite", |
| 2695 | ":protos_perfetto_trace_track_event_zero", |
| 2696 | ":protos_third_party_pprof_lite", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2697 | ] + PERFETTO_CONFIG.deps.jsoncpp + |
| 2698 | PERFETTO_CONFIG.deps.protobuf_full + |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2699 | PERFETTO_CONFIG.deps.sqlite + |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2700 | PERFETTO_CONFIG.deps.sqlite_ext_percentile + |
| 2701 | PERFETTO_CONFIG.deps.zlib + [ |
Lalit Maganti | a4244e4 | 2019-09-20 12:03:32 +0100 | [diff] [blame] | 2702 | ":cc_merged_sql_metrics", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2703 | ], |
| 2704 | ) |
| 2705 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2706 | # Content from BUILD.extras |
| 2707 | |
| 2708 | build_config_dir_ = "include/perfetto/base/build_configs/bazel" |
| 2709 | |
| 2710 | # Deliberately NOT a perfetto_cc_library, to avoid cyclic deps. |
| 2711 | # This is pulled as a default dep by all targets. |
Primiano Tucci | 02c1176 | 2019-08-30 00:57:59 +0200 | [diff] [blame] | 2712 | cc_library( |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2713 | name = "build_config_hdr", |
| 2714 | hdrs = [build_config_dir_ + "/perfetto_build_flags.h"], |
| 2715 | includes = [build_config_dir_], |
Primiano Tucci | 02c1176 | 2019-08-30 00:57:59 +0200 | [diff] [blame] | 2716 | ) |
| 2717 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2718 | perfetto_cc_library( |
| 2719 | name = "cc_merged_sql_metrics", |
| 2720 | hdrs = ["src/trace_processor/metrics/sql_metrics.h"], |
Primiano Tucci | 02c1176 | 2019-08-30 00:57:59 +0200 | [diff] [blame] | 2721 | ) |
| 2722 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2723 | perfetto_py_binary( |
Lalit Maganti | caac992 | 2019-05-01 10:40:53 +0100 | [diff] [blame] | 2724 | name = "gen_merged_sql_metrics_py", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 2725 | srcs = [ |
Lalit Maganti | ab619fa | 2019-05-02 12:56:37 +0100 | [diff] [blame] | 2726 | "tools/gen_merged_sql_metrics.py", |
| 2727 | ], |
| 2728 | main = "tools/gen_merged_sql_metrics.py", |
Florian Mayer | a5c1bd5 | 2019-08-02 11:01:34 +0100 | [diff] [blame] | 2729 | python_version = "PY2", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 2730 | ) |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2731 | |
| 2732 | perfetto_java_proto_library( |
| 2733 | name = "protos_perfetto_metrics_java", |
| 2734 | deps = [ |
| 2735 | ":protos_perfetto_metrics_protos", |
| 2736 | ], |
| 2737 | ) |
| 2738 | |
| 2739 | perfetto_java_proto_library( |
| 2740 | name = "protos_perfetto_metrics_android_java", |
| 2741 | deps = [ |
| 2742 | ":protos_perfetto_metrics_android_protos", |
| 2743 | ], |
| 2744 | ) |
| 2745 | |
Lalit Maganti | c3187f8 | 2019-09-20 14:51:11 +0100 | [diff] [blame] | 2746 | perfetto_java_proto_library( |
| 2747 | name = "protos_perfetto_trace_merged_trace_java", |
| 2748 | deps = [ |
| 2749 | ":protos_perfetto_trace_merged_trace_protos", |
| 2750 | ], |
| 2751 | ) |
| 2752 | |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2753 | perfetto_gensignature_internal_only( |
| 2754 | name = "trace_processor_sig", |
| 2755 | srcs = [ |
| 2756 | ":trace_processor_shell", |
| 2757 | ":trace_to_text", |
| 2758 | ], |
| 2759 | tags = [ |
| 2760 | "__TRACE_PROCESSOR_SIG_TAG1", |
| 2761 | "__TRACE_PROCESSOR_SIG_TAG2", |
| 2762 | ], |
| 2763 | ) |