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