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