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