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