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