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 | |
Lalit Maganti | 64cd1f6 | 2020-09-14 17:44:52 +0100 | [diff] [blame] | 2063 | # GN target: //protos/perfetto/metrics/android:source_set |
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 | 3b09a3f | 2020-09-14 13:28:44 +0100 | [diff] [blame] | 2092 | # GN target: //protos/perfetto/metrics/chrome:descriptor |
| 2093 | perfetto_proto_descriptor( |
| 2094 | name = "protos_perfetto_metrics_chrome_descriptor", |
| 2095 | deps = [ |
Lalit Maganti | 64cd1f6 | 2020-09-14 17:44:52 +0100 | [diff] [blame] | 2096 | ":protos_perfetto_metrics_chrome_protos", |
Lalit Maganti | 3b09a3f | 2020-09-14 13:28:44 +0100 | [diff] [blame] | 2097 | ], |
| 2098 | outs = [ |
| 2099 | "protos_perfetto_metrics_chrome_descriptor.bin", |
| 2100 | ], |
| 2101 | ) |
| 2102 | |
Lalit Maganti | 3b09a3f | 2020-09-14 13:28:44 +0100 | [diff] [blame] | 2103 | # GN target: //protos/perfetto/metrics/chrome:source_set |
| 2104 | perfetto_proto_library( |
Lalit Maganti | 64cd1f6 | 2020-09-14 17:44:52 +0100 | [diff] [blame] | 2105 | name = "protos_perfetto_metrics_chrome_protos", |
Lalit Maganti | 3b09a3f | 2020-09-14 13:28:44 +0100 | [diff] [blame] | 2106 | srcs = [ |
| 2107 | "protos/perfetto/metrics/chrome/all_chrome_metrics.proto", |
| 2108 | "protos/perfetto/metrics/chrome/test_chrome_metric.proto", |
| 2109 | ], |
| 2110 | visibility = [ |
| 2111 | PERFETTO_CONFIG.proto_library_visibility, |
| 2112 | ], |
| 2113 | deps = [ |
Lalit Maganti | 64cd1f6 | 2020-09-14 17:44:52 +0100 | [diff] [blame] | 2114 | ":protos_perfetto_metrics_android_protos", |
| 2115 | ":protos_perfetto_metrics_custom_options_protos", |
| 2116 | ":protos_perfetto_metrics_protos", |
Lalit Maganti | 3b09a3f | 2020-09-14 13:28:44 +0100 | [diff] [blame] | 2117 | ] + PERFETTO_CONFIG.deps.protobuf_descriptor_proto, |
| 2118 | ) |
| 2119 | |
| 2120 | # GN target: //protos/perfetto/metrics:custom_options_source_set |
| 2121 | perfetto_proto_library( |
Lalit Maganti | 64cd1f6 | 2020-09-14 17:44:52 +0100 | [diff] [blame] | 2122 | name = "protos_perfetto_metrics_custom_options_protos", |
Lalit Maganti | 3b09a3f | 2020-09-14 13:28:44 +0100 | [diff] [blame] | 2123 | srcs = [ |
| 2124 | "protos/perfetto/metrics/custom_options.proto", |
| 2125 | ], |
| 2126 | visibility = [ |
| 2127 | PERFETTO_CONFIG.proto_library_visibility, |
| 2128 | ], |
| 2129 | deps = [ |
| 2130 | ] + PERFETTO_CONFIG.deps.protobuf_descriptor_proto, |
| 2131 | ) |
| 2132 | |
Lalit Maganti | 117272f | 2020-09-11 14:01:18 +0100 | [diff] [blame] | 2133 | # GN target: //protos/perfetto/metrics:descriptor |
| 2134 | perfetto_proto_descriptor( |
| 2135 | name = "protos_perfetto_metrics_descriptor", |
| 2136 | deps = [ |
Lalit Maganti | 64cd1f6 | 2020-09-14 17:44:52 +0100 | [diff] [blame] | 2137 | ":protos_perfetto_metrics_protos", |
Lalit Maganti | 117272f | 2020-09-11 14:01:18 +0100 | [diff] [blame] | 2138 | ], |
| 2139 | outs = [ |
| 2140 | "protos_perfetto_metrics_descriptor.bin", |
| 2141 | ], |
| 2142 | ) |
| 2143 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2144 | # GN target: //protos/perfetto/metrics:lite |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2145 | perfetto_cc_proto_library( |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2146 | name = "protos_perfetto_metrics_lite", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2147 | deps = [ |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2148 | ":protos_perfetto_metrics_protos", |
| 2149 | ], |
| 2150 | ) |
| 2151 | |
Lalit Maganti | 64cd1f6 | 2020-09-14 17:44:52 +0100 | [diff] [blame] | 2152 | # GN target: //protos/perfetto/metrics:source_set |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2153 | perfetto_proto_library( |
| 2154 | name = "protos_perfetto_metrics_protos", |
| 2155 | srcs = [ |
| 2156 | "protos/perfetto/metrics/metrics.proto", |
| 2157 | ], |
Lalit Maganti | e5aad3b | 2020-01-20 18:43:05 +0000 | [diff] [blame] | 2158 | visibility = PERFETTO_CONFIG.public_visibility, |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2159 | deps = [ |
| 2160 | ":protos_perfetto_metrics_android_protos", |
| 2161 | ], |
| 2162 | ) |
| 2163 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2164 | # GN target: //protos/perfetto/trace/android:lite |
| 2165 | perfetto_cc_proto_library( |
| 2166 | name = "protos_perfetto_trace_android_lite", |
| 2167 | deps = [ |
| 2168 | ":protos_perfetto_trace_android_protos", |
| 2169 | ], |
| 2170 | ) |
| 2171 | |
| 2172 | # GN target: //protos/perfetto/trace/android:zero |
| 2173 | perfetto_proto_library( |
| 2174 | name = "protos_perfetto_trace_android_protos", |
| 2175 | srcs = [ |
| 2176 | "protos/perfetto/trace/android/android_log.proto", |
Yiwei Zhang | c841194 | 2020-06-25 14:41:23 -0700 | [diff] [blame] | 2177 | "protos/perfetto/trace/android/gpu_mem_event.proto", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2178 | "protos/perfetto/trace/android/graphics_frame_event.proto", |
Simon MacMullen | 3d4c54a | 2020-04-17 16:40:53 +0100 | [diff] [blame] | 2179 | "protos/perfetto/trace/android/initial_display_state.proto", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2180 | "protos/perfetto/trace/android/packages_list.proto", |
| 2181 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 2182 | visibility = [ |
| 2183 | PERFETTO_CONFIG.proto_library_visibility, |
| 2184 | ], |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2185 | deps = [ |
| 2186 | ":protos_perfetto_common_protos", |
| 2187 | ], |
| 2188 | ) |
| 2189 | |
| 2190 | # GN target: //protos/perfetto/trace/android:zero |
| 2191 | perfetto_cc_protozero_library( |
| 2192 | name = "protos_perfetto_trace_android_zero", |
| 2193 | deps = [ |
| 2194 | ":protos_perfetto_trace_android_protos", |
| 2195 | ], |
| 2196 | ) |
| 2197 | |
| 2198 | # GN target: //protos/perfetto/trace/chrome:lite |
| 2199 | perfetto_cc_proto_library( |
| 2200 | name = "protos_perfetto_trace_chrome_lite", |
| 2201 | deps = [ |
| 2202 | ":protos_perfetto_trace_chrome_protos", |
| 2203 | ], |
| 2204 | ) |
| 2205 | |
| 2206 | # GN target: //protos/perfetto/trace/chrome:zero |
| 2207 | perfetto_proto_library( |
| 2208 | name = "protos_perfetto_trace_chrome_protos", |
| 2209 | srcs = [ |
| 2210 | "protos/perfetto/trace/chrome/chrome_benchmark_metadata.proto", |
| 2211 | "protos/perfetto/trace/chrome/chrome_metadata.proto", |
| 2212 | "protos/perfetto/trace/chrome/chrome_trace_event.proto", |
| 2213 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 2214 | visibility = [ |
| 2215 | PERFETTO_CONFIG.proto_library_visibility, |
| 2216 | ], |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2217 | ) |
| 2218 | |
| 2219 | # GN target: //protos/perfetto/trace/chrome:zero |
| 2220 | perfetto_cc_protozero_library( |
| 2221 | name = "protos_perfetto_trace_chrome_zero", |
| 2222 | deps = [ |
| 2223 | ":protos_perfetto_trace_chrome_protos", |
| 2224 | ], |
| 2225 | ) |
| 2226 | |
| 2227 | # GN target: //protos/perfetto/trace/filesystem:lite |
| 2228 | perfetto_cc_proto_library( |
| 2229 | name = "protos_perfetto_trace_filesystem_lite", |
| 2230 | deps = [ |
| 2231 | ":protos_perfetto_trace_filesystem_protos", |
| 2232 | ], |
| 2233 | ) |
| 2234 | |
| 2235 | # GN target: //protos/perfetto/trace/filesystem:zero |
| 2236 | perfetto_proto_library( |
| 2237 | name = "protos_perfetto_trace_filesystem_protos", |
| 2238 | srcs = [ |
| 2239 | "protos/perfetto/trace/filesystem/inode_file_map.proto", |
| 2240 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 2241 | visibility = [ |
| 2242 | PERFETTO_CONFIG.proto_library_visibility, |
| 2243 | ], |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2244 | ) |
| 2245 | |
| 2246 | # GN target: //protos/perfetto/trace/filesystem:zero |
| 2247 | perfetto_cc_protozero_library( |
| 2248 | name = "protos_perfetto_trace_filesystem_zero", |
| 2249 | deps = [ |
| 2250 | ":protos_perfetto_trace_filesystem_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2251 | ], |
| 2252 | ) |
| 2253 | |
| 2254 | # GN target: //protos/perfetto/trace/ftrace:lite |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2255 | perfetto_cc_proto_library( |
| 2256 | name = "protos_perfetto_trace_ftrace_lite", |
| 2257 | deps = [ |
| 2258 | ":protos_perfetto_trace_ftrace_protos", |
| 2259 | ], |
| 2260 | ) |
| 2261 | |
| 2262 | # GN target: //protos/perfetto/trace/ftrace:zero |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2263 | perfetto_proto_library( |
| 2264 | name = "protos_perfetto_trace_ftrace_protos", |
| 2265 | srcs = [ |
| 2266 | "protos/perfetto/trace/ftrace/binder.proto", |
| 2267 | "protos/perfetto/trace/ftrace/block.proto", |
| 2268 | "protos/perfetto/trace/ftrace/cgroup.proto", |
| 2269 | "protos/perfetto/trace/ftrace/clk.proto", |
| 2270 | "protos/perfetto/trace/ftrace/compaction.proto", |
Hector Dearman | 30fa398 | 2020-08-11 17:09:40 +0100 | [diff] [blame] | 2271 | "protos/perfetto/trace/ftrace/cpuhp.proto", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2272 | "protos/perfetto/trace/ftrace/ext4.proto", |
| 2273 | "protos/perfetto/trace/ftrace/f2fs.proto", |
| 2274 | "protos/perfetto/trace/ftrace/fence.proto", |
| 2275 | "protos/perfetto/trace/ftrace/filemap.proto", |
| 2276 | "protos/perfetto/trace/ftrace/ftrace.proto", |
| 2277 | "protos/perfetto/trace/ftrace/ftrace_event.proto", |
| 2278 | "protos/perfetto/trace/ftrace/ftrace_event_bundle.proto", |
| 2279 | "protos/perfetto/trace/ftrace/ftrace_stats.proto", |
| 2280 | "protos/perfetto/trace/ftrace/generic.proto", |
Adithya Srinivasan | c615dec | 2020-06-24 14:50:06 -0700 | [diff] [blame] | 2281 | "protos/perfetto/trace/ftrace/gpu_mem.proto", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2282 | "protos/perfetto/trace/ftrace/i2c.proto", |
Ioannis Ilkos | e5ddb4a | 2020-04-22 09:45:19 +0100 | [diff] [blame] | 2283 | "protos/perfetto/trace/ftrace/ion.proto", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2284 | "protos/perfetto/trace/ftrace/ipi.proto", |
| 2285 | "protos/perfetto/trace/ftrace/irq.proto", |
| 2286 | "protos/perfetto/trace/ftrace/kmem.proto", |
| 2287 | "protos/perfetto/trace/ftrace/lowmemorykiller.proto", |
| 2288 | "protos/perfetto/trace/ftrace/mdss.proto", |
| 2289 | "protos/perfetto/trace/ftrace/mm_event.proto", |
| 2290 | "protos/perfetto/trace/ftrace/oom.proto", |
| 2291 | "protos/perfetto/trace/ftrace/power.proto", |
| 2292 | "protos/perfetto/trace/ftrace/raw_syscalls.proto", |
| 2293 | "protos/perfetto/trace/ftrace/regulator.proto", |
| 2294 | "protos/perfetto/trace/ftrace/sched.proto", |
Hector Dearman | 324cc4b | 2020-06-16 12:42:26 +0100 | [diff] [blame] | 2295 | "protos/perfetto/trace/ftrace/scm.proto", |
Hector Dearman | 3cd7cd5 | 2019-12-04 16:07:16 +0000 | [diff] [blame] | 2296 | "protos/perfetto/trace/ftrace/sde.proto", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2297 | "protos/perfetto/trace/ftrace/signal.proto", |
| 2298 | "protos/perfetto/trace/ftrace/sync.proto", |
| 2299 | "protos/perfetto/trace/ftrace/systrace.proto", |
| 2300 | "protos/perfetto/trace/ftrace/task.proto", |
| 2301 | "protos/perfetto/trace/ftrace/test_bundle_wrapper.proto", |
Isabelle Taylor | 9cc8786 | 2020-07-21 16:53:32 +0100 | [diff] [blame] | 2302 | "protos/perfetto/trace/ftrace/thermal.proto", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2303 | "protos/perfetto/trace/ftrace/vmscan.proto", |
| 2304 | "protos/perfetto/trace/ftrace/workqueue.proto", |
| 2305 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 2306 | visibility = [ |
| 2307 | PERFETTO_CONFIG.proto_library_visibility, |
| 2308 | ], |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2309 | ) |
| 2310 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2311 | # GN target: //protos/perfetto/trace/ftrace:zero |
| 2312 | perfetto_cc_protozero_library( |
| 2313 | name = "protos_perfetto_trace_ftrace_zero", |
| 2314 | deps = [ |
| 2315 | ":protos_perfetto_trace_ftrace_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2316 | ], |
| 2317 | ) |
| 2318 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2319 | # GN target: //protos/perfetto/trace/gpu:lite |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2320 | perfetto_cc_proto_library( |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2321 | name = "protos_perfetto_trace_gpu_lite", |
| 2322 | deps = [ |
| 2323 | ":protos_perfetto_trace_gpu_protos", |
| 2324 | ], |
| 2325 | ) |
| 2326 | |
| 2327 | # GN target: //protos/perfetto/trace/gpu:zero |
| 2328 | perfetto_proto_library( |
| 2329 | name = "protos_perfetto_trace_gpu_protos", |
| 2330 | srcs = [ |
| 2331 | "protos/perfetto/trace/gpu/gpu_counter_event.proto", |
Raymond Chiu | c612b7f | 2019-09-18 14:53:28 -0700 | [diff] [blame] | 2332 | "protos/perfetto/trace/gpu/gpu_log.proto", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2333 | "protos/perfetto/trace/gpu/gpu_render_stage_event.proto", |
Raymond Chiu | 5d526b8 | 2019-11-22 14:18:51 -0800 | [diff] [blame] | 2334 | "protos/perfetto/trace/gpu/vulkan_api_event.proto", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2335 | "protos/perfetto/trace/gpu/vulkan_memory_event.proto", |
| 2336 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 2337 | visibility = [ |
| 2338 | PERFETTO_CONFIG.proto_library_visibility, |
| 2339 | ], |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2340 | deps = [ |
| 2341 | ":protos_perfetto_common_protos", |
| 2342 | ], |
| 2343 | ) |
| 2344 | |
| 2345 | # GN target: //protos/perfetto/trace/gpu:zero |
| 2346 | perfetto_cc_protozero_library( |
| 2347 | name = "protos_perfetto_trace_gpu_zero", |
| 2348 | deps = [ |
| 2349 | ":protos_perfetto_trace_gpu_protos", |
| 2350 | ], |
| 2351 | ) |
| 2352 | |
| 2353 | # GN target: //protos/perfetto/trace/interned_data:lite |
| 2354 | perfetto_cc_proto_library( |
| 2355 | name = "protos_perfetto_trace_interned_data_lite", |
| 2356 | deps = [ |
| 2357 | ":protos_perfetto_trace_interned_data_protos", |
| 2358 | ], |
| 2359 | ) |
| 2360 | |
| 2361 | # GN target: //protos/perfetto/trace/interned_data:zero |
| 2362 | perfetto_proto_library( |
| 2363 | name = "protos_perfetto_trace_interned_data_protos", |
| 2364 | srcs = [ |
| 2365 | "protos/perfetto/trace/interned_data/interned_data.proto", |
| 2366 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 2367 | visibility = [ |
| 2368 | PERFETTO_CONFIG.proto_library_visibility, |
| 2369 | ], |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2370 | deps = [ |
Raymond Chiu | 37532e6 | 2020-04-06 16:15:48 -0700 | [diff] [blame] | 2371 | ":protos_perfetto_common_protos", |
| 2372 | ":protos_perfetto_trace_gpu_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2373 | ":protos_perfetto_trace_profiling_protos", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2374 | ":protos_perfetto_trace_track_event_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2375 | ], |
| 2376 | ) |
| 2377 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2378 | # GN target: //protos/perfetto/trace/interned_data:zero |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2379 | perfetto_cc_protozero_library( |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2380 | name = "protos_perfetto_trace_interned_data_zero", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2381 | deps = [ |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2382 | ":protos_perfetto_trace_interned_data_protos", |
| 2383 | ], |
| 2384 | ) |
| 2385 | |
| 2386 | # GN target: //protos/perfetto/trace:merged_trace |
| 2387 | perfetto_cc_proto_library( |
| 2388 | name = "protos_perfetto_trace_merged_trace", |
| 2389 | deps = [ |
| 2390 | ":protos_perfetto_trace_merged_trace_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2391 | ], |
| 2392 | ) |
| 2393 | |
Lalit Maganti | c3187f8 | 2019-09-20 14:51:11 +0100 | [diff] [blame] | 2394 | # GN target: //protos/perfetto/trace:merged_trace |
| 2395 | perfetto_proto_library( |
| 2396 | name = "protos_perfetto_trace_merged_trace_protos", |
| 2397 | srcs = [ |
| 2398 | "protos/perfetto/trace/perfetto_trace.proto", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2399 | ], |
Lalit Maganti | e5aad3b | 2020-01-20 18:43:05 +0000 | [diff] [blame] | 2400 | visibility = PERFETTO_CONFIG.public_visibility, |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2401 | ) |
| 2402 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2403 | # GN target: //protos/perfetto/trace:minimal_lite |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2404 | perfetto_cc_proto_library( |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2405 | name = "protos_perfetto_trace_minimal_lite", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2406 | deps = [ |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2407 | ":protos_perfetto_trace_minimal_protos", |
| 2408 | ], |
| 2409 | ) |
| 2410 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2411 | # GN target: //protos/perfetto/trace:minimal_zero |
| 2412 | perfetto_proto_library( |
| 2413 | name = "protos_perfetto_trace_minimal_protos", |
| 2414 | srcs = [ |
| 2415 | "protos/perfetto/trace/clock_snapshot.proto", |
| 2416 | "protos/perfetto/trace/system_info.proto", |
| 2417 | "protos/perfetto/trace/trigger.proto", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2418 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 2419 | visibility = [ |
| 2420 | PERFETTO_CONFIG.proto_library_visibility, |
| 2421 | ], |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2422 | deps = [ |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2423 | ":protos_perfetto_common_protos", |
| 2424 | ":protos_perfetto_config_android_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2425 | ":protos_perfetto_config_ftrace_protos", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2426 | ":protos_perfetto_config_gpu_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2427 | ":protos_perfetto_config_inode_file_protos", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2428 | ":protos_perfetto_config_power_protos", |
| 2429 | ":protos_perfetto_config_process_stats_protos", |
| 2430 | ":protos_perfetto_config_profiling_protos", |
| 2431 | ":protos_perfetto_config_protos", |
| 2432 | ":protos_perfetto_config_sys_stats_protos", |
Sami Kyostila | 38cd041 | 2020-02-12 17:09:52 +0000 | [diff] [blame] | 2433 | ":protos_perfetto_config_track_event_protos", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2434 | ], |
| 2435 | ) |
| 2436 | |
| 2437 | # GN target: //protos/perfetto/trace:minimal_zero |
| 2438 | perfetto_cc_protozero_library( |
| 2439 | name = "protos_perfetto_trace_minimal_zero", |
| 2440 | deps = [ |
| 2441 | ":protos_perfetto_trace_minimal_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2442 | ], |
| 2443 | ) |
| 2444 | |
| 2445 | # GN target: //protos/perfetto/trace:non_minimal_lite |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2446 | perfetto_cc_proto_library( |
| 2447 | name = "protos_perfetto_trace_non_minimal_lite", |
| 2448 | deps = [ |
| 2449 | ":protos_perfetto_trace_non_minimal_protos", |
| 2450 | ], |
| 2451 | ) |
| 2452 | |
| 2453 | # GN target: //protos/perfetto/trace:non_minimal_zero |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2454 | perfetto_proto_library( |
| 2455 | name = "protos_perfetto_trace_non_minimal_protos", |
| 2456 | srcs = [ |
Andrew Shulaev | 46b12a9 | 2020-07-09 00:45:37 +0100 | [diff] [blame] | 2457 | "protos/perfetto/trace/extension_descriptor.proto", |
Piotr Roguski | 10ee050 | 2020-08-12 14:05:48 +0200 | [diff] [blame] | 2458 | "protos/perfetto/trace/memory_graph.proto", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2459 | "protos/perfetto/trace/test_event.proto", |
| 2460 | "protos/perfetto/trace/trace.proto", |
| 2461 | "protos/perfetto/trace/trace_packet.proto", |
| 2462 | "protos/perfetto/trace/trace_packet_defaults.proto", |
| 2463 | ], |
Lalit Maganti | e5aad3b | 2020-01-20 18:43:05 +0000 | [diff] [blame] | 2464 | visibility = PERFETTO_CONFIG.public_visibility, |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2465 | deps = [ |
| 2466 | ":protos_perfetto_common_protos", |
| 2467 | ":protos_perfetto_config_android_protos", |
| 2468 | ":protos_perfetto_config_ftrace_protos", |
| 2469 | ":protos_perfetto_config_gpu_protos", |
| 2470 | ":protos_perfetto_config_inode_file_protos", |
| 2471 | ":protos_perfetto_config_power_protos", |
| 2472 | ":protos_perfetto_config_process_stats_protos", |
| 2473 | ":protos_perfetto_config_profiling_protos", |
| 2474 | ":protos_perfetto_config_protos", |
| 2475 | ":protos_perfetto_config_sys_stats_protos", |
Sami Kyostila | 38cd041 | 2020-02-12 17:09:52 +0000 | [diff] [blame] | 2476 | ":protos_perfetto_config_track_event_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2477 | ":protos_perfetto_trace_android_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2478 | ":protos_perfetto_trace_chrome_protos", |
| 2479 | ":protos_perfetto_trace_filesystem_protos", |
| 2480 | ":protos_perfetto_trace_ftrace_protos", |
| 2481 | ":protos_perfetto_trace_gpu_protos", |
| 2482 | ":protos_perfetto_trace_interned_data_protos", |
| 2483 | ":protos_perfetto_trace_minimal_protos", |
| 2484 | ":protos_perfetto_trace_perfetto_protos", |
| 2485 | ":protos_perfetto_trace_power_protos", |
| 2486 | ":protos_perfetto_trace_profiling_protos", |
| 2487 | ":protos_perfetto_trace_ps_protos", |
| 2488 | ":protos_perfetto_trace_sys_stats_protos", |
Rafal Slawik | b013a11 | 2020-04-03 16:12:02 +0100 | [diff] [blame] | 2489 | ":protos_perfetto_trace_system_info_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2490 | ":protos_perfetto_trace_track_event_protos", |
| 2491 | ], |
| 2492 | ) |
| 2493 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2494 | # GN target: //protos/perfetto/trace:non_minimal_zero |
| 2495 | perfetto_cc_protozero_library( |
| 2496 | name = "protos_perfetto_trace_non_minimal_zero", |
| 2497 | deps = [ |
| 2498 | ":protos_perfetto_trace_non_minimal_protos", |
| 2499 | ], |
| 2500 | ) |
| 2501 | |
| 2502 | # GN target: //protos/perfetto/trace/perfetto:lite |
| 2503 | perfetto_cc_proto_library( |
| 2504 | name = "protos_perfetto_trace_perfetto_lite", |
| 2505 | deps = [ |
| 2506 | ":protos_perfetto_trace_perfetto_protos", |
| 2507 | ], |
| 2508 | ) |
| 2509 | |
| 2510 | # GN target: //protos/perfetto/trace/perfetto:zero |
| 2511 | perfetto_proto_library( |
| 2512 | name = "protos_perfetto_trace_perfetto_protos", |
| 2513 | srcs = [ |
| 2514 | "protos/perfetto/trace/perfetto/perfetto_metatrace.proto", |
Primiano Tucci | 79e4dcb | 2020-04-08 09:51:02 +0100 | [diff] [blame] | 2515 | "protos/perfetto/trace/perfetto/tracing_service_event.proto", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2516 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 2517 | visibility = [ |
| 2518 | PERFETTO_CONFIG.proto_library_visibility, |
| 2519 | ], |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2520 | ) |
| 2521 | |
| 2522 | # GN target: //protos/perfetto/trace/perfetto:zero |
| 2523 | perfetto_cc_protozero_library( |
| 2524 | name = "protos_perfetto_trace_perfetto_zero", |
| 2525 | deps = [ |
| 2526 | ":protos_perfetto_trace_perfetto_protos", |
| 2527 | ], |
| 2528 | ) |
| 2529 | |
| 2530 | # GN target: //protos/perfetto/trace/power:lite |
| 2531 | perfetto_cc_proto_library( |
| 2532 | name = "protos_perfetto_trace_power_lite", |
| 2533 | deps = [ |
| 2534 | ":protos_perfetto_trace_power_protos", |
| 2535 | ], |
| 2536 | ) |
| 2537 | |
| 2538 | # GN target: //protos/perfetto/trace/power:zero |
| 2539 | perfetto_proto_library( |
| 2540 | name = "protos_perfetto_trace_power_protos", |
| 2541 | srcs = [ |
| 2542 | "protos/perfetto/trace/power/battery_counters.proto", |
| 2543 | "protos/perfetto/trace/power/power_rails.proto", |
| 2544 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 2545 | visibility = [ |
| 2546 | PERFETTO_CONFIG.proto_library_visibility, |
| 2547 | ], |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2548 | ) |
| 2549 | |
| 2550 | # GN target: //protos/perfetto/trace/power:zero |
| 2551 | perfetto_cc_protozero_library( |
| 2552 | name = "protos_perfetto_trace_power_zero", |
| 2553 | deps = [ |
| 2554 | ":protos_perfetto_trace_power_protos", |
| 2555 | ], |
| 2556 | ) |
| 2557 | |
| 2558 | # GN target: //protos/perfetto/trace_processor:metrics_impl_zero |
| 2559 | perfetto_proto_library( |
| 2560 | name = "protos_perfetto_trace_processor_metrics_impl_protos", |
| 2561 | srcs = [ |
| 2562 | "protos/perfetto/trace_processor/metrics_impl.proto", |
| 2563 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 2564 | visibility = [ |
| 2565 | PERFETTO_CONFIG.proto_library_visibility, |
| 2566 | ], |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2567 | ) |
| 2568 | |
| 2569 | # GN target: //protos/perfetto/trace_processor:metrics_impl_zero |
| 2570 | perfetto_cc_protozero_library( |
| 2571 | name = "protos_perfetto_trace_processor_metrics_impl_zero", |
| 2572 | deps = [ |
| 2573 | ":protos_perfetto_trace_processor_metrics_impl_protos", |
| 2574 | ], |
| 2575 | ) |
| 2576 | |
Primiano Tucci | a36cccc | 2019-10-27 13:15:04 +0100 | [diff] [blame] | 2577 | # GN target: //protos/perfetto/trace_processor:zero |
| 2578 | perfetto_proto_library( |
| 2579 | name = "protos_perfetto_trace_processor_protos", |
| 2580 | srcs = [ |
| 2581 | "protos/perfetto/trace_processor/trace_processor.proto", |
| 2582 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 2583 | visibility = [ |
| 2584 | PERFETTO_CONFIG.proto_library_visibility, |
| 2585 | ], |
Deepanjan Roy | 7774777 | 2020-09-01 15:10:33 -0400 | [diff] [blame] | 2586 | deps = [ |
| 2587 | ":protos_perfetto_common_protos", |
| 2588 | ], |
Primiano Tucci | a36cccc | 2019-10-27 13:15:04 +0100 | [diff] [blame] | 2589 | ) |
| 2590 | |
| 2591 | # GN target: //protos/perfetto/trace_processor:zero |
| 2592 | perfetto_cc_protozero_library( |
| 2593 | name = "protos_perfetto_trace_processor_zero", |
| 2594 | deps = [ |
| 2595 | ":protos_perfetto_trace_processor_protos", |
| 2596 | ], |
| 2597 | ) |
| 2598 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2599 | # GN target: //protos/perfetto/trace/profiling:lite |
| 2600 | perfetto_cc_proto_library( |
| 2601 | name = "protos_perfetto_trace_profiling_lite", |
| 2602 | deps = [ |
| 2603 | ":protos_perfetto_trace_profiling_protos", |
| 2604 | ], |
| 2605 | ) |
| 2606 | |
| 2607 | # GN target: //protos/perfetto/trace/profiling:zero |
| 2608 | perfetto_proto_library( |
| 2609 | name = "protos_perfetto_trace_profiling_protos", |
| 2610 | srcs = [ |
Florian Mayer | c2d0996 | 2020-08-12 15:52:50 +0100 | [diff] [blame] | 2611 | "protos/perfetto/trace/profiling/deobfuscation.proto", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2612 | "protos/perfetto/trace/profiling/heap_graph.proto", |
| 2613 | "protos/perfetto/trace/profiling/profile_common.proto", |
| 2614 | "protos/perfetto/trace/profiling/profile_packet.proto", |
Florian Mayer | 633b444 | 2020-04-04 11:54:17 +0200 | [diff] [blame] | 2615 | "protos/perfetto/trace/profiling/smaps.proto", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2616 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 2617 | visibility = [ |
| 2618 | PERFETTO_CONFIG.proto_library_visibility, |
| 2619 | ], |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2620 | ) |
| 2621 | |
| 2622 | # GN target: //protos/perfetto/trace/profiling:zero |
| 2623 | perfetto_cc_protozero_library( |
| 2624 | name = "protos_perfetto_trace_profiling_zero", |
| 2625 | deps = [ |
| 2626 | ":protos_perfetto_trace_profiling_protos", |
| 2627 | ], |
| 2628 | ) |
| 2629 | |
| 2630 | # GN target: //protos/perfetto/trace/ps:lite |
| 2631 | perfetto_cc_proto_library( |
| 2632 | name = "protos_perfetto_trace_ps_lite", |
| 2633 | deps = [ |
| 2634 | ":protos_perfetto_trace_ps_protos", |
| 2635 | ], |
| 2636 | ) |
| 2637 | |
| 2638 | # GN target: //protos/perfetto/trace/ps:zero |
| 2639 | perfetto_proto_library( |
| 2640 | name = "protos_perfetto_trace_ps_protos", |
| 2641 | srcs = [ |
| 2642 | "protos/perfetto/trace/ps/process_stats.proto", |
| 2643 | "protos/perfetto/trace/ps/process_tree.proto", |
| 2644 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 2645 | visibility = [ |
| 2646 | PERFETTO_CONFIG.proto_library_visibility, |
| 2647 | ], |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2648 | ) |
| 2649 | |
| 2650 | # GN target: //protos/perfetto/trace/ps:zero |
| 2651 | perfetto_cc_protozero_library( |
| 2652 | name = "protos_perfetto_trace_ps_zero", |
| 2653 | deps = [ |
| 2654 | ":protos_perfetto_trace_ps_protos", |
| 2655 | ], |
| 2656 | ) |
| 2657 | |
| 2658 | # GN target: //protos/perfetto/trace/sys_stats:lite |
| 2659 | perfetto_cc_proto_library( |
| 2660 | name = "protos_perfetto_trace_sys_stats_lite", |
| 2661 | deps = [ |
| 2662 | ":protos_perfetto_trace_sys_stats_protos", |
| 2663 | ], |
| 2664 | ) |
| 2665 | |
| 2666 | # GN target: //protos/perfetto/trace/sys_stats:zero |
| 2667 | perfetto_proto_library( |
| 2668 | name = "protos_perfetto_trace_sys_stats_protos", |
| 2669 | srcs = [ |
| 2670 | "protos/perfetto/trace/sys_stats/sys_stats.proto", |
| 2671 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 2672 | visibility = [ |
| 2673 | PERFETTO_CONFIG.proto_library_visibility, |
| 2674 | ], |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2675 | deps = [ |
| 2676 | ":protos_perfetto_common_protos", |
| 2677 | ], |
| 2678 | ) |
| 2679 | |
| 2680 | # GN target: //protos/perfetto/trace/sys_stats:zero |
| 2681 | perfetto_cc_protozero_library( |
| 2682 | name = "protos_perfetto_trace_sys_stats_zero", |
| 2683 | deps = [ |
| 2684 | ":protos_perfetto_trace_sys_stats_protos", |
| 2685 | ], |
| 2686 | ) |
| 2687 | |
Rafal Slawik | b013a11 | 2020-04-03 16:12:02 +0100 | [diff] [blame] | 2688 | # GN target: //protos/perfetto/trace/system_info:lite |
| 2689 | perfetto_cc_proto_library( |
| 2690 | name = "protos_perfetto_trace_system_info_lite", |
| 2691 | deps = [ |
| 2692 | ":protos_perfetto_trace_system_info_protos", |
| 2693 | ], |
| 2694 | ) |
| 2695 | |
| 2696 | # GN target: //protos/perfetto/trace/system_info:zero |
| 2697 | perfetto_proto_library( |
| 2698 | name = "protos_perfetto_trace_system_info_protos", |
| 2699 | srcs = [ |
| 2700 | "protos/perfetto/trace/system_info/cpu_info.proto", |
| 2701 | ], |
| 2702 | visibility = [ |
| 2703 | PERFETTO_CONFIG.proto_library_visibility, |
| 2704 | ], |
| 2705 | ) |
| 2706 | |
| 2707 | # GN target: //protos/perfetto/trace/system_info:zero |
| 2708 | perfetto_cc_protozero_library( |
| 2709 | name = "protos_perfetto_trace_system_info_zero", |
| 2710 | deps = [ |
| 2711 | ":protos_perfetto_trace_system_info_protos", |
| 2712 | ], |
| 2713 | ) |
| 2714 | |
Sami Kyostila | d4eec8e | 2020-05-05 15:56:42 +0100 | [diff] [blame] | 2715 | # GN target: //protos/perfetto/trace/track_event:cpp |
| 2716 | perfetto_cc_protocpp_library( |
| 2717 | name = "protos_perfetto_trace_track_event_cpp", |
| 2718 | deps = [ |
| 2719 | ":protos_perfetto_trace_track_event_protos", |
| 2720 | ], |
| 2721 | ) |
| 2722 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2723 | # GN target: //protos/perfetto/trace/track_event:lite |
| 2724 | perfetto_cc_proto_library( |
| 2725 | name = "protos_perfetto_trace_track_event_lite", |
| 2726 | deps = [ |
| 2727 | ":protos_perfetto_trace_track_event_protos", |
| 2728 | ], |
| 2729 | ) |
| 2730 | |
| 2731 | # GN target: //protos/perfetto/trace/track_event:zero |
| 2732 | perfetto_proto_library( |
| 2733 | name = "protos_perfetto_trace_track_event_protos", |
| 2734 | srcs = [ |
Stephen Nusko | 3db31c8 | 2019-11-27 16:32:01 +0000 | [diff] [blame] | 2735 | "protos/perfetto/trace/track_event/chrome_compositor_scheduler_state.proto", |
Sadrul Habib Chowdhury | 2d5e2a6 | 2020-06-15 11:24:18 -0400 | [diff] [blame] | 2736 | "protos/perfetto/trace/track_event/chrome_frame_reporter.proto", |
Oystein Eftevaag | be533b2 | 2019-12-05 11:01:05 -0800 | [diff] [blame] | 2737 | "protos/perfetto/trace/track_event/chrome_histogram_sample.proto", |
Eric Seckler | e1e8ff4 | 2019-12-04 11:05:43 +0000 | [diff] [blame] | 2738 | "protos/perfetto/trace/track_event/chrome_keyed_service.proto", |
Andrew Shulaev | 784967b | 2020-02-03 08:22:20 +0000 | [diff] [blame] | 2739 | "protos/perfetto/trace/track_event/chrome_latency_info.proto", |
Eric Seckler | e1e8ff4 | 2019-12-04 11:05:43 +0000 | [diff] [blame] | 2740 | "protos/perfetto/trace/track_event/chrome_legacy_ipc.proto", |
Oystein Eftevaag | 324adbb | 2020-09-22 09:33:05 -0700 | [diff] [blame^] | 2741 | "protos/perfetto/trace/track_event/chrome_message_pump.proto", |
Sami Kyostila | b0686c9 | 2020-01-07 12:56:55 +0000 | [diff] [blame] | 2742 | "protos/perfetto/trace/track_event/chrome_process_descriptor.proto", |
| 2743 | "protos/perfetto/trace/track_event/chrome_thread_descriptor.proto", |
Eric Seckler | e1e8ff4 | 2019-12-04 11:05:43 +0000 | [diff] [blame] | 2744 | "protos/perfetto/trace/track_event/chrome_user_event.proto", |
Eric Seckler | 3955949 | 2020-03-03 18:04:25 +0000 | [diff] [blame] | 2745 | "protos/perfetto/trace/track_event/counter_descriptor.proto", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2746 | "protos/perfetto/trace/track_event/debug_annotation.proto", |
| 2747 | "protos/perfetto/trace/track_event/log_message.proto", |
| 2748 | "protos/perfetto/trace/track_event/process_descriptor.proto", |
| 2749 | "protos/perfetto/trace/track_event/source_location.proto", |
| 2750 | "protos/perfetto/trace/track_event/task_execution.proto", |
| 2751 | "protos/perfetto/trace/track_event/thread_descriptor.proto", |
| 2752 | "protos/perfetto/trace/track_event/track_descriptor.proto", |
| 2753 | "protos/perfetto/trace/track_event/track_event.proto", |
| 2754 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 2755 | visibility = [ |
| 2756 | PERFETTO_CONFIG.proto_library_visibility, |
| 2757 | ], |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2758 | ) |
| 2759 | |
| 2760 | # GN target: //protos/perfetto/trace/track_event:zero |
| 2761 | perfetto_cc_protozero_library( |
| 2762 | name = "protos_perfetto_trace_track_event_zero", |
| 2763 | deps = [ |
| 2764 | ":protos_perfetto_trace_track_event_protos", |
| 2765 | ], |
| 2766 | ) |
| 2767 | |
Primiano Tucci | 2d813fd | 2019-11-26 17:27:07 +0000 | [diff] [blame] | 2768 | # GN target: //protos/third_party/pprof:zero |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2769 | perfetto_proto_library( |
| 2770 | name = "protos_third_party_pprof_protos", |
| 2771 | srcs = [ |
| 2772 | "protos/third_party/pprof/profile.proto", |
| 2773 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 2774 | visibility = [ |
| 2775 | PERFETTO_CONFIG.proto_library_visibility, |
| 2776 | ], |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2777 | ) |
| 2778 | |
Primiano Tucci | 2d813fd | 2019-11-26 17:27:07 +0000 | [diff] [blame] | 2779 | # GN target: //protos/third_party/pprof:zero |
| 2780 | perfetto_cc_protozero_library( |
| 2781 | name = "protos_third_party_pprof_zero", |
| 2782 | deps = [ |
| 2783 | ":protos_third_party_pprof_protos", |
| 2784 | ], |
| 2785 | ) |
| 2786 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2787 | # GN target: //src/perfetto_cmd:protos |
Hector Dearman | 040f958 | 2019-12-03 18:06:33 +0000 | [diff] [blame] | 2788 | perfetto_cc_protocpp_library( |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2789 | name = "src_perfetto_cmd_protos", |
| 2790 | deps = [ |
| 2791 | ":src_perfetto_cmd_protos_protos", |
| 2792 | ], |
| 2793 | ) |
| 2794 | |
| 2795 | # GN target: //src/perfetto_cmd:protos |
| 2796 | perfetto_proto_library( |
| 2797 | name = "src_perfetto_cmd_protos_protos", |
| 2798 | srcs = [ |
| 2799 | "src/perfetto_cmd/perfetto_cmd_state.proto", |
| 2800 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 2801 | visibility = [ |
| 2802 | PERFETTO_CONFIG.proto_library_visibility, |
| 2803 | ], |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2804 | ) |
| 2805 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2806 | # ############################################################################## |
| 2807 | # Public targets |
| 2808 | # ############################################################################## |
| 2809 | |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 2810 | # GN target: //:libperfetto_client_experimental |
| 2811 | perfetto_cc_library( |
| 2812 | name = "libperfetto_client_experimental", |
| 2813 | srcs = [ |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 2814 | ":src_base_base", |
| 2815 | ":src_base_unix_socket", |
Primiano Tucci | c4c063b | 2020-01-27 09:34:46 +0000 | [diff] [blame] | 2816 | ":src_ipc_client", |
| 2817 | ":src_ipc_common", |
| 2818 | ":src_ipc_host", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 2819 | ":src_protozero_protozero", |
Primiano Tucci | 3feec55 | 2020-02-04 11:14:42 +0000 | [diff] [blame] | 2820 | ":src_tracing_client_api_without_backends", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 2821 | ":src_tracing_common", |
Primiano Tucci | c4c063b | 2020-01-27 09:34:46 +0000 | [diff] [blame] | 2822 | ":src_tracing_core_core", |
| 2823 | ":src_tracing_core_service", |
Primiano Tucci | 55b4d91 | 2020-01-28 11:17:51 +0000 | [diff] [blame] | 2824 | ":src_tracing_in_process_backend", |
Primiano Tucci | c4c063b | 2020-01-27 09:34:46 +0000 | [diff] [blame] | 2825 | ":src_tracing_ipc_common", |
| 2826 | ":src_tracing_ipc_consumer_consumer", |
| 2827 | ":src_tracing_ipc_producer_producer", |
| 2828 | ":src_tracing_ipc_service_service", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 2829 | ":src_tracing_platform_posix", |
Primiano Tucci | 3feec55 | 2020-02-04 11:14:42 +0000 | [diff] [blame] | 2830 | ":src_tracing_system_backend", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 2831 | ], |
| 2832 | hdrs = [ |
| 2833 | ":include_perfetto_base_base", |
| 2834 | ":include_perfetto_ext_base_base", |
| 2835 | ":include_perfetto_ext_ipc_ipc", |
| 2836 | ":include_perfetto_ext_tracing_core_core", |
| 2837 | ":include_perfetto_ext_tracing_ipc_ipc", |
| 2838 | ":include_perfetto_protozero_protozero", |
| 2839 | ":include_perfetto_tracing_core_core", |
Primiano Tucci | cb8cea2 | 2019-11-22 11:05:35 +0000 | [diff] [blame] | 2840 | ":include_perfetto_tracing_core_forward_decls", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 2841 | ":include_perfetto_tracing_tracing", |
Lalit Maganti | 91d223e | 2019-12-20 12:28:19 +0000 | [diff] [blame] | 2842 | "include/perfetto/tracing.h", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 2843 | ], |
| 2844 | visibility = [ |
| 2845 | "//visibility:public", |
| 2846 | ], |
| 2847 | deps = [ |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2848 | ":protos_perfetto_common_cpp", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 2849 | ":protos_perfetto_common_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2850 | ":protos_perfetto_config_android_cpp", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 2851 | ":protos_perfetto_config_android_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2852 | ":protos_perfetto_config_cpp", |
| 2853 | ":protos_perfetto_config_ftrace_cpp", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 2854 | ":protos_perfetto_config_ftrace_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2855 | ":protos_perfetto_config_gpu_cpp", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 2856 | ":protos_perfetto_config_gpu_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2857 | ":protos_perfetto_config_inode_file_cpp", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 2858 | ":protos_perfetto_config_inode_file_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2859 | ":protos_perfetto_config_power_cpp", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 2860 | ":protos_perfetto_config_power_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2861 | ":protos_perfetto_config_process_stats_cpp", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 2862 | ":protos_perfetto_config_process_stats_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2863 | ":protos_perfetto_config_profiling_cpp", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 2864 | ":protos_perfetto_config_profiling_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2865 | ":protos_perfetto_config_sys_stats_cpp", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 2866 | ":protos_perfetto_config_sys_stats_zero", |
Sami Kyostila | 38cd041 | 2020-02-12 17:09:52 +0000 | [diff] [blame] | 2867 | ":protos_perfetto_config_track_event_cpp", |
| 2868 | ":protos_perfetto_config_track_event_zero", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 2869 | ":protos_perfetto_config_zero", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 2870 | ":protos_perfetto_ipc_cpp", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 2871 | ":protos_perfetto_ipc_ipc", |
Primiano Tucci | b3e08d0 | 2019-11-19 11:10:11 +0000 | [diff] [blame] | 2872 | ":protos_perfetto_ipc_wire_protocol_cpp", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 2873 | ":protos_perfetto_trace_android_zero", |
| 2874 | ":protos_perfetto_trace_chrome_zero", |
| 2875 | ":protos_perfetto_trace_filesystem_zero", |
| 2876 | ":protos_perfetto_trace_ftrace_zero", |
| 2877 | ":protos_perfetto_trace_gpu_zero", |
| 2878 | ":protos_perfetto_trace_interned_data_zero", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 2879 | ":protos_perfetto_trace_minimal_zero", |
| 2880 | ":protos_perfetto_trace_non_minimal_zero", |
| 2881 | ":protos_perfetto_trace_perfetto_zero", |
| 2882 | ":protos_perfetto_trace_power_zero", |
| 2883 | ":protos_perfetto_trace_profiling_zero", |
| 2884 | ":protos_perfetto_trace_ps_zero", |
| 2885 | ":protos_perfetto_trace_sys_stats_zero", |
Rafal Slawik | b013a11 | 2020-04-03 16:12:02 +0100 | [diff] [blame] | 2886 | ":protos_perfetto_trace_system_info_zero", |
Sami Kyostila | d4eec8e | 2020-05-05 15:56:42 +0100 | [diff] [blame] | 2887 | ":protos_perfetto_trace_track_event_cpp", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 2888 | ":protos_perfetto_trace_track_event_zero", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 2889 | ], |
Lalit Maganti | f9c004d | 2020-01-06 14:44:34 +0000 | [diff] [blame] | 2890 | linkstatic = True, |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 2891 | ) |
| 2892 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2893 | # GN target: //src/perfetto_cmd:perfetto |
| 2894 | perfetto_cc_binary( |
| 2895 | name = "perfetto", |
| 2896 | srcs = [ |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 2897 | "src/perfetto_cmd/main.cc", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2898 | ":include_perfetto_base_base", |
| 2899 | ":include_perfetto_ext_base_base", |
| 2900 | ":include_perfetto_ext_ipc_ipc", |
| 2901 | ":include_perfetto_ext_traced_traced", |
| 2902 | ":include_perfetto_ext_tracing_core_core", |
| 2903 | ":include_perfetto_ext_tracing_ipc_ipc", |
| 2904 | ":include_perfetto_protozero_protozero", |
| 2905 | ":include_perfetto_tracing_core_core", |
Primiano Tucci | cb8cea2 | 2019-11-22 11:05:35 +0000 | [diff] [blame] | 2906 | ":include_perfetto_tracing_core_forward_decls", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2907 | ":include_perfetto_tracing_tracing", |
| 2908 | ":src_android_internal_headers", |
| 2909 | ":src_android_internal_lazy_library_loader", |
| 2910 | ":src_base_base", |
| 2911 | ":src_base_unix_socket", |
Primiano Tucci | c4c063b | 2020-01-27 09:34:46 +0000 | [diff] [blame] | 2912 | ":src_ipc_client", |
| 2913 | ":src_ipc_common", |
Hector Dearman | 92d7d11 | 2019-12-05 15:19:57 +0000 | [diff] [blame] | 2914 | ":src_perfetto_cmd_perfetto_atoms", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2915 | ":src_perfetto_cmd_perfetto_cmd", |
| 2916 | ":src_perfetto_cmd_trigger_producer", |
| 2917 | ":src_protozero_protozero", |
| 2918 | ":src_tracing_common", |
Primiano Tucci | c4c063b | 2020-01-27 09:34:46 +0000 | [diff] [blame] | 2919 | ":src_tracing_core_core", |
| 2920 | ":src_tracing_ipc_common", |
| 2921 | ":src_tracing_ipc_consumer_consumer", |
| 2922 | ":src_tracing_ipc_producer_producer", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2923 | ], |
| 2924 | visibility = [ |
| 2925 | "//visibility:public", |
| 2926 | ], |
| 2927 | deps = [ |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 2928 | ":protos_perfetto_common_cpp", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 2929 | ":protos_perfetto_common_zero", |
| 2930 | ":protos_perfetto_config_android_cpp", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 2931 | ":protos_perfetto_config_android_zero", |
| 2932 | ":protos_perfetto_config_cpp", |
| 2933 | ":protos_perfetto_config_ftrace_cpp", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 2934 | ":protos_perfetto_config_ftrace_zero", |
| 2935 | ":protos_perfetto_config_gpu_cpp", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 2936 | ":protos_perfetto_config_gpu_zero", |
| 2937 | ":protos_perfetto_config_inode_file_cpp", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 2938 | ":protos_perfetto_config_inode_file_zero", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 2939 | ":protos_perfetto_config_power_cpp", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 2940 | ":protos_perfetto_config_power_zero", |
| 2941 | ":protos_perfetto_config_process_stats_cpp", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 2942 | ":protos_perfetto_config_process_stats_zero", |
| 2943 | ":protos_perfetto_config_profiling_cpp", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 2944 | ":protos_perfetto_config_profiling_zero", |
| 2945 | ":protos_perfetto_config_sys_stats_cpp", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 2946 | ":protos_perfetto_config_sys_stats_zero", |
Sami Kyostila | 38cd041 | 2020-02-12 17:09:52 +0000 | [diff] [blame] | 2947 | ":protos_perfetto_config_track_event_cpp", |
| 2948 | ":protos_perfetto_config_track_event_zero", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 2949 | ":protos_perfetto_config_zero", |
| 2950 | ":protos_perfetto_ipc_cpp", |
| 2951 | ":protos_perfetto_ipc_ipc", |
| 2952 | ":protos_perfetto_ipc_wire_protocol_cpp", |
| 2953 | ":protos_perfetto_trace_android_zero", |
| 2954 | ":protos_perfetto_trace_chrome_zero", |
| 2955 | ":protos_perfetto_trace_filesystem_zero", |
| 2956 | ":protos_perfetto_trace_ftrace_zero", |
| 2957 | ":protos_perfetto_trace_gpu_zero", |
| 2958 | ":protos_perfetto_trace_interned_data_zero", |
| 2959 | ":protos_perfetto_trace_minimal_zero", |
| 2960 | ":protos_perfetto_trace_non_minimal_zero", |
| 2961 | ":protos_perfetto_trace_perfetto_zero", |
| 2962 | ":protos_perfetto_trace_power_zero", |
| 2963 | ":protos_perfetto_trace_profiling_zero", |
| 2964 | ":protos_perfetto_trace_ps_zero", |
| 2965 | ":protos_perfetto_trace_sys_stats_zero", |
Rafal Slawik | b013a11 | 2020-04-03 16:12:02 +0100 | [diff] [blame] | 2966 | ":protos_perfetto_trace_system_info_zero", |
Sami Kyostila | d4eec8e | 2020-05-05 15:56:42 +0100 | [diff] [blame] | 2967 | ":protos_perfetto_trace_track_event_cpp", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 2968 | ":protos_perfetto_trace_track_event_zero", |
| 2969 | ":src_perfetto_cmd_protos", |
| 2970 | ] + PERFETTO_CONFIG.deps.zlib, |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2971 | ) |
| 2972 | |
| 2973 | # GN target: //src/trace_processor:trace_processor |
| 2974 | perfetto_cc_library( |
| 2975 | name = "trace_processor", |
| 2976 | srcs = [ |
| 2977 | ":src_base_base", |
| 2978 | ":src_protozero_protozero", |
Lalit Maganti | 97d7d47 | 2020-04-07 18:49:17 +0100 | [diff] [blame] | 2979 | ":src_trace_processor_analysis_analysis", |
Lalit Maganti | 2aa8858 | 2019-12-17 17:06:49 +0000 | [diff] [blame] | 2980 | ":src_trace_processor_containers_containers", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2981 | ":src_trace_processor_db_lib", |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 2982 | ":src_trace_processor_export_json", |
Lalit Maganti | 655adae | 2020-04-14 21:01:25 +0100 | [diff] [blame] | 2983 | ":src_trace_processor_ftrace_descriptors", |
Lalit Maganti | ccdcbae | 2020-04-15 14:31:40 +0100 | [diff] [blame] | 2984 | ":src_trace_processor_importers_common", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2985 | ":src_trace_processor_lib", |
Lalit Maganti | 427b833 | 2020-05-27 16:09:45 +0100 | [diff] [blame] | 2986 | ":src_trace_processor_metatrace", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2987 | ":src_trace_processor_metrics_lib", |
| 2988 | ":src_trace_processor_sqlite_sqlite", |
Mikhail Khokhlov | 692087e | 2019-12-11 10:53:45 +0000 | [diff] [blame] | 2989 | ":src_trace_processor_storage_full", |
| 2990 | ":src_trace_processor_storage_minimal", |
Lalit Maganti | 7010b33 | 2020-02-07 10:51:15 +0000 | [diff] [blame] | 2991 | ":src_trace_processor_storage_storage", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2992 | ":src_trace_processor_tables_tables", |
Andrew Shulaev | b667838 | 2020-02-27 13:59:32 +0000 | [diff] [blame] | 2993 | ":src_trace_processor_track_event_descriptor", |
Lalit Maganti | 83b53fa | 2020-01-13 12:55:36 +0000 | [diff] [blame] | 2994 | ":src_trace_processor_types_types", |
Lalit Maganti | e710740 | 2020-04-15 13:41:12 +0100 | [diff] [blame] | 2995 | ":src_trace_processor_util_descriptors", |
| 2996 | ":src_trace_processor_util_util", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2997 | ], |
| 2998 | hdrs = [ |
| 2999 | ":include_perfetto_base_base", |
| 3000 | ":include_perfetto_ext_base_base", |
Eric Seckler | 7fb1d23 | 2019-10-23 14:42:43 +0100 | [diff] [blame] | 3001 | ":include_perfetto_ext_trace_processor_export_json", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3002 | ":include_perfetto_ext_traced_sys_stats_counters", |
| 3003 | ":include_perfetto_protozero_protozero", |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 3004 | ":include_perfetto_trace_processor_basic_types", |
| 3005 | ":include_perfetto_trace_processor_storage", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3006 | ":include_perfetto_trace_processor_trace_processor", |
| 3007 | ], |
| 3008 | visibility = [ |
| 3009 | "//visibility:public", |
| 3010 | ], |
| 3011 | deps = [ |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3012 | ":protos_perfetto_common_zero", |
| 3013 | ":protos_perfetto_config_android_zero", |
| 3014 | ":protos_perfetto_config_ftrace_zero", |
| 3015 | ":protos_perfetto_config_gpu_zero", |
| 3016 | ":protos_perfetto_config_inode_file_zero", |
| 3017 | ":protos_perfetto_config_power_zero", |
| 3018 | ":protos_perfetto_config_process_stats_zero", |
| 3019 | ":protos_perfetto_config_profiling_zero", |
| 3020 | ":protos_perfetto_config_sys_stats_zero", |
Sami Kyostila | 38cd041 | 2020-02-12 17:09:52 +0000 | [diff] [blame] | 3021 | ":protos_perfetto_config_track_event_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3022 | ":protos_perfetto_config_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3023 | ":protos_perfetto_trace_android_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3024 | ":protos_perfetto_trace_chrome_zero", |
| 3025 | ":protos_perfetto_trace_filesystem_zero", |
| 3026 | ":protos_perfetto_trace_ftrace_zero", |
| 3027 | ":protos_perfetto_trace_gpu_zero", |
| 3028 | ":protos_perfetto_trace_interned_data_zero", |
| 3029 | ":protos_perfetto_trace_minimal_zero", |
| 3030 | ":protos_perfetto_trace_non_minimal_zero", |
| 3031 | ":protos_perfetto_trace_perfetto_zero", |
| 3032 | ":protos_perfetto_trace_power_zero", |
| 3033 | ":protos_perfetto_trace_processor_metrics_impl_zero", |
Deepanjan Roy | 7774777 | 2020-09-01 15:10:33 -0400 | [diff] [blame] | 3034 | ":protos_perfetto_trace_processor_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3035 | ":protos_perfetto_trace_profiling_zero", |
| 3036 | ":protos_perfetto_trace_ps_zero", |
| 3037 | ":protos_perfetto_trace_sys_stats_zero", |
Rafal Slawik | b013a11 | 2020-04-03 16:12:02 +0100 | [diff] [blame] | 3038 | ":protos_perfetto_trace_system_info_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3039 | ":protos_perfetto_trace_track_event_zero", |
Lalit Maganti | 3b09a3f | 2020-09-14 13:28:44 +0100 | [diff] [blame] | 3040 | ":src_trace_processor_metrics_gen_cc_all_chrome_metrics_descriptor", |
Lalit Maganti | 117272f | 2020-09-11 14:01:18 +0100 | [diff] [blame] | 3041 | ":src_trace_processor_metrics_gen_cc_metrics_descriptor", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3042 | ] + PERFETTO_CONFIG.deps.jsoncpp + |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3043 | PERFETTO_CONFIG.deps.sqlite + |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 3044 | PERFETTO_CONFIG.deps.sqlite_ext_percentile + |
| 3045 | PERFETTO_CONFIG.deps.zlib + [ |
Lalit Maganti | a4244e4 | 2019-09-20 12:03:32 +0100 | [diff] [blame] | 3046 | ":cc_merged_sql_metrics", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3047 | ], |
Lalit Maganti | f9c004d | 2020-01-06 14:44:34 +0000 | [diff] [blame] | 3048 | linkstatic = True, |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3049 | ) |
| 3050 | |
| 3051 | # GN target: //src/trace_processor:trace_processor_shell |
| 3052 | perfetto_cc_binary( |
| 3053 | name = "trace_processor_shell", |
| 3054 | srcs = [ |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3055 | "src/trace_processor/trace_processor_shell.cc", |
Lalit Maganti | 3d9bbff | 2020-04-15 13:40:58 +0100 | [diff] [blame] | 3056 | "src/trace_processor/util/proto_to_json.cc", |
| 3057 | "src/trace_processor/util/proto_to_json.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3058 | ":include_perfetto_base_base", |
| 3059 | ":include_perfetto_ext_base_base", |
Eric Seckler | 7fb1d23 | 2019-10-23 14:42:43 +0100 | [diff] [blame] | 3060 | ":include_perfetto_ext_trace_processor_export_json", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3061 | ":include_perfetto_ext_traced_sys_stats_counters", |
| 3062 | ":include_perfetto_protozero_protozero", |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 3063 | ":include_perfetto_trace_processor_basic_types", |
| 3064 | ":include_perfetto_trace_processor_storage", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3065 | ":include_perfetto_trace_processor_trace_processor", |
| 3066 | ":src_base_base", |
Primiano Tucci | a36cccc | 2019-10-27 13:15:04 +0100 | [diff] [blame] | 3067 | ":src_base_unix_socket", |
Florian Mayer | 6cc8b1d | 2019-12-18 16:37:32 +0000 | [diff] [blame] | 3068 | ":src_profiling_symbolizer_symbolize_database", |
| 3069 | ":src_profiling_symbolizer_symbolizer", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3070 | ":src_protozero_protozero", |
Lalit Maganti | 97d7d47 | 2020-04-07 18:49:17 +0100 | [diff] [blame] | 3071 | ":src_trace_processor_analysis_analysis", |
Lalit Maganti | 2aa8858 | 2019-12-17 17:06:49 +0000 | [diff] [blame] | 3072 | ":src_trace_processor_containers_containers", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3073 | ":src_trace_processor_db_lib", |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 3074 | ":src_trace_processor_export_json", |
Lalit Maganti | 655adae | 2020-04-14 21:01:25 +0100 | [diff] [blame] | 3075 | ":src_trace_processor_ftrace_descriptors", |
Lalit Maganti | ccdcbae | 2020-04-15 14:31:40 +0100 | [diff] [blame] | 3076 | ":src_trace_processor_importers_common", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3077 | ":src_trace_processor_lib", |
Lalit Maganti | 427b833 | 2020-05-27 16:09:45 +0100 | [diff] [blame] | 3078 | ":src_trace_processor_metatrace", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3079 | ":src_trace_processor_metrics_lib", |
Primiano Tucci | a36cccc | 2019-10-27 13:15:04 +0100 | [diff] [blame] | 3080 | ":src_trace_processor_rpc_httpd", |
| 3081 | ":src_trace_processor_rpc_rpc", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3082 | ":src_trace_processor_sqlite_sqlite", |
Mikhail Khokhlov | 692087e | 2019-12-11 10:53:45 +0000 | [diff] [blame] | 3083 | ":src_trace_processor_storage_full", |
| 3084 | ":src_trace_processor_storage_minimal", |
Lalit Maganti | 7010b33 | 2020-02-07 10:51:15 +0000 | [diff] [blame] | 3085 | ":src_trace_processor_storage_storage", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3086 | ":src_trace_processor_tables_tables", |
Andrew Shulaev | b667838 | 2020-02-27 13:59:32 +0000 | [diff] [blame] | 3087 | ":src_trace_processor_track_event_descriptor", |
Lalit Maganti | 83b53fa | 2020-01-13 12:55:36 +0000 | [diff] [blame] | 3088 | ":src_trace_processor_types_types", |
Lalit Maganti | e710740 | 2020-04-15 13:41:12 +0100 | [diff] [blame] | 3089 | ":src_trace_processor_util_descriptors", |
| 3090 | ":src_trace_processor_util_util", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3091 | ], |
| 3092 | visibility = [ |
| 3093 | "//visibility:public", |
| 3094 | ], |
| 3095 | deps = [ |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3096 | ":protos_perfetto_common_zero", |
| 3097 | ":protos_perfetto_config_android_zero", |
| 3098 | ":protos_perfetto_config_ftrace_zero", |
| 3099 | ":protos_perfetto_config_gpu_zero", |
| 3100 | ":protos_perfetto_config_inode_file_zero", |
| 3101 | ":protos_perfetto_config_power_zero", |
| 3102 | ":protos_perfetto_config_process_stats_zero", |
| 3103 | ":protos_perfetto_config_profiling_zero", |
| 3104 | ":protos_perfetto_config_sys_stats_zero", |
Sami Kyostila | 38cd041 | 2020-02-12 17:09:52 +0000 | [diff] [blame] | 3105 | ":protos_perfetto_config_track_event_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3106 | ":protos_perfetto_config_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3107 | ":protos_perfetto_trace_android_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3108 | ":protos_perfetto_trace_chrome_zero", |
| 3109 | ":protos_perfetto_trace_filesystem_zero", |
| 3110 | ":protos_perfetto_trace_ftrace_zero", |
| 3111 | ":protos_perfetto_trace_gpu_zero", |
| 3112 | ":protos_perfetto_trace_interned_data_zero", |
| 3113 | ":protos_perfetto_trace_minimal_zero", |
| 3114 | ":protos_perfetto_trace_non_minimal_zero", |
| 3115 | ":protos_perfetto_trace_perfetto_zero", |
| 3116 | ":protos_perfetto_trace_power_zero", |
| 3117 | ":protos_perfetto_trace_processor_metrics_impl_zero", |
Primiano Tucci | a36cccc | 2019-10-27 13:15:04 +0100 | [diff] [blame] | 3118 | ":protos_perfetto_trace_processor_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3119 | ":protos_perfetto_trace_profiling_zero", |
| 3120 | ":protos_perfetto_trace_ps_zero", |
| 3121 | ":protos_perfetto_trace_sys_stats_zero", |
Rafal Slawik | b013a11 | 2020-04-03 16:12:02 +0100 | [diff] [blame] | 3122 | ":protos_perfetto_trace_system_info_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3123 | ":protos_perfetto_trace_track_event_zero", |
Lalit Maganti | 3b09a3f | 2020-09-14 13:28:44 +0100 | [diff] [blame] | 3124 | ":src_trace_processor_metrics_gen_cc_all_chrome_metrics_descriptor", |
Lalit Maganti | 117272f | 2020-09-11 14:01:18 +0100 | [diff] [blame] | 3125 | ":src_trace_processor_metrics_gen_cc_metrics_descriptor", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 3126 | ] + PERFETTO_CONFIG.deps.jsoncpp + |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3127 | PERFETTO_CONFIG.deps.linenoise + |
Lalit Maganti | a97798d | 2020-09-16 17:40:57 +0100 | [diff] [blame] | 3128 | PERFETTO_CONFIG.deps.protobuf_full + |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3129 | PERFETTO_CONFIG.deps.sqlite + |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 3130 | PERFETTO_CONFIG.deps.sqlite_ext_percentile + |
| 3131 | PERFETTO_CONFIG.deps.zlib + [ |
Lalit Maganti | a4244e4 | 2019-09-20 12:03:32 +0100 | [diff] [blame] | 3132 | ":cc_merged_sql_metrics", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3133 | ], |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3134 | ) |
| 3135 | |
| 3136 | # GN target: //src/traced/probes:traced_probes |
| 3137 | perfetto_cc_binary( |
| 3138 | name = "traced_probes", |
| 3139 | srcs = [ |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3140 | "src/traced/probes/main.cc", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3141 | ":include_perfetto_ext_traced_traced", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3142 | ], |
| 3143 | visibility = [ |
| 3144 | "//visibility:public", |
| 3145 | ], |
| 3146 | deps = [ |
| 3147 | ":libperfetto", |
| 3148 | ], |
| 3149 | ) |
| 3150 | |
| 3151 | # GN target: //src/traced/service:traced |
| 3152 | perfetto_cc_binary( |
| 3153 | name = "traced", |
| 3154 | srcs = [ |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3155 | "src/traced/service/main.cc", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3156 | ":include_perfetto_ext_traced_traced", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3157 | ], |
| 3158 | visibility = [ |
| 3159 | "//visibility:public", |
| 3160 | ], |
| 3161 | deps = [ |
| 3162 | ":libperfetto", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 3163 | ], |
| 3164 | ) |
| 3165 | |
Ioannis Ilkos | bd4ee3f | 2019-06-21 17:40:09 +0100 | [diff] [blame] | 3166 | # GN target: //tools/trace_to_text:libpprofbuilder |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3167 | perfetto_cc_library( |
Primiano Tucci | 02c1176 | 2019-08-30 00:57:59 +0200 | [diff] [blame] | 3168 | name = "libpprofbuilder", |
Ioannis Ilkos | bd4ee3f | 2019-06-21 17:40:09 +0100 | [diff] [blame] | 3169 | srcs = [ |
Florian Mayer | 3be55fb | 2019-11-22 13:08:47 +0000 | [diff] [blame] | 3170 | ":src_profiling_deobfuscator", |
Florian Mayer | bd88ff8 | 2019-12-18 16:36:37 +0000 | [diff] [blame] | 3171 | ":src_profiling_symbolizer_symbolize_database", |
| 3172 | ":src_profiling_symbolizer_symbolizer", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3173 | ":tools_trace_to_text_pprofbuilder", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3174 | ":tools_trace_to_text_utils", |
Ioannis Ilkos | bd4ee3f | 2019-06-21 17:40:09 +0100 | [diff] [blame] | 3175 | ], |
| 3176 | hdrs = [ |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3177 | ":include_perfetto_base_base", |
| 3178 | ":include_perfetto_ext_base_base", |
Florian Mayer | 3be55fb | 2019-11-22 13:08:47 +0000 | [diff] [blame] | 3179 | ":include_perfetto_profiling_deobfuscator", |
Florian Mayer | bd88ff8 | 2019-12-18 16:36:37 +0000 | [diff] [blame] | 3180 | ":include_perfetto_profiling_pprof_builder", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3181 | ":include_perfetto_protozero_protozero", |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 3182 | ":include_perfetto_trace_processor_basic_types", |
| 3183 | ":include_perfetto_trace_processor_storage", |
Florian Mayer | 5403ce9 | 2019-09-19 19:55:17 +0100 | [diff] [blame] | 3184 | ":include_perfetto_trace_processor_trace_processor", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3185 | ], |
| 3186 | visibility = [ |
| 3187 | "//visibility:public", |
Ioannis Ilkos | bd4ee3f | 2019-06-21 17:40:09 +0100 | [diff] [blame] | 3188 | ], |
| 3189 | deps = [ |
Primiano Tucci | 2d813fd | 2019-11-26 17:27:07 +0000 | [diff] [blame] | 3190 | ":protos_perfetto_common_zero", |
| 3191 | ":protos_perfetto_config_android_zero", |
| 3192 | ":protos_perfetto_config_ftrace_zero", |
| 3193 | ":protos_perfetto_config_gpu_zero", |
| 3194 | ":protos_perfetto_config_inode_file_zero", |
| 3195 | ":protos_perfetto_config_power_zero", |
| 3196 | ":protos_perfetto_config_process_stats_zero", |
| 3197 | ":protos_perfetto_config_profiling_zero", |
| 3198 | ":protos_perfetto_config_sys_stats_zero", |
Sami Kyostila | 38cd041 | 2020-02-12 17:09:52 +0000 | [diff] [blame] | 3199 | ":protos_perfetto_config_track_event_zero", |
Primiano Tucci | 2d813fd | 2019-11-26 17:27:07 +0000 | [diff] [blame] | 3200 | ":protos_perfetto_config_zero", |
| 3201 | ":protos_perfetto_trace_android_zero", |
| 3202 | ":protos_perfetto_trace_chrome_zero", |
| 3203 | ":protos_perfetto_trace_filesystem_zero", |
| 3204 | ":protos_perfetto_trace_ftrace_zero", |
| 3205 | ":protos_perfetto_trace_gpu_zero", |
| 3206 | ":protos_perfetto_trace_interned_data_zero", |
| 3207 | ":protos_perfetto_trace_minimal_zero", |
| 3208 | ":protos_perfetto_trace_non_minimal_zero", |
| 3209 | ":protos_perfetto_trace_perfetto_zero", |
| 3210 | ":protos_perfetto_trace_power_zero", |
| 3211 | ":protos_perfetto_trace_profiling_zero", |
| 3212 | ":protos_perfetto_trace_ps_zero", |
| 3213 | ":protos_perfetto_trace_sys_stats_zero", |
Rafal Slawik | b013a11 | 2020-04-03 16:12:02 +0100 | [diff] [blame] | 3214 | ":protos_perfetto_trace_system_info_zero", |
Primiano Tucci | 2d813fd | 2019-11-26 17:27:07 +0000 | [diff] [blame] | 3215 | ":protos_perfetto_trace_track_event_zero", |
| 3216 | ":protos_third_party_pprof_zero", |
| 3217 | ] + PERFETTO_CONFIG.deps.zlib, |
Lalit Maganti | f9c004d | 2020-01-06 14:44:34 +0000 | [diff] [blame] | 3218 | linkstatic = True, |
Ioannis Ilkos | bd4ee3f | 2019-06-21 17:40:09 +0100 | [diff] [blame] | 3219 | ) |
| 3220 | |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3221 | # GN target: //tools/trace_to_text:trace_to_text |
| 3222 | perfetto_cc_binary( |
| 3223 | name = "trace_to_text", |
| 3224 | srcs = [ |
| 3225 | ":include_perfetto_base_base", |
| 3226 | ":include_perfetto_ext_base_base", |
Eric Seckler | 7fb1d23 | 2019-10-23 14:42:43 +0100 | [diff] [blame] | 3227 | ":include_perfetto_ext_trace_processor_export_json", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3228 | ":include_perfetto_ext_traced_sys_stats_counters", |
Florian Mayer | 3be55fb | 2019-11-22 13:08:47 +0000 | [diff] [blame] | 3229 | ":include_perfetto_profiling_deobfuscator", |
Florian Mayer | bd88ff8 | 2019-12-18 16:36:37 +0000 | [diff] [blame] | 3230 | ":include_perfetto_profiling_pprof_builder", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3231 | ":include_perfetto_protozero_protozero", |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 3232 | ":include_perfetto_trace_processor_basic_types", |
| 3233 | ":include_perfetto_trace_processor_storage", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3234 | ":include_perfetto_trace_processor_trace_processor", |
| 3235 | ":src_base_base", |
Florian Mayer | 3be55fb | 2019-11-22 13:08:47 +0000 | [diff] [blame] | 3236 | ":src_profiling_deobfuscator", |
Florian Mayer | bd88ff8 | 2019-12-18 16:36:37 +0000 | [diff] [blame] | 3237 | ":src_profiling_symbolizer_symbolize_database", |
| 3238 | ":src_profiling_symbolizer_symbolizer", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3239 | ":src_protozero_protozero", |
Lalit Maganti | 97d7d47 | 2020-04-07 18:49:17 +0100 | [diff] [blame] | 3240 | ":src_trace_processor_analysis_analysis", |
Lalit Maganti | 2aa8858 | 2019-12-17 17:06:49 +0000 | [diff] [blame] | 3241 | ":src_trace_processor_containers_containers", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3242 | ":src_trace_processor_db_lib", |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 3243 | ":src_trace_processor_export_json", |
Lalit Maganti | 655adae | 2020-04-14 21:01:25 +0100 | [diff] [blame] | 3244 | ":src_trace_processor_ftrace_descriptors", |
Lalit Maganti | ccdcbae | 2020-04-15 14:31:40 +0100 | [diff] [blame] | 3245 | ":src_trace_processor_importers_common", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3246 | ":src_trace_processor_lib", |
Lalit Maganti | 427b833 | 2020-05-27 16:09:45 +0100 | [diff] [blame] | 3247 | ":src_trace_processor_metatrace", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3248 | ":src_trace_processor_metrics_lib", |
| 3249 | ":src_trace_processor_sqlite_sqlite", |
Mikhail Khokhlov | 692087e | 2019-12-11 10:53:45 +0000 | [diff] [blame] | 3250 | ":src_trace_processor_storage_full", |
| 3251 | ":src_trace_processor_storage_minimal", |
Lalit Maganti | 7010b33 | 2020-02-07 10:51:15 +0000 | [diff] [blame] | 3252 | ":src_trace_processor_storage_storage", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3253 | ":src_trace_processor_tables_tables", |
Andrew Shulaev | b667838 | 2020-02-27 13:59:32 +0000 | [diff] [blame] | 3254 | ":src_trace_processor_track_event_descriptor", |
Lalit Maganti | 83b53fa | 2020-01-13 12:55:36 +0000 | [diff] [blame] | 3255 | ":src_trace_processor_types_types", |
Lalit Maganti | e710740 | 2020-04-15 13:41:12 +0100 | [diff] [blame] | 3256 | ":src_trace_processor_util_descriptors", |
| 3257 | ":src_trace_processor_util_util", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3258 | ":tools_trace_to_text_common", |
| 3259 | ":tools_trace_to_text_full", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3260 | ":tools_trace_to_text_pprofbuilder", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3261 | ":tools_trace_to_text_utils", |
| 3262 | ], |
| 3263 | visibility = [ |
| 3264 | "//visibility:public", |
| 3265 | ], |
| 3266 | deps = [ |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3267 | ":protos_perfetto_common_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3268 | ":protos_perfetto_config_android_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3269 | ":protos_perfetto_config_ftrace_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3270 | ":protos_perfetto_config_gpu_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3271 | ":protos_perfetto_config_inode_file_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3272 | ":protos_perfetto_config_power_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3273 | ":protos_perfetto_config_process_stats_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3274 | ":protos_perfetto_config_profiling_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3275 | ":protos_perfetto_config_sys_stats_zero", |
Sami Kyostila | 38cd041 | 2020-02-12 17:09:52 +0000 | [diff] [blame] | 3276 | ":protos_perfetto_config_track_event_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3277 | ":protos_perfetto_config_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3278 | ":protos_perfetto_trace_android_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3279 | ":protos_perfetto_trace_chrome_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3280 | ":protos_perfetto_trace_filesystem_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3281 | ":protos_perfetto_trace_ftrace_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3282 | ":protos_perfetto_trace_gpu_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3283 | ":protos_perfetto_trace_interned_data_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3284 | ":protos_perfetto_trace_minimal_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3285 | ":protos_perfetto_trace_non_minimal_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3286 | ":protos_perfetto_trace_perfetto_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3287 | ":protos_perfetto_trace_power_zero", |
| 3288 | ":protos_perfetto_trace_processor_metrics_impl_zero", |
Deepanjan Roy | 7774777 | 2020-09-01 15:10:33 -0400 | [diff] [blame] | 3289 | ":protos_perfetto_trace_processor_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3290 | ":protos_perfetto_trace_profiling_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3291 | ":protos_perfetto_trace_ps_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3292 | ":protos_perfetto_trace_sys_stats_zero", |
Rafal Slawik | b013a11 | 2020-04-03 16:12:02 +0100 | [diff] [blame] | 3293 | ":protos_perfetto_trace_system_info_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3294 | ":protos_perfetto_trace_track_event_zero", |
Primiano Tucci | 2d813fd | 2019-11-26 17:27:07 +0000 | [diff] [blame] | 3295 | ":protos_third_party_pprof_zero", |
Lalit Maganti | 3b09a3f | 2020-09-14 13:28:44 +0100 | [diff] [blame] | 3296 | ":src_trace_processor_metrics_gen_cc_all_chrome_metrics_descriptor", |
Lalit Maganti | 117272f | 2020-09-11 14:01:18 +0100 | [diff] [blame] | 3297 | ":src_trace_processor_metrics_gen_cc_metrics_descriptor", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 3298 | ] + PERFETTO_CONFIG.deps.jsoncpp + |
| 3299 | PERFETTO_CONFIG.deps.protobuf_full + |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3300 | PERFETTO_CONFIG.deps.sqlite + |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 3301 | PERFETTO_CONFIG.deps.sqlite_ext_percentile + |
| 3302 | PERFETTO_CONFIG.deps.zlib + [ |
Lalit Maganti | a4244e4 | 2019-09-20 12:03:32 +0100 | [diff] [blame] | 3303 | ":cc_merged_sql_metrics", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3304 | ], |
| 3305 | ) |
| 3306 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3307 | # Content from BUILD.extras |
| 3308 | |
| 3309 | build_config_dir_ = "include/perfetto/base/build_configs/bazel" |
| 3310 | |
| 3311 | # Deliberately NOT a perfetto_cc_library, to avoid cyclic deps. |
| 3312 | # This is pulled as a default dep by all targets. |
Primiano Tucci | 02c1176 | 2019-08-30 00:57:59 +0200 | [diff] [blame] | 3313 | cc_library( |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3314 | name = "build_config_hdr", |
| 3315 | hdrs = [build_config_dir_ + "/perfetto_build_flags.h"], |
| 3316 | includes = [build_config_dir_], |
Primiano Tucci | 02c1176 | 2019-08-30 00:57:59 +0200 | [diff] [blame] | 3317 | ) |
| 3318 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3319 | perfetto_cc_library( |
| 3320 | name = "cc_merged_sql_metrics", |
| 3321 | hdrs = ["src/trace_processor/metrics/sql_metrics.h"], |
Primiano Tucci | 02c1176 | 2019-08-30 00:57:59 +0200 | [diff] [blame] | 3322 | ) |
| 3323 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3324 | perfetto_py_binary( |
Lalit Maganti | caac992 | 2019-05-01 10:40:53 +0100 | [diff] [blame] | 3325 | name = "gen_merged_sql_metrics_py", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 3326 | srcs = [ |
Lalit Maganti | ab619fa | 2019-05-02 12:56:37 +0100 | [diff] [blame] | 3327 | "tools/gen_merged_sql_metrics.py", |
| 3328 | ], |
| 3329 | main = "tools/gen_merged_sql_metrics.py", |
Lalit Maganti | c449f77 | 2020-06-03 14:20:10 +0100 | [diff] [blame] | 3330 | python_version = "PY3", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 3331 | ) |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3332 | |
Lalit Maganti | 117272f | 2020-09-11 14:01:18 +0100 | [diff] [blame] | 3333 | perfetto_py_binary( |
| 3334 | name = "gen_cc_proto_descriptor_py", |
| 3335 | srcs = [ |
| 3336 | "tools/gen_cc_proto_descriptor.py", |
| 3337 | ], |
| 3338 | main = "tools/gen_cc_proto_descriptor.py", |
| 3339 | python_version = "PY3", |
| 3340 | ) |
| 3341 | |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3342 | perfetto_java_proto_library( |
| 3343 | name = "protos_perfetto_metrics_java", |
| 3344 | deps = [ |
| 3345 | ":protos_perfetto_metrics_protos", |
| 3346 | ], |
| 3347 | ) |
| 3348 | |
| 3349 | perfetto_java_proto_library( |
| 3350 | name = "protos_perfetto_metrics_android_java", |
| 3351 | deps = [ |
| 3352 | ":protos_perfetto_metrics_android_protos", |
| 3353 | ], |
| 3354 | ) |
| 3355 | |
Lalit Maganti | c3187f8 | 2019-09-20 14:51:11 +0100 | [diff] [blame] | 3356 | perfetto_java_proto_library( |
| 3357 | name = "protos_perfetto_trace_merged_trace_java", |
| 3358 | deps = [ |
| 3359 | ":protos_perfetto_trace_merged_trace_protos", |
| 3360 | ], |
| 3361 | ) |
| 3362 | |
Hector Dearman | b0f680e | 2020-04-28 17:40:37 +0100 | [diff] [blame] | 3363 | perfetto_java_proto_library( |
Hector Dearman | 41fb181 | 2020-04-29 11:28:09 +0100 | [diff] [blame] | 3364 | name = "protos_perfetto_config_merged_config_java", |
Hector Dearman | b0f680e | 2020-04-28 17:40:37 +0100 | [diff] [blame] | 3365 | deps = [ |
Hector Dearman | 41fb181 | 2020-04-29 11:28:09 +0100 | [diff] [blame] | 3366 | ":protos_perfetto_config_merged_config_protos", |
Hector Dearman | b0f680e | 2020-04-28 17:40:37 +0100 | [diff] [blame] | 3367 | ], |
| 3368 | ) |
| 3369 | |
Lalit Maganti | 46e2bda | 2020-05-06 12:51:33 +0100 | [diff] [blame] | 3370 | perfetto_java_lite_proto_library( |
| 3371 | name = "protos_perfetto_config_merged_config_java_lite", |
| 3372 | deps = [ |
| 3373 | ":protos_perfetto_config_merged_config_protos", |
| 3374 | ], |
| 3375 | ) |
| 3376 | |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3377 | perfetto_gensignature_internal_only( |
| 3378 | name = "trace_processor_sig", |
| 3379 | srcs = [ |
| 3380 | ":trace_processor_shell", |
| 3381 | ":trace_to_text", |
| 3382 | ], |
| 3383 | tags = [ |
| 3384 | "__TRACE_PROCESSOR_SIG_TAG1", |
| 3385 | "__TRACE_PROCESSOR_SIG_TAG2", |
| 3386 | ], |
| 3387 | ) |
Anindita Ghosh | 237a776 | 2020-06-30 10:46:52 +0000 | [diff] [blame] | 3388 | |
Anindita Ghosh | 152562f | 2020-07-08 20:29:56 +0000 | [diff] [blame] | 3389 | # Noop targets used to represent targets of the protobuf library. |
| 3390 | # These will be rewritten in Google3 to be dependencies on the real targets. |
| 3391 | |
| 3392 | perfetto_py_library( |
Anindita Ghosh | 37c9e1e | 2020-07-09 17:07:26 +0000 | [diff] [blame] | 3393 | name = "pyglib_noop", |
| 3394 | srcs = [], |
| 3395 | ) |
| 3396 | |
| 3397 | perfetto_py_library( |
Anindita Ghosh | 152562f | 2020-07-08 20:29:56 +0000 | [diff] [blame] | 3398 | name = "protobuf_noop", |
| 3399 | srcs = [], |
| 3400 | ) |
| 3401 | |
| 3402 | perfetto_py_library( |
| 3403 | name = "protobuf_descriptor_pb2_noop", |
| 3404 | srcs = [], |
| 3405 | ) |
| 3406 | |
Anindita Ghosh | f52572f | 2020-08-03 21:15:45 +0000 | [diff] [blame] | 3407 | perfetto_py_library( |
| 3408 | name = "trace_processor_init_noop", |
| 3409 | srcs = [], |
| 3410 | ) |
| 3411 | |
Anindita Ghosh | 237a776 | 2020-06-30 10:46:52 +0000 | [diff] [blame] | 3412 | perfetto_py_binary( |
Lalit Maganti | 82a2c04 | 2020-07-06 13:50:33 +0100 | [diff] [blame] | 3413 | name = "trace_processor_py_example", |
| 3414 | srcs = ["src/trace_processor/python/example.py"], |
| 3415 | deps = [":trace_processor_py"], |
| 3416 | main = "src/trace_processor/python/example.py", |
Anindita Ghosh | 237a776 | 2020-06-30 10:46:52 +0000 | [diff] [blame] | 3417 | python_version = "PY3", |
| 3418 | ) |
| 3419 | |
| 3420 | perfetto_py_library( |
Lalit Maganti | 82a2c04 | 2020-07-06 13:50:33 +0100 | [diff] [blame] | 3421 | name = "trace_processor_py", |
Anindita Ghosh | 456261f | 2020-09-07 11:31:24 +0100 | [diff] [blame] | 3422 | srcs = glob(["src/trace_processor/python/perfetto/trace_processor/*.py"]), |
Anindita Ghosh | 152562f | 2020-07-08 20:29:56 +0000 | [diff] [blame] | 3423 | data = [ |
Anindita Ghosh | f52572f | 2020-08-03 21:15:45 +0000 | [diff] [blame] | 3424 | ":trace_processor_init_noop", |
Anindita Ghosh | 456261f | 2020-09-07 11:31:24 +0100 | [diff] [blame] | 3425 | "src/trace_processor/python/perfetto/trace_processor/trace_processor.descriptor", |
| 3426 | "src/trace_processor/python/perfetto/trace_processor/metrics.descriptor", |
Anindita Ghosh | 7887c76 | 2020-07-20 16:35:15 +0000 | [diff] [blame] | 3427 | ":trace_processor_shell", |
Anindita Ghosh | 152562f | 2020-07-08 20:29:56 +0000 | [diff] [blame] | 3428 | ], |
| 3429 | deps = [ |
| 3430 | ":protobuf_noop", |
| 3431 | ":protobuf_descriptor_pb2_noop", |
Anindita Ghosh | 37c9e1e | 2020-07-09 17:07:26 +0000 | [diff] [blame] | 3432 | ":pyglib_noop", |
Anindita Ghosh | 152562f | 2020-07-08 20:29:56 +0000 | [diff] [blame] | 3433 | ] |
Anindita Ghosh | 237a776 | 2020-06-30 10:46:52 +0000 | [diff] [blame] | 3434 | ) |