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