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