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