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