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", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 67 | ":include_perfetto_protozero_protozero", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 68 | ], |
| 69 | deps = [ |
Primiano Tucci | b3e08d0 | 2019-11-19 11:10:11 +0000 | [diff] [blame] | 70 | ":protos_perfetto_ipc_wire_protocol_cpp", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 71 | ], |
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_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 158 | ":protos_perfetto_config_android_cpp", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 159 | ":protos_perfetto_config_android_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 160 | ":protos_perfetto_config_cpp", |
| 161 | ":protos_perfetto_config_ftrace_cpp", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 162 | ":protos_perfetto_config_ftrace_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 163 | ":protos_perfetto_config_gpu_cpp", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 164 | ":protos_perfetto_config_gpu_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 165 | ":protos_perfetto_config_inode_file_cpp", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 166 | ":protos_perfetto_config_inode_file_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 167 | ":protos_perfetto_config_power_cpp", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 168 | ":protos_perfetto_config_power_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 169 | ":protos_perfetto_config_process_stats_cpp", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 170 | ":protos_perfetto_config_process_stats_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 171 | ":protos_perfetto_config_profiling_cpp", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 172 | ":protos_perfetto_config_profiling_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 173 | ":protos_perfetto_config_sys_stats_cpp", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 174 | ":protos_perfetto_config_sys_stats_zero", |
| 175 | ":protos_perfetto_config_zero", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 176 | ":protos_perfetto_ipc_cpp", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 177 | ":protos_perfetto_ipc_ipc", |
Primiano Tucci | b3e08d0 | 2019-11-19 11:10:11 +0000 | [diff] [blame] | 178 | ":protos_perfetto_ipc_wire_protocol_cpp", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 179 | ":protos_perfetto_trace_android_zero", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 180 | ":protos_perfetto_trace_chrome_zero", |
| 181 | ":protos_perfetto_trace_filesystem_zero", |
| 182 | ":protos_perfetto_trace_ftrace_zero", |
| 183 | ":protos_perfetto_trace_gpu_zero", |
| 184 | ":protos_perfetto_trace_interned_data_zero", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 185 | ":protos_perfetto_trace_minimal_zero", |
| 186 | ":protos_perfetto_trace_non_minimal_zero", |
| 187 | ":protos_perfetto_trace_perfetto_zero", |
| 188 | ":protos_perfetto_trace_power_zero", |
| 189 | ":protos_perfetto_trace_profiling_zero", |
| 190 | ":protos_perfetto_trace_ps_zero", |
| 191 | ":protos_perfetto_trace_sys_stats_zero", |
| 192 | ":protos_perfetto_trace_track_event_zero", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 193 | ], |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 194 | ) |
| 195 | |
| 196 | # GN target: //include/perfetto/base:base |
| 197 | filegroup( |
| 198 | name = "include_perfetto_base_base", |
| 199 | srcs = [ |
| 200 | "include/perfetto/base/build_config.h", |
| 201 | "include/perfetto/base/compiler.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 202 | "include/perfetto/base/export.h", |
| 203 | "include/perfetto/base/logging.h", |
| 204 | "include/perfetto/base/task_runner.h", |
| 205 | "include/perfetto/base/time.h", |
| 206 | ], |
| 207 | ) |
| 208 | |
| 209 | # GN target: //include/perfetto/ext/base:base |
| 210 | filegroup( |
| 211 | name = "include_perfetto_ext_base_base", |
| 212 | srcs = [ |
| 213 | "include/perfetto/ext/base/circular_queue.h", |
| 214 | "include/perfetto/ext/base/container_annotations.h", |
| 215 | "include/perfetto/ext/base/event_fd.h", |
| 216 | "include/perfetto/ext/base/file_utils.h", |
| 217 | "include/perfetto/ext/base/hash.h", |
| 218 | "include/perfetto/ext/base/lookup_set.h", |
| 219 | "include/perfetto/ext/base/metatrace.h", |
| 220 | "include/perfetto/ext/base/metatrace_events.h", |
| 221 | "include/perfetto/ext/base/no_destructor.h", |
| 222 | "include/perfetto/ext/base/optional.h", |
| 223 | "include/perfetto/ext/base/paged_memory.h", |
| 224 | "include/perfetto/ext/base/pipe.h", |
| 225 | "include/perfetto/ext/base/proc_utils.h", |
| 226 | "include/perfetto/ext/base/scoped_file.h", |
| 227 | "include/perfetto/ext/base/small_set.h", |
| 228 | "include/perfetto/ext/base/string_splitter.h", |
| 229 | "include/perfetto/ext/base/string_utils.h", |
| 230 | "include/perfetto/ext/base/string_view.h", |
| 231 | "include/perfetto/ext/base/string_writer.h", |
| 232 | "include/perfetto/ext/base/temp_file.h", |
| 233 | "include/perfetto/ext/base/thread_annotations.h", |
| 234 | "include/perfetto/ext/base/thread_checker.h", |
| 235 | "include/perfetto/ext/base/thread_task_runner.h", |
| 236 | "include/perfetto/ext/base/thread_utils.h", |
| 237 | "include/perfetto/ext/base/unix_socket.h", |
| 238 | "include/perfetto/ext/base/unix_task_runner.h", |
| 239 | "include/perfetto/ext/base/utils.h", |
| 240 | "include/perfetto/ext/base/uuid.h", |
| 241 | "include/perfetto/ext/base/waitable_event.h", |
| 242 | "include/perfetto/ext/base/watchdog.h", |
| 243 | "include/perfetto/ext/base/watchdog_noop.h", |
| 244 | "include/perfetto/ext/base/watchdog_posix.h", |
| 245 | "include/perfetto/ext/base/weak_ptr.h", |
| 246 | ], |
| 247 | ) |
| 248 | |
| 249 | # GN target: //include/perfetto/ext/ipc:ipc |
| 250 | filegroup( |
| 251 | name = "include_perfetto_ext_ipc_ipc", |
| 252 | srcs = [ |
| 253 | "include/perfetto/ext/ipc/async_result.h", |
| 254 | "include/perfetto/ext/ipc/basic_types.h", |
| 255 | "include/perfetto/ext/ipc/client.h", |
| 256 | "include/perfetto/ext/ipc/client_info.h", |
| 257 | "include/perfetto/ext/ipc/codegen_helpers.h", |
| 258 | "include/perfetto/ext/ipc/deferred.h", |
| 259 | "include/perfetto/ext/ipc/host.h", |
| 260 | "include/perfetto/ext/ipc/service.h", |
| 261 | "include/perfetto/ext/ipc/service_descriptor.h", |
| 262 | "include/perfetto/ext/ipc/service_proxy.h", |
| 263 | ], |
| 264 | ) |
| 265 | |
Eric Seckler | 7fb1d23 | 2019-10-23 14:42:43 +0100 | [diff] [blame] | 266 | # GN target: //include/perfetto/ext/trace_processor:export_json |
| 267 | filegroup( |
| 268 | name = "include_perfetto_ext_trace_processor_export_json", |
| 269 | srcs = [ |
| 270 | "include/perfetto/ext/trace_processor/export_json.h", |
| 271 | ], |
| 272 | ) |
| 273 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 274 | # GN target: //include/perfetto/ext/traced:sys_stats_counters |
| 275 | filegroup( |
| 276 | name = "include_perfetto_ext_traced_sys_stats_counters", |
| 277 | srcs = [ |
| 278 | "include/perfetto/ext/traced/sys_stats_counters.h", |
| 279 | ], |
| 280 | ) |
| 281 | |
| 282 | # GN target: //include/perfetto/ext/traced:traced |
| 283 | filegroup( |
| 284 | name = "include_perfetto_ext_traced_traced", |
| 285 | srcs = [ |
| 286 | "include/perfetto/ext/traced/data_source_types.h", |
| 287 | "include/perfetto/ext/traced/traced.h", |
| 288 | ], |
| 289 | ) |
| 290 | |
| 291 | # GN target: //include/perfetto/ext/tracing/core:core |
| 292 | filegroup( |
| 293 | name = "include_perfetto_ext_tracing_core_core", |
| 294 | srcs = [ |
| 295 | "include/perfetto/ext/tracing/core/basic_types.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 296 | "include/perfetto/ext/tracing/core/commit_data_request.h", |
| 297 | "include/perfetto/ext/tracing/core/consumer.h", |
| 298 | "include/perfetto/ext/tracing/core/observable_events.h", |
| 299 | "include/perfetto/ext/tracing/core/producer.h", |
| 300 | "include/perfetto/ext/tracing/core/shared_memory.h", |
| 301 | "include/perfetto/ext/tracing/core/shared_memory_abi.h", |
| 302 | "include/perfetto/ext/tracing/core/shared_memory_arbiter.h", |
| 303 | "include/perfetto/ext/tracing/core/slice.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 304 | "include/perfetto/ext/tracing/core/startup_trace_writer.h", |
| 305 | "include/perfetto/ext/tracing/core/startup_trace_writer_registry.h", |
| 306 | "include/perfetto/ext/tracing/core/trace_packet.h", |
| 307 | "include/perfetto/ext/tracing/core/trace_stats.h", |
| 308 | "include/perfetto/ext/tracing/core/trace_writer.h", |
| 309 | "include/perfetto/ext/tracing/core/tracing_service.h", |
| 310 | ], |
| 311 | ) |
| 312 | |
| 313 | # GN target: //include/perfetto/ext/tracing/ipc:ipc |
| 314 | filegroup( |
| 315 | name = "include_perfetto_ext_tracing_ipc_ipc", |
| 316 | srcs = [ |
| 317 | "include/perfetto/ext/tracing/ipc/consumer_ipc_client.h", |
| 318 | "include/perfetto/ext/tracing/ipc/default_socket.h", |
| 319 | "include/perfetto/ext/tracing/ipc/producer_ipc_client.h", |
| 320 | "include/perfetto/ext/tracing/ipc/service_ipc_host.h", |
| 321 | ], |
| 322 | ) |
| 323 | |
Florian Mayer | 3be55fb | 2019-11-22 13:08:47 +0000 | [diff] [blame] | 324 | # GN target: //include/perfetto/profiling:deobfuscator |
| 325 | filegroup( |
| 326 | name = "include_perfetto_profiling_deobfuscator", |
| 327 | srcs = [ |
| 328 | "include/perfetto/profiling/deobfuscator.h", |
| 329 | ], |
| 330 | ) |
| 331 | |
Lalit Maganti | a4244e4 | 2019-09-20 12:03:32 +0100 | [diff] [blame] | 332 | # GN target: //include/perfetto/profiling:symbolizer |
| 333 | filegroup( |
| 334 | name = "include_perfetto_profiling_symbolizer", |
| 335 | srcs = [ |
| 336 | "include/perfetto/profiling/pprof_builder.h", |
| 337 | "include/perfetto/profiling/symbolizer.h", |
| 338 | ], |
| 339 | ) |
| 340 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 341 | # GN target: //include/perfetto/protozero:protozero |
| 342 | filegroup( |
| 343 | name = "include_perfetto_protozero_protozero", |
| 344 | srcs = [ |
| 345 | "include/perfetto/protozero/contiguous_memory_range.h", |
Primiano Tucci | e4144b7 | 2019-11-07 16:10:19 +0000 | [diff] [blame] | 346 | "include/perfetto/protozero/copyable_ptr.h", |
Primiano Tucci | cb8cea2 | 2019-11-22 11:05:35 +0000 | [diff] [blame] | 347 | "include/perfetto/protozero/cpp_message_obj.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 348 | "include/perfetto/protozero/field.h", |
| 349 | "include/perfetto/protozero/message.h", |
| 350 | "include/perfetto/protozero/message_handle.h", |
| 351 | "include/perfetto/protozero/packed_repeated_fields.h", |
| 352 | "include/perfetto/protozero/proto_decoder.h", |
| 353 | "include/perfetto/protozero/proto_utils.h", |
| 354 | "include/perfetto/protozero/scattered_heap_buffer.h", |
| 355 | "include/perfetto/protozero/scattered_stream_null_delegate.h", |
| 356 | "include/perfetto/protozero/scattered_stream_writer.h", |
Primiano Tucci | 6a7fa5f | 2019-11-19 11:09:20 +0000 | [diff] [blame] | 357 | "include/perfetto/protozero/static_buffer.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 358 | ], |
| 359 | ) |
| 360 | |
| 361 | # GN target: //include/perfetto/public:public |
| 362 | filegroup( |
| 363 | name = "include_perfetto_public_public", |
| 364 | srcs = [ |
| 365 | "include/perfetto/public/consumer_api.h", |
| 366 | ], |
| 367 | ) |
| 368 | |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 369 | # GN target: //include/perfetto/trace_processor:basic_types |
| 370 | filegroup( |
| 371 | name = "include_perfetto_trace_processor_basic_types", |
| 372 | srcs = [ |
| 373 | "include/perfetto/trace_processor/basic_types.h", |
| 374 | "include/perfetto/trace_processor/status.h", |
| 375 | ], |
| 376 | ) |
| 377 | |
| 378 | # GN target: //include/perfetto/trace_processor:storage |
| 379 | filegroup( |
| 380 | name = "include_perfetto_trace_processor_storage", |
| 381 | srcs = [ |
| 382 | "include/perfetto/trace_processor/trace_processor_storage.h", |
| 383 | ], |
| 384 | ) |
| 385 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 386 | # GN target: //include/perfetto/trace_processor:trace_processor |
| 387 | filegroup( |
| 388 | name = "include_perfetto_trace_processor_trace_processor", |
| 389 | srcs = [ |
Eric Seckler | 8f70bbf | 2019-10-09 09:37:43 +0100 | [diff] [blame] | 390 | "include/perfetto/trace_processor/read_trace.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 391 | "include/perfetto/trace_processor/trace_processor.h", |
| 392 | ], |
| 393 | ) |
| 394 | |
| 395 | # GN target: //include/perfetto/tracing/core:core |
| 396 | filegroup( |
| 397 | name = "include_perfetto_tracing_core_core", |
| 398 | srcs = [ |
| 399 | "include/perfetto/tracing/core/chrome_config.h", |
| 400 | "include/perfetto/tracing/core/data_source_config.h", |
| 401 | "include/perfetto/tracing/core/data_source_descriptor.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 402 | "include/perfetto/tracing/core/trace_config.h", |
| 403 | "include/perfetto/tracing/core/tracing_service_state.h", |
| 404 | ], |
| 405 | ) |
| 406 | |
Primiano Tucci | cb8cea2 | 2019-11-22 11:05:35 +0000 | [diff] [blame] | 407 | # GN target: //include/perfetto/tracing/core:forward_decls |
| 408 | filegroup( |
| 409 | name = "include_perfetto_tracing_core_forward_decls", |
| 410 | srcs = [ |
| 411 | "include/perfetto/tracing/core/forward_decls.h", |
| 412 | ], |
| 413 | ) |
| 414 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 415 | # GN target: //include/perfetto/tracing:tracing |
| 416 | filegroup( |
| 417 | name = "include_perfetto_tracing_tracing", |
| 418 | srcs = [ |
Florian Mayer | 974a8b8 | 2019-10-03 10:04:27 +0100 | [diff] [blame] | 419 | "include/perfetto/tracing/buffer_exhausted_policy.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 420 | "include/perfetto/tracing/data_source.h", |
Sami Kyostila | 29ff844 | 2019-11-26 16:05:13 +0000 | [diff] [blame] | 421 | "include/perfetto/tracing/debug_annotation.h", |
Sami Kyostila | 10b270a | 2019-11-19 19:12:03 +0000 | [diff] [blame] | 422 | "include/perfetto/tracing/event_context.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 423 | "include/perfetto/tracing/internal/basic_types.h", |
| 424 | "include/perfetto/tracing/internal/data_source_internal.h", |
| 425 | "include/perfetto/tracing/internal/tracing_muxer.h", |
| 426 | "include/perfetto/tracing/internal/tracing_tls.h", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 427 | "include/perfetto/tracing/internal/track_event_data_source.h", |
Sami Kyostila | 1eebf5e | 2019-10-24 17:36:15 +0100 | [diff] [blame] | 428 | "include/perfetto/tracing/internal/track_event_internal.h", |
| 429 | "include/perfetto/tracing/internal/track_event_macros.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 430 | "include/perfetto/tracing/locked_handle.h", |
| 431 | "include/perfetto/tracing/platform.h", |
| 432 | "include/perfetto/tracing/trace_writer_base.h", |
| 433 | "include/perfetto/tracing/tracing.h", |
| 434 | "include/perfetto/tracing/tracing_backend.h", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 435 | "include/perfetto/tracing/track_event.h", |
Sami Kyostila | 1eebf5e | 2019-10-24 17:36:15 +0100 | [diff] [blame] | 436 | "include/perfetto/tracing/track_event_category_registry.h", |
Sami Kyostila | be5d0e3 | 2019-11-07 12:53:25 +0000 | [diff] [blame] | 437 | "include/perfetto/tracing/track_event_interned_data_index.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 438 | ], |
| 439 | ) |
| 440 | |
| 441 | # GN target: //src/android_internal:headers |
| 442 | filegroup( |
| 443 | name = "src_android_internal_headers", |
| 444 | srcs = [ |
| 445 | "src/android_internal/atrace_hal.h", |
| 446 | "src/android_internal/dropbox_service.h", |
| 447 | "src/android_internal/health_hal.h", |
| 448 | "src/android_internal/incident_service.h", |
| 449 | "src/android_internal/power_stats_hal.h", |
| 450 | ], |
| 451 | ) |
| 452 | |
| 453 | # GN target: //src/android_internal:lazy_library_loader |
| 454 | filegroup( |
| 455 | name = "src_android_internal_lazy_library_loader", |
| 456 | srcs = [ |
| 457 | "src/android_internal/lazy_library_loader.cc", |
| 458 | "src/android_internal/lazy_library_loader.h", |
| 459 | ], |
| 460 | ) |
| 461 | |
| 462 | # GN target: //src/base:base |
| 463 | filegroup( |
| 464 | name = "src_base_base", |
| 465 | srcs = [ |
| 466 | "src/base/event_fd.cc", |
| 467 | "src/base/file_utils.cc", |
| 468 | "src/base/metatrace.cc", |
| 469 | "src/base/paged_memory.cc", |
| 470 | "src/base/pipe.cc", |
| 471 | "src/base/string_splitter.cc", |
| 472 | "src/base/string_utils.cc", |
| 473 | "src/base/string_view.cc", |
| 474 | "src/base/temp_file.cc", |
| 475 | "src/base/thread_checker.cc", |
| 476 | "src/base/thread_task_runner.cc", |
| 477 | "src/base/time.cc", |
| 478 | "src/base/unix_task_runner.cc", |
| 479 | "src/base/uuid.cc", |
| 480 | "src/base/virtual_destructors.cc", |
| 481 | "src/base/waitable_event.cc", |
| 482 | "src/base/watchdog_posix.cc", |
| 483 | ], |
| 484 | ) |
| 485 | |
| 486 | # GN target: //src/base:unix_socket |
| 487 | filegroup( |
| 488 | name = "src_base_unix_socket", |
| 489 | srcs = [ |
| 490 | "src/base/unix_socket.cc", |
| 491 | ], |
| 492 | ) |
| 493 | |
| 494 | # GN target: //src/ipc:ipc |
| 495 | filegroup( |
| 496 | name = "src_ipc_ipc", |
| 497 | srcs = [ |
| 498 | "src/ipc/buffered_frame_deserializer.cc", |
| 499 | "src/ipc/buffered_frame_deserializer.h", |
| 500 | "src/ipc/client_impl.cc", |
| 501 | "src/ipc/client_impl.h", |
| 502 | "src/ipc/deferred.cc", |
| 503 | "src/ipc/host_impl.cc", |
| 504 | "src/ipc/host_impl.h", |
| 505 | "src/ipc/service_proxy.cc", |
| 506 | "src/ipc/virtual_destructors.cc", |
| 507 | ], |
| 508 | ) |
| 509 | |
| 510 | # GN target: //src/perfetto_cmd:perfetto_cmd |
| 511 | filegroup( |
| 512 | name = "src_perfetto_cmd_perfetto_cmd", |
| 513 | srcs = [ |
| 514 | "src/perfetto_cmd/config.cc", |
| 515 | "src/perfetto_cmd/config.h", |
| 516 | "src/perfetto_cmd/packet_writer.cc", |
| 517 | "src/perfetto_cmd/packet_writer.h", |
| 518 | "src/perfetto_cmd/pbtxt_to_pb.cc", |
| 519 | "src/perfetto_cmd/pbtxt_to_pb.h", |
| 520 | "src/perfetto_cmd/perfetto_cmd.cc", |
| 521 | "src/perfetto_cmd/perfetto_cmd.h", |
| 522 | "src/perfetto_cmd/perfetto_config.descriptor.h", |
| 523 | "src/perfetto_cmd/rate_limiter.cc", |
| 524 | "src/perfetto_cmd/rate_limiter.h", |
| 525 | ], |
| 526 | ) |
| 527 | |
| 528 | # GN target: //src/perfetto_cmd:trigger_producer |
| 529 | filegroup( |
| 530 | name = "src_perfetto_cmd_trigger_producer", |
| 531 | srcs = [ |
| 532 | "src/perfetto_cmd/trigger_producer.cc", |
| 533 | "src/perfetto_cmd/trigger_producer.h", |
| 534 | ], |
| 535 | ) |
| 536 | |
Florian Mayer | 3be55fb | 2019-11-22 13:08:47 +0000 | [diff] [blame] | 537 | # GN target: //src/profiling:deobfuscator |
| 538 | filegroup( |
| 539 | name = "src_profiling_deobfuscator", |
| 540 | srcs = [ |
| 541 | "src/profiling/deobfuscator.cc", |
| 542 | ], |
| 543 | ) |
| 544 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 545 | # GN target: //src/protozero:protozero |
| 546 | filegroup( |
| 547 | name = "src_protozero_protozero", |
| 548 | srcs = [ |
Primiano Tucci | 6a7813d | 2019-11-19 11:08:50 +0000 | [diff] [blame] | 549 | "src/protozero/field.cc", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 550 | "src/protozero/message.cc", |
| 551 | "src/protozero/message_handle.cc", |
Primiano Tucci | 03ac833 | 2019-11-06 13:30:36 +0000 | [diff] [blame] | 552 | "src/protozero/packed_repeated_fields.cc", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 553 | "src/protozero/proto_decoder.cc", |
| 554 | "src/protozero/scattered_heap_buffer.cc", |
| 555 | "src/protozero/scattered_stream_null_delegate.cc", |
| 556 | "src/protozero/scattered_stream_writer.cc", |
Primiano Tucci | 6a7fa5f | 2019-11-19 11:09:20 +0000 | [diff] [blame] | 557 | "src/protozero/static_buffer.cc", |
Primiano Tucci | cb8cea2 | 2019-11-22 11:05:35 +0000 | [diff] [blame] | 558 | "src/protozero/virtual_destructors.cc", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 559 | ], |
| 560 | ) |
| 561 | |
| 562 | # GN target: //src/trace_processor/db:lib |
| 563 | filegroup( |
| 564 | name = "src_trace_processor_db_lib", |
| 565 | srcs = [ |
| 566 | "src/trace_processor/db/bit_vector.cc", |
| 567 | "src/trace_processor/db/bit_vector.h", |
Lalit Maganti | 7ed308f | 2019-10-17 11:38:24 +0100 | [diff] [blame] | 568 | "src/trace_processor/db/bit_vector_iterators.cc", |
| 569 | "src/trace_processor/db/bit_vector_iterators.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 570 | "src/trace_processor/db/column.cc", |
| 571 | "src/trace_processor/db/column.h", |
| 572 | "src/trace_processor/db/row_map.cc", |
| 573 | "src/trace_processor/db/row_map.h", |
| 574 | "src/trace_processor/db/sparse_vector.h", |
| 575 | "src/trace_processor/db/table.cc", |
| 576 | "src/trace_processor/db/table.h", |
| 577 | "src/trace_processor/db/typed_column.h", |
| 578 | ], |
| 579 | ) |
| 580 | |
| 581 | genrule( |
| 582 | name = "src_trace_processor_metrics_gen_merged_sql_metrics", |
| 583 | srcs = [ |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 584 | "src/trace_processor/metrics/android/android_batt.sql", |
| 585 | "src/trace_processor/metrics/android/android_cpu.sql", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 586 | "src/trace_processor/metrics/android/android_cpu_agg.sql", |
Ioannis Ilkos | ed80390 | 2019-09-24 11:58:56 +0100 | [diff] [blame] | 587 | "src/trace_processor/metrics/android/android_ion.sql", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 588 | "src/trace_processor/metrics/android/android_lmk.sql", |
Rafal Slawik | 88ffa44 | 2019-11-27 14:42:06 +0000 | [diff] [blame] | 589 | "src/trace_processor/metrics/android/android_lmk_reason.sql", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 590 | "src/trace_processor/metrics/android/android_mem.sql", |
| 591 | "src/trace_processor/metrics/android/android_mem_unagg.sql", |
| 592 | "src/trace_processor/metrics/android/android_package_list.sql", |
Ioannis Ilkos | ed80390 | 2019-09-24 11:58:56 +0100 | [diff] [blame] | 593 | "src/trace_processor/metrics/android/android_powrails.sql", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 594 | "src/trace_processor/metrics/android/android_startup.sql", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 595 | "src/trace_processor/metrics/android/android_startup_cpu.sql", |
Ioannis Ilkos | ed80390 | 2019-09-24 11:58:56 +0100 | [diff] [blame] | 596 | "src/trace_processor/metrics/android/android_startup_launches.sql", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 597 | "src/trace_processor/metrics/android/android_task_state.sql", |
Ioannis Ilkos | 73f2cd0 | 2019-10-08 22:49:02 +0100 | [diff] [blame] | 598 | "src/trace_processor/metrics/android/heap_profile_callsites.sql", |
Ioannis Ilkos | 2c832dc | 2019-11-08 11:35:03 +0000 | [diff] [blame] | 599 | "src/trace_processor/metrics/android/java_heap_stats.sql", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 600 | "src/trace_processor/metrics/android/mem_stats_priority_breakdown.sql", |
| 601 | "src/trace_processor/metrics/android/process_mem.sql", |
Ioannis Ilkos | cfcd7f8 | 2019-11-19 14:43:24 +0000 | [diff] [blame] | 602 | "src/trace_processor/metrics/android/process_metadata.sql", |
Rafal Slawik | da2b421 | 2019-11-26 11:44:02 +0000 | [diff] [blame] | 603 | "src/trace_processor/metrics/android/process_oom_score.sql", |
Ioannis Ilkos | ed80390 | 2019-09-24 11:58:56 +0100 | [diff] [blame] | 604 | "src/trace_processor/metrics/android/process_unagg_mem_view.sql", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 605 | "src/trace_processor/metrics/android/span_view_stats.sql", |
| 606 | "src/trace_processor/metrics/android/unsymbolized_frames.sql", |
| 607 | "src/trace_processor/metrics/android/upid_span_view.sql", |
| 608 | "src/trace_processor/metrics/trace_metadata.sql", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 609 | ], |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 610 | outs = [ |
| 611 | "src/trace_processor/metrics/sql_metrics.h", |
| 612 | ], |
Lalit Maganti | e667b0f | 2019-05-02 13:49:35 +0100 | [diff] [blame] | 613 | cmd = "$(location gen_merged_sql_metrics_py) --cpp_out=$@ $(SRCS)", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 614 | tools = [ |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 615 | ":gen_merged_sql_metrics_py", |
| 616 | ], |
| 617 | ) |
| 618 | |
| 619 | # GN target: //src/trace_processor/metrics:lib |
| 620 | filegroup( |
| 621 | name = "src_trace_processor_metrics_lib", |
| 622 | srcs = [ |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 623 | "src/trace_processor/metrics/metrics.cc", |
| 624 | "src/trace_processor/metrics/metrics.descriptor.h", |
| 625 | "src/trace_processor/metrics/metrics.h", |
| 626 | ], |
| 627 | ) |
| 628 | |
Primiano Tucci | a36cccc | 2019-10-27 13:15:04 +0100 | [diff] [blame] | 629 | # GN target: //src/trace_processor/rpc:httpd |
| 630 | filegroup( |
| 631 | name = "src_trace_processor_rpc_httpd", |
| 632 | srcs = [ |
| 633 | "src/trace_processor/rpc/httpd.cc", |
| 634 | "src/trace_processor/rpc/httpd.h", |
| 635 | ], |
| 636 | ) |
| 637 | |
| 638 | # GN target: //src/trace_processor/rpc:rpc |
| 639 | filegroup( |
| 640 | name = "src_trace_processor_rpc_rpc", |
| 641 | srcs = [ |
| 642 | "src/trace_processor/rpc/rpc.cc", |
| 643 | "src/trace_processor/rpc/rpc.h", |
| 644 | ], |
| 645 | ) |
| 646 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 647 | # GN target: //src/trace_processor/sqlite:sqlite |
| 648 | filegroup( |
| 649 | name = "src_trace_processor_sqlite_sqlite", |
| 650 | srcs = [ |
| 651 | "src/trace_processor/sqlite/db_sqlite_table.cc", |
| 652 | "src/trace_processor/sqlite/db_sqlite_table.h", |
| 653 | "src/trace_processor/sqlite/query_constraints.cc", |
| 654 | "src/trace_processor/sqlite/query_constraints.h", |
| 655 | "src/trace_processor/sqlite/scoped_db.h", |
| 656 | "src/trace_processor/sqlite/sqlite3_str_split.cc", |
| 657 | "src/trace_processor/sqlite/sqlite3_str_split.h", |
| 658 | "src/trace_processor/sqlite/sqlite_table.cc", |
| 659 | "src/trace_processor/sqlite/sqlite_table.h", |
| 660 | "src/trace_processor/sqlite/sqlite_utils.h", |
| 661 | ], |
| 662 | ) |
| 663 | |
| 664 | # GN target: //src/trace_processor/tables:tables |
| 665 | filegroup( |
| 666 | name = "src_trace_processor_tables_tables", |
| 667 | srcs = [ |
| 668 | "src/trace_processor/tables/macros.h", |
| 669 | "src/trace_processor/tables/macros_internal.h", |
| 670 | "src/trace_processor/tables/profiler_tables.h", |
| 671 | "src/trace_processor/tables/slice_tables.h", |
| 672 | "src/trace_processor/tables/track_tables.h", |
| 673 | ], |
| 674 | ) |
| 675 | |
| 676 | # GN target: //src/trace_processor:common |
| 677 | filegroup( |
| 678 | name = "src_trace_processor_common", |
| 679 | srcs = [ |
| 680 | "src/trace_processor/null_term_string_view.h", |
| 681 | "src/trace_processor/string_pool.cc", |
| 682 | "src/trace_processor/string_pool.h", |
| 683 | ], |
| 684 | ) |
| 685 | |
Stephen Nusko | bc76a6c | 2019-12-03 11:55:27 +0000 | [diff] [blame] | 686 | # GN target: //src/trace_processor:descriptors |
| 687 | filegroup( |
| 688 | name = "src_trace_processor_descriptors", |
| 689 | srcs = [ |
| 690 | "src/trace_processor/descriptors.cc", |
| 691 | "src/trace_processor/descriptors.h", |
| 692 | ], |
| 693 | ) |
| 694 | |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 695 | # GN target: //src/trace_processor:export_json |
| 696 | filegroup( |
| 697 | name = "src_trace_processor_export_json", |
| 698 | srcs = [ |
| 699 | "src/trace_processor/export_json.cc", |
| 700 | "src/trace_processor/export_json.h", |
| 701 | ], |
| 702 | ) |
| 703 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 704 | # GN target: //src/trace_processor:lib |
| 705 | filegroup( |
| 706 | name = "src_trace_processor_lib", |
| 707 | srcs = [ |
| 708 | "src/trace_processor/android_logs_table.cc", |
| 709 | "src/trace_processor/android_logs_table.h", |
| 710 | "src/trace_processor/args_table.cc", |
| 711 | "src/trace_processor/args_table.h", |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 712 | "src/trace_processor/counter_values_table.cc", |
| 713 | "src/trace_processor/counter_values_table.h", |
| 714 | "src/trace_processor/cpu_profile_stack_sample_table.cc", |
| 715 | "src/trace_processor/cpu_profile_stack_sample_table.h", |
| 716 | "src/trace_processor/filtered_row_index.cc", |
| 717 | "src/trace_processor/filtered_row_index.h", |
Isabelle Taylor | 13a7585 | 2019-11-20 10:29:40 +0000 | [diff] [blame] | 718 | "src/trace_processor/gfp_flags.cc", |
| 719 | "src/trace_processor/gfp_flags.h", |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 720 | "src/trace_processor/heap_profile_allocation_table.cc", |
| 721 | "src/trace_processor/heap_profile_allocation_table.h", |
| 722 | "src/trace_processor/instants_table.cc", |
| 723 | "src/trace_processor/instants_table.h", |
| 724 | "src/trace_processor/metadata_table.cc", |
| 725 | "src/trace_processor/metadata_table.h", |
| 726 | "src/trace_processor/process_table.cc", |
| 727 | "src/trace_processor/process_table.h", |
| 728 | "src/trace_processor/raw_table.cc", |
| 729 | "src/trace_processor/raw_table.h", |
| 730 | "src/trace_processor/read_trace.cc", |
| 731 | "src/trace_processor/row_iterators.cc", |
| 732 | "src/trace_processor/row_iterators.h", |
| 733 | "src/trace_processor/sched_slice_table.cc", |
| 734 | "src/trace_processor/sched_slice_table.h", |
| 735 | "src/trace_processor/slice_table.cc", |
| 736 | "src/trace_processor/slice_table.h", |
| 737 | "src/trace_processor/span_join_operator_table.cc", |
| 738 | "src/trace_processor/span_join_operator_table.h", |
| 739 | "src/trace_processor/sql_stats_table.cc", |
| 740 | "src/trace_processor/sql_stats_table.h", |
| 741 | "src/trace_processor/stack_profile_frame_table.cc", |
| 742 | "src/trace_processor/stack_profile_frame_table.h", |
| 743 | "src/trace_processor/stack_profile_mapping_table.cc", |
| 744 | "src/trace_processor/stack_profile_mapping_table.h", |
| 745 | "src/trace_processor/stats_table.cc", |
| 746 | "src/trace_processor/stats_table.h", |
| 747 | "src/trace_processor/storage_columns.cc", |
| 748 | "src/trace_processor/storage_columns.h", |
| 749 | "src/trace_processor/storage_schema.cc", |
| 750 | "src/trace_processor/storage_schema.h", |
| 751 | "src/trace_processor/storage_table.cc", |
| 752 | "src/trace_processor/storage_table.h", |
| 753 | "src/trace_processor/thread_table.cc", |
| 754 | "src/trace_processor/thread_table.h", |
| 755 | "src/trace_processor/trace_processor.cc", |
| 756 | "src/trace_processor/trace_processor_impl.cc", |
| 757 | "src/trace_processor/trace_processor_impl.h", |
| 758 | "src/trace_processor/window_operator_table.cc", |
| 759 | "src/trace_processor/window_operator_table.h", |
| 760 | ], |
| 761 | ) |
| 762 | |
| 763 | # GN target: //src/trace_processor:storage |
| 764 | filegroup( |
| 765 | name = "src_trace_processor_storage", |
| 766 | srcs = [ |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 767 | "src/trace_processor/args_tracker.cc", |
| 768 | "src/trace_processor/args_tracker.h", |
Hector Dearman | 6451758 | 2019-10-29 17:14:08 +0000 | [diff] [blame] | 769 | "src/trace_processor/binder_tracker.cc", |
| 770 | "src/trace_processor/binder_tracker.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 771 | "src/trace_processor/chunked_trace_reader.h", |
| 772 | "src/trace_processor/clock_tracker.cc", |
| 773 | "src/trace_processor/clock_tracker.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 774 | "src/trace_processor/event_tracker.cc", |
| 775 | "src/trace_processor/event_tracker.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 776 | "src/trace_processor/forwarding_trace_parser.cc", |
| 777 | "src/trace_processor/forwarding_trace_parser.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 778 | "src/trace_processor/ftrace_utils.cc", |
| 779 | "src/trace_processor/ftrace_utils.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 780 | "src/trace_processor/gzip_trace_parser.cc", |
| 781 | "src/trace_processor/gzip_trace_parser.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 782 | "src/trace_processor/heap_profile_tracker.cc", |
| 783 | "src/trace_processor/heap_profile_tracker.h", |
Eric Seckler | acfe35b | 2019-10-18 15:50:17 +0100 | [diff] [blame] | 784 | "src/trace_processor/importers/ftrace/ftrace_descriptors.cc", |
| 785 | "src/trace_processor/importers/ftrace/ftrace_descriptors.h", |
| 786 | "src/trace_processor/importers/ftrace/ftrace_module.h", |
| 787 | "src/trace_processor/importers/ftrace/ftrace_parser.cc", |
| 788 | "src/trace_processor/importers/ftrace/ftrace_parser.h", |
| 789 | "src/trace_processor/importers/ftrace/ftrace_tokenizer.cc", |
| 790 | "src/trace_processor/importers/ftrace/ftrace_tokenizer.h", |
Eric Seckler | d379513 | 2019-10-21 16:43:10 +0100 | [diff] [blame] | 791 | "src/trace_processor/importers/ftrace/sched_event_tracker.cc", |
| 792 | "src/trace_processor/importers/ftrace/sched_event_tracker.h", |
Eric Seckler | d8b5208 | 2019-10-17 15:58:38 +0100 | [diff] [blame] | 793 | "src/trace_processor/importers/fuchsia/fuchsia_provider_view.cc", |
| 794 | "src/trace_processor/importers/fuchsia/fuchsia_provider_view.h", |
| 795 | "src/trace_processor/importers/fuchsia/fuchsia_trace_parser.cc", |
| 796 | "src/trace_processor/importers/fuchsia/fuchsia_trace_parser.h", |
| 797 | "src/trace_processor/importers/fuchsia/fuchsia_trace_tokenizer.cc", |
| 798 | "src/trace_processor/importers/fuchsia/fuchsia_trace_tokenizer.h", |
| 799 | "src/trace_processor/importers/fuchsia/fuchsia_trace_utils.cc", |
| 800 | "src/trace_processor/importers/fuchsia/fuchsia_trace_utils.h", |
| 801 | "src/trace_processor/importers/json/json_trace_parser.cc", |
| 802 | "src/trace_processor/importers/json/json_trace_parser.h", |
| 803 | "src/trace_processor/importers/json/json_trace_tokenizer.cc", |
| 804 | "src/trace_processor/importers/json/json_trace_tokenizer.h", |
| 805 | "src/trace_processor/importers/json/json_trace_utils.cc", |
| 806 | "src/trace_processor/importers/json/json_trace_utils.h", |
Eric Seckler | ab0604c | 2019-10-25 10:12:07 +0100 | [diff] [blame] | 807 | "src/trace_processor/importers/proto/android_probes_module.h", |
| 808 | "src/trace_processor/importers/proto/android_probes_parser.cc", |
| 809 | "src/trace_processor/importers/proto/android_probes_parser.h", |
Stephen Nusko | bc76a6c | 2019-12-03 11:55:27 +0000 | [diff] [blame] | 810 | "src/trace_processor/importers/proto/args_table_utils.cc", |
| 811 | "src/trace_processor/importers/proto/args_table_utils.h", |
| 812 | "src/trace_processor/importers/proto/chrome_compositor_scheduler_state.descriptor.h", |
Mikhail Khokhlov | 785af54 | 2019-12-06 13:45:10 +0000 | [diff] [blame^] | 813 | "src/trace_processor/importers/proto/graphics_event_module.cc", |
Eric Seckler | 63afd79 | 2019-10-23 15:05:05 +0100 | [diff] [blame] | 814 | "src/trace_processor/importers/proto/graphics_event_module.h", |
| 815 | "src/trace_processor/importers/proto/graphics_event_parser.cc", |
| 816 | "src/trace_processor/importers/proto/graphics_event_parser.h", |
Eric Seckler | c165b87 | 2019-11-04 14:26:25 +0000 | [diff] [blame] | 817 | "src/trace_processor/importers/proto/heap_graph_module.cc", |
| 818 | "src/trace_processor/importers/proto/heap_graph_module.h", |
| 819 | "src/trace_processor/importers/proto/heap_graph_tracker.cc", |
| 820 | "src/trace_processor/importers/proto/heap_graph_tracker.h", |
| 821 | "src/trace_processor/importers/proto/heap_graph_walker.cc", |
| 822 | "src/trace_processor/importers/proto/heap_graph_walker.h", |
Eric Seckler | 771960c | 2019-10-22 15:37:12 +0100 | [diff] [blame] | 823 | "src/trace_processor/importers/proto/packet_sequence_state.h", |
Mikhail Khokhlov | 785af54 | 2019-12-06 13:45:10 +0000 | [diff] [blame^] | 824 | "src/trace_processor/importers/proto/proto_importer_module.cc", |
Eric Seckler | de58995 | 2019-10-17 12:46:07 +0100 | [diff] [blame] | 825 | "src/trace_processor/importers/proto/proto_importer_module.h", |
Eric Seckler | 771960c | 2019-10-22 15:37:12 +0100 | [diff] [blame] | 826 | "src/trace_processor/importers/proto/proto_incremental_state.h", |
Eric Seckler | 137a467 | 2019-10-24 08:51:14 +0100 | [diff] [blame] | 827 | "src/trace_processor/importers/proto/proto_trace_parser.cc", |
| 828 | "src/trace_processor/importers/proto/proto_trace_parser.h", |
| 829 | "src/trace_processor/importers/proto/proto_trace_tokenizer.cc", |
| 830 | "src/trace_processor/importers/proto/proto_trace_tokenizer.h", |
Eric Seckler | ab0604c | 2019-10-25 10:12:07 +0100 | [diff] [blame] | 831 | "src/trace_processor/importers/proto/system_probes_module.h", |
| 832 | "src/trace_processor/importers/proto/system_probes_parser.cc", |
| 833 | "src/trace_processor/importers/proto/system_probes_parser.h", |
Eric Seckler | de58995 | 2019-10-17 12:46:07 +0100 | [diff] [blame] | 834 | "src/trace_processor/importers/proto/track_event_module.h", |
Eric Seckler | 771960c | 2019-10-22 15:37:12 +0100 | [diff] [blame] | 835 | "src/trace_processor/importers/proto/track_event_parser.cc", |
| 836 | "src/trace_processor/importers/proto/track_event_parser.h", |
| 837 | "src/trace_processor/importers/proto/track_event_tokenizer.cc", |
| 838 | "src/trace_processor/importers/proto/track_event_tokenizer.h", |
Eric Seckler | d8b5208 | 2019-10-17 15:58:38 +0100 | [diff] [blame] | 839 | "src/trace_processor/importers/systrace/systrace_parser.cc", |
| 840 | "src/trace_processor/importers/systrace/systrace_parser.h", |
| 841 | "src/trace_processor/importers/systrace/systrace_trace_parser.cc", |
| 842 | "src/trace_processor/importers/systrace/systrace_trace_parser.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 843 | "src/trace_processor/metadata.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 844 | "src/trace_processor/process_tracker.cc", |
| 845 | "src/trace_processor/process_tracker.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 846 | "src/trace_processor/slice_tracker.cc", |
| 847 | "src/trace_processor/slice_tracker.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 848 | "src/trace_processor/stack_profile_tracker.cc", |
| 849 | "src/trace_processor/stack_profile_tracker.h", |
| 850 | "src/trace_processor/stats.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 851 | "src/trace_processor/syscall_tracker.cc", |
| 852 | "src/trace_processor/syscall_tracker.h", |
| 853 | "src/trace_processor/syscalls_aarch32.h", |
| 854 | "src/trace_processor/syscalls_aarch64.h", |
| 855 | "src/trace_processor/syscalls_armeabi.h", |
| 856 | "src/trace_processor/syscalls_x86_64.h", |
Eric Seckler | 1a2ea13 | 2019-10-16 11:35:31 +0100 | [diff] [blame] | 857 | "src/trace_processor/timestamped_trace_piece.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 858 | "src/trace_processor/trace_blob_view.h", |
| 859 | "src/trace_processor/trace_parser.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 860 | "src/trace_processor/trace_processor_context.cc", |
| 861 | "src/trace_processor/trace_processor_context.h", |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 862 | "src/trace_processor/trace_processor_storage.cc", |
| 863 | "src/trace_processor/trace_processor_storage_impl.cc", |
| 864 | "src/trace_processor/trace_processor_storage_impl.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 865 | "src/trace_processor/trace_sorter.cc", |
| 866 | "src/trace_processor/trace_sorter.h", |
| 867 | "src/trace_processor/trace_storage.cc", |
| 868 | "src/trace_processor/trace_storage.h", |
Lalit Maganti | 4ea78d9 | 2019-09-20 20:20:41 +0100 | [diff] [blame] | 869 | "src/trace_processor/track_tracker.cc", |
| 870 | "src/trace_processor/track_tracker.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 871 | "src/trace_processor/variadic.h", |
| 872 | "src/trace_processor/virtual_destructors.cc", |
Mohammad Reza Zakerinasab | b06d185 | 2019-09-11 14:41:36 -0400 | [diff] [blame] | 873 | "src/trace_processor/vulkan_memory_tracker.cc", |
| 874 | "src/trace_processor/vulkan_memory_tracker.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 875 | ], |
| 876 | ) |
| 877 | |
| 878 | # GN target: //src/traced/probes/android_log:android_log |
| 879 | filegroup( |
| 880 | name = "src_traced_probes_android_log_android_log", |
| 881 | srcs = [ |
| 882 | "src/traced/probes/android_log/android_log_data_source.cc", |
| 883 | "src/traced/probes/android_log/android_log_data_source.h", |
| 884 | ], |
| 885 | ) |
| 886 | |
| 887 | # GN target: //src/traced/probes/filesystem:filesystem |
| 888 | filegroup( |
| 889 | name = "src_traced_probes_filesystem_filesystem", |
| 890 | srcs = [ |
| 891 | "src/traced/probes/filesystem/file_scanner.cc", |
| 892 | "src/traced/probes/filesystem/file_scanner.h", |
| 893 | "src/traced/probes/filesystem/fs_mount.cc", |
| 894 | "src/traced/probes/filesystem/fs_mount.h", |
| 895 | "src/traced/probes/filesystem/inode_file_data_source.cc", |
| 896 | "src/traced/probes/filesystem/inode_file_data_source.h", |
| 897 | "src/traced/probes/filesystem/lru_inode_cache.cc", |
| 898 | "src/traced/probes/filesystem/lru_inode_cache.h", |
| 899 | "src/traced/probes/filesystem/prefix_finder.cc", |
| 900 | "src/traced/probes/filesystem/prefix_finder.h", |
| 901 | "src/traced/probes/filesystem/range_tree.cc", |
| 902 | "src/traced/probes/filesystem/range_tree.h", |
| 903 | ], |
| 904 | ) |
| 905 | |
| 906 | # GN target: //src/traced/probes/ftrace:format_parser |
| 907 | filegroup( |
| 908 | name = "src_traced_probes_ftrace_format_parser", |
| 909 | srcs = [ |
| 910 | "src/traced/probes/ftrace/format_parser.cc", |
| 911 | "src/traced/probes/ftrace/format_parser.h", |
| 912 | ], |
| 913 | ) |
| 914 | |
| 915 | # GN target: //src/traced/probes/ftrace:ftrace |
| 916 | filegroup( |
| 917 | name = "src_traced_probes_ftrace_ftrace", |
| 918 | srcs = [ |
| 919 | "src/traced/probes/ftrace/atrace_hal_wrapper.cc", |
| 920 | "src/traced/probes/ftrace/atrace_hal_wrapper.h", |
| 921 | "src/traced/probes/ftrace/atrace_wrapper.cc", |
| 922 | "src/traced/probes/ftrace/atrace_wrapper.h", |
Lalit Maganti | 44817b6 | 2019-09-19 16:58:23 +0100 | [diff] [blame] | 923 | "src/traced/probes/ftrace/compact_sched.cc", |
| 924 | "src/traced/probes/ftrace/compact_sched.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 925 | "src/traced/probes/ftrace/cpu_reader.cc", |
| 926 | "src/traced/probes/ftrace/cpu_reader.h", |
| 927 | "src/traced/probes/ftrace/cpu_stats_parser.cc", |
| 928 | "src/traced/probes/ftrace/cpu_stats_parser.h", |
| 929 | "src/traced/probes/ftrace/event_info.cc", |
| 930 | "src/traced/probes/ftrace/event_info.h", |
| 931 | "src/traced/probes/ftrace/event_info_constants.cc", |
| 932 | "src/traced/probes/ftrace/event_info_constants.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 933 | "src/traced/probes/ftrace/ftrace_config_muxer.cc", |
| 934 | "src/traced/probes/ftrace/ftrace_config_muxer.h", |
| 935 | "src/traced/probes/ftrace/ftrace_config_utils.cc", |
| 936 | "src/traced/probes/ftrace/ftrace_config_utils.h", |
| 937 | "src/traced/probes/ftrace/ftrace_controller.cc", |
| 938 | "src/traced/probes/ftrace/ftrace_controller.h", |
| 939 | "src/traced/probes/ftrace/ftrace_data_source.cc", |
| 940 | "src/traced/probes/ftrace/ftrace_data_source.h", |
| 941 | "src/traced/probes/ftrace/ftrace_metadata.cc", |
| 942 | "src/traced/probes/ftrace/ftrace_metadata.h", |
| 943 | "src/traced/probes/ftrace/ftrace_procfs.cc", |
| 944 | "src/traced/probes/ftrace/ftrace_procfs.h", |
| 945 | "src/traced/probes/ftrace/ftrace_stats.cc", |
| 946 | "src/traced/probes/ftrace/ftrace_stats.h", |
| 947 | "src/traced/probes/ftrace/proto_translation_table.cc", |
| 948 | "src/traced/probes/ftrace/proto_translation_table.h", |
| 949 | ], |
| 950 | ) |
| 951 | |
| 952 | # GN target: //src/traced/probes/metatrace:metatrace |
| 953 | filegroup( |
| 954 | name = "src_traced_probes_metatrace_metatrace", |
| 955 | srcs = [ |
| 956 | "src/traced/probes/metatrace/metatrace_data_source.cc", |
| 957 | "src/traced/probes/metatrace/metatrace_data_source.h", |
| 958 | ], |
| 959 | ) |
| 960 | |
| 961 | # GN target: //src/traced/probes/packages_list:packages_list |
| 962 | filegroup( |
| 963 | name = "src_traced_probes_packages_list_packages_list", |
| 964 | srcs = [ |
| 965 | "src/traced/probes/packages_list/packages_list_data_source.cc", |
| 966 | "src/traced/probes/packages_list/packages_list_data_source.h", |
| 967 | ], |
| 968 | ) |
| 969 | |
| 970 | # GN target: //src/traced/probes/power:power |
| 971 | filegroup( |
| 972 | name = "src_traced_probes_power_power", |
| 973 | srcs = [ |
| 974 | "src/traced/probes/power/android_power_data_source.cc", |
| 975 | "src/traced/probes/power/android_power_data_source.h", |
| 976 | ], |
| 977 | ) |
| 978 | |
| 979 | # GN target: //src/traced/probes/ps:ps |
| 980 | filegroup( |
| 981 | name = "src_traced_probes_ps_ps", |
| 982 | srcs = [ |
| 983 | "src/traced/probes/ps/process_stats_data_source.cc", |
| 984 | "src/traced/probes/ps/process_stats_data_source.h", |
| 985 | ], |
| 986 | ) |
| 987 | |
| 988 | # GN target: //src/traced/probes/sys_stats:sys_stats |
| 989 | filegroup( |
| 990 | name = "src_traced_probes_sys_stats_sys_stats", |
| 991 | srcs = [ |
| 992 | "src/traced/probes/sys_stats/sys_stats_data_source.cc", |
| 993 | "src/traced/probes/sys_stats/sys_stats_data_source.h", |
| 994 | ], |
| 995 | ) |
| 996 | |
| 997 | # GN target: //src/traced/probes:data_source |
| 998 | filegroup( |
| 999 | name = "src_traced_probes_data_source", |
| 1000 | srcs = [ |
| 1001 | "src/traced/probes/probes_data_source.cc", |
| 1002 | "src/traced/probes/probes_data_source.h", |
| 1003 | ], |
| 1004 | ) |
| 1005 | |
| 1006 | # GN target: //src/traced/probes:probes |
| 1007 | filegroup( |
| 1008 | name = "src_traced_probes_probes", |
| 1009 | srcs = [ |
| 1010 | "src/traced/probes/probes.cc", |
| 1011 | ], |
| 1012 | ) |
| 1013 | |
| 1014 | # GN target: //src/traced/probes:probes_src |
| 1015 | filegroup( |
| 1016 | name = "src_traced_probes_probes_src", |
| 1017 | srcs = [ |
| 1018 | "src/traced/probes/probes_producer.cc", |
| 1019 | "src/traced/probes/probes_producer.h", |
| 1020 | ], |
| 1021 | ) |
| 1022 | |
| 1023 | # GN target: //src/traced/service:service |
| 1024 | filegroup( |
| 1025 | name = "src_traced_service_service", |
| 1026 | srcs = [ |
| 1027 | "src/traced/service/builtin_producer.cc", |
| 1028 | "src/traced/service/builtin_producer.h", |
| 1029 | "src/traced/service/service.cc", |
| 1030 | ], |
| 1031 | ) |
| 1032 | |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 1033 | # GN target: //src/tracing:client_api |
| 1034 | filegroup( |
| 1035 | name = "src_tracing_client_api", |
| 1036 | srcs = [ |
| 1037 | "src/tracing/data_source.cc", |
Sami Kyostila | 29ff844 | 2019-11-26 16:05:13 +0000 | [diff] [blame] | 1038 | "src/tracing/debug_annotation.cc", |
Sami Kyostila | 10b270a | 2019-11-19 19:12:03 +0000 | [diff] [blame] | 1039 | "src/tracing/event_context.cc", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 1040 | "src/tracing/internal/in_process_tracing_backend.cc", |
| 1041 | "src/tracing/internal/in_process_tracing_backend.h", |
| 1042 | "src/tracing/internal/system_tracing_backend.cc", |
| 1043 | "src/tracing/internal/system_tracing_backend.h", |
| 1044 | "src/tracing/internal/tracing_muxer_impl.cc", |
| 1045 | "src/tracing/internal/tracing_muxer_impl.h", |
Sami Kyostila | 1eebf5e | 2019-10-24 17:36:15 +0100 | [diff] [blame] | 1046 | "src/tracing/internal/track_event_internal.cc", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 1047 | "src/tracing/platform.cc", |
| 1048 | "src/tracing/tracing.cc", |
Sami Kyostila | 1eebf5e | 2019-10-24 17:36:15 +0100 | [diff] [blame] | 1049 | "src/tracing/track_event_category_registry.cc", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 1050 | "src/tracing/virtual_destructors.cc", |
| 1051 | ], |
| 1052 | ) |
| 1053 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1054 | # GN target: //src/tracing:common |
| 1055 | filegroup( |
| 1056 | name = "src_tracing_common", |
| 1057 | srcs = [ |
| 1058 | "src/tracing/trace_writer_base.cc", |
| 1059 | ], |
| 1060 | ) |
| 1061 | |
| 1062 | # GN target: //src/tracing:consumer_api_deprecated |
| 1063 | filegroup( |
| 1064 | name = "src_tracing_consumer_api_deprecated", |
| 1065 | srcs = [ |
| 1066 | "src/tracing/api_impl/consumer_api.cc", |
| 1067 | ], |
| 1068 | ) |
| 1069 | |
| 1070 | # GN target: //src/tracing:ipc |
| 1071 | filegroup( |
| 1072 | name = "src_tracing_ipc", |
| 1073 | srcs = [ |
| 1074 | "src/tracing/ipc/consumer/consumer_ipc_client_impl.cc", |
| 1075 | "src/tracing/ipc/consumer/consumer_ipc_client_impl.h", |
| 1076 | "src/tracing/ipc/default_socket.cc", |
| 1077 | "src/tracing/ipc/posix_shared_memory.cc", |
| 1078 | "src/tracing/ipc/posix_shared_memory.h", |
| 1079 | "src/tracing/ipc/producer/producer_ipc_client_impl.cc", |
| 1080 | "src/tracing/ipc/producer/producer_ipc_client_impl.h", |
| 1081 | "src/tracing/ipc/service/consumer_ipc_service.cc", |
| 1082 | "src/tracing/ipc/service/consumer_ipc_service.h", |
| 1083 | "src/tracing/ipc/service/producer_ipc_service.cc", |
| 1084 | "src/tracing/ipc/service/producer_ipc_service.h", |
| 1085 | "src/tracing/ipc/service/service_ipc_host_impl.cc", |
| 1086 | "src/tracing/ipc/service/service_ipc_host_impl.h", |
| 1087 | ], |
| 1088 | ) |
| 1089 | |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 1090 | # GN target: //src/tracing:platform_posix |
| 1091 | filegroup( |
| 1092 | name = "src_tracing_platform_posix", |
| 1093 | srcs = [ |
| 1094 | "src/tracing/platform_posix.cc", |
| 1095 | ], |
| 1096 | ) |
| 1097 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1098 | # GN target: //src/tracing:tracing |
| 1099 | filegroup( |
| 1100 | name = "src_tracing_tracing", |
| 1101 | srcs = [ |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1102 | "src/tracing/core/id_allocator.cc", |
| 1103 | "src/tracing/core/id_allocator.h", |
| 1104 | "src/tracing/core/metatrace_writer.cc", |
| 1105 | "src/tracing/core/metatrace_writer.h", |
| 1106 | "src/tracing/core/null_trace_writer.cc", |
| 1107 | "src/tracing/core/null_trace_writer.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1108 | "src/tracing/core/packet_stream_validator.cc", |
| 1109 | "src/tracing/core/packet_stream_validator.h", |
| 1110 | "src/tracing/core/patch_list.h", |
| 1111 | "src/tracing/core/shared_memory_abi.cc", |
| 1112 | "src/tracing/core/shared_memory_arbiter_impl.cc", |
| 1113 | "src/tracing/core/shared_memory_arbiter_impl.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1114 | "src/tracing/core/startup_trace_writer.cc", |
| 1115 | "src/tracing/core/startup_trace_writer_registry.cc", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1116 | "src/tracing/core/trace_buffer.cc", |
| 1117 | "src/tracing/core/trace_buffer.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1118 | "src/tracing/core/trace_packet.cc", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1119 | "src/tracing/core/trace_writer_impl.cc", |
| 1120 | "src/tracing/core/trace_writer_impl.h", |
| 1121 | "src/tracing/core/tracing_service_impl.cc", |
| 1122 | "src/tracing/core/tracing_service_impl.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1123 | "src/tracing/core/virtual_destructors.cc", |
| 1124 | ], |
| 1125 | ) |
| 1126 | |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 1127 | # GN target: //tools/trace_to_text:common |
| 1128 | filegroup( |
| 1129 | name = "tools_trace_to_text_common", |
| 1130 | srcs = [ |
Florian Mayer | 3be55fb | 2019-11-22 13:08:47 +0000 | [diff] [blame] | 1131 | "tools/trace_to_text/deobfuscate_profile.cc", |
| 1132 | "tools/trace_to_text/deobfuscate_profile.h", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 1133 | "tools/trace_to_text/main.cc", |
| 1134 | "tools/trace_to_text/symbolize_profile.cc", |
| 1135 | "tools/trace_to_text/symbolize_profile.h", |
Eric Seckler | a60a6b4 | 2019-10-07 10:35:48 +0100 | [diff] [blame] | 1136 | "tools/trace_to_text/trace_to_json.cc", |
| 1137 | "tools/trace_to_text/trace_to_json.h", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 1138 | "tools/trace_to_text/trace_to_profile.cc", |
| 1139 | "tools/trace_to_text/trace_to_profile.h", |
| 1140 | "tools/trace_to_text/trace_to_systrace.cc", |
| 1141 | "tools/trace_to_text/trace_to_systrace.h", |
| 1142 | "tools/trace_to_text/trace_to_text.h", |
| 1143 | ], |
| 1144 | ) |
| 1145 | |
| 1146 | # GN target: //tools/trace_to_text:full |
| 1147 | filegroup( |
| 1148 | name = "tools_trace_to_text_full", |
| 1149 | srcs = [ |
| 1150 | "tools/trace_to_text/proto_full_utils.cc", |
| 1151 | "tools/trace_to_text/proto_full_utils.h", |
| 1152 | "tools/trace_to_text/trace_to_text.cc", |
| 1153 | ], |
| 1154 | ) |
| 1155 | |
| 1156 | # GN target: //tools/trace_to_text:local_symbolizer |
| 1157 | filegroup( |
| 1158 | name = "tools_trace_to_text_local_symbolizer", |
| 1159 | srcs = [ |
| 1160 | "tools/trace_to_text/local_symbolizer.cc", |
| 1161 | "tools/trace_to_text/local_symbolizer.h", |
| 1162 | ], |
| 1163 | ) |
| 1164 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1165 | # GN target: //tools/trace_to_text:pprofbuilder |
| 1166 | filegroup( |
| 1167 | name = "tools_trace_to_text_pprofbuilder", |
| 1168 | srcs = [ |
| 1169 | "tools/trace_to_text/pprof_builder.cc", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1170 | ], |
| 1171 | ) |
| 1172 | |
| 1173 | # GN target: //tools/trace_to_text:symbolizer |
| 1174 | filegroup( |
| 1175 | name = "tools_trace_to_text_symbolizer", |
| 1176 | srcs = [ |
| 1177 | "tools/trace_to_text/symbolizer.cc", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1178 | ], |
| 1179 | ) |
| 1180 | |
| 1181 | # GN target: //tools/trace_to_text:utils |
| 1182 | filegroup( |
| 1183 | name = "tools_trace_to_text_utils", |
| 1184 | srcs = [ |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1185 | "tools/trace_to_text/utils.cc", |
| 1186 | "tools/trace_to_text/utils.h", |
| 1187 | ], |
| 1188 | ) |
| 1189 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1190 | # ############################################################################## |
| 1191 | # Proto libraries |
| 1192 | # ############################################################################## |
| 1193 | |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1194 | # GN target: //protos/perfetto/common:cpp |
| 1195 | perfetto_cc_protocpp_library( |
| 1196 | name = "protos_perfetto_common_cpp", |
| 1197 | deps = [ |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1198 | ":protos_perfetto_common_protos", |
| 1199 | ], |
| 1200 | ) |
| 1201 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1202 | # GN target: //protos/perfetto/common:lite |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1203 | perfetto_cc_proto_library( |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1204 | name = "protos_perfetto_common_lite", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1205 | deps = [ |
| 1206 | ":protos_perfetto_common_protos", |
| 1207 | ], |
| 1208 | ) |
| 1209 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1210 | # GN target: //protos/perfetto/common:zero |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1211 | perfetto_proto_library( |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1212 | name = "protos_perfetto_common_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1213 | srcs = [ |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1214 | "protos/perfetto/common/android_log_constants.proto", |
| 1215 | "protos/perfetto/common/commit_data_request.proto", |
| 1216 | "protos/perfetto/common/data_source_descriptor.proto", |
| 1217 | "protos/perfetto/common/descriptor.proto", |
| 1218 | "protos/perfetto/common/gpu_counter_descriptor.proto", |
| 1219 | "protos/perfetto/common/observable_events.proto", |
| 1220 | "protos/perfetto/common/sys_stats_counters.proto", |
| 1221 | "protos/perfetto/common/trace_stats.proto", |
| 1222 | "protos/perfetto/common/tracing_service_state.proto", |
| 1223 | "protos/perfetto/common/track_event_descriptor.proto", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1224 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 1225 | visibility = [ |
| 1226 | PERFETTO_CONFIG.proto_library_visibility, |
| 1227 | ], |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1228 | ) |
| 1229 | |
| 1230 | # GN target: //protos/perfetto/common:zero |
| 1231 | perfetto_cc_protozero_library( |
| 1232 | name = "protos_perfetto_common_zero", |
| 1233 | deps = [ |
| 1234 | ":protos_perfetto_common_protos", |
| 1235 | ], |
| 1236 | ) |
| 1237 | |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1238 | # GN target: //protos/perfetto/config/android:cpp |
| 1239 | perfetto_cc_protocpp_library( |
| 1240 | name = "protos_perfetto_config_android_cpp", |
| 1241 | deps = [ |
Hector Dearman | 70fc6ca | 2019-10-23 13:57:43 +0100 | [diff] [blame] | 1242 | ":protos_perfetto_config_android_protos", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1243 | ":protos_perfetto_common_cpp", |
| 1244 | ], |
| 1245 | ) |
| 1246 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1247 | # GN target: //protos/perfetto/config/android:lite |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1248 | perfetto_cc_proto_library( |
| 1249 | name = "protos_perfetto_config_android_lite", |
| 1250 | deps = [ |
| 1251 | ":protos_perfetto_config_android_protos", |
| 1252 | ], |
| 1253 | ) |
| 1254 | |
| 1255 | # GN target: //protos/perfetto/config/android:zero |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1256 | perfetto_proto_library( |
| 1257 | name = "protos_perfetto_config_android_protos", |
| 1258 | srcs = [ |
| 1259 | "protos/perfetto/config/android/android_log_config.proto", |
| 1260 | "protos/perfetto/config/android/packages_list_config.proto", |
| 1261 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 1262 | visibility = [ |
| 1263 | PERFETTO_CONFIG.proto_library_visibility, |
| 1264 | ], |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1265 | deps = [ |
| 1266 | ":protos_perfetto_common_protos", |
| 1267 | ], |
| 1268 | ) |
| 1269 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1270 | # GN target: //protos/perfetto/config/android:zero |
| 1271 | perfetto_cc_protozero_library( |
| 1272 | name = "protos_perfetto_config_android_zero", |
| 1273 | deps = [ |
| 1274 | ":protos_perfetto_config_android_protos", |
| 1275 | ], |
| 1276 | ) |
| 1277 | |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1278 | # GN target: //protos/perfetto/config:cpp |
| 1279 | perfetto_cc_protocpp_library( |
| 1280 | name = "protos_perfetto_config_cpp", |
| 1281 | deps = [ |
Hector Dearman | 70fc6ca | 2019-10-23 13:57:43 +0100 | [diff] [blame] | 1282 | ":protos_perfetto_config_protos", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1283 | ":protos_perfetto_config_process_stats_cpp", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 1284 | ":protos_perfetto_config_android_cpp", |
Primiano Tucci | 6a7813d | 2019-11-19 11:08:50 +0000 | [diff] [blame] | 1285 | ":protos_perfetto_config_inode_file_cpp", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 1286 | ":protos_perfetto_config_ftrace_cpp", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1287 | ":protos_perfetto_config_profiling_cpp", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1288 | ":protos_perfetto_config_gpu_cpp", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 1289 | ":protos_perfetto_config_power_cpp", |
| 1290 | ":protos_perfetto_common_cpp", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1291 | ":protos_perfetto_config_sys_stats_cpp", |
| 1292 | ], |
| 1293 | ) |
| 1294 | |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1295 | # GN target: //protos/perfetto/config/ftrace:cpp |
| 1296 | perfetto_cc_protocpp_library( |
| 1297 | name = "protos_perfetto_config_ftrace_cpp", |
| 1298 | deps = [ |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1299 | ":protos_perfetto_config_ftrace_protos", |
| 1300 | ], |
| 1301 | ) |
| 1302 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1303 | # GN target: //protos/perfetto/config/ftrace:lite |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1304 | perfetto_cc_proto_library( |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1305 | name = "protos_perfetto_config_ftrace_lite", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1306 | deps = [ |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1307 | ":protos_perfetto_config_ftrace_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1308 | ], |
| 1309 | ) |
| 1310 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1311 | # GN target: //protos/perfetto/config/ftrace:zero |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1312 | perfetto_proto_library( |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1313 | name = "protos_perfetto_config_ftrace_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1314 | srcs = [ |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1315 | "protos/perfetto/config/ftrace/ftrace_config.proto", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1316 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 1317 | visibility = [ |
| 1318 | PERFETTO_CONFIG.proto_library_visibility, |
| 1319 | ], |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1320 | ) |
| 1321 | |
| 1322 | # GN target: //protos/perfetto/config/ftrace:zero |
| 1323 | perfetto_cc_protozero_library( |
| 1324 | name = "protos_perfetto_config_ftrace_zero", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1325 | deps = [ |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1326 | ":protos_perfetto_config_ftrace_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1327 | ], |
| 1328 | ) |
| 1329 | |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1330 | # GN target: //protos/perfetto/config/gpu:cpp |
| 1331 | perfetto_cc_protocpp_library( |
| 1332 | name = "protos_perfetto_config_gpu_cpp", |
| 1333 | deps = [ |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1334 | ":protos_perfetto_config_gpu_protos", |
| 1335 | ], |
| 1336 | ) |
| 1337 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1338 | # GN target: //protos/perfetto/config/gpu:lite |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1339 | perfetto_cc_proto_library( |
| 1340 | name = "protos_perfetto_config_gpu_lite", |
| 1341 | deps = [ |
| 1342 | ":protos_perfetto_config_gpu_protos", |
| 1343 | ], |
| 1344 | ) |
| 1345 | |
| 1346 | # GN target: //protos/perfetto/config/gpu:zero |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1347 | perfetto_proto_library( |
| 1348 | name = "protos_perfetto_config_gpu_protos", |
| 1349 | srcs = [ |
| 1350 | "protos/perfetto/config/gpu/gpu_counter_config.proto", |
Mohammad Reza Zakerinasab | d9a209c | 2019-11-28 14:12:55 -0500 | [diff] [blame] | 1351 | "protos/perfetto/config/gpu/vulkan_memory_config.proto", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1352 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 1353 | visibility = [ |
| 1354 | PERFETTO_CONFIG.proto_library_visibility, |
| 1355 | ], |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1356 | ) |
| 1357 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1358 | # GN target: //protos/perfetto/config/gpu:zero |
| 1359 | perfetto_cc_protozero_library( |
| 1360 | name = "protos_perfetto_config_gpu_zero", |
| 1361 | deps = [ |
| 1362 | ":protos_perfetto_config_gpu_protos", |
| 1363 | ], |
| 1364 | ) |
| 1365 | |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1366 | # GN target: //protos/perfetto/config/inode_file:cpp |
| 1367 | perfetto_cc_protocpp_library( |
| 1368 | name = "protos_perfetto_config_inode_file_cpp", |
| 1369 | deps = [ |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1370 | ":protos_perfetto_config_inode_file_protos", |
| 1371 | ], |
| 1372 | ) |
| 1373 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1374 | # GN target: //protos/perfetto/config/inode_file:lite |
| 1375 | perfetto_cc_proto_library( |
| 1376 | name = "protos_perfetto_config_inode_file_lite", |
| 1377 | deps = [ |
| 1378 | ":protos_perfetto_config_inode_file_protos", |
| 1379 | ], |
| 1380 | ) |
| 1381 | |
| 1382 | # GN target: //protos/perfetto/config/inode_file:zero |
| 1383 | perfetto_proto_library( |
| 1384 | name = "protos_perfetto_config_inode_file_protos", |
| 1385 | srcs = [ |
| 1386 | "protos/perfetto/config/inode_file/inode_file_config.proto", |
| 1387 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 1388 | visibility = [ |
| 1389 | PERFETTO_CONFIG.proto_library_visibility, |
| 1390 | ], |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1391 | ) |
| 1392 | |
| 1393 | # GN target: //protos/perfetto/config/inode_file:zero |
| 1394 | perfetto_cc_protozero_library( |
| 1395 | name = "protos_perfetto_config_inode_file_zero", |
| 1396 | deps = [ |
| 1397 | ":protos_perfetto_config_inode_file_protos", |
| 1398 | ], |
| 1399 | ) |
| 1400 | |
| 1401 | # GN target: //protos/perfetto/config:lite |
| 1402 | perfetto_cc_proto_library( |
| 1403 | name = "protos_perfetto_config_lite", |
| 1404 | deps = [ |
| 1405 | ":protos_perfetto_config_protos", |
| 1406 | ], |
| 1407 | ) |
| 1408 | |
Pascal Muetschard | b7cdea0 | 2019-09-23 15:25:20 -0700 | [diff] [blame] | 1409 | # GN target: //protos/perfetto/config:merged_config |
| 1410 | perfetto_cc_proto_library( |
| 1411 | name = "protos_perfetto_config_merged_config", |
| 1412 | deps = [ |
| 1413 | ":protos_perfetto_config_merged_config_protos", |
| 1414 | ], |
| 1415 | ) |
| 1416 | |
Pascal Muetschard | b7cdea0 | 2019-09-23 15:25:20 -0700 | [diff] [blame] | 1417 | # GN target: //protos/perfetto/config:merged_config |
| 1418 | perfetto_proto_library( |
| 1419 | name = "protos_perfetto_config_merged_config_protos", |
| 1420 | srcs = [ |
| 1421 | "protos/perfetto/config/perfetto_config.proto", |
| 1422 | ], |
| 1423 | visibility = [ |
| 1424 | "//visibility:public", |
| 1425 | ], |
| 1426 | ) |
| 1427 | |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1428 | # GN target: //protos/perfetto/config/power:cpp |
| 1429 | perfetto_cc_protocpp_library( |
| 1430 | name = "protos_perfetto_config_power_cpp", |
| 1431 | deps = [ |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1432 | ":protos_perfetto_config_power_protos", |
| 1433 | ], |
| 1434 | ) |
| 1435 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1436 | # GN target: //protos/perfetto/config/power:lite |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1437 | perfetto_cc_proto_library( |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1438 | name = "protos_perfetto_config_power_lite", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1439 | deps = [ |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1440 | ":protos_perfetto_config_power_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1441 | ], |
| 1442 | ) |
| 1443 | |
| 1444 | # GN target: //protos/perfetto/config/power:zero |
| 1445 | perfetto_proto_library( |
| 1446 | name = "protos_perfetto_config_power_protos", |
| 1447 | srcs = [ |
| 1448 | "protos/perfetto/config/power/android_power_config.proto", |
| 1449 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 1450 | visibility = [ |
| 1451 | PERFETTO_CONFIG.proto_library_visibility, |
| 1452 | ], |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1453 | ) |
| 1454 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1455 | # GN target: //protos/perfetto/config/power:zero |
| 1456 | perfetto_cc_protozero_library( |
| 1457 | name = "protos_perfetto_config_power_zero", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1458 | deps = [ |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1459 | ":protos_perfetto_config_power_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1460 | ], |
| 1461 | ) |
| 1462 | |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1463 | # GN target: //protos/perfetto/config/process_stats:cpp |
| 1464 | perfetto_cc_protocpp_library( |
| 1465 | name = "protos_perfetto_config_process_stats_cpp", |
| 1466 | deps = [ |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1467 | ":protos_perfetto_config_process_stats_protos", |
| 1468 | ], |
| 1469 | ) |
| 1470 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1471 | # GN target: //protos/perfetto/config/process_stats:lite |
| 1472 | perfetto_cc_proto_library( |
| 1473 | name = "protos_perfetto_config_process_stats_lite", |
| 1474 | deps = [ |
| 1475 | ":protos_perfetto_config_process_stats_protos", |
| 1476 | ], |
| 1477 | ) |
| 1478 | |
| 1479 | # GN target: //protos/perfetto/config/process_stats:zero |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1480 | perfetto_proto_library( |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1481 | name = "protos_perfetto_config_process_stats_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1482 | srcs = [ |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1483 | "protos/perfetto/config/process_stats/process_stats_config.proto", |
| 1484 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 1485 | visibility = [ |
| 1486 | PERFETTO_CONFIG.proto_library_visibility, |
| 1487 | ], |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1488 | ) |
| 1489 | |
| 1490 | # GN target: //protos/perfetto/config/process_stats:zero |
| 1491 | perfetto_cc_protozero_library( |
| 1492 | name = "protos_perfetto_config_process_stats_zero", |
| 1493 | deps = [ |
| 1494 | ":protos_perfetto_config_process_stats_protos", |
| 1495 | ], |
| 1496 | ) |
| 1497 | |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1498 | # GN target: //protos/perfetto/config/profiling:cpp |
| 1499 | perfetto_cc_protocpp_library( |
| 1500 | name = "protos_perfetto_config_profiling_cpp", |
| 1501 | deps = [ |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1502 | ":protos_perfetto_config_profiling_protos", |
| 1503 | ], |
| 1504 | ) |
| 1505 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1506 | # GN target: //protos/perfetto/config/profiling:lite |
| 1507 | perfetto_cc_proto_library( |
| 1508 | name = "protos_perfetto_config_profiling_lite", |
| 1509 | deps = [ |
| 1510 | ":protos_perfetto_config_profiling_protos", |
| 1511 | ], |
| 1512 | ) |
| 1513 | |
| 1514 | # GN target: //protos/perfetto/config/profiling:zero |
| 1515 | perfetto_proto_library( |
| 1516 | name = "protos_perfetto_config_profiling_protos", |
| 1517 | srcs = [ |
| 1518 | "protos/perfetto/config/profiling/heapprofd_config.proto", |
| 1519 | "protos/perfetto/config/profiling/java_hprof_config.proto", |
Ryan Savitski | 09ff3b2 | 2019-11-20 15:20:16 +0000 | [diff] [blame] | 1520 | "protos/perfetto/config/profiling/perf_event_config.proto", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1521 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 1522 | visibility = [ |
| 1523 | PERFETTO_CONFIG.proto_library_visibility, |
| 1524 | ], |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1525 | ) |
| 1526 | |
| 1527 | # GN target: //protos/perfetto/config/profiling:zero |
| 1528 | perfetto_cc_protozero_library( |
| 1529 | name = "protos_perfetto_config_profiling_zero", |
| 1530 | deps = [ |
| 1531 | ":protos_perfetto_config_profiling_protos", |
| 1532 | ], |
| 1533 | ) |
| 1534 | |
| 1535 | # GN target: //protos/perfetto/config:zero |
| 1536 | perfetto_proto_library( |
| 1537 | name = "protos_perfetto_config_protos", |
| 1538 | srcs = [ |
| 1539 | "protos/perfetto/config/chrome/chrome_config.proto", |
| 1540 | "protos/perfetto/config/data_source_config.proto", |
| 1541 | "protos/perfetto/config/test_config.proto", |
| 1542 | "protos/perfetto/config/trace_config.proto", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1543 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 1544 | visibility = [ |
Lalit Maganti | 613f97b | 2019-11-21 14:44:18 +0000 | [diff] [blame] | 1545 | "//visibility:public", |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 1546 | ], |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1547 | deps = [ |
| 1548 | ":protos_perfetto_common_protos", |
| 1549 | ":protos_perfetto_config_android_protos", |
| 1550 | ":protos_perfetto_config_ftrace_protos", |
| 1551 | ":protos_perfetto_config_gpu_protos", |
| 1552 | ":protos_perfetto_config_inode_file_protos", |
| 1553 | ":protos_perfetto_config_power_protos", |
| 1554 | ":protos_perfetto_config_process_stats_protos", |
| 1555 | ":protos_perfetto_config_profiling_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1556 | ":protos_perfetto_config_sys_stats_protos", |
| 1557 | ], |
| 1558 | ) |
| 1559 | |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1560 | # GN target: //protos/perfetto/config/sys_stats:cpp |
| 1561 | perfetto_cc_protocpp_library( |
| 1562 | name = "protos_perfetto_config_sys_stats_cpp", |
| 1563 | deps = [ |
Hector Dearman | 70fc6ca | 2019-10-23 13:57:43 +0100 | [diff] [blame] | 1564 | ":protos_perfetto_config_sys_stats_protos", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1565 | ":protos_perfetto_common_cpp", |
| 1566 | ], |
| 1567 | ) |
| 1568 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1569 | # GN target: //protos/perfetto/config/sys_stats:lite |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1570 | perfetto_cc_proto_library( |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1571 | name = "protos_perfetto_config_sys_stats_lite", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1572 | deps = [ |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1573 | ":protos_perfetto_config_sys_stats_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1574 | ], |
| 1575 | ) |
| 1576 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1577 | # GN target: //protos/perfetto/config/sys_stats:zero |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1578 | perfetto_proto_library( |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1579 | name = "protos_perfetto_config_sys_stats_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1580 | srcs = [ |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1581 | "protos/perfetto/config/sys_stats/sys_stats_config.proto", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1582 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 1583 | visibility = [ |
| 1584 | PERFETTO_CONFIG.proto_library_visibility, |
| 1585 | ], |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1586 | deps = [ |
| 1587 | ":protos_perfetto_common_protos", |
| 1588 | ], |
| 1589 | ) |
| 1590 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1591 | # GN target: //protos/perfetto/config/sys_stats:zero |
| 1592 | perfetto_cc_protozero_library( |
| 1593 | name = "protos_perfetto_config_sys_stats_zero", |
| 1594 | deps = [ |
| 1595 | ":protos_perfetto_config_sys_stats_protos", |
| 1596 | ], |
| 1597 | ) |
| 1598 | |
| 1599 | # GN target: //protos/perfetto/config:zero |
| 1600 | perfetto_cc_protozero_library( |
| 1601 | name = "protos_perfetto_config_zero", |
| 1602 | deps = [ |
| 1603 | ":protos_perfetto_config_protos", |
| 1604 | ], |
| 1605 | ) |
| 1606 | |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 1607 | # GN target: //protos/perfetto/ipc:cpp |
| 1608 | perfetto_cc_protocpp_library( |
| 1609 | name = "protos_perfetto_ipc_cpp", |
| 1610 | deps = [ |
| 1611 | ":protos_perfetto_ipc_protos", |
| 1612 | ":protos_perfetto_config_process_stats_cpp", |
| 1613 | ":protos_perfetto_config_android_cpp", |
| 1614 | ":protos_perfetto_config_inode_file_cpp", |
| 1615 | ":protos_perfetto_config_ftrace_cpp", |
| 1616 | ":protos_perfetto_config_profiling_cpp", |
| 1617 | ":protos_perfetto_config_gpu_cpp", |
| 1618 | ":protos_perfetto_config_cpp", |
| 1619 | ":protos_perfetto_config_power_cpp", |
| 1620 | ":protos_perfetto_common_cpp", |
| 1621 | ":protos_perfetto_config_sys_stats_cpp", |
| 1622 | ], |
| 1623 | ) |
| 1624 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1625 | # GN target: //protos/perfetto/ipc:ipc |
| 1626 | perfetto_cc_ipc_library( |
| 1627 | name = "protos_perfetto_ipc_ipc", |
| 1628 | deps = [ |
Primiano Tucci | f0d63af | 2019-11-19 17:07:37 +0000 | [diff] [blame] | 1629 | ":protos_perfetto_ipc_protos", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 1630 | ":protos_perfetto_ipc_cpp", |
| 1631 | ":protos_perfetto_config_process_stats_cpp", |
| 1632 | ":protos_perfetto_config_android_cpp", |
| 1633 | ":protos_perfetto_config_inode_file_cpp", |
| 1634 | ":protos_perfetto_config_ftrace_cpp", |
| 1635 | ":protos_perfetto_config_profiling_cpp", |
| 1636 | ":protos_perfetto_ipc_wire_protocol_cpp", |
| 1637 | ":protos_perfetto_config_gpu_cpp", |
| 1638 | ":protos_perfetto_config_cpp", |
| 1639 | ":protos_perfetto_config_power_cpp", |
| 1640 | ":protos_perfetto_common_cpp", |
| 1641 | ":protos_perfetto_config_sys_stats_cpp", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1642 | ], |
| 1643 | ) |
| 1644 | |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 1645 | # GN target: //protos/perfetto/ipc:ipc |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1646 | perfetto_proto_library( |
Primiano Tucci | f0d63af | 2019-11-19 17:07:37 +0000 | [diff] [blame] | 1647 | name = "protos_perfetto_ipc_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1648 | srcs = [ |
| 1649 | "protos/perfetto/ipc/consumer_port.proto", |
| 1650 | "protos/perfetto/ipc/producer_port.proto", |
| 1651 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 1652 | visibility = [ |
| 1653 | PERFETTO_CONFIG.proto_library_visibility, |
| 1654 | ], |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1655 | deps = [ |
| 1656 | ":protos_perfetto_common_protos", |
| 1657 | ":protos_perfetto_config_android_protos", |
| 1658 | ":protos_perfetto_config_ftrace_protos", |
| 1659 | ":protos_perfetto_config_gpu_protos", |
| 1660 | ":protos_perfetto_config_inode_file_protos", |
| 1661 | ":protos_perfetto_config_power_protos", |
| 1662 | ":protos_perfetto_config_process_stats_protos", |
| 1663 | ":protos_perfetto_config_profiling_protos", |
| 1664 | ":protos_perfetto_config_protos", |
| 1665 | ":protos_perfetto_config_sys_stats_protos", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 1666 | ":protos_perfetto_ipc_wire_protocol_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1667 | ], |
| 1668 | ) |
| 1669 | |
Primiano Tucci | b3e08d0 | 2019-11-19 11:10:11 +0000 | [diff] [blame] | 1670 | # GN target: //protos/perfetto/ipc:wire_protocol_cpp |
| 1671 | perfetto_cc_protocpp_library( |
| 1672 | name = "protos_perfetto_ipc_wire_protocol_cpp", |
| 1673 | deps = [ |
| 1674 | ":protos_perfetto_ipc_wire_protocol_protos", |
Primiano Tucci | b3e08d0 | 2019-11-19 11:10:11 +0000 | [diff] [blame] | 1675 | ], |
| 1676 | ) |
| 1677 | |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 1678 | # GN target: //protos/perfetto/ipc:wire_protocol_cpp |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1679 | perfetto_proto_library( |
| 1680 | name = "protos_perfetto_ipc_wire_protocol_protos", |
| 1681 | srcs = [ |
| 1682 | "protos/perfetto/ipc/wire_protocol.proto", |
| 1683 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 1684 | visibility = [ |
| 1685 | PERFETTO_CONFIG.proto_library_visibility, |
| 1686 | ], |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1687 | ) |
| 1688 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1689 | # GN target: //protos/perfetto/metrics/android:lite |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1690 | perfetto_cc_proto_library( |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1691 | name = "protos_perfetto_metrics_android_lite", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1692 | deps = [ |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1693 | ":protos_perfetto_metrics_android_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1694 | ], |
| 1695 | ) |
| 1696 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1697 | # GN target: //protos/perfetto/metrics/android:zero |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1698 | perfetto_proto_library( |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1699 | name = "protos_perfetto_metrics_android_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1700 | srcs = [ |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1701 | "protos/perfetto/metrics/android/batt_metric.proto", |
| 1702 | "protos/perfetto/metrics/android/cpu_metric.proto", |
Ioannis Ilkos | 73f2cd0 | 2019-10-08 22:49:02 +0100 | [diff] [blame] | 1703 | "protos/perfetto/metrics/android/heap_profile_callsites.proto", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1704 | "protos/perfetto/metrics/android/ion_metric.proto", |
Ioannis Ilkos | 2c832dc | 2019-11-08 11:35:03 +0000 | [diff] [blame] | 1705 | "protos/perfetto/metrics/android/java_heap_stats.proto", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 1706 | "protos/perfetto/metrics/android/lmk_metric.proto", |
Rafal Slawik | 88ffa44 | 2019-11-27 14:42:06 +0000 | [diff] [blame] | 1707 | "protos/perfetto/metrics/android/lmk_reason_metric.proto", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 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 = [ |
Stephen Nusko | 3db31c8 | 2019-11-27 16:32:01 +0000 | [diff] [blame] | 2277 | "protos/perfetto/trace/track_event/chrome_compositor_scheduler_state.proto", |
Eric Seckler | e1e8ff4 | 2019-12-04 11:05:43 +0000 | [diff] [blame] | 2278 | "protos/perfetto/trace/track_event/chrome_keyed_service.proto", |
| 2279 | "protos/perfetto/trace/track_event/chrome_legacy_ipc.proto", |
| 2280 | "protos/perfetto/trace/track_event/chrome_user_event.proto", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2281 | "protos/perfetto/trace/track_event/debug_annotation.proto", |
| 2282 | "protos/perfetto/trace/track_event/log_message.proto", |
| 2283 | "protos/perfetto/trace/track_event/process_descriptor.proto", |
| 2284 | "protos/perfetto/trace/track_event/source_location.proto", |
| 2285 | "protos/perfetto/trace/track_event/task_execution.proto", |
| 2286 | "protos/perfetto/trace/track_event/thread_descriptor.proto", |
| 2287 | "protos/perfetto/trace/track_event/track_descriptor.proto", |
| 2288 | "protos/perfetto/trace/track_event/track_event.proto", |
| 2289 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 2290 | visibility = [ |
| 2291 | PERFETTO_CONFIG.proto_library_visibility, |
| 2292 | ], |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2293 | ) |
| 2294 | |
| 2295 | # GN target: //protos/perfetto/trace/track_event:zero |
| 2296 | perfetto_cc_protozero_library( |
| 2297 | name = "protos_perfetto_trace_track_event_zero", |
| 2298 | deps = [ |
| 2299 | ":protos_perfetto_trace_track_event_protos", |
| 2300 | ], |
| 2301 | ) |
| 2302 | |
Primiano Tucci | 2d813fd | 2019-11-26 17:27:07 +0000 | [diff] [blame] | 2303 | # GN target: //protos/third_party/pprof:zero |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2304 | perfetto_proto_library( |
| 2305 | name = "protos_third_party_pprof_protos", |
| 2306 | srcs = [ |
| 2307 | "protos/third_party/pprof/profile.proto", |
| 2308 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 2309 | visibility = [ |
| 2310 | PERFETTO_CONFIG.proto_library_visibility, |
| 2311 | ], |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2312 | ) |
| 2313 | |
Primiano Tucci | 2d813fd | 2019-11-26 17:27:07 +0000 | [diff] [blame] | 2314 | # GN target: //protos/third_party/pprof:zero |
| 2315 | perfetto_cc_protozero_library( |
| 2316 | name = "protos_third_party_pprof_zero", |
| 2317 | deps = [ |
| 2318 | ":protos_third_party_pprof_protos", |
| 2319 | ], |
| 2320 | ) |
| 2321 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2322 | # GN target: //src/perfetto_cmd:protos |
| 2323 | perfetto_cc_proto_library( |
| 2324 | name = "src_perfetto_cmd_protos", |
| 2325 | deps = [ |
| 2326 | ":src_perfetto_cmd_protos_protos", |
| 2327 | ], |
| 2328 | ) |
| 2329 | |
| 2330 | # GN target: //src/perfetto_cmd:protos |
| 2331 | perfetto_proto_library( |
| 2332 | name = "src_perfetto_cmd_protos_protos", |
| 2333 | srcs = [ |
| 2334 | "src/perfetto_cmd/perfetto_cmd_state.proto", |
| 2335 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 2336 | visibility = [ |
| 2337 | PERFETTO_CONFIG.proto_library_visibility, |
| 2338 | ], |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2339 | ) |
| 2340 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2341 | # ############################################################################## |
| 2342 | # Public targets |
| 2343 | # ############################################################################## |
| 2344 | |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 2345 | # GN target: //:libperfetto_client_experimental |
| 2346 | perfetto_cc_library( |
| 2347 | name = "libperfetto_client_experimental", |
| 2348 | srcs = [ |
| 2349 | "include/perfetto/tracing.h", |
| 2350 | ":src_base_base", |
| 2351 | ":src_base_unix_socket", |
| 2352 | ":src_ipc_ipc", |
| 2353 | ":src_protozero_protozero", |
| 2354 | ":src_tracing_client_api", |
| 2355 | ":src_tracing_common", |
| 2356 | ":src_tracing_ipc", |
| 2357 | ":src_tracing_platform_posix", |
| 2358 | ":src_tracing_tracing", |
| 2359 | ], |
| 2360 | hdrs = [ |
| 2361 | ":include_perfetto_base_base", |
| 2362 | ":include_perfetto_ext_base_base", |
| 2363 | ":include_perfetto_ext_ipc_ipc", |
| 2364 | ":include_perfetto_ext_tracing_core_core", |
| 2365 | ":include_perfetto_ext_tracing_ipc_ipc", |
| 2366 | ":include_perfetto_protozero_protozero", |
| 2367 | ":include_perfetto_tracing_core_core", |
Primiano Tucci | cb8cea2 | 2019-11-22 11:05:35 +0000 | [diff] [blame] | 2368 | ":include_perfetto_tracing_core_forward_decls", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 2369 | ":include_perfetto_tracing_tracing", |
| 2370 | ], |
| 2371 | visibility = [ |
| 2372 | "//visibility:public", |
| 2373 | ], |
| 2374 | deps = [ |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2375 | ":protos_perfetto_common_cpp", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 2376 | ":protos_perfetto_common_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2377 | ":protos_perfetto_config_android_cpp", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 2378 | ":protos_perfetto_config_android_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2379 | ":protos_perfetto_config_cpp", |
| 2380 | ":protos_perfetto_config_ftrace_cpp", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 2381 | ":protos_perfetto_config_ftrace_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2382 | ":protos_perfetto_config_gpu_cpp", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 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_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2386 | ":protos_perfetto_config_power_cpp", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 2387 | ":protos_perfetto_config_power_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2388 | ":protos_perfetto_config_process_stats_cpp", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 2389 | ":protos_perfetto_config_process_stats_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2390 | ":protos_perfetto_config_profiling_cpp", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 2391 | ":protos_perfetto_config_profiling_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2392 | ":protos_perfetto_config_sys_stats_cpp", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 2393 | ":protos_perfetto_config_sys_stats_zero", |
| 2394 | ":protos_perfetto_config_zero", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 2395 | ":protos_perfetto_ipc_cpp", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 2396 | ":protos_perfetto_ipc_ipc", |
Primiano Tucci | b3e08d0 | 2019-11-19 11:10:11 +0000 | [diff] [blame] | 2397 | ":protos_perfetto_ipc_wire_protocol_cpp", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 2398 | ":protos_perfetto_trace_android_zero", |
| 2399 | ":protos_perfetto_trace_chrome_zero", |
| 2400 | ":protos_perfetto_trace_filesystem_zero", |
| 2401 | ":protos_perfetto_trace_ftrace_zero", |
| 2402 | ":protos_perfetto_trace_gpu_zero", |
| 2403 | ":protos_perfetto_trace_interned_data_zero", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 2404 | ":protos_perfetto_trace_minimal_zero", |
| 2405 | ":protos_perfetto_trace_non_minimal_zero", |
| 2406 | ":protos_perfetto_trace_perfetto_zero", |
| 2407 | ":protos_perfetto_trace_power_zero", |
| 2408 | ":protos_perfetto_trace_profiling_zero", |
| 2409 | ":protos_perfetto_trace_ps_zero", |
| 2410 | ":protos_perfetto_trace_sys_stats_zero", |
| 2411 | ":protos_perfetto_trace_track_event_zero", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 2412 | ], |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 2413 | ) |
| 2414 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2415 | # GN target: //src/perfetto_cmd:perfetto |
| 2416 | perfetto_cc_binary( |
| 2417 | name = "perfetto", |
| 2418 | srcs = [ |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2419 | "src/perfetto_cmd/main.cc", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2420 | ":include_perfetto_base_base", |
| 2421 | ":include_perfetto_ext_base_base", |
| 2422 | ":include_perfetto_ext_ipc_ipc", |
| 2423 | ":include_perfetto_ext_traced_traced", |
| 2424 | ":include_perfetto_ext_tracing_core_core", |
| 2425 | ":include_perfetto_ext_tracing_ipc_ipc", |
| 2426 | ":include_perfetto_protozero_protozero", |
| 2427 | ":include_perfetto_tracing_core_core", |
Primiano Tucci | cb8cea2 | 2019-11-22 11:05:35 +0000 | [diff] [blame] | 2428 | ":include_perfetto_tracing_core_forward_decls", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2429 | ":include_perfetto_tracing_tracing", |
| 2430 | ":src_android_internal_headers", |
| 2431 | ":src_android_internal_lazy_library_loader", |
| 2432 | ":src_base_base", |
| 2433 | ":src_base_unix_socket", |
| 2434 | ":src_ipc_ipc", |
| 2435 | ":src_perfetto_cmd_perfetto_cmd", |
| 2436 | ":src_perfetto_cmd_trigger_producer", |
| 2437 | ":src_protozero_protozero", |
| 2438 | ":src_tracing_common", |
| 2439 | ":src_tracing_ipc", |
| 2440 | ":src_tracing_tracing", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2441 | ], |
| 2442 | visibility = [ |
| 2443 | "//visibility:public", |
| 2444 | ], |
| 2445 | deps = [ |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 2446 | ":protos_perfetto_common_cpp", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 2447 | ":protos_perfetto_common_zero", |
| 2448 | ":protos_perfetto_config_android_cpp", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 2449 | ":protos_perfetto_config_android_zero", |
| 2450 | ":protos_perfetto_config_cpp", |
| 2451 | ":protos_perfetto_config_ftrace_cpp", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 2452 | ":protos_perfetto_config_ftrace_zero", |
| 2453 | ":protos_perfetto_config_gpu_cpp", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 2454 | ":protos_perfetto_config_gpu_zero", |
| 2455 | ":protos_perfetto_config_inode_file_cpp", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 2456 | ":protos_perfetto_config_inode_file_zero", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 2457 | ":protos_perfetto_config_power_cpp", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 2458 | ":protos_perfetto_config_power_zero", |
| 2459 | ":protos_perfetto_config_process_stats_cpp", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 2460 | ":protos_perfetto_config_process_stats_zero", |
| 2461 | ":protos_perfetto_config_profiling_cpp", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 2462 | ":protos_perfetto_config_profiling_zero", |
| 2463 | ":protos_perfetto_config_sys_stats_cpp", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 2464 | ":protos_perfetto_config_sys_stats_zero", |
| 2465 | ":protos_perfetto_config_zero", |
| 2466 | ":protos_perfetto_ipc_cpp", |
| 2467 | ":protos_perfetto_ipc_ipc", |
| 2468 | ":protos_perfetto_ipc_wire_protocol_cpp", |
| 2469 | ":protos_perfetto_trace_android_zero", |
| 2470 | ":protos_perfetto_trace_chrome_zero", |
| 2471 | ":protos_perfetto_trace_filesystem_zero", |
| 2472 | ":protos_perfetto_trace_ftrace_zero", |
| 2473 | ":protos_perfetto_trace_gpu_zero", |
| 2474 | ":protos_perfetto_trace_interned_data_zero", |
| 2475 | ":protos_perfetto_trace_minimal_zero", |
| 2476 | ":protos_perfetto_trace_non_minimal_zero", |
| 2477 | ":protos_perfetto_trace_perfetto_zero", |
| 2478 | ":protos_perfetto_trace_power_zero", |
| 2479 | ":protos_perfetto_trace_profiling_zero", |
| 2480 | ":protos_perfetto_trace_ps_zero", |
| 2481 | ":protos_perfetto_trace_sys_stats_zero", |
| 2482 | ":protos_perfetto_trace_track_event_zero", |
| 2483 | ":src_perfetto_cmd_protos", |
| 2484 | ] + PERFETTO_CONFIG.deps.zlib, |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2485 | ) |
| 2486 | |
| 2487 | # GN target: //src/trace_processor:trace_processor |
| 2488 | perfetto_cc_library( |
| 2489 | name = "trace_processor", |
| 2490 | srcs = [ |
| 2491 | ":src_base_base", |
| 2492 | ":src_protozero_protozero", |
| 2493 | ":src_trace_processor_common", |
| 2494 | ":src_trace_processor_db_lib", |
Stephen Nusko | bc76a6c | 2019-12-03 11:55:27 +0000 | [diff] [blame] | 2495 | ":src_trace_processor_descriptors", |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 2496 | ":src_trace_processor_export_json", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2497 | ":src_trace_processor_lib", |
| 2498 | ":src_trace_processor_metrics_lib", |
| 2499 | ":src_trace_processor_sqlite_sqlite", |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 2500 | ":src_trace_processor_storage", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2501 | ":src_trace_processor_tables_tables", |
| 2502 | ], |
| 2503 | hdrs = [ |
| 2504 | ":include_perfetto_base_base", |
| 2505 | ":include_perfetto_ext_base_base", |
Eric Seckler | 7fb1d23 | 2019-10-23 14:42:43 +0100 | [diff] [blame] | 2506 | ":include_perfetto_ext_trace_processor_export_json", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2507 | ":include_perfetto_ext_traced_sys_stats_counters", |
| 2508 | ":include_perfetto_protozero_protozero", |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 2509 | ":include_perfetto_trace_processor_basic_types", |
| 2510 | ":include_perfetto_trace_processor_storage", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2511 | ":include_perfetto_trace_processor_trace_processor", |
| 2512 | ], |
| 2513 | visibility = [ |
| 2514 | "//visibility:public", |
| 2515 | ], |
| 2516 | deps = [ |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2517 | ":protos_perfetto_common_zero", |
| 2518 | ":protos_perfetto_config_android_zero", |
| 2519 | ":protos_perfetto_config_ftrace_zero", |
| 2520 | ":protos_perfetto_config_gpu_zero", |
| 2521 | ":protos_perfetto_config_inode_file_zero", |
| 2522 | ":protos_perfetto_config_power_zero", |
| 2523 | ":protos_perfetto_config_process_stats_zero", |
| 2524 | ":protos_perfetto_config_profiling_zero", |
| 2525 | ":protos_perfetto_config_sys_stats_zero", |
| 2526 | ":protos_perfetto_config_zero", |
| 2527 | ":protos_perfetto_metrics_android_zero", |
| 2528 | ":protos_perfetto_metrics_zero", |
| 2529 | ":protos_perfetto_trace_android_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2530 | ":protos_perfetto_trace_chrome_zero", |
| 2531 | ":protos_perfetto_trace_filesystem_zero", |
| 2532 | ":protos_perfetto_trace_ftrace_zero", |
| 2533 | ":protos_perfetto_trace_gpu_zero", |
| 2534 | ":protos_perfetto_trace_interned_data_zero", |
| 2535 | ":protos_perfetto_trace_minimal_zero", |
| 2536 | ":protos_perfetto_trace_non_minimal_zero", |
| 2537 | ":protos_perfetto_trace_perfetto_zero", |
| 2538 | ":protos_perfetto_trace_power_zero", |
| 2539 | ":protos_perfetto_trace_processor_metrics_impl_zero", |
| 2540 | ":protos_perfetto_trace_profiling_zero", |
| 2541 | ":protos_perfetto_trace_ps_zero", |
| 2542 | ":protos_perfetto_trace_sys_stats_zero", |
| 2543 | ":protos_perfetto_trace_track_event_zero", |
| 2544 | ] + PERFETTO_CONFIG.deps.jsoncpp + |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2545 | PERFETTO_CONFIG.deps.sqlite + |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2546 | PERFETTO_CONFIG.deps.sqlite_ext_percentile + |
| 2547 | PERFETTO_CONFIG.deps.zlib + [ |
Lalit Maganti | a4244e4 | 2019-09-20 12:03:32 +0100 | [diff] [blame] | 2548 | ":cc_merged_sql_metrics", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2549 | ], |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2550 | ) |
| 2551 | |
| 2552 | # GN target: //src/trace_processor:trace_processor_shell |
| 2553 | perfetto_cc_binary( |
| 2554 | name = "trace_processor_shell", |
| 2555 | srcs = [ |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2556 | "src/trace_processor/proto_to_json.cc", |
| 2557 | "src/trace_processor/proto_to_json.h", |
| 2558 | "src/trace_processor/trace_processor_shell.cc", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2559 | ":include_perfetto_base_base", |
| 2560 | ":include_perfetto_ext_base_base", |
Eric Seckler | 7fb1d23 | 2019-10-23 14:42:43 +0100 | [diff] [blame] | 2561 | ":include_perfetto_ext_trace_processor_export_json", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2562 | ":include_perfetto_ext_traced_sys_stats_counters", |
| 2563 | ":include_perfetto_protozero_protozero", |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 2564 | ":include_perfetto_trace_processor_basic_types", |
| 2565 | ":include_perfetto_trace_processor_storage", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2566 | ":include_perfetto_trace_processor_trace_processor", |
| 2567 | ":src_base_base", |
Primiano Tucci | a36cccc | 2019-10-27 13:15:04 +0100 | [diff] [blame] | 2568 | ":src_base_unix_socket", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2569 | ":src_protozero_protozero", |
| 2570 | ":src_trace_processor_common", |
| 2571 | ":src_trace_processor_db_lib", |
Stephen Nusko | bc76a6c | 2019-12-03 11:55:27 +0000 | [diff] [blame] | 2572 | ":src_trace_processor_descriptors", |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 2573 | ":src_trace_processor_export_json", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2574 | ":src_trace_processor_lib", |
| 2575 | ":src_trace_processor_metrics_lib", |
Primiano Tucci | a36cccc | 2019-10-27 13:15:04 +0100 | [diff] [blame] | 2576 | ":src_trace_processor_rpc_httpd", |
| 2577 | ":src_trace_processor_rpc_rpc", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2578 | ":src_trace_processor_sqlite_sqlite", |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 2579 | ":src_trace_processor_storage", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2580 | ":src_trace_processor_tables_tables", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2581 | ], |
| 2582 | visibility = [ |
| 2583 | "//visibility:public", |
| 2584 | ], |
| 2585 | deps = [ |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2586 | ":protos_perfetto_common_zero", |
| 2587 | ":protos_perfetto_config_android_zero", |
| 2588 | ":protos_perfetto_config_ftrace_zero", |
| 2589 | ":protos_perfetto_config_gpu_zero", |
| 2590 | ":protos_perfetto_config_inode_file_zero", |
| 2591 | ":protos_perfetto_config_power_zero", |
| 2592 | ":protos_perfetto_config_process_stats_zero", |
| 2593 | ":protos_perfetto_config_profiling_zero", |
| 2594 | ":protos_perfetto_config_sys_stats_zero", |
| 2595 | ":protos_perfetto_config_zero", |
| 2596 | ":protos_perfetto_metrics_android_zero", |
| 2597 | ":protos_perfetto_metrics_zero", |
| 2598 | ":protos_perfetto_trace_android_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2599 | ":protos_perfetto_trace_chrome_zero", |
| 2600 | ":protos_perfetto_trace_filesystem_zero", |
| 2601 | ":protos_perfetto_trace_ftrace_zero", |
| 2602 | ":protos_perfetto_trace_gpu_zero", |
| 2603 | ":protos_perfetto_trace_interned_data_zero", |
| 2604 | ":protos_perfetto_trace_minimal_zero", |
| 2605 | ":protos_perfetto_trace_non_minimal_zero", |
| 2606 | ":protos_perfetto_trace_perfetto_zero", |
| 2607 | ":protos_perfetto_trace_power_zero", |
| 2608 | ":protos_perfetto_trace_processor_metrics_impl_zero", |
Primiano Tucci | a36cccc | 2019-10-27 13:15:04 +0100 | [diff] [blame] | 2609 | ":protos_perfetto_trace_processor_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2610 | ":protos_perfetto_trace_profiling_zero", |
| 2611 | ":protos_perfetto_trace_ps_zero", |
| 2612 | ":protos_perfetto_trace_sys_stats_zero", |
| 2613 | ":protos_perfetto_trace_track_event_zero", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2614 | ] + PERFETTO_CONFIG.deps.jsoncpp + |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2615 | PERFETTO_CONFIG.deps.linenoise + |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2616 | PERFETTO_CONFIG.deps.protoc_lib + |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2617 | PERFETTO_CONFIG.deps.sqlite + |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2618 | PERFETTO_CONFIG.deps.sqlite_ext_percentile + |
| 2619 | PERFETTO_CONFIG.deps.zlib + [ |
Lalit Maganti | a4244e4 | 2019-09-20 12:03:32 +0100 | [diff] [blame] | 2620 | ":cc_merged_sql_metrics", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2621 | ], |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2622 | ) |
| 2623 | |
| 2624 | # GN target: //src/traced/probes:traced_probes |
| 2625 | perfetto_cc_binary( |
| 2626 | name = "traced_probes", |
| 2627 | srcs = [ |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2628 | "src/traced/probes/main.cc", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2629 | ":include_perfetto_ext_traced_traced", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2630 | ], |
| 2631 | visibility = [ |
| 2632 | "//visibility:public", |
| 2633 | ], |
| 2634 | deps = [ |
| 2635 | ":libperfetto", |
| 2636 | ], |
| 2637 | ) |
| 2638 | |
| 2639 | # GN target: //src/traced/service:traced |
| 2640 | perfetto_cc_binary( |
| 2641 | name = "traced", |
| 2642 | srcs = [ |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2643 | "src/traced/service/main.cc", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2644 | ":include_perfetto_ext_traced_traced", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2645 | ], |
| 2646 | visibility = [ |
| 2647 | "//visibility:public", |
| 2648 | ], |
| 2649 | deps = [ |
| 2650 | ":libperfetto", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 2651 | ], |
| 2652 | ) |
| 2653 | |
Ioannis Ilkos | bd4ee3f | 2019-06-21 17:40:09 +0100 | [diff] [blame] | 2654 | # GN target: //tools/trace_to_text:libpprofbuilder |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2655 | perfetto_cc_library( |
Primiano Tucci | 02c1176 | 2019-08-30 00:57:59 +0200 | [diff] [blame] | 2656 | name = "libpprofbuilder", |
Ioannis Ilkos | bd4ee3f | 2019-06-21 17:40:09 +0100 | [diff] [blame] | 2657 | srcs = [ |
Florian Mayer | 3be55fb | 2019-11-22 13:08:47 +0000 | [diff] [blame] | 2658 | ":src_profiling_deobfuscator", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2659 | ":tools_trace_to_text_pprofbuilder", |
| 2660 | ":tools_trace_to_text_symbolizer", |
| 2661 | ":tools_trace_to_text_utils", |
Ioannis Ilkos | bd4ee3f | 2019-06-21 17:40:09 +0100 | [diff] [blame] | 2662 | ], |
| 2663 | hdrs = [ |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2664 | ":include_perfetto_base_base", |
| 2665 | ":include_perfetto_ext_base_base", |
Florian Mayer | 3be55fb | 2019-11-22 13:08:47 +0000 | [diff] [blame] | 2666 | ":include_perfetto_profiling_deobfuscator", |
Lalit Maganti | a4244e4 | 2019-09-20 12:03:32 +0100 | [diff] [blame] | 2667 | ":include_perfetto_profiling_symbolizer", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2668 | ":include_perfetto_protozero_protozero", |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 2669 | ":include_perfetto_trace_processor_basic_types", |
| 2670 | ":include_perfetto_trace_processor_storage", |
Florian Mayer | 5403ce9 | 2019-09-19 19:55:17 +0100 | [diff] [blame] | 2671 | ":include_perfetto_trace_processor_trace_processor", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2672 | ], |
| 2673 | visibility = [ |
| 2674 | "//visibility:public", |
Ioannis Ilkos | bd4ee3f | 2019-06-21 17:40:09 +0100 | [diff] [blame] | 2675 | ], |
| 2676 | deps = [ |
Primiano Tucci | 2d813fd | 2019-11-26 17:27:07 +0000 | [diff] [blame] | 2677 | ":protos_perfetto_common_zero", |
| 2678 | ":protos_perfetto_config_android_zero", |
| 2679 | ":protos_perfetto_config_ftrace_zero", |
| 2680 | ":protos_perfetto_config_gpu_zero", |
| 2681 | ":protos_perfetto_config_inode_file_zero", |
| 2682 | ":protos_perfetto_config_power_zero", |
| 2683 | ":protos_perfetto_config_process_stats_zero", |
| 2684 | ":protos_perfetto_config_profiling_zero", |
| 2685 | ":protos_perfetto_config_sys_stats_zero", |
| 2686 | ":protos_perfetto_config_zero", |
| 2687 | ":protos_perfetto_trace_android_zero", |
| 2688 | ":protos_perfetto_trace_chrome_zero", |
| 2689 | ":protos_perfetto_trace_filesystem_zero", |
| 2690 | ":protos_perfetto_trace_ftrace_zero", |
| 2691 | ":protos_perfetto_trace_gpu_zero", |
| 2692 | ":protos_perfetto_trace_interned_data_zero", |
| 2693 | ":protos_perfetto_trace_minimal_zero", |
| 2694 | ":protos_perfetto_trace_non_minimal_zero", |
| 2695 | ":protos_perfetto_trace_perfetto_zero", |
| 2696 | ":protos_perfetto_trace_power_zero", |
| 2697 | ":protos_perfetto_trace_profiling_zero", |
| 2698 | ":protos_perfetto_trace_ps_zero", |
| 2699 | ":protos_perfetto_trace_sys_stats_zero", |
| 2700 | ":protos_perfetto_trace_track_event_zero", |
| 2701 | ":protos_third_party_pprof_zero", |
| 2702 | ] + PERFETTO_CONFIG.deps.zlib, |
Ioannis Ilkos | bd4ee3f | 2019-06-21 17:40:09 +0100 | [diff] [blame] | 2703 | ) |
| 2704 | |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2705 | # GN target: //tools/trace_to_text:trace_to_text |
| 2706 | perfetto_cc_binary( |
| 2707 | name = "trace_to_text", |
| 2708 | srcs = [ |
| 2709 | ":include_perfetto_base_base", |
| 2710 | ":include_perfetto_ext_base_base", |
Eric Seckler | 7fb1d23 | 2019-10-23 14:42:43 +0100 | [diff] [blame] | 2711 | ":include_perfetto_ext_trace_processor_export_json", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2712 | ":include_perfetto_ext_traced_sys_stats_counters", |
Florian Mayer | 3be55fb | 2019-11-22 13:08:47 +0000 | [diff] [blame] | 2713 | ":include_perfetto_profiling_deobfuscator", |
Lalit Maganti | a4244e4 | 2019-09-20 12:03:32 +0100 | [diff] [blame] | 2714 | ":include_perfetto_profiling_symbolizer", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2715 | ":include_perfetto_protozero_protozero", |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 2716 | ":include_perfetto_trace_processor_basic_types", |
| 2717 | ":include_perfetto_trace_processor_storage", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2718 | ":include_perfetto_trace_processor_trace_processor", |
| 2719 | ":src_base_base", |
Florian Mayer | 3be55fb | 2019-11-22 13:08:47 +0000 | [diff] [blame] | 2720 | ":src_profiling_deobfuscator", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2721 | ":src_protozero_protozero", |
| 2722 | ":src_trace_processor_common", |
| 2723 | ":src_trace_processor_db_lib", |
Stephen Nusko | bc76a6c | 2019-12-03 11:55:27 +0000 | [diff] [blame] | 2724 | ":src_trace_processor_descriptors", |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 2725 | ":src_trace_processor_export_json", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2726 | ":src_trace_processor_lib", |
| 2727 | ":src_trace_processor_metrics_lib", |
| 2728 | ":src_trace_processor_sqlite_sqlite", |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 2729 | ":src_trace_processor_storage", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2730 | ":src_trace_processor_tables_tables", |
| 2731 | ":tools_trace_to_text_common", |
| 2732 | ":tools_trace_to_text_full", |
| 2733 | ":tools_trace_to_text_local_symbolizer", |
| 2734 | ":tools_trace_to_text_pprofbuilder", |
| 2735 | ":tools_trace_to_text_symbolizer", |
| 2736 | ":tools_trace_to_text_utils", |
| 2737 | ], |
| 2738 | visibility = [ |
| 2739 | "//visibility:public", |
| 2740 | ], |
| 2741 | deps = [ |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2742 | ":protos_perfetto_common_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2743 | ":protos_perfetto_config_android_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2744 | ":protos_perfetto_config_ftrace_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2745 | ":protos_perfetto_config_gpu_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2746 | ":protos_perfetto_config_inode_file_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2747 | ":protos_perfetto_config_power_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2748 | ":protos_perfetto_config_process_stats_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2749 | ":protos_perfetto_config_profiling_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2750 | ":protos_perfetto_config_sys_stats_zero", |
| 2751 | ":protos_perfetto_config_zero", |
| 2752 | ":protos_perfetto_metrics_android_zero", |
| 2753 | ":protos_perfetto_metrics_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2754 | ":protos_perfetto_trace_android_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2755 | ":protos_perfetto_trace_chrome_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2756 | ":protos_perfetto_trace_filesystem_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2757 | ":protos_perfetto_trace_ftrace_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2758 | ":protos_perfetto_trace_gpu_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2759 | ":protos_perfetto_trace_interned_data_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2760 | ":protos_perfetto_trace_minimal_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2761 | ":protos_perfetto_trace_non_minimal_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2762 | ":protos_perfetto_trace_perfetto_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2763 | ":protos_perfetto_trace_power_zero", |
| 2764 | ":protos_perfetto_trace_processor_metrics_impl_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2765 | ":protos_perfetto_trace_profiling_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2766 | ":protos_perfetto_trace_ps_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2767 | ":protos_perfetto_trace_sys_stats_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2768 | ":protos_perfetto_trace_track_event_zero", |
Primiano Tucci | 2d813fd | 2019-11-26 17:27:07 +0000 | [diff] [blame] | 2769 | ":protos_third_party_pprof_zero", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2770 | ] + PERFETTO_CONFIG.deps.jsoncpp + |
| 2771 | PERFETTO_CONFIG.deps.protobuf_full + |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2772 | PERFETTO_CONFIG.deps.sqlite + |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2773 | PERFETTO_CONFIG.deps.sqlite_ext_percentile + |
| 2774 | PERFETTO_CONFIG.deps.zlib + [ |
Lalit Maganti | a4244e4 | 2019-09-20 12:03:32 +0100 | [diff] [blame] | 2775 | ":cc_merged_sql_metrics", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2776 | ], |
| 2777 | ) |
| 2778 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2779 | # Content from BUILD.extras |
| 2780 | |
| 2781 | build_config_dir_ = "include/perfetto/base/build_configs/bazel" |
| 2782 | |
| 2783 | # Deliberately NOT a perfetto_cc_library, to avoid cyclic deps. |
| 2784 | # This is pulled as a default dep by all targets. |
Primiano Tucci | 02c1176 | 2019-08-30 00:57:59 +0200 | [diff] [blame] | 2785 | cc_library( |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2786 | name = "build_config_hdr", |
| 2787 | hdrs = [build_config_dir_ + "/perfetto_build_flags.h"], |
| 2788 | includes = [build_config_dir_], |
Primiano Tucci | 02c1176 | 2019-08-30 00:57:59 +0200 | [diff] [blame] | 2789 | ) |
| 2790 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2791 | perfetto_cc_library( |
| 2792 | name = "cc_merged_sql_metrics", |
| 2793 | hdrs = ["src/trace_processor/metrics/sql_metrics.h"], |
Primiano Tucci | 02c1176 | 2019-08-30 00:57:59 +0200 | [diff] [blame] | 2794 | ) |
| 2795 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2796 | perfetto_py_binary( |
Lalit Maganti | caac992 | 2019-05-01 10:40:53 +0100 | [diff] [blame] | 2797 | name = "gen_merged_sql_metrics_py", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 2798 | srcs = [ |
Lalit Maganti | ab619fa | 2019-05-02 12:56:37 +0100 | [diff] [blame] | 2799 | "tools/gen_merged_sql_metrics.py", |
| 2800 | ], |
| 2801 | main = "tools/gen_merged_sql_metrics.py", |
Florian Mayer | a5c1bd5 | 2019-08-02 11:01:34 +0100 | [diff] [blame] | 2802 | python_version = "PY2", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 2803 | ) |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2804 | |
| 2805 | perfetto_java_proto_library( |
| 2806 | name = "protos_perfetto_metrics_java", |
| 2807 | deps = [ |
| 2808 | ":protos_perfetto_metrics_protos", |
| 2809 | ], |
| 2810 | ) |
| 2811 | |
| 2812 | perfetto_java_proto_library( |
| 2813 | name = "protos_perfetto_metrics_android_java", |
| 2814 | deps = [ |
| 2815 | ":protos_perfetto_metrics_android_protos", |
| 2816 | ], |
| 2817 | ) |
| 2818 | |
Lalit Maganti | c3187f8 | 2019-09-20 14:51:11 +0100 | [diff] [blame] | 2819 | perfetto_java_proto_library( |
| 2820 | name = "protos_perfetto_trace_merged_trace_java", |
| 2821 | deps = [ |
| 2822 | ":protos_perfetto_trace_merged_trace_protos", |
| 2823 | ], |
| 2824 | ) |
| 2825 | |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2826 | perfetto_gensignature_internal_only( |
| 2827 | name = "trace_processor_sig", |
| 2828 | srcs = [ |
| 2829 | ":trace_processor_shell", |
| 2830 | ":trace_to_text", |
| 2831 | ], |
| 2832 | tags = [ |
| 2833 | "__TRACE_PROCESSOR_SIG_TAG1", |
| 2834 | "__TRACE_PROCESSOR_SIG_TAG2", |
| 2835 | ], |
| 2836 | ) |