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