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