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