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