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