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