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