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