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