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