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