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