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