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