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