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