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", |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 20 | "perfetto_build_config_cc_library", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 21 | "perfetto_cc_binary", |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 22 | "perfetto_filegroup", |
| 23 | "perfetto_genrule", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 24 | "perfetto_cc_ipc_library", |
| 25 | "perfetto_cc_library", |
Lalit Maganti | 117272f | 2020-09-11 14:01:18 +0100 | [diff] [blame] | 26 | "perfetto_cc_proto_descriptor", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 27 | "perfetto_cc_proto_library", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 28 | "perfetto_cc_protocpp_library", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 29 | "perfetto_cc_protozero_library", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 30 | "perfetto_java_proto_library", |
Lalit Maganti | 46e2bda | 2020-05-06 12:51:33 +0100 | [diff] [blame] | 31 | "perfetto_java_lite_proto_library", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 32 | "perfetto_proto_library", |
Lalit Maganti | 117272f | 2020-09-11 14:01:18 +0100 | [diff] [blame] | 33 | "perfetto_proto_descriptor", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 34 | "perfetto_py_binary", |
Anindita Ghosh | 237a776 | 2020-06-30 10:46:52 +0000 | [diff] [blame] | 35 | "perfetto_py_library", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 36 | "perfetto_gensignature_internal_only", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 37 | ) |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 38 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 39 | package(default_visibility = ["//visibility:private"]) |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 40 | |
Lalit Maganti | bb037f7 | 2019-09-24 16:22:45 +0100 | [diff] [blame] | 41 | licenses(["notice"]) |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 42 | |
| 43 | exports_files(["NOTICE"]) |
Lalit Maganti | a48710d | 2019-09-24 13:10:11 +0100 | [diff] [blame] | 44 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 45 | # ############################################################################## |
| 46 | # Internal targets |
| 47 | # ############################################################################## |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 48 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 49 | # GN target: //src/ipc/protoc_plugin:ipc_plugin |
| 50 | perfetto_cc_binary( |
| 51 | name = "ipc_plugin", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 52 | srcs = [ |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 53 | "src/ipc/protoc_plugin/ipc_plugin.cc", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 54 | ], |
| 55 | deps = [ |
Primiano Tucci | 916f4e5 | 2020-10-16 20:40:33 +0200 | [diff] [blame] | 56 | ":src_base_base", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 57 | ] + PERFETTO_CONFIG.deps.protoc_lib, |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 58 | ) |
| 59 | |
| 60 | # GN target: //src/ipc:perfetto_ipc |
| 61 | perfetto_cc_library( |
| 62 | name = "perfetto_ipc", |
| 63 | srcs = [ |
Primiano Tucci | c4c063b | 2020-01-27 09:34:46 +0000 | [diff] [blame] | 64 | ":src_ipc_client", |
| 65 | ":src_ipc_common", |
| 66 | ":src_ipc_host", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 67 | ], |
| 68 | hdrs = [ |
| 69 | ":include_perfetto_base_base", |
| 70 | ":include_perfetto_ext_base_base", |
| 71 | ":include_perfetto_ext_ipc_ipc", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 72 | ":include_perfetto_protozero_protozero", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 73 | ], |
| 74 | deps = [ |
Primiano Tucci | b3e08d0 | 2019-11-19 11:10:11 +0000 | [diff] [blame] | 75 | ":protos_perfetto_ipc_wire_protocol_cpp", |
Primiano Tucci | 916f4e5 | 2020-10-16 20:40:33 +0200 | [diff] [blame] | 76 | ":src_base_base", |
| 77 | ":src_base_unix_socket", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 78 | ], |
Lalit Maganti | f9c004d | 2020-01-06 14:44:34 +0000 | [diff] [blame] | 79 | linkstatic = True, |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 80 | ) |
| 81 | |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 82 | # GN target: //src/protozero/protoc_plugin:cppgen_plugin |
| 83 | perfetto_cc_binary( |
| 84 | name = "cppgen_plugin", |
| 85 | srcs = [ |
| 86 | "src/protozero/protoc_plugin/cppgen_plugin.cc", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 87 | ], |
| 88 | deps = [ |
Primiano Tucci | 916f4e5 | 2020-10-16 20:40:33 +0200 | [diff] [blame] | 89 | ":src_base_base", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 90 | ] + PERFETTO_CONFIG.deps.protoc_lib, |
| 91 | ) |
| 92 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 93 | # GN target: //src/protozero/protoc_plugin:protozero_plugin |
| 94 | perfetto_cc_binary( |
| 95 | name = "protozero_plugin", |
| 96 | srcs = [ |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 97 | "src/protozero/protoc_plugin/protozero_plugin.cc", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 98 | ], |
| 99 | deps = [ |
Primiano Tucci | 916f4e5 | 2020-10-16 20:40:33 +0200 | [diff] [blame] | 100 | ":src_base_base", |
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 | |
Primiano Tucci | 916f4e5 | 2020-10-16 20:40:33 +0200 | [diff] [blame] | 104 | # GN target: //src/protozero:protozero |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 105 | perfetto_cc_library( |
Primiano Tucci | 916f4e5 | 2020-10-16 20:40:33 +0200 | [diff] [blame] | 106 | name = "protozero", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 107 | srcs = [ |
Primiano Tucci | 916f4e5 | 2020-10-16 20:40:33 +0200 | [diff] [blame] | 108 | "src/protozero/field.cc", |
| 109 | "src/protozero/message.cc", |
| 110 | "src/protozero/message_arena.cc", |
| 111 | "src/protozero/message_handle.cc", |
| 112 | "src/protozero/packed_repeated_fields.cc", |
| 113 | "src/protozero/proto_decoder.cc", |
| 114 | "src/protozero/scattered_heap_buffer.cc", |
| 115 | "src/protozero/scattered_stream_null_delegate.cc", |
| 116 | "src/protozero/scattered_stream_writer.cc", |
| 117 | "src/protozero/static_buffer.cc", |
| 118 | "src/protozero/virtual_destructors.cc", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 119 | ], |
| 120 | hdrs = [ |
| 121 | ":include_perfetto_base_base", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 122 | ":include_perfetto_protozero_protozero", |
| 123 | ], |
Primiano Tucci | 916f4e5 | 2020-10-16 20:40:33 +0200 | [diff] [blame] | 124 | deps = [ |
| 125 | ":src_base_base", |
| 126 | ], |
Lalit Maganti | f9c004d | 2020-01-06 14:44:34 +0000 | [diff] [blame] | 127 | linkstatic = True, |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 128 | ) |
| 129 | |
Lalit Maganti | 01deefa | 2019-12-19 14:20:12 +0000 | [diff] [blame] | 130 | # GN target: //test:client_api_example |
| 131 | perfetto_cc_binary( |
| 132 | name = "client_api_example", |
| 133 | srcs = [ |
Lalit Maganti | d6d9b4a | 2019-12-19 15:11:17 +0000 | [diff] [blame] | 134 | ":include_perfetto_base_base", |
| 135 | ":include_perfetto_protozero_protozero", |
| 136 | ":include_perfetto_tracing_core_forward_decls", |
| 137 | ":include_perfetto_tracing_tracing", |
Primiano Tucci | 34bc559 | 2021-02-19 17:53:36 +0100 | [diff] [blame] | 138 | "test/client_api_example.cc", |
Lalit Maganti | 01deefa | 2019-12-19 14:20:12 +0000 | [diff] [blame] | 139 | ], |
| 140 | deps = [ |
| 141 | ":libperfetto_client_experimental", |
Lalit Maganti | d6d9b4a | 2019-12-19 15:11:17 +0000 | [diff] [blame] | 142 | ":protos_perfetto_common_cpp", |
Lalit Maganti | 01deefa | 2019-12-19 14:20:12 +0000 | [diff] [blame] | 143 | ":protos_perfetto_common_zero", |
| 144 | ":protos_perfetto_config_android_zero", |
| 145 | ":protos_perfetto_config_ftrace_zero", |
| 146 | ":protos_perfetto_config_gpu_zero", |
| 147 | ":protos_perfetto_config_inode_file_zero", |
Sami Kyostila | dd1cfd7 | 2020-12-14 15:48:25 +0000 | [diff] [blame] | 148 | ":protos_perfetto_config_interceptors_zero", |
Lalit Maganti | 01deefa | 2019-12-19 14:20:12 +0000 | [diff] [blame] | 149 | ":protos_perfetto_config_power_zero", |
| 150 | ":protos_perfetto_config_process_stats_zero", |
| 151 | ":protos_perfetto_config_profiling_zero", |
| 152 | ":protos_perfetto_config_sys_stats_zero", |
Sami Kyostila | 38cd041 | 2020-02-12 17:09:52 +0000 | [diff] [blame] | 153 | ":protos_perfetto_config_track_event_cpp", |
| 154 | ":protos_perfetto_config_track_event_zero", |
Lalit Maganti | 01deefa | 2019-12-19 14:20:12 +0000 | [diff] [blame] | 155 | ":protos_perfetto_config_zero", |
| 156 | ":protos_perfetto_trace_android_zero", |
| 157 | ":protos_perfetto_trace_chrome_zero", |
| 158 | ":protos_perfetto_trace_filesystem_zero", |
| 159 | ":protos_perfetto_trace_ftrace_zero", |
| 160 | ":protos_perfetto_trace_gpu_zero", |
| 161 | ":protos_perfetto_trace_interned_data_zero", |
| 162 | ":protos_perfetto_trace_minimal_zero", |
| 163 | ":protos_perfetto_trace_non_minimal_zero", |
| 164 | ":protos_perfetto_trace_perfetto_zero", |
| 165 | ":protos_perfetto_trace_power_zero", |
| 166 | ":protos_perfetto_trace_profiling_zero", |
| 167 | ":protos_perfetto_trace_ps_zero", |
| 168 | ":protos_perfetto_trace_sys_stats_zero", |
Rafal Slawik | b013a11 | 2020-04-03 16:12:02 +0100 | [diff] [blame] | 169 | ":protos_perfetto_trace_system_info_zero", |
Sami Kyostila | d4eec8e | 2020-05-05 15:56:42 +0100 | [diff] [blame] | 170 | ":protos_perfetto_trace_track_event_cpp", |
Lalit Maganti | 01deefa | 2019-12-19 14:20:12 +0000 | [diff] [blame] | 171 | ":protos_perfetto_trace_track_event_zero", |
Igor Kraskevich | 49b4288 | 2022-03-21 13:03:02 +0000 | [diff] [blame^] | 172 | ":protos_perfetto_trace_translation_zero", |
Lalit Maganti | 01deefa | 2019-12-19 14:20:12 +0000 | [diff] [blame] | 173 | ], |
| 174 | ) |
| 175 | |
Lalit Maganti | ff9b326 | 2021-07-01 22:24:01 +0100 | [diff] [blame] | 176 | # GN target: //tools/proto_filter:proto_filter |
| 177 | perfetto_cc_binary( |
| 178 | name = "proto_filter", |
| 179 | srcs = [ |
| 180 | ":src_protozero_filtering_bytecode_common", |
| 181 | ":src_protozero_filtering_bytecode_generator", |
| 182 | ":src_protozero_filtering_bytecode_parser", |
| 183 | ":src_protozero_filtering_filter_util", |
| 184 | ":src_protozero_filtering_message_filter", |
| 185 | "tools/proto_filter/proto_filter.cc", |
| 186 | ], |
| 187 | deps = [ |
| 188 | ":protozero", |
| 189 | ":src_base_base", |
| 190 | ] + PERFETTO_CONFIG.deps.protobuf_full, |
| 191 | ) |
| 192 | |
Lalit Maganti | dade39c | 2021-07-08 19:30:49 +0100 | [diff] [blame] | 193 | # GN target: //tools/proto_merger:proto_merger |
| 194 | perfetto_cc_binary( |
| 195 | name = "proto_merger", |
| 196 | srcs = [ |
Lalit Maganti | f7ba153 | 2021-07-21 21:40:32 +0100 | [diff] [blame] | 197 | "tools/proto_merger/allowlist.cc", |
Lalit Maganti | dade39c | 2021-07-08 19:30:49 +0100 | [diff] [blame] | 198 | "tools/proto_merger/allowlist.h", |
| 199 | "tools/proto_merger/main.cc", |
| 200 | "tools/proto_merger/proto_file.cc", |
| 201 | "tools/proto_merger/proto_file.h", |
Lalit Maganti | cb07e44 | 2021-07-21 21:43:32 +0100 | [diff] [blame] | 202 | "tools/proto_merger/proto_file_serializer.cc", |
| 203 | "tools/proto_merger/proto_file_serializer.h", |
Lalit Maganti | dade39c | 2021-07-08 19:30:49 +0100 | [diff] [blame] | 204 | "tools/proto_merger/proto_merger.cc", |
| 205 | "tools/proto_merger/proto_merger.h", |
| 206 | ], |
| 207 | deps = [ |
| 208 | ":src_base_base", |
| 209 | ] + PERFETTO_CONFIG.deps.protobuf_full, |
| 210 | ) |
| 211 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 212 | # GN target: //:libperfetto |
| 213 | perfetto_cc_library( |
| 214 | name = "libperfetto", |
| 215 | srcs = [ |
| 216 | ":src_android_internal_headers", |
| 217 | ":src_android_internal_lazy_library_loader", |
Lalit Maganti | ea7631b | 2021-01-13 12:33:55 +0000 | [diff] [blame] | 218 | ":src_android_stats_android_stats", |
Lalit Maganti | d37172d | 2020-12-10 19:30:05 +0000 | [diff] [blame] | 219 | ":src_android_stats_perfetto_atoms", |
Ryan Savitski | dc21888 | 2020-11-16 18:02:02 +0000 | [diff] [blame] | 220 | ":src_kallsyms_kallsyms", |
Primiano Tucci | f18ab81 | 2021-05-14 23:01:19 +0100 | [diff] [blame] | 221 | ":src_protozero_filtering_bytecode_common", |
| 222 | ":src_protozero_filtering_bytecode_parser", |
| 223 | ":src_protozero_filtering_message_filter", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 224 | ":src_traced_probes_android_log_android_log", |
Rafal Slawik | 8053a68 | 2020-04-08 17:26:40 +0100 | [diff] [blame] | 225 | ":src_traced_probes_common_common", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 226 | ":src_traced_probes_data_source", |
| 227 | ":src_traced_probes_filesystem_filesystem", |
Primiano Tucci | 65a4fb1 | 2020-12-21 18:35:15 +0100 | [diff] [blame] | 228 | ":src_traced_probes_ftrace_format_parser_format_parser", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 229 | ":src_traced_probes_ftrace_ftrace", |
Ryan Savitski | ec35afb | 2021-01-29 18:39:36 +0000 | [diff] [blame] | 230 | ":src_traced_probes_ftrace_ftrace_procfs", |
Simon MacMullen | 3d4c54a | 2020-04-17 16:40:53 +0100 | [diff] [blame] | 231 | ":src_traced_probes_initial_display_state_initial_display_state", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 232 | ":src_traced_probes_metatrace_metatrace", |
| 233 | ":src_traced_probes_packages_list_packages_list", |
Florian Mayer | 29e1718 | 2020-12-23 10:59:02 +0000 | [diff] [blame] | 234 | ":src_traced_probes_packages_list_packages_list_parser", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 235 | ":src_traced_probes_power_power", |
| 236 | ":src_traced_probes_probes", |
| 237 | ":src_traced_probes_probes_src", |
| 238 | ":src_traced_probes_ps_ps", |
| 239 | ":src_traced_probes_sys_stats_sys_stats", |
Rafal Slawik | b013a11 | 2020-04-03 16:12:02 +0100 | [diff] [blame] | 240 | ":src_traced_probes_system_info_system_info", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 241 | ":src_traced_service_service", |
| 242 | ":src_tracing_common", |
Primiano Tucci | c4c063b | 2020-01-27 09:34:46 +0000 | [diff] [blame] | 243 | ":src_tracing_consumer_api_deprecated_consumer_api_deprecated", |
| 244 | ":src_tracing_core_core", |
| 245 | ":src_tracing_core_service", |
| 246 | ":src_tracing_ipc_common", |
| 247 | ":src_tracing_ipc_consumer_consumer", |
Primiano Tucci | 8761a31 | 2021-11-25 17:17:23 +0000 | [diff] [blame] | 248 | ":src_tracing_ipc_default_socket", |
Primiano Tucci | c4c063b | 2020-01-27 09:34:46 +0000 | [diff] [blame] | 249 | ":src_tracing_ipc_producer_producer", |
| 250 | ":src_tracing_ipc_service_service", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 251 | ], |
| 252 | hdrs = [ |
| 253 | ":include_perfetto_base_base", |
| 254 | ":include_perfetto_ext_base_base", |
| 255 | ":include_perfetto_ext_ipc_ipc", |
| 256 | ":include_perfetto_ext_traced_sys_stats_counters", |
| 257 | ":include_perfetto_ext_traced_traced", |
| 258 | ":include_perfetto_ext_tracing_core_core", |
| 259 | ":include_perfetto_ext_tracing_ipc_ipc", |
| 260 | ":include_perfetto_protozero_protozero", |
| 261 | ":include_perfetto_public_public", |
| 262 | ":include_perfetto_tracing_core_core", |
Primiano Tucci | cb8cea2 | 2019-11-22 11:05:35 +0000 | [diff] [blame] | 263 | ":include_perfetto_tracing_core_forward_decls", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 264 | ":include_perfetto_tracing_tracing", |
| 265 | ], |
| 266 | deps = [ |
Primiano Tucci | 916f4e5 | 2020-10-16 20:40:33 +0200 | [diff] [blame] | 267 | ":perfetto_ipc", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 268 | ":protos_perfetto_common_cpp", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 269 | ":protos_perfetto_common_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 270 | ":protos_perfetto_config_android_cpp", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 271 | ":protos_perfetto_config_android_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 272 | ":protos_perfetto_config_cpp", |
| 273 | ":protos_perfetto_config_ftrace_cpp", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 274 | ":protos_perfetto_config_ftrace_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 275 | ":protos_perfetto_config_gpu_cpp", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 276 | ":protos_perfetto_config_gpu_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 277 | ":protos_perfetto_config_inode_file_cpp", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 278 | ":protos_perfetto_config_inode_file_zero", |
Sami Kyostila | dd1cfd7 | 2020-12-14 15:48:25 +0000 | [diff] [blame] | 279 | ":protos_perfetto_config_interceptors_cpp", |
| 280 | ":protos_perfetto_config_interceptors_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 281 | ":protos_perfetto_config_power_cpp", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 282 | ":protos_perfetto_config_power_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 283 | ":protos_perfetto_config_process_stats_cpp", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 284 | ":protos_perfetto_config_process_stats_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 285 | ":protos_perfetto_config_profiling_cpp", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 286 | ":protos_perfetto_config_profiling_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 287 | ":protos_perfetto_config_sys_stats_cpp", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 288 | ":protos_perfetto_config_sys_stats_zero", |
Sami Kyostila | 38cd041 | 2020-02-12 17:09:52 +0000 | [diff] [blame] | 289 | ":protos_perfetto_config_track_event_cpp", |
| 290 | ":protos_perfetto_config_track_event_zero", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 291 | ":protos_perfetto_config_zero", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 292 | ":protos_perfetto_ipc_cpp", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 293 | ":protos_perfetto_ipc_ipc", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 294 | ":protos_perfetto_trace_android_zero", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 295 | ":protos_perfetto_trace_chrome_zero", |
| 296 | ":protos_perfetto_trace_filesystem_zero", |
| 297 | ":protos_perfetto_trace_ftrace_zero", |
| 298 | ":protos_perfetto_trace_gpu_zero", |
| 299 | ":protos_perfetto_trace_interned_data_zero", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 300 | ":protos_perfetto_trace_minimal_zero", |
| 301 | ":protos_perfetto_trace_non_minimal_zero", |
| 302 | ":protos_perfetto_trace_perfetto_zero", |
| 303 | ":protos_perfetto_trace_power_zero", |
| 304 | ":protos_perfetto_trace_profiling_zero", |
| 305 | ":protos_perfetto_trace_ps_zero", |
| 306 | ":protos_perfetto_trace_sys_stats_zero", |
Rafal Slawik | b013a11 | 2020-04-03 16:12:02 +0100 | [diff] [blame] | 307 | ":protos_perfetto_trace_system_info_zero", |
Sami Kyostila | d4eec8e | 2020-05-05 15:56:42 +0100 | [diff] [blame] | 308 | ":protos_perfetto_trace_track_event_cpp", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 309 | ":protos_perfetto_trace_track_event_zero", |
Igor Kraskevich | 49b4288 | 2022-03-21 13:03:02 +0000 | [diff] [blame^] | 310 | ":protos_perfetto_trace_translation_zero", |
Primiano Tucci | 916f4e5 | 2020-10-16 20:40:33 +0200 | [diff] [blame] | 311 | ":protozero", |
| 312 | ":src_base_base", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 313 | ], |
Lalit Maganti | f9c004d | 2020-01-06 14:44:34 +0000 | [diff] [blame] | 314 | linkstatic = True, |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 315 | ) |
| 316 | |
| 317 | # GN target: //include/perfetto/base:base |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 318 | perfetto_filegroup( |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 319 | name = "include_perfetto_base_base", |
| 320 | srcs = [ |
| 321 | "include/perfetto/base/build_config.h", |
| 322 | "include/perfetto/base/compiler.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 323 | "include/perfetto/base/export.h", |
Sami Kyostila | 26a0437 | 2020-01-13 12:46:48 +0000 | [diff] [blame] | 324 | "include/perfetto/base/flat_set.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 325 | "include/perfetto/base/logging.h", |
Primiano Tucci | f9460fa | 2020-12-09 01:28:33 +0100 | [diff] [blame] | 326 | "include/perfetto/base/platform_handle.h", |
Sami Kyostila | 26a0437 | 2020-01-13 12:46:48 +0000 | [diff] [blame] | 327 | "include/perfetto/base/proc_utils.h", |
Primiano Tucci | df44031 | 2020-10-30 16:43:58 +0100 | [diff] [blame] | 328 | "include/perfetto/base/status.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 329 | "include/perfetto/base/task_runner.h", |
Alexander Timin | ba53cc7 | 2021-02-05 15:46:57 +0000 | [diff] [blame] | 330 | "include/perfetto/base/template_util.h", |
Sami Kyostila | 26a0437 | 2020-01-13 12:46:48 +0000 | [diff] [blame] | 331 | "include/perfetto/base/thread_utils.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 332 | "include/perfetto/base/time.h", |
| 333 | ], |
| 334 | ) |
| 335 | |
Primiano Tucci | 44a15be | 2021-11-06 21:40:18 +0000 | [diff] [blame] | 336 | # GN target: //include/perfetto/ext/base/http:http |
| 337 | perfetto_filegroup( |
| 338 | name = "include_perfetto_ext_base_http_http", |
| 339 | srcs = [ |
| 340 | "include/perfetto/ext/base/http/http_server.h", |
Primiano Tucci | 95dbb70 | 2021-11-25 13:27:04 +0000 | [diff] [blame] | 341 | "include/perfetto/ext/base/http/sha1.h", |
Primiano Tucci | 44a15be | 2021-11-06 21:40:18 +0000 | [diff] [blame] | 342 | ], |
| 343 | ) |
| 344 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 345 | # GN target: //include/perfetto/ext/base:base |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 346 | perfetto_filegroup( |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 347 | name = "include_perfetto_ext_base_base", |
| 348 | srcs = [ |
Daniele Di Proietto | 5ce0d14 | 2021-11-01 18:30:44 +0000 | [diff] [blame] | 349 | "include/perfetto/ext/base/android_utils.h", |
Primiano Tucci | f4f2b45 | 2021-11-06 12:14:40 +0000 | [diff] [blame] | 350 | "include/perfetto/ext/base/base64.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 351 | "include/perfetto/ext/base/circular_queue.h", |
| 352 | "include/perfetto/ext/base/container_annotations.h", |
Primiano Tucci | ab699b7 | 2021-10-15 11:53:00 +0100 | [diff] [blame] | 353 | "include/perfetto/ext/base/crash_keys.h", |
Primiano Tucci | 1bc10c6 | 2021-01-06 09:38:07 +0100 | [diff] [blame] | 354 | "include/perfetto/ext/base/ctrl_c_handler.h", |
Primiano Tucci | abbc9fd | 2020-10-08 22:09:07 +0200 | [diff] [blame] | 355 | "include/perfetto/ext/base/endian.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 356 | "include/perfetto/ext/base/event_fd.h", |
| 357 | "include/perfetto/ext/base/file_utils.h", |
Primiano Tucci | c986ca1 | 2021-11-18 20:51:24 +0000 | [diff] [blame] | 358 | "include/perfetto/ext/base/flat_hash_map.h", |
Primiano Tucci | ccaf6db | 2021-01-05 22:32:26 +0100 | [diff] [blame] | 359 | "include/perfetto/ext/base/getopt.h", |
| 360 | "include/perfetto/ext/base/getopt_compat.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 361 | "include/perfetto/ext/base/hash.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 362 | "include/perfetto/ext/base/metatrace.h", |
| 363 | "include/perfetto/ext/base/metatrace_events.h", |
| 364 | "include/perfetto/ext/base/no_destructor.h", |
| 365 | "include/perfetto/ext/base/optional.h", |
| 366 | "include/perfetto/ext/base/paged_memory.h", |
Primiano Tucci | dac9170 | 2021-04-30 15:47:51 +0100 | [diff] [blame] | 367 | "include/perfetto/ext/base/periodic_task.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 368 | "include/perfetto/ext/base/pipe.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 369 | "include/perfetto/ext/base/scoped_file.h", |
| 370 | "include/perfetto/ext/base/small_set.h", |
Primiano Tucci | 34abb8d | 2021-11-16 13:38:01 +0000 | [diff] [blame] | 371 | "include/perfetto/ext/base/small_vector.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 372 | "include/perfetto/ext/base/string_splitter.h", |
| 373 | "include/perfetto/ext/base/string_utils.h", |
| 374 | "include/perfetto/ext/base/string_view.h", |
| 375 | "include/perfetto/ext/base/string_writer.h", |
Primiano Tucci | 6d7d254 | 2020-03-17 20:03:48 +0000 | [diff] [blame] | 376 | "include/perfetto/ext/base/subprocess.h", |
Primiano Tucci | bc44c3c | 2022-01-14 12:59:01 +0000 | [diff] [blame] | 377 | "include/perfetto/ext/base/sys_types.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 378 | "include/perfetto/ext/base/temp_file.h", |
| 379 | "include/perfetto/ext/base/thread_annotations.h", |
| 380 | "include/perfetto/ext/base/thread_checker.h", |
| 381 | "include/perfetto/ext/base/thread_task_runner.h", |
Ryan | a67749d | 2020-04-03 18:43:31 +0100 | [diff] [blame] | 382 | "include/perfetto/ext/base/thread_utils.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 383 | "include/perfetto/ext/base/unix_socket.h", |
| 384 | "include/perfetto/ext/base/unix_task_runner.h", |
| 385 | "include/perfetto/ext/base/utils.h", |
| 386 | "include/perfetto/ext/base/uuid.h", |
Primiano Tucci | ec59013 | 2020-11-16 14:16:44 +0100 | [diff] [blame] | 387 | "include/perfetto/ext/base/version.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 388 | "include/perfetto/ext/base/waitable_event.h", |
| 389 | "include/perfetto/ext/base/watchdog.h", |
| 390 | "include/perfetto/ext/base/watchdog_noop.h", |
| 391 | "include/perfetto/ext/base/watchdog_posix.h", |
| 392 | "include/perfetto/ext/base/weak_ptr.h", |
| 393 | ], |
| 394 | ) |
| 395 | |
| 396 | # GN target: //include/perfetto/ext/ipc:ipc |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 397 | perfetto_filegroup( |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 398 | name = "include_perfetto_ext_ipc_ipc", |
| 399 | srcs = [ |
| 400 | "include/perfetto/ext/ipc/async_result.h", |
| 401 | "include/perfetto/ext/ipc/basic_types.h", |
| 402 | "include/perfetto/ext/ipc/client.h", |
| 403 | "include/perfetto/ext/ipc/client_info.h", |
| 404 | "include/perfetto/ext/ipc/codegen_helpers.h", |
| 405 | "include/perfetto/ext/ipc/deferred.h", |
| 406 | "include/perfetto/ext/ipc/host.h", |
| 407 | "include/perfetto/ext/ipc/service.h", |
| 408 | "include/perfetto/ext/ipc/service_descriptor.h", |
| 409 | "include/perfetto/ext/ipc/service_proxy.h", |
| 410 | ], |
| 411 | ) |
| 412 | |
Sylwester Blaszczyk | 76aa700 | 2020-11-27 15:48:21 +0100 | [diff] [blame] | 413 | # GN target: //include/perfetto/ext/trace_processor/importers/memory_tracker:memory_tracker |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 414 | perfetto_filegroup( |
Sylwester Blaszczyk | 76aa700 | 2020-11-27 15:48:21 +0100 | [diff] [blame] | 415 | name = "include_perfetto_ext_trace_processor_importers_memory_tracker_memory_tracker", |
| 416 | srcs = [ |
| 417 | "include/perfetto/ext/trace_processor/importers/memory_tracker/graph.h", |
| 418 | "include/perfetto/ext/trace_processor/importers/memory_tracker/graph_processor.h", |
| 419 | "include/perfetto/ext/trace_processor/importers/memory_tracker/memory_allocator_node_id.h", |
| 420 | "include/perfetto/ext/trace_processor/importers/memory_tracker/memory_graph_edge.h", |
| 421 | "include/perfetto/ext/trace_processor/importers/memory_tracker/raw_memory_graph_node.h", |
| 422 | "include/perfetto/ext/trace_processor/importers/memory_tracker/raw_process_memory_node.h", |
| 423 | ], |
| 424 | ) |
| 425 | |
Eric Seckler | 7fb1d23 | 2019-10-23 14:42:43 +0100 | [diff] [blame] | 426 | # GN target: //include/perfetto/ext/trace_processor:export_json |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 427 | perfetto_filegroup( |
Eric Seckler | 7fb1d23 | 2019-10-23 14:42:43 +0100 | [diff] [blame] | 428 | name = "include_perfetto_ext_trace_processor_export_json", |
| 429 | srcs = [ |
| 430 | "include/perfetto/ext/trace_processor/export_json.h", |
| 431 | ], |
| 432 | ) |
| 433 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 434 | # GN target: //include/perfetto/ext/traced:sys_stats_counters |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 435 | perfetto_filegroup( |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 436 | name = "include_perfetto_ext_traced_sys_stats_counters", |
| 437 | srcs = [ |
| 438 | "include/perfetto/ext/traced/sys_stats_counters.h", |
| 439 | ], |
| 440 | ) |
| 441 | |
| 442 | # GN target: //include/perfetto/ext/traced:traced |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 443 | perfetto_filegroup( |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 444 | name = "include_perfetto_ext_traced_traced", |
| 445 | srcs = [ |
| 446 | "include/perfetto/ext/traced/data_source_types.h", |
| 447 | "include/perfetto/ext/traced/traced.h", |
| 448 | ], |
| 449 | ) |
| 450 | |
| 451 | # GN target: //include/perfetto/ext/tracing/core:core |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 452 | perfetto_filegroup( |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 453 | name = "include_perfetto_ext_tracing_core_core", |
| 454 | srcs = [ |
| 455 | "include/perfetto/ext/tracing/core/basic_types.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 456 | "include/perfetto/ext/tracing/core/commit_data_request.h", |
| 457 | "include/perfetto/ext/tracing/core/consumer.h", |
| 458 | "include/perfetto/ext/tracing/core/observable_events.h", |
| 459 | "include/perfetto/ext/tracing/core/producer.h", |
| 460 | "include/perfetto/ext/tracing/core/shared_memory.h", |
| 461 | "include/perfetto/ext/tracing/core/shared_memory_abi.h", |
| 462 | "include/perfetto/ext/tracing/core/shared_memory_arbiter.h", |
| 463 | "include/perfetto/ext/tracing/core/slice.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 464 | "include/perfetto/ext/tracing/core/trace_packet.h", |
| 465 | "include/perfetto/ext/tracing/core/trace_stats.h", |
| 466 | "include/perfetto/ext/tracing/core/trace_writer.h", |
| 467 | "include/perfetto/ext/tracing/core/tracing_service.h", |
| 468 | ], |
| 469 | ) |
| 470 | |
| 471 | # GN target: //include/perfetto/ext/tracing/ipc:ipc |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 472 | perfetto_filegroup( |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 473 | name = "include_perfetto_ext_tracing_ipc_ipc", |
| 474 | srcs = [ |
| 475 | "include/perfetto/ext/tracing/ipc/consumer_ipc_client.h", |
| 476 | "include/perfetto/ext/tracing/ipc/default_socket.h", |
| 477 | "include/perfetto/ext/tracing/ipc/producer_ipc_client.h", |
| 478 | "include/perfetto/ext/tracing/ipc/service_ipc_host.h", |
| 479 | ], |
| 480 | ) |
| 481 | |
Florian Mayer | bd88ff8 | 2019-12-18 16:36:37 +0000 | [diff] [blame] | 482 | # GN target: //include/perfetto/profiling:pprof_builder |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 483 | perfetto_filegroup( |
Florian Mayer | bd88ff8 | 2019-12-18 16:36:37 +0000 | [diff] [blame] | 484 | name = "include_perfetto_profiling_pprof_builder", |
Lalit Maganti | a4244e4 | 2019-09-20 12:03:32 +0100 | [diff] [blame] | 485 | srcs = [ |
| 486 | "include/perfetto/profiling/pprof_builder.h", |
Lalit Maganti | a4244e4 | 2019-09-20 12:03:32 +0100 | [diff] [blame] | 487 | ], |
| 488 | ) |
| 489 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 490 | # GN target: //include/perfetto/protozero:protozero |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 491 | perfetto_filegroup( |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 492 | name = "include_perfetto_protozero_protozero", |
| 493 | srcs = [ |
| 494 | "include/perfetto/protozero/contiguous_memory_range.h", |
Primiano Tucci | e4144b7 | 2019-11-07 16:10:19 +0000 | [diff] [blame] | 495 | "include/perfetto/protozero/copyable_ptr.h", |
Primiano Tucci | cb8cea2 | 2019-11-22 11:05:35 +0000 | [diff] [blame] | 496 | "include/perfetto/protozero/cpp_message_obj.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 497 | "include/perfetto/protozero/field.h", |
Alexander Timin | baeb8b3 | 2021-04-15 11:16:24 +0000 | [diff] [blame] | 498 | "include/perfetto/protozero/field_writer.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 499 | "include/perfetto/protozero/message.h", |
Primiano Tucci | acb6ca3 | 2020-08-19 13:27:52 +0200 | [diff] [blame] | 500 | "include/perfetto/protozero/message_arena.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 501 | "include/perfetto/protozero/message_handle.h", |
| 502 | "include/perfetto/protozero/packed_repeated_fields.h", |
| 503 | "include/perfetto/protozero/proto_decoder.h", |
| 504 | "include/perfetto/protozero/proto_utils.h", |
Primiano Tucci | acb6ca3 | 2020-08-19 13:27:52 +0200 | [diff] [blame] | 505 | "include/perfetto/protozero/root_message.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 506 | "include/perfetto/protozero/scattered_heap_buffer.h", |
| 507 | "include/perfetto/protozero/scattered_stream_null_delegate.h", |
| 508 | "include/perfetto/protozero/scattered_stream_writer.h", |
Primiano Tucci | 6a7fa5f | 2019-11-19 11:09:20 +0000 | [diff] [blame] | 509 | "include/perfetto/protozero/static_buffer.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 510 | ], |
| 511 | ) |
| 512 | |
| 513 | # GN target: //include/perfetto/public:public |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 514 | perfetto_filegroup( |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 515 | name = "include_perfetto_public_public", |
| 516 | srcs = [ |
| 517 | "include/perfetto/public/consumer_api.h", |
| 518 | ], |
| 519 | ) |
| 520 | |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 521 | # GN target: //include/perfetto/trace_processor:basic_types |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 522 | perfetto_filegroup( |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 523 | name = "include_perfetto_trace_processor_basic_types", |
| 524 | srcs = [ |
| 525 | "include/perfetto/trace_processor/basic_types.h", |
| 526 | "include/perfetto/trace_processor/status.h", |
| 527 | ], |
| 528 | ) |
| 529 | |
| 530 | # GN target: //include/perfetto/trace_processor:storage |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 531 | perfetto_filegroup( |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 532 | name = "include_perfetto_trace_processor_storage", |
| 533 | srcs = [ |
Primiano Tucci | 3264b59 | 2021-11-08 18:20:51 +0000 | [diff] [blame] | 534 | "include/perfetto/trace_processor/trace_blob.h", |
| 535 | "include/perfetto/trace_processor/trace_blob_view.h", |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 536 | "include/perfetto/trace_processor/trace_processor_storage.h", |
| 537 | ], |
| 538 | ) |
| 539 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 540 | # GN target: //include/perfetto/trace_processor:trace_processor |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 541 | perfetto_filegroup( |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 542 | name = "include_perfetto_trace_processor_trace_processor", |
| 543 | srcs = [ |
Primiano Tucci | 4e01f63 | 2020-06-11 17:03:05 +0100 | [diff] [blame] | 544 | "include/perfetto/trace_processor/iterator.h", |
Eric Seckler | 8f70bbf | 2019-10-09 09:37:43 +0100 | [diff] [blame] | 545 | "include/perfetto/trace_processor/read_trace.h", |
Primiano Tucci | 8b970aa | 2021-11-09 20:21:33 +0000 | [diff] [blame] | 546 | "include/perfetto/trace_processor/ref_counted.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 547 | "include/perfetto/trace_processor/trace_processor.h", |
| 548 | ], |
| 549 | ) |
| 550 | |
| 551 | # GN target: //include/perfetto/tracing/core:core |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 552 | perfetto_filegroup( |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 553 | name = "include_perfetto_tracing_core_core", |
| 554 | srcs = [ |
| 555 | "include/perfetto/tracing/core/chrome_config.h", |
| 556 | "include/perfetto/tracing/core/data_source_config.h", |
| 557 | "include/perfetto/tracing/core/data_source_descriptor.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 558 | "include/perfetto/tracing/core/trace_config.h", |
Primiano Tucci | f5a94cc | 2020-03-26 10:02:13 +0000 | [diff] [blame] | 559 | "include/perfetto/tracing/core/tracing_service_capabilities.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 560 | "include/perfetto/tracing/core/tracing_service_state.h", |
| 561 | ], |
| 562 | ) |
| 563 | |
Primiano Tucci | cb8cea2 | 2019-11-22 11:05:35 +0000 | [diff] [blame] | 564 | # GN target: //include/perfetto/tracing/core:forward_decls |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 565 | perfetto_filegroup( |
Primiano Tucci | cb8cea2 | 2019-11-22 11:05:35 +0000 | [diff] [blame] | 566 | name = "include_perfetto_tracing_core_forward_decls", |
| 567 | srcs = [ |
| 568 | "include/perfetto/tracing/core/forward_decls.h", |
| 569 | ], |
| 570 | ) |
| 571 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 572 | # GN target: //include/perfetto/tracing:tracing |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 573 | perfetto_filegroup( |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 574 | name = "include_perfetto_tracing_tracing", |
| 575 | srcs = [ |
Eric Seckler | ef4e773 | 2021-03-30 13:55:03 +0100 | [diff] [blame] | 576 | "include/perfetto/tracing/backend_type.h", |
Florian Mayer | 974a8b8 | 2019-10-03 10:04:27 +0100 | [diff] [blame] | 577 | "include/perfetto/tracing/buffer_exhausted_policy.h", |
Sami Kyostila | dd1cfd7 | 2020-12-14 15:48:25 +0000 | [diff] [blame] | 578 | "include/perfetto/tracing/console_interceptor.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 579 | "include/perfetto/tracing/data_source.h", |
Sami Kyostila | 29ff844 | 2019-11-26 16:05:13 +0000 | [diff] [blame] | 580 | "include/perfetto/tracing/debug_annotation.h", |
Sami Kyostila | 10b270a | 2019-11-19 19:12:03 +0000 | [diff] [blame] | 581 | "include/perfetto/tracing/event_context.h", |
Sami Kyostila | 927cd76 | 2020-12-01 17:09:14 +0000 | [diff] [blame] | 582 | "include/perfetto/tracing/interceptor.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 583 | "include/perfetto/tracing/internal/basic_types.h", |
Alexander Timin | ab5cba1 | 2021-01-19 17:23:19 +0000 | [diff] [blame] | 584 | "include/perfetto/tracing/internal/checked_scope.h", |
Sami Kyostila | edf7c86 | 2021-03-11 13:33:35 +0000 | [diff] [blame] | 585 | "include/perfetto/tracing/internal/compile_time_hash.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 586 | "include/perfetto/tracing/internal/data_source_internal.h", |
Primiano Tucci | 3feec55 | 2020-02-04 11:14:42 +0000 | [diff] [blame] | 587 | "include/perfetto/tracing/internal/in_process_tracing_backend.h", |
Sami Kyostila | 927cd76 | 2020-12-01 17:09:14 +0000 | [diff] [blame] | 588 | "include/perfetto/tracing/internal/interceptor_trace_writer.h", |
Primiano Tucci | 3feec55 | 2020-02-04 11:14:42 +0000 | [diff] [blame] | 589 | "include/perfetto/tracing/internal/system_tracing_backend.h", |
Eric Seckler | 36881d1 | 2021-02-10 10:55:31 +0000 | [diff] [blame] | 590 | "include/perfetto/tracing/internal/tracing_backend_fake.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 591 | "include/perfetto/tracing/internal/tracing_muxer.h", |
| 592 | "include/perfetto/tracing/internal/tracing_tls.h", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 593 | "include/perfetto/tracing/internal/track_event_data_source.h", |
Sami Kyostila | 1eebf5e | 2019-10-24 17:36:15 +0100 | [diff] [blame] | 594 | "include/perfetto/tracing/internal/track_event_internal.h", |
Alexander Timin | 8ef1db3 | 2021-04-30 12:52:59 +0000 | [diff] [blame] | 595 | "include/perfetto/tracing/internal/track_event_interned_fields.h", |
Sami Kyostila | 1eebf5e | 2019-10-24 17:36:15 +0100 | [diff] [blame] | 596 | "include/perfetto/tracing/internal/track_event_macros.h", |
Alexander Timin | 129c37c | 2021-04-08 19:17:59 +0000 | [diff] [blame] | 597 | "include/perfetto/tracing/internal/write_track_event_args.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 598 | "include/perfetto/tracing/locked_handle.h", |
| 599 | "include/perfetto/tracing/platform.h", |
Alexander Timin | 27290e8 | 2021-03-12 20:39:23 +0000 | [diff] [blame] | 600 | "include/perfetto/tracing/string_helpers.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 601 | "include/perfetto/tracing/trace_writer_base.h", |
Alexander Timin | 129bdcf | 2021-04-16 11:36:37 +0000 | [diff] [blame] | 602 | "include/perfetto/tracing/traced_proto.h", |
Alexander Timin | 02d7985 | 2021-01-15 16:31:24 +0000 | [diff] [blame] | 603 | "include/perfetto/tracing/traced_value.h", |
Alexander Timin | 4e669c8 | 2021-02-05 13:48:29 +0000 | [diff] [blame] | 604 | "include/perfetto/tracing/traced_value_forward.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 605 | "include/perfetto/tracing/tracing.h", |
| 606 | "include/perfetto/tracing/tracing_backend.h", |
Eric Seckler | ef4e773 | 2021-03-30 13:55:03 +0100 | [diff] [blame] | 607 | "include/perfetto/tracing/tracing_policy.h", |
Sami Kyostila | 26a0437 | 2020-01-13 12:46:48 +0000 | [diff] [blame] | 608 | "include/perfetto/tracing/track.h", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 609 | "include/perfetto/tracing/track_event.h", |
Alexander Timin | 84af38b | 2021-10-05 17:10:31 +0100 | [diff] [blame] | 610 | "include/perfetto/tracing/track_event_args.h", |
Sami Kyostila | 1eebf5e | 2019-10-24 17:36:15 +0100 | [diff] [blame] | 611 | "include/perfetto/tracing/track_event_category_registry.h", |
Sami Kyostila | be5d0e3 | 2019-11-07 12:53:25 +0000 | [diff] [blame] | 612 | "include/perfetto/tracing/track_event_interned_data_index.h", |
Sami Kyostila | 4ac4a66 | 2020-01-17 11:10:57 +0000 | [diff] [blame] | 613 | "include/perfetto/tracing/track_event_legacy.h", |
Sami Kyostila | dd1cfd7 | 2020-12-14 15:48:25 +0000 | [diff] [blame] | 614 | "include/perfetto/tracing/track_event_state_tracker.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 615 | ], |
| 616 | ) |
| 617 | |
| 618 | # GN target: //src/android_internal:headers |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 619 | perfetto_filegroup( |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 620 | name = "src_android_internal_headers", |
| 621 | srcs = [ |
| 622 | "src/android_internal/atrace_hal.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 623 | "src/android_internal/health_hal.h", |
| 624 | "src/android_internal/incident_service.h", |
Raymond Chiu | 6403a0e | 2021-03-19 12:35:34 +0000 | [diff] [blame] | 625 | "src/android_internal/power_stats.h", |
Hector Dearman | 92d7d11 | 2019-12-05 15:19:57 +0000 | [diff] [blame] | 626 | "src/android_internal/statsd_logging.h", |
Collin Fijalkovich | ef96fb7 | 2021-01-06 16:14:33 -0800 | [diff] [blame] | 627 | "src/android_internal/tracing_service_proxy.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 628 | ], |
| 629 | ) |
| 630 | |
| 631 | # GN target: //src/android_internal:lazy_library_loader |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 632 | perfetto_filegroup( |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 633 | name = "src_android_internal_lazy_library_loader", |
| 634 | srcs = [ |
| 635 | "src/android_internal/lazy_library_loader.cc", |
| 636 | "src/android_internal/lazy_library_loader.h", |
| 637 | ], |
| 638 | ) |
| 639 | |
Lalit Maganti | f2d81b7 | 2020-12-11 01:53:29 +0000 | [diff] [blame] | 640 | # GN target: //src/android_stats:android_stats |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 641 | perfetto_filegroup( |
Lalit Maganti | f2d81b7 | 2020-12-11 01:53:29 +0000 | [diff] [blame] | 642 | name = "src_android_stats_android_stats", |
| 643 | srcs = [ |
| 644 | "src/android_stats/statsd_logging_helper.cc", |
| 645 | "src/android_stats/statsd_logging_helper.h", |
| 646 | ], |
| 647 | ) |
| 648 | |
Lalit Maganti | d37172d | 2020-12-10 19:30:05 +0000 | [diff] [blame] | 649 | # GN target: //src/android_stats:perfetto_atoms |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 650 | perfetto_filegroup( |
Lalit Maganti | d37172d | 2020-12-10 19:30:05 +0000 | [diff] [blame] | 651 | name = "src_android_stats_perfetto_atoms", |
| 652 | srcs = [ |
| 653 | "src/android_stats/perfetto_atoms.h", |
| 654 | ], |
| 655 | ) |
| 656 | |
Primiano Tucci | 44a15be | 2021-11-06 21:40:18 +0000 | [diff] [blame] | 657 | # GN target: //src/base/http:http |
| 658 | perfetto_cc_library( |
| 659 | name = "src_base_http_http", |
| 660 | srcs = [ |
| 661 | "src/base/http/http_server.cc", |
Primiano Tucci | 95dbb70 | 2021-11-25 13:27:04 +0000 | [diff] [blame] | 662 | "src/base/http/sha1.cc", |
Primiano Tucci | 44a15be | 2021-11-06 21:40:18 +0000 | [diff] [blame] | 663 | ], |
| 664 | hdrs = [ |
| 665 | ":include_perfetto_base_base", |
| 666 | ":include_perfetto_ext_base_base", |
| 667 | ":include_perfetto_ext_base_http_http", |
| 668 | ], |
| 669 | deps = [ |
| 670 | ":src_base_base", |
| 671 | ":src_base_unix_socket", |
| 672 | ], |
| 673 | linkstatic = True, |
| 674 | ) |
| 675 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 676 | # GN target: //src/base:base |
Primiano Tucci | 916f4e5 | 2020-10-16 20:40:33 +0200 | [diff] [blame] | 677 | perfetto_cc_library( |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 678 | name = "src_base_base", |
| 679 | srcs = [ |
Daniele Di Proietto | 5ce0d14 | 2021-11-01 18:30:44 +0000 | [diff] [blame] | 680 | "src/base/android_utils.cc", |
Primiano Tucci | f4f2b45 | 2021-11-06 12:14:40 +0000 | [diff] [blame] | 681 | "src/base/base64.cc", |
Primiano Tucci | ab699b7 | 2021-10-15 11:53:00 +0100 | [diff] [blame] | 682 | "src/base/crash_keys.cc", |
Primiano Tucci | 1bc10c6 | 2021-01-06 09:38:07 +0100 | [diff] [blame] | 683 | "src/base/ctrl_c_handler.cc", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 684 | "src/base/event_fd.cc", |
| 685 | "src/base/file_utils.cc", |
Primiano Tucci | ccaf6db | 2021-01-05 22:32:26 +0100 | [diff] [blame] | 686 | "src/base/getopt_compat.cc", |
Primiano Tucci | c7fb63f | 2021-10-11 16:28:05 +0100 | [diff] [blame] | 687 | "src/base/log_ring_buffer.h", |
Primiano Tucci | c64b05f | 2019-12-05 10:30:52 +0000 | [diff] [blame] | 688 | "src/base/logging.cc", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 689 | "src/base/metatrace.cc", |
| 690 | "src/base/paged_memory.cc", |
Primiano Tucci | dac9170 | 2021-04-30 15:47:51 +0100 | [diff] [blame] | 691 | "src/base/periodic_task.cc", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 692 | "src/base/pipe.cc", |
Primiano Tucci | df44031 | 2020-10-30 16:43:58 +0100 | [diff] [blame] | 693 | "src/base/status.cc", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 694 | "src/base/string_splitter.cc", |
| 695 | "src/base/string_utils.cc", |
| 696 | "src/base/string_view.cc", |
Primiano Tucci | 6aa3b75 | 2021-01-05 14:22:43 +0100 | [diff] [blame] | 697 | "src/base/subprocess.cc", |
Primiano Tucci | 8163b2c | 2020-12-21 15:26:04 +0100 | [diff] [blame] | 698 | "src/base/subprocess_posix.cc", |
Primiano Tucci | 6aa3b75 | 2021-01-05 14:22:43 +0100 | [diff] [blame] | 699 | "src/base/subprocess_windows.cc", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 700 | "src/base/temp_file.cc", |
| 701 | "src/base/thread_checker.cc", |
| 702 | "src/base/thread_task_runner.cc", |
| 703 | "src/base/time.cc", |
| 704 | "src/base/unix_task_runner.cc", |
Primiano Tucci | a81d277 | 2020-10-07 00:12:41 +0200 | [diff] [blame] | 705 | "src/base/utils.cc", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 706 | "src/base/uuid.cc", |
Primiano Tucci | ec59013 | 2020-11-16 14:16:44 +0100 | [diff] [blame] | 707 | "src/base/version.cc", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 708 | "src/base/virtual_destructors.cc", |
| 709 | "src/base/waitable_event.cc", |
| 710 | "src/base/watchdog_posix.cc", |
| 711 | ], |
Primiano Tucci | 916f4e5 | 2020-10-16 20:40:33 +0200 | [diff] [blame] | 712 | hdrs = [ |
| 713 | ":include_perfetto_base_base", |
| 714 | ":include_perfetto_ext_base_base", |
| 715 | ], |
Primiano Tucci | ec59013 | 2020-11-16 14:16:44 +0100 | [diff] [blame] | 716 | deps = [ |
| 717 | ] + PERFETTO_CONFIG.deps.version_header, |
Primiano Tucci | 916f4e5 | 2020-10-16 20:40:33 +0200 | [diff] [blame] | 718 | linkstatic = True, |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 719 | ) |
| 720 | |
| 721 | # GN target: //src/base:unix_socket |
Primiano Tucci | 916f4e5 | 2020-10-16 20:40:33 +0200 | [diff] [blame] | 722 | perfetto_cc_library( |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 723 | name = "src_base_unix_socket", |
| 724 | srcs = [ |
| 725 | "src/base/unix_socket.cc", |
| 726 | ], |
Primiano Tucci | 916f4e5 | 2020-10-16 20:40:33 +0200 | [diff] [blame] | 727 | hdrs = [ |
| 728 | ":include_perfetto_base_base", |
| 729 | ":include_perfetto_ext_base_base", |
| 730 | ], |
| 731 | linkstatic = True, |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 732 | ) |
| 733 | |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 734 | perfetto_genrule( |
Primiano Tucci | ec59013 | 2020-11-16 14:16:44 +0100 | [diff] [blame] | 735 | name = "src_base_version_gen_h", |
| 736 | srcs = [ |
| 737 | "CHANGELOG", |
| 738 | ], |
| 739 | outs = [ |
| 740 | "perfetto_version.gen.h", |
| 741 | ], |
Joshua Gilpatrick | 042931b | 2020-12-04 08:55:59 -0800 | [diff] [blame] | 742 | cmd = "$(location gen_version_header_py) --cpp_out=$@ --changelog=$(location CHANGELOG)", |
Primiano Tucci | ec59013 | 2020-11-16 14:16:44 +0100 | [diff] [blame] | 743 | exec_tools = [ |
| 744 | ":gen_version_header_py", |
| 745 | ], |
| 746 | ) |
| 747 | |
Primiano Tucci | c4c063b | 2020-01-27 09:34:46 +0000 | [diff] [blame] | 748 | # GN target: //src/ipc:client |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 749 | perfetto_filegroup( |
Primiano Tucci | c4c063b | 2020-01-27 09:34:46 +0000 | [diff] [blame] | 750 | name = "src_ipc_client", |
| 751 | srcs = [ |
| 752 | "src/ipc/client_impl.cc", |
| 753 | "src/ipc/client_impl.h", |
| 754 | "src/ipc/service_proxy.cc", |
| 755 | ], |
| 756 | ) |
| 757 | |
| 758 | # GN target: //src/ipc:common |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 759 | perfetto_filegroup( |
Primiano Tucci | c4c063b | 2020-01-27 09:34:46 +0000 | [diff] [blame] | 760 | name = "src_ipc_common", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 761 | srcs = [ |
| 762 | "src/ipc/buffered_frame_deserializer.cc", |
| 763 | "src/ipc/buffered_frame_deserializer.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 764 | "src/ipc/deferred.cc", |
Primiano Tucci | c4c063b | 2020-01-27 09:34:46 +0000 | [diff] [blame] | 765 | "src/ipc/virtual_destructors.cc", |
| 766 | ], |
| 767 | ) |
| 768 | |
| 769 | # GN target: //src/ipc:host |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 770 | perfetto_filegroup( |
Primiano Tucci | c4c063b | 2020-01-27 09:34:46 +0000 | [diff] [blame] | 771 | name = "src_ipc_host", |
| 772 | srcs = [ |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 773 | "src/ipc/host_impl.cc", |
| 774 | "src/ipc/host_impl.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 775 | ], |
| 776 | ) |
| 777 | |
Ryan Savitski | dc21888 | 2020-11-16 18:02:02 +0000 | [diff] [blame] | 778 | # GN target: //src/kallsyms:kallsyms |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 779 | perfetto_filegroup( |
Ryan Savitski | dc21888 | 2020-11-16 18:02:02 +0000 | [diff] [blame] | 780 | name = "src_kallsyms_kallsyms", |
| 781 | srcs = [ |
| 782 | "src/kallsyms/kernel_symbol_map.cc", |
| 783 | "src/kallsyms/kernel_symbol_map.h", |
| 784 | "src/kallsyms/lazy_kernel_symbolizer.cc", |
| 785 | "src/kallsyms/lazy_kernel_symbolizer.h", |
| 786 | ], |
| 787 | ) |
| 788 | |
Lalit Maganti | 2939c08 | 2021-03-11 17:25:44 +0000 | [diff] [blame] | 789 | perfetto_cc_proto_descriptor( |
| 790 | name = "src_perfetto_cmd_gen_cc_config_descriptor", |
| 791 | deps = [ |
Lalit Maganti | 8d6d7c1 | 2022-02-24 20:35:23 +0000 | [diff] [blame] | 792 | ":protos_perfetto_config_descriptor", |
Lalit Maganti | 2939c08 | 2021-03-11 17:25:44 +0000 | [diff] [blame] | 793 | ], |
| 794 | outs = [ |
Lalit Maganti | 8d6d7c1 | 2022-02-24 20:35:23 +0000 | [diff] [blame] | 795 | "src/perfetto_cmd/config.descriptor.h", |
Lalit Maganti | 2939c08 | 2021-03-11 17:25:44 +0000 | [diff] [blame] | 796 | ], |
| 797 | ) |
| 798 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 799 | # GN target: //src/perfetto_cmd:perfetto_cmd |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 800 | perfetto_filegroup( |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 801 | name = "src_perfetto_cmd_perfetto_cmd", |
| 802 | srcs = [ |
| 803 | "src/perfetto_cmd/config.cc", |
| 804 | "src/perfetto_cmd/config.h", |
| 805 | "src/perfetto_cmd/packet_writer.cc", |
| 806 | "src/perfetto_cmd/packet_writer.h", |
| 807 | "src/perfetto_cmd/pbtxt_to_pb.cc", |
| 808 | "src/perfetto_cmd/pbtxt_to_pb.h", |
| 809 | "src/perfetto_cmd/perfetto_cmd.cc", |
| 810 | "src/perfetto_cmd/perfetto_cmd.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 811 | "src/perfetto_cmd/rate_limiter.cc", |
| 812 | "src/perfetto_cmd/rate_limiter.h", |
| 813 | ], |
| 814 | ) |
| 815 | |
| 816 | # GN target: //src/perfetto_cmd:trigger_producer |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 817 | perfetto_filegroup( |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 818 | name = "src_perfetto_cmd_trigger_producer", |
| 819 | srcs = [ |
| 820 | "src/perfetto_cmd/trigger_producer.cc", |
| 821 | "src/perfetto_cmd/trigger_producer.h", |
| 822 | ], |
| 823 | ) |
| 824 | |
Florian Mayer | bd88ff8 | 2019-12-18 16:36:37 +0000 | [diff] [blame] | 825 | # GN target: //src/profiling/symbolizer:symbolize_database |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 826 | perfetto_filegroup( |
Florian Mayer | bd88ff8 | 2019-12-18 16:36:37 +0000 | [diff] [blame] | 827 | name = "src_profiling_symbolizer_symbolize_database", |
| 828 | srcs = [ |
| 829 | "src/profiling/symbolizer/symbolize_database.cc", |
| 830 | "src/profiling/symbolizer/symbolize_database.h", |
| 831 | ], |
| 832 | ) |
| 833 | |
| 834 | # GN target: //src/profiling/symbolizer:symbolizer |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 835 | perfetto_filegroup( |
Florian Mayer | bd88ff8 | 2019-12-18 16:36:37 +0000 | [diff] [blame] | 836 | name = "src_profiling_symbolizer_symbolizer", |
| 837 | srcs = [ |
Uwem Wilson | ecda9a2 | 2021-07-01 22:29:17 +0000 | [diff] [blame] | 838 | "src/profiling/symbolizer/breakpad_parser.cc", |
| 839 | "src/profiling/symbolizer/breakpad_parser.h", |
Uwem Wilson | 3e99f33 | 2021-07-09 16:05:29 +0000 | [diff] [blame] | 840 | "src/profiling/symbolizer/breakpad_symbolizer.cc", |
| 841 | "src/profiling/symbolizer/breakpad_symbolizer.h", |
Daniele Di Proietto | 25f8069 | 2021-09-17 10:14:41 +0000 | [diff] [blame] | 842 | "src/profiling/symbolizer/elf.h", |
Florian Mayer | bd88ff8 | 2019-12-18 16:36:37 +0000 | [diff] [blame] | 843 | "src/profiling/symbolizer/local_symbolizer.cc", |
| 844 | "src/profiling/symbolizer/local_symbolizer.h", |
Joshua Gilpatrick | cd34994 | 2020-11-11 15:18:37 -0800 | [diff] [blame] | 845 | "src/profiling/symbolizer/scoped_read_mmap.h", |
| 846 | "src/profiling/symbolizer/scoped_read_mmap_posix.cc", |
Joshua Gilpatrick | d964ea2 | 2020-11-18 11:55:00 -0800 | [diff] [blame] | 847 | "src/profiling/symbolizer/scoped_read_mmap_windows.cc", |
Joshua Gilpatrick | cd34994 | 2020-11-11 15:18:37 -0800 | [diff] [blame] | 848 | "src/profiling/symbolizer/subprocess.h", |
| 849 | "src/profiling/symbolizer/subprocess_posix.cc", |
Joshua Gilpatrick | d964ea2 | 2020-11-18 11:55:00 -0800 | [diff] [blame] | 850 | "src/profiling/symbolizer/subprocess_windows.cc", |
Florian Mayer | bd88ff8 | 2019-12-18 16:36:37 +0000 | [diff] [blame] | 851 | "src/profiling/symbolizer/symbolizer.cc", |
| 852 | "src/profiling/symbolizer/symbolizer.h", |
| 853 | ], |
| 854 | ) |
| 855 | |
Florian Mayer | 3be55fb | 2019-11-22 13:08:47 +0000 | [diff] [blame] | 856 | # GN target: //src/profiling:deobfuscator |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 857 | perfetto_filegroup( |
Florian Mayer | 3be55fb | 2019-11-22 13:08:47 +0000 | [diff] [blame] | 858 | name = "src_profiling_deobfuscator", |
| 859 | srcs = [ |
| 860 | "src/profiling/deobfuscator.cc", |
Florian Mayer | 9a68309 | 2020-12-23 18:30:00 +0000 | [diff] [blame] | 861 | "src/profiling/deobfuscator.h", |
Florian Mayer | 3be55fb | 2019-11-22 13:08:47 +0000 | [diff] [blame] | 862 | ], |
| 863 | ) |
| 864 | |
Primiano Tucci | f18ab81 | 2021-05-14 23:01:19 +0100 | [diff] [blame] | 865 | # GN target: //src/protozero/filtering:bytecode_common |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 866 | perfetto_filegroup( |
Primiano Tucci | f18ab81 | 2021-05-14 23:01:19 +0100 | [diff] [blame] | 867 | name = "src_protozero_filtering_bytecode_common", |
| 868 | srcs = [ |
| 869 | "src/protozero/filtering/filter_bytecode_common.h", |
| 870 | ], |
| 871 | ) |
| 872 | |
Lalit Maganti | ff9b326 | 2021-07-01 22:24:01 +0100 | [diff] [blame] | 873 | # GN target: //src/protozero/filtering:bytecode_generator |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 874 | perfetto_filegroup( |
Lalit Maganti | ff9b326 | 2021-07-01 22:24:01 +0100 | [diff] [blame] | 875 | name = "src_protozero_filtering_bytecode_generator", |
| 876 | srcs = [ |
| 877 | "src/protozero/filtering/filter_bytecode_generator.cc", |
| 878 | "src/protozero/filtering/filter_bytecode_generator.h", |
| 879 | ], |
| 880 | ) |
| 881 | |
Primiano Tucci | f18ab81 | 2021-05-14 23:01:19 +0100 | [diff] [blame] | 882 | # GN target: //src/protozero/filtering:bytecode_parser |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 883 | perfetto_filegroup( |
Primiano Tucci | f18ab81 | 2021-05-14 23:01:19 +0100 | [diff] [blame] | 884 | name = "src_protozero_filtering_bytecode_parser", |
| 885 | srcs = [ |
| 886 | "src/protozero/filtering/filter_bytecode_parser.cc", |
| 887 | "src/protozero/filtering/filter_bytecode_parser.h", |
| 888 | ], |
| 889 | ) |
| 890 | |
Lalit Maganti | ff9b326 | 2021-07-01 22:24:01 +0100 | [diff] [blame] | 891 | # GN target: //src/protozero/filtering:filter_util |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 892 | perfetto_filegroup( |
Lalit Maganti | ff9b326 | 2021-07-01 22:24:01 +0100 | [diff] [blame] | 893 | name = "src_protozero_filtering_filter_util", |
| 894 | srcs = [ |
| 895 | "src/protozero/filtering/filter_util.cc", |
| 896 | "src/protozero/filtering/filter_util.h", |
| 897 | ], |
| 898 | ) |
| 899 | |
Primiano Tucci | f18ab81 | 2021-05-14 23:01:19 +0100 | [diff] [blame] | 900 | # GN target: //src/protozero/filtering:message_filter |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 901 | perfetto_filegroup( |
Primiano Tucci | f18ab81 | 2021-05-14 23:01:19 +0100 | [diff] [blame] | 902 | name = "src_protozero_filtering_message_filter", |
| 903 | srcs = [ |
| 904 | "src/protozero/filtering/message_filter.cc", |
| 905 | "src/protozero/filtering/message_filter.h", |
| 906 | "src/protozero/filtering/message_tokenizer.h", |
| 907 | ], |
| 908 | ) |
| 909 | |
Lalit Maganti | 7d4b92b | 2021-05-20 17:16:51 +0100 | [diff] [blame] | 910 | # GN target: //src/protozero:proto_ring_buffer |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 911 | perfetto_filegroup( |
Lalit Maganti | 7d4b92b | 2021-05-20 17:16:51 +0100 | [diff] [blame] | 912 | name = "src_protozero_proto_ring_buffer", |
| 913 | srcs = [ |
| 914 | "src/protozero/proto_ring_buffer.cc", |
| 915 | "src/protozero/proto_ring_buffer.h", |
| 916 | ], |
| 917 | ) |
| 918 | |
Lalit Maganti | 97d7d47 | 2020-04-07 18:49:17 +0100 | [diff] [blame] | 919 | # GN target: //src/trace_processor/analysis:analysis |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 920 | perfetto_filegroup( |
Lalit Maganti | 97d7d47 | 2020-04-07 18:49:17 +0100 | [diff] [blame] | 921 | name = "src_trace_processor_analysis_analysis", |
| 922 | srcs = [ |
| 923 | "src/trace_processor/analysis/describe_slice.cc", |
| 924 | "src/trace_processor/analysis/describe_slice.h", |
| 925 | ], |
| 926 | ) |
| 927 | |
Lalit Maganti | 2aa8858 | 2019-12-17 17:06:49 +0000 | [diff] [blame] | 928 | # GN target: //src/trace_processor/containers:containers |
Ryan | 7ad6b7d | 2021-04-22 17:03:54 +0100 | [diff] [blame] | 929 | perfetto_cc_library( |
Lalit Maganti | 2aa8858 | 2019-12-17 17:06:49 +0000 | [diff] [blame] | 930 | name = "src_trace_processor_containers_containers", |
| 931 | srcs = [ |
| 932 | "src/trace_processor/containers/bit_vector.cc", |
Lalit Maganti | 2aa8858 | 2019-12-17 17:06:49 +0000 | [diff] [blame] | 933 | "src/trace_processor/containers/bit_vector_iterators.cc", |
Ryan | 7ad6b7d | 2021-04-22 17:03:54 +0100 | [diff] [blame] | 934 | "src/trace_processor/containers/nullable_vector.cc", |
| 935 | "src/trace_processor/containers/row_map.cc", |
| 936 | "src/trace_processor/containers/string_pool.cc", |
| 937 | ], |
| 938 | hdrs = [ |
| 939 | ":include_perfetto_base_base", |
| 940 | ":include_perfetto_protozero_protozero", |
Ryan | 7ad6b7d | 2021-04-22 17:03:54 +0100 | [diff] [blame] | 941 | "src/trace_processor/containers/bit_vector.h", |
Lalit Maganti | 2aa8858 | 2019-12-17 17:06:49 +0000 | [diff] [blame] | 942 | "src/trace_processor/containers/bit_vector_iterators.h", |
Lalit Maganti | 9ecfab3 | 2019-12-17 17:45:38 +0000 | [diff] [blame] | 943 | "src/trace_processor/containers/null_term_string_view.h", |
Lalit Maganti | 7835859 | 2020-06-04 17:13:13 +0100 | [diff] [blame] | 944 | "src/trace_processor/containers/nullable_vector.h", |
Lalit Maganti | 2aa8858 | 2019-12-17 17:06:49 +0000 | [diff] [blame] | 945 | "src/trace_processor/containers/row_map.h", |
Lalit Maganti | 9ecfab3 | 2019-12-17 17:45:38 +0000 | [diff] [blame] | 946 | "src/trace_processor/containers/string_pool.h", |
Lalit Maganti | 2aa8858 | 2019-12-17 17:06:49 +0000 | [diff] [blame] | 947 | ], |
Ryan | 0331ac0 | 2021-04-26 15:41:47 +0100 | [diff] [blame] | 948 | deps = [ |
| 949 | ":src_base_base", |
| 950 | ], |
| 951 | linkstatic = True, |
Lalit Maganti | 2aa8858 | 2019-12-17 17:06:49 +0000 | [diff] [blame] | 952 | ) |
| 953 | |
Lalit Maganti | 1534bb7 | 2021-04-23 14:11:26 +0100 | [diff] [blame] | 954 | # GN target: //src/trace_processor/db:db |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 955 | perfetto_filegroup( |
Lalit Maganti | 1534bb7 | 2021-04-23 14:11:26 +0100 | [diff] [blame] | 956 | name = "src_trace_processor_db_db", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 957 | srcs = [ |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 958 | "src/trace_processor/db/column.cc", |
| 959 | "src/trace_processor/db/column.h", |
Lalit Maganti | 42a5dd9 | 2019-12-12 13:28:00 +0000 | [diff] [blame] | 960 | "src/trace_processor/db/compare.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 961 | "src/trace_processor/db/table.cc", |
| 962 | "src/trace_processor/db/table.h", |
| 963 | "src/trace_processor/db/typed_column.h", |
Lalit Maganti | a8e11e8 | 2020-01-29 11:47:56 +0000 | [diff] [blame] | 964 | "src/trace_processor/db/typed_column_internal.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 965 | ], |
| 966 | ) |
| 967 | |
Lalit Maganti | 1534bb7 | 2021-04-23 14:11:26 +0100 | [diff] [blame] | 968 | # GN target: //src/trace_processor/importers/common:common |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 969 | perfetto_filegroup( |
Lalit Maganti | 1534bb7 | 2021-04-23 14:11:26 +0100 | [diff] [blame] | 970 | name = "src_trace_processor_importers_common_common", |
Lalit Maganti | ccdcbae | 2020-04-15 14:31:40 +0100 | [diff] [blame] | 971 | srcs = [ |
| 972 | "src/trace_processor/importers/common/args_tracker.cc", |
| 973 | "src/trace_processor/importers/common/args_tracker.h", |
Lalit Maganti | 1534bb7 | 2021-04-23 14:11:26 +0100 | [diff] [blame] | 974 | "src/trace_processor/importers/common/chunked_trace_reader.h", |
Lalit Maganti | ccdcbae | 2020-04-15 14:31:40 +0100 | [diff] [blame] | 975 | "src/trace_processor/importers/common/clock_tracker.cc", |
| 976 | "src/trace_processor/importers/common/clock_tracker.h", |
| 977 | "src/trace_processor/importers/common/event_tracker.cc", |
| 978 | "src/trace_processor/importers/common/event_tracker.h", |
AndrewB330 | c879ea4 | 2020-07-29 14:12:39 +0300 | [diff] [blame] | 979 | "src/trace_processor/importers/common/flow_tracker.cc", |
| 980 | "src/trace_processor/importers/common/flow_tracker.h", |
Lalit Maganti | ccdcbae | 2020-04-15 14:31:40 +0100 | [diff] [blame] | 981 | "src/trace_processor/importers/common/global_args_tracker.cc", |
| 982 | "src/trace_processor/importers/common/global_args_tracker.h", |
| 983 | "src/trace_processor/importers/common/process_tracker.cc", |
| 984 | "src/trace_processor/importers/common/process_tracker.h", |
| 985 | "src/trace_processor/importers/common/slice_tracker.cc", |
| 986 | "src/trace_processor/importers/common/slice_tracker.h", |
Isabelle Taylor | e908fe8 | 2020-06-01 01:52:17 +0100 | [diff] [blame] | 987 | "src/trace_processor/importers/common/system_info_tracker.cc", |
| 988 | "src/trace_processor/importers/common/system_info_tracker.h", |
Lalit Maganti | d1a7b03 | 2021-04-23 14:46:57 +0100 | [diff] [blame] | 989 | "src/trace_processor/importers/common/trace_parser.h", |
Lalit Maganti | ccdcbae | 2020-04-15 14:31:40 +0100 | [diff] [blame] | 990 | "src/trace_processor/importers/common/track_tracker.cc", |
| 991 | "src/trace_processor/importers/common/track_tracker.h", |
| 992 | ], |
| 993 | ) |
| 994 | |
Lalit Maganti | 1534bb7 | 2021-04-23 14:11:26 +0100 | [diff] [blame] | 995 | # GN target: //src/trace_processor/importers/memory_tracker:graph_processor |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 996 | perfetto_filegroup( |
Lalit Maganti | 1534bb7 | 2021-04-23 14:11:26 +0100 | [diff] [blame] | 997 | name = "src_trace_processor_importers_memory_tracker_graph_processor", |
| 998 | srcs = [ |
| 999 | "src/trace_processor/importers/memory_tracker/graph.cc", |
| 1000 | "src/trace_processor/importers/memory_tracker/graph_processor.cc", |
| 1001 | "src/trace_processor/importers/memory_tracker/memory_allocator_node_id.cc", |
| 1002 | "src/trace_processor/importers/memory_tracker/raw_memory_graph_node.cc", |
| 1003 | "src/trace_processor/importers/memory_tracker/raw_process_memory_node.cc", |
| 1004 | ], |
| 1005 | ) |
| 1006 | |
Lalit Maganti | 117272f | 2020-09-11 14:01:18 +0100 | [diff] [blame] | 1007 | perfetto_cc_proto_descriptor( |
Andrew Shulaev | ba0a5d1 | 2021-01-07 08:44:50 +0000 | [diff] [blame] | 1008 | name = "src_trace_processor_importers_gen_cc_chrome_track_event_descriptor", |
| 1009 | deps = [ |
Lalit Maganti | c21a4a8 | 2022-02-15 16:08:46 +0000 | [diff] [blame] | 1010 | ":protos_third_party_chromium_descriptor", |
Andrew Shulaev | ba0a5d1 | 2021-01-07 08:44:50 +0000 | [diff] [blame] | 1011 | ], |
| 1012 | outs = [ |
| 1013 | "src/trace_processor/importers/chrome_track_event.descriptor.h", |
| 1014 | ], |
| 1015 | ) |
| 1016 | |
| 1017 | perfetto_cc_proto_descriptor( |
Hector Dearman | a1d7524 | 2020-10-02 09:47:24 +0100 | [diff] [blame] | 1018 | name = "src_trace_processor_importers_gen_cc_config_descriptor", |
| 1019 | deps = [ |
| 1020 | ":protos_perfetto_config_descriptor", |
| 1021 | ], |
| 1022 | outs = [ |
| 1023 | "src/trace_processor/importers/config.descriptor.h", |
| 1024 | ], |
| 1025 | ) |
| 1026 | |
| 1027 | perfetto_cc_proto_descriptor( |
Andrew Shulaev | e72d1a3 | 2021-01-13 12:59:55 +0000 | [diff] [blame] | 1028 | name = "src_trace_processor_importers_gen_cc_track_event_descriptor", |
| 1029 | deps = [ |
Lalit Maganti | c21a4a8 | 2022-02-15 16:08:46 +0000 | [diff] [blame] | 1030 | ":protos_perfetto_trace_track_event_descriptor", |
Andrew Shulaev | e72d1a3 | 2021-01-13 12:59:55 +0000 | [diff] [blame] | 1031 | ], |
| 1032 | outs = [ |
| 1033 | "src/trace_processor/importers/track_event.descriptor.h", |
| 1034 | ], |
| 1035 | ) |
| 1036 | |
Lalit Maganti | 4c328e3 | 2021-11-09 19:29:50 +0000 | [diff] [blame] | 1037 | perfetto_genrule( |
| 1038 | name = "src_trace_processor_metrics_sql_gen_amalgamated_sql_metrics", |
| 1039 | srcs = [ |
| 1040 | "src/trace_processor/metrics/sql/android/android_batt.sql", |
| 1041 | "src/trace_processor/metrics/sql/android/android_camera.sql", |
Lalit Maganti | c16c721 | 2021-12-16 17:32:55 +0000 | [diff] [blame] | 1042 | "src/trace_processor/metrics/sql/android/android_camera_unagg.sql", |
Lalit Maganti | 4c328e3 | 2021-11-09 19:29:50 +0000 | [diff] [blame] | 1043 | "src/trace_processor/metrics/sql/android/android_cpu.sql", |
| 1044 | "src/trace_processor/metrics/sql/android/android_cpu_agg.sql", |
| 1045 | "src/trace_processor/metrics/sql/android/android_cpu_raw_metrics_per_core.sql", |
| 1046 | "src/trace_processor/metrics/sql/android/android_dma_heap.sql", |
Luke Chang | 476e944 | 2021-11-09 23:14:34 +0800 | [diff] [blame] | 1047 | "src/trace_processor/metrics/sql/android/android_dvfs.sql", |
Lalit Maganti | 4c328e3 | 2021-11-09 19:29:50 +0000 | [diff] [blame] | 1048 | "src/trace_processor/metrics/sql/android/android_fastrpc.sql", |
| 1049 | "src/trace_processor/metrics/sql/android/android_gpu.sql", |
| 1050 | "src/trace_processor/metrics/sql/android/android_hwcomposer.sql", |
| 1051 | "src/trace_processor/metrics/sql/android/android_hwui_metric.sql", |
| 1052 | "src/trace_processor/metrics/sql/android/android_hwui_threads.sql", |
| 1053 | "src/trace_processor/metrics/sql/android/android_ion.sql", |
Shihhsun Ho | 2305a1d | 2022-01-13 19:58:02 +0800 | [diff] [blame] | 1054 | "src/trace_processor/metrics/sql/android/android_irq_runtime.sql", |
Lalit Maganti | 4c328e3 | 2021-11-09 19:29:50 +0000 | [diff] [blame] | 1055 | "src/trace_processor/metrics/sql/android/android_jank.sql", |
| 1056 | "src/trace_processor/metrics/sql/android/android_lmk.sql", |
| 1057 | "src/trace_processor/metrics/sql/android/android_lmk_reason.sql", |
| 1058 | "src/trace_processor/metrics/sql/android/android_mem.sql", |
| 1059 | "src/trace_processor/metrics/sql/android/android_mem_unagg.sql", |
| 1060 | "src/trace_processor/metrics/sql/android/android_multiuser.sql", |
| 1061 | "src/trace_processor/metrics/sql/android/android_multiuser_populator.sql", |
Luke Chang | e25d2c4 | 2021-12-07 16:08:32 +0800 | [diff] [blame] | 1062 | "src/trace_processor/metrics/sql/android/android_netperf.sql", |
Lalit Maganti | 4c328e3 | 2021-11-09 19:29:50 +0000 | [diff] [blame] | 1063 | "src/trace_processor/metrics/sql/android/android_package_list.sql", |
| 1064 | "src/trace_processor/metrics/sql/android/android_powrails.sql", |
| 1065 | "src/trace_processor/metrics/sql/android/android_proxy_power.sql", |
Shihhsun Ho | 9cc8d50 | 2022-01-03 13:21:23 +0800 | [diff] [blame] | 1066 | "src/trace_processor/metrics/sql/android/android_rt_runtime.sql", |
Lalit Maganti | 4c328e3 | 2021-11-09 19:29:50 +0000 | [diff] [blame] | 1067 | "src/trace_processor/metrics/sql/android/android_simpleperf.sql", |
| 1068 | "src/trace_processor/metrics/sql/android/android_startup.sql", |
| 1069 | "src/trace_processor/metrics/sql/android/android_surfaceflinger.sql", |
| 1070 | "src/trace_processor/metrics/sql/android/android_sysui_cuj.sql", |
| 1071 | "src/trace_processor/metrics/sql/android/android_sysui_cuj_jank_query.sql", |
Nick Pollard | 54c1fc3 | 2022-02-15 18:21:21 +0000 | [diff] [blame] | 1072 | "src/trace_processor/metrics/sql/android/android_sysui_cuj_surfaceflinger.sql", |
Lalit Maganti | 4c328e3 | 2021-11-09 19:29:50 +0000 | [diff] [blame] | 1073 | "src/trace_processor/metrics/sql/android/android_task_names.sql", |
| 1074 | "src/trace_processor/metrics/sql/android/android_thread_time_in_state.sql", |
| 1075 | "src/trace_processor/metrics/sql/android/android_trace_quality.sql", |
David LeGare | 20d39c4 | 2022-01-20 20:38:43 +0000 | [diff] [blame] | 1076 | "src/trace_processor/metrics/sql/android/android_trusty_workqueues.sql", |
Lalit Maganti | 4c328e3 | 2021-11-09 19:29:50 +0000 | [diff] [blame] | 1077 | "src/trace_processor/metrics/sql/android/composer_execution.sql", |
| 1078 | "src/trace_processor/metrics/sql/android/composition_layers.sql", |
| 1079 | "src/trace_processor/metrics/sql/android/cpu_info.sql", |
| 1080 | "src/trace_processor/metrics/sql/android/display_metrics.sql", |
| 1081 | "src/trace_processor/metrics/sql/android/frame_missed.sql", |
| 1082 | "src/trace_processor/metrics/sql/android/g2d.sql", |
| 1083 | "src/trace_processor/metrics/sql/android/g2d_duration.sql", |
| 1084 | "src/trace_processor/metrics/sql/android/global_counter_span_view.sql", |
| 1085 | "src/trace_processor/metrics/sql/android/gpu_counter_span_view.sql", |
| 1086 | "src/trace_processor/metrics/sql/android/java_heap_histogram.sql", |
| 1087 | "src/trace_processor/metrics/sql/android/java_heap_stats.sql", |
| 1088 | "src/trace_processor/metrics/sql/android/mem_stats_priority_breakdown.sql", |
| 1089 | "src/trace_processor/metrics/sql/android/power_drain_in_watts.sql", |
| 1090 | "src/trace_processor/metrics/sql/android/power_profile_data.sql", |
| 1091 | "src/trace_processor/metrics/sql/android/process_counter_span_view.sql", |
| 1092 | "src/trace_processor/metrics/sql/android/process_mem.sql", |
| 1093 | "src/trace_processor/metrics/sql/android/process_metadata.sql", |
| 1094 | "src/trace_processor/metrics/sql/android/process_oom_score.sql", |
| 1095 | "src/trace_processor/metrics/sql/android/process_unagg_mem_view.sql", |
| 1096 | "src/trace_processor/metrics/sql/android/profiler_smaps.sql", |
| 1097 | "src/trace_processor/metrics/sql/android/span_view_stats.sql", |
| 1098 | "src/trace_processor/metrics/sql/android/startup/hsc.sql", |
| 1099 | "src/trace_processor/metrics/sql/android/startup/launches.sql", |
Lalit Maganti | 186ed0f | 2021-12-02 18:13:15 +0000 | [diff] [blame] | 1100 | "src/trace_processor/metrics/sql/android/startup/launches_maxsdk28.sql", |
| 1101 | "src/trace_processor/metrics/sql/android/startup/launches_minsdk29.sql", |
Lalit Maganti | 4c328e3 | 2021-11-09 19:29:50 +0000 | [diff] [blame] | 1102 | "src/trace_processor/metrics/sql/android/thread_counter_span_view.sql", |
| 1103 | "src/trace_processor/metrics/sql/android/unsymbolized_frames.sql", |
| 1104 | "src/trace_processor/metrics/sql/chrome/actual_power_by_category.sql", |
| 1105 | "src/trace_processor/metrics/sql/chrome/actual_power_by_rail_mode.sql", |
| 1106 | "src/trace_processor/metrics/sql/chrome/chrome_event_metadata.sql", |
| 1107 | "src/trace_processor/metrics/sql/chrome/chrome_processes.sql", |
Omar Elmekkawy | 07d02b0 | 2021-12-14 20:36:36 +0000 | [diff] [blame] | 1108 | "src/trace_processor/metrics/sql/chrome/chrome_thread_slice.sql", |
Lalit Maganti | 4c328e3 | 2021-11-09 19:29:50 +0000 | [diff] [blame] | 1109 | "src/trace_processor/metrics/sql/chrome/cpu_time_by_category.sql", |
| 1110 | "src/trace_processor/metrics/sql/chrome/cpu_time_by_rail_mode.sql", |
| 1111 | "src/trace_processor/metrics/sql/chrome/estimated_power_by_category.sql", |
| 1112 | "src/trace_processor/metrics/sql/chrome/estimated_power_by_rail_mode.sql", |
| 1113 | "src/trace_processor/metrics/sql/chrome/gesture_flow_event.sql", |
| 1114 | "src/trace_processor/metrics/sql/chrome/gesture_flow_event_queuing_delay.sql", |
| 1115 | "src/trace_processor/metrics/sql/chrome/gesture_jank.sql", |
Omar Elmekkawy | c50cd61 | 2022-01-20 16:18:33 +0000 | [diff] [blame] | 1116 | "src/trace_processor/metrics/sql/chrome/jank_utilities.sql", |
Lalit Maganti | 4c328e3 | 2021-11-09 19:29:50 +0000 | [diff] [blame] | 1117 | "src/trace_processor/metrics/sql/chrome/rail_modes.sql", |
| 1118 | "src/trace_processor/metrics/sql/chrome/scroll_flow_event.sql", |
| 1119 | "src/trace_processor/metrics/sql/chrome/scroll_flow_event_queuing_delay.sql", |
| 1120 | "src/trace_processor/metrics/sql/chrome/scroll_jank.sql", |
| 1121 | "src/trace_processor/metrics/sql/chrome/scroll_jank_cause.sql", |
| 1122 | "src/trace_processor/metrics/sql/chrome/scroll_jank_cause_blocking_task.sql", |
| 1123 | "src/trace_processor/metrics/sql/chrome/scroll_jank_cause_blocking_touch_move.sql", |
| 1124 | "src/trace_processor/metrics/sql/chrome/scroll_jank_cause_get_bitmap.sql", |
| 1125 | "src/trace_processor/metrics/sql/chrome/scroll_jank_cause_queuing_delay.sql", |
Omar Elmekkawy | 0d6b346 | 2021-12-09 20:28:02 +0000 | [diff] [blame] | 1126 | "src/trace_processor/metrics/sql/chrome/sufficient_chrome_processes.sql", |
Lalit Maganti | 4c328e3 | 2021-11-09 19:29:50 +0000 | [diff] [blame] | 1127 | "src/trace_processor/metrics/sql/chrome/test_chrome_metric.sql", |
| 1128 | "src/trace_processor/metrics/sql/chrome/touch_flow_event.sql", |
| 1129 | "src/trace_processor/metrics/sql/chrome/touch_flow_event_queuing_delay.sql", |
| 1130 | "src/trace_processor/metrics/sql/chrome/touch_jank.sql", |
| 1131 | "src/trace_processor/metrics/sql/experimental/blink_gc_metric.sql", |
| 1132 | "src/trace_processor/metrics/sql/experimental/chrome_dropped_frames.sql", |
| 1133 | "src/trace_processor/metrics/sql/experimental/frame_times.sql", |
| 1134 | "src/trace_processor/metrics/sql/experimental/media_metric.sql", |
| 1135 | "src/trace_processor/metrics/sql/experimental/reported_by_page.sql", |
| 1136 | "src/trace_processor/metrics/sql/trace_metadata.sql", |
| 1137 | "src/trace_processor/metrics/sql/trace_stats.sql", |
| 1138 | "src/trace_processor/metrics/sql/webview/webview_power_usage.sql", |
| 1139 | ], |
| 1140 | outs = [ |
| 1141 | "src/trace_processor/metrics/sql/amalgamated_sql_metrics.h", |
| 1142 | ], |
| 1143 | cmd = "$(location gen_amalgamated_sql_metrics_py) --cpp_out=$@ $(SRCS)", |
| 1144 | exec_tools = [ |
| 1145 | ":gen_amalgamated_sql_metrics_py", |
| 1146 | ], |
| 1147 | ) |
| 1148 | |
Andrew Shulaev | e72d1a3 | 2021-01-13 12:59:55 +0000 | [diff] [blame] | 1149 | perfetto_cc_proto_descriptor( |
Lalit Maganti | 3b09a3f | 2020-09-14 13:28:44 +0100 | [diff] [blame] | 1150 | name = "src_trace_processor_metrics_gen_cc_all_chrome_metrics_descriptor", |
| 1151 | deps = [ |
| 1152 | ":protos_perfetto_metrics_chrome_descriptor", |
| 1153 | ], |
| 1154 | outs = [ |
Lalit Maganti | 4c328e3 | 2021-11-09 19:29:50 +0000 | [diff] [blame] | 1155 | "src/trace_processor/metrics/all_chrome_metrics.descriptor.h", |
Lalit Maganti | 3b09a3f | 2020-09-14 13:28:44 +0100 | [diff] [blame] | 1156 | ], |
| 1157 | ) |
| 1158 | |
| 1159 | perfetto_cc_proto_descriptor( |
Lalit Maganti | 117272f | 2020-09-11 14:01:18 +0100 | [diff] [blame] | 1160 | name = "src_trace_processor_metrics_gen_cc_metrics_descriptor", |
| 1161 | deps = [ |
| 1162 | ":protos_perfetto_metrics_descriptor", |
| 1163 | ], |
| 1164 | outs = [ |
| 1165 | "src/trace_processor/metrics/metrics.descriptor.h", |
| 1166 | ], |
| 1167 | ) |
| 1168 | |
Lalit Maganti | 4c328e3 | 2021-11-09 19:29:50 +0000 | [diff] [blame] | 1169 | # GN target: //src/trace_processor/metrics:metrics |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 1170 | perfetto_filegroup( |
Lalit Maganti | 4c328e3 | 2021-11-09 19:29:50 +0000 | [diff] [blame] | 1171 | name = "src_trace_processor_metrics_metrics", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1172 | srcs = [ |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1173 | "src/trace_processor/metrics/metrics.cc", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1174 | "src/trace_processor/metrics/metrics.h", |
| 1175 | ], |
| 1176 | ) |
| 1177 | |
Primiano Tucci | a36cccc | 2019-10-27 13:15:04 +0100 | [diff] [blame] | 1178 | # GN target: //src/trace_processor/rpc:httpd |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 1179 | perfetto_filegroup( |
Primiano Tucci | a36cccc | 2019-10-27 13:15:04 +0100 | [diff] [blame] | 1180 | name = "src_trace_processor_rpc_httpd", |
| 1181 | srcs = [ |
| 1182 | "src/trace_processor/rpc/httpd.cc", |
| 1183 | "src/trace_processor/rpc/httpd.h", |
| 1184 | ], |
| 1185 | ) |
| 1186 | |
| 1187 | # GN target: //src/trace_processor/rpc:rpc |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 1188 | perfetto_filegroup( |
Primiano Tucci | a36cccc | 2019-10-27 13:15:04 +0100 | [diff] [blame] | 1189 | name = "src_trace_processor_rpc_rpc", |
| 1190 | srcs = [ |
Primiano Tucci | 4079d1d | 2020-06-30 11:03:38 +0100 | [diff] [blame] | 1191 | "src/trace_processor/rpc/query_result_serializer.cc", |
| 1192 | "src/trace_processor/rpc/query_result_serializer.h", |
Primiano Tucci | a36cccc | 2019-10-27 13:15:04 +0100 | [diff] [blame] | 1193 | "src/trace_processor/rpc/rpc.cc", |
| 1194 | "src/trace_processor/rpc/rpc.h", |
| 1195 | ], |
| 1196 | ) |
| 1197 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1198 | # GN target: //src/trace_processor/sqlite:sqlite |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 1199 | perfetto_filegroup( |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1200 | name = "src_trace_processor_sqlite_sqlite", |
| 1201 | srcs = [ |
Lalit Maganti | 00ca67c | 2021-11-10 14:11:19 +0000 | [diff] [blame] | 1202 | "src/trace_processor/sqlite/create_function.cc", |
| 1203 | "src/trace_processor/sqlite/create_function.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1204 | "src/trace_processor/sqlite/db_sqlite_table.cc", |
| 1205 | "src/trace_processor/sqlite/db_sqlite_table.h", |
Lalit Maganti | 65800eb | 2020-01-30 15:18:59 +0000 | [diff] [blame] | 1206 | "src/trace_processor/sqlite/query_cache.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1207 | "src/trace_processor/sqlite/query_constraints.cc", |
| 1208 | "src/trace_processor/sqlite/query_constraints.h", |
Lalit Maganti | 8251767 | 2021-11-04 23:39:15 +0000 | [diff] [blame] | 1209 | "src/trace_processor/sqlite/register_function.cc", |
| 1210 | "src/trace_processor/sqlite/register_function.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1211 | "src/trace_processor/sqlite/scoped_db.h", |
Lalit Maganti | 6073245 | 2020-02-04 16:02:53 +0000 | [diff] [blame] | 1212 | "src/trace_processor/sqlite/span_join_operator_table.cc", |
| 1213 | "src/trace_processor/sqlite/span_join_operator_table.h", |
Lalit Maganti | 655adae | 2020-04-14 21:01:25 +0100 | [diff] [blame] | 1214 | "src/trace_processor/sqlite/sql_stats_table.cc", |
| 1215 | "src/trace_processor/sqlite/sql_stats_table.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1216 | "src/trace_processor/sqlite/sqlite3_str_split.cc", |
| 1217 | "src/trace_processor/sqlite/sqlite3_str_split.h", |
Lalit Maganti | 655adae | 2020-04-14 21:01:25 +0100 | [diff] [blame] | 1218 | "src/trace_processor/sqlite/sqlite_raw_table.cc", |
| 1219 | "src/trace_processor/sqlite/sqlite_raw_table.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1220 | "src/trace_processor/sqlite/sqlite_table.cc", |
| 1221 | "src/trace_processor/sqlite/sqlite_table.h", |
| 1222 | "src/trace_processor/sqlite/sqlite_utils.h", |
Lalit Maganti | 655adae | 2020-04-14 21:01:25 +0100 | [diff] [blame] | 1223 | "src/trace_processor/sqlite/stats_table.cc", |
| 1224 | "src/trace_processor/sqlite/stats_table.h", |
Lalit Maganti | 6073245 | 2020-02-04 16:02:53 +0000 | [diff] [blame] | 1225 | "src/trace_processor/sqlite/window_operator_table.cc", |
| 1226 | "src/trace_processor/sqlite/window_operator_table.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1227 | ], |
| 1228 | ) |
| 1229 | |
Lalit Maganti | 7010b33 | 2020-02-07 10:51:15 +0000 | [diff] [blame] | 1230 | # GN target: //src/trace_processor/storage:storage |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 1231 | perfetto_filegroup( |
Lalit Maganti | 7010b33 | 2020-02-07 10:51:15 +0000 | [diff] [blame] | 1232 | name = "src_trace_processor_storage_storage", |
| 1233 | srcs = [ |
| 1234 | "src/trace_processor/storage/metadata.h", |
| 1235 | "src/trace_processor/storage/stats.h", |
| 1236 | "src/trace_processor/storage/trace_storage.cc", |
| 1237 | "src/trace_processor/storage/trace_storage.h", |
| 1238 | ], |
| 1239 | ) |
| 1240 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1241 | # GN target: //src/trace_processor/tables:tables |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 1242 | perfetto_filegroup( |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1243 | name = "src_trace_processor_tables_tables", |
| 1244 | srcs = [ |
Lalit Maganti | f1ab24f | 2020-01-07 17:42:26 +0000 | [diff] [blame] | 1245 | "src/trace_processor/tables/android_tables.h", |
Lalit Maganti | 4b3b3ad | 2019-12-04 19:27:35 +0000 | [diff] [blame] | 1246 | "src/trace_processor/tables/counter_tables.h", |
AndrewB330 | c879ea4 | 2020-07-29 14:12:39 +0300 | [diff] [blame] | 1247 | "src/trace_processor/tables/flow_tables.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1248 | "src/trace_processor/tables/macros.h", |
| 1249 | "src/trace_processor/tables/macros_internal.h", |
Witold Fijalkowski | cdaed0e | 2020-10-02 09:47:21 +0200 | [diff] [blame] | 1250 | "src/trace_processor/tables/memory_tables.h", |
Lalit Maganti | ededb0e | 2020-01-08 12:50:34 +0000 | [diff] [blame] | 1251 | "src/trace_processor/tables/metadata_tables.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1252 | "src/trace_processor/tables/profiler_tables.h", |
| 1253 | "src/trace_processor/tables/slice_tables.h", |
Lalit Maganti | 49155ea | 2020-03-31 14:53:33 +0100 | [diff] [blame] | 1254 | "src/trace_processor/tables/table_destructors.cc", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1255 | "src/trace_processor/tables/track_tables.h", |
| 1256 | ], |
| 1257 | ) |
| 1258 | |
Lalit Maganti | 83b53fa | 2020-01-13 12:55:36 +0000 | [diff] [blame] | 1259 | # GN target: //src/trace_processor/types:types |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 1260 | perfetto_filegroup( |
Lalit Maganti | 83b53fa | 2020-01-13 12:55:36 +0000 | [diff] [blame] | 1261 | name = "src_trace_processor_types_types", |
| 1262 | srcs = [ |
Lalit Maganti | 0faddc4 | 2020-04-10 17:58:24 +0100 | [diff] [blame] | 1263 | "src/trace_processor/types/destructible.cc", |
| 1264 | "src/trace_processor/types/destructible.h", |
Lalit Maganti | 83b53fa | 2020-01-13 12:55:36 +0000 | [diff] [blame] | 1265 | "src/trace_processor/types/gfp_flags.cc", |
| 1266 | "src/trace_processor/types/gfp_flags.h", |
Isabelle Taylor | b74a55b | 2020-06-24 13:56:19 +1200 | [diff] [blame] | 1267 | "src/trace_processor/types/softirq_action.h", |
Lalit Maganti | 616bc08 | 2020-04-09 19:03:12 +0100 | [diff] [blame] | 1268 | "src/trace_processor/types/task_state.cc", |
| 1269 | "src/trace_processor/types/task_state.h", |
Luke Chang | 1b90407 | 2022-01-26 09:33:19 +0800 | [diff] [blame] | 1270 | "src/trace_processor/types/tcp_state.h", |
Lalit Maganti | 0faddc4 | 2020-04-10 17:58:24 +0100 | [diff] [blame] | 1271 | "src/trace_processor/types/trace_processor_context.h", |
Lalit Maganti | 83b53fa | 2020-01-13 12:55:36 +0000 | [diff] [blame] | 1272 | "src/trace_processor/types/variadic.cc", |
| 1273 | "src/trace_processor/types/variadic.h", |
Isabelle Taylor | e908fe8 | 2020-06-01 01:52:17 +0100 | [diff] [blame] | 1274 | "src/trace_processor/types/version_number.h", |
Lalit Maganti | 83b53fa | 2020-01-13 12:55:36 +0000 | [diff] [blame] | 1275 | ], |
| 1276 | ) |
| 1277 | |
Lalit Maganti | e710740 | 2020-04-15 13:41:12 +0100 | [diff] [blame] | 1278 | # GN target: //src/trace_processor/util:descriptors |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 1279 | perfetto_filegroup( |
Lalit Maganti | e710740 | 2020-04-15 13:41:12 +0100 | [diff] [blame] | 1280 | name = "src_trace_processor_util_descriptors", |
Stephen Nusko | bc76a6c | 2019-12-03 11:55:27 +0000 | [diff] [blame] | 1281 | srcs = [ |
Lalit Maganti | 3d9bbff | 2020-04-15 13:40:58 +0100 | [diff] [blame] | 1282 | "src/trace_processor/util/descriptors.cc", |
| 1283 | "src/trace_processor/util/descriptors.h", |
Stephen Nusko | bc76a6c | 2019-12-03 11:55:27 +0000 | [diff] [blame] | 1284 | ], |
| 1285 | ) |
| 1286 | |
Lalit Maganti | 69216ec | 2021-05-21 14:10:42 +0100 | [diff] [blame] | 1287 | # GN target: //src/trace_processor/util:gzip |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 1288 | perfetto_filegroup( |
Lalit Maganti | 69216ec | 2021-05-21 14:10:42 +0100 | [diff] [blame] | 1289 | name = "src_trace_processor_util_gzip", |
| 1290 | srcs = [ |
| 1291 | "src/trace_processor/util/gzip_utils.cc", |
| 1292 | "src/trace_processor/util/gzip_utils.h", |
| 1293 | ], |
| 1294 | ) |
| 1295 | |
Alexander Timin | 97d8785 | 2021-05-17 18:01:33 +0000 | [diff] [blame] | 1296 | # GN target: //src/trace_processor/util:interned_message_view |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 1297 | perfetto_filegroup( |
Alexander Timin | 97d8785 | 2021-05-17 18:01:33 +0000 | [diff] [blame] | 1298 | name = "src_trace_processor_util_interned_message_view", |
| 1299 | srcs = [ |
| 1300 | "src/trace_processor/util/interned_message_view.h", |
| 1301 | ], |
| 1302 | ) |
| 1303 | |
Alexander Timin | 5a99b5c | 2021-05-11 22:48:07 +0000 | [diff] [blame] | 1304 | # GN target: //src/trace_processor/util:proto_to_args_parser |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 1305 | perfetto_filegroup( |
Alexander Timin | 5a99b5c | 2021-05-11 22:48:07 +0000 | [diff] [blame] | 1306 | name = "src_trace_processor_util_proto_to_args_parser", |
| 1307 | srcs = [ |
Alexander Timin | 97d8785 | 2021-05-17 18:01:33 +0000 | [diff] [blame] | 1308 | "src/trace_processor/util/debug_annotation_parser.cc", |
| 1309 | "src/trace_processor/util/debug_annotation_parser.h", |
Alexander Timin | 5a99b5c | 2021-05-11 22:48:07 +0000 | [diff] [blame] | 1310 | "src/trace_processor/util/proto_to_args_parser.cc", |
| 1311 | "src/trace_processor/util/proto_to_args_parser.h", |
| 1312 | ], |
| 1313 | ) |
| 1314 | |
Deepanjan Roy | 1e04801 | 2020-09-23 12:49:04 -0400 | [diff] [blame] | 1315 | # GN target: //src/trace_processor/util:protozero_to_text |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 1316 | perfetto_filegroup( |
Deepanjan Roy | 1e04801 | 2020-09-23 12:49:04 -0400 | [diff] [blame] | 1317 | name = "src_trace_processor_util_protozero_to_text", |
| 1318 | srcs = [ |
| 1319 | "src/trace_processor/util/protozero_to_text.cc", |
| 1320 | "src/trace_processor/util/protozero_to_text.h", |
| 1321 | ], |
| 1322 | ) |
| 1323 | |
Lalit Maganti | e710740 | 2020-04-15 13:41:12 +0100 | [diff] [blame] | 1324 | # GN target: //src/trace_processor/util:util |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 1325 | perfetto_filegroup( |
Lalit Maganti | e710740 | 2020-04-15 13:41:12 +0100 | [diff] [blame] | 1326 | name = "src_trace_processor_util_util", |
| 1327 | srcs = [ |
| 1328 | "src/trace_processor/util/status_macros.h", |
| 1329 | ], |
| 1330 | ) |
| 1331 | |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 1332 | # GN target: //src/trace_processor:export_json |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 1333 | perfetto_filegroup( |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 1334 | name = "src_trace_processor_export_json", |
| 1335 | srcs = [ |
| 1336 | "src/trace_processor/export_json.cc", |
| 1337 | "src/trace_processor/export_json.h", |
| 1338 | ], |
| 1339 | ) |
| 1340 | |
Lalit Maganti | 655adae | 2020-04-14 21:01:25 +0100 | [diff] [blame] | 1341 | # GN target: //src/trace_processor:ftrace_descriptors |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 1342 | perfetto_filegroup( |
Lalit Maganti | 655adae | 2020-04-14 21:01:25 +0100 | [diff] [blame] | 1343 | name = "src_trace_processor_ftrace_descriptors", |
| 1344 | srcs = [ |
| 1345 | "src/trace_processor/importers/ftrace/ftrace_descriptors.cc", |
| 1346 | "src/trace_processor/importers/ftrace/ftrace_descriptors.h", |
| 1347 | ], |
| 1348 | ) |
| 1349 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1350 | # GN target: //src/trace_processor:lib |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 1351 | perfetto_filegroup( |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1352 | name = "src_trace_processor_lib", |
| 1353 | srcs = [ |
Stephen Nusko | dd7f6dc | 2020-11-26 17:04:08 -0500 | [diff] [blame] | 1354 | "src/trace_processor/dynamic/ancestor_generator.cc", |
| 1355 | "src/trace_processor/dynamic/ancestor_generator.h", |
Andrii | 824107d | 2020-09-29 10:13:36 +0300 | [diff] [blame] | 1356 | "src/trace_processor/dynamic/connected_flow_generator.cc", |
| 1357 | "src/trace_processor/dynamic/connected_flow_generator.h", |
Zaina Al-Mashni | 5ed83f9 | 2021-09-09 09:08:38 +0000 | [diff] [blame] | 1358 | "src/trace_processor/dynamic/descendant_generator.cc", |
| 1359 | "src/trace_processor/dynamic/descendant_generator.h", |
Lalit Maganti | 1f4712b | 2020-04-14 21:01:13 +0100 | [diff] [blame] | 1360 | "src/trace_processor/dynamic/describe_slice_generator.cc", |
| 1361 | "src/trace_processor/dynamic/describe_slice_generator.h", |
Ryan | ddeb3b1 | 2021-04-12 15:55:17 +0100 | [diff] [blame] | 1362 | "src/trace_processor/dynamic/experimental_annotated_stack_generator.cc", |
| 1363 | "src/trace_processor/dynamic/experimental_annotated_stack_generator.h", |
Lalit Maganti | 1f4712b | 2020-04-14 21:01:13 +0100 | [diff] [blame] | 1364 | "src/trace_processor/dynamic/experimental_counter_dur_generator.cc", |
| 1365 | "src/trace_processor/dynamic/experimental_counter_dur_generator.h", |
| 1366 | "src/trace_processor/dynamic/experimental_flamegraph_generator.cc", |
| 1367 | "src/trace_processor/dynamic/experimental_flamegraph_generator.h", |
Lalit Maganti | 40fbe8e | 2021-06-10 16:21:25 +0100 | [diff] [blame] | 1368 | "src/trace_processor/dynamic/experimental_flat_slice_generator.cc", |
| 1369 | "src/trace_processor/dynamic/experimental_flat_slice_generator.h", |
Lalit Maganti | c59b1bc | 2020-07-28 16:36:58 +0100 | [diff] [blame] | 1370 | "src/trace_processor/dynamic/experimental_sched_upid_generator.cc", |
| 1371 | "src/trace_processor/dynamic/experimental_sched_upid_generator.h", |
Hector Dearman | 5b52376 | 2020-04-16 10:36:32 +0100 | [diff] [blame] | 1372 | "src/trace_processor/dynamic/experimental_slice_layout_generator.cc", |
| 1373 | "src/trace_processor/dynamic/experimental_slice_layout_generator.h", |
Lalit Maganti | 2fc5db2 | 2020-08-13 15:02:47 +0100 | [diff] [blame] | 1374 | "src/trace_processor/dynamic/thread_state_generator.cc", |
| 1375 | "src/trace_processor/dynamic/thread_state_generator.h", |
Primiano Tucci | 4e01f63 | 2020-06-11 17:03:05 +0100 | [diff] [blame] | 1376 | "src/trace_processor/iterator_impl.cc", |
| 1377 | "src/trace_processor/iterator_impl.h", |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 1378 | "src/trace_processor/read_trace.cc", |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 1379 | "src/trace_processor/trace_processor.cc", |
| 1380 | "src/trace_processor/trace_processor_impl.cc", |
| 1381 | "src/trace_processor/trace_processor_impl.h", |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 1382 | ], |
| 1383 | ) |
| 1384 | |
Lalit Maganti | 427b833 | 2020-05-27 16:09:45 +0100 | [diff] [blame] | 1385 | # GN target: //src/trace_processor:metatrace |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 1386 | perfetto_filegroup( |
Lalit Maganti | 427b833 | 2020-05-27 16:09:45 +0100 | [diff] [blame] | 1387 | name = "src_trace_processor_metatrace", |
| 1388 | srcs = [ |
| 1389 | "src/trace_processor/tp_metatrace.cc", |
| 1390 | "src/trace_processor/tp_metatrace.h", |
| 1391 | ], |
| 1392 | ) |
| 1393 | |
Mikhail Khokhlov | 692087e | 2019-12-11 10:53:45 +0000 | [diff] [blame] | 1394 | # GN target: //src/trace_processor:storage_full |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 1395 | perfetto_filegroup( |
Mikhail Khokhlov | 692087e | 2019-12-11 10:53:45 +0000 | [diff] [blame] | 1396 | name = "src_trace_processor_storage_full", |
| 1397 | srcs = [ |
Lalit Maganti | 60af4ef | 2020-04-15 14:27:09 +0100 | [diff] [blame] | 1398 | "src/trace_processor/importers/additional_modules.cc", |
| 1399 | "src/trace_processor/importers/additional_modules.h", |
Mikhail Khokhlov | 81491b9 | 2019-12-19 13:58:22 +0000 | [diff] [blame] | 1400 | "src/trace_processor/importers/ftrace/binder_tracker.cc", |
| 1401 | "src/trace_processor/importers/ftrace/binder_tracker.h", |
Mikhail Khokhlov | 81491b9 | 2019-12-19 13:58:22 +0000 | [diff] [blame] | 1402 | "src/trace_processor/importers/ftrace/ftrace_module_impl.cc", |
| 1403 | "src/trace_processor/importers/ftrace/ftrace_module_impl.h", |
| 1404 | "src/trace_processor/importers/ftrace/ftrace_parser.cc", |
| 1405 | "src/trace_processor/importers/ftrace/ftrace_parser.h", |
| 1406 | "src/trace_processor/importers/ftrace/ftrace_tokenizer.cc", |
| 1407 | "src/trace_processor/importers/ftrace/ftrace_tokenizer.h", |
Lalit Maganti | 697894f | 2019-12-23 14:32:13 +0000 | [diff] [blame] | 1408 | "src/trace_processor/importers/ftrace/rss_stat_tracker.cc", |
| 1409 | "src/trace_processor/importers/ftrace/rss_stat_tracker.h", |
Mikhail Khokhlov | 81491b9 | 2019-12-19 13:58:22 +0000 | [diff] [blame] | 1410 | "src/trace_processor/importers/ftrace/sched_event_tracker.cc", |
| 1411 | "src/trace_processor/importers/ftrace/sched_event_tracker.h", |
Lalit Maganti | 6d1f7b5 | 2020-02-27 13:16:44 +0000 | [diff] [blame] | 1412 | "src/trace_processor/importers/fuchsia/fuchsia_record.cc", |
| 1413 | "src/trace_processor/importers/fuchsia/fuchsia_trace_parser.cc", |
| 1414 | "src/trace_processor/importers/fuchsia/fuchsia_trace_parser.h", |
| 1415 | "src/trace_processor/importers/fuchsia/fuchsia_trace_tokenizer.cc", |
| 1416 | "src/trace_processor/importers/fuchsia/fuchsia_trace_tokenizer.h", |
| 1417 | "src/trace_processor/importers/fuchsia/fuchsia_trace_utils.cc", |
Lalit Maganti | 9d538bd | 2020-03-12 23:48:16 +0000 | [diff] [blame] | 1418 | "src/trace_processor/importers/gzip/gzip_trace_parser.cc", |
| 1419 | "src/trace_processor/importers/gzip/gzip_trace_parser.h", |
Lalit Maganti | 6d1f7b5 | 2020-02-27 13:16:44 +0000 | [diff] [blame] | 1420 | "src/trace_processor/importers/json/json_trace_parser.cc", |
| 1421 | "src/trace_processor/importers/json/json_trace_parser.h", |
| 1422 | "src/trace_processor/importers/json/json_trace_tokenizer.cc", |
| 1423 | "src/trace_processor/importers/json/json_trace_tokenizer.h", |
Mikhail Khokhlov | 9996d5d | 2019-12-17 14:43:17 +0000 | [diff] [blame] | 1424 | "src/trace_processor/importers/proto/android_probes_module.cc", |
| 1425 | "src/trace_processor/importers/proto/android_probes_module.h", |
| 1426 | "src/trace_processor/importers/proto/android_probes_parser.cc", |
| 1427 | "src/trace_processor/importers/proto/android_probes_parser.h", |
Florian Mayer | 19ce395 | 2020-04-08 15:27:32 +0200 | [diff] [blame] | 1428 | "src/trace_processor/importers/proto/android_probes_tracker.cc", |
| 1429 | "src/trace_processor/importers/proto/android_probes_tracker.h", |
Adithya Srinivasan | 526a34e | 2020-11-06 13:40:58 -0800 | [diff] [blame] | 1430 | "src/trace_processor/importers/proto/frame_timeline_event_parser.cc", |
| 1431 | "src/trace_processor/importers/proto/frame_timeline_event_parser.h", |
Adithya Srinivasan | 9b2b1d9 | 2020-05-26 19:00:33 -0700 | [diff] [blame] | 1432 | "src/trace_processor/importers/proto/gpu_event_parser.cc", |
| 1433 | "src/trace_processor/importers/proto/gpu_event_parser.h", |
Mikhail Khokhlov | 692087e | 2019-12-11 10:53:45 +0000 | [diff] [blame] | 1434 | "src/trace_processor/importers/proto/graphics_event_module.cc", |
| 1435 | "src/trace_processor/importers/proto/graphics_event_module.h", |
Adithya Srinivasan | 9b2b1d9 | 2020-05-26 19:00:33 -0700 | [diff] [blame] | 1436 | "src/trace_processor/importers/proto/graphics_frame_event_parser.cc", |
| 1437 | "src/trace_processor/importers/proto/graphics_frame_event_parser.h", |
Mikhail Khokhlov | 6146a58 | 2019-12-17 17:33:47 +0000 | [diff] [blame] | 1438 | "src/trace_processor/importers/proto/heap_graph_module.cc", |
| 1439 | "src/trace_processor/importers/proto/heap_graph_module.h", |
| 1440 | "src/trace_processor/importers/proto/heap_graph_tracker.cc", |
| 1441 | "src/trace_processor/importers/proto/heap_graph_tracker.h", |
Mikhail Khokhlov | 04f6eb7 | 2019-12-17 14:33:11 +0000 | [diff] [blame] | 1442 | "src/trace_processor/importers/proto/system_probes_module.cc", |
| 1443 | "src/trace_processor/importers/proto/system_probes_module.h", |
| 1444 | "src/trace_processor/importers/proto/system_probes_parser.cc", |
| 1445 | "src/trace_processor/importers/proto/system_probes_parser.h", |
Mikhail Khokhlov | 692087e | 2019-12-11 10:53:45 +0000 | [diff] [blame] | 1446 | "src/trace_processor/importers/proto/vulkan_memory_tracker.cc", |
| 1447 | "src/trace_processor/importers/proto/vulkan_memory_tracker.h", |
Lalit Maganti | cda6865 | 2020-04-14 21:01:01 +0100 | [diff] [blame] | 1448 | "src/trace_processor/importers/syscalls/syscall_tracker.cc", |
| 1449 | "src/trace_processor/importers/syscalls/syscalls_aarch32.h", |
| 1450 | "src/trace_processor/importers/syscalls/syscalls_aarch64.h", |
| 1451 | "src/trace_processor/importers/syscalls/syscalls_armeabi.h", |
| 1452 | "src/trace_processor/importers/syscalls/syscalls_x86.h", |
| 1453 | "src/trace_processor/importers/syscalls/syscalls_x86_64.h", |
Lalit Maganti | 2f0b41d | 2020-02-27 13:35:39 +0000 | [diff] [blame] | 1454 | "src/trace_processor/importers/systrace/systrace_line_parser.cc", |
| 1455 | "src/trace_processor/importers/systrace/systrace_line_parser.h", |
| 1456 | "src/trace_processor/importers/systrace/systrace_line_tokenizer.cc", |
| 1457 | "src/trace_processor/importers/systrace/systrace_line_tokenizer.h", |
Mikhail Khokhlov | 81491b9 | 2019-12-19 13:58:22 +0000 | [diff] [blame] | 1458 | "src/trace_processor/importers/systrace/systrace_parser.cc", |
| 1459 | "src/trace_processor/importers/systrace/systrace_parser.h", |
| 1460 | "src/trace_processor/importers/systrace/systrace_trace_parser.cc", |
| 1461 | "src/trace_processor/importers/systrace/systrace_trace_parser.h", |
Mikhail Khokhlov | 692087e | 2019-12-11 10:53:45 +0000 | [diff] [blame] | 1462 | ], |
| 1463 | ) |
| 1464 | |
| 1465 | # GN target: //src/trace_processor:storage_minimal |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 1466 | perfetto_filegroup( |
Mikhail Khokhlov | 692087e | 2019-12-11 10:53:45 +0000 | [diff] [blame] | 1467 | name = "src_trace_processor_storage_minimal", |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 1468 | srcs = [ |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1469 | "src/trace_processor/forwarding_trace_parser.cc", |
| 1470 | "src/trace_processor/forwarding_trace_parser.h", |
Lalit Maganti | 60af4ef | 2020-04-15 14:27:09 +0100 | [diff] [blame] | 1471 | "src/trace_processor/importers/default_modules.cc", |
| 1472 | "src/trace_processor/importers/default_modules.h", |
Mikhail Khokhlov | dd1db00 | 2019-12-09 16:34:07 +0000 | [diff] [blame] | 1473 | "src/trace_processor/importers/ftrace/ftrace_module.cc", |
Eric Seckler | acfe35b | 2019-10-18 15:50:17 +0100 | [diff] [blame] | 1474 | "src/trace_processor/importers/ftrace/ftrace_module.h", |
Eric Seckler | 67e15a9 | 2020-01-03 13:20:46 +0000 | [diff] [blame] | 1475 | "src/trace_processor/importers/fuchsia/fuchsia_record.h", |
Eric Seckler | d8b5208 | 2019-10-17 15:58:38 +0100 | [diff] [blame] | 1476 | "src/trace_processor/importers/fuchsia/fuchsia_trace_utils.h", |
Lalit Maganti | 0bfeb97 | 2020-03-14 03:57:30 +0000 | [diff] [blame] | 1477 | "src/trace_processor/importers/json/json_utils.cc", |
| 1478 | "src/trace_processor/importers/json/json_utils.h", |
Primiano Tucci | 50446cb | 2020-02-14 10:40:23 +0000 | [diff] [blame] | 1479 | "src/trace_processor/importers/ninja/ninja_log_parser.cc", |
| 1480 | "src/trace_processor/importers/ninja/ninja_log_parser.h", |
Michael Eastwood | 413e77a | 2022-02-09 17:02:43 -0800 | [diff] [blame] | 1481 | "src/trace_processor/importers/proto/android_camera_event_module.cc", |
| 1482 | "src/trace_processor/importers/proto/android_camera_event_module.h", |
Lalit Maganti | f7a1a73 | 2020-10-12 15:42:34 +0100 | [diff] [blame] | 1483 | "src/trace_processor/importers/proto/async_track_set_tracker.cc", |
| 1484 | "src/trace_processor/importers/proto/async_track_set_tracker.h", |
Oystein Eftevaag | 8e39ed8 | 2021-03-30 13:52:58 -0700 | [diff] [blame] | 1485 | "src/trace_processor/importers/proto/chrome_string_lookup.cc", |
| 1486 | "src/trace_processor/importers/proto/chrome_string_lookup.h", |
ssid | 7f0c859 | 2021-03-01 13:35:25 -0800 | [diff] [blame] | 1487 | "src/trace_processor/importers/proto/chrome_system_probes_module.cc", |
| 1488 | "src/trace_processor/importers/proto/chrome_system_probes_module.h", |
| 1489 | "src/trace_processor/importers/proto/chrome_system_probes_parser.cc", |
| 1490 | "src/trace_processor/importers/proto/chrome_system_probes_parser.h", |
Tuchila Octavian | 8c795cd | 2021-08-25 09:48:35 +0100 | [diff] [blame] | 1491 | "src/trace_processor/importers/proto/flamegraph_construction_algorithms.cc", |
| 1492 | "src/trace_processor/importers/proto/flamegraph_construction_algorithms.h", |
Lalit Maganti | 05819e2 | 2020-04-14 21:01:38 +0100 | [diff] [blame] | 1493 | "src/trace_processor/importers/proto/heap_profile_tracker.cc", |
| 1494 | "src/trace_processor/importers/proto/heap_profile_tracker.h", |
Sylwester Blaszczyk | 76aa700 | 2020-11-27 15:48:21 +0100 | [diff] [blame] | 1495 | "src/trace_processor/importers/proto/memory_tracker_snapshot_module.cc", |
| 1496 | "src/trace_processor/importers/proto/memory_tracker_snapshot_module.h", |
| 1497 | "src/trace_processor/importers/proto/memory_tracker_snapshot_parser.cc", |
| 1498 | "src/trace_processor/importers/proto/memory_tracker_snapshot_parser.h", |
Lalit Maganti | 8532fc9 | 2021-03-30 15:48:15 +0100 | [diff] [blame] | 1499 | "src/trace_processor/importers/proto/metadata_module.cc", |
| 1500 | "src/trace_processor/importers/proto/metadata_module.h", |
Lalit Maganti | 05819e2 | 2020-04-14 21:01:38 +0100 | [diff] [blame] | 1501 | "src/trace_processor/importers/proto/metadata_tracker.cc", |
| 1502 | "src/trace_processor/importers/proto/metadata_tracker.h", |
Eric Seckler | 7e9dc31 | 2020-01-02 15:17:28 +0000 | [diff] [blame] | 1503 | "src/trace_processor/importers/proto/packet_sequence_state.cc", |
Eric Seckler | 771960c | 2019-10-22 15:37:12 +0100 | [diff] [blame] | 1504 | "src/trace_processor/importers/proto/packet_sequence_state.h", |
Ryan Savitski | c6c7e84 | 2021-03-10 14:26:59 +0000 | [diff] [blame] | 1505 | "src/trace_processor/importers/proto/perf_sample_tracker.cc", |
| 1506 | "src/trace_processor/importers/proto/perf_sample_tracker.h", |
Eric Seckler | f2de4db | 2020-02-14 14:17:20 +0000 | [diff] [blame] | 1507 | "src/trace_processor/importers/proto/profile_module.cc", |
| 1508 | "src/trace_processor/importers/proto/profile_module.h", |
| 1509 | "src/trace_processor/importers/proto/profile_packet_utils.cc", |
| 1510 | "src/trace_processor/importers/proto/profile_packet_utils.h", |
Florian Mayer | 20d069c | 2020-08-13 12:24:32 +0100 | [diff] [blame] | 1511 | "src/trace_processor/importers/proto/profiler_util.cc", |
| 1512 | "src/trace_processor/importers/proto/profiler_util.h", |
Mikhail Khokhlov | 785af54 | 2019-12-06 13:45:10 +0000 | [diff] [blame] | 1513 | "src/trace_processor/importers/proto/proto_importer_module.cc", |
Eric Seckler | de58995 | 2019-10-17 12:46:07 +0100 | [diff] [blame] | 1514 | "src/trace_processor/importers/proto/proto_importer_module.h", |
Eric Seckler | 771960c | 2019-10-22 15:37:12 +0100 | [diff] [blame] | 1515 | "src/trace_processor/importers/proto/proto_incremental_state.h", |
Eric Seckler | 137a467 | 2019-10-24 08:51:14 +0100 | [diff] [blame] | 1516 | "src/trace_processor/importers/proto/proto_trace_parser.cc", |
| 1517 | "src/trace_processor/importers/proto/proto_trace_parser.h", |
Lalit Maganti | eb63b08 | 2020-09-10 14:12:20 +0100 | [diff] [blame] | 1518 | "src/trace_processor/importers/proto/proto_trace_reader.cc", |
| 1519 | "src/trace_processor/importers/proto/proto_trace_reader.h", |
Eric Seckler | 137a467 | 2019-10-24 08:51:14 +0100 | [diff] [blame] | 1520 | "src/trace_processor/importers/proto/proto_trace_tokenizer.cc", |
| 1521 | "src/trace_processor/importers/proto/proto_trace_tokenizer.h", |
Lalit Maganti | 05819e2 | 2020-04-14 21:01:38 +0100 | [diff] [blame] | 1522 | "src/trace_processor/importers/proto/stack_profile_tracker.cc", |
| 1523 | "src/trace_processor/importers/proto/stack_profile_tracker.h", |
Mikhail Khokhlov | 4b5de1a | 2019-12-06 16:33:56 +0000 | [diff] [blame] | 1524 | "src/trace_processor/importers/proto/track_event_module.cc", |
Eric Seckler | de58995 | 2019-10-17 12:46:07 +0100 | [diff] [blame] | 1525 | "src/trace_processor/importers/proto/track_event_module.h", |
Eric Seckler | 771960c | 2019-10-22 15:37:12 +0100 | [diff] [blame] | 1526 | "src/trace_processor/importers/proto/track_event_parser.cc", |
| 1527 | "src/trace_processor/importers/proto/track_event_parser.h", |
| 1528 | "src/trace_processor/importers/proto/track_event_tokenizer.cc", |
| 1529 | "src/trace_processor/importers/proto/track_event_tokenizer.h", |
Lalit Maganti | 62b741f | 2020-12-10 18:24:00 +0000 | [diff] [blame] | 1530 | "src/trace_processor/importers/proto/track_event_tracker.cc", |
| 1531 | "src/trace_processor/importers/proto/track_event_tracker.h", |
Lalit Maganti | cda6865 | 2020-04-14 21:01:01 +0100 | [diff] [blame] | 1532 | "src/trace_processor/importers/syscalls/syscall_tracker.h", |
Lalit Maganti | 31afb82 | 2020-03-05 17:36:57 +0000 | [diff] [blame] | 1533 | "src/trace_processor/importers/systrace/systrace_line.h", |
Eric Seckler | 1a2ea13 | 2019-10-16 11:35:31 +0100 | [diff] [blame] | 1534 | "src/trace_processor/timestamped_trace_piece.h", |
Primiano Tucci | 3264b59 | 2021-11-08 18:20:51 +0000 | [diff] [blame] | 1535 | "src/trace_processor/trace_blob.cc", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1536 | "src/trace_processor/trace_processor_context.cc", |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 1537 | "src/trace_processor/trace_processor_storage.cc", |
| 1538 | "src/trace_processor/trace_processor_storage_impl.cc", |
| 1539 | "src/trace_processor/trace_processor_storage_impl.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1540 | "src/trace_processor/trace_sorter.cc", |
| 1541 | "src/trace_processor/trace_sorter.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1542 | "src/trace_processor/virtual_destructors.cc", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1543 | ], |
| 1544 | ) |
| 1545 | |
| 1546 | # GN target: //src/traced/probes/android_log:android_log |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 1547 | perfetto_filegroup( |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1548 | name = "src_traced_probes_android_log_android_log", |
| 1549 | srcs = [ |
| 1550 | "src/traced/probes/android_log/android_log_data_source.cc", |
| 1551 | "src/traced/probes/android_log/android_log_data_source.h", |
| 1552 | ], |
| 1553 | ) |
| 1554 | |
Rafal Slawik | 8053a68 | 2020-04-08 17:26:40 +0100 | [diff] [blame] | 1555 | # GN target: //src/traced/probes/common:common |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 1556 | perfetto_filegroup( |
Rafal Slawik | 8053a68 | 2020-04-08 17:26:40 +0100 | [diff] [blame] | 1557 | name = "src_traced_probes_common_common", |
| 1558 | srcs = [ |
| 1559 | "src/traced/probes/common/cpu_freq_info.cc", |
| 1560 | "src/traced/probes/common/cpu_freq_info.h", |
| 1561 | ], |
| 1562 | ) |
| 1563 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1564 | # GN target: //src/traced/probes/filesystem:filesystem |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 1565 | perfetto_filegroup( |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1566 | name = "src_traced_probes_filesystem_filesystem", |
| 1567 | srcs = [ |
| 1568 | "src/traced/probes/filesystem/file_scanner.cc", |
| 1569 | "src/traced/probes/filesystem/file_scanner.h", |
| 1570 | "src/traced/probes/filesystem/fs_mount.cc", |
| 1571 | "src/traced/probes/filesystem/fs_mount.h", |
| 1572 | "src/traced/probes/filesystem/inode_file_data_source.cc", |
| 1573 | "src/traced/probes/filesystem/inode_file_data_source.h", |
| 1574 | "src/traced/probes/filesystem/lru_inode_cache.cc", |
| 1575 | "src/traced/probes/filesystem/lru_inode_cache.h", |
| 1576 | "src/traced/probes/filesystem/prefix_finder.cc", |
| 1577 | "src/traced/probes/filesystem/prefix_finder.h", |
| 1578 | "src/traced/probes/filesystem/range_tree.cc", |
| 1579 | "src/traced/probes/filesystem/range_tree.h", |
| 1580 | ], |
| 1581 | ) |
| 1582 | |
Primiano Tucci | 65a4fb1 | 2020-12-21 18:35:15 +0100 | [diff] [blame] | 1583 | # GN target: //src/traced/probes/ftrace/format_parser:format_parser |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 1584 | perfetto_filegroup( |
Primiano Tucci | 65a4fb1 | 2020-12-21 18:35:15 +0100 | [diff] [blame] | 1585 | name = "src_traced_probes_ftrace_format_parser_format_parser", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1586 | srcs = [ |
Primiano Tucci | 65a4fb1 | 2020-12-21 18:35:15 +0100 | [diff] [blame] | 1587 | "src/traced/probes/ftrace/format_parser/format_parser.cc", |
| 1588 | "src/traced/probes/ftrace/format_parser/format_parser.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1589 | ], |
| 1590 | ) |
| 1591 | |
| 1592 | # GN target: //src/traced/probes/ftrace:ftrace |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 1593 | perfetto_filegroup( |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1594 | name = "src_traced_probes_ftrace_ftrace", |
| 1595 | srcs = [ |
| 1596 | "src/traced/probes/ftrace/atrace_hal_wrapper.cc", |
| 1597 | "src/traced/probes/ftrace/atrace_hal_wrapper.h", |
| 1598 | "src/traced/probes/ftrace/atrace_wrapper.cc", |
| 1599 | "src/traced/probes/ftrace/atrace_wrapper.h", |
Lalit Maganti | 44817b6 | 2019-09-19 16:58:23 +0100 | [diff] [blame] | 1600 | "src/traced/probes/ftrace/compact_sched.cc", |
| 1601 | "src/traced/probes/ftrace/compact_sched.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1602 | "src/traced/probes/ftrace/cpu_reader.cc", |
| 1603 | "src/traced/probes/ftrace/cpu_reader.h", |
| 1604 | "src/traced/probes/ftrace/cpu_stats_parser.cc", |
| 1605 | "src/traced/probes/ftrace/cpu_stats_parser.h", |
Hector Dearman | 98a97a8 | 2020-02-20 22:25:33 +0000 | [diff] [blame] | 1606 | "src/traced/probes/ftrace/discover_vendor_tracepoints.cc", |
| 1607 | "src/traced/probes/ftrace/discover_vendor_tracepoints.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1608 | "src/traced/probes/ftrace/event_info.cc", |
| 1609 | "src/traced/probes/ftrace/event_info.h", |
| 1610 | "src/traced/probes/ftrace/event_info_constants.cc", |
| 1611 | "src/traced/probes/ftrace/event_info_constants.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1612 | "src/traced/probes/ftrace/ftrace_config_muxer.cc", |
| 1613 | "src/traced/probes/ftrace/ftrace_config_muxer.h", |
| 1614 | "src/traced/probes/ftrace/ftrace_config_utils.cc", |
| 1615 | "src/traced/probes/ftrace/ftrace_config_utils.h", |
| 1616 | "src/traced/probes/ftrace/ftrace_controller.cc", |
| 1617 | "src/traced/probes/ftrace/ftrace_controller.h", |
| 1618 | "src/traced/probes/ftrace/ftrace_data_source.cc", |
| 1619 | "src/traced/probes/ftrace/ftrace_data_source.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1620 | "src/traced/probes/ftrace/ftrace_metadata.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1621 | "src/traced/probes/ftrace/ftrace_stats.cc", |
| 1622 | "src/traced/probes/ftrace/ftrace_stats.h", |
Hector Dearman | f056695 | 2020-11-19 12:51:01 +0000 | [diff] [blame] | 1623 | "src/traced/probes/ftrace/printk_formats_parser.cc", |
| 1624 | "src/traced/probes/ftrace/printk_formats_parser.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1625 | "src/traced/probes/ftrace/proto_translation_table.cc", |
| 1626 | "src/traced/probes/ftrace/proto_translation_table.h", |
| 1627 | ], |
| 1628 | ) |
| 1629 | |
Ryan Savitski | ec35afb | 2021-01-29 18:39:36 +0000 | [diff] [blame] | 1630 | # GN target: //src/traced/probes/ftrace:ftrace_procfs |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 1631 | perfetto_filegroup( |
Ryan Savitski | ec35afb | 2021-01-29 18:39:36 +0000 | [diff] [blame] | 1632 | name = "src_traced_probes_ftrace_ftrace_procfs", |
| 1633 | srcs = [ |
| 1634 | "src/traced/probes/ftrace/ftrace_procfs.cc", |
| 1635 | "src/traced/probes/ftrace/ftrace_procfs.h", |
| 1636 | ], |
| 1637 | ) |
| 1638 | |
Simon MacMullen | 3d4c54a | 2020-04-17 16:40:53 +0100 | [diff] [blame] | 1639 | # GN target: //src/traced/probes/initial_display_state:initial_display_state |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 1640 | perfetto_filegroup( |
Simon MacMullen | 3d4c54a | 2020-04-17 16:40:53 +0100 | [diff] [blame] | 1641 | name = "src_traced_probes_initial_display_state_initial_display_state", |
| 1642 | srcs = [ |
| 1643 | "src/traced/probes/initial_display_state/initial_display_state_data_source.cc", |
| 1644 | "src/traced/probes/initial_display_state/initial_display_state_data_source.h", |
| 1645 | ], |
| 1646 | ) |
| 1647 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1648 | # GN target: //src/traced/probes/metatrace:metatrace |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 1649 | perfetto_filegroup( |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1650 | name = "src_traced_probes_metatrace_metatrace", |
| 1651 | srcs = [ |
| 1652 | "src/traced/probes/metatrace/metatrace_data_source.cc", |
| 1653 | "src/traced/probes/metatrace/metatrace_data_source.h", |
| 1654 | ], |
| 1655 | ) |
| 1656 | |
| 1657 | # GN target: //src/traced/probes/packages_list:packages_list |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 1658 | perfetto_filegroup( |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1659 | name = "src_traced_probes_packages_list_packages_list", |
| 1660 | srcs = [ |
| 1661 | "src/traced/probes/packages_list/packages_list_data_source.cc", |
| 1662 | "src/traced/probes/packages_list/packages_list_data_source.h", |
| 1663 | ], |
| 1664 | ) |
| 1665 | |
Florian Mayer | 29e1718 | 2020-12-23 10:59:02 +0000 | [diff] [blame] | 1666 | # GN target: //src/traced/probes/packages_list:packages_list_parser |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 1667 | perfetto_filegroup( |
Florian Mayer | 29e1718 | 2020-12-23 10:59:02 +0000 | [diff] [blame] | 1668 | name = "src_traced_probes_packages_list_packages_list_parser", |
| 1669 | srcs = [ |
| 1670 | "src/traced/probes/packages_list/packages_list_parser.cc", |
| 1671 | "src/traced/probes/packages_list/packages_list_parser.h", |
| 1672 | ], |
| 1673 | ) |
| 1674 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1675 | # GN target: //src/traced/probes/power:power |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 1676 | perfetto_filegroup( |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1677 | name = "src_traced_probes_power_power", |
| 1678 | srcs = [ |
| 1679 | "src/traced/probes/power/android_power_data_source.cc", |
| 1680 | "src/traced/probes/power/android_power_data_source.h", |
Chinglin Yu | 819ef1a | 2021-11-15 22:25:05 +0800 | [diff] [blame] | 1681 | "src/traced/probes/power/linux_power_sysfs_data_source.cc", |
| 1682 | "src/traced/probes/power/linux_power_sysfs_data_source.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1683 | ], |
| 1684 | ) |
| 1685 | |
| 1686 | # GN target: //src/traced/probes/ps:ps |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 1687 | perfetto_filegroup( |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1688 | name = "src_traced_probes_ps_ps", |
| 1689 | srcs = [ |
| 1690 | "src/traced/probes/ps/process_stats_data_source.cc", |
| 1691 | "src/traced/probes/ps/process_stats_data_source.h", |
| 1692 | ], |
| 1693 | ) |
| 1694 | |
| 1695 | # GN target: //src/traced/probes/sys_stats:sys_stats |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 1696 | perfetto_filegroup( |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1697 | name = "src_traced_probes_sys_stats_sys_stats", |
| 1698 | srcs = [ |
| 1699 | "src/traced/probes/sys_stats/sys_stats_data_source.cc", |
| 1700 | "src/traced/probes/sys_stats/sys_stats_data_source.h", |
| 1701 | ], |
| 1702 | ) |
| 1703 | |
Rafal Slawik | b013a11 | 2020-04-03 16:12:02 +0100 | [diff] [blame] | 1704 | # GN target: //src/traced/probes/system_info:system_info |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 1705 | perfetto_filegroup( |
Rafal Slawik | b013a11 | 2020-04-03 16:12:02 +0100 | [diff] [blame] | 1706 | name = "src_traced_probes_system_info_system_info", |
| 1707 | srcs = [ |
| 1708 | "src/traced/probes/system_info/system_info_data_source.cc", |
| 1709 | "src/traced/probes/system_info/system_info_data_source.h", |
| 1710 | ], |
| 1711 | ) |
| 1712 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1713 | # GN target: //src/traced/probes:data_source |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 1714 | perfetto_filegroup( |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1715 | name = "src_traced_probes_data_source", |
| 1716 | srcs = [ |
| 1717 | "src/traced/probes/probes_data_source.cc", |
| 1718 | "src/traced/probes/probes_data_source.h", |
| 1719 | ], |
| 1720 | ) |
| 1721 | |
| 1722 | # GN target: //src/traced/probes:probes |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 1723 | perfetto_filegroup( |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1724 | name = "src_traced_probes_probes", |
| 1725 | srcs = [ |
| 1726 | "src/traced/probes/probes.cc", |
| 1727 | ], |
| 1728 | ) |
| 1729 | |
| 1730 | # GN target: //src/traced/probes:probes_src |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 1731 | perfetto_filegroup( |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1732 | name = "src_traced_probes_probes_src", |
| 1733 | srcs = [ |
Kalesh Singh | 340cc0b | 2021-01-14 20:14:27 -0500 | [diff] [blame] | 1734 | "src/traced/probes/kmem_activity_trigger.cc", |
| 1735 | "src/traced/probes/kmem_activity_trigger.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1736 | "src/traced/probes/probes_producer.cc", |
| 1737 | "src/traced/probes/probes_producer.h", |
| 1738 | ], |
| 1739 | ) |
| 1740 | |
| 1741 | # GN target: //src/traced/service:service |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 1742 | perfetto_filegroup( |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1743 | name = "src_traced_service_service", |
| 1744 | srcs = [ |
| 1745 | "src/traced/service/builtin_producer.cc", |
| 1746 | "src/traced/service/builtin_producer.h", |
| 1747 | "src/traced/service/service.cc", |
| 1748 | ], |
| 1749 | ) |
| 1750 | |
Primiano Tucci | c4c063b | 2020-01-27 09:34:46 +0000 | [diff] [blame] | 1751 | # GN target: //src/tracing/consumer_api_deprecated:consumer_api_deprecated |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 1752 | perfetto_filegroup( |
Primiano Tucci | c4c063b | 2020-01-27 09:34:46 +0000 | [diff] [blame] | 1753 | name = "src_tracing_consumer_api_deprecated_consumer_api_deprecated", |
| 1754 | srcs = [ |
| 1755 | "src/tracing/consumer_api_deprecated/consumer_api_deprecated.cc", |
| 1756 | ], |
| 1757 | ) |
| 1758 | |
| 1759 | # GN target: //src/tracing/core:core |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 1760 | perfetto_filegroup( |
Primiano Tucci | c4c063b | 2020-01-27 09:34:46 +0000 | [diff] [blame] | 1761 | name = "src_tracing_core_core", |
| 1762 | srcs = [ |
| 1763 | "src/tracing/core/id_allocator.cc", |
| 1764 | "src/tracing/core/id_allocator.h", |
| 1765 | "src/tracing/core/null_trace_writer.cc", |
| 1766 | "src/tracing/core/null_trace_writer.h", |
| 1767 | "src/tracing/core/patch_list.h", |
| 1768 | "src/tracing/core/shared_memory_abi.cc", |
| 1769 | "src/tracing/core/shared_memory_arbiter_impl.cc", |
| 1770 | "src/tracing/core/shared_memory_arbiter_impl.h", |
Primiano Tucci | c4c063b | 2020-01-27 09:34:46 +0000 | [diff] [blame] | 1771 | "src/tracing/core/trace_packet.cc", |
| 1772 | "src/tracing/core/trace_writer_impl.cc", |
| 1773 | "src/tracing/core/trace_writer_impl.h", |
| 1774 | "src/tracing/core/virtual_destructors.cc", |
| 1775 | ], |
| 1776 | ) |
| 1777 | |
| 1778 | # GN target: //src/tracing/core:service |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 1779 | perfetto_filegroup( |
Primiano Tucci | c4c063b | 2020-01-27 09:34:46 +0000 | [diff] [blame] | 1780 | name = "src_tracing_core_service", |
| 1781 | srcs = [ |
| 1782 | "src/tracing/core/metatrace_writer.cc", |
| 1783 | "src/tracing/core/metatrace_writer.h", |
| 1784 | "src/tracing/core/packet_stream_validator.cc", |
| 1785 | "src/tracing/core/packet_stream_validator.h", |
| 1786 | "src/tracing/core/trace_buffer.cc", |
| 1787 | "src/tracing/core/trace_buffer.h", |
| 1788 | "src/tracing/core/tracing_service_impl.cc", |
| 1789 | "src/tracing/core/tracing_service_impl.h", |
| 1790 | ], |
| 1791 | ) |
| 1792 | |
| 1793 | # GN target: //src/tracing/ipc/consumer:consumer |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 1794 | perfetto_filegroup( |
Primiano Tucci | c4c063b | 2020-01-27 09:34:46 +0000 | [diff] [blame] | 1795 | name = "src_tracing_ipc_consumer_consumer", |
| 1796 | srcs = [ |
| 1797 | "src/tracing/ipc/consumer/consumer_ipc_client_impl.cc", |
| 1798 | "src/tracing/ipc/consumer/consumer_ipc_client_impl.h", |
| 1799 | ], |
| 1800 | ) |
| 1801 | |
| 1802 | # GN target: //src/tracing/ipc/producer:producer |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 1803 | perfetto_filegroup( |
Primiano Tucci | c4c063b | 2020-01-27 09:34:46 +0000 | [diff] [blame] | 1804 | name = "src_tracing_ipc_producer_producer", |
| 1805 | srcs = [ |
| 1806 | "src/tracing/ipc/producer/producer_ipc_client_impl.cc", |
| 1807 | "src/tracing/ipc/producer/producer_ipc_client_impl.h", |
| 1808 | ], |
| 1809 | ) |
| 1810 | |
| 1811 | # GN target: //src/tracing/ipc/service:service |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 1812 | perfetto_filegroup( |
Primiano Tucci | c4c063b | 2020-01-27 09:34:46 +0000 | [diff] [blame] | 1813 | name = "src_tracing_ipc_service_service", |
| 1814 | srcs = [ |
| 1815 | "src/tracing/ipc/service/consumer_ipc_service.cc", |
| 1816 | "src/tracing/ipc/service/consumer_ipc_service.h", |
| 1817 | "src/tracing/ipc/service/producer_ipc_service.cc", |
| 1818 | "src/tracing/ipc/service/producer_ipc_service.h", |
| 1819 | "src/tracing/ipc/service/service_ipc_host_impl.cc", |
| 1820 | "src/tracing/ipc/service/service_ipc_host_impl.h", |
| 1821 | ], |
| 1822 | ) |
| 1823 | |
| 1824 | # GN target: //src/tracing/ipc:common |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 1825 | perfetto_filegroup( |
Primiano Tucci | c4c063b | 2020-01-27 09:34:46 +0000 | [diff] [blame] | 1826 | name = "src_tracing_ipc_common", |
| 1827 | srcs = [ |
Eric Seckler | 14a22db | 2020-02-03 13:47:08 +0000 | [diff] [blame] | 1828 | "src/tracing/ipc/memfd.cc", |
| 1829 | "src/tracing/ipc/memfd.h", |
Primiano Tucci | c4c063b | 2020-01-27 09:34:46 +0000 | [diff] [blame] | 1830 | "src/tracing/ipc/posix_shared_memory.cc", |
| 1831 | "src/tracing/ipc/posix_shared_memory.h", |
Primiano Tucci | 5f3008e | 2021-05-19 21:34:45 +0100 | [diff] [blame] | 1832 | "src/tracing/ipc/shared_memory_windows.cc", |
| 1833 | "src/tracing/ipc/shared_memory_windows.h", |
Primiano Tucci | c4c063b | 2020-01-27 09:34:46 +0000 | [diff] [blame] | 1834 | ], |
| 1835 | ) |
| 1836 | |
Primiano Tucci | 8761a31 | 2021-11-25 17:17:23 +0000 | [diff] [blame] | 1837 | # GN target: //src/tracing/ipc:default_socket |
| 1838 | perfetto_filegroup( |
| 1839 | name = "src_tracing_ipc_default_socket", |
| 1840 | srcs = [ |
| 1841 | "src/tracing/ipc/default_socket.cc", |
| 1842 | ], |
| 1843 | ) |
| 1844 | |
Primiano Tucci | 3feec55 | 2020-02-04 11:14:42 +0000 | [diff] [blame] | 1845 | # GN target: //src/tracing:client_api_without_backends |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 1846 | perfetto_filegroup( |
Primiano Tucci | 3feec55 | 2020-02-04 11:14:42 +0000 | [diff] [blame] | 1847 | name = "src_tracing_client_api_without_backends", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 1848 | srcs = [ |
Sami Kyostila | dd1cfd7 | 2020-12-14 15:48:25 +0000 | [diff] [blame] | 1849 | "src/tracing/console_interceptor.cc", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 1850 | "src/tracing/data_source.cc", |
Sami Kyostila | 29ff844 | 2019-11-26 16:05:13 +0000 | [diff] [blame] | 1851 | "src/tracing/debug_annotation.cc", |
Sami Kyostila | 10b270a | 2019-11-19 19:12:03 +0000 | [diff] [blame] | 1852 | "src/tracing/event_context.cc", |
Sami Kyostila | 927cd76 | 2020-12-01 17:09:14 +0000 | [diff] [blame] | 1853 | "src/tracing/interceptor.cc", |
Alexander Timin | ab5cba1 | 2021-01-19 17:23:19 +0000 | [diff] [blame] | 1854 | "src/tracing/internal/checked_scope.cc", |
Sami Kyostila | 927cd76 | 2020-12-01 17:09:14 +0000 | [diff] [blame] | 1855 | "src/tracing/internal/interceptor_trace_writer.cc", |
Eric Seckler | 36881d1 | 2021-02-10 10:55:31 +0000 | [diff] [blame] | 1856 | "src/tracing/internal/tracing_backend_fake.cc", |
Sami Kyostila | 19e28c8 | 2021-01-14 17:15:27 +0000 | [diff] [blame] | 1857 | "src/tracing/internal/tracing_muxer_fake.cc", |
| 1858 | "src/tracing/internal/tracing_muxer_fake.h", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 1859 | "src/tracing/internal/tracing_muxer_impl.cc", |
| 1860 | "src/tracing/internal/tracing_muxer_impl.h", |
Sami Kyostila | 1eebf5e | 2019-10-24 17:36:15 +0100 | [diff] [blame] | 1861 | "src/tracing/internal/track_event_internal.cc", |
Alexander Timin | 8ef1db3 | 2021-04-30 12:52:59 +0000 | [diff] [blame] | 1862 | "src/tracing/internal/track_event_interned_fields.cc", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 1863 | "src/tracing/platform.cc", |
Alexander Timin | 02d7985 | 2021-01-15 16:31:24 +0000 | [diff] [blame] | 1864 | "src/tracing/traced_value.cc", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 1865 | "src/tracing/tracing.cc", |
Eric Seckler | ef4e773 | 2021-03-30 13:55:03 +0100 | [diff] [blame] | 1866 | "src/tracing/tracing_policy.cc", |
Sami Kyostila | 26a0437 | 2020-01-13 12:46:48 +0000 | [diff] [blame] | 1867 | "src/tracing/track.cc", |
Sami Kyostila | 1eebf5e | 2019-10-24 17:36:15 +0100 | [diff] [blame] | 1868 | "src/tracing/track_event_category_registry.cc", |
Sami Kyostila | 91f38e4 | 2020-02-03 13:59:23 +0000 | [diff] [blame] | 1869 | "src/tracing/track_event_legacy.cc", |
Sami Kyostila | dd1cfd7 | 2020-12-14 15:48:25 +0000 | [diff] [blame] | 1870 | "src/tracing/track_event_state_tracker.cc", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 1871 | "src/tracing/virtual_destructors.cc", |
| 1872 | ], |
| 1873 | ) |
| 1874 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1875 | # GN target: //src/tracing:common |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 1876 | perfetto_filegroup( |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1877 | name = "src_tracing_common", |
| 1878 | srcs = [ |
| 1879 | "src/tracing/trace_writer_base.cc", |
| 1880 | ], |
| 1881 | ) |
| 1882 | |
Primiano Tucci | 55b4d91 | 2020-01-28 11:17:51 +0000 | [diff] [blame] | 1883 | # GN target: //src/tracing:in_process_backend |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 1884 | perfetto_filegroup( |
Primiano Tucci | 55b4d91 | 2020-01-28 11:17:51 +0000 | [diff] [blame] | 1885 | name = "src_tracing_in_process_backend", |
| 1886 | srcs = [ |
| 1887 | "src/tracing/internal/in_process_tracing_backend.cc", |
| 1888 | ], |
| 1889 | ) |
| 1890 | |
Primiano Tucci | 10c9e9e | 2021-01-08 13:04:40 +0100 | [diff] [blame] | 1891 | # GN target: //src/tracing:platform_impl |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 1892 | perfetto_filegroup( |
Primiano Tucci | 10c9e9e | 2021-01-08 13:04:40 +0100 | [diff] [blame] | 1893 | name = "src_tracing_platform_impl", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 1894 | srcs = [ |
| 1895 | "src/tracing/platform_posix.cc", |
Primiano Tucci | 5f3008e | 2021-05-19 21:34:45 +0100 | [diff] [blame] | 1896 | "src/tracing/platform_windows.cc", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 1897 | ], |
| 1898 | ) |
| 1899 | |
Primiano Tucci | 3feec55 | 2020-02-04 11:14:42 +0000 | [diff] [blame] | 1900 | # GN target: //src/tracing:system_backend |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 1901 | perfetto_filegroup( |
Primiano Tucci | 3feec55 | 2020-02-04 11:14:42 +0000 | [diff] [blame] | 1902 | name = "src_tracing_system_backend", |
Primiano Tucci | 55b4d91 | 2020-01-28 11:17:51 +0000 | [diff] [blame] | 1903 | srcs = [ |
| 1904 | "src/tracing/internal/system_tracing_backend.cc", |
| 1905 | ], |
| 1906 | ) |
| 1907 | |
Lalit Maganti | 9c2318c | 2021-05-20 16:21:41 +0100 | [diff] [blame] | 1908 | perfetto_cc_proto_descriptor( |
| 1909 | name = "tools_trace_to_text_gen_cc_trace_descriptor", |
| 1910 | deps = [ |
| 1911 | ":protos_perfetto_trace_descriptor", |
| 1912 | ], |
| 1913 | outs = [ |
| 1914 | "tools/trace_to_text/trace.descriptor.h", |
| 1915 | ], |
| 1916 | ) |
| 1917 | |
Mohit Saini | dc2a57b | 2022-03-04 15:17:25 +0000 | [diff] [blame] | 1918 | # GN target: //tools/trace_to_text:lib |
| 1919 | perfetto_filegroup( |
| 1920 | name = "tools_trace_to_text_lib", |
| 1921 | srcs = [ |
| 1922 | "tools/trace_to_text/deobfuscate_profile.cc", |
| 1923 | "tools/trace_to_text/deobfuscate_profile.h", |
| 1924 | "tools/trace_to_text/symbolize_profile.cc", |
| 1925 | "tools/trace_to_text/symbolize_profile.h", |
| 1926 | "tools/trace_to_text/trace_to_hprof.cc", |
| 1927 | "tools/trace_to_text/trace_to_hprof.h", |
| 1928 | "tools/trace_to_text/trace_to_json.cc", |
| 1929 | "tools/trace_to_text/trace_to_json.h", |
| 1930 | "tools/trace_to_text/trace_to_profile.cc", |
| 1931 | "tools/trace_to_text/trace_to_profile.h", |
| 1932 | "tools/trace_to_text/trace_to_systrace.cc", |
| 1933 | "tools/trace_to_text/trace_to_systrace.h", |
| 1934 | "tools/trace_to_text/trace_to_text.cc", |
| 1935 | "tools/trace_to_text/trace_to_text.h", |
| 1936 | ], |
| 1937 | ) |
| 1938 | |
| 1939 | # GN target: //tools/trace_to_text:main |
| 1940 | perfetto_filegroup( |
| 1941 | name = "tools_trace_to_text_main", |
| 1942 | srcs = [ |
| 1943 | "tools/trace_to_text/main.cc", |
| 1944 | ], |
| 1945 | ) |
| 1946 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1947 | # GN target: //tools/trace_to_text:pprofbuilder |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 1948 | perfetto_filegroup( |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1949 | name = "tools_trace_to_text_pprofbuilder", |
| 1950 | srcs = [ |
| 1951 | "tools/trace_to_text/pprof_builder.cc", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1952 | ], |
| 1953 | ) |
| 1954 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1955 | # GN target: //tools/trace_to_text:utils |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 1956 | perfetto_filegroup( |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1957 | name = "tools_trace_to_text_utils", |
| 1958 | srcs = [ |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1959 | "tools/trace_to_text/utils.cc", |
| 1960 | "tools/trace_to_text/utils.h", |
| 1961 | ], |
| 1962 | ) |
| 1963 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 1964 | # ############################################################################## |
| 1965 | # Proto libraries |
| 1966 | # ############################################################################## |
| 1967 | |
Lalit Maganti | 8d6d7c1 | 2022-02-24 20:35:23 +0000 | [diff] [blame] | 1968 | # GN target: [//protos/perfetto/config:source_set] |
| 1969 | perfetto_proto_library( |
| 1970 | name = "config_proto", |
| 1971 | visibility = PERFETTO_CONFIG.public_visibility, |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1972 | deps = [ |
Lalit Maganti | e69b1dc | 2022-02-25 20:21:57 +0000 | [diff] [blame] | 1973 | ":protos_perfetto_common_protos", |
| 1974 | ":protos_perfetto_config_android_protos", |
| 1975 | ":protos_perfetto_config_ftrace_protos", |
| 1976 | ":protos_perfetto_config_gpu_protos", |
| 1977 | ":protos_perfetto_config_inode_file_protos", |
| 1978 | ":protos_perfetto_config_interceptors_protos", |
| 1979 | ":protos_perfetto_config_power_protos", |
| 1980 | ":protos_perfetto_config_process_stats_protos", |
| 1981 | ":protos_perfetto_config_profiling_protos", |
Lalit Maganti | 8d6d7c1 | 2022-02-24 20:35:23 +0000 | [diff] [blame] | 1982 | ":protos_perfetto_config_protos", |
Lalit Maganti | e69b1dc | 2022-02-25 20:21:57 +0000 | [diff] [blame] | 1983 | ":protos_perfetto_config_sys_stats_protos", |
| 1984 | ":protos_perfetto_config_track_event_protos", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1985 | ], |
| 1986 | ) |
| 1987 | |
Lalit Maganti | e69b1dc | 2022-02-25 20:21:57 +0000 | [diff] [blame] | 1988 | # GN target: [//protos/perfetto/config:source_set] |
Lalit Maganti | 16c28ca | 2022-02-17 12:20:07 +0000 | [diff] [blame] | 1989 | perfetto_cc_proto_library( |
Lalit Maganti | 8d6d7c1 | 2022-02-24 20:35:23 +0000 | [diff] [blame] | 1990 | name = "config_cc_proto", |
| 1991 | visibility = PERFETTO_CONFIG.public_visibility, |
| 1992 | deps = [ |
| 1993 | ":config_proto", |
| 1994 | ], |
| 1995 | ) |
| 1996 | |
Lalit Maganti | e69b1dc | 2022-02-25 20:21:57 +0000 | [diff] [blame] | 1997 | # GN target: [//protos/perfetto/config:source_set] |
Lalit Maganti | 8d6d7c1 | 2022-02-24 20:35:23 +0000 | [diff] [blame] | 1998 | perfetto_java_proto_library( |
| 1999 | name = "config_java_proto", |
| 2000 | visibility = PERFETTO_CONFIG.public_visibility, |
| 2001 | deps = [ |
| 2002 | ":config_proto", |
| 2003 | ], |
| 2004 | ) |
| 2005 | |
Lalit Maganti | e69b1dc | 2022-02-25 20:21:57 +0000 | [diff] [blame] | 2006 | # GN target: [//protos/perfetto/config:source_set] |
| 2007 | perfetto_java_lite_proto_library( |
Lalit Maganti | 8d6d7c1 | 2022-02-24 20:35:23 +0000 | [diff] [blame] | 2008 | name = "config_java_proto_lite", |
| 2009 | visibility = PERFETTO_CONFIG.public_visibility, |
| 2010 | deps = [ |
| 2011 | ":config_proto", |
| 2012 | ], |
| 2013 | ) |
| 2014 | |
| 2015 | # GN target: [//protos/perfetto/trace:non_minimal_source_set, //protos/perfetto/trace:minimal_source_set] |
| 2016 | perfetto_proto_library( |
| 2017 | name = "trace_proto", |
| 2018 | visibility = PERFETTO_CONFIG.public_visibility, |
| 2019 | deps = [ |
Lalit Maganti | e69b1dc | 2022-02-25 20:21:57 +0000 | [diff] [blame] | 2020 | ":protos_perfetto_common_protos", |
| 2021 | ":protos_perfetto_config_android_protos", |
| 2022 | ":protos_perfetto_config_ftrace_protos", |
| 2023 | ":protos_perfetto_config_gpu_protos", |
| 2024 | ":protos_perfetto_config_inode_file_protos", |
| 2025 | ":protos_perfetto_config_interceptors_protos", |
| 2026 | ":protos_perfetto_config_power_protos", |
| 2027 | ":protos_perfetto_config_process_stats_protos", |
| 2028 | ":protos_perfetto_config_profiling_protos", |
| 2029 | ":protos_perfetto_config_protos", |
| 2030 | ":protos_perfetto_config_sys_stats_protos", |
| 2031 | ":protos_perfetto_config_track_event_protos", |
| 2032 | ":protos_perfetto_trace_android_protos", |
| 2033 | ":protos_perfetto_trace_chrome_protos", |
| 2034 | ":protos_perfetto_trace_filesystem_protos", |
| 2035 | ":protos_perfetto_trace_ftrace_protos", |
| 2036 | ":protos_perfetto_trace_gpu_protos", |
| 2037 | ":protos_perfetto_trace_interned_data_protos", |
Lalit Maganti | 8d6d7c1 | 2022-02-24 20:35:23 +0000 | [diff] [blame] | 2038 | ":protos_perfetto_trace_minimal_protos", |
| 2039 | ":protos_perfetto_trace_non_minimal_protos", |
Lalit Maganti | e69b1dc | 2022-02-25 20:21:57 +0000 | [diff] [blame] | 2040 | ":protos_perfetto_trace_perfetto_protos", |
| 2041 | ":protos_perfetto_trace_power_protos", |
| 2042 | ":protos_perfetto_trace_profiling_protos", |
| 2043 | ":protos_perfetto_trace_ps_protos", |
| 2044 | ":protos_perfetto_trace_sys_stats_protos", |
| 2045 | ":protos_perfetto_trace_system_info_protos", |
| 2046 | ":protos_perfetto_trace_track_event_protos", |
Igor Kraskevich | 49b4288 | 2022-03-21 13:03:02 +0000 | [diff] [blame^] | 2047 | ":protos_perfetto_trace_translation_protos", |
Lalit Maganti | 8d6d7c1 | 2022-02-24 20:35:23 +0000 | [diff] [blame] | 2048 | ], |
| 2049 | ) |
| 2050 | |
Lalit Maganti | e69b1dc | 2022-02-25 20:21:57 +0000 | [diff] [blame] | 2051 | # GN target: [//protos/perfetto/trace:non_minimal_source_set, //protos/perfetto/trace:minimal_source_set] |
Lalit Maganti | 8d6d7c1 | 2022-02-24 20:35:23 +0000 | [diff] [blame] | 2052 | perfetto_cc_proto_library( |
| 2053 | name = "trace_cc_proto", |
| 2054 | visibility = PERFETTO_CONFIG.public_visibility, |
| 2055 | deps = [ |
| 2056 | ":trace_proto", |
| 2057 | ], |
| 2058 | ) |
| 2059 | |
Lalit Maganti | e69b1dc | 2022-02-25 20:21:57 +0000 | [diff] [blame] | 2060 | # GN target: [//protos/perfetto/trace:non_minimal_source_set, //protos/perfetto/trace:minimal_source_set] |
Lalit Maganti | 8d6d7c1 | 2022-02-24 20:35:23 +0000 | [diff] [blame] | 2061 | perfetto_java_proto_library( |
| 2062 | name = "trace_java_proto", |
| 2063 | visibility = PERFETTO_CONFIG.public_visibility, |
| 2064 | deps = [ |
| 2065 | ":trace_proto", |
| 2066 | ], |
| 2067 | ) |
| 2068 | |
Lalit Maganti | e69b1dc | 2022-02-25 20:21:57 +0000 | [diff] [blame] | 2069 | # GN target: [//protos/perfetto/trace:non_minimal_source_set, //protos/perfetto/trace:minimal_source_set] |
| 2070 | perfetto_java_lite_proto_library( |
Lalit Maganti | 8d6d7c1 | 2022-02-24 20:35:23 +0000 | [diff] [blame] | 2071 | name = "trace_java_proto_lite", |
| 2072 | visibility = PERFETTO_CONFIG.public_visibility, |
| 2073 | deps = [ |
| 2074 | ":trace_proto", |
| 2075 | ], |
| 2076 | ) |
| 2077 | |
Lalit Maganti | 3a7d753 | 2022-03-02 18:11:06 +0000 | [diff] [blame] | 2078 | # GN target: [//protos/perfetto/metrics:source_set] |
| 2079 | perfetto_proto_library( |
| 2080 | name = "metrics_proto", |
| 2081 | visibility = PERFETTO_CONFIG.public_visibility, |
| 2082 | deps = [ |
| 2083 | ":protos_perfetto_metrics_android_protos", |
| 2084 | ":protos_perfetto_metrics_protos", |
| 2085 | ], |
| 2086 | ) |
| 2087 | |
| 2088 | # GN target: [//protos/perfetto/metrics:source_set] |
| 2089 | perfetto_cc_proto_library( |
| 2090 | name = "metrics_cc_proto", |
| 2091 | visibility = PERFETTO_CONFIG.public_visibility, |
| 2092 | deps = [ |
| 2093 | ":metrics_proto", |
| 2094 | ], |
| 2095 | ) |
| 2096 | |
| 2097 | # GN target: [//protos/perfetto/metrics:source_set] |
| 2098 | perfetto_java_proto_library( |
| 2099 | name = "metrics_java_proto", |
| 2100 | visibility = PERFETTO_CONFIG.public_visibility, |
| 2101 | deps = [ |
| 2102 | ":metrics_proto", |
| 2103 | ], |
| 2104 | ) |
| 2105 | |
| 2106 | # GN target: [//protos/perfetto/metrics:source_set] |
| 2107 | perfetto_java_lite_proto_library( |
| 2108 | name = "metrics_java_proto_lite", |
| 2109 | visibility = PERFETTO_CONFIG.public_visibility, |
| 2110 | deps = [ |
| 2111 | ":metrics_proto", |
| 2112 | ], |
| 2113 | ) |
| 2114 | |
| 2115 | # GN target: [//protos/third_party/chromium:source_set] |
| 2116 | perfetto_proto_library( |
| 2117 | name = "chromium_proto", |
| 2118 | visibility = PERFETTO_CONFIG.public_visibility, |
| 2119 | deps = [ |
| 2120 | ":protos_perfetto_trace_track_event_protos", |
| 2121 | ":protos_third_party_chromium_protos", |
| 2122 | ], |
| 2123 | ) |
| 2124 | |
| 2125 | # GN target: [//protos/third_party/chromium:source_set] |
| 2126 | perfetto_cc_proto_library( |
| 2127 | name = "chromium_cc_proto", |
| 2128 | visibility = PERFETTO_CONFIG.public_visibility, |
| 2129 | deps = [ |
| 2130 | ":chromium_proto", |
| 2131 | ], |
| 2132 | ) |
| 2133 | |
| 2134 | # GN target: [//protos/third_party/chromium:source_set] |
| 2135 | perfetto_java_proto_library( |
| 2136 | name = "chromium_java_proto", |
| 2137 | visibility = PERFETTO_CONFIG.public_visibility, |
| 2138 | deps = [ |
| 2139 | ":chromium_proto", |
| 2140 | ], |
| 2141 | ) |
| 2142 | |
| 2143 | # GN target: [//protos/third_party/chromium:source_set] |
| 2144 | perfetto_java_lite_proto_library( |
| 2145 | name = "chromium_java_proto_lite", |
| 2146 | visibility = PERFETTO_CONFIG.public_visibility, |
| 2147 | deps = [ |
| 2148 | ":chromium_proto", |
| 2149 | ], |
| 2150 | ) |
| 2151 | |
Lalit Maganti | 8d6d7c1 | 2022-02-24 20:35:23 +0000 | [diff] [blame] | 2152 | # GN target: //protos/perfetto/common:cpp |
| 2153 | perfetto_cc_protocpp_library( |
| 2154 | name = "protos_perfetto_common_cpp", |
Lalit Maganti | 16c28ca | 2022-02-17 12:20:07 +0000 | [diff] [blame] | 2155 | deps = [ |
| 2156 | ":protos_perfetto_common_protos", |
| 2157 | ], |
| 2158 | ) |
| 2159 | |
Lalit Maganti | 79d70fe | 2022-02-15 18:31:09 +0000 | [diff] [blame] | 2160 | # GN target: //protos/perfetto/common:source_set |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2161 | perfetto_proto_library( |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2162 | name = "protos_perfetto_common_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2163 | srcs = [ |
Raymond Chiu | 64b2fe5 | 2021-02-01 15:46:44 -0800 | [diff] [blame] | 2164 | "protos/perfetto/common/android_energy_consumer_descriptor.proto", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2165 | "protos/perfetto/common/android_log_constants.proto", |
Eric Seckler | dc45452 | 2020-05-20 19:40:23 +0100 | [diff] [blame] | 2166 | "protos/perfetto/common/builtin_clock.proto", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2167 | "protos/perfetto/common/commit_data_request.proto", |
| 2168 | "protos/perfetto/common/data_source_descriptor.proto", |
| 2169 | "protos/perfetto/common/descriptor.proto", |
Daniele Di Proietto | 97c3381 | 2022-02-21 13:49:52 +0000 | [diff] [blame] | 2170 | "protos/perfetto/common/ftrace_descriptor.proto", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2171 | "protos/perfetto/common/gpu_counter_descriptor.proto", |
Sami Kyostila | 927cd76 | 2020-12-01 17:09:14 +0000 | [diff] [blame] | 2172 | "protos/perfetto/common/interceptor_descriptor.proto", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2173 | "protos/perfetto/common/observable_events.proto", |
Ryan Savitski | 9ad60aa | 2021-03-09 16:36:24 +0000 | [diff] [blame] | 2174 | "protos/perfetto/common/perf_events.proto", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2175 | "protos/perfetto/common/sys_stats_counters.proto", |
| 2176 | "protos/perfetto/common/trace_stats.proto", |
Primiano Tucci | f5a94cc | 2020-03-26 10:02:13 +0000 | [diff] [blame] | 2177 | "protos/perfetto/common/tracing_service_capabilities.proto", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2178 | "protos/perfetto/common/tracing_service_state.proto", |
| 2179 | "protos/perfetto/common/track_event_descriptor.proto", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2180 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 2181 | visibility = [ |
| 2182 | PERFETTO_CONFIG.proto_library_visibility, |
| 2183 | ], |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2184 | ) |
| 2185 | |
| 2186 | # GN target: //protos/perfetto/common:zero |
| 2187 | perfetto_cc_protozero_library( |
| 2188 | name = "protos_perfetto_common_zero", |
| 2189 | deps = [ |
| 2190 | ":protos_perfetto_common_protos", |
| 2191 | ], |
| 2192 | ) |
| 2193 | |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2194 | # GN target: //protos/perfetto/config/android:cpp |
| 2195 | perfetto_cc_protocpp_library( |
| 2196 | name = "protos_perfetto_config_android_cpp", |
| 2197 | deps = [ |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2198 | ":protos_perfetto_common_cpp", |
Primiano Tucci | 34bc559 | 2021-02-19 17:53:36 +0100 | [diff] [blame] | 2199 | ":protos_perfetto_config_android_protos", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2200 | ], |
| 2201 | ) |
| 2202 | |
Lalit Maganti | 79d70fe | 2022-02-15 18:31:09 +0000 | [diff] [blame] | 2203 | # GN target: //protos/perfetto/config/android:source_set |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2204 | perfetto_proto_library( |
| 2205 | name = "protos_perfetto_config_android_protos", |
| 2206 | srcs = [ |
| 2207 | "protos/perfetto/config/android/android_log_config.proto", |
Simon MacMullen | 1f5319f | 2020-05-01 16:30:44 +0100 | [diff] [blame] | 2208 | "protos/perfetto/config/android/android_polled_state_config.proto", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2209 | "protos/perfetto/config/android/packages_list_config.proto", |
| 2210 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 2211 | visibility = [ |
| 2212 | PERFETTO_CONFIG.proto_library_visibility, |
| 2213 | ], |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2214 | deps = [ |
| 2215 | ":protos_perfetto_common_protos", |
| 2216 | ], |
| 2217 | ) |
| 2218 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2219 | # GN target: //protos/perfetto/config/android:zero |
| 2220 | perfetto_cc_protozero_library( |
| 2221 | name = "protos_perfetto_config_android_zero", |
| 2222 | deps = [ |
Lalit Maganti | 25b5973 | 2021-04-20 16:18:32 +0100 | [diff] [blame] | 2223 | ":protos_perfetto_common_zero", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2224 | ":protos_perfetto_config_android_protos", |
| 2225 | ], |
| 2226 | ) |
| 2227 | |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2228 | # GN target: //protos/perfetto/config:cpp |
| 2229 | perfetto_cc_protocpp_library( |
| 2230 | name = "protos_perfetto_config_cpp", |
| 2231 | deps = [ |
Primiano Tucci | 34bc559 | 2021-02-19 17:53:36 +0100 | [diff] [blame] | 2232 | ":protos_perfetto_common_cpp", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 2233 | ":protos_perfetto_config_android_cpp", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 2234 | ":protos_perfetto_config_ftrace_cpp", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2235 | ":protos_perfetto_config_gpu_cpp", |
Primiano Tucci | 34bc559 | 2021-02-19 17:53:36 +0100 | [diff] [blame] | 2236 | ":protos_perfetto_config_inode_file_cpp", |
Sami Kyostila | dd1cfd7 | 2020-12-14 15:48:25 +0000 | [diff] [blame] | 2237 | ":protos_perfetto_config_interceptors_cpp", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 2238 | ":protos_perfetto_config_power_cpp", |
Primiano Tucci | 34bc559 | 2021-02-19 17:53:36 +0100 | [diff] [blame] | 2239 | ":protos_perfetto_config_process_stats_cpp", |
| 2240 | ":protos_perfetto_config_profiling_cpp", |
| 2241 | ":protos_perfetto_config_protos", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2242 | ":protos_perfetto_config_sys_stats_cpp", |
Primiano Tucci | 34bc559 | 2021-02-19 17:53:36 +0100 | [diff] [blame] | 2243 | ":protos_perfetto_config_track_event_cpp", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2244 | ], |
| 2245 | ) |
| 2246 | |
Hector Dearman | a1d7524 | 2020-10-02 09:47:24 +0100 | [diff] [blame] | 2247 | # GN target: //protos/perfetto/config:descriptor |
| 2248 | perfetto_proto_descriptor( |
| 2249 | name = "protos_perfetto_config_descriptor", |
| 2250 | deps = [ |
| 2251 | ":protos_perfetto_config_protos", |
| 2252 | ], |
| 2253 | outs = [ |
| 2254 | "protos_perfetto_config_descriptor.bin", |
| 2255 | ], |
| 2256 | ) |
| 2257 | |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2258 | # GN target: //protos/perfetto/config/ftrace:cpp |
| 2259 | perfetto_cc_protocpp_library( |
| 2260 | name = "protos_perfetto_config_ftrace_cpp", |
| 2261 | deps = [ |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2262 | ":protos_perfetto_config_ftrace_protos", |
| 2263 | ], |
| 2264 | ) |
| 2265 | |
Lalit Maganti | 79d70fe | 2022-02-15 18:31:09 +0000 | [diff] [blame] | 2266 | # GN target: //protos/perfetto/config/ftrace:source_set |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2267 | perfetto_proto_library( |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2268 | name = "protos_perfetto_config_ftrace_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2269 | srcs = [ |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2270 | "protos/perfetto/config/ftrace/ftrace_config.proto", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2271 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 2272 | visibility = [ |
| 2273 | PERFETTO_CONFIG.proto_library_visibility, |
| 2274 | ], |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2275 | ) |
| 2276 | |
| 2277 | # GN target: //protos/perfetto/config/ftrace:zero |
| 2278 | perfetto_cc_protozero_library( |
| 2279 | name = "protos_perfetto_config_ftrace_zero", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2280 | deps = [ |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2281 | ":protos_perfetto_config_ftrace_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2282 | ], |
| 2283 | ) |
| 2284 | |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2285 | # GN target: //protos/perfetto/config/gpu:cpp |
| 2286 | perfetto_cc_protocpp_library( |
| 2287 | name = "protos_perfetto_config_gpu_cpp", |
| 2288 | deps = [ |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2289 | ":protos_perfetto_config_gpu_protos", |
| 2290 | ], |
| 2291 | ) |
| 2292 | |
Lalit Maganti | 79d70fe | 2022-02-15 18:31:09 +0000 | [diff] [blame] | 2293 | # GN target: //protos/perfetto/config/gpu:source_set |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2294 | perfetto_proto_library( |
| 2295 | name = "protos_perfetto_config_gpu_protos", |
| 2296 | srcs = [ |
| 2297 | "protos/perfetto/config/gpu/gpu_counter_config.proto", |
Mohammad Reza Zakerinasab | d9a209c | 2019-11-28 14:12:55 -0500 | [diff] [blame] | 2298 | "protos/perfetto/config/gpu/vulkan_memory_config.proto", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2299 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 2300 | visibility = [ |
| 2301 | PERFETTO_CONFIG.proto_library_visibility, |
| 2302 | ], |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2303 | ) |
| 2304 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2305 | # GN target: //protos/perfetto/config/gpu:zero |
| 2306 | perfetto_cc_protozero_library( |
| 2307 | name = "protos_perfetto_config_gpu_zero", |
| 2308 | deps = [ |
| 2309 | ":protos_perfetto_config_gpu_protos", |
| 2310 | ], |
| 2311 | ) |
| 2312 | |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2313 | # GN target: //protos/perfetto/config/inode_file:cpp |
| 2314 | perfetto_cc_protocpp_library( |
| 2315 | name = "protos_perfetto_config_inode_file_cpp", |
| 2316 | deps = [ |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2317 | ":protos_perfetto_config_inode_file_protos", |
| 2318 | ], |
| 2319 | ) |
| 2320 | |
Lalit Maganti | 79d70fe | 2022-02-15 18:31:09 +0000 | [diff] [blame] | 2321 | # GN target: //protos/perfetto/config/inode_file:source_set |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2322 | perfetto_proto_library( |
| 2323 | name = "protos_perfetto_config_inode_file_protos", |
| 2324 | srcs = [ |
| 2325 | "protos/perfetto/config/inode_file/inode_file_config.proto", |
| 2326 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 2327 | visibility = [ |
| 2328 | PERFETTO_CONFIG.proto_library_visibility, |
| 2329 | ], |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2330 | ) |
| 2331 | |
| 2332 | # GN target: //protos/perfetto/config/inode_file:zero |
| 2333 | perfetto_cc_protozero_library( |
| 2334 | name = "protos_perfetto_config_inode_file_zero", |
| 2335 | deps = [ |
| 2336 | ":protos_perfetto_config_inode_file_protos", |
| 2337 | ], |
| 2338 | ) |
| 2339 | |
Sami Kyostila | dd1cfd7 | 2020-12-14 15:48:25 +0000 | [diff] [blame] | 2340 | # GN target: //protos/perfetto/config/interceptors:cpp |
| 2341 | perfetto_cc_protocpp_library( |
| 2342 | name = "protos_perfetto_config_interceptors_cpp", |
| 2343 | deps = [ |
Sami Kyostila | dd1cfd7 | 2020-12-14 15:48:25 +0000 | [diff] [blame] | 2344 | ":protos_perfetto_common_cpp", |
Primiano Tucci | 34bc559 | 2021-02-19 17:53:36 +0100 | [diff] [blame] | 2345 | ":protos_perfetto_config_interceptors_protos", |
Sami Kyostila | dd1cfd7 | 2020-12-14 15:48:25 +0000 | [diff] [blame] | 2346 | ], |
| 2347 | ) |
| 2348 | |
Lalit Maganti | 79d70fe | 2022-02-15 18:31:09 +0000 | [diff] [blame] | 2349 | # GN target: //protos/perfetto/config/interceptors:source_set |
Sami Kyostila | dd1cfd7 | 2020-12-14 15:48:25 +0000 | [diff] [blame] | 2350 | perfetto_proto_library( |
| 2351 | name = "protos_perfetto_config_interceptors_protos", |
| 2352 | srcs = [ |
| 2353 | "protos/perfetto/config/interceptors/console_config.proto", |
| 2354 | ], |
| 2355 | visibility = [ |
| 2356 | PERFETTO_CONFIG.proto_library_visibility, |
| 2357 | ], |
| 2358 | deps = [ |
| 2359 | ":protos_perfetto_common_protos", |
| 2360 | ], |
| 2361 | ) |
| 2362 | |
| 2363 | # GN target: //protos/perfetto/config/interceptors:zero |
| 2364 | perfetto_cc_protozero_library( |
| 2365 | name = "protos_perfetto_config_interceptors_zero", |
| 2366 | deps = [ |
Lalit Maganti | 25b5973 | 2021-04-20 16:18:32 +0100 | [diff] [blame] | 2367 | ":protos_perfetto_common_zero", |
Sami Kyostila | dd1cfd7 | 2020-12-14 15:48:25 +0000 | [diff] [blame] | 2368 | ":protos_perfetto_config_interceptors_protos", |
| 2369 | ], |
| 2370 | ) |
| 2371 | |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2372 | # GN target: //protos/perfetto/config/power:cpp |
| 2373 | perfetto_cc_protocpp_library( |
| 2374 | name = "protos_perfetto_config_power_cpp", |
| 2375 | deps = [ |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2376 | ":protos_perfetto_config_power_protos", |
| 2377 | ], |
| 2378 | ) |
| 2379 | |
Lalit Maganti | 79d70fe | 2022-02-15 18:31:09 +0000 | [diff] [blame] | 2380 | # GN target: //protos/perfetto/config/power:source_set |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2381 | perfetto_proto_library( |
| 2382 | name = "protos_perfetto_config_power_protos", |
| 2383 | srcs = [ |
| 2384 | "protos/perfetto/config/power/android_power_config.proto", |
| 2385 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 2386 | visibility = [ |
| 2387 | PERFETTO_CONFIG.proto_library_visibility, |
| 2388 | ], |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2389 | ) |
| 2390 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2391 | # GN target: //protos/perfetto/config/power:zero |
| 2392 | perfetto_cc_protozero_library( |
| 2393 | name = "protos_perfetto_config_power_zero", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2394 | deps = [ |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2395 | ":protos_perfetto_config_power_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2396 | ], |
| 2397 | ) |
| 2398 | |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2399 | # GN target: //protos/perfetto/config/process_stats:cpp |
| 2400 | perfetto_cc_protocpp_library( |
| 2401 | name = "protos_perfetto_config_process_stats_cpp", |
| 2402 | deps = [ |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2403 | ":protos_perfetto_config_process_stats_protos", |
| 2404 | ], |
| 2405 | ) |
| 2406 | |
Lalit Maganti | 79d70fe | 2022-02-15 18:31:09 +0000 | [diff] [blame] | 2407 | # GN target: //protos/perfetto/config/process_stats:source_set |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2408 | perfetto_proto_library( |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2409 | name = "protos_perfetto_config_process_stats_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2410 | srcs = [ |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2411 | "protos/perfetto/config/process_stats/process_stats_config.proto", |
| 2412 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 2413 | visibility = [ |
| 2414 | PERFETTO_CONFIG.proto_library_visibility, |
| 2415 | ], |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2416 | ) |
| 2417 | |
| 2418 | # GN target: //protos/perfetto/config/process_stats:zero |
| 2419 | perfetto_cc_protozero_library( |
| 2420 | name = "protos_perfetto_config_process_stats_zero", |
| 2421 | deps = [ |
| 2422 | ":protos_perfetto_config_process_stats_protos", |
| 2423 | ], |
| 2424 | ) |
| 2425 | |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2426 | # GN target: //protos/perfetto/config/profiling:cpp |
| 2427 | perfetto_cc_protocpp_library( |
| 2428 | name = "protos_perfetto_config_profiling_cpp", |
| 2429 | deps = [ |
Ryan Savitski | 9ad60aa | 2021-03-09 16:36:24 +0000 | [diff] [blame] | 2430 | ":protos_perfetto_common_cpp", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2431 | ":protos_perfetto_config_profiling_protos", |
| 2432 | ], |
| 2433 | ) |
| 2434 | |
Lalit Maganti | 79d70fe | 2022-02-15 18:31:09 +0000 | [diff] [blame] | 2435 | # GN target: //protos/perfetto/config/profiling:source_set |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2436 | perfetto_proto_library( |
| 2437 | name = "protos_perfetto_config_profiling_protos", |
| 2438 | srcs = [ |
| 2439 | "protos/perfetto/config/profiling/heapprofd_config.proto", |
| 2440 | "protos/perfetto/config/profiling/java_hprof_config.proto", |
Ryan Savitski | 09ff3b2 | 2019-11-20 15:20:16 +0000 | [diff] [blame] | 2441 | "protos/perfetto/config/profiling/perf_event_config.proto", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2442 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 2443 | visibility = [ |
| 2444 | PERFETTO_CONFIG.proto_library_visibility, |
| 2445 | ], |
Ryan Savitski | 9ad60aa | 2021-03-09 16:36:24 +0000 | [diff] [blame] | 2446 | deps = [ |
| 2447 | ":protos_perfetto_common_protos", |
| 2448 | ], |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2449 | ) |
| 2450 | |
| 2451 | # GN target: //protos/perfetto/config/profiling:zero |
| 2452 | perfetto_cc_protozero_library( |
| 2453 | name = "protos_perfetto_config_profiling_zero", |
| 2454 | deps = [ |
Lalit Maganti | 25b5973 | 2021-04-20 16:18:32 +0100 | [diff] [blame] | 2455 | ":protos_perfetto_common_zero", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2456 | ":protos_perfetto_config_profiling_protos", |
| 2457 | ], |
| 2458 | ) |
| 2459 | |
Lalit Maganti | 79d70fe | 2022-02-15 18:31:09 +0000 | [diff] [blame] | 2460 | # GN target: //protos/perfetto/config:source_set |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2461 | perfetto_proto_library( |
| 2462 | name = "protos_perfetto_config_protos", |
| 2463 | srcs = [ |
| 2464 | "protos/perfetto/config/chrome/chrome_config.proto", |
| 2465 | "protos/perfetto/config/data_source_config.proto", |
Sami Kyostila | 927cd76 | 2020-12-01 17:09:14 +0000 | [diff] [blame] | 2466 | "protos/perfetto/config/interceptor_config.proto", |
Primiano Tucci | ff68cac | 2020-08-06 18:13:17 +0200 | [diff] [blame] | 2467 | "protos/perfetto/config/stress_test_config.proto", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2468 | "protos/perfetto/config/test_config.proto", |
| 2469 | "protos/perfetto/config/trace_config.proto", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2470 | ], |
Lalit Maganti | 8d6d7c1 | 2022-02-24 20:35:23 +0000 | [diff] [blame] | 2471 | visibility = [ |
| 2472 | PERFETTO_CONFIG.proto_library_visibility, |
| 2473 | ], |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2474 | deps = [ |
| 2475 | ":protos_perfetto_common_protos", |
| 2476 | ":protos_perfetto_config_android_protos", |
| 2477 | ":protos_perfetto_config_ftrace_protos", |
| 2478 | ":protos_perfetto_config_gpu_protos", |
| 2479 | ":protos_perfetto_config_inode_file_protos", |
Sami Kyostila | dd1cfd7 | 2020-12-14 15:48:25 +0000 | [diff] [blame] | 2480 | ":protos_perfetto_config_interceptors_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2481 | ":protos_perfetto_config_power_protos", |
| 2482 | ":protos_perfetto_config_process_stats_protos", |
| 2483 | ":protos_perfetto_config_profiling_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2484 | ":protos_perfetto_config_sys_stats_protos", |
Sami Kyostila | 38cd041 | 2020-02-12 17:09:52 +0000 | [diff] [blame] | 2485 | ":protos_perfetto_config_track_event_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2486 | ], |
| 2487 | ) |
| 2488 | |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2489 | # GN target: //protos/perfetto/config/sys_stats:cpp |
| 2490 | perfetto_cc_protocpp_library( |
| 2491 | name = "protos_perfetto_config_sys_stats_cpp", |
| 2492 | deps = [ |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2493 | ":protos_perfetto_common_cpp", |
Primiano Tucci | 34bc559 | 2021-02-19 17:53:36 +0100 | [diff] [blame] | 2494 | ":protos_perfetto_config_sys_stats_protos", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2495 | ], |
| 2496 | ) |
| 2497 | |
Lalit Maganti | 79d70fe | 2022-02-15 18:31:09 +0000 | [diff] [blame] | 2498 | # GN target: //protos/perfetto/config/sys_stats:source_set |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2499 | perfetto_proto_library( |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2500 | name = "protos_perfetto_config_sys_stats_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2501 | srcs = [ |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2502 | "protos/perfetto/config/sys_stats/sys_stats_config.proto", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2503 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 2504 | visibility = [ |
| 2505 | PERFETTO_CONFIG.proto_library_visibility, |
| 2506 | ], |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2507 | deps = [ |
| 2508 | ":protos_perfetto_common_protos", |
| 2509 | ], |
| 2510 | ) |
| 2511 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2512 | # GN target: //protos/perfetto/config/sys_stats:zero |
| 2513 | perfetto_cc_protozero_library( |
| 2514 | name = "protos_perfetto_config_sys_stats_zero", |
| 2515 | deps = [ |
Lalit Maganti | 25b5973 | 2021-04-20 16:18:32 +0100 | [diff] [blame] | 2516 | ":protos_perfetto_common_zero", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2517 | ":protos_perfetto_config_sys_stats_protos", |
| 2518 | ], |
| 2519 | ) |
| 2520 | |
Sami Kyostila | 38cd041 | 2020-02-12 17:09:52 +0000 | [diff] [blame] | 2521 | # GN target: //protos/perfetto/config/track_event:cpp |
| 2522 | perfetto_cc_protocpp_library( |
| 2523 | name = "protos_perfetto_config_track_event_cpp", |
| 2524 | deps = [ |
| 2525 | ":protos_perfetto_config_track_event_protos", |
| 2526 | ], |
| 2527 | ) |
| 2528 | |
Lalit Maganti | 79d70fe | 2022-02-15 18:31:09 +0000 | [diff] [blame] | 2529 | # GN target: //protos/perfetto/config/track_event:source_set |
Sami Kyostila | 38cd041 | 2020-02-12 17:09:52 +0000 | [diff] [blame] | 2530 | perfetto_proto_library( |
| 2531 | name = "protos_perfetto_config_track_event_protos", |
| 2532 | srcs = [ |
| 2533 | "protos/perfetto/config/track_event/track_event_config.proto", |
| 2534 | ], |
| 2535 | visibility = [ |
| 2536 | PERFETTO_CONFIG.proto_library_visibility, |
| 2537 | ], |
| 2538 | ) |
| 2539 | |
| 2540 | # GN target: //protos/perfetto/config/track_event:zero |
| 2541 | perfetto_cc_protozero_library( |
| 2542 | name = "protos_perfetto_config_track_event_zero", |
| 2543 | deps = [ |
| 2544 | ":protos_perfetto_config_track_event_protos", |
| 2545 | ], |
| 2546 | ) |
| 2547 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2548 | # GN target: //protos/perfetto/config:zero |
| 2549 | perfetto_cc_protozero_library( |
| 2550 | name = "protos_perfetto_config_zero", |
| 2551 | deps = [ |
Lalit Maganti | 25b5973 | 2021-04-20 16:18:32 +0100 | [diff] [blame] | 2552 | ":protos_perfetto_common_zero", |
| 2553 | ":protos_perfetto_config_android_zero", |
| 2554 | ":protos_perfetto_config_ftrace_zero", |
| 2555 | ":protos_perfetto_config_gpu_zero", |
| 2556 | ":protos_perfetto_config_inode_file_zero", |
| 2557 | ":protos_perfetto_config_interceptors_zero", |
| 2558 | ":protos_perfetto_config_power_zero", |
| 2559 | ":protos_perfetto_config_process_stats_zero", |
| 2560 | ":protos_perfetto_config_profiling_zero", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2561 | ":protos_perfetto_config_protos", |
Lalit Maganti | 25b5973 | 2021-04-20 16:18:32 +0100 | [diff] [blame] | 2562 | ":protos_perfetto_config_sys_stats_zero", |
| 2563 | ":protos_perfetto_config_track_event_zero", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2564 | ], |
| 2565 | ) |
| 2566 | |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 2567 | # GN target: //protos/perfetto/ipc:cpp |
| 2568 | perfetto_cc_protocpp_library( |
| 2569 | name = "protos_perfetto_ipc_cpp", |
| 2570 | deps = [ |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 2571 | ":protos_perfetto_common_cpp", |
Primiano Tucci | 34bc559 | 2021-02-19 17:53:36 +0100 | [diff] [blame] | 2572 | ":protos_perfetto_config_android_cpp", |
| 2573 | ":protos_perfetto_config_cpp", |
| 2574 | ":protos_perfetto_config_ftrace_cpp", |
| 2575 | ":protos_perfetto_config_gpu_cpp", |
| 2576 | ":protos_perfetto_config_inode_file_cpp", |
| 2577 | ":protos_perfetto_config_interceptors_cpp", |
| 2578 | ":protos_perfetto_config_power_cpp", |
| 2579 | ":protos_perfetto_config_process_stats_cpp", |
| 2580 | ":protos_perfetto_config_profiling_cpp", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 2581 | ":protos_perfetto_config_sys_stats_cpp", |
Primiano Tucci | 34bc559 | 2021-02-19 17:53:36 +0100 | [diff] [blame] | 2582 | ":protos_perfetto_config_track_event_cpp", |
| 2583 | ":protos_perfetto_ipc_protos", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 2584 | ], |
| 2585 | ) |
| 2586 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2587 | # GN target: //protos/perfetto/ipc:ipc |
| 2588 | perfetto_cc_ipc_library( |
| 2589 | name = "protos_perfetto_ipc_ipc", |
| 2590 | deps = [ |
Sami Kyostila | 38cd041 | 2020-02-12 17:09:52 +0000 | [diff] [blame] | 2591 | ":protos_perfetto_common_cpp", |
Primiano Tucci | 34bc559 | 2021-02-19 17:53:36 +0100 | [diff] [blame] | 2592 | ":protos_perfetto_config_android_cpp", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 2593 | ":protos_perfetto_config_cpp", |
Primiano Tucci | 34bc559 | 2021-02-19 17:53:36 +0100 | [diff] [blame] | 2594 | ":protos_perfetto_config_ftrace_cpp", |
| 2595 | ":protos_perfetto_config_gpu_cpp", |
| 2596 | ":protos_perfetto_config_inode_file_cpp", |
| 2597 | ":protos_perfetto_config_interceptors_cpp", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 2598 | ":protos_perfetto_config_power_cpp", |
Primiano Tucci | 34bc559 | 2021-02-19 17:53:36 +0100 | [diff] [blame] | 2599 | ":protos_perfetto_config_process_stats_cpp", |
| 2600 | ":protos_perfetto_config_profiling_cpp", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 2601 | ":protos_perfetto_config_sys_stats_cpp", |
Primiano Tucci | 34bc559 | 2021-02-19 17:53:36 +0100 | [diff] [blame] | 2602 | ":protos_perfetto_config_track_event_cpp", |
| 2603 | ":protos_perfetto_ipc_cpp", |
| 2604 | ":protos_perfetto_ipc_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2605 | ], |
| 2606 | ) |
| 2607 | |
Lalit Maganti | 79d70fe | 2022-02-15 18:31:09 +0000 | [diff] [blame] | 2608 | # GN target: //protos/perfetto/ipc:source_set |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2609 | perfetto_proto_library( |
Primiano Tucci | f0d63af | 2019-11-19 17:07:37 +0000 | [diff] [blame] | 2610 | name = "protos_perfetto_ipc_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2611 | srcs = [ |
| 2612 | "protos/perfetto/ipc/consumer_port.proto", |
| 2613 | "protos/perfetto/ipc/producer_port.proto", |
| 2614 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 2615 | visibility = [ |
| 2616 | PERFETTO_CONFIG.proto_library_visibility, |
| 2617 | ], |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2618 | deps = [ |
| 2619 | ":protos_perfetto_common_protos", |
| 2620 | ":protos_perfetto_config_android_protos", |
| 2621 | ":protos_perfetto_config_ftrace_protos", |
| 2622 | ":protos_perfetto_config_gpu_protos", |
| 2623 | ":protos_perfetto_config_inode_file_protos", |
Sami Kyostila | dd1cfd7 | 2020-12-14 15:48:25 +0000 | [diff] [blame] | 2624 | ":protos_perfetto_config_interceptors_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2625 | ":protos_perfetto_config_power_protos", |
| 2626 | ":protos_perfetto_config_process_stats_protos", |
| 2627 | ":protos_perfetto_config_profiling_protos", |
| 2628 | ":protos_perfetto_config_protos", |
| 2629 | ":protos_perfetto_config_sys_stats_protos", |
Sami Kyostila | 38cd041 | 2020-02-12 17:09:52 +0000 | [diff] [blame] | 2630 | ":protos_perfetto_config_track_event_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2631 | ], |
| 2632 | ) |
| 2633 | |
Primiano Tucci | b3e08d0 | 2019-11-19 11:10:11 +0000 | [diff] [blame] | 2634 | # GN target: //protos/perfetto/ipc:wire_protocol_cpp |
| 2635 | perfetto_cc_protocpp_library( |
| 2636 | name = "protos_perfetto_ipc_wire_protocol_cpp", |
| 2637 | deps = [ |
| 2638 | ":protos_perfetto_ipc_wire_protocol_protos", |
Primiano Tucci | b3e08d0 | 2019-11-19 11:10:11 +0000 | [diff] [blame] | 2639 | ], |
| 2640 | ) |
| 2641 | |
Lalit Maganti | 79d70fe | 2022-02-15 18:31:09 +0000 | [diff] [blame] | 2642 | # GN target: //protos/perfetto/ipc:wire_protocol_source_set |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2643 | perfetto_proto_library( |
| 2644 | name = "protos_perfetto_ipc_wire_protocol_protos", |
| 2645 | srcs = [ |
| 2646 | "protos/perfetto/ipc/wire_protocol.proto", |
| 2647 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 2648 | visibility = [ |
| 2649 | PERFETTO_CONFIG.proto_library_visibility, |
| 2650 | ], |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2651 | ) |
| 2652 | |
Lalit Maganti | 64cd1f6 | 2020-09-14 17:44:52 +0100 | [diff] [blame] | 2653 | # GN target: //protos/perfetto/metrics/android:source_set |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2654 | perfetto_proto_library( |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2655 | name = "protos_perfetto_metrics_android_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2656 | srcs = [ |
David LeGare | 20d39c4 | 2022-01-20 20:38:43 +0000 | [diff] [blame] | 2657 | "protos/perfetto/metrics/android/android_trusty_workqueues.proto", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2658 | "protos/perfetto/metrics/android/batt_metric.proto", |
Lalit Maganti | 262252a | 2021-10-15 12:17:53 +0100 | [diff] [blame] | 2659 | "protos/perfetto/metrics/android/camera_metric.proto", |
Lalit Maganti | c16c721 | 2021-12-16 17:32:55 +0000 | [diff] [blame] | 2660 | "protos/perfetto/metrics/android/camera_unagg_metric.proto", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2661 | "protos/perfetto/metrics/android/cpu_metric.proto", |
Edgar Arriaga | 32975d2 | 2020-03-03 10:31:44 -0800 | [diff] [blame] | 2662 | "protos/perfetto/metrics/android/display_metrics.proto", |
Hridya Valsaraju | cd4887a | 2021-03-16 14:49:22 -0700 | [diff] [blame] | 2663 | "protos/perfetto/metrics/android/dma_heap_metric.proto", |
Luke Chang | 476e944 | 2021-11-09 23:14:34 +0800 | [diff] [blame] | 2664 | "protos/perfetto/metrics/android/dvfs_metric.proto", |
Collin Fijalkovich | b2acc47 | 2021-02-24 12:27:18 -0800 | [diff] [blame] | 2665 | "protos/perfetto/metrics/android/fastrpc_metric.proto", |
Wiwit Rifa'i | 9124a1e | 2021-02-22 17:41:47 +0800 | [diff] [blame] | 2666 | "protos/perfetto/metrics/android/g2d_metric.proto", |
Yiwei Zhang | 617d3f6 | 2020-09-07 15:57:38 -0700 | [diff] [blame] | 2667 | "protos/perfetto/metrics/android/gpu_metric.proto", |
Midas Chien | 9b804b1 | 2020-12-12 00:46:58 +0800 | [diff] [blame] | 2668 | "protos/perfetto/metrics/android/hwcomposer.proto", |
Stan Iliev | 1d53182 | 2020-01-17 11:12:18 -0500 | [diff] [blame] | 2669 | "protos/perfetto/metrics/android/hwui_metric.proto", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2670 | "protos/perfetto/metrics/android/ion_metric.proto", |
Shihhsun Ho | 2305a1d | 2022-01-13 19:58:02 +0800 | [diff] [blame] | 2671 | "protos/perfetto/metrics/android/irq_runtime_metric.proto", |
Marcin Oczeretko | 1bcc9a4 | 2021-01-23 17:15:23 +0000 | [diff] [blame] | 2672 | "protos/perfetto/metrics/android/jank_metric.proto", |
Ioannis Ilkos | f6b6aae | 2020-02-25 12:14:54 +0000 | [diff] [blame] | 2673 | "protos/perfetto/metrics/android/java_heap_histogram.proto", |
Ioannis Ilkos | 2c832dc | 2019-11-08 11:35:03 +0000 | [diff] [blame] | 2674 | "protos/perfetto/metrics/android/java_heap_stats.proto", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2675 | "protos/perfetto/metrics/android/lmk_metric.proto", |
Rafal Slawik | 88ffa44 | 2019-11-27 14:42:06 +0000 | [diff] [blame] | 2676 | "protos/perfetto/metrics/android/lmk_reason_metric.proto", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2677 | "protos/perfetto/metrics/android/mem_metric.proto", |
| 2678 | "protos/perfetto/metrics/android/mem_unagg_metric.proto", |
Adam Bookatz | d5aa763 | 2021-08-25 16:13:44 -0700 | [diff] [blame] | 2679 | "protos/perfetto/metrics/android/multiuser_metric.proto", |
Luke Chang | e25d2c4 | 2021-12-07 16:08:32 +0800 | [diff] [blame] | 2680 | "protos/perfetto/metrics/android/network_metric.proto", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2681 | "protos/perfetto/metrics/android/package_list.proto", |
| 2682 | "protos/perfetto/metrics/android/powrails_metric.proto", |
Ioannis Ilkos | cfcd7f8 | 2019-11-19 14:43:24 +0000 | [diff] [blame] | 2683 | "protos/perfetto/metrics/android/process_metadata.proto", |
Ioannis Ilkos | e7a7f4c | 2021-07-05 16:27:58 +0100 | [diff] [blame] | 2684 | "protos/perfetto/metrics/android/profiler_smaps.proto", |
Shihhsun Ho | 9cc8d50 | 2022-01-03 13:21:23 +0800 | [diff] [blame] | 2685 | "protos/perfetto/metrics/android/rt_runtime_metric.proto", |
Wiwit Rifa'i | a944ed6 | 2021-09-29 15:11:18 +0800 | [diff] [blame] | 2686 | "protos/perfetto/metrics/android/simpleperf.proto", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2687 | "protos/perfetto/metrics/android/startup_metric.proto", |
Lalit Maganti | 5fb5b4c | 2020-06-10 13:06:41 +0100 | [diff] [blame] | 2688 | "protos/perfetto/metrics/android/surfaceflinger.proto", |
Marcin Oczeretko | 8f951c5 | 2020-11-06 10:29:36 +0000 | [diff] [blame] | 2689 | "protos/perfetto/metrics/android/sysui_cuj_metrics.proto", |
Ioannis Ilkos | 0727045 | 2020-03-06 17:50:17 +0000 | [diff] [blame] | 2690 | "protos/perfetto/metrics/android/task_names.proto", |
Rafal Slawik | 7eaddac | 2020-04-21 17:35:05 +0100 | [diff] [blame] | 2691 | "protos/perfetto/metrics/android/thread_time_in_state_metric.proto", |
Lalit Maganti | 98002fb | 2021-06-18 20:31:15 +0100 | [diff] [blame] | 2692 | "protos/perfetto/metrics/android/trace_quality.proto", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2693 | "protos/perfetto/metrics/android/unsymbolized_frames.proto", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2694 | ], |
Lalit Maganti | 7d37c75 | 2022-03-08 15:41:00 +0000 | [diff] [blame] | 2695 | visibility = [ |
| 2696 | PERFETTO_CONFIG.proto_library_visibility, |
| 2697 | ], |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2698 | ) |
| 2699 | |
Lalit Maganti | 3b09a3f | 2020-09-14 13:28:44 +0100 | [diff] [blame] | 2700 | # GN target: //protos/perfetto/metrics/chrome:descriptor |
| 2701 | perfetto_proto_descriptor( |
| 2702 | name = "protos_perfetto_metrics_chrome_descriptor", |
| 2703 | deps = [ |
Lalit Maganti | 64cd1f6 | 2020-09-14 17:44:52 +0100 | [diff] [blame] | 2704 | ":protos_perfetto_metrics_chrome_protos", |
Lalit Maganti | 3b09a3f | 2020-09-14 13:28:44 +0100 | [diff] [blame] | 2705 | ], |
| 2706 | outs = [ |
| 2707 | "protos_perfetto_metrics_chrome_descriptor.bin", |
| 2708 | ], |
| 2709 | ) |
| 2710 | |
Lalit Maganti | 3b09a3f | 2020-09-14 13:28:44 +0100 | [diff] [blame] | 2711 | # GN target: //protos/perfetto/metrics/chrome:source_set |
| 2712 | perfetto_proto_library( |
Lalit Maganti | 64cd1f6 | 2020-09-14 17:44:52 +0100 | [diff] [blame] | 2713 | name = "protos_perfetto_metrics_chrome_protos", |
Lalit Maganti | 3b09a3f | 2020-09-14 13:28:44 +0100 | [diff] [blame] | 2714 | srcs = [ |
| 2715 | "protos/perfetto/metrics/chrome/all_chrome_metrics.proto", |
Stephen Nusko | f848d46 | 2021-04-06 13:28:04 +0100 | [diff] [blame] | 2716 | "protos/perfetto/metrics/chrome/blink_gc_metric.proto", |
Mingjing Zhang | 309a1c0 | 2021-11-04 22:41:40 -0400 | [diff] [blame] | 2717 | "protos/perfetto/metrics/chrome/dropped_frames.proto", |
Mikhail Khokhlov | c74a945 | 2021-01-28 17:23:05 +0000 | [diff] [blame] | 2718 | "protos/perfetto/metrics/chrome/frame_times.proto", |
Eric Seckler | 3955ba5 | 2021-04-07 12:12:43 +0100 | [diff] [blame] | 2719 | "protos/perfetto/metrics/chrome/media_metric.proto", |
Sami Kyostila | 7a51fc2 | 2021-02-10 18:07:53 +0000 | [diff] [blame] | 2720 | "protos/perfetto/metrics/chrome/reported_by_page.proto", |
Stephen Nusko | efa22bd | 2021-03-29 17:38:22 +0100 | [diff] [blame] | 2721 | "protos/perfetto/metrics/chrome/scroll_jank.proto", |
Lalit Maganti | 3b09a3f | 2020-09-14 13:28:44 +0100 | [diff] [blame] | 2722 | "protos/perfetto/metrics/chrome/test_chrome_metric.proto", |
Dan Elphick | 08baa10 | 2021-09-02 16:06:44 +0100 | [diff] [blame] | 2723 | "protos/perfetto/metrics/chrome/touch_jank.proto", |
Lalit Maganti | 3b09a3f | 2020-09-14 13:28:44 +0100 | [diff] [blame] | 2724 | ], |
| 2725 | visibility = [ |
| 2726 | PERFETTO_CONFIG.proto_library_visibility, |
| 2727 | ], |
| 2728 | deps = [ |
Lalit Maganti | 64cd1f6 | 2020-09-14 17:44:52 +0100 | [diff] [blame] | 2729 | ":protos_perfetto_metrics_android_protos", |
| 2730 | ":protos_perfetto_metrics_custom_options_protos", |
| 2731 | ":protos_perfetto_metrics_protos", |
Lalit Maganti | 3b09a3f | 2020-09-14 13:28:44 +0100 | [diff] [blame] | 2732 | ] + PERFETTO_CONFIG.deps.protobuf_descriptor_proto, |
| 2733 | ) |
| 2734 | |
| 2735 | # GN target: //protos/perfetto/metrics:custom_options_source_set |
| 2736 | perfetto_proto_library( |
Lalit Maganti | 64cd1f6 | 2020-09-14 17:44:52 +0100 | [diff] [blame] | 2737 | name = "protos_perfetto_metrics_custom_options_protos", |
Lalit Maganti | 3b09a3f | 2020-09-14 13:28:44 +0100 | [diff] [blame] | 2738 | srcs = [ |
| 2739 | "protos/perfetto/metrics/custom_options.proto", |
| 2740 | ], |
| 2741 | visibility = [ |
| 2742 | PERFETTO_CONFIG.proto_library_visibility, |
| 2743 | ], |
| 2744 | deps = [ |
| 2745 | ] + PERFETTO_CONFIG.deps.protobuf_descriptor_proto, |
| 2746 | ) |
| 2747 | |
Lalit Maganti | 117272f | 2020-09-11 14:01:18 +0100 | [diff] [blame] | 2748 | # GN target: //protos/perfetto/metrics:descriptor |
| 2749 | perfetto_proto_descriptor( |
| 2750 | name = "protos_perfetto_metrics_descriptor", |
| 2751 | deps = [ |
Lalit Maganti | 64cd1f6 | 2020-09-14 17:44:52 +0100 | [diff] [blame] | 2752 | ":protos_perfetto_metrics_protos", |
Lalit Maganti | 117272f | 2020-09-11 14:01:18 +0100 | [diff] [blame] | 2753 | ], |
| 2754 | outs = [ |
| 2755 | "protos_perfetto_metrics_descriptor.bin", |
| 2756 | ], |
| 2757 | ) |
| 2758 | |
Lalit Maganti | 64cd1f6 | 2020-09-14 17:44:52 +0100 | [diff] [blame] | 2759 | # GN target: //protos/perfetto/metrics:source_set |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2760 | perfetto_proto_library( |
| 2761 | name = "protos_perfetto_metrics_protos", |
| 2762 | srcs = [ |
| 2763 | "protos/perfetto/metrics/metrics.proto", |
| 2764 | ], |
Lalit Maganti | 7d37c75 | 2022-03-08 15:41:00 +0000 | [diff] [blame] | 2765 | visibility = [ |
| 2766 | PERFETTO_CONFIG.proto_library_visibility, |
| 2767 | ], |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2768 | deps = [ |
| 2769 | ":protos_perfetto_metrics_android_protos", |
| 2770 | ], |
| 2771 | ) |
| 2772 | |
Lalit Maganti | 79d70fe | 2022-02-15 18:31:09 +0000 | [diff] [blame] | 2773 | # GN target: //protos/perfetto/trace/android:source_set |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2774 | perfetto_proto_library( |
| 2775 | name = "protos_perfetto_trace_android_protos", |
| 2776 | srcs = [ |
| 2777 | "protos/perfetto/trace/android/android_log.proto", |
Michael Eastwood | eb86b89 | 2022-01-20 15:59:09 -0800 | [diff] [blame] | 2778 | "protos/perfetto/trace/android/camera_event.proto", |
Adithya Srinivasan | 4bf3c0e | 2020-11-04 21:09:57 -0800 | [diff] [blame] | 2779 | "protos/perfetto/trace/android/frame_timeline_event.proto", |
Yiwei Zhang | c841194 | 2020-06-25 14:41:23 -0700 | [diff] [blame] | 2780 | "protos/perfetto/trace/android/gpu_mem_event.proto", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2781 | "protos/perfetto/trace/android/graphics_frame_event.proto", |
Simon MacMullen | 3d4c54a | 2020-04-17 16:40:53 +0100 | [diff] [blame] | 2782 | "protos/perfetto/trace/android/initial_display_state.proto", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2783 | "protos/perfetto/trace/android/packages_list.proto", |
| 2784 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 2785 | visibility = [ |
| 2786 | PERFETTO_CONFIG.proto_library_visibility, |
| 2787 | ], |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2788 | deps = [ |
| 2789 | ":protos_perfetto_common_protos", |
| 2790 | ], |
| 2791 | ) |
| 2792 | |
| 2793 | # GN target: //protos/perfetto/trace/android:zero |
| 2794 | perfetto_cc_protozero_library( |
| 2795 | name = "protos_perfetto_trace_android_zero", |
| 2796 | deps = [ |
Lalit Maganti | 25b5973 | 2021-04-20 16:18:32 +0100 | [diff] [blame] | 2797 | ":protos_perfetto_common_zero", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2798 | ":protos_perfetto_trace_android_protos", |
| 2799 | ], |
| 2800 | ) |
| 2801 | |
Lalit Maganti | 79d70fe | 2022-02-15 18:31:09 +0000 | [diff] [blame] | 2802 | # GN target: //protos/perfetto/trace/chrome:source_set |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2803 | perfetto_proto_library( |
| 2804 | name = "protos_perfetto_trace_chrome_protos", |
| 2805 | srcs = [ |
| 2806 | "protos/perfetto/trace/chrome/chrome_benchmark_metadata.proto", |
| 2807 | "protos/perfetto/trace/chrome/chrome_metadata.proto", |
| 2808 | "protos/perfetto/trace/chrome/chrome_trace_event.proto", |
| 2809 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 2810 | visibility = [ |
| 2811 | PERFETTO_CONFIG.proto_library_visibility, |
| 2812 | ], |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2813 | ) |
| 2814 | |
| 2815 | # GN target: //protos/perfetto/trace/chrome:zero |
| 2816 | perfetto_cc_protozero_library( |
| 2817 | name = "protos_perfetto_trace_chrome_zero", |
| 2818 | deps = [ |
| 2819 | ":protos_perfetto_trace_chrome_protos", |
| 2820 | ], |
| 2821 | ) |
| 2822 | |
Lalit Maganti | 9c2318c | 2021-05-20 16:21:41 +0100 | [diff] [blame] | 2823 | # GN target: //protos/perfetto/trace:descriptor |
| 2824 | perfetto_proto_descriptor( |
| 2825 | name = "protos_perfetto_trace_descriptor", |
| 2826 | deps = [ |
Lalit Maganti | 79d70fe | 2022-02-15 18:31:09 +0000 | [diff] [blame] | 2827 | ":protos_perfetto_trace_non_minimal_protos", |
Lalit Maganti | 9c2318c | 2021-05-20 16:21:41 +0100 | [diff] [blame] | 2828 | ], |
| 2829 | outs = [ |
| 2830 | "protos_perfetto_trace_descriptor.bin", |
| 2831 | ], |
| 2832 | ) |
| 2833 | |
Lalit Maganti | 79d70fe | 2022-02-15 18:31:09 +0000 | [diff] [blame] | 2834 | # GN target: //protos/perfetto/trace/filesystem:source_set |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2835 | perfetto_proto_library( |
| 2836 | name = "protos_perfetto_trace_filesystem_protos", |
| 2837 | srcs = [ |
| 2838 | "protos/perfetto/trace/filesystem/inode_file_map.proto", |
| 2839 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 2840 | visibility = [ |
| 2841 | PERFETTO_CONFIG.proto_library_visibility, |
| 2842 | ], |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2843 | ) |
| 2844 | |
| 2845 | # GN target: //protos/perfetto/trace/filesystem:zero |
| 2846 | perfetto_cc_protozero_library( |
| 2847 | name = "protos_perfetto_trace_filesystem_zero", |
| 2848 | deps = [ |
| 2849 | ":protos_perfetto_trace_filesystem_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2850 | ], |
| 2851 | ) |
| 2852 | |
Lalit Maganti | 79d70fe | 2022-02-15 18:31:09 +0000 | [diff] [blame] | 2853 | # GN target: //protos/perfetto/trace/ftrace:source_set |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2854 | perfetto_proto_library( |
| 2855 | name = "protos_perfetto_trace_ftrace_protos", |
| 2856 | srcs = [ |
| 2857 | "protos/perfetto/trace/ftrace/binder.proto", |
| 2858 | "protos/perfetto/trace/ftrace/block.proto", |
| 2859 | "protos/perfetto/trace/ftrace/cgroup.proto", |
| 2860 | "protos/perfetto/trace/ftrace/clk.proto", |
| 2861 | "protos/perfetto/trace/ftrace/compaction.proto", |
Hector Dearman | 30fa398 | 2020-08-11 17:09:40 +0100 | [diff] [blame] | 2862 | "protos/perfetto/trace/ftrace/cpuhp.proto", |
Harvey Yang | cb9754b | 2022-02-09 18:13:06 +0800 | [diff] [blame] | 2863 | "protos/perfetto/trace/ftrace/cros_ec.proto", |
Hridya Valsaraju | 1c79edc | 2021-03-16 13:53:19 -0700 | [diff] [blame] | 2864 | "protos/perfetto/trace/ftrace/dmabuf_heap.proto", |
Hector Dearman | 66f5200 | 2020-10-29 11:28:02 +0000 | [diff] [blame] | 2865 | "protos/perfetto/trace/ftrace/dpu.proto", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2866 | "protos/perfetto/trace/ftrace/ext4.proto", |
| 2867 | "protos/perfetto/trace/ftrace/f2fs.proto", |
Hector Dearman | a90ad9e | 2020-10-14 11:21:39 +0100 | [diff] [blame] | 2868 | "protos/perfetto/trace/ftrace/fastrpc.proto", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2869 | "protos/perfetto/trace/ftrace/fence.proto", |
| 2870 | "protos/perfetto/trace/ftrace/filemap.proto", |
| 2871 | "protos/perfetto/trace/ftrace/ftrace.proto", |
| 2872 | "protos/perfetto/trace/ftrace/ftrace_event.proto", |
| 2873 | "protos/perfetto/trace/ftrace/ftrace_event_bundle.proto", |
| 2874 | "protos/perfetto/trace/ftrace/ftrace_stats.proto", |
Hector Dearman | 66f5200 | 2020-10-29 11:28:02 +0000 | [diff] [blame] | 2875 | "protos/perfetto/trace/ftrace/g2d.proto", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2876 | "protos/perfetto/trace/ftrace/generic.proto", |
Adithya Srinivasan | c615dec | 2020-06-24 14:50:06 -0700 | [diff] [blame] | 2877 | "protos/perfetto/trace/ftrace/gpu_mem.proto", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2878 | "protos/perfetto/trace/ftrace/i2c.proto", |
Ioannis Ilkos | e5ddb4a | 2020-04-22 09:45:19 +0100 | [diff] [blame] | 2879 | "protos/perfetto/trace/ftrace/ion.proto", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2880 | "protos/perfetto/trace/ftrace/ipi.proto", |
| 2881 | "protos/perfetto/trace/ftrace/irq.proto", |
| 2882 | "protos/perfetto/trace/ftrace/kmem.proto", |
Primiano Tucci | f954f86 | 2022-03-04 13:58:18 +0000 | [diff] [blame] | 2883 | "protos/perfetto/trace/ftrace/kvm.proto", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2884 | "protos/perfetto/trace/ftrace/lowmemorykiller.proto", |
Lalit Maganti | d5debd4 | 2021-02-25 15:56:16 +0000 | [diff] [blame] | 2885 | "protos/perfetto/trace/ftrace/mali.proto", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2886 | "protos/perfetto/trace/ftrace/mdss.proto", |
| 2887 | "protos/perfetto/trace/ftrace/mm_event.proto", |
Luke Chang | 496f94a | 2021-12-03 17:13:00 +0800 | [diff] [blame] | 2888 | "protos/perfetto/trace/ftrace/net.proto", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2889 | "protos/perfetto/trace/ftrace/oom.proto", |
| 2890 | "protos/perfetto/trace/ftrace/power.proto", |
| 2891 | "protos/perfetto/trace/ftrace/raw_syscalls.proto", |
| 2892 | "protos/perfetto/trace/ftrace/regulator.proto", |
| 2893 | "protos/perfetto/trace/ftrace/sched.proto", |
Hector Dearman | 324cc4b | 2020-06-16 12:42:26 +0100 | [diff] [blame] | 2894 | "protos/perfetto/trace/ftrace/scm.proto", |
Hector Dearman | 3cd7cd5 | 2019-12-04 16:07:16 +0000 | [diff] [blame] | 2895 | "protos/perfetto/trace/ftrace/sde.proto", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2896 | "protos/perfetto/trace/ftrace/signal.proto", |
Luke Chang | d041e6e | 2022-02-25 13:24:42 +0800 | [diff] [blame] | 2897 | "protos/perfetto/trace/ftrace/skb.proto", |
Luke Chang | 1b90407 | 2022-01-26 09:33:19 +0800 | [diff] [blame] | 2898 | "protos/perfetto/trace/ftrace/sock.proto", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2899 | "protos/perfetto/trace/ftrace/sync.proto", |
Kalesh Singh | 84f62e4 | 2021-11-15 19:01:23 -0800 | [diff] [blame] | 2900 | "protos/perfetto/trace/ftrace/synthetic.proto", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2901 | "protos/perfetto/trace/ftrace/systrace.proto", |
| 2902 | "protos/perfetto/trace/ftrace/task.proto", |
Luke Chang | 4eb23ab | 2022-01-27 16:31:46 +0800 | [diff] [blame] | 2903 | "protos/perfetto/trace/ftrace/tcp.proto", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2904 | "protos/perfetto/trace/ftrace/test_bundle_wrapper.proto", |
Isabelle Taylor | 9cc8786 | 2020-07-21 16:53:32 +0100 | [diff] [blame] | 2905 | "protos/perfetto/trace/ftrace/thermal.proto", |
YH Lin | bce4286 | 2022-03-15 02:45:18 +0800 | [diff] [blame] | 2906 | "protos/perfetto/trace/ftrace/ufs.proto", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2907 | "protos/perfetto/trace/ftrace/vmscan.proto", |
| 2908 | "protos/perfetto/trace/ftrace/workqueue.proto", |
| 2909 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 2910 | visibility = [ |
| 2911 | PERFETTO_CONFIG.proto_library_visibility, |
| 2912 | ], |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2913 | ) |
| 2914 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2915 | # GN target: //protos/perfetto/trace/ftrace:zero |
| 2916 | perfetto_cc_protozero_library( |
| 2917 | name = "protos_perfetto_trace_ftrace_zero", |
| 2918 | deps = [ |
| 2919 | ":protos_perfetto_trace_ftrace_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2920 | ], |
| 2921 | ) |
| 2922 | |
Lalit Maganti | 79d70fe | 2022-02-15 18:31:09 +0000 | [diff] [blame] | 2923 | # GN target: //protos/perfetto/trace/gpu:source_set |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2924 | perfetto_proto_library( |
| 2925 | name = "protos_perfetto_trace_gpu_protos", |
| 2926 | srcs = [ |
| 2927 | "protos/perfetto/trace/gpu/gpu_counter_event.proto", |
Raymond Chiu | c612b7f | 2019-09-18 14:53:28 -0700 | [diff] [blame] | 2928 | "protos/perfetto/trace/gpu/gpu_log.proto", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2929 | "protos/perfetto/trace/gpu/gpu_render_stage_event.proto", |
Raymond Chiu | 5d526b8 | 2019-11-22 14:18:51 -0800 | [diff] [blame] | 2930 | "protos/perfetto/trace/gpu/vulkan_api_event.proto", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2931 | "protos/perfetto/trace/gpu/vulkan_memory_event.proto", |
| 2932 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 2933 | visibility = [ |
| 2934 | PERFETTO_CONFIG.proto_library_visibility, |
| 2935 | ], |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2936 | deps = [ |
| 2937 | ":protos_perfetto_common_protos", |
| 2938 | ], |
| 2939 | ) |
| 2940 | |
| 2941 | # GN target: //protos/perfetto/trace/gpu:zero |
| 2942 | perfetto_cc_protozero_library( |
| 2943 | name = "protos_perfetto_trace_gpu_zero", |
| 2944 | deps = [ |
Lalit Maganti | 25b5973 | 2021-04-20 16:18:32 +0100 | [diff] [blame] | 2945 | ":protos_perfetto_common_zero", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2946 | ":protos_perfetto_trace_gpu_protos", |
| 2947 | ], |
| 2948 | ) |
| 2949 | |
Lalit Maganti | 79d70fe | 2022-02-15 18:31:09 +0000 | [diff] [blame] | 2950 | # GN target: //protos/perfetto/trace/interned_data:source_set |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2951 | perfetto_proto_library( |
| 2952 | name = "protos_perfetto_trace_interned_data_protos", |
| 2953 | srcs = [ |
| 2954 | "protos/perfetto/trace/interned_data/interned_data.proto", |
| 2955 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 2956 | visibility = [ |
| 2957 | PERFETTO_CONFIG.proto_library_visibility, |
| 2958 | ], |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2959 | deps = [ |
Raymond Chiu | 37532e6 | 2020-04-06 16:15:48 -0700 | [diff] [blame] | 2960 | ":protos_perfetto_common_protos", |
| 2961 | ":protos_perfetto_trace_gpu_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2962 | ":protos_perfetto_trace_profiling_protos", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2963 | ":protos_perfetto_trace_track_event_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2964 | ], |
| 2965 | ) |
| 2966 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2967 | # GN target: //protos/perfetto/trace/interned_data:zero |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2968 | perfetto_cc_protozero_library( |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2969 | name = "protos_perfetto_trace_interned_data_zero", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2970 | deps = [ |
Lalit Maganti | 25b5973 | 2021-04-20 16:18:32 +0100 | [diff] [blame] | 2971 | ":protos_perfetto_common_zero", |
| 2972 | ":protos_perfetto_trace_gpu_zero", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2973 | ":protos_perfetto_trace_interned_data_protos", |
Lalit Maganti | 25b5973 | 2021-04-20 16:18:32 +0100 | [diff] [blame] | 2974 | ":protos_perfetto_trace_profiling_zero", |
| 2975 | ":protos_perfetto_trace_track_event_zero", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2976 | ], |
| 2977 | ) |
| 2978 | |
Lalit Maganti | 79d70fe | 2022-02-15 18:31:09 +0000 | [diff] [blame] | 2979 | # GN target: //protos/perfetto/trace:minimal_source_set |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2980 | perfetto_proto_library( |
| 2981 | name = "protos_perfetto_trace_minimal_protos", |
| 2982 | srcs = [ |
| 2983 | "protos/perfetto/trace/clock_snapshot.proto", |
| 2984 | "protos/perfetto/trace/system_info.proto", |
| 2985 | "protos/perfetto/trace/trigger.proto", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2986 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 2987 | visibility = [ |
| 2988 | PERFETTO_CONFIG.proto_library_visibility, |
| 2989 | ], |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2990 | deps = [ |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2991 | ":protos_perfetto_common_protos", |
| 2992 | ":protos_perfetto_config_android_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2993 | ":protos_perfetto_config_ftrace_protos", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2994 | ":protos_perfetto_config_gpu_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 2995 | ":protos_perfetto_config_inode_file_protos", |
Sami Kyostila | dd1cfd7 | 2020-12-14 15:48:25 +0000 | [diff] [blame] | 2996 | ":protos_perfetto_config_interceptors_protos", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 2997 | ":protos_perfetto_config_power_protos", |
| 2998 | ":protos_perfetto_config_process_stats_protos", |
| 2999 | ":protos_perfetto_config_profiling_protos", |
| 3000 | ":protos_perfetto_config_protos", |
| 3001 | ":protos_perfetto_config_sys_stats_protos", |
Sami Kyostila | 38cd041 | 2020-02-12 17:09:52 +0000 | [diff] [blame] | 3002 | ":protos_perfetto_config_track_event_protos", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 3003 | ], |
| 3004 | ) |
| 3005 | |
| 3006 | # GN target: //protos/perfetto/trace:minimal_zero |
| 3007 | perfetto_cc_protozero_library( |
| 3008 | name = "protos_perfetto_trace_minimal_zero", |
| 3009 | deps = [ |
Lalit Maganti | 25b5973 | 2021-04-20 16:18:32 +0100 | [diff] [blame] | 3010 | ":protos_perfetto_common_zero", |
| 3011 | ":protos_perfetto_config_android_zero", |
| 3012 | ":protos_perfetto_config_ftrace_zero", |
| 3013 | ":protos_perfetto_config_gpu_zero", |
| 3014 | ":protos_perfetto_config_inode_file_zero", |
| 3015 | ":protos_perfetto_config_interceptors_zero", |
| 3016 | ":protos_perfetto_config_power_zero", |
| 3017 | ":protos_perfetto_config_process_stats_zero", |
| 3018 | ":protos_perfetto_config_profiling_zero", |
| 3019 | ":protos_perfetto_config_sys_stats_zero", |
| 3020 | ":protos_perfetto_config_track_event_zero", |
| 3021 | ":protos_perfetto_config_zero", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 3022 | ":protos_perfetto_trace_minimal_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3023 | ], |
| 3024 | ) |
| 3025 | |
Lalit Maganti | 79d70fe | 2022-02-15 18:31:09 +0000 | [diff] [blame] | 3026 | # GN target: //protos/perfetto/trace:non_minimal_source_set |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3027 | perfetto_proto_library( |
| 3028 | name = "protos_perfetto_trace_non_minimal_protos", |
| 3029 | srcs = [ |
Andrew Shulaev | 46b12a9 | 2020-07-09 00:45:37 +0100 | [diff] [blame] | 3030 | "protos/perfetto/trace/extension_descriptor.proto", |
Piotr Roguski | 10ee050 | 2020-08-12 14:05:48 +0200 | [diff] [blame] | 3031 | "protos/perfetto/trace/memory_graph.proto", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3032 | "protos/perfetto/trace/test_event.proto", |
Alexander Timin | 129bdcf | 2021-04-16 11:36:37 +0000 | [diff] [blame] | 3033 | "protos/perfetto/trace/test_extensions.proto", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3034 | "protos/perfetto/trace/trace.proto", |
| 3035 | "protos/perfetto/trace/trace_packet.proto", |
| 3036 | "protos/perfetto/trace/trace_packet_defaults.proto", |
Lalit Maganti | 8532fc9 | 2021-03-30 15:48:15 +0100 | [diff] [blame] | 3037 | "protos/perfetto/trace/ui_state.proto", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3038 | ], |
Lalit Maganti | 8d6d7c1 | 2022-02-24 20:35:23 +0000 | [diff] [blame] | 3039 | visibility = [ |
| 3040 | PERFETTO_CONFIG.proto_library_visibility, |
| 3041 | ], |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3042 | deps = [ |
| 3043 | ":protos_perfetto_common_protos", |
| 3044 | ":protos_perfetto_config_android_protos", |
| 3045 | ":protos_perfetto_config_ftrace_protos", |
| 3046 | ":protos_perfetto_config_gpu_protos", |
| 3047 | ":protos_perfetto_config_inode_file_protos", |
Sami Kyostila | dd1cfd7 | 2020-12-14 15:48:25 +0000 | [diff] [blame] | 3048 | ":protos_perfetto_config_interceptors_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3049 | ":protos_perfetto_config_power_protos", |
| 3050 | ":protos_perfetto_config_process_stats_protos", |
| 3051 | ":protos_perfetto_config_profiling_protos", |
| 3052 | ":protos_perfetto_config_protos", |
| 3053 | ":protos_perfetto_config_sys_stats_protos", |
Sami Kyostila | 38cd041 | 2020-02-12 17:09:52 +0000 | [diff] [blame] | 3054 | ":protos_perfetto_config_track_event_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3055 | ":protos_perfetto_trace_android_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3056 | ":protos_perfetto_trace_chrome_protos", |
| 3057 | ":protos_perfetto_trace_filesystem_protos", |
| 3058 | ":protos_perfetto_trace_ftrace_protos", |
| 3059 | ":protos_perfetto_trace_gpu_protos", |
| 3060 | ":protos_perfetto_trace_interned_data_protos", |
| 3061 | ":protos_perfetto_trace_minimal_protos", |
| 3062 | ":protos_perfetto_trace_perfetto_protos", |
| 3063 | ":protos_perfetto_trace_power_protos", |
| 3064 | ":protos_perfetto_trace_profiling_protos", |
| 3065 | ":protos_perfetto_trace_ps_protos", |
| 3066 | ":protos_perfetto_trace_sys_stats_protos", |
Rafal Slawik | b013a11 | 2020-04-03 16:12:02 +0100 | [diff] [blame] | 3067 | ":protos_perfetto_trace_system_info_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3068 | ":protos_perfetto_trace_track_event_protos", |
Igor Kraskevich | 49b4288 | 2022-03-21 13:03:02 +0000 | [diff] [blame^] | 3069 | ":protos_perfetto_trace_translation_protos", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3070 | ], |
Lalit Maganti | ba364ec | 2022-02-15 19:53:20 +0000 | [diff] [blame] | 3071 | exports = [ |
| 3072 | ":protos_perfetto_trace_track_event_protos", |
| 3073 | ], |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3074 | ) |
| 3075 | |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 3076 | # GN target: //protos/perfetto/trace:non_minimal_zero |
| 3077 | perfetto_cc_protozero_library( |
| 3078 | name = "protos_perfetto_trace_non_minimal_zero", |
| 3079 | deps = [ |
Lalit Maganti | 25b5973 | 2021-04-20 16:18:32 +0100 | [diff] [blame] | 3080 | ":protos_perfetto_common_zero", |
| 3081 | ":protos_perfetto_config_android_zero", |
| 3082 | ":protos_perfetto_config_ftrace_zero", |
| 3083 | ":protos_perfetto_config_gpu_zero", |
| 3084 | ":protos_perfetto_config_inode_file_zero", |
| 3085 | ":protos_perfetto_config_interceptors_zero", |
| 3086 | ":protos_perfetto_config_power_zero", |
| 3087 | ":protos_perfetto_config_process_stats_zero", |
| 3088 | ":protos_perfetto_config_profiling_zero", |
| 3089 | ":protos_perfetto_config_sys_stats_zero", |
| 3090 | ":protos_perfetto_config_track_event_zero", |
| 3091 | ":protos_perfetto_config_zero", |
| 3092 | ":protos_perfetto_trace_android_zero", |
| 3093 | ":protos_perfetto_trace_chrome_zero", |
| 3094 | ":protos_perfetto_trace_filesystem_zero", |
| 3095 | ":protos_perfetto_trace_ftrace_zero", |
| 3096 | ":protos_perfetto_trace_gpu_zero", |
| 3097 | ":protos_perfetto_trace_interned_data_zero", |
| 3098 | ":protos_perfetto_trace_minimal_zero", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 3099 | ":protos_perfetto_trace_non_minimal_protos", |
Lalit Maganti | 25b5973 | 2021-04-20 16:18:32 +0100 | [diff] [blame] | 3100 | ":protos_perfetto_trace_perfetto_zero", |
| 3101 | ":protos_perfetto_trace_power_zero", |
| 3102 | ":protos_perfetto_trace_profiling_zero", |
| 3103 | ":protos_perfetto_trace_ps_zero", |
| 3104 | ":protos_perfetto_trace_sys_stats_zero", |
| 3105 | ":protos_perfetto_trace_system_info_zero", |
| 3106 | ":protos_perfetto_trace_track_event_zero", |
Igor Kraskevich | 49b4288 | 2022-03-21 13:03:02 +0000 | [diff] [blame^] | 3107 | ":protos_perfetto_trace_translation_zero", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 3108 | ], |
| 3109 | ) |
| 3110 | |
Lalit Maganti | 79d70fe | 2022-02-15 18:31:09 +0000 | [diff] [blame] | 3111 | # GN target: //protos/perfetto/trace/perfetto:source_set |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 3112 | perfetto_proto_library( |
| 3113 | name = "protos_perfetto_trace_perfetto_protos", |
| 3114 | srcs = [ |
| 3115 | "protos/perfetto/trace/perfetto/perfetto_metatrace.proto", |
Primiano Tucci | 79e4dcb | 2020-04-08 09:51:02 +0100 | [diff] [blame] | 3116 | "protos/perfetto/trace/perfetto/tracing_service_event.proto", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 3117 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 3118 | visibility = [ |
| 3119 | PERFETTO_CONFIG.proto_library_visibility, |
| 3120 | ], |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 3121 | ) |
| 3122 | |
| 3123 | # GN target: //protos/perfetto/trace/perfetto:zero |
| 3124 | perfetto_cc_protozero_library( |
| 3125 | name = "protos_perfetto_trace_perfetto_zero", |
| 3126 | deps = [ |
| 3127 | ":protos_perfetto_trace_perfetto_protos", |
| 3128 | ], |
| 3129 | ) |
| 3130 | |
Lalit Maganti | 79d70fe | 2022-02-15 18:31:09 +0000 | [diff] [blame] | 3131 | # GN target: //protos/perfetto/trace/power:source_set |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 3132 | perfetto_proto_library( |
| 3133 | name = "protos_perfetto_trace_power_protos", |
| 3134 | srcs = [ |
Raymond Chiu | 64b2fe5 | 2021-02-01 15:46:44 -0800 | [diff] [blame] | 3135 | "protos/perfetto/trace/power/android_energy_estimation_breakdown.proto", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 3136 | "protos/perfetto/trace/power/battery_counters.proto", |
| 3137 | "protos/perfetto/trace/power/power_rails.proto", |
| 3138 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 3139 | visibility = [ |
| 3140 | PERFETTO_CONFIG.proto_library_visibility, |
| 3141 | ], |
Raymond Chiu | 64b2fe5 | 2021-02-01 15:46:44 -0800 | [diff] [blame] | 3142 | deps = [ |
| 3143 | ":protos_perfetto_common_protos", |
| 3144 | ], |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 3145 | ) |
| 3146 | |
| 3147 | # GN target: //protos/perfetto/trace/power:zero |
| 3148 | perfetto_cc_protozero_library( |
| 3149 | name = "protos_perfetto_trace_power_zero", |
| 3150 | deps = [ |
Lalit Maganti | 25b5973 | 2021-04-20 16:18:32 +0100 | [diff] [blame] | 3151 | ":protos_perfetto_common_zero", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 3152 | ":protos_perfetto_trace_power_protos", |
| 3153 | ], |
| 3154 | ) |
| 3155 | |
Lalit Maganti | 79d70fe | 2022-02-15 18:31:09 +0000 | [diff] [blame] | 3156 | # GN target: //protos/perfetto/trace_processor:metrics_impl_source_set |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 3157 | perfetto_proto_library( |
| 3158 | name = "protos_perfetto_trace_processor_metrics_impl_protos", |
| 3159 | srcs = [ |
| 3160 | "protos/perfetto/trace_processor/metrics_impl.proto", |
| 3161 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 3162 | visibility = [ |
| 3163 | PERFETTO_CONFIG.proto_library_visibility, |
| 3164 | ], |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 3165 | ) |
| 3166 | |
| 3167 | # GN target: //protos/perfetto/trace_processor:metrics_impl_zero |
| 3168 | perfetto_cc_protozero_library( |
| 3169 | name = "protos_perfetto_trace_processor_metrics_impl_zero", |
| 3170 | deps = [ |
| 3171 | ":protos_perfetto_trace_processor_metrics_impl_protos", |
| 3172 | ], |
| 3173 | ) |
| 3174 | |
Lalit Maganti | 79d70fe | 2022-02-15 18:31:09 +0000 | [diff] [blame] | 3175 | # GN target: //protos/perfetto/trace_processor:source_set |
Primiano Tucci | a36cccc | 2019-10-27 13:15:04 +0100 | [diff] [blame] | 3176 | perfetto_proto_library( |
| 3177 | name = "protos_perfetto_trace_processor_protos", |
| 3178 | srcs = [ |
| 3179 | "protos/perfetto/trace_processor/trace_processor.proto", |
| 3180 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 3181 | visibility = [ |
| 3182 | PERFETTO_CONFIG.proto_library_visibility, |
| 3183 | ], |
Deepanjan Roy | 7774777 | 2020-09-01 15:10:33 -0400 | [diff] [blame] | 3184 | deps = [ |
| 3185 | ":protos_perfetto_common_protos", |
| 3186 | ], |
Primiano Tucci | a36cccc | 2019-10-27 13:15:04 +0100 | [diff] [blame] | 3187 | ) |
| 3188 | |
| 3189 | # GN target: //protos/perfetto/trace_processor:zero |
| 3190 | perfetto_cc_protozero_library( |
| 3191 | name = "protos_perfetto_trace_processor_zero", |
| 3192 | deps = [ |
Lalit Maganti | 25b5973 | 2021-04-20 16:18:32 +0100 | [diff] [blame] | 3193 | ":protos_perfetto_common_zero", |
Primiano Tucci | a36cccc | 2019-10-27 13:15:04 +0100 | [diff] [blame] | 3194 | ":protos_perfetto_trace_processor_protos", |
| 3195 | ], |
| 3196 | ) |
| 3197 | |
Lalit Maganti | 79d70fe | 2022-02-15 18:31:09 +0000 | [diff] [blame] | 3198 | # GN target: //protos/perfetto/trace/profiling:source_set |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 3199 | perfetto_proto_library( |
| 3200 | name = "protos_perfetto_trace_profiling_protos", |
| 3201 | srcs = [ |
Florian Mayer | c2d0996 | 2020-08-12 15:52:50 +0100 | [diff] [blame] | 3202 | "protos/perfetto/trace/profiling/deobfuscation.proto", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 3203 | "protos/perfetto/trace/profiling/heap_graph.proto", |
| 3204 | "protos/perfetto/trace/profiling/profile_common.proto", |
| 3205 | "protos/perfetto/trace/profiling/profile_packet.proto", |
Florian Mayer | 633b444 | 2020-04-04 11:54:17 +0200 | [diff] [blame] | 3206 | "protos/perfetto/trace/profiling/smaps.proto", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 3207 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 3208 | visibility = [ |
| 3209 | PERFETTO_CONFIG.proto_library_visibility, |
| 3210 | ], |
Ryan Savitski | 4551732 | 2021-03-09 16:38:19 +0000 | [diff] [blame] | 3211 | deps = [ |
| 3212 | ":protos_perfetto_common_protos", |
| 3213 | ], |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 3214 | ) |
| 3215 | |
| 3216 | # GN target: //protos/perfetto/trace/profiling:zero |
| 3217 | perfetto_cc_protozero_library( |
| 3218 | name = "protos_perfetto_trace_profiling_zero", |
| 3219 | deps = [ |
Lalit Maganti | 25b5973 | 2021-04-20 16:18:32 +0100 | [diff] [blame] | 3220 | ":protos_perfetto_common_zero", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 3221 | ":protos_perfetto_trace_profiling_protos", |
| 3222 | ], |
| 3223 | ) |
| 3224 | |
Lalit Maganti | 79d70fe | 2022-02-15 18:31:09 +0000 | [diff] [blame] | 3225 | # GN target: //protos/perfetto/trace/ps:source_set |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 3226 | perfetto_proto_library( |
| 3227 | name = "protos_perfetto_trace_ps_protos", |
| 3228 | srcs = [ |
| 3229 | "protos/perfetto/trace/ps/process_stats.proto", |
| 3230 | "protos/perfetto/trace/ps/process_tree.proto", |
| 3231 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 3232 | visibility = [ |
| 3233 | PERFETTO_CONFIG.proto_library_visibility, |
| 3234 | ], |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 3235 | ) |
| 3236 | |
| 3237 | # GN target: //protos/perfetto/trace/ps:zero |
| 3238 | perfetto_cc_protozero_library( |
| 3239 | name = "protos_perfetto_trace_ps_zero", |
| 3240 | deps = [ |
| 3241 | ":protos_perfetto_trace_ps_protos", |
| 3242 | ], |
| 3243 | ) |
| 3244 | |
Lalit Maganti | 79d70fe | 2022-02-15 18:31:09 +0000 | [diff] [blame] | 3245 | # GN target: //protos/perfetto/trace/sys_stats:source_set |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 3246 | perfetto_proto_library( |
| 3247 | name = "protos_perfetto_trace_sys_stats_protos", |
| 3248 | srcs = [ |
| 3249 | "protos/perfetto/trace/sys_stats/sys_stats.proto", |
| 3250 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 3251 | visibility = [ |
| 3252 | PERFETTO_CONFIG.proto_library_visibility, |
| 3253 | ], |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 3254 | deps = [ |
| 3255 | ":protos_perfetto_common_protos", |
| 3256 | ], |
| 3257 | ) |
| 3258 | |
| 3259 | # GN target: //protos/perfetto/trace/sys_stats:zero |
| 3260 | perfetto_cc_protozero_library( |
| 3261 | name = "protos_perfetto_trace_sys_stats_zero", |
| 3262 | deps = [ |
Lalit Maganti | 25b5973 | 2021-04-20 16:18:32 +0100 | [diff] [blame] | 3263 | ":protos_perfetto_common_zero", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 3264 | ":protos_perfetto_trace_sys_stats_protos", |
| 3265 | ], |
| 3266 | ) |
| 3267 | |
Lalit Maganti | 79d70fe | 2022-02-15 18:31:09 +0000 | [diff] [blame] | 3268 | # GN target: //protos/perfetto/trace/system_info:source_set |
Rafal Slawik | b013a11 | 2020-04-03 16:12:02 +0100 | [diff] [blame] | 3269 | perfetto_proto_library( |
| 3270 | name = "protos_perfetto_trace_system_info_protos", |
| 3271 | srcs = [ |
| 3272 | "protos/perfetto/trace/system_info/cpu_info.proto", |
| 3273 | ], |
| 3274 | visibility = [ |
| 3275 | PERFETTO_CONFIG.proto_library_visibility, |
| 3276 | ], |
| 3277 | ) |
| 3278 | |
| 3279 | # GN target: //protos/perfetto/trace/system_info:zero |
| 3280 | perfetto_cc_protozero_library( |
| 3281 | name = "protos_perfetto_trace_system_info_zero", |
| 3282 | deps = [ |
| 3283 | ":protos_perfetto_trace_system_info_protos", |
| 3284 | ], |
| 3285 | ) |
| 3286 | |
Sami Kyostila | d4eec8e | 2020-05-05 15:56:42 +0100 | [diff] [blame] | 3287 | # GN target: //protos/perfetto/trace/track_event:cpp |
| 3288 | perfetto_cc_protocpp_library( |
| 3289 | name = "protos_perfetto_trace_track_event_cpp", |
| 3290 | deps = [ |
| 3291 | ":protos_perfetto_trace_track_event_protos", |
| 3292 | ], |
| 3293 | ) |
| 3294 | |
Lalit Maganti | c21a4a8 | 2022-02-15 16:08:46 +0000 | [diff] [blame] | 3295 | # GN target: //protos/perfetto/trace/track_event:descriptor |
| 3296 | perfetto_proto_descriptor( |
| 3297 | name = "protos_perfetto_trace_track_event_descriptor", |
| 3298 | deps = [ |
| 3299 | ":protos_perfetto_trace_track_event_protos", |
| 3300 | ], |
| 3301 | outs = [ |
| 3302 | "protos_perfetto_trace_track_event_descriptor.bin", |
| 3303 | ], |
| 3304 | ) |
| 3305 | |
Lalit Maganti | 79d70fe | 2022-02-15 18:31:09 +0000 | [diff] [blame] | 3306 | # GN target: //protos/perfetto/trace/track_event:source_set |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 3307 | perfetto_proto_library( |
| 3308 | name = "protos_perfetto_trace_track_event_protos", |
| 3309 | srcs = [ |
Salvador Guerrero | 6ae1db8 | 2020-11-06 12:06:03 -0800 | [diff] [blame] | 3310 | "protos/perfetto/trace/track_event/chrome_application_state_info.proto", |
Stephen Nusko | 3db31c8 | 2019-11-27 16:32:01 +0000 | [diff] [blame] | 3311 | "protos/perfetto/trace/track_event/chrome_compositor_scheduler_state.proto", |
Salvador Guerrero | ec21ade | 2021-01-19 13:10:29 -0800 | [diff] [blame] | 3312 | "protos/perfetto/trace/track_event/chrome_content_settings_event_info.proto", |
Sadrul Habib Chowdhury | 2d5e2a6 | 2020-06-15 11:24:18 -0400 | [diff] [blame] | 3313 | "protos/perfetto/trace/track_event/chrome_frame_reporter.proto", |
Oystein Eftevaag | be533b2 | 2019-12-05 11:01:05 -0800 | [diff] [blame] | 3314 | "protos/perfetto/trace/track_event/chrome_histogram_sample.proto", |
Eric Seckler | e1e8ff4 | 2019-12-04 11:05:43 +0000 | [diff] [blame] | 3315 | "protos/perfetto/trace/track_event/chrome_keyed_service.proto", |
Andrew Shulaev | 784967b | 2020-02-03 08:22:20 +0000 | [diff] [blame] | 3316 | "protos/perfetto/trace/track_event/chrome_latency_info.proto", |
Eric Seckler | e1e8ff4 | 2019-12-04 11:05:43 +0000 | [diff] [blame] | 3317 | "protos/perfetto/trace/track_event/chrome_legacy_ipc.proto", |
Oystein Eftevaag | 324adbb | 2020-09-22 09:33:05 -0700 | [diff] [blame] | 3318 | "protos/perfetto/trace/track_event/chrome_message_pump.proto", |
ssid | 77ab7cf | 2020-10-05 11:18:48 -0700 | [diff] [blame] | 3319 | "protos/perfetto/trace/track_event/chrome_mojo_event_info.proto", |
Sami Kyostila | b0686c9 | 2020-01-07 12:56:55 +0000 | [diff] [blame] | 3320 | "protos/perfetto/trace/track_event/chrome_process_descriptor.proto", |
Dan Elphick | 3968902 | 2020-10-13 17:30:16 +0100 | [diff] [blame] | 3321 | "protos/perfetto/trace/track_event/chrome_renderer_scheduler_state.proto", |
Sami Kyostila | b0686c9 | 2020-01-07 12:56:55 +0000 | [diff] [blame] | 3322 | "protos/perfetto/trace/track_event/chrome_thread_descriptor.proto", |
Eric Seckler | e1e8ff4 | 2019-12-04 11:05:43 +0000 | [diff] [blame] | 3323 | "protos/perfetto/trace/track_event/chrome_user_event.proto", |
Salvador Guerrero | cd1c764 | 2020-10-15 11:42:25 -0700 | [diff] [blame] | 3324 | "protos/perfetto/trace/track_event/chrome_window_handle_event_info.proto", |
Eric Seckler | 3955949 | 2020-03-03 18:04:25 +0000 | [diff] [blame] | 3325 | "protos/perfetto/trace/track_event/counter_descriptor.proto", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 3326 | "protos/perfetto/trace/track_event/debug_annotation.proto", |
| 3327 | "protos/perfetto/trace/track_event/log_message.proto", |
| 3328 | "protos/perfetto/trace/track_event/process_descriptor.proto", |
| 3329 | "protos/perfetto/trace/track_event/source_location.proto", |
| 3330 | "protos/perfetto/trace/track_event/task_execution.proto", |
| 3331 | "protos/perfetto/trace/track_event/thread_descriptor.proto", |
| 3332 | "protos/perfetto/trace/track_event/track_descriptor.proto", |
| 3333 | "protos/perfetto/trace/track_event/track_event.proto", |
| 3334 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 3335 | visibility = [ |
| 3336 | PERFETTO_CONFIG.proto_library_visibility, |
| 3337 | ], |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 3338 | ) |
| 3339 | |
| 3340 | # GN target: //protos/perfetto/trace/track_event:zero |
| 3341 | perfetto_cc_protozero_library( |
| 3342 | name = "protos_perfetto_trace_track_event_zero", |
| 3343 | deps = [ |
| 3344 | ":protos_perfetto_trace_track_event_protos", |
| 3345 | ], |
| 3346 | ) |
| 3347 | |
Igor Kraskevich | 49b4288 | 2022-03-21 13:03:02 +0000 | [diff] [blame^] | 3348 | # GN target: //protos/perfetto/trace/translation:source_set |
| 3349 | perfetto_proto_library( |
| 3350 | name = "protos_perfetto_trace_translation_protos", |
| 3351 | srcs = [ |
| 3352 | "protos/perfetto/trace/translation/translation_table.proto", |
| 3353 | ], |
| 3354 | visibility = [ |
| 3355 | PERFETTO_CONFIG.proto_library_visibility, |
| 3356 | ], |
| 3357 | ) |
| 3358 | |
| 3359 | # GN target: //protos/perfetto/trace/translation:zero |
| 3360 | perfetto_cc_protozero_library( |
| 3361 | name = "protos_perfetto_trace_translation_zero", |
| 3362 | deps = [ |
| 3363 | ":protos_perfetto_trace_translation_protos", |
| 3364 | ], |
| 3365 | ) |
| 3366 | |
Lalit Maganti | c21a4a8 | 2022-02-15 16:08:46 +0000 | [diff] [blame] | 3367 | # GN target: //protos/third_party/chromium:descriptor |
Andrew Shulaev | ba0a5d1 | 2021-01-07 08:44:50 +0000 | [diff] [blame] | 3368 | perfetto_proto_descriptor( |
Lalit Maganti | c21a4a8 | 2022-02-15 16:08:46 +0000 | [diff] [blame] | 3369 | name = "protos_third_party_chromium_descriptor", |
Andrew Shulaev | ba0a5d1 | 2021-01-07 08:44:50 +0000 | [diff] [blame] | 3370 | deps = [ |
Lalit Maganti | c21a4a8 | 2022-02-15 16:08:46 +0000 | [diff] [blame] | 3371 | ":protos_third_party_chromium_protos", |
Andrew Shulaev | ba0a5d1 | 2021-01-07 08:44:50 +0000 | [diff] [blame] | 3372 | ], |
| 3373 | outs = [ |
Lalit Maganti | c21a4a8 | 2022-02-15 16:08:46 +0000 | [diff] [blame] | 3374 | "protos_third_party_chromium_descriptor.bin", |
Andrew Shulaev | ba0a5d1 | 2021-01-07 08:44:50 +0000 | [diff] [blame] | 3375 | ], |
| 3376 | ) |
| 3377 | |
Lalit Maganti | c21a4a8 | 2022-02-15 16:08:46 +0000 | [diff] [blame] | 3378 | # GN target: //protos/third_party/chromium:source_set |
ssid | 3d81d4d | 2021-06-21 16:08:02 -0700 | [diff] [blame] | 3379 | perfetto_proto_library( |
| 3380 | name = "protos_third_party_chromium_protos", |
| 3381 | srcs = [ |
| 3382 | "protos/third_party/chromium/chrome_track_event.proto", |
| 3383 | ], |
Lalit Maganti | 7d37c75 | 2022-03-08 15:41:00 +0000 | [diff] [blame] | 3384 | visibility = [ |
| 3385 | PERFETTO_CONFIG.proto_library_visibility, |
| 3386 | ], |
ssid | 3d81d4d | 2021-06-21 16:08:02 -0700 | [diff] [blame] | 3387 | deps = [ |
| 3388 | ":protos_perfetto_trace_track_event_protos", |
| 3389 | ], |
Lalit Maganti | ba364ec | 2022-02-15 19:53:20 +0000 | [diff] [blame] | 3390 | exports = [ |
| 3391 | ":protos_perfetto_trace_track_event_protos", |
| 3392 | ], |
ssid | 3d81d4d | 2021-06-21 16:08:02 -0700 | [diff] [blame] | 3393 | ) |
| 3394 | |
Lalit Maganti | 79d70fe | 2022-02-15 18:31:09 +0000 | [diff] [blame] | 3395 | # GN target: //protos/third_party/pprof:source_set |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 3396 | perfetto_proto_library( |
| 3397 | name = "protos_third_party_pprof_protos", |
| 3398 | srcs = [ |
| 3399 | "protos/third_party/pprof/profile.proto", |
| 3400 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 3401 | visibility = [ |
| 3402 | PERFETTO_CONFIG.proto_library_visibility, |
| 3403 | ], |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 3404 | ) |
| 3405 | |
Primiano Tucci | 2d813fd | 2019-11-26 17:27:07 +0000 | [diff] [blame] | 3406 | # GN target: //protos/third_party/pprof:zero |
| 3407 | perfetto_cc_protozero_library( |
| 3408 | name = "protos_third_party_pprof_zero", |
| 3409 | deps = [ |
| 3410 | ":protos_third_party_pprof_protos", |
| 3411 | ], |
| 3412 | ) |
| 3413 | |
Lalit Maganti | 79d70fe | 2022-02-15 18:31:09 +0000 | [diff] [blame] | 3414 | # GN target: //src/perfetto_cmd:protos_cpp |
Hector Dearman | 040f958 | 2019-12-03 18:06:33 +0000 | [diff] [blame] | 3415 | perfetto_cc_protocpp_library( |
Lalit Maganti | 79d70fe | 2022-02-15 18:31:09 +0000 | [diff] [blame] | 3416 | name = "src_perfetto_cmd_protos_cpp", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 3417 | deps = [ |
| 3418 | ":src_perfetto_cmd_protos_protos", |
| 3419 | ], |
| 3420 | ) |
| 3421 | |
Lalit Maganti | 79d70fe | 2022-02-15 18:31:09 +0000 | [diff] [blame] | 3422 | # GN target: //src/perfetto_cmd:protos_source_set |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 3423 | perfetto_proto_library( |
| 3424 | name = "src_perfetto_cmd_protos_protos", |
| 3425 | srcs = [ |
| 3426 | "src/perfetto_cmd/perfetto_cmd_state.proto", |
| 3427 | ], |
Primiano Tucci | e88d939 | 2019-11-19 17:42:41 +0000 | [diff] [blame] | 3428 | visibility = [ |
| 3429 | PERFETTO_CONFIG.proto_library_visibility, |
| 3430 | ], |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 3431 | ) |
| 3432 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3433 | # ############################################################################## |
| 3434 | # Public targets |
| 3435 | # ############################################################################## |
| 3436 | |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 3437 | # GN target: //:libperfetto_client_experimental |
| 3438 | perfetto_cc_library( |
| 3439 | name = "libperfetto_client_experimental", |
| 3440 | srcs = [ |
Lalit Maganti | ea7631b | 2021-01-13 12:33:55 +0000 | [diff] [blame] | 3441 | ":src_android_stats_android_stats", |
| 3442 | ":src_android_stats_perfetto_atoms", |
Primiano Tucci | f18ab81 | 2021-05-14 23:01:19 +0100 | [diff] [blame] | 3443 | ":src_protozero_filtering_bytecode_common", |
| 3444 | ":src_protozero_filtering_bytecode_parser", |
| 3445 | ":src_protozero_filtering_message_filter", |
Primiano Tucci | 3feec55 | 2020-02-04 11:14:42 +0000 | [diff] [blame] | 3446 | ":src_tracing_client_api_without_backends", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 3447 | ":src_tracing_common", |
Primiano Tucci | c4c063b | 2020-01-27 09:34:46 +0000 | [diff] [blame] | 3448 | ":src_tracing_core_core", |
| 3449 | ":src_tracing_core_service", |
Primiano Tucci | 55b4d91 | 2020-01-28 11:17:51 +0000 | [diff] [blame] | 3450 | ":src_tracing_in_process_backend", |
Primiano Tucci | c4c063b | 2020-01-27 09:34:46 +0000 | [diff] [blame] | 3451 | ":src_tracing_ipc_common", |
| 3452 | ":src_tracing_ipc_consumer_consumer", |
Primiano Tucci | 8761a31 | 2021-11-25 17:17:23 +0000 | [diff] [blame] | 3453 | ":src_tracing_ipc_default_socket", |
Primiano Tucci | c4c063b | 2020-01-27 09:34:46 +0000 | [diff] [blame] | 3454 | ":src_tracing_ipc_producer_producer", |
| 3455 | ":src_tracing_ipc_service_service", |
Primiano Tucci | 10c9e9e | 2021-01-08 13:04:40 +0100 | [diff] [blame] | 3456 | ":src_tracing_platform_impl", |
Primiano Tucci | 3feec55 | 2020-02-04 11:14:42 +0000 | [diff] [blame] | 3457 | ":src_tracing_system_backend", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 3458 | ], |
| 3459 | hdrs = [ |
| 3460 | ":include_perfetto_base_base", |
| 3461 | ":include_perfetto_ext_base_base", |
| 3462 | ":include_perfetto_ext_ipc_ipc", |
| 3463 | ":include_perfetto_ext_tracing_core_core", |
| 3464 | ":include_perfetto_ext_tracing_ipc_ipc", |
| 3465 | ":include_perfetto_protozero_protozero", |
| 3466 | ":include_perfetto_tracing_core_core", |
Primiano Tucci | cb8cea2 | 2019-11-22 11:05:35 +0000 | [diff] [blame] | 3467 | ":include_perfetto_tracing_core_forward_decls", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 3468 | ":include_perfetto_tracing_tracing", |
Lalit Maganti | 91d223e | 2019-12-20 12:28:19 +0000 | [diff] [blame] | 3469 | "include/perfetto/tracing.h", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 3470 | ], |
| 3471 | visibility = [ |
| 3472 | "//visibility:public", |
| 3473 | ], |
| 3474 | deps = [ |
Primiano Tucci | 916f4e5 | 2020-10-16 20:40:33 +0200 | [diff] [blame] | 3475 | ":perfetto_ipc", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 3476 | ":protos_perfetto_common_cpp", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 3477 | ":protos_perfetto_common_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 3478 | ":protos_perfetto_config_android_cpp", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 3479 | ":protos_perfetto_config_android_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 3480 | ":protos_perfetto_config_cpp", |
| 3481 | ":protos_perfetto_config_ftrace_cpp", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 3482 | ":protos_perfetto_config_ftrace_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 3483 | ":protos_perfetto_config_gpu_cpp", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 3484 | ":protos_perfetto_config_gpu_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 3485 | ":protos_perfetto_config_inode_file_cpp", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 3486 | ":protos_perfetto_config_inode_file_zero", |
Sami Kyostila | dd1cfd7 | 2020-12-14 15:48:25 +0000 | [diff] [blame] | 3487 | ":protos_perfetto_config_interceptors_cpp", |
| 3488 | ":protos_perfetto_config_interceptors_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 3489 | ":protos_perfetto_config_power_cpp", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 3490 | ":protos_perfetto_config_power_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 3491 | ":protos_perfetto_config_process_stats_cpp", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 3492 | ":protos_perfetto_config_process_stats_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 3493 | ":protos_perfetto_config_profiling_cpp", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 3494 | ":protos_perfetto_config_profiling_zero", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 3495 | ":protos_perfetto_config_sys_stats_cpp", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 3496 | ":protos_perfetto_config_sys_stats_zero", |
Sami Kyostila | 38cd041 | 2020-02-12 17:09:52 +0000 | [diff] [blame] | 3497 | ":protos_perfetto_config_track_event_cpp", |
| 3498 | ":protos_perfetto_config_track_event_zero", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 3499 | ":protos_perfetto_config_zero", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 3500 | ":protos_perfetto_ipc_cpp", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 3501 | ":protos_perfetto_ipc_ipc", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 3502 | ":protos_perfetto_trace_android_zero", |
| 3503 | ":protos_perfetto_trace_chrome_zero", |
| 3504 | ":protos_perfetto_trace_filesystem_zero", |
| 3505 | ":protos_perfetto_trace_ftrace_zero", |
| 3506 | ":protos_perfetto_trace_gpu_zero", |
| 3507 | ":protos_perfetto_trace_interned_data_zero", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 3508 | ":protos_perfetto_trace_minimal_zero", |
| 3509 | ":protos_perfetto_trace_non_minimal_zero", |
| 3510 | ":protos_perfetto_trace_perfetto_zero", |
| 3511 | ":protos_perfetto_trace_power_zero", |
| 3512 | ":protos_perfetto_trace_profiling_zero", |
| 3513 | ":protos_perfetto_trace_ps_zero", |
| 3514 | ":protos_perfetto_trace_sys_stats_zero", |
Rafal Slawik | b013a11 | 2020-04-03 16:12:02 +0100 | [diff] [blame] | 3515 | ":protos_perfetto_trace_system_info_zero", |
Sami Kyostila | d4eec8e | 2020-05-05 15:56:42 +0100 | [diff] [blame] | 3516 | ":protos_perfetto_trace_track_event_cpp", |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 3517 | ":protos_perfetto_trace_track_event_zero", |
Igor Kraskevich | 49b4288 | 2022-03-21 13:03:02 +0000 | [diff] [blame^] | 3518 | ":protos_perfetto_trace_translation_zero", |
Primiano Tucci | 916f4e5 | 2020-10-16 20:40:33 +0200 | [diff] [blame] | 3519 | ":protozero", |
| 3520 | ":src_base_base", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 3521 | ], |
Lalit Maganti | f9c004d | 2020-01-06 14:44:34 +0000 | [diff] [blame] | 3522 | linkstatic = True, |
Pascal Muetschard | b4966c5 | 2019-09-24 13:38:09 -0700 | [diff] [blame] | 3523 | ) |
| 3524 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3525 | # GN target: //src/perfetto_cmd:perfetto |
| 3526 | perfetto_cc_binary( |
| 3527 | name = "perfetto", |
| 3528 | srcs = [ |
| 3529 | ":include_perfetto_base_base", |
| 3530 | ":include_perfetto_ext_base_base", |
| 3531 | ":include_perfetto_ext_ipc_ipc", |
| 3532 | ":include_perfetto_ext_traced_traced", |
| 3533 | ":include_perfetto_ext_tracing_core_core", |
| 3534 | ":include_perfetto_ext_tracing_ipc_ipc", |
| 3535 | ":include_perfetto_protozero_protozero", |
| 3536 | ":include_perfetto_tracing_core_core", |
Primiano Tucci | cb8cea2 | 2019-11-22 11:05:35 +0000 | [diff] [blame] | 3537 | ":include_perfetto_tracing_core_forward_decls", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3538 | ":include_perfetto_tracing_tracing", |
Lalit Maganti | f2d81b7 | 2020-12-11 01:53:29 +0000 | [diff] [blame] | 3539 | ":src_android_stats_android_stats", |
Lalit Maganti | d37172d | 2020-12-10 19:30:05 +0000 | [diff] [blame] | 3540 | ":src_android_stats_perfetto_atoms", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3541 | ":src_perfetto_cmd_perfetto_cmd", |
| 3542 | ":src_perfetto_cmd_trigger_producer", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3543 | ":src_tracing_common", |
Primiano Tucci | c4c063b | 2020-01-27 09:34:46 +0000 | [diff] [blame] | 3544 | ":src_tracing_core_core", |
| 3545 | ":src_tracing_ipc_common", |
| 3546 | ":src_tracing_ipc_consumer_consumer", |
Primiano Tucci | 8761a31 | 2021-11-25 17:17:23 +0000 | [diff] [blame] | 3547 | ":src_tracing_ipc_default_socket", |
Primiano Tucci | c4c063b | 2020-01-27 09:34:46 +0000 | [diff] [blame] | 3548 | ":src_tracing_ipc_producer_producer", |
Primiano Tucci | 34bc559 | 2021-02-19 17:53:36 +0100 | [diff] [blame] | 3549 | "src/perfetto_cmd/main.cc", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3550 | ], |
| 3551 | visibility = [ |
| 3552 | "//visibility:public", |
| 3553 | ], |
| 3554 | deps = [ |
Primiano Tucci | 916f4e5 | 2020-10-16 20:40:33 +0200 | [diff] [blame] | 3555 | ":perfetto_ipc", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 3556 | ":protos_perfetto_common_cpp", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 3557 | ":protos_perfetto_common_zero", |
| 3558 | ":protos_perfetto_config_android_cpp", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 3559 | ":protos_perfetto_config_android_zero", |
| 3560 | ":protos_perfetto_config_cpp", |
| 3561 | ":protos_perfetto_config_ftrace_cpp", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 3562 | ":protos_perfetto_config_ftrace_zero", |
| 3563 | ":protos_perfetto_config_gpu_cpp", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 3564 | ":protos_perfetto_config_gpu_zero", |
| 3565 | ":protos_perfetto_config_inode_file_cpp", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 3566 | ":protos_perfetto_config_inode_file_zero", |
Sami Kyostila | dd1cfd7 | 2020-12-14 15:48:25 +0000 | [diff] [blame] | 3567 | ":protos_perfetto_config_interceptors_cpp", |
| 3568 | ":protos_perfetto_config_interceptors_zero", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 3569 | ":protos_perfetto_config_power_cpp", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 3570 | ":protos_perfetto_config_power_zero", |
| 3571 | ":protos_perfetto_config_process_stats_cpp", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 3572 | ":protos_perfetto_config_process_stats_zero", |
| 3573 | ":protos_perfetto_config_profiling_cpp", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 3574 | ":protos_perfetto_config_profiling_zero", |
| 3575 | ":protos_perfetto_config_sys_stats_cpp", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 3576 | ":protos_perfetto_config_sys_stats_zero", |
Sami Kyostila | 38cd041 | 2020-02-12 17:09:52 +0000 | [diff] [blame] | 3577 | ":protos_perfetto_config_track_event_cpp", |
| 3578 | ":protos_perfetto_config_track_event_zero", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 3579 | ":protos_perfetto_config_zero", |
| 3580 | ":protos_perfetto_ipc_cpp", |
| 3581 | ":protos_perfetto_ipc_ipc", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 3582 | ":protos_perfetto_trace_android_zero", |
| 3583 | ":protos_perfetto_trace_chrome_zero", |
| 3584 | ":protos_perfetto_trace_filesystem_zero", |
| 3585 | ":protos_perfetto_trace_ftrace_zero", |
| 3586 | ":protos_perfetto_trace_gpu_zero", |
| 3587 | ":protos_perfetto_trace_interned_data_zero", |
| 3588 | ":protos_perfetto_trace_minimal_zero", |
| 3589 | ":protos_perfetto_trace_non_minimal_zero", |
| 3590 | ":protos_perfetto_trace_perfetto_zero", |
| 3591 | ":protos_perfetto_trace_power_zero", |
| 3592 | ":protos_perfetto_trace_profiling_zero", |
| 3593 | ":protos_perfetto_trace_ps_zero", |
| 3594 | ":protos_perfetto_trace_sys_stats_zero", |
Rafal Slawik | b013a11 | 2020-04-03 16:12:02 +0100 | [diff] [blame] | 3595 | ":protos_perfetto_trace_system_info_zero", |
Sami Kyostila | d4eec8e | 2020-05-05 15:56:42 +0100 | [diff] [blame] | 3596 | ":protos_perfetto_trace_track_event_cpp", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 3597 | ":protos_perfetto_trace_track_event_zero", |
Igor Kraskevich | 49b4288 | 2022-03-21 13:03:02 +0000 | [diff] [blame^] | 3598 | ":protos_perfetto_trace_translation_zero", |
Primiano Tucci | 916f4e5 | 2020-10-16 20:40:33 +0200 | [diff] [blame] | 3599 | ":protozero", |
| 3600 | ":src_base_base", |
Lalit Maganti | 2939c08 | 2021-03-11 17:25:44 +0000 | [diff] [blame] | 3601 | ":src_perfetto_cmd_gen_cc_config_descriptor", |
Lalit Maganti | 79d70fe | 2022-02-15 18:31:09 +0000 | [diff] [blame] | 3602 | ":src_perfetto_cmd_protos_cpp", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 3603 | ] + PERFETTO_CONFIG.deps.zlib, |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3604 | ) |
| 3605 | |
| 3606 | # GN target: //src/trace_processor:trace_processor |
| 3607 | perfetto_cc_library( |
| 3608 | name = "trace_processor", |
| 3609 | srcs = [ |
Lalit Maganti | 97d7d47 | 2020-04-07 18:49:17 +0100 | [diff] [blame] | 3610 | ":src_trace_processor_analysis_analysis", |
Lalit Maganti | 1534bb7 | 2021-04-23 14:11:26 +0100 | [diff] [blame] | 3611 | ":src_trace_processor_db_db", |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 3612 | ":src_trace_processor_export_json", |
Lalit Maganti | 655adae | 2020-04-14 21:01:25 +0100 | [diff] [blame] | 3613 | ":src_trace_processor_ftrace_descriptors", |
Lalit Maganti | 1534bb7 | 2021-04-23 14:11:26 +0100 | [diff] [blame] | 3614 | ":src_trace_processor_importers_common_common", |
Sylwester Blaszczyk | 76aa700 | 2020-11-27 15:48:21 +0100 | [diff] [blame] | 3615 | ":src_trace_processor_importers_memory_tracker_graph_processor", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3616 | ":src_trace_processor_lib", |
Lalit Maganti | 427b833 | 2020-05-27 16:09:45 +0100 | [diff] [blame] | 3617 | ":src_trace_processor_metatrace", |
Lalit Maganti | 4c328e3 | 2021-11-09 19:29:50 +0000 | [diff] [blame] | 3618 | ":src_trace_processor_metrics_metrics", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3619 | ":src_trace_processor_sqlite_sqlite", |
Mikhail Khokhlov | 692087e | 2019-12-11 10:53:45 +0000 | [diff] [blame] | 3620 | ":src_trace_processor_storage_full", |
| 3621 | ":src_trace_processor_storage_minimal", |
Lalit Maganti | 7010b33 | 2020-02-07 10:51:15 +0000 | [diff] [blame] | 3622 | ":src_trace_processor_storage_storage", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3623 | ":src_trace_processor_tables_tables", |
Lalit Maganti | 83b53fa | 2020-01-13 12:55:36 +0000 | [diff] [blame] | 3624 | ":src_trace_processor_types_types", |
Lalit Maganti | e710740 | 2020-04-15 13:41:12 +0100 | [diff] [blame] | 3625 | ":src_trace_processor_util_descriptors", |
Lalit Maganti | 69216ec | 2021-05-21 14:10:42 +0100 | [diff] [blame] | 3626 | ":src_trace_processor_util_gzip", |
Alexander Timin | 97d8785 | 2021-05-17 18:01:33 +0000 | [diff] [blame] | 3627 | ":src_trace_processor_util_interned_message_view", |
Alexander Timin | 5a99b5c | 2021-05-11 22:48:07 +0000 | [diff] [blame] | 3628 | ":src_trace_processor_util_proto_to_args_parser", |
Deepanjan Roy | 1e04801 | 2020-09-23 12:49:04 -0400 | [diff] [blame] | 3629 | ":src_trace_processor_util_protozero_to_text", |
Lalit Maganti | e710740 | 2020-04-15 13:41:12 +0100 | [diff] [blame] | 3630 | ":src_trace_processor_util_util", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3631 | ], |
| 3632 | hdrs = [ |
| 3633 | ":include_perfetto_base_base", |
| 3634 | ":include_perfetto_ext_base_base", |
Eric Seckler | 7fb1d23 | 2019-10-23 14:42:43 +0100 | [diff] [blame] | 3635 | ":include_perfetto_ext_trace_processor_export_json", |
Sylwester Blaszczyk | 76aa700 | 2020-11-27 15:48:21 +0100 | [diff] [blame] | 3636 | ":include_perfetto_ext_trace_processor_importers_memory_tracker_memory_tracker", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3637 | ":include_perfetto_ext_traced_sys_stats_counters", |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 3638 | ":include_perfetto_trace_processor_basic_types", |
| 3639 | ":include_perfetto_trace_processor_storage", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3640 | ":include_perfetto_trace_processor_trace_processor", |
| 3641 | ], |
| 3642 | visibility = [ |
| 3643 | "//visibility:public", |
| 3644 | ], |
| 3645 | deps = [ |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3646 | ":protos_perfetto_common_zero", |
| 3647 | ":protos_perfetto_config_android_zero", |
| 3648 | ":protos_perfetto_config_ftrace_zero", |
| 3649 | ":protos_perfetto_config_gpu_zero", |
| 3650 | ":protos_perfetto_config_inode_file_zero", |
Sami Kyostila | dd1cfd7 | 2020-12-14 15:48:25 +0000 | [diff] [blame] | 3651 | ":protos_perfetto_config_interceptors_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3652 | ":protos_perfetto_config_power_zero", |
| 3653 | ":protos_perfetto_config_process_stats_zero", |
| 3654 | ":protos_perfetto_config_profiling_zero", |
| 3655 | ":protos_perfetto_config_sys_stats_zero", |
Sami Kyostila | 38cd041 | 2020-02-12 17:09:52 +0000 | [diff] [blame] | 3656 | ":protos_perfetto_config_track_event_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3657 | ":protos_perfetto_config_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3658 | ":protos_perfetto_trace_android_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3659 | ":protos_perfetto_trace_chrome_zero", |
| 3660 | ":protos_perfetto_trace_filesystem_zero", |
| 3661 | ":protos_perfetto_trace_ftrace_zero", |
| 3662 | ":protos_perfetto_trace_gpu_zero", |
| 3663 | ":protos_perfetto_trace_interned_data_zero", |
| 3664 | ":protos_perfetto_trace_minimal_zero", |
| 3665 | ":protos_perfetto_trace_non_minimal_zero", |
| 3666 | ":protos_perfetto_trace_perfetto_zero", |
| 3667 | ":protos_perfetto_trace_power_zero", |
| 3668 | ":protos_perfetto_trace_processor_metrics_impl_zero", |
Deepanjan Roy | 7774777 | 2020-09-01 15:10:33 -0400 | [diff] [blame] | 3669 | ":protos_perfetto_trace_processor_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3670 | ":protos_perfetto_trace_profiling_zero", |
| 3671 | ":protos_perfetto_trace_ps_zero", |
| 3672 | ":protos_perfetto_trace_sys_stats_zero", |
Rafal Slawik | b013a11 | 2020-04-03 16:12:02 +0100 | [diff] [blame] | 3673 | ":protos_perfetto_trace_system_info_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3674 | ":protos_perfetto_trace_track_event_zero", |
Igor Kraskevich | 49b4288 | 2022-03-21 13:03:02 +0000 | [diff] [blame^] | 3675 | ":protos_perfetto_trace_translation_zero", |
Primiano Tucci | 916f4e5 | 2020-10-16 20:40:33 +0200 | [diff] [blame] | 3676 | ":protozero", |
| 3677 | ":src_base_base", |
Ryan | 7ad6b7d | 2021-04-22 17:03:54 +0100 | [diff] [blame] | 3678 | ":src_trace_processor_containers_containers", |
Andrew Shulaev | ba0a5d1 | 2021-01-07 08:44:50 +0000 | [diff] [blame] | 3679 | ":src_trace_processor_importers_gen_cc_chrome_track_event_descriptor", |
Hector Dearman | a1d7524 | 2020-10-02 09:47:24 +0100 | [diff] [blame] | 3680 | ":src_trace_processor_importers_gen_cc_config_descriptor", |
Andrew Shulaev | e72d1a3 | 2021-01-13 12:59:55 +0000 | [diff] [blame] | 3681 | ":src_trace_processor_importers_gen_cc_track_event_descriptor", |
Lalit Maganti | 3b09a3f | 2020-09-14 13:28:44 +0100 | [diff] [blame] | 3682 | ":src_trace_processor_metrics_gen_cc_all_chrome_metrics_descriptor", |
Lalit Maganti | 117272f | 2020-09-11 14:01:18 +0100 | [diff] [blame] | 3683 | ":src_trace_processor_metrics_gen_cc_metrics_descriptor", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3684 | ] + PERFETTO_CONFIG.deps.jsoncpp + |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3685 | PERFETTO_CONFIG.deps.sqlite + |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 3686 | PERFETTO_CONFIG.deps.sqlite_ext_percentile + |
| 3687 | PERFETTO_CONFIG.deps.zlib + [ |
Lalit Maganti | 4c328e3 | 2021-11-09 19:29:50 +0000 | [diff] [blame] | 3688 | ":cc_amalgamated_sql_metrics", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3689 | ], |
Lalit Maganti | f9c004d | 2020-01-06 14:44:34 +0000 | [diff] [blame] | 3690 | linkstatic = True, |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3691 | ) |
| 3692 | |
| 3693 | # GN target: //src/trace_processor:trace_processor_shell |
| 3694 | perfetto_cc_binary( |
| 3695 | name = "trace_processor_shell", |
| 3696 | srcs = [ |
| 3697 | ":include_perfetto_base_base", |
| 3698 | ":include_perfetto_ext_base_base", |
Eric Seckler | 7fb1d23 | 2019-10-23 14:42:43 +0100 | [diff] [blame] | 3699 | ":include_perfetto_ext_trace_processor_export_json", |
Sylwester Blaszczyk | 76aa700 | 2020-11-27 15:48:21 +0100 | [diff] [blame] | 3700 | ":include_perfetto_ext_trace_processor_importers_memory_tracker_memory_tracker", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3701 | ":include_perfetto_ext_traced_sys_stats_counters", |
| 3702 | ":include_perfetto_protozero_protozero", |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 3703 | ":include_perfetto_trace_processor_basic_types", |
| 3704 | ":include_perfetto_trace_processor_storage", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3705 | ":include_perfetto_trace_processor_trace_processor", |
Florian Mayer | f4255a4 | 2020-12-14 19:12:34 +0000 | [diff] [blame] | 3706 | ":src_profiling_deobfuscator", |
Florian Mayer | 6cc8b1d | 2019-12-18 16:37:32 +0000 | [diff] [blame] | 3707 | ":src_profiling_symbolizer_symbolize_database", |
| 3708 | ":src_profiling_symbolizer_symbolizer", |
Lalit Maganti | 7d4b92b | 2021-05-20 17:16:51 +0100 | [diff] [blame] | 3709 | ":src_protozero_proto_ring_buffer", |
Lalit Maganti | 97d7d47 | 2020-04-07 18:49:17 +0100 | [diff] [blame] | 3710 | ":src_trace_processor_analysis_analysis", |
Lalit Maganti | 1534bb7 | 2021-04-23 14:11:26 +0100 | [diff] [blame] | 3711 | ":src_trace_processor_db_db", |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 3712 | ":src_trace_processor_export_json", |
Lalit Maganti | 655adae | 2020-04-14 21:01:25 +0100 | [diff] [blame] | 3713 | ":src_trace_processor_ftrace_descriptors", |
Lalit Maganti | 1534bb7 | 2021-04-23 14:11:26 +0100 | [diff] [blame] | 3714 | ":src_trace_processor_importers_common_common", |
Sylwester Blaszczyk | 76aa700 | 2020-11-27 15:48:21 +0100 | [diff] [blame] | 3715 | ":src_trace_processor_importers_memory_tracker_graph_processor", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3716 | ":src_trace_processor_lib", |
Lalit Maganti | 427b833 | 2020-05-27 16:09:45 +0100 | [diff] [blame] | 3717 | ":src_trace_processor_metatrace", |
Lalit Maganti | 4c328e3 | 2021-11-09 19:29:50 +0000 | [diff] [blame] | 3718 | ":src_trace_processor_metrics_metrics", |
Primiano Tucci | a36cccc | 2019-10-27 13:15:04 +0100 | [diff] [blame] | 3719 | ":src_trace_processor_rpc_httpd", |
| 3720 | ":src_trace_processor_rpc_rpc", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3721 | ":src_trace_processor_sqlite_sqlite", |
Mikhail Khokhlov | 692087e | 2019-12-11 10:53:45 +0000 | [diff] [blame] | 3722 | ":src_trace_processor_storage_full", |
| 3723 | ":src_trace_processor_storage_minimal", |
Lalit Maganti | 7010b33 | 2020-02-07 10:51:15 +0000 | [diff] [blame] | 3724 | ":src_trace_processor_storage_storage", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3725 | ":src_trace_processor_tables_tables", |
Lalit Maganti | 83b53fa | 2020-01-13 12:55:36 +0000 | [diff] [blame] | 3726 | ":src_trace_processor_types_types", |
Lalit Maganti | e710740 | 2020-04-15 13:41:12 +0100 | [diff] [blame] | 3727 | ":src_trace_processor_util_descriptors", |
Lalit Maganti | 69216ec | 2021-05-21 14:10:42 +0100 | [diff] [blame] | 3728 | ":src_trace_processor_util_gzip", |
Alexander Timin | 97d8785 | 2021-05-17 18:01:33 +0000 | [diff] [blame] | 3729 | ":src_trace_processor_util_interned_message_view", |
Alexander Timin | 5a99b5c | 2021-05-11 22:48:07 +0000 | [diff] [blame] | 3730 | ":src_trace_processor_util_proto_to_args_parser", |
Deepanjan Roy | 1e04801 | 2020-09-23 12:49:04 -0400 | [diff] [blame] | 3731 | ":src_trace_processor_util_protozero_to_text", |
Lalit Maganti | e710740 | 2020-04-15 13:41:12 +0100 | [diff] [blame] | 3732 | ":src_trace_processor_util_util", |
Primiano Tucci | 34bc559 | 2021-02-19 17:53:36 +0100 | [diff] [blame] | 3733 | "src/trace_processor/trace_processor_shell.cc", |
| 3734 | "src/trace_processor/util/proto_to_json.cc", |
| 3735 | "src/trace_processor/util/proto_to_json.h", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3736 | ], |
| 3737 | visibility = [ |
| 3738 | "//visibility:public", |
| 3739 | ], |
| 3740 | deps = [ |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3741 | ":protos_perfetto_common_zero", |
| 3742 | ":protos_perfetto_config_android_zero", |
| 3743 | ":protos_perfetto_config_ftrace_zero", |
| 3744 | ":protos_perfetto_config_gpu_zero", |
| 3745 | ":protos_perfetto_config_inode_file_zero", |
Sami Kyostila | dd1cfd7 | 2020-12-14 15:48:25 +0000 | [diff] [blame] | 3746 | ":protos_perfetto_config_interceptors_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3747 | ":protos_perfetto_config_power_zero", |
| 3748 | ":protos_perfetto_config_process_stats_zero", |
| 3749 | ":protos_perfetto_config_profiling_zero", |
| 3750 | ":protos_perfetto_config_sys_stats_zero", |
Sami Kyostila | 38cd041 | 2020-02-12 17:09:52 +0000 | [diff] [blame] | 3751 | ":protos_perfetto_config_track_event_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3752 | ":protos_perfetto_config_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3753 | ":protos_perfetto_trace_android_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3754 | ":protos_perfetto_trace_chrome_zero", |
| 3755 | ":protos_perfetto_trace_filesystem_zero", |
| 3756 | ":protos_perfetto_trace_ftrace_zero", |
| 3757 | ":protos_perfetto_trace_gpu_zero", |
| 3758 | ":protos_perfetto_trace_interned_data_zero", |
| 3759 | ":protos_perfetto_trace_minimal_zero", |
| 3760 | ":protos_perfetto_trace_non_minimal_zero", |
| 3761 | ":protos_perfetto_trace_perfetto_zero", |
| 3762 | ":protos_perfetto_trace_power_zero", |
| 3763 | ":protos_perfetto_trace_processor_metrics_impl_zero", |
Primiano Tucci | a36cccc | 2019-10-27 13:15:04 +0100 | [diff] [blame] | 3764 | ":protos_perfetto_trace_processor_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3765 | ":protos_perfetto_trace_profiling_zero", |
| 3766 | ":protos_perfetto_trace_ps_zero", |
| 3767 | ":protos_perfetto_trace_sys_stats_zero", |
Rafal Slawik | b013a11 | 2020-04-03 16:12:02 +0100 | [diff] [blame] | 3768 | ":protos_perfetto_trace_system_info_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3769 | ":protos_perfetto_trace_track_event_zero", |
Igor Kraskevich | 49b4288 | 2022-03-21 13:03:02 +0000 | [diff] [blame^] | 3770 | ":protos_perfetto_trace_translation_zero", |
Primiano Tucci | 916f4e5 | 2020-10-16 20:40:33 +0200 | [diff] [blame] | 3771 | ":protozero", |
| 3772 | ":src_base_base", |
Primiano Tucci | 44a15be | 2021-11-06 21:40:18 +0000 | [diff] [blame] | 3773 | ":src_base_http_http", |
Ryan | 7ad6b7d | 2021-04-22 17:03:54 +0100 | [diff] [blame] | 3774 | ":src_trace_processor_containers_containers", |
Andrew Shulaev | ba0a5d1 | 2021-01-07 08:44:50 +0000 | [diff] [blame] | 3775 | ":src_trace_processor_importers_gen_cc_chrome_track_event_descriptor", |
Hector Dearman | a1d7524 | 2020-10-02 09:47:24 +0100 | [diff] [blame] | 3776 | ":src_trace_processor_importers_gen_cc_config_descriptor", |
Andrew Shulaev | e72d1a3 | 2021-01-13 12:59:55 +0000 | [diff] [blame] | 3777 | ":src_trace_processor_importers_gen_cc_track_event_descriptor", |
Lalit Maganti | 3b09a3f | 2020-09-14 13:28:44 +0100 | [diff] [blame] | 3778 | ":src_trace_processor_metrics_gen_cc_all_chrome_metrics_descriptor", |
Lalit Maganti | 117272f | 2020-09-11 14:01:18 +0100 | [diff] [blame] | 3779 | ":src_trace_processor_metrics_gen_cc_metrics_descriptor", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 3780 | ] + PERFETTO_CONFIG.deps.jsoncpp + |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3781 | PERFETTO_CONFIG.deps.linenoise + |
Lalit Maganti | a97798d | 2020-09-16 17:40:57 +0100 | [diff] [blame] | 3782 | PERFETTO_CONFIG.deps.protobuf_full + |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3783 | PERFETTO_CONFIG.deps.sqlite + |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 3784 | PERFETTO_CONFIG.deps.sqlite_ext_percentile + |
| 3785 | PERFETTO_CONFIG.deps.zlib + [ |
Lalit Maganti | 4c328e3 | 2021-11-09 19:29:50 +0000 | [diff] [blame] | 3786 | ":cc_amalgamated_sql_metrics", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3787 | ], |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3788 | ) |
| 3789 | |
| 3790 | # GN target: //src/traced/probes:traced_probes |
| 3791 | perfetto_cc_binary( |
| 3792 | name = "traced_probes", |
| 3793 | srcs = [ |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3794 | ":include_perfetto_ext_traced_traced", |
Primiano Tucci | 34bc559 | 2021-02-19 17:53:36 +0100 | [diff] [blame] | 3795 | "src/traced/probes/main.cc", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3796 | ], |
| 3797 | visibility = [ |
| 3798 | "//visibility:public", |
| 3799 | ], |
| 3800 | deps = [ |
| 3801 | ":libperfetto", |
| 3802 | ], |
| 3803 | ) |
| 3804 | |
| 3805 | # GN target: //src/traced/service:traced |
| 3806 | perfetto_cc_binary( |
| 3807 | name = "traced", |
| 3808 | srcs = [ |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3809 | ":include_perfetto_ext_traced_traced", |
Primiano Tucci | 34bc559 | 2021-02-19 17:53:36 +0100 | [diff] [blame] | 3810 | "src/traced/service/main.cc", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3811 | ], |
| 3812 | visibility = [ |
| 3813 | "//visibility:public", |
| 3814 | ], |
| 3815 | deps = [ |
| 3816 | ":libperfetto", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 3817 | ], |
| 3818 | ) |
| 3819 | |
Ioannis Ilkos | bd4ee3f | 2019-06-21 17:40:09 +0100 | [diff] [blame] | 3820 | # GN target: //tools/trace_to_text:libpprofbuilder |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3821 | perfetto_cc_library( |
Primiano Tucci | 02c1176 | 2019-08-30 00:57:59 +0200 | [diff] [blame] | 3822 | name = "libpprofbuilder", |
Ioannis Ilkos | bd4ee3f | 2019-06-21 17:40:09 +0100 | [diff] [blame] | 3823 | srcs = [ |
Florian Mayer | 3be55fb | 2019-11-22 13:08:47 +0000 | [diff] [blame] | 3824 | ":src_profiling_deobfuscator", |
Florian Mayer | bd88ff8 | 2019-12-18 16:36:37 +0000 | [diff] [blame] | 3825 | ":src_profiling_symbolizer_symbolize_database", |
| 3826 | ":src_profiling_symbolizer_symbolizer", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3827 | ":tools_trace_to_text_pprofbuilder", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3828 | ":tools_trace_to_text_utils", |
Ioannis Ilkos | bd4ee3f | 2019-06-21 17:40:09 +0100 | [diff] [blame] | 3829 | ], |
| 3830 | hdrs = [ |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3831 | ":include_perfetto_base_base", |
| 3832 | ":include_perfetto_ext_base_base", |
Florian Mayer | bd88ff8 | 2019-12-18 16:36:37 +0000 | [diff] [blame] | 3833 | ":include_perfetto_profiling_pprof_builder", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3834 | ":include_perfetto_protozero_protozero", |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 3835 | ":include_perfetto_trace_processor_basic_types", |
| 3836 | ":include_perfetto_trace_processor_storage", |
Florian Mayer | 5403ce9 | 2019-09-19 19:55:17 +0100 | [diff] [blame] | 3837 | ":include_perfetto_trace_processor_trace_processor", |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3838 | ], |
| 3839 | visibility = [ |
| 3840 | "//visibility:public", |
Ioannis Ilkos | bd4ee3f | 2019-06-21 17:40:09 +0100 | [diff] [blame] | 3841 | ], |
| 3842 | deps = [ |
Primiano Tucci | 2d813fd | 2019-11-26 17:27:07 +0000 | [diff] [blame] | 3843 | ":protos_perfetto_common_zero", |
| 3844 | ":protos_perfetto_config_android_zero", |
| 3845 | ":protos_perfetto_config_ftrace_zero", |
| 3846 | ":protos_perfetto_config_gpu_zero", |
| 3847 | ":protos_perfetto_config_inode_file_zero", |
Sami Kyostila | dd1cfd7 | 2020-12-14 15:48:25 +0000 | [diff] [blame] | 3848 | ":protos_perfetto_config_interceptors_zero", |
Primiano Tucci | 2d813fd | 2019-11-26 17:27:07 +0000 | [diff] [blame] | 3849 | ":protos_perfetto_config_power_zero", |
| 3850 | ":protos_perfetto_config_process_stats_zero", |
| 3851 | ":protos_perfetto_config_profiling_zero", |
| 3852 | ":protos_perfetto_config_sys_stats_zero", |
Sami Kyostila | 38cd041 | 2020-02-12 17:09:52 +0000 | [diff] [blame] | 3853 | ":protos_perfetto_config_track_event_zero", |
Primiano Tucci | 2d813fd | 2019-11-26 17:27:07 +0000 | [diff] [blame] | 3854 | ":protos_perfetto_config_zero", |
| 3855 | ":protos_perfetto_trace_android_zero", |
| 3856 | ":protos_perfetto_trace_chrome_zero", |
| 3857 | ":protos_perfetto_trace_filesystem_zero", |
| 3858 | ":protos_perfetto_trace_ftrace_zero", |
| 3859 | ":protos_perfetto_trace_gpu_zero", |
| 3860 | ":protos_perfetto_trace_interned_data_zero", |
| 3861 | ":protos_perfetto_trace_minimal_zero", |
| 3862 | ":protos_perfetto_trace_non_minimal_zero", |
| 3863 | ":protos_perfetto_trace_perfetto_zero", |
| 3864 | ":protos_perfetto_trace_power_zero", |
| 3865 | ":protos_perfetto_trace_profiling_zero", |
| 3866 | ":protos_perfetto_trace_ps_zero", |
| 3867 | ":protos_perfetto_trace_sys_stats_zero", |
Rafal Slawik | b013a11 | 2020-04-03 16:12:02 +0100 | [diff] [blame] | 3868 | ":protos_perfetto_trace_system_info_zero", |
Primiano Tucci | 2d813fd | 2019-11-26 17:27:07 +0000 | [diff] [blame] | 3869 | ":protos_perfetto_trace_track_event_zero", |
Igor Kraskevich | 49b4288 | 2022-03-21 13:03:02 +0000 | [diff] [blame^] | 3870 | ":protos_perfetto_trace_translation_zero", |
Primiano Tucci | 2d813fd | 2019-11-26 17:27:07 +0000 | [diff] [blame] | 3871 | ":protos_third_party_pprof_zero", |
Florian Mayer | f4255a4 | 2020-12-14 19:12:34 +0000 | [diff] [blame] | 3872 | ":protozero", |
Ryan | 7ad6b7d | 2021-04-22 17:03:54 +0100 | [diff] [blame] | 3873 | ":src_trace_processor_containers_containers", |
Primiano Tucci | 2d813fd | 2019-11-26 17:27:07 +0000 | [diff] [blame] | 3874 | ] + PERFETTO_CONFIG.deps.zlib, |
Lalit Maganti | f9c004d | 2020-01-06 14:44:34 +0000 | [diff] [blame] | 3875 | linkstatic = True, |
Ioannis Ilkos | bd4ee3f | 2019-06-21 17:40:09 +0100 | [diff] [blame] | 3876 | ) |
| 3877 | |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3878 | # GN target: //tools/trace_to_text:trace_to_text |
| 3879 | perfetto_cc_binary( |
| 3880 | name = "trace_to_text", |
| 3881 | srcs = [ |
| 3882 | ":include_perfetto_base_base", |
| 3883 | ":include_perfetto_ext_base_base", |
Eric Seckler | 7fb1d23 | 2019-10-23 14:42:43 +0100 | [diff] [blame] | 3884 | ":include_perfetto_ext_trace_processor_export_json", |
Sylwester Blaszczyk | 76aa700 | 2020-11-27 15:48:21 +0100 | [diff] [blame] | 3885 | ":include_perfetto_ext_trace_processor_importers_memory_tracker_memory_tracker", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3886 | ":include_perfetto_ext_traced_sys_stats_counters", |
Florian Mayer | bd88ff8 | 2019-12-18 16:36:37 +0000 | [diff] [blame] | 3887 | ":include_perfetto_profiling_pprof_builder", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3888 | ":include_perfetto_protozero_protozero", |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 3889 | ":include_perfetto_trace_processor_basic_types", |
| 3890 | ":include_perfetto_trace_processor_storage", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3891 | ":include_perfetto_trace_processor_trace_processor", |
Florian Mayer | 3be55fb | 2019-11-22 13:08:47 +0000 | [diff] [blame] | 3892 | ":src_profiling_deobfuscator", |
Florian Mayer | bd88ff8 | 2019-12-18 16:36:37 +0000 | [diff] [blame] | 3893 | ":src_profiling_symbolizer_symbolize_database", |
| 3894 | ":src_profiling_symbolizer_symbolizer", |
Lalit Maganti | 7ee6468 | 2021-05-20 17:56:09 +0100 | [diff] [blame] | 3895 | ":src_protozero_proto_ring_buffer", |
Lalit Maganti | 97d7d47 | 2020-04-07 18:49:17 +0100 | [diff] [blame] | 3896 | ":src_trace_processor_analysis_analysis", |
Lalit Maganti | 1534bb7 | 2021-04-23 14:11:26 +0100 | [diff] [blame] | 3897 | ":src_trace_processor_db_db", |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 3898 | ":src_trace_processor_export_json", |
Lalit Maganti | 655adae | 2020-04-14 21:01:25 +0100 | [diff] [blame] | 3899 | ":src_trace_processor_ftrace_descriptors", |
Lalit Maganti | 1534bb7 | 2021-04-23 14:11:26 +0100 | [diff] [blame] | 3900 | ":src_trace_processor_importers_common_common", |
Sylwester Blaszczyk | 76aa700 | 2020-11-27 15:48:21 +0100 | [diff] [blame] | 3901 | ":src_trace_processor_importers_memory_tracker_graph_processor", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3902 | ":src_trace_processor_lib", |
Lalit Maganti | 427b833 | 2020-05-27 16:09:45 +0100 | [diff] [blame] | 3903 | ":src_trace_processor_metatrace", |
Lalit Maganti | 4c328e3 | 2021-11-09 19:29:50 +0000 | [diff] [blame] | 3904 | ":src_trace_processor_metrics_metrics", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3905 | ":src_trace_processor_sqlite_sqlite", |
Mikhail Khokhlov | 692087e | 2019-12-11 10:53:45 +0000 | [diff] [blame] | 3906 | ":src_trace_processor_storage_full", |
| 3907 | ":src_trace_processor_storage_minimal", |
Lalit Maganti | 7010b33 | 2020-02-07 10:51:15 +0000 | [diff] [blame] | 3908 | ":src_trace_processor_storage_storage", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3909 | ":src_trace_processor_tables_tables", |
Lalit Maganti | 83b53fa | 2020-01-13 12:55:36 +0000 | [diff] [blame] | 3910 | ":src_trace_processor_types_types", |
Lalit Maganti | e710740 | 2020-04-15 13:41:12 +0100 | [diff] [blame] | 3911 | ":src_trace_processor_util_descriptors", |
Lalit Maganti | 69216ec | 2021-05-21 14:10:42 +0100 | [diff] [blame] | 3912 | ":src_trace_processor_util_gzip", |
Alexander Timin | 97d8785 | 2021-05-17 18:01:33 +0000 | [diff] [blame] | 3913 | ":src_trace_processor_util_interned_message_view", |
Alexander Timin | 5a99b5c | 2021-05-11 22:48:07 +0000 | [diff] [blame] | 3914 | ":src_trace_processor_util_proto_to_args_parser", |
Deepanjan Roy | 1e04801 | 2020-09-23 12:49:04 -0400 | [diff] [blame] | 3915 | ":src_trace_processor_util_protozero_to_text", |
Lalit Maganti | e710740 | 2020-04-15 13:41:12 +0100 | [diff] [blame] | 3916 | ":src_trace_processor_util_util", |
Mohit Saini | dc2a57b | 2022-03-04 15:17:25 +0000 | [diff] [blame] | 3917 | ":tools_trace_to_text_lib", |
| 3918 | ":tools_trace_to_text_main", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3919 | ":tools_trace_to_text_pprofbuilder", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3920 | ":tools_trace_to_text_utils", |
| 3921 | ], |
| 3922 | visibility = [ |
| 3923 | "//visibility:public", |
| 3924 | ], |
| 3925 | deps = [ |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3926 | ":protos_perfetto_common_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3927 | ":protos_perfetto_config_android_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3928 | ":protos_perfetto_config_ftrace_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3929 | ":protos_perfetto_config_gpu_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3930 | ":protos_perfetto_config_inode_file_zero", |
Sami Kyostila | dd1cfd7 | 2020-12-14 15:48:25 +0000 | [diff] [blame] | 3931 | ":protos_perfetto_config_interceptors_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3932 | ":protos_perfetto_config_power_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3933 | ":protos_perfetto_config_process_stats_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3934 | ":protos_perfetto_config_profiling_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3935 | ":protos_perfetto_config_sys_stats_zero", |
Sami Kyostila | 38cd041 | 2020-02-12 17:09:52 +0000 | [diff] [blame] | 3936 | ":protos_perfetto_config_track_event_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3937 | ":protos_perfetto_config_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3938 | ":protos_perfetto_trace_android_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3939 | ":protos_perfetto_trace_chrome_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3940 | ":protos_perfetto_trace_filesystem_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3941 | ":protos_perfetto_trace_ftrace_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3942 | ":protos_perfetto_trace_gpu_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3943 | ":protos_perfetto_trace_interned_data_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3944 | ":protos_perfetto_trace_minimal_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3945 | ":protos_perfetto_trace_non_minimal_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3946 | ":protos_perfetto_trace_perfetto_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3947 | ":protos_perfetto_trace_power_zero", |
| 3948 | ":protos_perfetto_trace_processor_metrics_impl_zero", |
Deepanjan Roy | 7774777 | 2020-09-01 15:10:33 -0400 | [diff] [blame] | 3949 | ":protos_perfetto_trace_processor_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3950 | ":protos_perfetto_trace_profiling_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3951 | ":protos_perfetto_trace_ps_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3952 | ":protos_perfetto_trace_sys_stats_zero", |
Rafal Slawik | b013a11 | 2020-04-03 16:12:02 +0100 | [diff] [blame] | 3953 | ":protos_perfetto_trace_system_info_zero", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3954 | ":protos_perfetto_trace_track_event_zero", |
Igor Kraskevich | 49b4288 | 2022-03-21 13:03:02 +0000 | [diff] [blame^] | 3955 | ":protos_perfetto_trace_translation_zero", |
Primiano Tucci | 2d813fd | 2019-11-26 17:27:07 +0000 | [diff] [blame] | 3956 | ":protos_third_party_pprof_zero", |
Primiano Tucci | 916f4e5 | 2020-10-16 20:40:33 +0200 | [diff] [blame] | 3957 | ":protozero", |
| 3958 | ":src_base_base", |
Ryan | 7ad6b7d | 2021-04-22 17:03:54 +0100 | [diff] [blame] | 3959 | ":src_trace_processor_containers_containers", |
Andrew Shulaev | ba0a5d1 | 2021-01-07 08:44:50 +0000 | [diff] [blame] | 3960 | ":src_trace_processor_importers_gen_cc_chrome_track_event_descriptor", |
Hector Dearman | a1d7524 | 2020-10-02 09:47:24 +0100 | [diff] [blame] | 3961 | ":src_trace_processor_importers_gen_cc_config_descriptor", |
Andrew Shulaev | e72d1a3 | 2021-01-13 12:59:55 +0000 | [diff] [blame] | 3962 | ":src_trace_processor_importers_gen_cc_track_event_descriptor", |
Lalit Maganti | 3b09a3f | 2020-09-14 13:28:44 +0100 | [diff] [blame] | 3963 | ":src_trace_processor_metrics_gen_cc_all_chrome_metrics_descriptor", |
Lalit Maganti | 117272f | 2020-09-11 14:01:18 +0100 | [diff] [blame] | 3964 | ":src_trace_processor_metrics_gen_cc_metrics_descriptor", |
Lalit Maganti | 9c2318c | 2021-05-20 16:21:41 +0100 | [diff] [blame] | 3965 | ":tools_trace_to_text_gen_cc_trace_descriptor", |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 3966 | ] + PERFETTO_CONFIG.deps.jsoncpp + |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3967 | PERFETTO_CONFIG.deps.sqlite + |
Matthew Clarkson | 9a5dfa5 | 2019-10-03 09:54:04 +0100 | [diff] [blame] | 3968 | PERFETTO_CONFIG.deps.sqlite_ext_percentile + |
| 3969 | PERFETTO_CONFIG.deps.zlib + [ |
Lalit Maganti | 4c328e3 | 2021-11-09 19:29:50 +0000 | [diff] [blame] | 3970 | ":cc_amalgamated_sql_metrics", |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3971 | ], |
| 3972 | ) |
| 3973 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3974 | # Content from BUILD.extras |
| 3975 | |
| 3976 | build_config_dir_ = "include/perfetto/base/build_configs/bazel" |
| 3977 | |
| 3978 | # Deliberately NOT a perfetto_cc_library, to avoid cyclic deps. |
| 3979 | # This is pulled as a default dep by all targets. |
Harvey Yang | 321c4fc | 2021-10-25 14:11:50 +0800 | [diff] [blame] | 3980 | perfetto_build_config_cc_library( |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3981 | name = "build_config_hdr", |
| 3982 | hdrs = [build_config_dir_ + "/perfetto_build_flags.h"], |
| 3983 | includes = [build_config_dir_], |
Primiano Tucci | 02c1176 | 2019-08-30 00:57:59 +0200 | [diff] [blame] | 3984 | ) |
| 3985 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3986 | perfetto_cc_library( |
Lalit Maganti | 4c328e3 | 2021-11-09 19:29:50 +0000 | [diff] [blame] | 3987 | name = "cc_amalgamated_sql_metrics", |
| 3988 | hdrs = ["src/trace_processor/metrics/sql/amalgamated_sql_metrics.h"], |
Primiano Tucci | 02c1176 | 2019-08-30 00:57:59 +0200 | [diff] [blame] | 3989 | ) |
| 3990 | |
Primiano Tucci | 1d40998 | 2019-09-19 10:15:18 +0100 | [diff] [blame] | 3991 | perfetto_py_binary( |
Lalit Maganti | 4c328e3 | 2021-11-09 19:29:50 +0000 | [diff] [blame] | 3992 | name = "gen_amalgamated_sql_metrics_py", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 3993 | srcs = [ |
Lalit Maganti | 4c328e3 | 2021-11-09 19:29:50 +0000 | [diff] [blame] | 3994 | "tools/gen_amalgamated_sql_metrics.py", |
Lalit Maganti | ab619fa | 2019-05-02 12:56:37 +0100 | [diff] [blame] | 3995 | ], |
Lalit Maganti | 4c328e3 | 2021-11-09 19:29:50 +0000 | [diff] [blame] | 3996 | main = "tools/gen_amalgamated_sql_metrics.py", |
Lalit Maganti | c449f77 | 2020-06-03 14:20:10 +0100 | [diff] [blame] | 3997 | python_version = "PY3", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 3998 | ) |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 3999 | |
Lalit Maganti | 117272f | 2020-09-11 14:01:18 +0100 | [diff] [blame] | 4000 | perfetto_py_binary( |
| 4001 | name = "gen_cc_proto_descriptor_py", |
| 4002 | srcs = [ |
| 4003 | "tools/gen_cc_proto_descriptor.py", |
| 4004 | ], |
| 4005 | main = "tools/gen_cc_proto_descriptor.py", |
| 4006 | python_version = "PY3", |
| 4007 | ) |
| 4008 | |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 4009 | perfetto_java_proto_library( |
| 4010 | name = "protos_perfetto_metrics_java", |
| 4011 | deps = [ |
| 4012 | ":protos_perfetto_metrics_protos", |
| 4013 | ], |
Lalit Maganti | 8d6d7c1 | 2022-02-24 20:35:23 +0000 | [diff] [blame] | 4014 | visibility = PERFETTO_CONFIG.public_visibility, |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 4015 | ) |
| 4016 | |
| 4017 | perfetto_java_proto_library( |
| 4018 | name = "protos_perfetto_metrics_android_java", |
| 4019 | deps = [ |
| 4020 | ":protos_perfetto_metrics_android_protos", |
| 4021 | ], |
Lalit Maganti | 8d6d7c1 | 2022-02-24 20:35:23 +0000 | [diff] [blame] | 4022 | visibility = PERFETTO_CONFIG.public_visibility, |
Lalit Maganti | 46e2bda | 2020-05-06 12:51:33 +0100 | [diff] [blame] | 4023 | ) |
| 4024 | |
Lalit Maganti | 6560034 | 2019-09-19 21:35:35 +0100 | [diff] [blame] | 4025 | perfetto_gensignature_internal_only( |
| 4026 | name = "trace_processor_sig", |
| 4027 | srcs = [ |
| 4028 | ":trace_processor_shell", |
| 4029 | ":trace_to_text", |
| 4030 | ], |
| 4031 | tags = [ |
| 4032 | "__TRACE_PROCESSOR_SIG_TAG1", |
| 4033 | "__TRACE_PROCESSOR_SIG_TAG2", |
| 4034 | ], |
| 4035 | ) |
Anindita Ghosh | 237a776 | 2020-06-30 10:46:52 +0000 | [diff] [blame] | 4036 | |
Primiano Tucci | ec59013 | 2020-11-16 14:16:44 +0100 | [diff] [blame] | 4037 | # This is overridden in google internal builds via |
| 4038 | # PERFETTO_CONFIG.deps.version_header (see perfetto_cfg.bzl). |
| 4039 | perfetto_cc_library( |
| 4040 | name = "cc_perfetto_version_header", |
| 4041 | hdrs = ["perfetto_version.gen.h"], |
| 4042 | ) |
| 4043 | |
| 4044 | perfetto_py_binary( |
| 4045 | name = "gen_version_header_py", |
| 4046 | srcs = ["tools/write_version_header.py"], |
| 4047 | data = ["CHANGELOG"], |
| 4048 | main = "tools/write_version_header.py", |
| 4049 | python_version = "PY3", |
| 4050 | ) |