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