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