Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 1 | // Copyright (C) 2017 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 | // |
| 15 | // This file is automatically generated by tools/gen_android_bp. Do not edit. |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 16 | |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 17 | // GN target: //:heapprofd |
| 18 | cc_binary { |
| 19 | name: "heapprofd", |
| 20 | srcs: [ |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 21 | ":perfetto_protos_perfetto_common_lite_gen", |
| 22 | ":perfetto_protos_perfetto_common_zero_gen", |
| 23 | ":perfetto_protos_perfetto_config_lite_gen", |
| 24 | ":perfetto_protos_perfetto_config_zero_gen", |
| 25 | ":perfetto_protos_perfetto_ipc_ipc_gen", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 26 | ":perfetto_protos_perfetto_trace_android_zero_gen", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 27 | ":perfetto_protos_perfetto_trace_chrome_zero_gen", |
| 28 | ":perfetto_protos_perfetto_trace_filesystem_zero_gen", |
| 29 | ":perfetto_protos_perfetto_trace_ftrace_zero_gen", |
| 30 | ":perfetto_protos_perfetto_trace_minimal_lite_gen", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 31 | ":perfetto_protos_perfetto_trace_power_zero_gen", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 32 | ":perfetto_protos_perfetto_trace_profiling_zero_gen", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 33 | ":perfetto_protos_perfetto_trace_ps_zero_gen", |
| 34 | ":perfetto_protos_perfetto_trace_sys_stats_zero_gen", |
| 35 | ":perfetto_protos_perfetto_trace_trusted_lite_gen", |
| 36 | ":perfetto_protos_perfetto_trace_zero_gen", |
| 37 | ":perfetto_src_ipc_wire_protocol_gen", |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 38 | "src/base/event.cc", |
| 39 | "src/base/file_utils.cc", |
| 40 | "src/base/metatrace.cc", |
Eric Seckler | edf3f7c | 2018-10-23 16:44:53 +0100 | [diff] [blame] | 41 | "src/base/paged_memory.cc", |
Primiano Tucci | 76499cd | 2018-11-21 10:54:04 +0100 | [diff] [blame] | 42 | "src/base/pipe.cc", |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 43 | "src/base/string_splitter.cc", |
| 44 | "src/base/string_utils.cc", |
| 45 | "src/base/temp_file.cc", |
| 46 | "src/base/thread_checker.cc", |
| 47 | "src/base/time.cc", |
| 48 | "src/base/unix_socket.cc", |
| 49 | "src/base/unix_task_runner.cc", |
| 50 | "src/base/virtual_destructors.cc", |
| 51 | "src/base/watchdog_posix.cc", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 52 | "src/ipc/buffered_frame_deserializer.cc", |
| 53 | "src/ipc/client_impl.cc", |
| 54 | "src/ipc/deferred.cc", |
| 55 | "src/ipc/host_impl.cc", |
| 56 | "src/ipc/service_proxy.cc", |
| 57 | "src/ipc/virtual_destructors.cc", |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 58 | "src/profiling/memory/bookkeeping.cc", |
Florian Mayer | e9f4686 | 2018-11-07 20:20:37 +0000 | [diff] [blame] | 59 | "src/profiling/memory/heapprofd_producer.cc", |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 60 | "src/profiling/memory/main.cc", |
Florian Mayer | 745aaf2 | 2018-12-13 14:53:07 +0000 | [diff] [blame] | 61 | "src/profiling/memory/proc_utils.cc", |
Florian Mayer | 895efd9 | 2018-12-04 19:21:22 +0000 | [diff] [blame] | 62 | "src/profiling/memory/process_matcher.cc", |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 63 | "src/profiling/memory/record_reader.cc", |
| 64 | "src/profiling/memory/socket_listener.cc", |
Florian Mayer | 78cb562 | 2018-11-27 17:17:10 +0000 | [diff] [blame] | 65 | "src/profiling/memory/system_property.cc", |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 66 | "src/profiling/memory/unwinding.cc", |
| 67 | "src/profiling/memory/wire_protocol.cc", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 68 | "src/protozero/message.cc", |
| 69 | "src/protozero/message_handle.cc", |
| 70 | "src/protozero/proto_decoder.cc", |
| 71 | "src/protozero/proto_field_descriptor.cc", |
Hector Dearman | b7fa544 | 2018-11-08 18:39:32 +0000 | [diff] [blame] | 72 | "src/protozero/scattered_stream_memory_delegate.cc", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 73 | "src/protozero/scattered_stream_null_delegate.cc", |
| 74 | "src/protozero/scattered_stream_writer.cc", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 75 | "src/tracing/core/android_log_config.cc", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 76 | "src/tracing/core/android_power_config.cc", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 77 | "src/tracing/core/chrome_config.cc", |
| 78 | "src/tracing/core/commit_data_request.cc", |
| 79 | "src/tracing/core/data_source_config.cc", |
| 80 | "src/tracing/core/data_source_descriptor.cc", |
| 81 | "src/tracing/core/ftrace_config.cc", |
| 82 | "src/tracing/core/heapprofd_config.cc", |
| 83 | "src/tracing/core/id_allocator.cc", |
| 84 | "src/tracing/core/inode_file_config.cc", |
| 85 | "src/tracing/core/null_trace_writer.cc", |
| 86 | "src/tracing/core/packet_stream_validator.cc", |
| 87 | "src/tracing/core/process_stats_config.cc", |
| 88 | "src/tracing/core/shared_memory_abi.cc", |
| 89 | "src/tracing/core/shared_memory_arbiter_impl.cc", |
| 90 | "src/tracing/core/sliced_protobuf_input_stream.cc", |
| 91 | "src/tracing/core/sys_stats_config.cc", |
| 92 | "src/tracing/core/test_config.cc", |
| 93 | "src/tracing/core/trace_buffer.cc", |
| 94 | "src/tracing/core/trace_config.cc", |
| 95 | "src/tracing/core/trace_packet.cc", |
| 96 | "src/tracing/core/trace_writer_impl.cc", |
| 97 | "src/tracing/core/tracing_service_impl.cc", |
| 98 | "src/tracing/core/virtual_destructors.cc", |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 99 | ], |
| 100 | shared_libs: [ |
| 101 | "libbase", |
| 102 | "liblog", |
| 103 | "libprocinfo", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 104 | "libprotobuf-cpp-lite", |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 105 | "libunwindstack", |
| 106 | ], |
Eric Seckler | 57c89d9 | 2018-10-26 15:11:55 +0100 | [diff] [blame] | 107 | static_libs: [ |
| 108 | "libgtest_prod", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 109 | "perfetto_src_tracing_ipc", |
Eric Seckler | 57c89d9 | 2018-10-26 15:11:55 +0100 | [diff] [blame] | 110 | ], |
Florian Mayer | 7a5d83b | 2018-10-18 18:57:02 +0100 | [diff] [blame] | 111 | init_rc: [ |
| 112 | "heapprofd.rc", |
| 113 | ], |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 114 | generated_headers: [ |
| 115 | "perfetto_protos_perfetto_common_lite_gen_headers", |
| 116 | "perfetto_protos_perfetto_common_zero_gen_headers", |
| 117 | "perfetto_protos_perfetto_config_lite_gen_headers", |
| 118 | "perfetto_protos_perfetto_config_zero_gen_headers", |
| 119 | "perfetto_protos_perfetto_ipc_ipc_gen_headers", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 120 | "perfetto_protos_perfetto_trace_android_zero_gen_headers", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 121 | "perfetto_protos_perfetto_trace_chrome_zero_gen_headers", |
| 122 | "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers", |
| 123 | "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers", |
| 124 | "perfetto_protos_perfetto_trace_minimal_lite_gen_headers", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 125 | "perfetto_protos_perfetto_trace_power_zero_gen_headers", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 126 | "perfetto_protos_perfetto_trace_profiling_zero_gen_headers", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 127 | "perfetto_protos_perfetto_trace_ps_zero_gen_headers", |
| 128 | "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers", |
| 129 | "perfetto_protos_perfetto_trace_trusted_lite_gen_headers", |
| 130 | "perfetto_protos_perfetto_trace_zero_gen_headers", |
| 131 | "perfetto_src_ipc_wire_protocol_gen_headers", |
| 132 | ], |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 133 | defaults: [ |
| 134 | "perfetto_defaults", |
| 135 | ], |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 136 | cflags: [ |
| 137 | "-DGOOGLE_PROTOBUF_NO_RTTI", |
| 138 | "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
| 139 | ], |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 140 | } |
| 141 | |
| 142 | // GN target: //:heapprofd_client |
| 143 | cc_library_shared { |
| 144 | name: "heapprofd_client", |
| 145 | srcs: [ |
| 146 | "src/base/event.cc", |
| 147 | "src/base/file_utils.cc", |
| 148 | "src/base/metatrace.cc", |
Eric Seckler | edf3f7c | 2018-10-23 16:44:53 +0100 | [diff] [blame] | 149 | "src/base/paged_memory.cc", |
Primiano Tucci | 76499cd | 2018-11-21 10:54:04 +0100 | [diff] [blame] | 150 | "src/base/pipe.cc", |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 151 | "src/base/string_splitter.cc", |
| 152 | "src/base/string_utils.cc", |
| 153 | "src/base/temp_file.cc", |
| 154 | "src/base/thread_checker.cc", |
| 155 | "src/base/time.cc", |
| 156 | "src/base/unix_socket.cc", |
| 157 | "src/base/unix_task_runner.cc", |
| 158 | "src/base/virtual_destructors.cc", |
| 159 | "src/base/watchdog_posix.cc", |
| 160 | "src/profiling/memory/client.cc", |
| 161 | "src/profiling/memory/malloc_hooks.cc", |
| 162 | "src/profiling/memory/sampler.cc", |
| 163 | "src/profiling/memory/wire_protocol.cc", |
| 164 | ], |
| 165 | shared_libs: [ |
| 166 | "libbase", |
| 167 | "liblog", |
| 168 | "libprocinfo", |
| 169 | "libunwindstack", |
| 170 | ], |
Eric Seckler | 57c89d9 | 2018-10-26 15:11:55 +0100 | [diff] [blame] | 171 | static_libs: [ |
| 172 | "libgtest_prod", |
| 173 | ], |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 174 | defaults: [ |
| 175 | "perfetto_defaults", |
| 176 | ], |
| 177 | include_dirs: [ |
| 178 | "bionic/libc", |
| 179 | ], |
| 180 | } |
| 181 | |
Primiano Tucci | bdb2a59 | 2018-10-11 15:59:29 +0100 | [diff] [blame] | 182 | // GN target: //:libperfetto |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 183 | cc_library_shared { |
Primiano Tucci | bdb2a59 | 2018-10-11 15:59:29 +0100 | [diff] [blame] | 184 | name: "libperfetto", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 185 | srcs: [ |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 186 | ":perfetto_protos_perfetto_common_lite_gen", |
| 187 | ":perfetto_protos_perfetto_common_zero_gen", |
| 188 | ":perfetto_protos_perfetto_config_lite_gen", |
| 189 | ":perfetto_protos_perfetto_config_zero_gen", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 190 | ":perfetto_protos_perfetto_ipc_ipc_gen", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 191 | ":perfetto_protos_perfetto_trace_android_zero_gen", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 192 | ":perfetto_protos_perfetto_trace_chrome_zero_gen", |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 193 | ":perfetto_protos_perfetto_trace_filesystem_zero_gen", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 194 | ":perfetto_protos_perfetto_trace_ftrace_zero_gen", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 195 | ":perfetto_protos_perfetto_trace_minimal_lite_gen", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 196 | ":perfetto_protos_perfetto_trace_power_zero_gen", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 197 | ":perfetto_protos_perfetto_trace_profiling_zero_gen", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 198 | ":perfetto_protos_perfetto_trace_ps_zero_gen", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 199 | ":perfetto_protos_perfetto_trace_sys_stats_zero_gen", |
Oystein Eftevaag | 4d0f6c8 | 2018-04-30 14:19:59 -0700 | [diff] [blame] | 200 | ":perfetto_protos_perfetto_trace_trusted_lite_gen", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 201 | ":perfetto_protos_perfetto_trace_zero_gen", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 202 | ":perfetto_src_ipc_wire_protocol_gen", |
Primiano Tucci | 9f7189c | 2018-10-05 00:42:12 +0100 | [diff] [blame] | 203 | "src/base/event.cc", |
Florian Mayer | 74b73a9 | 2018-03-09 17:37:13 +0000 | [diff] [blame] | 204 | "src/base/file_utils.cc", |
Florian Mayer | 236ba47 | 2018-05-09 15:47:53 +0100 | [diff] [blame] | 205 | "src/base/metatrace.cc", |
Eric Seckler | edf3f7c | 2018-10-23 16:44:53 +0100 | [diff] [blame] | 206 | "src/base/paged_memory.cc", |
Primiano Tucci | 76499cd | 2018-11-21 10:54:04 +0100 | [diff] [blame] | 207 | "src/base/pipe.cc", |
Primiano Tucci | 825e6de | 2018-03-13 05:43:15 +0000 | [diff] [blame] | 208 | "src/base/string_splitter.cc", |
Hector Dearman | 3afb1e0 | 2018-04-27 16:46:52 +0100 | [diff] [blame] | 209 | "src/base/string_utils.cc", |
Primiano Tucci | 941b221 | 2018-03-14 22:46:31 +0000 | [diff] [blame] | 210 | "src/base/temp_file.cc", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 211 | "src/base/thread_checker.cc", |
Florian Mayer | 75905df | 2018-05-08 17:44:08 +0100 | [diff] [blame] | 212 | "src/base/time.cc", |
Florian Mayer | f7f0def | 2018-09-27 13:59:24 +0100 | [diff] [blame] | 213 | "src/base/unix_socket.cc", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 214 | "src/base/unix_task_runner.cc", |
Primiano Tucci | 3cbb10a | 2018-04-10 17:52:40 +0100 | [diff] [blame] | 215 | "src/base/virtual_destructors.cc", |
Primiano Tucci | 808d6df | 2018-03-31 13:24:18 +0100 | [diff] [blame] | 216 | "src/base/watchdog_posix.cc", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 217 | "src/ipc/buffered_frame_deserializer.cc", |
| 218 | "src/ipc/client_impl.cc", |
| 219 | "src/ipc/deferred.cc", |
| 220 | "src/ipc/host_impl.cc", |
| 221 | "src/ipc/service_proxy.cc", |
Primiano Tucci | 3cbb10a | 2018-04-10 17:52:40 +0100 | [diff] [blame] | 222 | "src/ipc/virtual_destructors.cc", |
Hector Dearman | e1e56b6 | 2018-02-21 19:11:58 +0000 | [diff] [blame] | 223 | "src/protozero/message.cc", |
| 224 | "src/protozero/message_handle.cc", |
Lalit Maganti | 45172a8 | 2018-06-01 03:04:43 +0100 | [diff] [blame] | 225 | "src/protozero/proto_decoder.cc", |
Primiano Tucci | eb11735 | 2018-07-16 10:53:59 +0100 | [diff] [blame] | 226 | "src/protozero/proto_field_descriptor.cc", |
Hector Dearman | b7fa544 | 2018-11-08 18:39:32 +0000 | [diff] [blame] | 227 | "src/protozero/scattered_stream_memory_delegate.cc", |
Hector Dearman | 9a5a0e9 | 2018-03-27 17:52:24 +0100 | [diff] [blame] | 228 | "src/protozero/scattered_stream_null_delegate.cc", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 229 | "src/protozero/scattered_stream_writer.cc", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 230 | "src/traced/probes/android_log/android_log_data_source.cc", |
Florian Mayer | 6f9c342 | 2018-03-29 10:37:41 +0100 | [diff] [blame] | 231 | "src/traced/probes/filesystem/file_scanner.cc", |
Anna Zappone | 2a6f904 | 2018-03-14 13:26:07 +0000 | [diff] [blame] | 232 | "src/traced/probes/filesystem/fs_mount.cc", |
| 233 | "src/traced/probes/filesystem/inode_file_data_source.cc", |
| 234 | "src/traced/probes/filesystem/lru_inode_cache.cc", |
Florian Mayer | b21f4fb | 2018-03-22 15:24:56 +0000 | [diff] [blame] | 235 | "src/traced/probes/filesystem/prefix_finder.cc", |
| 236 | "src/traced/probes/filesystem/range_tree.cc", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 237 | "src/traced/probes/ftrace/atrace_wrapper.cc", |
| 238 | "src/traced/probes/ftrace/cpu_reader.cc", |
| 239 | "src/traced/probes/ftrace/cpu_stats_parser.cc", |
| 240 | "src/traced/probes/ftrace/event_info.cc", |
| 241 | "src/traced/probes/ftrace/event_info_constants.cc", |
| 242 | "src/traced/probes/ftrace/format_parser.cc", |
| 243 | "src/traced/probes/ftrace/ftrace_config.cc", |
| 244 | "src/traced/probes/ftrace/ftrace_config_muxer.cc", |
| 245 | "src/traced/probes/ftrace/ftrace_controller.cc", |
Primiano Tucci | fd8240d | 2018-08-01 09:34:54 +0100 | [diff] [blame] | 246 | "src/traced/probes/ftrace/ftrace_data_source.cc", |
Primiano Tucci | b6de48b | 2018-07-26 16:00:44 +0100 | [diff] [blame] | 247 | "src/traced/probes/ftrace/ftrace_metadata.cc", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 248 | "src/traced/probes/ftrace/ftrace_procfs.cc", |
Primiano Tucci | fd8240d | 2018-08-01 09:34:54 +0100 | [diff] [blame] | 249 | "src/traced/probes/ftrace/ftrace_stats.cc", |
Primiano Tucci | c20ee51 | 2018-11-29 16:40:55 +0000 | [diff] [blame] | 250 | "src/traced/probes/ftrace/page_pool.cc", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 251 | "src/traced/probes/ftrace/proto_translation_table.cc", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 252 | "src/traced/probes/power/android_power_data_source.cc", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 253 | "src/traced/probes/probes.cc", |
Primiano Tucci | fd8240d | 2018-08-01 09:34:54 +0100 | [diff] [blame] | 254 | "src/traced/probes/probes_data_source.cc", |
Isabelle Taylor | d404ea1 | 2018-02-19 17:28:01 +0000 | [diff] [blame] | 255 | "src/traced/probes/probes_producer.cc", |
Primiano Tucci | b6de48b | 2018-07-26 16:00:44 +0100 | [diff] [blame] | 256 | "src/traced/probes/ps/process_stats_data_source.cc", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 257 | "src/traced/probes/sys_stats/sys_stats_data_source.cc", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 258 | "src/traced/service/service.cc", |
Primiano Tucci | 3cd3132 | 2018-10-11 20:06:56 +0100 | [diff] [blame] | 259 | "src/tracing/api_impl/consumer_api.cc", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 260 | "src/tracing/core/android_log_config.cc", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 261 | "src/tracing/core/android_power_config.cc", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 262 | "src/tracing/core/chrome_config.cc", |
Primiano Tucci | 79f3f91 | 2018-03-02 12:00:31 +0000 | [diff] [blame] | 263 | "src/tracing/core/commit_data_request.cc", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 264 | "src/tracing/core/data_source_config.cc", |
| 265 | "src/tracing/core/data_source_descriptor.cc", |
Hector Dearman | a89cc57 | 2018-02-23 12:02:58 +0000 | [diff] [blame] | 266 | "src/tracing/core/ftrace_config.cc", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 267 | "src/tracing/core/heapprofd_config.cc", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 268 | "src/tracing/core/id_allocator.cc", |
Primiano Tucci | dae3565 | 2018-03-29 18:32:02 +0100 | [diff] [blame] | 269 | "src/tracing/core/inode_file_config.cc", |
Hector Dearman | 9a5a0e9 | 2018-03-27 17:52:24 +0100 | [diff] [blame] | 270 | "src/tracing/core/null_trace_writer.cc", |
Sami Kyostila | 32e0b54 | 2018-02-14 08:55:43 +0000 | [diff] [blame] | 271 | "src/tracing/core/packet_stream_validator.cc", |
Hector Dearman | 1b9c58a | 2018-03-29 18:45:06 +0100 | [diff] [blame] | 272 | "src/tracing/core/process_stats_config.cc", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 273 | "src/tracing/core/shared_memory_abi.cc", |
Oystein Eftevaag | 6d0bc7f | 2018-01-13 12:21:55 -0800 | [diff] [blame] | 274 | "src/tracing/core/shared_memory_arbiter_impl.cc", |
Primiano Tucci | 16d1d63 | 2018-02-22 10:16:22 +0000 | [diff] [blame] | 275 | "src/tracing/core/sliced_protobuf_input_stream.cc", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 276 | "src/tracing/core/sys_stats_config.cc", |
Lalit Maganti | 3f5705c | 2018-03-09 12:09:44 +0000 | [diff] [blame] | 277 | "src/tracing/core/test_config.cc", |
Primiano Tucci | 5c59901 | 2018-03-01 17:52:07 +0000 | [diff] [blame] | 278 | "src/tracing/core/trace_buffer.cc", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 279 | "src/tracing/core/trace_config.cc", |
| 280 | "src/tracing/core/trace_packet.cc", |
| 281 | "src/tracing/core/trace_writer_impl.cc", |
Florian Mayer | 6a1a4d5 | 2018-06-08 16:47:07 +0100 | [diff] [blame] | 282 | "src/tracing/core/tracing_service_impl.cc", |
Primiano Tucci | 3cbb10a | 2018-04-10 17:52:40 +0100 | [diff] [blame] | 283 | "src/tracing/core/virtual_destructors.cc", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 284 | ], |
| 285 | shared_libs: [ |
Primiano Tucci | 6d84853 | 2018-01-17 10:32:33 +0000 | [diff] [blame] | 286 | "liblog", |
| 287 | "libprotobuf-cpp-lite", |
| 288 | ], |
| 289 | static_libs: [ |
| 290 | "libgtest_prod", |
| 291 | "perfetto_src_tracing_ipc", |
| 292 | ], |
| 293 | generated_headers: [ |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 294 | "perfetto_protos_perfetto_common_lite_gen_headers", |
| 295 | "perfetto_protos_perfetto_common_zero_gen_headers", |
| 296 | "perfetto_protos_perfetto_config_lite_gen_headers", |
| 297 | "perfetto_protos_perfetto_config_zero_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 298 | "perfetto_protos_perfetto_ipc_ipc_gen_headers", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 299 | "perfetto_protos_perfetto_trace_android_zero_gen_headers", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 300 | "perfetto_protos_perfetto_trace_chrome_zero_gen_headers", |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 301 | "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 302 | "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 303 | "perfetto_protos_perfetto_trace_minimal_lite_gen_headers", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 304 | "perfetto_protos_perfetto_trace_power_zero_gen_headers", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 305 | "perfetto_protos_perfetto_trace_profiling_zero_gen_headers", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 306 | "perfetto_protos_perfetto_trace_ps_zero_gen_headers", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 307 | "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers", |
Oystein Eftevaag | 4d0f6c8 | 2018-04-30 14:19:59 -0700 | [diff] [blame] | 308 | "perfetto_protos_perfetto_trace_trusted_lite_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 309 | "perfetto_protos_perfetto_trace_zero_gen_headers", |
Primiano Tucci | 6d84853 | 2018-01-17 10:32:33 +0000 | [diff] [blame] | 310 | "perfetto_src_ipc_wire_protocol_gen_headers", |
| 311 | ], |
| 312 | defaults: [ |
| 313 | "perfetto_defaults", |
| 314 | ], |
Florian Mayer | 3d5e7e6 | 2018-01-19 15:22:46 +0000 | [diff] [blame] | 315 | cflags: [ |
| 316 | "-DGOOGLE_PROTOBUF_NO_RTTI", |
| 317 | "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
| 318 | ], |
Primiano Tucci | 6d84853 | 2018-01-17 10:32:33 +0000 | [diff] [blame] | 319 | } |
| 320 | |
Primiano Tucci | 676f0cc | 2018-12-03 20:03:26 +0100 | [diff] [blame] | 321 | // GN target: //:libperfetto_android_internal |
| 322 | cc_library_shared { |
| 323 | name: "libperfetto_android_internal", |
| 324 | srcs: [ |
| 325 | "src/android_internal/health_hal.cc", |
| 326 | ], |
| 327 | shared_libs: [ |
| 328 | "android.hardware.health@2.0", |
| 329 | "libbase", |
| 330 | "libhidlbase", |
| 331 | "libhidltransport", |
| 332 | "libhwbinder", |
| 333 | "liblog", |
| 334 | "libutils", |
| 335 | ], |
| 336 | defaults: [ |
| 337 | "perfetto_defaults", |
| 338 | ], |
| 339 | static_libs: [ |
| 340 | "libhealthhalutils", |
| 341 | ], |
| 342 | } |
| 343 | |
Primiano Tucci | 6d84853 | 2018-01-17 10:32:33 +0000 | [diff] [blame] | 344 | // GN target: //:perfetto |
| 345 | cc_binary { |
| 346 | name: "perfetto", |
| 347 | srcs: [ |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 348 | ":perfetto_protos_perfetto_common_lite_gen", |
| 349 | ":perfetto_protos_perfetto_common_zero_gen", |
| 350 | ":perfetto_protos_perfetto_config_lite_gen", |
| 351 | ":perfetto_protos_perfetto_config_zero_gen", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 352 | ":perfetto_protos_perfetto_ipc_ipc_gen", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 353 | ":perfetto_protos_perfetto_trace_android_zero_gen", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 354 | ":perfetto_protos_perfetto_trace_chrome_zero_gen", |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 355 | ":perfetto_protos_perfetto_trace_filesystem_zero_gen", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 356 | ":perfetto_protos_perfetto_trace_ftrace_zero_gen", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 357 | ":perfetto_protos_perfetto_trace_minimal_lite_gen", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 358 | ":perfetto_protos_perfetto_trace_power_zero_gen", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 359 | ":perfetto_protos_perfetto_trace_profiling_zero_gen", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 360 | ":perfetto_protos_perfetto_trace_ps_zero_gen", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 361 | ":perfetto_protos_perfetto_trace_sys_stats_zero_gen", |
Oystein Eftevaag | 4d0f6c8 | 2018-04-30 14:19:59 -0700 | [diff] [blame] | 362 | ":perfetto_protos_perfetto_trace_trusted_lite_gen", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 363 | ":perfetto_protos_perfetto_trace_zero_gen", |
Primiano Tucci | 6d84853 | 2018-01-17 10:32:33 +0000 | [diff] [blame] | 364 | ":perfetto_src_ipc_wire_protocol_gen", |
Hector Dearman | 86cfbe1 | 2018-03-22 11:58:42 +0000 | [diff] [blame] | 365 | ":perfetto_src_perfetto_cmd_protos_gen", |
Primiano Tucci | 6d84853 | 2018-01-17 10:32:33 +0000 | [diff] [blame] | 366 | "src/base/android_task_runner.cc", |
Primiano Tucci | 9f7189c | 2018-10-05 00:42:12 +0100 | [diff] [blame] | 367 | "src/base/event.cc", |
Florian Mayer | 74b73a9 | 2018-03-09 17:37:13 +0000 | [diff] [blame] | 368 | "src/base/file_utils.cc", |
Florian Mayer | 236ba47 | 2018-05-09 15:47:53 +0100 | [diff] [blame] | 369 | "src/base/metatrace.cc", |
Eric Seckler | edf3f7c | 2018-10-23 16:44:53 +0100 | [diff] [blame] | 370 | "src/base/paged_memory.cc", |
Primiano Tucci | 76499cd | 2018-11-21 10:54:04 +0100 | [diff] [blame] | 371 | "src/base/pipe.cc", |
Primiano Tucci | 825e6de | 2018-03-13 05:43:15 +0000 | [diff] [blame] | 372 | "src/base/string_splitter.cc", |
Hector Dearman | 3afb1e0 | 2018-04-27 16:46:52 +0100 | [diff] [blame] | 373 | "src/base/string_utils.cc", |
Primiano Tucci | 941b221 | 2018-03-14 22:46:31 +0000 | [diff] [blame] | 374 | "src/base/temp_file.cc", |
Primiano Tucci | 6d84853 | 2018-01-17 10:32:33 +0000 | [diff] [blame] | 375 | "src/base/thread_checker.cc", |
Florian Mayer | 75905df | 2018-05-08 17:44:08 +0100 | [diff] [blame] | 376 | "src/base/time.cc", |
Florian Mayer | f7f0def | 2018-09-27 13:59:24 +0100 | [diff] [blame] | 377 | "src/base/unix_socket.cc", |
Primiano Tucci | 6d84853 | 2018-01-17 10:32:33 +0000 | [diff] [blame] | 378 | "src/base/unix_task_runner.cc", |
Primiano Tucci | 3cbb10a | 2018-04-10 17:52:40 +0100 | [diff] [blame] | 379 | "src/base/virtual_destructors.cc", |
Primiano Tucci | 808d6df | 2018-03-31 13:24:18 +0100 | [diff] [blame] | 380 | "src/base/watchdog_posix.cc", |
Primiano Tucci | 6d84853 | 2018-01-17 10:32:33 +0000 | [diff] [blame] | 381 | "src/ipc/buffered_frame_deserializer.cc", |
| 382 | "src/ipc/client_impl.cc", |
| 383 | "src/ipc/deferred.cc", |
| 384 | "src/ipc/host_impl.cc", |
| 385 | "src/ipc/service_proxy.cc", |
Primiano Tucci | 3cbb10a | 2018-04-10 17:52:40 +0100 | [diff] [blame] | 386 | "src/ipc/virtual_destructors.cc", |
Hector Dearman | 5edeafc | 2018-11-29 13:27:33 +0000 | [diff] [blame] | 387 | "src/perfetto_cmd/config.cc", |
Hector Dearman | c443a36 | 2018-02-28 16:03:56 +0000 | [diff] [blame] | 388 | "src/perfetto_cmd/main.cc", |
Hector Dearman | b7fa544 | 2018-11-08 18:39:32 +0000 | [diff] [blame] | 389 | "src/perfetto_cmd/pbtxt_to_pb.cc", |
Hector Dearman | c443a36 | 2018-02-28 16:03:56 +0000 | [diff] [blame] | 390 | "src/perfetto_cmd/perfetto_cmd.cc", |
Hector Dearman | 86cfbe1 | 2018-03-22 11:58:42 +0000 | [diff] [blame] | 391 | "src/perfetto_cmd/rate_limiter.cc", |
Hector Dearman | e1e56b6 | 2018-02-21 19:11:58 +0000 | [diff] [blame] | 392 | "src/protozero/message.cc", |
| 393 | "src/protozero/message_handle.cc", |
Lalit Maganti | 45172a8 | 2018-06-01 03:04:43 +0100 | [diff] [blame] | 394 | "src/protozero/proto_decoder.cc", |
Primiano Tucci | eb11735 | 2018-07-16 10:53:59 +0100 | [diff] [blame] | 395 | "src/protozero/proto_field_descriptor.cc", |
Hector Dearman | b7fa544 | 2018-11-08 18:39:32 +0000 | [diff] [blame] | 396 | "src/protozero/scattered_stream_memory_delegate.cc", |
Hector Dearman | 9a5a0e9 | 2018-03-27 17:52:24 +0100 | [diff] [blame] | 397 | "src/protozero/scattered_stream_null_delegate.cc", |
Primiano Tucci | 6d84853 | 2018-01-17 10:32:33 +0000 | [diff] [blame] | 398 | "src/protozero/scattered_stream_writer.cc", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 399 | "src/tracing/core/android_log_config.cc", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 400 | "src/tracing/core/android_power_config.cc", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 401 | "src/tracing/core/chrome_config.cc", |
Primiano Tucci | 79f3f91 | 2018-03-02 12:00:31 +0000 | [diff] [blame] | 402 | "src/tracing/core/commit_data_request.cc", |
Primiano Tucci | 6d84853 | 2018-01-17 10:32:33 +0000 | [diff] [blame] | 403 | "src/tracing/core/data_source_config.cc", |
| 404 | "src/tracing/core/data_source_descriptor.cc", |
Hector Dearman | a89cc57 | 2018-02-23 12:02:58 +0000 | [diff] [blame] | 405 | "src/tracing/core/ftrace_config.cc", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 406 | "src/tracing/core/heapprofd_config.cc", |
Primiano Tucci | 6d84853 | 2018-01-17 10:32:33 +0000 | [diff] [blame] | 407 | "src/tracing/core/id_allocator.cc", |
Primiano Tucci | dae3565 | 2018-03-29 18:32:02 +0100 | [diff] [blame] | 408 | "src/tracing/core/inode_file_config.cc", |
Hector Dearman | 9a5a0e9 | 2018-03-27 17:52:24 +0100 | [diff] [blame] | 409 | "src/tracing/core/null_trace_writer.cc", |
Sami Kyostila | 32e0b54 | 2018-02-14 08:55:43 +0000 | [diff] [blame] | 410 | "src/tracing/core/packet_stream_validator.cc", |
Hector Dearman | 1b9c58a | 2018-03-29 18:45:06 +0100 | [diff] [blame] | 411 | "src/tracing/core/process_stats_config.cc", |
Primiano Tucci | 6d84853 | 2018-01-17 10:32:33 +0000 | [diff] [blame] | 412 | "src/tracing/core/shared_memory_abi.cc", |
| 413 | "src/tracing/core/shared_memory_arbiter_impl.cc", |
Primiano Tucci | 16d1d63 | 2018-02-22 10:16:22 +0000 | [diff] [blame] | 414 | "src/tracing/core/sliced_protobuf_input_stream.cc", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 415 | "src/tracing/core/sys_stats_config.cc", |
Lalit Maganti | 3f5705c | 2018-03-09 12:09:44 +0000 | [diff] [blame] | 416 | "src/tracing/core/test_config.cc", |
Primiano Tucci | 5c59901 | 2018-03-01 17:52:07 +0000 | [diff] [blame] | 417 | "src/tracing/core/trace_buffer.cc", |
Primiano Tucci | 6d84853 | 2018-01-17 10:32:33 +0000 | [diff] [blame] | 418 | "src/tracing/core/trace_config.cc", |
| 419 | "src/tracing/core/trace_packet.cc", |
| 420 | "src/tracing/core/trace_writer_impl.cc", |
Florian Mayer | 6a1a4d5 | 2018-06-08 16:47:07 +0100 | [diff] [blame] | 421 | "src/tracing/core/tracing_service_impl.cc", |
Primiano Tucci | 3cbb10a | 2018-04-10 17:52:40 +0100 | [diff] [blame] | 422 | "src/tracing/core/virtual_destructors.cc", |
Florian Mayer | 35ddfe2 | 2018-01-23 15:30:33 +0000 | [diff] [blame] | 423 | "src/tracing/ipc/consumer/consumer_ipc_client_impl.cc", |
Florian Mayer | c29e0d3 | 2018-04-04 15:55:46 +0100 | [diff] [blame] | 424 | "src/tracing/ipc/default_socket.cc", |
Florian Mayer | 35ddfe2 | 2018-01-23 15:30:33 +0000 | [diff] [blame] | 425 | "src/tracing/ipc/posix_shared_memory.cc", |
Primiano Tucci | 6d84853 | 2018-01-17 10:32:33 +0000 | [diff] [blame] | 426 | ], |
| 427 | shared_libs: [ |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 428 | "libandroid", |
Sami Kyostila | b5b7169 | 2018-01-12 12:16:44 +0000 | [diff] [blame] | 429 | "libbinder", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 430 | "liblog", |
| 431 | "libprotobuf-cpp-lite", |
Sami Kyostila | b5b7169 | 2018-01-12 12:16:44 +0000 | [diff] [blame] | 432 | "libservices", |
Primiano Tucci | edf099c | 2018-01-08 18:27:56 +0000 | [diff] [blame] | 433 | "libutils", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 434 | ], |
| 435 | static_libs: [ |
| 436 | "libgtest_prod", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 437 | ], |
| 438 | generated_headers: [ |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 439 | "perfetto_protos_perfetto_common_lite_gen_headers", |
| 440 | "perfetto_protos_perfetto_common_zero_gen_headers", |
| 441 | "perfetto_protos_perfetto_config_lite_gen_headers", |
| 442 | "perfetto_protos_perfetto_config_zero_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 443 | "perfetto_protos_perfetto_ipc_ipc_gen_headers", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 444 | "perfetto_protos_perfetto_trace_android_zero_gen_headers", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 445 | "perfetto_protos_perfetto_trace_chrome_zero_gen_headers", |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 446 | "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 447 | "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 448 | "perfetto_protos_perfetto_trace_minimal_lite_gen_headers", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 449 | "perfetto_protos_perfetto_trace_power_zero_gen_headers", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 450 | "perfetto_protos_perfetto_trace_profiling_zero_gen_headers", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 451 | "perfetto_protos_perfetto_trace_ps_zero_gen_headers", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 452 | "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers", |
Oystein Eftevaag | 4d0f6c8 | 2018-04-30 14:19:59 -0700 | [diff] [blame] | 453 | "perfetto_protos_perfetto_trace_trusted_lite_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 454 | "perfetto_protos_perfetto_trace_zero_gen_headers", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 455 | "perfetto_src_ipc_wire_protocol_gen_headers", |
Hector Dearman | 86cfbe1 | 2018-03-22 11:58:42 +0000 | [diff] [blame] | 456 | "perfetto_src_perfetto_cmd_protos_gen_headers", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 457 | ], |
| 458 | defaults: [ |
| 459 | "perfetto_defaults", |
| 460 | ], |
Primiano Tucci | edf099c | 2018-01-08 18:27:56 +0000 | [diff] [blame] | 461 | cflags: [ |
Florian Mayer | 3d5e7e6 | 2018-01-19 15:22:46 +0000 | [diff] [blame] | 462 | "-DGOOGLE_PROTOBUF_NO_RTTI", |
| 463 | "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
Primiano Tucci | edf099c | 2018-01-08 18:27:56 +0000 | [diff] [blame] | 464 | "-DPERFETTO_BUILD_WITH_ANDROID", |
| 465 | ], |
Logan Chien | 9bfaaf9 | 2018-02-13 18:49:24 +0800 | [diff] [blame] | 466 | product_variables: { |
| 467 | pdk: { |
| 468 | enabled: false, |
| 469 | }, |
| 470 | }, |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 471 | } |
| 472 | |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 473 | cc_defaults { |
| 474 | name: "perfetto_defaults", |
| 475 | cflags: [ |
Florian Mayer | c2a38ea | 2018-01-19 11:48:43 +0000 | [diff] [blame] | 476 | "-Oz", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 477 | "-Wno-error=return-type", |
| 478 | "-Wno-sign-compare", |
| 479 | "-Wno-sign-promo", |
| 480 | "-Wno-unused-parameter", |
Florian Mayer | cc424fd | 2018-01-15 11:19:01 +0000 | [diff] [blame] | 481 | "-fvisibility=hidden", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 482 | ], |
| 483 | local_include_dirs: [ |
| 484 | "include", |
| 485 | ], |
Lalit Maganti | d8b1a1d | 2018-05-23 14:41:43 +0100 | [diff] [blame] | 486 | product_variables: { |
| 487 | debuggable: { |
| 488 | cflags: ["-DPERFETTO_BUILD_WITH_ANDROID_USERDEBUG"], |
| 489 | }, |
| 490 | }, |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 491 | } |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 492 | |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 493 | // GN target: //:perfetto_integrationtests |
| 494 | cc_test { |
| 495 | name: "perfetto_integrationtests", |
| 496 | srcs: [ |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 497 | ":perfetto_protos_perfetto_common_lite_gen", |
| 498 | ":perfetto_protos_perfetto_common_zero_gen", |
| 499 | ":perfetto_protos_perfetto_config_lite_gen", |
| 500 | ":perfetto_protos_perfetto_config_zero_gen", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 501 | ":perfetto_protos_perfetto_ipc_ipc_gen", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 502 | ":perfetto_protos_perfetto_trace_android_lite_gen", |
| 503 | ":perfetto_protos_perfetto_trace_android_zero_gen", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 504 | ":perfetto_protos_perfetto_trace_chrome_lite_gen", |
| 505 | ":perfetto_protos_perfetto_trace_chrome_zero_gen", |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 506 | ":perfetto_protos_perfetto_trace_filesystem_lite_gen", |
| 507 | ":perfetto_protos_perfetto_trace_filesystem_zero_gen", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 508 | ":perfetto_protos_perfetto_trace_ftrace_lite_gen", |
| 509 | ":perfetto_protos_perfetto_trace_ftrace_zero_gen", |
| 510 | ":perfetto_protos_perfetto_trace_lite_gen", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 511 | ":perfetto_protos_perfetto_trace_minimal_lite_gen", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 512 | ":perfetto_protos_perfetto_trace_power_lite_gen", |
| 513 | ":perfetto_protos_perfetto_trace_power_zero_gen", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 514 | ":perfetto_protos_perfetto_trace_profiling_lite_gen", |
| 515 | ":perfetto_protos_perfetto_trace_profiling_zero_gen", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 516 | ":perfetto_protos_perfetto_trace_ps_lite_gen", |
| 517 | ":perfetto_protos_perfetto_trace_ps_zero_gen", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 518 | ":perfetto_protos_perfetto_trace_sys_stats_lite_gen", |
| 519 | ":perfetto_protos_perfetto_trace_sys_stats_zero_gen", |
Oystein Eftevaag | 4d0f6c8 | 2018-04-30 14:19:59 -0700 | [diff] [blame] | 520 | ":perfetto_protos_perfetto_trace_trusted_lite_gen", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 521 | ":perfetto_protos_perfetto_trace_zero_gen", |
| 522 | ":perfetto_src_ipc_wire_protocol_gen", |
| 523 | "src/base/android_task_runner.cc", |
Primiano Tucci | 9f7189c | 2018-10-05 00:42:12 +0100 | [diff] [blame] | 524 | "src/base/event.cc", |
Florian Mayer | 74b73a9 | 2018-03-09 17:37:13 +0000 | [diff] [blame] | 525 | "src/base/file_utils.cc", |
Florian Mayer | 236ba47 | 2018-05-09 15:47:53 +0100 | [diff] [blame] | 526 | "src/base/metatrace.cc", |
Eric Seckler | edf3f7c | 2018-10-23 16:44:53 +0100 | [diff] [blame] | 527 | "src/base/paged_memory.cc", |
Primiano Tucci | 76499cd | 2018-11-21 10:54:04 +0100 | [diff] [blame] | 528 | "src/base/pipe.cc", |
Primiano Tucci | 825e6de | 2018-03-13 05:43:15 +0000 | [diff] [blame] | 529 | "src/base/string_splitter.cc", |
Hector Dearman | 3afb1e0 | 2018-04-27 16:46:52 +0100 | [diff] [blame] | 530 | "src/base/string_utils.cc", |
Primiano Tucci | 941b221 | 2018-03-14 22:46:31 +0000 | [diff] [blame] | 531 | "src/base/temp_file.cc", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 532 | "src/base/test/test_task_runner.cc", |
Hector Dearman | 7f71d0e | 2018-08-09 11:26:10 +0100 | [diff] [blame] | 533 | "src/base/test/utils.cc", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 534 | "src/base/test/vm_test_utils.cc", |
| 535 | "src/base/thread_checker.cc", |
Florian Mayer | 75905df | 2018-05-08 17:44:08 +0100 | [diff] [blame] | 536 | "src/base/time.cc", |
Florian Mayer | f7f0def | 2018-09-27 13:59:24 +0100 | [diff] [blame] | 537 | "src/base/unix_socket.cc", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 538 | "src/base/unix_task_runner.cc", |
Primiano Tucci | 3cbb10a | 2018-04-10 17:52:40 +0100 | [diff] [blame] | 539 | "src/base/virtual_destructors.cc", |
Primiano Tucci | 808d6df | 2018-03-31 13:24:18 +0100 | [diff] [blame] | 540 | "src/base/watchdog_posix.cc", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 541 | "src/ipc/buffered_frame_deserializer.cc", |
| 542 | "src/ipc/client_impl.cc", |
| 543 | "src/ipc/deferred.cc", |
| 544 | "src/ipc/host_impl.cc", |
| 545 | "src/ipc/service_proxy.cc", |
Primiano Tucci | 3cbb10a | 2018-04-10 17:52:40 +0100 | [diff] [blame] | 546 | "src/ipc/virtual_destructors.cc", |
Florian Mayer | 4280249 | 2018-12-13 11:00:16 +0000 | [diff] [blame] | 547 | "src/profiling/memory/bookkeeping.cc", |
| 548 | "src/profiling/memory/client.cc", |
| 549 | "src/profiling/memory/heapprofd_end_to_end_test.cc", |
| 550 | "src/profiling/memory/heapprofd_producer.cc", |
Florian Mayer | c4b196e | 2018-12-14 20:05:50 +0000 | [diff] [blame] | 551 | "src/profiling/memory/proc_utils.cc", |
Florian Mayer | 4280249 | 2018-12-13 11:00:16 +0000 | [diff] [blame] | 552 | "src/profiling/memory/process_matcher.cc", |
| 553 | "src/profiling/memory/record_reader.cc", |
| 554 | "src/profiling/memory/sampler.cc", |
| 555 | "src/profiling/memory/socket_listener.cc", |
| 556 | "src/profiling/memory/system_property.cc", |
| 557 | "src/profiling/memory/unwinding.cc", |
| 558 | "src/profiling/memory/wire_protocol.cc", |
Hector Dearman | e1e56b6 | 2018-02-21 19:11:58 +0000 | [diff] [blame] | 559 | "src/protozero/message.cc", |
| 560 | "src/protozero/message_handle.cc", |
Lalit Maganti | 45172a8 | 2018-06-01 03:04:43 +0100 | [diff] [blame] | 561 | "src/protozero/proto_decoder.cc", |
Primiano Tucci | eb11735 | 2018-07-16 10:53:59 +0100 | [diff] [blame] | 562 | "src/protozero/proto_field_descriptor.cc", |
Hector Dearman | b7fa544 | 2018-11-08 18:39:32 +0000 | [diff] [blame] | 563 | "src/protozero/scattered_stream_memory_delegate.cc", |
Hector Dearman | 9a5a0e9 | 2018-03-27 17:52:24 +0100 | [diff] [blame] | 564 | "src/protozero/scattered_stream_null_delegate.cc", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 565 | "src/protozero/scattered_stream_writer.cc", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 566 | "src/traced/probes/android_log/android_log_data_source.cc", |
Florian Mayer | 6f9c342 | 2018-03-29 10:37:41 +0100 | [diff] [blame] | 567 | "src/traced/probes/filesystem/file_scanner.cc", |
Anna Zappone | 2a6f904 | 2018-03-14 13:26:07 +0000 | [diff] [blame] | 568 | "src/traced/probes/filesystem/fs_mount.cc", |
| 569 | "src/traced/probes/filesystem/inode_file_data_source.cc", |
| 570 | "src/traced/probes/filesystem/lru_inode_cache.cc", |
Florian Mayer | b21f4fb | 2018-03-22 15:24:56 +0000 | [diff] [blame] | 571 | "src/traced/probes/filesystem/prefix_finder.cc", |
| 572 | "src/traced/probes/filesystem/range_tree.cc", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 573 | "src/traced/probes/ftrace/atrace_wrapper.cc", |
| 574 | "src/traced/probes/ftrace/cpu_reader.cc", |
| 575 | "src/traced/probes/ftrace/cpu_stats_parser.cc", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 576 | "src/traced/probes/ftrace/event_info.cc", |
| 577 | "src/traced/probes/ftrace/event_info_constants.cc", |
| 578 | "src/traced/probes/ftrace/format_parser.cc", |
| 579 | "src/traced/probes/ftrace/ftrace_config.cc", |
| 580 | "src/traced/probes/ftrace/ftrace_config_muxer.cc", |
| 581 | "src/traced/probes/ftrace/ftrace_controller.cc", |
Primiano Tucci | fd8240d | 2018-08-01 09:34:54 +0100 | [diff] [blame] | 582 | "src/traced/probes/ftrace/ftrace_data_source.cc", |
Primiano Tucci | b6de48b | 2018-07-26 16:00:44 +0100 | [diff] [blame] | 583 | "src/traced/probes/ftrace/ftrace_metadata.cc", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 584 | "src/traced/probes/ftrace/ftrace_procfs.cc", |
| 585 | "src/traced/probes/ftrace/ftrace_procfs_integrationtest.cc", |
Primiano Tucci | fd8240d | 2018-08-01 09:34:54 +0100 | [diff] [blame] | 586 | "src/traced/probes/ftrace/ftrace_stats.cc", |
Primiano Tucci | c20ee51 | 2018-11-29 16:40:55 +0000 | [diff] [blame] | 587 | "src/traced/probes/ftrace/page_pool.cc", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 588 | "src/traced/probes/ftrace/proto_translation_table.cc", |
| 589 | "src/traced/probes/ftrace/test/cpu_reader_support.cc", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 590 | "src/traced/probes/power/android_power_data_source.cc", |
Primiano Tucci | fd8240d | 2018-08-01 09:34:54 +0100 | [diff] [blame] | 591 | "src/traced/probes/probes_data_source.cc", |
Isabelle Taylor | d404ea1 | 2018-02-19 17:28:01 +0000 | [diff] [blame] | 592 | "src/traced/probes/probes_producer.cc", |
Primiano Tucci | b6de48b | 2018-07-26 16:00:44 +0100 | [diff] [blame] | 593 | "src/traced/probes/ps/process_stats_data_source.cc", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 594 | "src/traced/probes/sys_stats/sys_stats_data_source.cc", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 595 | "src/tracing/core/android_log_config.cc", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 596 | "src/tracing/core/android_power_config.cc", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 597 | "src/tracing/core/chrome_config.cc", |
Primiano Tucci | 79f3f91 | 2018-03-02 12:00:31 +0000 | [diff] [blame] | 598 | "src/tracing/core/commit_data_request.cc", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 599 | "src/tracing/core/data_source_config.cc", |
| 600 | "src/tracing/core/data_source_descriptor.cc", |
Hector Dearman | a89cc57 | 2018-02-23 12:02:58 +0000 | [diff] [blame] | 601 | "src/tracing/core/ftrace_config.cc", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 602 | "src/tracing/core/heapprofd_config.cc", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 603 | "src/tracing/core/id_allocator.cc", |
Primiano Tucci | dae3565 | 2018-03-29 18:32:02 +0100 | [diff] [blame] | 604 | "src/tracing/core/inode_file_config.cc", |
Hector Dearman | 9a5a0e9 | 2018-03-27 17:52:24 +0100 | [diff] [blame] | 605 | "src/tracing/core/null_trace_writer.cc", |
Sami Kyostila | 32e0b54 | 2018-02-14 08:55:43 +0000 | [diff] [blame] | 606 | "src/tracing/core/packet_stream_validator.cc", |
Hector Dearman | 1b9c58a | 2018-03-29 18:45:06 +0100 | [diff] [blame] | 607 | "src/tracing/core/process_stats_config.cc", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 608 | "src/tracing/core/shared_memory_abi.cc", |
| 609 | "src/tracing/core/shared_memory_arbiter_impl.cc", |
Primiano Tucci | 16d1d63 | 2018-02-22 10:16:22 +0000 | [diff] [blame] | 610 | "src/tracing/core/sliced_protobuf_input_stream.cc", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 611 | "src/tracing/core/sys_stats_config.cc", |
Lalit Maganti | 3f5705c | 2018-03-09 12:09:44 +0000 | [diff] [blame] | 612 | "src/tracing/core/test_config.cc", |
Primiano Tucci | 5c59901 | 2018-03-01 17:52:07 +0000 | [diff] [blame] | 613 | "src/tracing/core/trace_buffer.cc", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 614 | "src/tracing/core/trace_config.cc", |
| 615 | "src/tracing/core/trace_packet.cc", |
| 616 | "src/tracing/core/trace_writer_impl.cc", |
Florian Mayer | 6a1a4d5 | 2018-06-08 16:47:07 +0100 | [diff] [blame] | 617 | "src/tracing/core/tracing_service_impl.cc", |
Primiano Tucci | 3cbb10a | 2018-04-10 17:52:40 +0100 | [diff] [blame] | 618 | "src/tracing/core/virtual_destructors.cc", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 619 | "test/end_to_end_integrationtest.cc", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 620 | "test/fake_producer.cc", |
Florian Mayer | c7255fd | 2018-01-25 10:29:24 +0000 | [diff] [blame] | 621 | "test/task_runner_thread.cc", |
Lalit Maganti | c4c3ceb | 2018-03-29 20:38:13 +0100 | [diff] [blame] | 622 | "test/test_helper.cc", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 623 | ], |
| 624 | shared_libs: [ |
| 625 | "libandroid", |
Florian Mayer | 4280249 | 2018-12-13 11:00:16 +0000 | [diff] [blame] | 626 | "libbase", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 627 | "liblog", |
Florian Mayer | 4280249 | 2018-12-13 11:00:16 +0000 | [diff] [blame] | 628 | "libprocinfo", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 629 | "libprotobuf-cpp-lite", |
Florian Mayer | 4280249 | 2018-12-13 11:00:16 +0000 | [diff] [blame] | 630 | "libunwindstack", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 631 | ], |
| 632 | static_libs: [ |
| 633 | "libgmock", |
| 634 | "libgtest_prod", |
| 635 | "perfetto_src_tracing_ipc", |
| 636 | ], |
| 637 | generated_headers: [ |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 638 | "perfetto_protos_perfetto_common_lite_gen_headers", |
| 639 | "perfetto_protos_perfetto_common_zero_gen_headers", |
| 640 | "perfetto_protos_perfetto_config_lite_gen_headers", |
| 641 | "perfetto_protos_perfetto_config_zero_gen_headers", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 642 | "perfetto_protos_perfetto_ipc_ipc_gen_headers", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 643 | "perfetto_protos_perfetto_trace_android_lite_gen_headers", |
| 644 | "perfetto_protos_perfetto_trace_android_zero_gen_headers", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 645 | "perfetto_protos_perfetto_trace_chrome_lite_gen_headers", |
| 646 | "perfetto_protos_perfetto_trace_chrome_zero_gen_headers", |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 647 | "perfetto_protos_perfetto_trace_filesystem_lite_gen_headers", |
| 648 | "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 649 | "perfetto_protos_perfetto_trace_ftrace_lite_gen_headers", |
| 650 | "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers", |
| 651 | "perfetto_protos_perfetto_trace_lite_gen_headers", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 652 | "perfetto_protos_perfetto_trace_minimal_lite_gen_headers", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 653 | "perfetto_protos_perfetto_trace_power_lite_gen_headers", |
| 654 | "perfetto_protos_perfetto_trace_power_zero_gen_headers", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 655 | "perfetto_protos_perfetto_trace_profiling_lite_gen_headers", |
| 656 | "perfetto_protos_perfetto_trace_profiling_zero_gen_headers", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 657 | "perfetto_protos_perfetto_trace_ps_lite_gen_headers", |
| 658 | "perfetto_protos_perfetto_trace_ps_zero_gen_headers", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 659 | "perfetto_protos_perfetto_trace_sys_stats_lite_gen_headers", |
| 660 | "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers", |
Oystein Eftevaag | 4d0f6c8 | 2018-04-30 14:19:59 -0700 | [diff] [blame] | 661 | "perfetto_protos_perfetto_trace_trusted_lite_gen_headers", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 662 | "perfetto_protos_perfetto_trace_zero_gen_headers", |
| 663 | "perfetto_src_ipc_wire_protocol_gen_headers", |
| 664 | ], |
| 665 | defaults: [ |
| 666 | "perfetto_defaults", |
| 667 | ], |
| 668 | cflags: [ |
| 669 | "-DGOOGLE_PROTOBUF_NO_RTTI", |
| 670 | "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
Lalit Maganti | 0b9a6ac | 2018-02-16 18:05:06 +0000 | [diff] [blame] | 671 | "-DPERFETTO_BUILD_WITH_ANDROID", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 672 | ], |
Logan Chien | 9bfaaf9 | 2018-02-13 18:49:24 +0800 | [diff] [blame] | 673 | product_variables: { |
| 674 | pdk: { |
| 675 | enabled: false, |
| 676 | }, |
| 677 | }, |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 678 | } |
| 679 | |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 680 | // GN target: //protos/perfetto/common:lite_gen |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 681 | genrule { |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 682 | name: "perfetto_protos_perfetto_common_lite_gen", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 683 | srcs: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 684 | "protos/perfetto/common/android_log_constants.proto", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 685 | "protos/perfetto/common/commit_data_request.proto", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 686 | "protos/perfetto/common/sys_stats_counters.proto", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 687 | ], |
| 688 | tools: [ |
| 689 | "aprotoc", |
| 690 | ], |
| 691 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 692 | out: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 693 | "external/perfetto/protos/perfetto/common/android_log_constants.pb.cc", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 694 | "external/perfetto/protos/perfetto/common/commit_data_request.pb.cc", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 695 | "external/perfetto/protos/perfetto/common/sys_stats_counters.pb.cc", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 696 | ], |
| 697 | } |
| 698 | |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 699 | // GN target: //protos/perfetto/common:lite_gen |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 700 | genrule { |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 701 | name: "perfetto_protos_perfetto_common_lite_gen_headers", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 702 | srcs: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 703 | "protos/perfetto/common/android_log_constants.proto", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 704 | "protos/perfetto/common/commit_data_request.proto", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 705 | "protos/perfetto/common/sys_stats_counters.proto", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 706 | ], |
| 707 | tools: [ |
| 708 | "aprotoc", |
| 709 | ], |
| 710 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 711 | out: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 712 | "external/perfetto/protos/perfetto/common/android_log_constants.pb.h", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 713 | "external/perfetto/protos/perfetto/common/commit_data_request.pb.h", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 714 | "external/perfetto/protos/perfetto/common/sys_stats_counters.pb.h", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 715 | ], |
| 716 | export_include_dirs: [ |
| 717 | "protos", |
| 718 | ], |
| 719 | } |
| 720 | |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 721 | // GN target: //protos/perfetto/common:zero_gen |
Sami Kyostila | 71625d7 | 2017-12-18 10:29:49 +0000 | [diff] [blame] | 722 | genrule { |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 723 | name: "perfetto_protos_perfetto_common_zero_gen", |
| 724 | srcs: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 725 | "protos/perfetto/common/android_log_constants.proto", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 726 | "protos/perfetto/common/commit_data_request.proto", |
| 727 | "protos/perfetto/common/sys_stats_counters.proto", |
| 728 | ], |
| 729 | tools: [ |
| 730 | "aprotoc", |
| 731 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 732 | ], |
| 733 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
| 734 | out: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 735 | "external/perfetto/protos/perfetto/common/android_log_constants.pbzero.cc", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 736 | "external/perfetto/protos/perfetto/common/commit_data_request.pbzero.cc", |
| 737 | "external/perfetto/protos/perfetto/common/sys_stats_counters.pbzero.cc", |
| 738 | ], |
| 739 | } |
| 740 | |
| 741 | // GN target: //protos/perfetto/common:zero_gen |
| 742 | genrule { |
| 743 | name: "perfetto_protos_perfetto_common_zero_gen_headers", |
| 744 | srcs: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 745 | "protos/perfetto/common/android_log_constants.proto", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 746 | "protos/perfetto/common/commit_data_request.proto", |
| 747 | "protos/perfetto/common/sys_stats_counters.proto", |
| 748 | ], |
| 749 | tools: [ |
| 750 | "aprotoc", |
| 751 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 752 | ], |
| 753 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
| 754 | out: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 755 | "external/perfetto/protos/perfetto/common/android_log_constants.pbzero.h", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 756 | "external/perfetto/protos/perfetto/common/commit_data_request.pbzero.h", |
| 757 | "external/perfetto/protos/perfetto/common/sys_stats_counters.pbzero.h", |
| 758 | ], |
| 759 | export_include_dirs: [ |
| 760 | "protos", |
| 761 | ], |
| 762 | } |
| 763 | |
| 764 | // GN target: //protos/perfetto/config:lite_gen |
| 765 | genrule { |
| 766 | name: "perfetto_protos_perfetto_config_lite_gen", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 767 | srcs: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 768 | "protos/perfetto/config/android/android_log_config.proto", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 769 | "protos/perfetto/config/chrome/chrome_config.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 770 | "protos/perfetto/config/data_source_config.proto", |
| 771 | "protos/perfetto/config/data_source_descriptor.proto", |
Hector Dearman | a89cc57 | 2018-02-23 12:02:58 +0000 | [diff] [blame] | 772 | "protos/perfetto/config/ftrace/ftrace_config.proto", |
Primiano Tucci | dae3565 | 2018-03-29 18:32:02 +0100 | [diff] [blame] | 773 | "protos/perfetto/config/inode_file/inode_file_config.proto", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 774 | "protos/perfetto/config/power/android_power_config.proto", |
Hector Dearman | 1b9c58a | 2018-03-29 18:45:06 +0100 | [diff] [blame] | 775 | "protos/perfetto/config/process_stats/process_stats_config.proto", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 776 | "protos/perfetto/config/profiling/heapprofd_config.proto", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 777 | "protos/perfetto/config/sys_stats/sys_stats_config.proto", |
Lalit Maganti | 3f5705c | 2018-03-09 12:09:44 +0000 | [diff] [blame] | 778 | "protos/perfetto/config/test_config.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 779 | "protos/perfetto/config/trace_config.proto", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 780 | ], |
| 781 | tools: [ |
| 782 | "aprotoc", |
| 783 | ], |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 784 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 785 | out: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 786 | "external/perfetto/protos/perfetto/config/android/android_log_config.pb.cc", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 787 | "external/perfetto/protos/perfetto/config/chrome/chrome_config.pb.cc", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 788 | "external/perfetto/protos/perfetto/config/data_source_config.pb.cc", |
| 789 | "external/perfetto/protos/perfetto/config/data_source_descriptor.pb.cc", |
Hector Dearman | a89cc57 | 2018-02-23 12:02:58 +0000 | [diff] [blame] | 790 | "external/perfetto/protos/perfetto/config/ftrace/ftrace_config.pb.cc", |
Primiano Tucci | dae3565 | 2018-03-29 18:32:02 +0100 | [diff] [blame] | 791 | "external/perfetto/protos/perfetto/config/inode_file/inode_file_config.pb.cc", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 792 | "external/perfetto/protos/perfetto/config/power/android_power_config.pb.cc", |
Hector Dearman | 1b9c58a | 2018-03-29 18:45:06 +0100 | [diff] [blame] | 793 | "external/perfetto/protos/perfetto/config/process_stats/process_stats_config.pb.cc", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 794 | "external/perfetto/protos/perfetto/config/profiling/heapprofd_config.pb.cc", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 795 | "external/perfetto/protos/perfetto/config/sys_stats/sys_stats_config.pb.cc", |
Lalit Maganti | 3f5705c | 2018-03-09 12:09:44 +0000 | [diff] [blame] | 796 | "external/perfetto/protos/perfetto/config/test_config.pb.cc", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 797 | "external/perfetto/protos/perfetto/config/trace_config.pb.cc", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 798 | ], |
| 799 | } |
| 800 | |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 801 | // GN target: //protos/perfetto/config:lite_gen |
Primiano Tucci | d7b59c4 | 2017-12-19 01:43:07 +0100 | [diff] [blame] | 802 | genrule { |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 803 | name: "perfetto_protos_perfetto_config_lite_gen_headers", |
Primiano Tucci | d7b59c4 | 2017-12-19 01:43:07 +0100 | [diff] [blame] | 804 | srcs: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 805 | "protos/perfetto/config/android/android_log_config.proto", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 806 | "protos/perfetto/config/chrome/chrome_config.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 807 | "protos/perfetto/config/data_source_config.proto", |
| 808 | "protos/perfetto/config/data_source_descriptor.proto", |
Hector Dearman | a89cc57 | 2018-02-23 12:02:58 +0000 | [diff] [blame] | 809 | "protos/perfetto/config/ftrace/ftrace_config.proto", |
Primiano Tucci | dae3565 | 2018-03-29 18:32:02 +0100 | [diff] [blame] | 810 | "protos/perfetto/config/inode_file/inode_file_config.proto", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 811 | "protos/perfetto/config/power/android_power_config.proto", |
Hector Dearman | 1b9c58a | 2018-03-29 18:45:06 +0100 | [diff] [blame] | 812 | "protos/perfetto/config/process_stats/process_stats_config.proto", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 813 | "protos/perfetto/config/profiling/heapprofd_config.proto", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 814 | "protos/perfetto/config/sys_stats/sys_stats_config.proto", |
Lalit Maganti | 3f5705c | 2018-03-09 12:09:44 +0000 | [diff] [blame] | 815 | "protos/perfetto/config/test_config.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 816 | "protos/perfetto/config/trace_config.proto", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 817 | ], |
| 818 | tools: [ |
| 819 | "aprotoc", |
| 820 | ], |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 821 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 822 | out: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 823 | "external/perfetto/protos/perfetto/config/android/android_log_config.pb.h", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 824 | "external/perfetto/protos/perfetto/config/chrome/chrome_config.pb.h", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 825 | "external/perfetto/protos/perfetto/config/data_source_config.pb.h", |
| 826 | "external/perfetto/protos/perfetto/config/data_source_descriptor.pb.h", |
Hector Dearman | a89cc57 | 2018-02-23 12:02:58 +0000 | [diff] [blame] | 827 | "external/perfetto/protos/perfetto/config/ftrace/ftrace_config.pb.h", |
Primiano Tucci | dae3565 | 2018-03-29 18:32:02 +0100 | [diff] [blame] | 828 | "external/perfetto/protos/perfetto/config/inode_file/inode_file_config.pb.h", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 829 | "external/perfetto/protos/perfetto/config/power/android_power_config.pb.h", |
Hector Dearman | 1b9c58a | 2018-03-29 18:45:06 +0100 | [diff] [blame] | 830 | "external/perfetto/protos/perfetto/config/process_stats/process_stats_config.pb.h", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 831 | "external/perfetto/protos/perfetto/config/profiling/heapprofd_config.pb.h", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 832 | "external/perfetto/protos/perfetto/config/sys_stats/sys_stats_config.pb.h", |
Lalit Maganti | 3f5705c | 2018-03-09 12:09:44 +0000 | [diff] [blame] | 833 | "external/perfetto/protos/perfetto/config/test_config.pb.h", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 834 | "external/perfetto/protos/perfetto/config/trace_config.pb.h", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 835 | ], |
| 836 | export_include_dirs: [ |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 837 | "protos", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 838 | ], |
| 839 | } |
| 840 | |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 841 | // GN target: //protos/perfetto/config:zero_gen |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 842 | genrule { |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 843 | name: "perfetto_protos_perfetto_config_zero_gen", |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 844 | srcs: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 845 | "protos/perfetto/config/android/android_log_config.proto", |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 846 | "protos/perfetto/config/chrome/chrome_config.proto", |
| 847 | "protos/perfetto/config/data_source_config.proto", |
| 848 | "protos/perfetto/config/data_source_descriptor.proto", |
| 849 | "protos/perfetto/config/ftrace/ftrace_config.proto", |
Primiano Tucci | dae3565 | 2018-03-29 18:32:02 +0100 | [diff] [blame] | 850 | "protos/perfetto/config/inode_file/inode_file_config.proto", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 851 | "protos/perfetto/config/power/android_power_config.proto", |
Hector Dearman | 1b9c58a | 2018-03-29 18:45:06 +0100 | [diff] [blame] | 852 | "protos/perfetto/config/process_stats/process_stats_config.proto", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 853 | "protos/perfetto/config/profiling/heapprofd_config.proto", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 854 | "protos/perfetto/config/sys_stats/sys_stats_config.proto", |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 855 | "protos/perfetto/config/test_config.proto", |
| 856 | "protos/perfetto/config/trace_config.proto", |
| 857 | ], |
| 858 | tools: [ |
| 859 | "aprotoc", |
| 860 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 861 | ], |
| 862 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
| 863 | out: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 864 | "external/perfetto/protos/perfetto/config/android/android_log_config.pbzero.cc", |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 865 | "external/perfetto/protos/perfetto/config/chrome/chrome_config.pbzero.cc", |
| 866 | "external/perfetto/protos/perfetto/config/data_source_config.pbzero.cc", |
| 867 | "external/perfetto/protos/perfetto/config/data_source_descriptor.pbzero.cc", |
| 868 | "external/perfetto/protos/perfetto/config/ftrace/ftrace_config.pbzero.cc", |
Primiano Tucci | dae3565 | 2018-03-29 18:32:02 +0100 | [diff] [blame] | 869 | "external/perfetto/protos/perfetto/config/inode_file/inode_file_config.pbzero.cc", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 870 | "external/perfetto/protos/perfetto/config/power/android_power_config.pbzero.cc", |
Hector Dearman | 1b9c58a | 2018-03-29 18:45:06 +0100 | [diff] [blame] | 871 | "external/perfetto/protos/perfetto/config/process_stats/process_stats_config.pbzero.cc", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 872 | "external/perfetto/protos/perfetto/config/profiling/heapprofd_config.pbzero.cc", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 873 | "external/perfetto/protos/perfetto/config/sys_stats/sys_stats_config.pbzero.cc", |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 874 | "external/perfetto/protos/perfetto/config/test_config.pbzero.cc", |
| 875 | "external/perfetto/protos/perfetto/config/trace_config.pbzero.cc", |
| 876 | ], |
| 877 | } |
| 878 | |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 879 | // GN target: //protos/perfetto/config:zero_gen |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 880 | genrule { |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 881 | name: "perfetto_protos_perfetto_config_zero_gen_headers", |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 882 | srcs: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 883 | "protos/perfetto/config/android/android_log_config.proto", |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 884 | "protos/perfetto/config/chrome/chrome_config.proto", |
| 885 | "protos/perfetto/config/data_source_config.proto", |
| 886 | "protos/perfetto/config/data_source_descriptor.proto", |
| 887 | "protos/perfetto/config/ftrace/ftrace_config.proto", |
Primiano Tucci | dae3565 | 2018-03-29 18:32:02 +0100 | [diff] [blame] | 888 | "protos/perfetto/config/inode_file/inode_file_config.proto", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 889 | "protos/perfetto/config/power/android_power_config.proto", |
Hector Dearman | 1b9c58a | 2018-03-29 18:45:06 +0100 | [diff] [blame] | 890 | "protos/perfetto/config/process_stats/process_stats_config.proto", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 891 | "protos/perfetto/config/profiling/heapprofd_config.proto", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 892 | "protos/perfetto/config/sys_stats/sys_stats_config.proto", |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 893 | "protos/perfetto/config/test_config.proto", |
| 894 | "protos/perfetto/config/trace_config.proto", |
| 895 | ], |
| 896 | tools: [ |
| 897 | "aprotoc", |
| 898 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 899 | ], |
| 900 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
| 901 | out: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 902 | "external/perfetto/protos/perfetto/config/android/android_log_config.pbzero.h", |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 903 | "external/perfetto/protos/perfetto/config/chrome/chrome_config.pbzero.h", |
| 904 | "external/perfetto/protos/perfetto/config/data_source_config.pbzero.h", |
| 905 | "external/perfetto/protos/perfetto/config/data_source_descriptor.pbzero.h", |
| 906 | "external/perfetto/protos/perfetto/config/ftrace/ftrace_config.pbzero.h", |
Primiano Tucci | dae3565 | 2018-03-29 18:32:02 +0100 | [diff] [blame] | 907 | "external/perfetto/protos/perfetto/config/inode_file/inode_file_config.pbzero.h", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 908 | "external/perfetto/protos/perfetto/config/power/android_power_config.pbzero.h", |
Hector Dearman | 1b9c58a | 2018-03-29 18:45:06 +0100 | [diff] [blame] | 909 | "external/perfetto/protos/perfetto/config/process_stats/process_stats_config.pbzero.h", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 910 | "external/perfetto/protos/perfetto/config/profiling/heapprofd_config.pbzero.h", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 911 | "external/perfetto/protos/perfetto/config/sys_stats/sys_stats_config.pbzero.h", |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 912 | "external/perfetto/protos/perfetto/config/test_config.pbzero.h", |
| 913 | "external/perfetto/protos/perfetto/config/trace_config.pbzero.h", |
| 914 | ], |
| 915 | export_include_dirs: [ |
| 916 | "protos", |
| 917 | ], |
| 918 | } |
| 919 | |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 920 | // GN target: //protos/perfetto/ipc:ipc_gen |
Sami Kyostila | 71625d7 | 2017-12-18 10:29:49 +0000 | [diff] [blame] | 921 | genrule { |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 922 | name: "perfetto_protos_perfetto_ipc_ipc_gen", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 923 | srcs: [ |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 924 | "protos/perfetto/ipc/consumer_port.proto", |
| 925 | "protos/perfetto/ipc/producer_port.proto", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 926 | ], |
| 927 | tools: [ |
| 928 | "aprotoc", |
| 929 | "perfetto_src_ipc_protoc_plugin_ipc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 930 | ], |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 931 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos --plugin=protoc-gen-plugin=$(location perfetto_src_ipc_protoc_plugin_ipc_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=:$(genDir)/external/perfetto/protos $(in)", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 932 | out: [ |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 933 | "external/perfetto/protos/perfetto/ipc/consumer_port.ipc.cc", |
| 934 | "external/perfetto/protos/perfetto/ipc/consumer_port.pb.cc", |
| 935 | "external/perfetto/protos/perfetto/ipc/producer_port.ipc.cc", |
| 936 | "external/perfetto/protos/perfetto/ipc/producer_port.pb.cc", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 937 | ], |
| 938 | } |
| 939 | |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 940 | // GN target: //protos/perfetto/ipc:ipc_gen |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 941 | genrule { |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 942 | name: "perfetto_protos_perfetto_ipc_ipc_gen_headers", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 943 | srcs: [ |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 944 | "protos/perfetto/ipc/consumer_port.proto", |
| 945 | "protos/perfetto/ipc/producer_port.proto", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 946 | ], |
| 947 | tools: [ |
| 948 | "aprotoc", |
| 949 | "perfetto_src_ipc_protoc_plugin_ipc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 950 | ], |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 951 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos --plugin=protoc-gen-plugin=$(location perfetto_src_ipc_protoc_plugin_ipc_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=:$(genDir)/external/perfetto/protos $(in)", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 952 | out: [ |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 953 | "external/perfetto/protos/perfetto/ipc/consumer_port.ipc.h", |
| 954 | "external/perfetto/protos/perfetto/ipc/consumer_port.pb.h", |
| 955 | "external/perfetto/protos/perfetto/ipc/producer_port.ipc.h", |
| 956 | "external/perfetto/protos/perfetto/ipc/producer_port.pb.h", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 957 | ], |
| 958 | export_include_dirs: [ |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 959 | "protos", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 960 | ], |
| 961 | } |
| 962 | |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 963 | // GN target: //protos/perfetto/trace/android:lite_gen |
| 964 | genrule { |
| 965 | name: "perfetto_protos_perfetto_trace_android_lite_gen", |
| 966 | srcs: [ |
| 967 | "protos/perfetto/trace/android/android_log.proto", |
| 968 | ], |
| 969 | tools: [ |
| 970 | "aprotoc", |
| 971 | ], |
| 972 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 973 | out: [ |
| 974 | "external/perfetto/protos/perfetto/trace/android/android_log.pb.cc", |
| 975 | ], |
| 976 | } |
| 977 | |
| 978 | // GN target: //protos/perfetto/trace/android:lite_gen |
| 979 | genrule { |
| 980 | name: "perfetto_protos_perfetto_trace_android_lite_gen_headers", |
| 981 | srcs: [ |
| 982 | "protos/perfetto/trace/android/android_log.proto", |
| 983 | ], |
| 984 | tools: [ |
| 985 | "aprotoc", |
| 986 | ], |
| 987 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 988 | out: [ |
| 989 | "external/perfetto/protos/perfetto/trace/android/android_log.pb.h", |
| 990 | ], |
| 991 | export_include_dirs: [ |
| 992 | "protos", |
| 993 | ], |
| 994 | } |
| 995 | |
| 996 | // GN target: //protos/perfetto/trace/android:zero_gen |
| 997 | genrule { |
| 998 | name: "perfetto_protos_perfetto_trace_android_zero_gen", |
| 999 | srcs: [ |
| 1000 | "protos/perfetto/trace/android/android_log.proto", |
| 1001 | ], |
| 1002 | tools: [ |
| 1003 | "aprotoc", |
| 1004 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 1005 | ], |
| 1006 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
| 1007 | out: [ |
| 1008 | "external/perfetto/protos/perfetto/trace/android/android_log.pbzero.cc", |
| 1009 | ], |
| 1010 | } |
| 1011 | |
| 1012 | // GN target: //protos/perfetto/trace/android:zero_gen |
| 1013 | genrule { |
| 1014 | name: "perfetto_protos_perfetto_trace_android_zero_gen_headers", |
| 1015 | srcs: [ |
| 1016 | "protos/perfetto/trace/android/android_log.proto", |
| 1017 | ], |
| 1018 | tools: [ |
| 1019 | "aprotoc", |
| 1020 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 1021 | ], |
| 1022 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
| 1023 | out: [ |
| 1024 | "external/perfetto/protos/perfetto/trace/android/android_log.pbzero.h", |
| 1025 | ], |
| 1026 | export_include_dirs: [ |
| 1027 | "protos", |
| 1028 | ], |
| 1029 | } |
| 1030 | |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 1031 | // GN target: //protos/perfetto/trace/chrome:lite_gen |
| 1032 | genrule { |
| 1033 | name: "perfetto_protos_perfetto_trace_chrome_lite_gen", |
| 1034 | srcs: [ |
| 1035 | "protos/perfetto/trace/chrome/chrome_trace_event.proto", |
| 1036 | ], |
| 1037 | tools: [ |
| 1038 | "aprotoc", |
| 1039 | ], |
| 1040 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 1041 | out: [ |
| 1042 | "external/perfetto/protos/perfetto/trace/chrome/chrome_trace_event.pb.cc", |
| 1043 | ], |
| 1044 | } |
| 1045 | |
| 1046 | // GN target: //protos/perfetto/trace/chrome:lite_gen |
| 1047 | genrule { |
| 1048 | name: "perfetto_protos_perfetto_trace_chrome_lite_gen_headers", |
| 1049 | srcs: [ |
| 1050 | "protos/perfetto/trace/chrome/chrome_trace_event.proto", |
| 1051 | ], |
| 1052 | tools: [ |
| 1053 | "aprotoc", |
| 1054 | ], |
| 1055 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 1056 | out: [ |
| 1057 | "external/perfetto/protos/perfetto/trace/chrome/chrome_trace_event.pb.h", |
| 1058 | ], |
| 1059 | export_include_dirs: [ |
| 1060 | "protos", |
| 1061 | ], |
| 1062 | } |
| 1063 | |
| 1064 | // GN target: //protos/perfetto/trace/chrome:zero_gen |
| 1065 | genrule { |
| 1066 | name: "perfetto_protos_perfetto_trace_chrome_zero_gen", |
| 1067 | srcs: [ |
| 1068 | "protos/perfetto/trace/chrome/chrome_trace_event.proto", |
| 1069 | ], |
| 1070 | tools: [ |
| 1071 | "aprotoc", |
| 1072 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 1073 | ], |
| 1074 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
| 1075 | out: [ |
| 1076 | "external/perfetto/protos/perfetto/trace/chrome/chrome_trace_event.pbzero.cc", |
| 1077 | ], |
| 1078 | } |
| 1079 | |
| 1080 | // GN target: //protos/perfetto/trace/chrome:zero_gen |
| 1081 | genrule { |
| 1082 | name: "perfetto_protos_perfetto_trace_chrome_zero_gen_headers", |
| 1083 | srcs: [ |
| 1084 | "protos/perfetto/trace/chrome/chrome_trace_event.proto", |
| 1085 | ], |
| 1086 | tools: [ |
| 1087 | "aprotoc", |
| 1088 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 1089 | ], |
| 1090 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
| 1091 | out: [ |
| 1092 | "external/perfetto/protos/perfetto/trace/chrome/chrome_trace_event.pbzero.h", |
| 1093 | ], |
| 1094 | export_include_dirs: [ |
| 1095 | "protos", |
| 1096 | ], |
| 1097 | } |
| 1098 | |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 1099 | // GN target: //protos/perfetto/trace/filesystem:lite_gen |
| 1100 | genrule { |
| 1101 | name: "perfetto_protos_perfetto_trace_filesystem_lite_gen", |
| 1102 | srcs: [ |
| 1103 | "protos/perfetto/trace/filesystem/inode_file_map.proto", |
| 1104 | ], |
| 1105 | tools: [ |
| 1106 | "aprotoc", |
| 1107 | ], |
| 1108 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 1109 | out: [ |
| 1110 | "external/perfetto/protos/perfetto/trace/filesystem/inode_file_map.pb.cc", |
| 1111 | ], |
| 1112 | } |
| 1113 | |
| 1114 | // GN target: //protos/perfetto/trace/filesystem:lite_gen |
| 1115 | genrule { |
| 1116 | name: "perfetto_protos_perfetto_trace_filesystem_lite_gen_headers", |
| 1117 | srcs: [ |
| 1118 | "protos/perfetto/trace/filesystem/inode_file_map.proto", |
| 1119 | ], |
| 1120 | tools: [ |
| 1121 | "aprotoc", |
| 1122 | ], |
| 1123 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 1124 | out: [ |
| 1125 | "external/perfetto/protos/perfetto/trace/filesystem/inode_file_map.pb.h", |
| 1126 | ], |
| 1127 | export_include_dirs: [ |
| 1128 | "protos", |
| 1129 | ], |
| 1130 | } |
| 1131 | |
| 1132 | // GN target: //protos/perfetto/trace/filesystem:zero_gen |
| 1133 | genrule { |
| 1134 | name: "perfetto_protos_perfetto_trace_filesystem_zero_gen", |
| 1135 | srcs: [ |
| 1136 | "protos/perfetto/trace/filesystem/inode_file_map.proto", |
| 1137 | ], |
| 1138 | tools: [ |
| 1139 | "aprotoc", |
| 1140 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 1141 | ], |
| 1142 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
| 1143 | out: [ |
| 1144 | "external/perfetto/protos/perfetto/trace/filesystem/inode_file_map.pbzero.cc", |
| 1145 | ], |
| 1146 | } |
| 1147 | |
| 1148 | // GN target: //protos/perfetto/trace/filesystem:zero_gen |
| 1149 | genrule { |
| 1150 | name: "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers", |
| 1151 | srcs: [ |
| 1152 | "protos/perfetto/trace/filesystem/inode_file_map.proto", |
| 1153 | ], |
| 1154 | tools: [ |
| 1155 | "aprotoc", |
| 1156 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 1157 | ], |
| 1158 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
| 1159 | out: [ |
| 1160 | "external/perfetto/protos/perfetto/trace/filesystem/inode_file_map.pbzero.h", |
| 1161 | ], |
| 1162 | export_include_dirs: [ |
| 1163 | "protos", |
| 1164 | ], |
| 1165 | } |
| 1166 | |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1167 | // GN target: //protos/perfetto/trace/ftrace:lite_gen |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 1168 | genrule { |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1169 | name: "perfetto_protos_perfetto_trace_ftrace_lite_gen", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 1170 | srcs: [ |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1171 | "protos/perfetto/trace/ftrace/binder.proto", |
| 1172 | "protos/perfetto/trace/ftrace/block.proto", |
| 1173 | "protos/perfetto/trace/ftrace/cgroup.proto", |
| 1174 | "protos/perfetto/trace/ftrace/clk.proto", |
| 1175 | "protos/perfetto/trace/ftrace/compaction.proto", |
| 1176 | "protos/perfetto/trace/ftrace/ext4.proto", |
| 1177 | "protos/perfetto/trace/ftrace/f2fs.proto", |
| 1178 | "protos/perfetto/trace/ftrace/fence.proto", |
| 1179 | "protos/perfetto/trace/ftrace/filemap.proto", |
| 1180 | "protos/perfetto/trace/ftrace/ftrace.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1181 | "protos/perfetto/trace/ftrace/ftrace_event.proto", |
| 1182 | "protos/perfetto/trace/ftrace/ftrace_event_bundle.proto", |
Hector Dearman | 3afb1e0 | 2018-04-27 16:46:52 +0100 | [diff] [blame] | 1183 | "protos/perfetto/trace/ftrace/ftrace_stats.proto", |
Isabelle Taylor | 98e560d | 2018-11-22 11:59:12 +0000 | [diff] [blame] | 1184 | "protos/perfetto/trace/ftrace/generic.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1185 | "protos/perfetto/trace/ftrace/i2c.proto", |
| 1186 | "protos/perfetto/trace/ftrace/ipi.proto", |
| 1187 | "protos/perfetto/trace/ftrace/irq.proto", |
| 1188 | "protos/perfetto/trace/ftrace/kmem.proto", |
| 1189 | "protos/perfetto/trace/ftrace/lowmemorykiller.proto", |
| 1190 | "protos/perfetto/trace/ftrace/mdss.proto", |
| 1191 | "protos/perfetto/trace/ftrace/oom.proto", |
| 1192 | "protos/perfetto/trace/ftrace/power.proto", |
| 1193 | "protos/perfetto/trace/ftrace/regulator.proto", |
| 1194 | "protos/perfetto/trace/ftrace/sched.proto", |
| 1195 | "protos/perfetto/trace/ftrace/signal.proto", |
| 1196 | "protos/perfetto/trace/ftrace/sync.proto", |
| 1197 | "protos/perfetto/trace/ftrace/task.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1198 | "protos/perfetto/trace/ftrace/test_bundle_wrapper.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1199 | "protos/perfetto/trace/ftrace/vmscan.proto", |
| 1200 | "protos/perfetto/trace/ftrace/workqueue.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1201 | ], |
| 1202 | tools: [ |
| 1203 | "aprotoc", |
| 1204 | ], |
| 1205 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 1206 | out: [ |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1207 | "external/perfetto/protos/perfetto/trace/ftrace/binder.pb.cc", |
| 1208 | "external/perfetto/protos/perfetto/trace/ftrace/block.pb.cc", |
| 1209 | "external/perfetto/protos/perfetto/trace/ftrace/cgroup.pb.cc", |
| 1210 | "external/perfetto/protos/perfetto/trace/ftrace/clk.pb.cc", |
| 1211 | "external/perfetto/protos/perfetto/trace/ftrace/compaction.pb.cc", |
| 1212 | "external/perfetto/protos/perfetto/trace/ftrace/ext4.pb.cc", |
| 1213 | "external/perfetto/protos/perfetto/trace/ftrace/f2fs.pb.cc", |
| 1214 | "external/perfetto/protos/perfetto/trace/ftrace/fence.pb.cc", |
| 1215 | "external/perfetto/protos/perfetto/trace/ftrace/filemap.pb.cc", |
| 1216 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace.pb.cc", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1217 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace_event.pb.cc", |
| 1218 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace_event_bundle.pb.cc", |
Hector Dearman | 3afb1e0 | 2018-04-27 16:46:52 +0100 | [diff] [blame] | 1219 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace_stats.pb.cc", |
Isabelle Taylor | 98e560d | 2018-11-22 11:59:12 +0000 | [diff] [blame] | 1220 | "external/perfetto/protos/perfetto/trace/ftrace/generic.pb.cc", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1221 | "external/perfetto/protos/perfetto/trace/ftrace/i2c.pb.cc", |
| 1222 | "external/perfetto/protos/perfetto/trace/ftrace/ipi.pb.cc", |
| 1223 | "external/perfetto/protos/perfetto/trace/ftrace/irq.pb.cc", |
| 1224 | "external/perfetto/protos/perfetto/trace/ftrace/kmem.pb.cc", |
| 1225 | "external/perfetto/protos/perfetto/trace/ftrace/lowmemorykiller.pb.cc", |
| 1226 | "external/perfetto/protos/perfetto/trace/ftrace/mdss.pb.cc", |
| 1227 | "external/perfetto/protos/perfetto/trace/ftrace/oom.pb.cc", |
| 1228 | "external/perfetto/protos/perfetto/trace/ftrace/power.pb.cc", |
| 1229 | "external/perfetto/protos/perfetto/trace/ftrace/regulator.pb.cc", |
| 1230 | "external/perfetto/protos/perfetto/trace/ftrace/sched.pb.cc", |
| 1231 | "external/perfetto/protos/perfetto/trace/ftrace/signal.pb.cc", |
| 1232 | "external/perfetto/protos/perfetto/trace/ftrace/sync.pb.cc", |
| 1233 | "external/perfetto/protos/perfetto/trace/ftrace/task.pb.cc", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1234 | "external/perfetto/protos/perfetto/trace/ftrace/test_bundle_wrapper.pb.cc", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1235 | "external/perfetto/protos/perfetto/trace/ftrace/vmscan.pb.cc", |
| 1236 | "external/perfetto/protos/perfetto/trace/ftrace/workqueue.pb.cc", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1237 | ], |
| 1238 | } |
| 1239 | |
| 1240 | // GN target: //protos/perfetto/trace/ftrace:lite_gen |
| 1241 | genrule { |
| 1242 | name: "perfetto_protos_perfetto_trace_ftrace_lite_gen_headers", |
| 1243 | srcs: [ |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1244 | "protos/perfetto/trace/ftrace/binder.proto", |
| 1245 | "protos/perfetto/trace/ftrace/block.proto", |
| 1246 | "protos/perfetto/trace/ftrace/cgroup.proto", |
| 1247 | "protos/perfetto/trace/ftrace/clk.proto", |
| 1248 | "protos/perfetto/trace/ftrace/compaction.proto", |
| 1249 | "protos/perfetto/trace/ftrace/ext4.proto", |
| 1250 | "protos/perfetto/trace/ftrace/f2fs.proto", |
| 1251 | "protos/perfetto/trace/ftrace/fence.proto", |
| 1252 | "protos/perfetto/trace/ftrace/filemap.proto", |
| 1253 | "protos/perfetto/trace/ftrace/ftrace.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1254 | "protos/perfetto/trace/ftrace/ftrace_event.proto", |
| 1255 | "protos/perfetto/trace/ftrace/ftrace_event_bundle.proto", |
Hector Dearman | 3afb1e0 | 2018-04-27 16:46:52 +0100 | [diff] [blame] | 1256 | "protos/perfetto/trace/ftrace/ftrace_stats.proto", |
Isabelle Taylor | 98e560d | 2018-11-22 11:59:12 +0000 | [diff] [blame] | 1257 | "protos/perfetto/trace/ftrace/generic.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1258 | "protos/perfetto/trace/ftrace/i2c.proto", |
| 1259 | "protos/perfetto/trace/ftrace/ipi.proto", |
| 1260 | "protos/perfetto/trace/ftrace/irq.proto", |
| 1261 | "protos/perfetto/trace/ftrace/kmem.proto", |
| 1262 | "protos/perfetto/trace/ftrace/lowmemorykiller.proto", |
| 1263 | "protos/perfetto/trace/ftrace/mdss.proto", |
| 1264 | "protos/perfetto/trace/ftrace/oom.proto", |
| 1265 | "protos/perfetto/trace/ftrace/power.proto", |
| 1266 | "protos/perfetto/trace/ftrace/regulator.proto", |
| 1267 | "protos/perfetto/trace/ftrace/sched.proto", |
| 1268 | "protos/perfetto/trace/ftrace/signal.proto", |
| 1269 | "protos/perfetto/trace/ftrace/sync.proto", |
| 1270 | "protos/perfetto/trace/ftrace/task.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1271 | "protos/perfetto/trace/ftrace/test_bundle_wrapper.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1272 | "protos/perfetto/trace/ftrace/vmscan.proto", |
| 1273 | "protos/perfetto/trace/ftrace/workqueue.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1274 | ], |
| 1275 | tools: [ |
| 1276 | "aprotoc", |
| 1277 | ], |
| 1278 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 1279 | out: [ |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1280 | "external/perfetto/protos/perfetto/trace/ftrace/binder.pb.h", |
| 1281 | "external/perfetto/protos/perfetto/trace/ftrace/block.pb.h", |
| 1282 | "external/perfetto/protos/perfetto/trace/ftrace/cgroup.pb.h", |
| 1283 | "external/perfetto/protos/perfetto/trace/ftrace/clk.pb.h", |
| 1284 | "external/perfetto/protos/perfetto/trace/ftrace/compaction.pb.h", |
| 1285 | "external/perfetto/protos/perfetto/trace/ftrace/ext4.pb.h", |
| 1286 | "external/perfetto/protos/perfetto/trace/ftrace/f2fs.pb.h", |
| 1287 | "external/perfetto/protos/perfetto/trace/ftrace/fence.pb.h", |
| 1288 | "external/perfetto/protos/perfetto/trace/ftrace/filemap.pb.h", |
| 1289 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace.pb.h", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1290 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace_event.pb.h", |
| 1291 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace_event_bundle.pb.h", |
Hector Dearman | 3afb1e0 | 2018-04-27 16:46:52 +0100 | [diff] [blame] | 1292 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace_stats.pb.h", |
Isabelle Taylor | 98e560d | 2018-11-22 11:59:12 +0000 | [diff] [blame] | 1293 | "external/perfetto/protos/perfetto/trace/ftrace/generic.pb.h", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1294 | "external/perfetto/protos/perfetto/trace/ftrace/i2c.pb.h", |
| 1295 | "external/perfetto/protos/perfetto/trace/ftrace/ipi.pb.h", |
| 1296 | "external/perfetto/protos/perfetto/trace/ftrace/irq.pb.h", |
| 1297 | "external/perfetto/protos/perfetto/trace/ftrace/kmem.pb.h", |
| 1298 | "external/perfetto/protos/perfetto/trace/ftrace/lowmemorykiller.pb.h", |
| 1299 | "external/perfetto/protos/perfetto/trace/ftrace/mdss.pb.h", |
| 1300 | "external/perfetto/protos/perfetto/trace/ftrace/oom.pb.h", |
| 1301 | "external/perfetto/protos/perfetto/trace/ftrace/power.pb.h", |
| 1302 | "external/perfetto/protos/perfetto/trace/ftrace/regulator.pb.h", |
| 1303 | "external/perfetto/protos/perfetto/trace/ftrace/sched.pb.h", |
| 1304 | "external/perfetto/protos/perfetto/trace/ftrace/signal.pb.h", |
| 1305 | "external/perfetto/protos/perfetto/trace/ftrace/sync.pb.h", |
| 1306 | "external/perfetto/protos/perfetto/trace/ftrace/task.pb.h", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1307 | "external/perfetto/protos/perfetto/trace/ftrace/test_bundle_wrapper.pb.h", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1308 | "external/perfetto/protos/perfetto/trace/ftrace/vmscan.pb.h", |
| 1309 | "external/perfetto/protos/perfetto/trace/ftrace/workqueue.pb.h", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1310 | ], |
| 1311 | export_include_dirs: [ |
| 1312 | "protos", |
| 1313 | ], |
| 1314 | } |
| 1315 | |
| 1316 | // GN target: //protos/perfetto/trace/ftrace:zero_gen |
| 1317 | genrule { |
| 1318 | name: "perfetto_protos_perfetto_trace_ftrace_zero_gen", |
| 1319 | srcs: [ |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1320 | "protos/perfetto/trace/ftrace/binder.proto", |
| 1321 | "protos/perfetto/trace/ftrace/block.proto", |
| 1322 | "protos/perfetto/trace/ftrace/cgroup.proto", |
| 1323 | "protos/perfetto/trace/ftrace/clk.proto", |
| 1324 | "protos/perfetto/trace/ftrace/compaction.proto", |
| 1325 | "protos/perfetto/trace/ftrace/ext4.proto", |
| 1326 | "protos/perfetto/trace/ftrace/f2fs.proto", |
| 1327 | "protos/perfetto/trace/ftrace/fence.proto", |
| 1328 | "protos/perfetto/trace/ftrace/filemap.proto", |
| 1329 | "protos/perfetto/trace/ftrace/ftrace.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1330 | "protos/perfetto/trace/ftrace/ftrace_event.proto", |
| 1331 | "protos/perfetto/trace/ftrace/ftrace_event_bundle.proto", |
Hector Dearman | 3afb1e0 | 2018-04-27 16:46:52 +0100 | [diff] [blame] | 1332 | "protos/perfetto/trace/ftrace/ftrace_stats.proto", |
Isabelle Taylor | 98e560d | 2018-11-22 11:59:12 +0000 | [diff] [blame] | 1333 | "protos/perfetto/trace/ftrace/generic.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1334 | "protos/perfetto/trace/ftrace/i2c.proto", |
| 1335 | "protos/perfetto/trace/ftrace/ipi.proto", |
| 1336 | "protos/perfetto/trace/ftrace/irq.proto", |
| 1337 | "protos/perfetto/trace/ftrace/kmem.proto", |
| 1338 | "protos/perfetto/trace/ftrace/lowmemorykiller.proto", |
| 1339 | "protos/perfetto/trace/ftrace/mdss.proto", |
| 1340 | "protos/perfetto/trace/ftrace/oom.proto", |
| 1341 | "protos/perfetto/trace/ftrace/power.proto", |
| 1342 | "protos/perfetto/trace/ftrace/regulator.proto", |
| 1343 | "protos/perfetto/trace/ftrace/sched.proto", |
| 1344 | "protos/perfetto/trace/ftrace/signal.proto", |
| 1345 | "protos/perfetto/trace/ftrace/sync.proto", |
| 1346 | "protos/perfetto/trace/ftrace/task.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1347 | "protos/perfetto/trace/ftrace/test_bundle_wrapper.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1348 | "protos/perfetto/trace/ftrace/vmscan.proto", |
| 1349 | "protos/perfetto/trace/ftrace/workqueue.proto", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 1350 | ], |
| 1351 | tools: [ |
| 1352 | "aprotoc", |
| 1353 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 1354 | ], |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1355 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 1356 | out: [ |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1357 | "external/perfetto/protos/perfetto/trace/ftrace/binder.pbzero.cc", |
| 1358 | "external/perfetto/protos/perfetto/trace/ftrace/block.pbzero.cc", |
| 1359 | "external/perfetto/protos/perfetto/trace/ftrace/cgroup.pbzero.cc", |
| 1360 | "external/perfetto/protos/perfetto/trace/ftrace/clk.pbzero.cc", |
| 1361 | "external/perfetto/protos/perfetto/trace/ftrace/compaction.pbzero.cc", |
| 1362 | "external/perfetto/protos/perfetto/trace/ftrace/ext4.pbzero.cc", |
| 1363 | "external/perfetto/protos/perfetto/trace/ftrace/f2fs.pbzero.cc", |
| 1364 | "external/perfetto/protos/perfetto/trace/ftrace/fence.pbzero.cc", |
| 1365 | "external/perfetto/protos/perfetto/trace/ftrace/filemap.pbzero.cc", |
| 1366 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace.pbzero.cc", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1367 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace_event.pbzero.cc", |
| 1368 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace_event_bundle.pbzero.cc", |
Hector Dearman | 3afb1e0 | 2018-04-27 16:46:52 +0100 | [diff] [blame] | 1369 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace_stats.pbzero.cc", |
Isabelle Taylor | 98e560d | 2018-11-22 11:59:12 +0000 | [diff] [blame] | 1370 | "external/perfetto/protos/perfetto/trace/ftrace/generic.pbzero.cc", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1371 | "external/perfetto/protos/perfetto/trace/ftrace/i2c.pbzero.cc", |
| 1372 | "external/perfetto/protos/perfetto/trace/ftrace/ipi.pbzero.cc", |
| 1373 | "external/perfetto/protos/perfetto/trace/ftrace/irq.pbzero.cc", |
| 1374 | "external/perfetto/protos/perfetto/trace/ftrace/kmem.pbzero.cc", |
| 1375 | "external/perfetto/protos/perfetto/trace/ftrace/lowmemorykiller.pbzero.cc", |
| 1376 | "external/perfetto/protos/perfetto/trace/ftrace/mdss.pbzero.cc", |
| 1377 | "external/perfetto/protos/perfetto/trace/ftrace/oom.pbzero.cc", |
| 1378 | "external/perfetto/protos/perfetto/trace/ftrace/power.pbzero.cc", |
| 1379 | "external/perfetto/protos/perfetto/trace/ftrace/regulator.pbzero.cc", |
| 1380 | "external/perfetto/protos/perfetto/trace/ftrace/sched.pbzero.cc", |
| 1381 | "external/perfetto/protos/perfetto/trace/ftrace/signal.pbzero.cc", |
| 1382 | "external/perfetto/protos/perfetto/trace/ftrace/sync.pbzero.cc", |
| 1383 | "external/perfetto/protos/perfetto/trace/ftrace/task.pbzero.cc", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1384 | "external/perfetto/protos/perfetto/trace/ftrace/test_bundle_wrapper.pbzero.cc", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1385 | "external/perfetto/protos/perfetto/trace/ftrace/vmscan.pbzero.cc", |
| 1386 | "external/perfetto/protos/perfetto/trace/ftrace/workqueue.pbzero.cc", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 1387 | ], |
| 1388 | } |
| 1389 | |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1390 | // GN target: //protos/perfetto/trace/ftrace:zero_gen |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 1391 | genrule { |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1392 | name: "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 1393 | srcs: [ |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1394 | "protos/perfetto/trace/ftrace/binder.proto", |
| 1395 | "protos/perfetto/trace/ftrace/block.proto", |
| 1396 | "protos/perfetto/trace/ftrace/cgroup.proto", |
| 1397 | "protos/perfetto/trace/ftrace/clk.proto", |
| 1398 | "protos/perfetto/trace/ftrace/compaction.proto", |
| 1399 | "protos/perfetto/trace/ftrace/ext4.proto", |
| 1400 | "protos/perfetto/trace/ftrace/f2fs.proto", |
| 1401 | "protos/perfetto/trace/ftrace/fence.proto", |
| 1402 | "protos/perfetto/trace/ftrace/filemap.proto", |
| 1403 | "protos/perfetto/trace/ftrace/ftrace.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1404 | "protos/perfetto/trace/ftrace/ftrace_event.proto", |
| 1405 | "protos/perfetto/trace/ftrace/ftrace_event_bundle.proto", |
Hector Dearman | 3afb1e0 | 2018-04-27 16:46:52 +0100 | [diff] [blame] | 1406 | "protos/perfetto/trace/ftrace/ftrace_stats.proto", |
Isabelle Taylor | 98e560d | 2018-11-22 11:59:12 +0000 | [diff] [blame] | 1407 | "protos/perfetto/trace/ftrace/generic.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1408 | "protos/perfetto/trace/ftrace/i2c.proto", |
| 1409 | "protos/perfetto/trace/ftrace/ipi.proto", |
| 1410 | "protos/perfetto/trace/ftrace/irq.proto", |
| 1411 | "protos/perfetto/trace/ftrace/kmem.proto", |
| 1412 | "protos/perfetto/trace/ftrace/lowmemorykiller.proto", |
| 1413 | "protos/perfetto/trace/ftrace/mdss.proto", |
| 1414 | "protos/perfetto/trace/ftrace/oom.proto", |
| 1415 | "protos/perfetto/trace/ftrace/power.proto", |
| 1416 | "protos/perfetto/trace/ftrace/regulator.proto", |
| 1417 | "protos/perfetto/trace/ftrace/sched.proto", |
| 1418 | "protos/perfetto/trace/ftrace/signal.proto", |
| 1419 | "protos/perfetto/trace/ftrace/sync.proto", |
| 1420 | "protos/perfetto/trace/ftrace/task.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1421 | "protos/perfetto/trace/ftrace/test_bundle_wrapper.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1422 | "protos/perfetto/trace/ftrace/vmscan.proto", |
| 1423 | "protos/perfetto/trace/ftrace/workqueue.proto", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 1424 | ], |
| 1425 | tools: [ |
| 1426 | "aprotoc", |
| 1427 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 1428 | ], |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1429 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 1430 | out: [ |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1431 | "external/perfetto/protos/perfetto/trace/ftrace/binder.pbzero.h", |
| 1432 | "external/perfetto/protos/perfetto/trace/ftrace/block.pbzero.h", |
| 1433 | "external/perfetto/protos/perfetto/trace/ftrace/cgroup.pbzero.h", |
| 1434 | "external/perfetto/protos/perfetto/trace/ftrace/clk.pbzero.h", |
| 1435 | "external/perfetto/protos/perfetto/trace/ftrace/compaction.pbzero.h", |
| 1436 | "external/perfetto/protos/perfetto/trace/ftrace/ext4.pbzero.h", |
| 1437 | "external/perfetto/protos/perfetto/trace/ftrace/f2fs.pbzero.h", |
| 1438 | "external/perfetto/protos/perfetto/trace/ftrace/fence.pbzero.h", |
| 1439 | "external/perfetto/protos/perfetto/trace/ftrace/filemap.pbzero.h", |
| 1440 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace.pbzero.h", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1441 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace_event.pbzero.h", |
| 1442 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace_event_bundle.pbzero.h", |
Hector Dearman | 3afb1e0 | 2018-04-27 16:46:52 +0100 | [diff] [blame] | 1443 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace_stats.pbzero.h", |
Isabelle Taylor | 98e560d | 2018-11-22 11:59:12 +0000 | [diff] [blame] | 1444 | "external/perfetto/protos/perfetto/trace/ftrace/generic.pbzero.h", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1445 | "external/perfetto/protos/perfetto/trace/ftrace/i2c.pbzero.h", |
| 1446 | "external/perfetto/protos/perfetto/trace/ftrace/ipi.pbzero.h", |
| 1447 | "external/perfetto/protos/perfetto/trace/ftrace/irq.pbzero.h", |
| 1448 | "external/perfetto/protos/perfetto/trace/ftrace/kmem.pbzero.h", |
| 1449 | "external/perfetto/protos/perfetto/trace/ftrace/lowmemorykiller.pbzero.h", |
| 1450 | "external/perfetto/protos/perfetto/trace/ftrace/mdss.pbzero.h", |
| 1451 | "external/perfetto/protos/perfetto/trace/ftrace/oom.pbzero.h", |
| 1452 | "external/perfetto/protos/perfetto/trace/ftrace/power.pbzero.h", |
| 1453 | "external/perfetto/protos/perfetto/trace/ftrace/regulator.pbzero.h", |
| 1454 | "external/perfetto/protos/perfetto/trace/ftrace/sched.pbzero.h", |
| 1455 | "external/perfetto/protos/perfetto/trace/ftrace/signal.pbzero.h", |
| 1456 | "external/perfetto/protos/perfetto/trace/ftrace/sync.pbzero.h", |
| 1457 | "external/perfetto/protos/perfetto/trace/ftrace/task.pbzero.h", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1458 | "external/perfetto/protos/perfetto/trace/ftrace/test_bundle_wrapper.pbzero.h", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1459 | "external/perfetto/protos/perfetto/trace/ftrace/vmscan.pbzero.h", |
| 1460 | "external/perfetto/protos/perfetto/trace/ftrace/workqueue.pbzero.h", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 1461 | ], |
| 1462 | export_include_dirs: [ |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1463 | "protos", |
| 1464 | ], |
| 1465 | } |
| 1466 | |
| 1467 | // GN target: //protos/perfetto/trace:lite_gen |
| 1468 | genrule { |
| 1469 | name: "perfetto_protos_perfetto_trace_lite_gen", |
| 1470 | srcs: [ |
| 1471 | "protos/perfetto/trace/test_event.proto", |
| 1472 | "protos/perfetto/trace/trace.proto", |
| 1473 | "protos/perfetto/trace/trace_packet.proto", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 1474 | ], |
| 1475 | tools: [ |
| 1476 | "aprotoc", |
| 1477 | ], |
| 1478 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 1479 | out: [ |
| 1480 | "external/perfetto/protos/perfetto/trace/test_event.pb.cc", |
| 1481 | "external/perfetto/protos/perfetto/trace/trace.pb.cc", |
| 1482 | "external/perfetto/protos/perfetto/trace/trace_packet.pb.cc", |
| 1483 | ], |
| 1484 | } |
| 1485 | |
| 1486 | // GN target: //protos/perfetto/trace:lite_gen |
| 1487 | genrule { |
| 1488 | name: "perfetto_protos_perfetto_trace_lite_gen_headers", |
| 1489 | srcs: [ |
| 1490 | "protos/perfetto/trace/test_event.proto", |
| 1491 | "protos/perfetto/trace/trace.proto", |
| 1492 | "protos/perfetto/trace/trace_packet.proto", |
| 1493 | ], |
| 1494 | tools: [ |
| 1495 | "aprotoc", |
| 1496 | ], |
| 1497 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 1498 | out: [ |
| 1499 | "external/perfetto/protos/perfetto/trace/test_event.pb.h", |
| 1500 | "external/perfetto/protos/perfetto/trace/trace.pb.h", |
| 1501 | "external/perfetto/protos/perfetto/trace/trace_packet.pb.h", |
| 1502 | ], |
| 1503 | export_include_dirs: [ |
| 1504 | "protos", |
| 1505 | ], |
| 1506 | } |
| 1507 | |
| 1508 | // GN target: //protos/perfetto/trace:minimal_lite_gen |
| 1509 | genrule { |
| 1510 | name: "perfetto_protos_perfetto_trace_minimal_lite_gen", |
| 1511 | srcs: [ |
| 1512 | "protos/perfetto/trace/clock_snapshot.proto", |
Primiano Tucci | 5e33cad | 2018-04-30 14:41:25 +0100 | [diff] [blame] | 1513 | "protos/perfetto/trace/trace_stats.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1514 | ], |
| 1515 | tools: [ |
| 1516 | "aprotoc", |
| 1517 | ], |
| 1518 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 1519 | out: [ |
Sami Kyostila | fbccb3c | 2018-03-21 14:00:47 +0000 | [diff] [blame] | 1520 | "external/perfetto/protos/perfetto/trace/clock_snapshot.pb.cc", |
Primiano Tucci | 5e33cad | 2018-04-30 14:41:25 +0100 | [diff] [blame] | 1521 | "external/perfetto/protos/perfetto/trace/trace_stats.pb.cc", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1522 | ], |
| 1523 | } |
| 1524 | |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 1525 | // GN target: //protos/perfetto/trace:minimal_lite_gen |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1526 | genrule { |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 1527 | name: "perfetto_protos_perfetto_trace_minimal_lite_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1528 | srcs: [ |
Sami Kyostila | fbccb3c | 2018-03-21 14:00:47 +0000 | [diff] [blame] | 1529 | "protos/perfetto/trace/clock_snapshot.proto", |
Primiano Tucci | 5e33cad | 2018-04-30 14:41:25 +0100 | [diff] [blame] | 1530 | "protos/perfetto/trace/trace_stats.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1531 | ], |
| 1532 | tools: [ |
| 1533 | "aprotoc", |
| 1534 | ], |
| 1535 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 1536 | out: [ |
Sami Kyostila | fbccb3c | 2018-03-21 14:00:47 +0000 | [diff] [blame] | 1537 | "external/perfetto/protos/perfetto/trace/clock_snapshot.pb.h", |
Primiano Tucci | 5e33cad | 2018-04-30 14:41:25 +0100 | [diff] [blame] | 1538 | "external/perfetto/protos/perfetto/trace/trace_stats.pb.h", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1539 | ], |
| 1540 | export_include_dirs: [ |
| 1541 | "protos", |
| 1542 | ], |
| 1543 | } |
| 1544 | |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 1545 | // GN target: //protos/perfetto/trace/power:lite_gen |
| 1546 | genrule { |
| 1547 | name: "perfetto_protos_perfetto_trace_power_lite_gen", |
| 1548 | srcs: [ |
| 1549 | "protos/perfetto/trace/power/battery_counters.proto", |
| 1550 | ], |
| 1551 | tools: [ |
| 1552 | "aprotoc", |
| 1553 | ], |
| 1554 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 1555 | out: [ |
| 1556 | "external/perfetto/protos/perfetto/trace/power/battery_counters.pb.cc", |
| 1557 | ], |
| 1558 | } |
| 1559 | |
| 1560 | // GN target: //protos/perfetto/trace/power:lite_gen |
| 1561 | genrule { |
| 1562 | name: "perfetto_protos_perfetto_trace_power_lite_gen_headers", |
| 1563 | srcs: [ |
| 1564 | "protos/perfetto/trace/power/battery_counters.proto", |
| 1565 | ], |
| 1566 | tools: [ |
| 1567 | "aprotoc", |
| 1568 | ], |
| 1569 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 1570 | out: [ |
| 1571 | "external/perfetto/protos/perfetto/trace/power/battery_counters.pb.h", |
| 1572 | ], |
| 1573 | export_include_dirs: [ |
| 1574 | "protos", |
| 1575 | ], |
| 1576 | } |
| 1577 | |
| 1578 | // GN target: //protos/perfetto/trace/power:zero_gen |
| 1579 | genrule { |
| 1580 | name: "perfetto_protos_perfetto_trace_power_zero_gen", |
| 1581 | srcs: [ |
| 1582 | "protos/perfetto/trace/power/battery_counters.proto", |
| 1583 | ], |
| 1584 | tools: [ |
| 1585 | "aprotoc", |
| 1586 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 1587 | ], |
| 1588 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
| 1589 | out: [ |
| 1590 | "external/perfetto/protos/perfetto/trace/power/battery_counters.pbzero.cc", |
| 1591 | ], |
| 1592 | } |
| 1593 | |
| 1594 | // GN target: //protos/perfetto/trace/power:zero_gen |
| 1595 | genrule { |
| 1596 | name: "perfetto_protos_perfetto_trace_power_zero_gen_headers", |
| 1597 | srcs: [ |
| 1598 | "protos/perfetto/trace/power/battery_counters.proto", |
| 1599 | ], |
| 1600 | tools: [ |
| 1601 | "aprotoc", |
| 1602 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 1603 | ], |
| 1604 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
| 1605 | out: [ |
| 1606 | "external/perfetto/protos/perfetto/trace/power/battery_counters.pbzero.h", |
| 1607 | ], |
| 1608 | export_include_dirs: [ |
| 1609 | "protos", |
| 1610 | ], |
| 1611 | } |
| 1612 | |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 1613 | // GN target: //protos/perfetto/trace/profiling:lite_gen |
| 1614 | genrule { |
| 1615 | name: "perfetto_protos_perfetto_trace_profiling_lite_gen", |
| 1616 | srcs: [ |
| 1617 | "protos/perfetto/trace/profiling/profile_packet.proto", |
| 1618 | ], |
| 1619 | tools: [ |
| 1620 | "aprotoc", |
| 1621 | ], |
| 1622 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 1623 | out: [ |
| 1624 | "external/perfetto/protos/perfetto/trace/profiling/profile_packet.pb.cc", |
| 1625 | ], |
| 1626 | } |
| 1627 | |
| 1628 | // GN target: //protos/perfetto/trace/profiling:lite_gen |
| 1629 | genrule { |
| 1630 | name: "perfetto_protos_perfetto_trace_profiling_lite_gen_headers", |
| 1631 | srcs: [ |
| 1632 | "protos/perfetto/trace/profiling/profile_packet.proto", |
| 1633 | ], |
| 1634 | tools: [ |
| 1635 | "aprotoc", |
| 1636 | ], |
| 1637 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 1638 | out: [ |
| 1639 | "external/perfetto/protos/perfetto/trace/profiling/profile_packet.pb.h", |
| 1640 | ], |
| 1641 | export_include_dirs: [ |
| 1642 | "protos", |
| 1643 | ], |
| 1644 | } |
| 1645 | |
| 1646 | // GN target: //protos/perfetto/trace/profiling:zero_gen |
| 1647 | genrule { |
| 1648 | name: "perfetto_protos_perfetto_trace_profiling_zero_gen", |
| 1649 | srcs: [ |
| 1650 | "protos/perfetto/trace/profiling/profile_packet.proto", |
| 1651 | ], |
| 1652 | tools: [ |
| 1653 | "aprotoc", |
| 1654 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 1655 | ], |
| 1656 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
| 1657 | out: [ |
| 1658 | "external/perfetto/protos/perfetto/trace/profiling/profile_packet.pbzero.cc", |
| 1659 | ], |
| 1660 | } |
| 1661 | |
| 1662 | // GN target: //protos/perfetto/trace/profiling:zero_gen |
| 1663 | genrule { |
| 1664 | name: "perfetto_protos_perfetto_trace_profiling_zero_gen_headers", |
| 1665 | srcs: [ |
| 1666 | "protos/perfetto/trace/profiling/profile_packet.proto", |
| 1667 | ], |
| 1668 | tools: [ |
| 1669 | "aprotoc", |
| 1670 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 1671 | ], |
| 1672 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
| 1673 | out: [ |
| 1674 | "external/perfetto/protos/perfetto/trace/profiling/profile_packet.pbzero.h", |
| 1675 | ], |
| 1676 | export_include_dirs: [ |
| 1677 | "protos", |
| 1678 | ], |
| 1679 | } |
| 1680 | |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 1681 | // GN target: //protos/perfetto/trace/ps:lite_gen |
| 1682 | genrule { |
| 1683 | name: "perfetto_protos_perfetto_trace_ps_lite_gen", |
| 1684 | srcs: [ |
Primiano Tucci | c9d4a8b | 2018-10-30 20:19:01 -0700 | [diff] [blame] | 1685 | "protos/perfetto/trace/ps/process_stats.proto", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 1686 | "protos/perfetto/trace/ps/process_tree.proto", |
| 1687 | ], |
| 1688 | tools: [ |
| 1689 | "aprotoc", |
| 1690 | ], |
| 1691 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 1692 | out: [ |
Primiano Tucci | c9d4a8b | 2018-10-30 20:19:01 -0700 | [diff] [blame] | 1693 | "external/perfetto/protos/perfetto/trace/ps/process_stats.pb.cc", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 1694 | "external/perfetto/protos/perfetto/trace/ps/process_tree.pb.cc", |
| 1695 | ], |
| 1696 | } |
| 1697 | |
| 1698 | // GN target: //protos/perfetto/trace/ps:lite_gen |
| 1699 | genrule { |
| 1700 | name: "perfetto_protos_perfetto_trace_ps_lite_gen_headers", |
| 1701 | srcs: [ |
Primiano Tucci | c9d4a8b | 2018-10-30 20:19:01 -0700 | [diff] [blame] | 1702 | "protos/perfetto/trace/ps/process_stats.proto", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 1703 | "protos/perfetto/trace/ps/process_tree.proto", |
| 1704 | ], |
| 1705 | tools: [ |
| 1706 | "aprotoc", |
| 1707 | ], |
| 1708 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 1709 | out: [ |
Primiano Tucci | c9d4a8b | 2018-10-30 20:19:01 -0700 | [diff] [blame] | 1710 | "external/perfetto/protos/perfetto/trace/ps/process_stats.pb.h", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 1711 | "external/perfetto/protos/perfetto/trace/ps/process_tree.pb.h", |
| 1712 | ], |
| 1713 | export_include_dirs: [ |
| 1714 | "protos", |
| 1715 | ], |
| 1716 | } |
| 1717 | |
| 1718 | // GN target: //protos/perfetto/trace/ps:zero_gen |
| 1719 | genrule { |
| 1720 | name: "perfetto_protos_perfetto_trace_ps_zero_gen", |
| 1721 | srcs: [ |
Primiano Tucci | c9d4a8b | 2018-10-30 20:19:01 -0700 | [diff] [blame] | 1722 | "protos/perfetto/trace/ps/process_stats.proto", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 1723 | "protos/perfetto/trace/ps/process_tree.proto", |
| 1724 | ], |
| 1725 | tools: [ |
| 1726 | "aprotoc", |
| 1727 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 1728 | ], |
| 1729 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
| 1730 | out: [ |
Primiano Tucci | c9d4a8b | 2018-10-30 20:19:01 -0700 | [diff] [blame] | 1731 | "external/perfetto/protos/perfetto/trace/ps/process_stats.pbzero.cc", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 1732 | "external/perfetto/protos/perfetto/trace/ps/process_tree.pbzero.cc", |
| 1733 | ], |
| 1734 | } |
| 1735 | |
| 1736 | // GN target: //protos/perfetto/trace/ps:zero_gen |
| 1737 | genrule { |
| 1738 | name: "perfetto_protos_perfetto_trace_ps_zero_gen_headers", |
| 1739 | srcs: [ |
Primiano Tucci | c9d4a8b | 2018-10-30 20:19:01 -0700 | [diff] [blame] | 1740 | "protos/perfetto/trace/ps/process_stats.proto", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 1741 | "protos/perfetto/trace/ps/process_tree.proto", |
| 1742 | ], |
| 1743 | tools: [ |
| 1744 | "aprotoc", |
| 1745 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 1746 | ], |
| 1747 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
| 1748 | out: [ |
Primiano Tucci | c9d4a8b | 2018-10-30 20:19:01 -0700 | [diff] [blame] | 1749 | "external/perfetto/protos/perfetto/trace/ps/process_stats.pbzero.h", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 1750 | "external/perfetto/protos/perfetto/trace/ps/process_tree.pbzero.h", |
| 1751 | ], |
| 1752 | export_include_dirs: [ |
| 1753 | "protos", |
| 1754 | ], |
| 1755 | } |
| 1756 | |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1757 | // GN target: //protos/perfetto/trace/sys_stats:lite_gen |
| 1758 | genrule { |
| 1759 | name: "perfetto_protos_perfetto_trace_sys_stats_lite_gen", |
| 1760 | srcs: [ |
| 1761 | "protos/perfetto/trace/sys_stats/sys_stats.proto", |
| 1762 | ], |
| 1763 | tools: [ |
| 1764 | "aprotoc", |
| 1765 | ], |
| 1766 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 1767 | out: [ |
| 1768 | "external/perfetto/protos/perfetto/trace/sys_stats/sys_stats.pb.cc", |
| 1769 | ], |
| 1770 | } |
| 1771 | |
| 1772 | // GN target: //protos/perfetto/trace/sys_stats:lite_gen |
| 1773 | genrule { |
| 1774 | name: "perfetto_protos_perfetto_trace_sys_stats_lite_gen_headers", |
| 1775 | srcs: [ |
| 1776 | "protos/perfetto/trace/sys_stats/sys_stats.proto", |
| 1777 | ], |
| 1778 | tools: [ |
| 1779 | "aprotoc", |
| 1780 | ], |
| 1781 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 1782 | out: [ |
| 1783 | "external/perfetto/protos/perfetto/trace/sys_stats/sys_stats.pb.h", |
| 1784 | ], |
| 1785 | export_include_dirs: [ |
| 1786 | "protos", |
| 1787 | ], |
| 1788 | } |
| 1789 | |
| 1790 | // GN target: //protos/perfetto/trace/sys_stats:zero_gen |
| 1791 | genrule { |
| 1792 | name: "perfetto_protos_perfetto_trace_sys_stats_zero_gen", |
| 1793 | srcs: [ |
| 1794 | "protos/perfetto/trace/sys_stats/sys_stats.proto", |
| 1795 | ], |
| 1796 | tools: [ |
| 1797 | "aprotoc", |
| 1798 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 1799 | ], |
| 1800 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
| 1801 | out: [ |
| 1802 | "external/perfetto/protos/perfetto/trace/sys_stats/sys_stats.pbzero.cc", |
| 1803 | ], |
| 1804 | } |
| 1805 | |
| 1806 | // GN target: //protos/perfetto/trace/sys_stats:zero_gen |
| 1807 | genrule { |
| 1808 | name: "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers", |
| 1809 | srcs: [ |
| 1810 | "protos/perfetto/trace/sys_stats/sys_stats.proto", |
| 1811 | ], |
| 1812 | tools: [ |
| 1813 | "aprotoc", |
| 1814 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 1815 | ], |
| 1816 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
| 1817 | out: [ |
| 1818 | "external/perfetto/protos/perfetto/trace/sys_stats/sys_stats.pbzero.h", |
| 1819 | ], |
| 1820 | export_include_dirs: [ |
| 1821 | "protos", |
| 1822 | ], |
| 1823 | } |
| 1824 | |
Oystein Eftevaag | 4d0f6c8 | 2018-04-30 14:19:59 -0700 | [diff] [blame] | 1825 | // GN target: //protos/perfetto/trace:trusted_lite_gen |
| 1826 | genrule { |
| 1827 | name: "perfetto_protos_perfetto_trace_trusted_lite_gen", |
| 1828 | srcs: [ |
| 1829 | "protos/perfetto/trace/trusted_packet.proto", |
| 1830 | ], |
| 1831 | tools: [ |
| 1832 | "aprotoc", |
| 1833 | ], |
| 1834 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 1835 | out: [ |
| 1836 | "external/perfetto/protos/perfetto/trace/trusted_packet.pb.cc", |
| 1837 | ], |
| 1838 | } |
| 1839 | |
| 1840 | // GN target: //protos/perfetto/trace:trusted_lite_gen |
| 1841 | genrule { |
| 1842 | name: "perfetto_protos_perfetto_trace_trusted_lite_gen_headers", |
| 1843 | srcs: [ |
| 1844 | "protos/perfetto/trace/trusted_packet.proto", |
| 1845 | ], |
| 1846 | tools: [ |
| 1847 | "aprotoc", |
| 1848 | ], |
| 1849 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 1850 | out: [ |
| 1851 | "external/perfetto/protos/perfetto/trace/trusted_packet.pb.h", |
| 1852 | ], |
| 1853 | export_include_dirs: [ |
| 1854 | "protos", |
| 1855 | ], |
| 1856 | } |
| 1857 | |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1858 | // GN target: //protos/perfetto/trace:zero_gen |
| 1859 | genrule { |
| 1860 | name: "perfetto_protos_perfetto_trace_zero_gen", |
| 1861 | srcs: [ |
Sami Kyostila | fbccb3c | 2018-03-21 14:00:47 +0000 | [diff] [blame] | 1862 | "protos/perfetto/trace/clock_snapshot.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1863 | "protos/perfetto/trace/test_event.proto", |
| 1864 | "protos/perfetto/trace/trace.proto", |
| 1865 | "protos/perfetto/trace/trace_packet.proto", |
Primiano Tucci | 5e33cad | 2018-04-30 14:41:25 +0100 | [diff] [blame] | 1866 | "protos/perfetto/trace/trace_stats.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1867 | ], |
| 1868 | tools: [ |
| 1869 | "aprotoc", |
| 1870 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 1871 | ], |
| 1872 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
| 1873 | out: [ |
Sami Kyostila | fbccb3c | 2018-03-21 14:00:47 +0000 | [diff] [blame] | 1874 | "external/perfetto/protos/perfetto/trace/clock_snapshot.pbzero.cc", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1875 | "external/perfetto/protos/perfetto/trace/test_event.pbzero.cc", |
| 1876 | "external/perfetto/protos/perfetto/trace/trace.pbzero.cc", |
| 1877 | "external/perfetto/protos/perfetto/trace/trace_packet.pbzero.cc", |
Primiano Tucci | 5e33cad | 2018-04-30 14:41:25 +0100 | [diff] [blame] | 1878 | "external/perfetto/protos/perfetto/trace/trace_stats.pbzero.cc", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1879 | ], |
| 1880 | } |
| 1881 | |
| 1882 | // GN target: //protos/perfetto/trace:zero_gen |
| 1883 | genrule { |
| 1884 | name: "perfetto_protos_perfetto_trace_zero_gen_headers", |
| 1885 | srcs: [ |
Sami Kyostila | fbccb3c | 2018-03-21 14:00:47 +0000 | [diff] [blame] | 1886 | "protos/perfetto/trace/clock_snapshot.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1887 | "protos/perfetto/trace/test_event.proto", |
| 1888 | "protos/perfetto/trace/trace.proto", |
| 1889 | "protos/perfetto/trace/trace_packet.proto", |
Primiano Tucci | 5e33cad | 2018-04-30 14:41:25 +0100 | [diff] [blame] | 1890 | "protos/perfetto/trace/trace_stats.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1891 | ], |
| 1892 | tools: [ |
| 1893 | "aprotoc", |
| 1894 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 1895 | ], |
| 1896 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
| 1897 | out: [ |
Sami Kyostila | fbccb3c | 2018-03-21 14:00:47 +0000 | [diff] [blame] | 1898 | "external/perfetto/protos/perfetto/trace/clock_snapshot.pbzero.h", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1899 | "external/perfetto/protos/perfetto/trace/test_event.pbzero.h", |
| 1900 | "external/perfetto/protos/perfetto/trace/trace.pbzero.h", |
| 1901 | "external/perfetto/protos/perfetto/trace/trace_packet.pbzero.h", |
Primiano Tucci | 5e33cad | 2018-04-30 14:41:25 +0100 | [diff] [blame] | 1902 | "external/perfetto/protos/perfetto/trace/trace_stats.pbzero.h", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1903 | ], |
| 1904 | export_include_dirs: [ |
| 1905 | "protos", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 1906 | ], |
| 1907 | } |
| 1908 | |
Florian Mayer | 0ca7fb4 | 2018-11-15 21:13:42 +0000 | [diff] [blame] | 1909 | // GN target: //protos/third_party/pprof:lite_gen |
| 1910 | genrule { |
| 1911 | name: "perfetto_protos_third_party_pprof_lite_gen", |
| 1912 | srcs: [ |
| 1913 | "protos/third_party/pprof/profile.proto", |
| 1914 | ], |
| 1915 | tools: [ |
| 1916 | "aprotoc", |
| 1917 | ], |
| 1918 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 1919 | out: [ |
| 1920 | "external/perfetto/protos/third_party/pprof/profile.pb.cc", |
| 1921 | ], |
| 1922 | } |
| 1923 | |
| 1924 | // GN target: //protos/third_party/pprof:lite_gen |
| 1925 | genrule { |
| 1926 | name: "perfetto_protos_third_party_pprof_lite_gen_headers", |
| 1927 | srcs: [ |
| 1928 | "protos/third_party/pprof/profile.proto", |
| 1929 | ], |
| 1930 | tools: [ |
| 1931 | "aprotoc", |
| 1932 | ], |
| 1933 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 1934 | out: [ |
| 1935 | "external/perfetto/protos/third_party/pprof/profile.pb.h", |
| 1936 | ], |
| 1937 | export_include_dirs: [ |
| 1938 | "protos", |
| 1939 | ], |
| 1940 | } |
| 1941 | |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 1942 | // GN target: //src/ipc/protoc_plugin:ipc_plugin(//gn/standalone/toolchain:gcc_like_host) |
| 1943 | cc_binary_host { |
| 1944 | name: "perfetto_src_ipc_protoc_plugin_ipc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 1945 | srcs: [ |
| 1946 | "src/ipc/protoc_plugin/ipc_generator.cc", |
| 1947 | "src/ipc/protoc_plugin/ipc_plugin.cc", |
| 1948 | ], |
| 1949 | shared_libs: [ |
| 1950 | "libprotoc", |
| 1951 | ], |
| 1952 | defaults: [ |
| 1953 | "perfetto_defaults", |
| 1954 | ], |
Florian Mayer | 3d5e7e6 | 2018-01-19 15:22:46 +0000 | [diff] [blame] | 1955 | cflags: [ |
| 1956 | "-DGOOGLE_PROTOBUF_NO_RTTI", |
| 1957 | "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
| 1958 | ], |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 1959 | } |
| 1960 | |
| 1961 | // GN target: //src/ipc:test_messages_gen |
| 1962 | genrule { |
| 1963 | name: "perfetto_src_ipc_test_messages_gen", |
| 1964 | srcs: [ |
| 1965 | "src/ipc/test/client_unittest_messages.proto", |
| 1966 | "src/ipc/test/deferred_unittest_messages.proto", |
| 1967 | "src/ipc/test/greeter_service.proto", |
| 1968 | ], |
| 1969 | tools: [ |
| 1970 | "aprotoc", |
| 1971 | "perfetto_src_ipc_protoc_plugin_ipc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 1972 | ], |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1973 | cmd: "mkdir -p $(genDir)/external/perfetto && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto --proto_path=external/perfetto/ --plugin=protoc-gen-plugin=$(location perfetto_src_ipc_protoc_plugin_ipc_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=:$(genDir)/external/perfetto $(in)", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 1974 | out: [ |
| 1975 | "external/perfetto/src/ipc/test/client_unittest_messages.ipc.cc", |
| 1976 | "external/perfetto/src/ipc/test/client_unittest_messages.pb.cc", |
| 1977 | "external/perfetto/src/ipc/test/deferred_unittest_messages.ipc.cc", |
| 1978 | "external/perfetto/src/ipc/test/deferred_unittest_messages.pb.cc", |
| 1979 | "external/perfetto/src/ipc/test/greeter_service.ipc.cc", |
| 1980 | "external/perfetto/src/ipc/test/greeter_service.pb.cc", |
| 1981 | ], |
| 1982 | } |
| 1983 | |
| 1984 | // GN target: //src/ipc:test_messages_gen |
| 1985 | genrule { |
| 1986 | name: "perfetto_src_ipc_test_messages_gen_headers", |
| 1987 | srcs: [ |
| 1988 | "src/ipc/test/client_unittest_messages.proto", |
| 1989 | "src/ipc/test/deferred_unittest_messages.proto", |
| 1990 | "src/ipc/test/greeter_service.proto", |
| 1991 | ], |
| 1992 | tools: [ |
| 1993 | "aprotoc", |
| 1994 | "perfetto_src_ipc_protoc_plugin_ipc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 1995 | ], |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1996 | cmd: "mkdir -p $(genDir)/external/perfetto && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto --proto_path=external/perfetto/ --plugin=protoc-gen-plugin=$(location perfetto_src_ipc_protoc_plugin_ipc_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=:$(genDir)/external/perfetto $(in)", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 1997 | out: [ |
| 1998 | "external/perfetto/src/ipc/test/client_unittest_messages.ipc.h", |
| 1999 | "external/perfetto/src/ipc/test/client_unittest_messages.pb.h", |
| 2000 | "external/perfetto/src/ipc/test/deferred_unittest_messages.ipc.h", |
| 2001 | "external/perfetto/src/ipc/test/deferred_unittest_messages.pb.h", |
| 2002 | "external/perfetto/src/ipc/test/greeter_service.ipc.h", |
| 2003 | "external/perfetto/src/ipc/test/greeter_service.pb.h", |
| 2004 | ], |
| 2005 | export_include_dirs: [ |
| 2006 | ".", |
| 2007 | ], |
| 2008 | } |
| 2009 | |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 2010 | // GN target: //src/ipc:wire_protocol_gen |
Sami Kyostila | 71625d7 | 2017-12-18 10:29:49 +0000 | [diff] [blame] | 2011 | genrule { |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 2012 | name: "perfetto_src_ipc_wire_protocol_gen", |
| 2013 | srcs: [ |
| 2014 | "src/ipc/wire_protocol.proto", |
| 2015 | ], |
| 2016 | tools: [ |
| 2017 | "aprotoc", |
| 2018 | ], |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2019 | cmd: "mkdir -p $(genDir)/external/perfetto && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto --proto_path=external/perfetto/ $(in)", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 2020 | out: [ |
| 2021 | "external/perfetto/src/ipc/wire_protocol.pb.cc", |
| 2022 | ], |
| 2023 | } |
| 2024 | |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2025 | // GN target: //src/ipc:wire_protocol_gen |
| 2026 | genrule { |
| 2027 | name: "perfetto_src_ipc_wire_protocol_gen_headers", |
| 2028 | srcs: [ |
| 2029 | "src/ipc/wire_protocol.proto", |
| 2030 | ], |
| 2031 | tools: [ |
| 2032 | "aprotoc", |
| 2033 | ], |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2034 | cmd: "mkdir -p $(genDir)/external/perfetto && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto --proto_path=external/perfetto/ $(in)", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2035 | out: [ |
| 2036 | "external/perfetto/src/ipc/wire_protocol.pb.h", |
| 2037 | ], |
| 2038 | export_include_dirs: [ |
| 2039 | ".", |
| 2040 | ], |
| 2041 | } |
| 2042 | |
Hector Dearman | 86cfbe1 | 2018-03-22 11:58:42 +0000 | [diff] [blame] | 2043 | // GN target: //src/perfetto_cmd:protos_gen |
| 2044 | genrule { |
| 2045 | name: "perfetto_src_perfetto_cmd_protos_gen", |
| 2046 | srcs: [ |
Hector Dearman | b7fa544 | 2018-11-08 18:39:32 +0000 | [diff] [blame] | 2047 | "src/perfetto_cmd/descriptor.proto", |
Hector Dearman | 86cfbe1 | 2018-03-22 11:58:42 +0000 | [diff] [blame] | 2048 | "src/perfetto_cmd/perfetto_cmd_state.proto", |
| 2049 | ], |
| 2050 | tools: [ |
| 2051 | "aprotoc", |
| 2052 | ], |
| 2053 | cmd: "mkdir -p $(genDir)/external/perfetto && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto --proto_path=external/perfetto/ $(in)", |
| 2054 | out: [ |
Hector Dearman | b7fa544 | 2018-11-08 18:39:32 +0000 | [diff] [blame] | 2055 | "external/perfetto/src/perfetto_cmd/descriptor.pb.cc", |
Hector Dearman | 86cfbe1 | 2018-03-22 11:58:42 +0000 | [diff] [blame] | 2056 | "external/perfetto/src/perfetto_cmd/perfetto_cmd_state.pb.cc", |
| 2057 | ], |
| 2058 | } |
| 2059 | |
| 2060 | // GN target: //src/perfetto_cmd:protos_gen |
| 2061 | genrule { |
| 2062 | name: "perfetto_src_perfetto_cmd_protos_gen_headers", |
| 2063 | srcs: [ |
Hector Dearman | b7fa544 | 2018-11-08 18:39:32 +0000 | [diff] [blame] | 2064 | "src/perfetto_cmd/descriptor.proto", |
Hector Dearman | 86cfbe1 | 2018-03-22 11:58:42 +0000 | [diff] [blame] | 2065 | "src/perfetto_cmd/perfetto_cmd_state.proto", |
| 2066 | ], |
| 2067 | tools: [ |
| 2068 | "aprotoc", |
| 2069 | ], |
| 2070 | cmd: "mkdir -p $(genDir)/external/perfetto && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto --proto_path=external/perfetto/ $(in)", |
| 2071 | out: [ |
Hector Dearman | b7fa544 | 2018-11-08 18:39:32 +0000 | [diff] [blame] | 2072 | "external/perfetto/src/perfetto_cmd/descriptor.pb.h", |
Hector Dearman | 86cfbe1 | 2018-03-22 11:58:42 +0000 | [diff] [blame] | 2073 | "external/perfetto/src/perfetto_cmd/perfetto_cmd_state.pb.h", |
| 2074 | ], |
| 2075 | export_include_dirs: [ |
| 2076 | ".", |
| 2077 | ], |
| 2078 | } |
| 2079 | |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2080 | // GN target: //src/protozero/protoc_plugin:protoc_plugin(//gn/standalone/toolchain:gcc_like_host) |
| 2081 | cc_binary_host { |
| 2082 | name: "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 2083 | srcs: [ |
| 2084 | "src/protozero/protoc_plugin/protozero_generator.cc", |
| 2085 | "src/protozero/protoc_plugin/protozero_plugin.cc", |
| 2086 | ], |
| 2087 | shared_libs: [ |
| 2088 | "libprotoc", |
| 2089 | ], |
| 2090 | defaults: [ |
| 2091 | "perfetto_defaults", |
| 2092 | ], |
Florian Mayer | 3d5e7e6 | 2018-01-19 15:22:46 +0000 | [diff] [blame] | 2093 | cflags: [ |
| 2094 | "-DGOOGLE_PROTOBUF_NO_RTTI", |
| 2095 | "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
| 2096 | ], |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2097 | } |
| 2098 | |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 2099 | // GN target: //src/protozero:testing_messages_lite_gen |
Sami Kyostila | 71625d7 | 2017-12-18 10:29:49 +0000 | [diff] [blame] | 2100 | genrule { |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 2101 | name: "perfetto_src_protozero_testing_messages_lite_gen", |
| 2102 | srcs: [ |
| 2103 | "src/protozero/test/example_proto/library.proto", |
| 2104 | "src/protozero/test/example_proto/library_internals/galaxies.proto", |
| 2105 | "src/protozero/test/example_proto/test_messages.proto", |
| 2106 | "src/protozero/test/example_proto/upper_import.proto", |
| 2107 | ], |
| 2108 | tools: [ |
| 2109 | "aprotoc", |
| 2110 | ], |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2111 | cmd: "mkdir -p $(genDir)/external/perfetto && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto --proto_path=external/perfetto/ $(in)", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 2112 | out: [ |
| 2113 | "external/perfetto/src/protozero/test/example_proto/library.pb.cc", |
| 2114 | "external/perfetto/src/protozero/test/example_proto/library_internals/galaxies.pb.cc", |
| 2115 | "external/perfetto/src/protozero/test/example_proto/test_messages.pb.cc", |
| 2116 | "external/perfetto/src/protozero/test/example_proto/upper_import.pb.cc", |
| 2117 | ], |
| 2118 | } |
| 2119 | |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2120 | // GN target: //src/protozero:testing_messages_lite_gen |
| 2121 | genrule { |
| 2122 | name: "perfetto_src_protozero_testing_messages_lite_gen_headers", |
| 2123 | srcs: [ |
| 2124 | "src/protozero/test/example_proto/library.proto", |
| 2125 | "src/protozero/test/example_proto/library_internals/galaxies.proto", |
| 2126 | "src/protozero/test/example_proto/test_messages.proto", |
| 2127 | "src/protozero/test/example_proto/upper_import.proto", |
| 2128 | ], |
| 2129 | tools: [ |
| 2130 | "aprotoc", |
| 2131 | ], |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2132 | cmd: "mkdir -p $(genDir)/external/perfetto && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto --proto_path=external/perfetto/ $(in)", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2133 | out: [ |
| 2134 | "external/perfetto/src/protozero/test/example_proto/library.pb.h", |
| 2135 | "external/perfetto/src/protozero/test/example_proto/library_internals/galaxies.pb.h", |
| 2136 | "external/perfetto/src/protozero/test/example_proto/test_messages.pb.h", |
| 2137 | "external/perfetto/src/protozero/test/example_proto/upper_import.pb.h", |
| 2138 | ], |
| 2139 | export_include_dirs: [ |
| 2140 | ".", |
| 2141 | ], |
| 2142 | } |
| 2143 | |
| 2144 | // GN target: //src/protozero:testing_messages_zero_gen |
| 2145 | genrule { |
| 2146 | name: "perfetto_src_protozero_testing_messages_zero_gen", |
| 2147 | srcs: [ |
| 2148 | "src/protozero/test/example_proto/library.proto", |
| 2149 | "src/protozero/test/example_proto/library_internals/galaxies.proto", |
| 2150 | "src/protozero/test/example_proto/test_messages.proto", |
| 2151 | "src/protozero/test/example_proto/upper_import.proto", |
| 2152 | ], |
| 2153 | tools: [ |
| 2154 | "aprotoc", |
| 2155 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 2156 | ], |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2157 | cmd: "mkdir -p $(genDir)/external/perfetto && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto --proto_path=external/perfetto/ --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto $(in)", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2158 | out: [ |
| 2159 | "external/perfetto/src/protozero/test/example_proto/library.pbzero.cc", |
| 2160 | "external/perfetto/src/protozero/test/example_proto/library_internals/galaxies.pbzero.cc", |
| 2161 | "external/perfetto/src/protozero/test/example_proto/test_messages.pbzero.cc", |
| 2162 | "external/perfetto/src/protozero/test/example_proto/upper_import.pbzero.cc", |
| 2163 | ], |
| 2164 | } |
| 2165 | |
| 2166 | // GN target: //src/protozero:testing_messages_zero_gen |
| 2167 | genrule { |
| 2168 | name: "perfetto_src_protozero_testing_messages_zero_gen_headers", |
| 2169 | srcs: [ |
| 2170 | "src/protozero/test/example_proto/library.proto", |
| 2171 | "src/protozero/test/example_proto/library_internals/galaxies.proto", |
| 2172 | "src/protozero/test/example_proto/test_messages.proto", |
| 2173 | "src/protozero/test/example_proto/upper_import.proto", |
| 2174 | ], |
| 2175 | tools: [ |
| 2176 | "aprotoc", |
| 2177 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 2178 | ], |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2179 | cmd: "mkdir -p $(genDir)/external/perfetto && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto --proto_path=external/perfetto/ --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto $(in)", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2180 | out: [ |
| 2181 | "external/perfetto/src/protozero/test/example_proto/library.pbzero.h", |
| 2182 | "external/perfetto/src/protozero/test/example_proto/library_internals/galaxies.pbzero.h", |
| 2183 | "external/perfetto/src/protozero/test/example_proto/test_messages.pbzero.h", |
| 2184 | "external/perfetto/src/protozero/test/example_proto/upper_import.pbzero.h", |
| 2185 | ], |
| 2186 | export_include_dirs: [ |
| 2187 | ".", |
| 2188 | ], |
| 2189 | } |
| 2190 | |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 2191 | // GN target: //src/traced/probes/ftrace:test_messages_lite_gen |
| 2192 | genrule { |
| 2193 | name: "perfetto_src_traced_probes_ftrace_test_messages_lite_gen", |
| 2194 | srcs: [ |
| 2195 | "src/traced/probes/ftrace/test/test_messages.proto", |
| 2196 | ], |
| 2197 | tools: [ |
| 2198 | "aprotoc", |
| 2199 | ], |
| 2200 | cmd: "mkdir -p $(genDir)/external/perfetto && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto --proto_path=external/perfetto/ $(in)", |
| 2201 | out: [ |
| 2202 | "external/perfetto/src/traced/probes/ftrace/test/test_messages.pb.cc", |
| 2203 | ], |
| 2204 | } |
| 2205 | |
| 2206 | // GN target: //src/traced/probes/ftrace:test_messages_lite_gen |
| 2207 | genrule { |
| 2208 | name: "perfetto_src_traced_probes_ftrace_test_messages_lite_gen_headers", |
| 2209 | srcs: [ |
| 2210 | "src/traced/probes/ftrace/test/test_messages.proto", |
| 2211 | ], |
| 2212 | tools: [ |
| 2213 | "aprotoc", |
| 2214 | ], |
| 2215 | cmd: "mkdir -p $(genDir)/external/perfetto && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto --proto_path=external/perfetto/ $(in)", |
| 2216 | out: [ |
| 2217 | "external/perfetto/src/traced/probes/ftrace/test/test_messages.pb.h", |
| 2218 | ], |
| 2219 | export_include_dirs: [ |
| 2220 | ".", |
| 2221 | ], |
| 2222 | } |
| 2223 | |
| 2224 | // GN target: //src/traced/probes/ftrace:test_messages_zero_gen |
| 2225 | genrule { |
| 2226 | name: "perfetto_src_traced_probes_ftrace_test_messages_zero_gen", |
| 2227 | srcs: [ |
| 2228 | "src/traced/probes/ftrace/test/test_messages.proto", |
| 2229 | ], |
| 2230 | tools: [ |
| 2231 | "aprotoc", |
| 2232 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 2233 | ], |
| 2234 | cmd: "mkdir -p $(genDir)/external/perfetto && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto --proto_path=external/perfetto/ --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto $(in)", |
| 2235 | out: [ |
| 2236 | "external/perfetto/src/traced/probes/ftrace/test/test_messages.pbzero.cc", |
| 2237 | ], |
| 2238 | } |
| 2239 | |
| 2240 | // GN target: //src/traced/probes/ftrace:test_messages_zero_gen |
| 2241 | genrule { |
| 2242 | name: "perfetto_src_traced_probes_ftrace_test_messages_zero_gen_headers", |
| 2243 | srcs: [ |
| 2244 | "src/traced/probes/ftrace/test/test_messages.proto", |
| 2245 | ], |
| 2246 | tools: [ |
| 2247 | "aprotoc", |
| 2248 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 2249 | ], |
| 2250 | cmd: "mkdir -p $(genDir)/external/perfetto && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto --proto_path=external/perfetto/ --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto $(in)", |
| 2251 | out: [ |
| 2252 | "external/perfetto/src/traced/probes/ftrace/test/test_messages.pbzero.h", |
| 2253 | ], |
| 2254 | export_include_dirs: [ |
| 2255 | ".", |
| 2256 | ], |
| 2257 | } |
| 2258 | |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2259 | // GN target: //src/tracing:ipc |
| 2260 | cc_library_static { |
| 2261 | name: "perfetto_src_tracing_ipc", |
| 2262 | srcs: [ |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 2263 | ":perfetto_protos_perfetto_common_lite_gen", |
| 2264 | ":perfetto_protos_perfetto_common_zero_gen", |
| 2265 | ":perfetto_protos_perfetto_config_lite_gen", |
| 2266 | ":perfetto_protos_perfetto_config_zero_gen", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2267 | ":perfetto_protos_perfetto_ipc_ipc_gen", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 2268 | ":perfetto_protos_perfetto_trace_android_zero_gen", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 2269 | ":perfetto_protos_perfetto_trace_chrome_zero_gen", |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 2270 | ":perfetto_protos_perfetto_trace_filesystem_zero_gen", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2271 | ":perfetto_protos_perfetto_trace_ftrace_zero_gen", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 2272 | ":perfetto_protos_perfetto_trace_minimal_lite_gen", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 2273 | ":perfetto_protos_perfetto_trace_power_zero_gen", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 2274 | ":perfetto_protos_perfetto_trace_profiling_zero_gen", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 2275 | ":perfetto_protos_perfetto_trace_ps_zero_gen", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 2276 | ":perfetto_protos_perfetto_trace_sys_stats_zero_gen", |
Oystein Eftevaag | 4d0f6c8 | 2018-04-30 14:19:59 -0700 | [diff] [blame] | 2277 | ":perfetto_protos_perfetto_trace_trusted_lite_gen", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2278 | ":perfetto_protos_perfetto_trace_zero_gen", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2279 | ":perfetto_src_ipc_wire_protocol_gen", |
Primiano Tucci | 9f7189c | 2018-10-05 00:42:12 +0100 | [diff] [blame] | 2280 | "src/base/event.cc", |
Florian Mayer | 74b73a9 | 2018-03-09 17:37:13 +0000 | [diff] [blame] | 2281 | "src/base/file_utils.cc", |
Florian Mayer | 236ba47 | 2018-05-09 15:47:53 +0100 | [diff] [blame] | 2282 | "src/base/metatrace.cc", |
Eric Seckler | edf3f7c | 2018-10-23 16:44:53 +0100 | [diff] [blame] | 2283 | "src/base/paged_memory.cc", |
Primiano Tucci | 76499cd | 2018-11-21 10:54:04 +0100 | [diff] [blame] | 2284 | "src/base/pipe.cc", |
Primiano Tucci | 825e6de | 2018-03-13 05:43:15 +0000 | [diff] [blame] | 2285 | "src/base/string_splitter.cc", |
Hector Dearman | 3afb1e0 | 2018-04-27 16:46:52 +0100 | [diff] [blame] | 2286 | "src/base/string_utils.cc", |
Primiano Tucci | 941b221 | 2018-03-14 22:46:31 +0000 | [diff] [blame] | 2287 | "src/base/temp_file.cc", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2288 | "src/base/thread_checker.cc", |
Florian Mayer | 75905df | 2018-05-08 17:44:08 +0100 | [diff] [blame] | 2289 | "src/base/time.cc", |
Florian Mayer | f7f0def | 2018-09-27 13:59:24 +0100 | [diff] [blame] | 2290 | "src/base/unix_socket.cc", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2291 | "src/base/unix_task_runner.cc", |
Primiano Tucci | 3cbb10a | 2018-04-10 17:52:40 +0100 | [diff] [blame] | 2292 | "src/base/virtual_destructors.cc", |
Primiano Tucci | 808d6df | 2018-03-31 13:24:18 +0100 | [diff] [blame] | 2293 | "src/base/watchdog_posix.cc", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2294 | "src/ipc/buffered_frame_deserializer.cc", |
| 2295 | "src/ipc/client_impl.cc", |
| 2296 | "src/ipc/deferred.cc", |
| 2297 | "src/ipc/host_impl.cc", |
| 2298 | "src/ipc/service_proxy.cc", |
Primiano Tucci | 3cbb10a | 2018-04-10 17:52:40 +0100 | [diff] [blame] | 2299 | "src/ipc/virtual_destructors.cc", |
Hector Dearman | e1e56b6 | 2018-02-21 19:11:58 +0000 | [diff] [blame] | 2300 | "src/protozero/message.cc", |
| 2301 | "src/protozero/message_handle.cc", |
Lalit Maganti | 45172a8 | 2018-06-01 03:04:43 +0100 | [diff] [blame] | 2302 | "src/protozero/proto_decoder.cc", |
Primiano Tucci | eb11735 | 2018-07-16 10:53:59 +0100 | [diff] [blame] | 2303 | "src/protozero/proto_field_descriptor.cc", |
Hector Dearman | b7fa544 | 2018-11-08 18:39:32 +0000 | [diff] [blame] | 2304 | "src/protozero/scattered_stream_memory_delegate.cc", |
Hector Dearman | 9a5a0e9 | 2018-03-27 17:52:24 +0100 | [diff] [blame] | 2305 | "src/protozero/scattered_stream_null_delegate.cc", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2306 | "src/protozero/scattered_stream_writer.cc", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 2307 | "src/tracing/core/android_log_config.cc", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 2308 | "src/tracing/core/android_power_config.cc", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 2309 | "src/tracing/core/chrome_config.cc", |
Primiano Tucci | 79f3f91 | 2018-03-02 12:00:31 +0000 | [diff] [blame] | 2310 | "src/tracing/core/commit_data_request.cc", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2311 | "src/tracing/core/data_source_config.cc", |
| 2312 | "src/tracing/core/data_source_descriptor.cc", |
Hector Dearman | a89cc57 | 2018-02-23 12:02:58 +0000 | [diff] [blame] | 2313 | "src/tracing/core/ftrace_config.cc", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 2314 | "src/tracing/core/heapprofd_config.cc", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2315 | "src/tracing/core/id_allocator.cc", |
Primiano Tucci | dae3565 | 2018-03-29 18:32:02 +0100 | [diff] [blame] | 2316 | "src/tracing/core/inode_file_config.cc", |
Hector Dearman | 9a5a0e9 | 2018-03-27 17:52:24 +0100 | [diff] [blame] | 2317 | "src/tracing/core/null_trace_writer.cc", |
Sami Kyostila | 32e0b54 | 2018-02-14 08:55:43 +0000 | [diff] [blame] | 2318 | "src/tracing/core/packet_stream_validator.cc", |
Hector Dearman | 1b9c58a | 2018-03-29 18:45:06 +0100 | [diff] [blame] | 2319 | "src/tracing/core/process_stats_config.cc", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2320 | "src/tracing/core/shared_memory_abi.cc", |
Oystein Eftevaag | 6d0bc7f | 2018-01-13 12:21:55 -0800 | [diff] [blame] | 2321 | "src/tracing/core/shared_memory_arbiter_impl.cc", |
Primiano Tucci | 16d1d63 | 2018-02-22 10:16:22 +0000 | [diff] [blame] | 2322 | "src/tracing/core/sliced_protobuf_input_stream.cc", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 2323 | "src/tracing/core/sys_stats_config.cc", |
Lalit Maganti | 3f5705c | 2018-03-09 12:09:44 +0000 | [diff] [blame] | 2324 | "src/tracing/core/test_config.cc", |
Primiano Tucci | 5c59901 | 2018-03-01 17:52:07 +0000 | [diff] [blame] | 2325 | "src/tracing/core/trace_buffer.cc", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2326 | "src/tracing/core/trace_config.cc", |
| 2327 | "src/tracing/core/trace_packet.cc", |
| 2328 | "src/tracing/core/trace_writer_impl.cc", |
Florian Mayer | 6a1a4d5 | 2018-06-08 16:47:07 +0100 | [diff] [blame] | 2329 | "src/tracing/core/tracing_service_impl.cc", |
Primiano Tucci | 3cbb10a | 2018-04-10 17:52:40 +0100 | [diff] [blame] | 2330 | "src/tracing/core/virtual_destructors.cc", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2331 | "src/tracing/ipc/consumer/consumer_ipc_client_impl.cc", |
Florian Mayer | c29e0d3 | 2018-04-04 15:55:46 +0100 | [diff] [blame] | 2332 | "src/tracing/ipc/default_socket.cc", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2333 | "src/tracing/ipc/posix_shared_memory.cc", |
| 2334 | "src/tracing/ipc/producer/producer_ipc_client_impl.cc", |
| 2335 | "src/tracing/ipc/service/consumer_ipc_service.cc", |
| 2336 | "src/tracing/ipc/service/producer_ipc_service.cc", |
| 2337 | "src/tracing/ipc/service/service_ipc_host_impl.cc", |
| 2338 | ], |
| 2339 | shared_libs: [ |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2340 | "liblog", |
| 2341 | "libprotobuf-cpp-lite", |
| 2342 | ], |
Hector Dearman | 3e712a0 | 2017-12-19 16:39:59 +0000 | [diff] [blame] | 2343 | static_libs: [ |
| 2344 | "libgtest_prod", |
| 2345 | ], |
Lalit Maganti | c5bcd79 | 2018-01-12 18:38:11 +0000 | [diff] [blame] | 2346 | export_include_dirs: [ |
| 2347 | "include", |
| 2348 | ], |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2349 | generated_headers: [ |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 2350 | "perfetto_protos_perfetto_common_lite_gen_headers", |
| 2351 | "perfetto_protos_perfetto_common_zero_gen_headers", |
| 2352 | "perfetto_protos_perfetto_config_lite_gen_headers", |
| 2353 | "perfetto_protos_perfetto_config_zero_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2354 | "perfetto_protos_perfetto_ipc_ipc_gen_headers", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 2355 | "perfetto_protos_perfetto_trace_android_zero_gen_headers", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 2356 | "perfetto_protos_perfetto_trace_chrome_zero_gen_headers", |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 2357 | "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2358 | "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 2359 | "perfetto_protos_perfetto_trace_minimal_lite_gen_headers", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 2360 | "perfetto_protos_perfetto_trace_power_zero_gen_headers", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 2361 | "perfetto_protos_perfetto_trace_profiling_zero_gen_headers", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 2362 | "perfetto_protos_perfetto_trace_ps_zero_gen_headers", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 2363 | "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers", |
Oystein Eftevaag | 4d0f6c8 | 2018-04-30 14:19:59 -0700 | [diff] [blame] | 2364 | "perfetto_protos_perfetto_trace_trusted_lite_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2365 | "perfetto_protos_perfetto_trace_zero_gen_headers", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2366 | "perfetto_src_ipc_wire_protocol_gen_headers", |
| 2367 | ], |
Lalit Maganti | c5bcd79 | 2018-01-12 18:38:11 +0000 | [diff] [blame] | 2368 | export_generated_headers: [ |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 2369 | "perfetto_protos_perfetto_common_lite_gen_headers", |
| 2370 | "perfetto_protos_perfetto_common_zero_gen_headers", |
| 2371 | "perfetto_protos_perfetto_config_lite_gen_headers", |
| 2372 | "perfetto_protos_perfetto_config_zero_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2373 | "perfetto_protos_perfetto_ipc_ipc_gen_headers", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 2374 | "perfetto_protos_perfetto_trace_android_zero_gen_headers", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 2375 | "perfetto_protos_perfetto_trace_chrome_zero_gen_headers", |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 2376 | "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2377 | "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 2378 | "perfetto_protos_perfetto_trace_minimal_lite_gen_headers", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 2379 | "perfetto_protos_perfetto_trace_power_zero_gen_headers", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 2380 | "perfetto_protos_perfetto_trace_profiling_zero_gen_headers", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 2381 | "perfetto_protos_perfetto_trace_ps_zero_gen_headers", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 2382 | "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers", |
Oystein Eftevaag | 4d0f6c8 | 2018-04-30 14:19:59 -0700 | [diff] [blame] | 2383 | "perfetto_protos_perfetto_trace_trusted_lite_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2384 | "perfetto_protos_perfetto_trace_zero_gen_headers", |
Lalit Maganti | c5bcd79 | 2018-01-12 18:38:11 +0000 | [diff] [blame] | 2385 | "perfetto_src_ipc_wire_protocol_gen_headers", |
| 2386 | ], |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2387 | defaults: [ |
| 2388 | "perfetto_defaults", |
| 2389 | ], |
Florian Mayer | 3d5e7e6 | 2018-01-19 15:22:46 +0000 | [diff] [blame] | 2390 | cflags: [ |
| 2391 | "-DGOOGLE_PROTOBUF_NO_RTTI", |
| 2392 | "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
| 2393 | ], |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2394 | } |
| 2395 | |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 2396 | // GN target: //:perfetto_trace_protos |
| 2397 | cc_library_static { |
| 2398 | name: "perfetto_trace_protos", |
| 2399 | srcs: [ |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 2400 | ":perfetto_protos_perfetto_common_lite_gen", |
| 2401 | ":perfetto_protos_perfetto_config_lite_gen", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 2402 | ":perfetto_protos_perfetto_trace_android_lite_gen", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 2403 | ":perfetto_protos_perfetto_trace_chrome_lite_gen", |
| 2404 | ":perfetto_protos_perfetto_trace_filesystem_lite_gen", |
| 2405 | ":perfetto_protos_perfetto_trace_ftrace_lite_gen", |
| 2406 | ":perfetto_protos_perfetto_trace_lite_gen", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 2407 | ":perfetto_protos_perfetto_trace_minimal_lite_gen", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 2408 | ":perfetto_protos_perfetto_trace_power_lite_gen", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 2409 | ":perfetto_protos_perfetto_trace_profiling_lite_gen", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 2410 | ":perfetto_protos_perfetto_trace_ps_lite_gen", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 2411 | ":perfetto_protos_perfetto_trace_sys_stats_lite_gen", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 2412 | ], |
| 2413 | shared_libs: [ |
| 2414 | "liblog", |
| 2415 | "libprotobuf-cpp-lite", |
| 2416 | ], |
| 2417 | host_supported: true, |
| 2418 | export_include_dirs: [ |
| 2419 | "include", |
| 2420 | ], |
| 2421 | generated_headers: [ |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 2422 | "perfetto_protos_perfetto_common_lite_gen_headers", |
| 2423 | "perfetto_protos_perfetto_config_lite_gen_headers", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 2424 | "perfetto_protos_perfetto_trace_android_lite_gen_headers", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 2425 | "perfetto_protos_perfetto_trace_chrome_lite_gen_headers", |
| 2426 | "perfetto_protos_perfetto_trace_filesystem_lite_gen_headers", |
| 2427 | "perfetto_protos_perfetto_trace_ftrace_lite_gen_headers", |
| 2428 | "perfetto_protos_perfetto_trace_lite_gen_headers", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 2429 | "perfetto_protos_perfetto_trace_minimal_lite_gen_headers", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 2430 | "perfetto_protos_perfetto_trace_power_lite_gen_headers", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 2431 | "perfetto_protos_perfetto_trace_profiling_lite_gen_headers", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 2432 | "perfetto_protos_perfetto_trace_ps_lite_gen_headers", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 2433 | "perfetto_protos_perfetto_trace_sys_stats_lite_gen_headers", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 2434 | ], |
| 2435 | export_generated_headers: [ |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 2436 | "perfetto_protos_perfetto_common_lite_gen_headers", |
| 2437 | "perfetto_protos_perfetto_config_lite_gen_headers", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 2438 | "perfetto_protos_perfetto_trace_android_lite_gen_headers", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 2439 | "perfetto_protos_perfetto_trace_chrome_lite_gen_headers", |
| 2440 | "perfetto_protos_perfetto_trace_filesystem_lite_gen_headers", |
| 2441 | "perfetto_protos_perfetto_trace_ftrace_lite_gen_headers", |
| 2442 | "perfetto_protos_perfetto_trace_lite_gen_headers", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 2443 | "perfetto_protos_perfetto_trace_minimal_lite_gen_headers", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 2444 | "perfetto_protos_perfetto_trace_power_lite_gen_headers", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 2445 | "perfetto_protos_perfetto_trace_profiling_lite_gen_headers", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 2446 | "perfetto_protos_perfetto_trace_ps_lite_gen_headers", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 2447 | "perfetto_protos_perfetto_trace_sys_stats_lite_gen_headers", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 2448 | ], |
| 2449 | defaults: [ |
| 2450 | "perfetto_defaults", |
| 2451 | ], |
| 2452 | cflags: [ |
| 2453 | "-DGOOGLE_PROTOBUF_NO_RTTI", |
| 2454 | "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
| 2455 | ], |
| 2456 | } |
| 2457 | |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 2458 | // GN target: //:perfetto_unittests |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 2459 | cc_test { |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 2460 | name: "perfetto_unittests", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 2461 | srcs: [ |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 2462 | ":perfetto_protos_perfetto_common_lite_gen", |
| 2463 | ":perfetto_protos_perfetto_common_zero_gen", |
| 2464 | ":perfetto_protos_perfetto_config_lite_gen", |
| 2465 | ":perfetto_protos_perfetto_config_zero_gen", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2466 | ":perfetto_protos_perfetto_ipc_ipc_gen", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 2467 | ":perfetto_protos_perfetto_trace_android_lite_gen", |
| 2468 | ":perfetto_protos_perfetto_trace_android_zero_gen", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 2469 | ":perfetto_protos_perfetto_trace_chrome_lite_gen", |
| 2470 | ":perfetto_protos_perfetto_trace_chrome_zero_gen", |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 2471 | ":perfetto_protos_perfetto_trace_filesystem_lite_gen", |
| 2472 | ":perfetto_protos_perfetto_trace_filesystem_zero_gen", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2473 | ":perfetto_protos_perfetto_trace_ftrace_lite_gen", |
| 2474 | ":perfetto_protos_perfetto_trace_ftrace_zero_gen", |
| 2475 | ":perfetto_protos_perfetto_trace_lite_gen", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 2476 | ":perfetto_protos_perfetto_trace_minimal_lite_gen", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 2477 | ":perfetto_protos_perfetto_trace_power_lite_gen", |
| 2478 | ":perfetto_protos_perfetto_trace_power_zero_gen", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 2479 | ":perfetto_protos_perfetto_trace_profiling_lite_gen", |
| 2480 | ":perfetto_protos_perfetto_trace_profiling_zero_gen", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 2481 | ":perfetto_protos_perfetto_trace_ps_lite_gen", |
| 2482 | ":perfetto_protos_perfetto_trace_ps_zero_gen", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 2483 | ":perfetto_protos_perfetto_trace_sys_stats_lite_gen", |
| 2484 | ":perfetto_protos_perfetto_trace_sys_stats_zero_gen", |
Oystein Eftevaag | 4d0f6c8 | 2018-04-30 14:19:59 -0700 | [diff] [blame] | 2485 | ":perfetto_protos_perfetto_trace_trusted_lite_gen", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2486 | ":perfetto_protos_perfetto_trace_zero_gen", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 2487 | ":perfetto_src_ipc_test_messages_gen", |
| 2488 | ":perfetto_src_ipc_wire_protocol_gen", |
Hector Dearman | 86cfbe1 | 2018-03-22 11:58:42 +0000 | [diff] [blame] | 2489 | ":perfetto_src_perfetto_cmd_protos_gen", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 2490 | ":perfetto_src_protozero_testing_messages_lite_gen", |
| 2491 | ":perfetto_src_protozero_testing_messages_zero_gen", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 2492 | ":perfetto_src_traced_probes_ftrace_test_messages_lite_gen", |
| 2493 | ":perfetto_src_traced_probes_ftrace_test_messages_zero_gen", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 2494 | "src/base/android_task_runner.cc", |
Primiano Tucci | 9f7189c | 2018-10-05 00:42:12 +0100 | [diff] [blame] | 2495 | "src/base/event.cc", |
Florian Mayer | 74b73a9 | 2018-03-09 17:37:13 +0000 | [diff] [blame] | 2496 | "src/base/file_utils.cc", |
Florian Mayer | 236ba47 | 2018-05-09 15:47:53 +0100 | [diff] [blame] | 2497 | "src/base/metatrace.cc", |
Lalit Maganti | f3e5b07 | 2018-11-19 21:51:47 +0000 | [diff] [blame] | 2498 | "src/base/optional_unittest.cc", |
Eric Seckler | edf3f7c | 2018-10-23 16:44:53 +0100 | [diff] [blame] | 2499 | "src/base/paged_memory.cc", |
| 2500 | "src/base/paged_memory_unittest.cc", |
Primiano Tucci | 76499cd | 2018-11-21 10:54:04 +0100 | [diff] [blame] | 2501 | "src/base/pipe.cc", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 2502 | "src/base/scoped_file_unittest.cc", |
Primiano Tucci | 825e6de | 2018-03-13 05:43:15 +0000 | [diff] [blame] | 2503 | "src/base/string_splitter.cc", |
| 2504 | "src/base/string_splitter_unittest.cc", |
Hector Dearman | 3afb1e0 | 2018-04-27 16:46:52 +0100 | [diff] [blame] | 2505 | "src/base/string_utils.cc", |
| 2506 | "src/base/string_utils_unittest.cc", |
Primiano Tucci | 2da5d2e | 2018-08-10 14:23:31 +0100 | [diff] [blame] | 2507 | "src/base/string_view_unittest.cc", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 2508 | "src/base/task_runner_unittest.cc", |
Primiano Tucci | 941b221 | 2018-03-14 22:46:31 +0000 | [diff] [blame] | 2509 | "src/base/temp_file.cc", |
| 2510 | "src/base/temp_file_unittest.cc", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 2511 | "src/base/test/test_task_runner.cc", |
Hector Dearman | 7f71d0e | 2018-08-09 11:26:10 +0100 | [diff] [blame] | 2512 | "src/base/test/utils.cc", |
Primiano Tucci | bbaa58c | 2017-12-20 13:48:20 +0100 | [diff] [blame] | 2513 | "src/base/test/vm_test_utils.cc", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 2514 | "src/base/thread_checker.cc", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 2515 | "src/base/thread_checker_unittest.cc", |
Florian Mayer | 75905df | 2018-05-08 17:44:08 +0100 | [diff] [blame] | 2516 | "src/base/time.cc", |
Primiano Tucci | 8934c6c | 2018-03-15 11:39:27 +0000 | [diff] [blame] | 2517 | "src/base/time_unittest.cc", |
Florian Mayer | f7f0def | 2018-09-27 13:59:24 +0100 | [diff] [blame] | 2518 | "src/base/unix_socket.cc", |
| 2519 | "src/base/unix_socket_unittest.cc", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 2520 | "src/base/unix_task_runner.cc", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 2521 | "src/base/utils_unittest.cc", |
Primiano Tucci | 3cbb10a | 2018-04-10 17:52:40 +0100 | [diff] [blame] | 2522 | "src/base/virtual_destructors.cc", |
Primiano Tucci | 808d6df | 2018-03-31 13:24:18 +0100 | [diff] [blame] | 2523 | "src/base/watchdog_posix.cc", |
Florian Mayer | b433400 | 2018-02-01 11:10:36 +0000 | [diff] [blame] | 2524 | "src/base/watchdog_unittest.cc", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 2525 | "src/base/weak_ptr_unittest.cc", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 2526 | "src/ipc/buffered_frame_deserializer.cc", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 2527 | "src/ipc/buffered_frame_deserializer_unittest.cc", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 2528 | "src/ipc/client_impl.cc", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 2529 | "src/ipc/client_impl_unittest.cc", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 2530 | "src/ipc/deferred.cc", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 2531 | "src/ipc/deferred_unittest.cc", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 2532 | "src/ipc/host_impl.cc", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 2533 | "src/ipc/host_impl_unittest.cc", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 2534 | "src/ipc/service_proxy.cc", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 2535 | "src/ipc/test/ipc_integrationtest.cc", |
Primiano Tucci | 3cbb10a | 2018-04-10 17:52:40 +0100 | [diff] [blame] | 2536 | "src/ipc/virtual_destructors.cc", |
Hector Dearman | 5edeafc | 2018-11-29 13:27:33 +0000 | [diff] [blame] | 2537 | "src/perfetto_cmd/config.cc", |
| 2538 | "src/perfetto_cmd/config_unittest.cc", |
Hector Dearman | b7fa544 | 2018-11-08 18:39:32 +0000 | [diff] [blame] | 2539 | "src/perfetto_cmd/pbtxt_to_pb.cc", |
| 2540 | "src/perfetto_cmd/pbtxt_to_pb_unittest.cc", |
Hector Dearman | 86cfbe1 | 2018-03-22 11:58:42 +0000 | [diff] [blame] | 2541 | "src/perfetto_cmd/perfetto_cmd.cc", |
| 2542 | "src/perfetto_cmd/rate_limiter.cc", |
| 2543 | "src/perfetto_cmd/rate_limiter_unittest.cc", |
Florian Mayer | 824274d | 2018-09-17 11:33:45 +0100 | [diff] [blame] | 2544 | "src/profiling/memory/bookkeeping.cc", |
| 2545 | "src/profiling/memory/bookkeeping_unittest.cc", |
Florian Mayer | b85a938 | 2018-09-27 13:59:01 +0100 | [diff] [blame] | 2546 | "src/profiling/memory/bounded_queue_unittest.cc", |
Florian Mayer | 824274d | 2018-09-17 11:33:45 +0100 | [diff] [blame] | 2547 | "src/profiling/memory/client.cc", |
| 2548 | "src/profiling/memory/client_unittest.cc", |
Florian Mayer | b85a938 | 2018-09-27 13:59:01 +0100 | [diff] [blame] | 2549 | "src/profiling/memory/heapprofd_integrationtest.cc", |
Florian Mayer | e9f4686 | 2018-11-07 20:20:37 +0000 | [diff] [blame] | 2550 | "src/profiling/memory/heapprofd_producer.cc", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 2551 | "src/profiling/memory/interner_unittest.cc", |
Florian Mayer | 745aaf2 | 2018-12-13 14:53:07 +0000 | [diff] [blame] | 2552 | "src/profiling/memory/proc_utils.cc", |
Florian Mayer | 895efd9 | 2018-12-04 19:21:22 +0000 | [diff] [blame] | 2553 | "src/profiling/memory/process_matcher.cc", |
| 2554 | "src/profiling/memory/process_matcher_unittest.cc", |
Florian Mayer | a2fae26 | 2018-08-31 12:10:01 -0700 | [diff] [blame] | 2555 | "src/profiling/memory/record_reader.cc", |
| 2556 | "src/profiling/memory/record_reader_unittest.cc", |
Florian Mayer | c6be21f | 2018-10-02 11:33:59 +0100 | [diff] [blame] | 2557 | "src/profiling/memory/sampler.cc", |
| 2558 | "src/profiling/memory/sampler_unittest.cc", |
Florian Mayer | a2fae26 | 2018-08-31 12:10:01 -0700 | [diff] [blame] | 2559 | "src/profiling/memory/socket_listener.cc", |
| 2560 | "src/profiling/memory/socket_listener_unittest.cc", |
Florian Mayer | 78cb562 | 2018-11-27 17:17:10 +0000 | [diff] [blame] | 2561 | "src/profiling/memory/system_property.cc", |
| 2562 | "src/profiling/memory/system_property_unittest.cc", |
Florian Mayer | a2fae26 | 2018-08-31 12:10:01 -0700 | [diff] [blame] | 2563 | "src/profiling/memory/unwinding.cc", |
| 2564 | "src/profiling/memory/unwinding_unittest.cc", |
Florian Mayer | b85a938 | 2018-09-27 13:59:01 +0100 | [diff] [blame] | 2565 | "src/profiling/memory/wire_protocol.cc", |
Florian Mayer | 7ad1275 | 2018-10-02 16:48:44 +0100 | [diff] [blame] | 2566 | "src/profiling/memory/wire_protocol_unittest.cc", |
Hector Dearman | e1e56b6 | 2018-02-21 19:11:58 +0000 | [diff] [blame] | 2567 | "src/protozero/message.cc", |
| 2568 | "src/protozero/message_handle.cc", |
| 2569 | "src/protozero/message_handle_unittest.cc", |
| 2570 | "src/protozero/message_unittest.cc", |
Lalit Maganti | 45172a8 | 2018-06-01 03:04:43 +0100 | [diff] [blame] | 2571 | "src/protozero/proto_decoder.cc", |
| 2572 | "src/protozero/proto_decoder_unittest.cc", |
Primiano Tucci | eb11735 | 2018-07-16 10:53:59 +0100 | [diff] [blame] | 2573 | "src/protozero/proto_field_descriptor.cc", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 2574 | "src/protozero/proto_utils_unittest.cc", |
Hector Dearman | b7fa544 | 2018-11-08 18:39:32 +0000 | [diff] [blame] | 2575 | "src/protozero/scattered_stream_memory_delegate.cc", |
Hector Dearman | 9a5a0e9 | 2018-03-27 17:52:24 +0100 | [diff] [blame] | 2576 | "src/protozero/scattered_stream_null_delegate.cc", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 2577 | "src/protozero/scattered_stream_writer.cc", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 2578 | "src/protozero/scattered_stream_writer_unittest.cc", |
| 2579 | "src/protozero/test/fake_scattered_buffer.cc", |
| 2580 | "src/protozero/test/protozero_conformance_unittest.cc", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 2581 | "src/traced/probes/android_log/android_log_data_source.cc", |
| 2582 | "src/traced/probes/android_log/android_log_data_source_unittest.cc", |
Florian Mayer | 6f9c342 | 2018-03-29 10:37:41 +0100 | [diff] [blame] | 2583 | "src/traced/probes/filesystem/file_scanner.cc", |
Florian Mayer | aef0c53 | 2018-04-04 10:34:08 +0100 | [diff] [blame] | 2584 | "src/traced/probes/filesystem/file_scanner_unittest.cc", |
Florian Mayer | 74b73a9 | 2018-03-09 17:37:13 +0000 | [diff] [blame] | 2585 | "src/traced/probes/filesystem/fs_mount.cc", |
| 2586 | "src/traced/probes/filesystem/fs_mount_unittest.cc", |
Anna Zappone | 2a6f904 | 2018-03-14 13:26:07 +0000 | [diff] [blame] | 2587 | "src/traced/probes/filesystem/inode_file_data_source.cc", |
Florian Mayer | dd88914 | 2018-04-05 16:19:37 +0100 | [diff] [blame] | 2588 | "src/traced/probes/filesystem/inode_file_data_source_unittest.cc", |
Florian Mayer | 8a56b70 | 2018-03-14 11:01:17 +0000 | [diff] [blame] | 2589 | "src/traced/probes/filesystem/lru_inode_cache.cc", |
| 2590 | "src/traced/probes/filesystem/lru_inode_cache_unittest.cc", |
Florian Mayer | b21f4fb | 2018-03-22 15:24:56 +0000 | [diff] [blame] | 2591 | "src/traced/probes/filesystem/prefix_finder.cc", |
| 2592 | "src/traced/probes/filesystem/prefix_finder_unittest.cc", |
| 2593 | "src/traced/probes/filesystem/range_tree.cc", |
| 2594 | "src/traced/probes/filesystem/range_tree_unittest.cc", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 2595 | "src/traced/probes/ftrace/atrace_wrapper.cc", |
| 2596 | "src/traced/probes/ftrace/cpu_reader.cc", |
| 2597 | "src/traced/probes/ftrace/cpu_reader_unittest.cc", |
| 2598 | "src/traced/probes/ftrace/cpu_stats_parser.cc", |
| 2599 | "src/traced/probes/ftrace/cpu_stats_parser_unittest.cc", |
| 2600 | "src/traced/probes/ftrace/event_info.cc", |
| 2601 | "src/traced/probes/ftrace/event_info_constants.cc", |
| 2602 | "src/traced/probes/ftrace/event_info_unittest.cc", |
| 2603 | "src/traced/probes/ftrace/format_parser.cc", |
| 2604 | "src/traced/probes/ftrace/format_parser_unittest.cc", |
| 2605 | "src/traced/probes/ftrace/ftrace_config.cc", |
| 2606 | "src/traced/probes/ftrace/ftrace_config_muxer.cc", |
| 2607 | "src/traced/probes/ftrace/ftrace_config_muxer_unittest.cc", |
| 2608 | "src/traced/probes/ftrace/ftrace_config_unittest.cc", |
| 2609 | "src/traced/probes/ftrace/ftrace_controller.cc", |
| 2610 | "src/traced/probes/ftrace/ftrace_controller_unittest.cc", |
Primiano Tucci | fd8240d | 2018-08-01 09:34:54 +0100 | [diff] [blame] | 2611 | "src/traced/probes/ftrace/ftrace_data_source.cc", |
Primiano Tucci | b6de48b | 2018-07-26 16:00:44 +0100 | [diff] [blame] | 2612 | "src/traced/probes/ftrace/ftrace_metadata.cc", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 2613 | "src/traced/probes/ftrace/ftrace_procfs.cc", |
| 2614 | "src/traced/probes/ftrace/ftrace_procfs_unittest.cc", |
Primiano Tucci | fd8240d | 2018-08-01 09:34:54 +0100 | [diff] [blame] | 2615 | "src/traced/probes/ftrace/ftrace_stats.cc", |
Primiano Tucci | c20ee51 | 2018-11-29 16:40:55 +0000 | [diff] [blame] | 2616 | "src/traced/probes/ftrace/page_pool.cc", |
| 2617 | "src/traced/probes/ftrace/page_pool_unittest.cc", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 2618 | "src/traced/probes/ftrace/proto_translation_table.cc", |
| 2619 | "src/traced/probes/ftrace/proto_translation_table_unittest.cc", |
| 2620 | "src/traced/probes/ftrace/test/cpu_reader_support.cc", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 2621 | "src/traced/probes/power/android_power_data_source.cc", |
Primiano Tucci | fd8240d | 2018-08-01 09:34:54 +0100 | [diff] [blame] | 2622 | "src/traced/probes/probes_data_source.cc", |
Hector Dearman | ebf07c7 | 2018-03-13 10:31:05 +0000 | [diff] [blame] | 2623 | "src/traced/probes/probes_producer.cc", |
Primiano Tucci | b6de48b | 2018-07-26 16:00:44 +0100 | [diff] [blame] | 2624 | "src/traced/probes/ps/process_stats_data_source.cc", |
| 2625 | "src/traced/probes/ps/process_stats_data_source_unittest.cc", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 2626 | "src/traced/probes/sys_stats/sys_stats_data_source.cc", |
| 2627 | "src/traced/probes/sys_stats/sys_stats_data_source_unittest.cc", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 2628 | "src/tracing/core/android_log_config.cc", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 2629 | "src/tracing/core/android_power_config.cc", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 2630 | "src/tracing/core/chrome_config.cc", |
Primiano Tucci | 79f3f91 | 2018-03-02 12:00:31 +0000 | [diff] [blame] | 2631 | "src/tracing/core/commit_data_request.cc", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 2632 | "src/tracing/core/data_source_config.cc", |
| 2633 | "src/tracing/core/data_source_descriptor.cc", |
Hector Dearman | a89cc57 | 2018-02-23 12:02:58 +0000 | [diff] [blame] | 2634 | "src/tracing/core/ftrace_config.cc", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 2635 | "src/tracing/core/heapprofd_config.cc", |
Primiano Tucci | 422caff | 2017-12-18 23:58:52 +0100 | [diff] [blame] | 2636 | "src/tracing/core/id_allocator.cc", |
| 2637 | "src/tracing/core/id_allocator_unittest.cc", |
Primiano Tucci | dae3565 | 2018-03-29 18:32:02 +0100 | [diff] [blame] | 2638 | "src/tracing/core/inode_file_config.cc", |
Hector Dearman | 9a5a0e9 | 2018-03-27 17:52:24 +0100 | [diff] [blame] | 2639 | "src/tracing/core/null_trace_writer.cc", |
| 2640 | "src/tracing/core/null_trace_writer_unittest.cc", |
Sami Kyostila | 32e0b54 | 2018-02-14 08:55:43 +0000 | [diff] [blame] | 2641 | "src/tracing/core/packet_stream_validator.cc", |
| 2642 | "src/tracing/core/packet_stream_validator_unittest.cc", |
Primiano Tucci | 09db827 | 2018-03-08 17:47:47 +0000 | [diff] [blame] | 2643 | "src/tracing/core/patch_list_unittest.cc", |
Hector Dearman | 1b9c58a | 2018-03-29 18:45:06 +0100 | [diff] [blame] | 2644 | "src/tracing/core/process_stats_config.cc", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 2645 | "src/tracing/core/service_impl_unittest.cc", |
Primiano Tucci | f5d6d53 | 2017-12-19 00:59:34 +0100 | [diff] [blame] | 2646 | "src/tracing/core/shared_memory_abi.cc", |
| 2647 | "src/tracing/core/shared_memory_abi_unittest.cc", |
Oystein Eftevaag | 6d0bc7f | 2018-01-13 12:21:55 -0800 | [diff] [blame] | 2648 | "src/tracing/core/shared_memory_arbiter_impl.cc", |
| 2649 | "src/tracing/core/shared_memory_arbiter_impl_unittest.cc", |
Primiano Tucci | 16d1d63 | 2018-02-22 10:16:22 +0000 | [diff] [blame] | 2650 | "src/tracing/core/sliced_protobuf_input_stream.cc", |
| 2651 | "src/tracing/core/sliced_protobuf_input_stream_unittest.cc", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 2652 | "src/tracing/core/sys_stats_config.cc", |
Lalit Maganti | 3f5705c | 2018-03-09 12:09:44 +0000 | [diff] [blame] | 2653 | "src/tracing/core/test_config.cc", |
Primiano Tucci | 5c59901 | 2018-03-01 17:52:07 +0000 | [diff] [blame] | 2654 | "src/tracing/core/trace_buffer.cc", |
| 2655 | "src/tracing/core/trace_buffer_unittest.cc", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 2656 | "src/tracing/core/trace_config.cc", |
| 2657 | "src/tracing/core/trace_packet.cc", |
| 2658 | "src/tracing/core/trace_packet_unittest.cc", |
Isabelle Taylor | 1684856 | 2018-04-12 13:30:58 +0100 | [diff] [blame] | 2659 | "src/tracing/core/trace_writer_for_testing.cc", |
Primiano Tucci | d7b59c4 | 2017-12-19 01:43:07 +0100 | [diff] [blame] | 2660 | "src/tracing/core/trace_writer_impl.cc", |
| 2661 | "src/tracing/core/trace_writer_impl_unittest.cc", |
Florian Mayer | 6a1a4d5 | 2018-06-08 16:47:07 +0100 | [diff] [blame] | 2662 | "src/tracing/core/tracing_service_impl.cc", |
Primiano Tucci | 3cbb10a | 2018-04-10 17:52:40 +0100 | [diff] [blame] | 2663 | "src/tracing/core/virtual_destructors.cc", |
Hector Dearman | 86cfbe1 | 2018-03-22 11:58:42 +0000 | [diff] [blame] | 2664 | "src/tracing/ipc/consumer/consumer_ipc_client_impl.cc", |
Florian Mayer | c29e0d3 | 2018-04-04 15:55:46 +0100 | [diff] [blame] | 2665 | "src/tracing/ipc/default_socket.cc", |
Hector Dearman | 86cfbe1 | 2018-03-22 11:58:42 +0000 | [diff] [blame] | 2666 | "src/tracing/ipc/posix_shared_memory.cc", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 2667 | "src/tracing/ipc/posix_shared_memory_unittest.cc", |
Primiano Tucci | d7b59c4 | 2017-12-19 01:43:07 +0100 | [diff] [blame] | 2668 | "src/tracing/test/aligned_buffer_test.cc", |
Primiano Tucci | 5c59901 | 2018-03-01 17:52:07 +0000 | [diff] [blame] | 2669 | "src/tracing/test/fake_packet.cc", |
Primiano Tucci | dca727d | 2018-04-04 11:31:55 +0200 | [diff] [blame] | 2670 | "src/tracing/test/mock_consumer.cc", |
| 2671 | "src/tracing/test/mock_producer.cc", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 2672 | "src/tracing/test/test_shared_memory.cc", |
Primiano Tucci | 5358933 | 2017-12-19 11:31:13 +0100 | [diff] [blame] | 2673 | "src/tracing/test/tracing_integration_test.cc", |
Isabelle Taylor | cfc8eba | 2018-12-16 21:02:56 +0000 | [diff] [blame] | 2674 | "tools/ftrace_proto_gen/ftrace_descriptor_gen.cc", |
Hector Dearman | 39071ba | 2018-01-16 13:58:50 +0000 | [diff] [blame] | 2675 | "tools/ftrace_proto_gen/ftrace_proto_gen.cc", |
| 2676 | "tools/ftrace_proto_gen/ftrace_proto_gen_unittest.cc", |
Isabelle Taylor | aa45fe0 | 2018-12-16 21:02:20 +0000 | [diff] [blame] | 2677 | "tools/ftrace_proto_gen/proto_gen_utils.cc", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 2678 | "tools/sanitizers_unittests/sanitizers_unittest.cc", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 2679 | ], |
| 2680 | shared_libs: [ |
| 2681 | "libandroid", |
Florian Mayer | a2fae26 | 2018-08-31 12:10:01 -0700 | [diff] [blame] | 2682 | "libbase", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 2683 | "liblog", |
Florian Mayer | a2fae26 | 2018-08-31 12:10:01 -0700 | [diff] [blame] | 2684 | "libprocinfo", |
Florian Mayer | 7c9e3b2 | 2018-04-26 11:55:15 +0100 | [diff] [blame] | 2685 | "libprotobuf-cpp-full", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 2686 | "libprotobuf-cpp-lite", |
Florian Mayer | a2fae26 | 2018-08-31 12:10:01 -0700 | [diff] [blame] | 2687 | "libunwindstack", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 2688 | ], |
| 2689 | static_libs: [ |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 2690 | "libgmock", |
Hector Dearman | 3e712a0 | 2017-12-19 16:39:59 +0000 | [diff] [blame] | 2691 | "libgtest_prod", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2692 | "perfetto_src_tracing_ipc", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 2693 | ], |
| 2694 | generated_headers: [ |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 2695 | "perfetto_protos_perfetto_common_lite_gen_headers", |
| 2696 | "perfetto_protos_perfetto_common_zero_gen_headers", |
| 2697 | "perfetto_protos_perfetto_config_lite_gen_headers", |
| 2698 | "perfetto_protos_perfetto_config_zero_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2699 | "perfetto_protos_perfetto_ipc_ipc_gen_headers", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 2700 | "perfetto_protos_perfetto_trace_android_lite_gen_headers", |
| 2701 | "perfetto_protos_perfetto_trace_android_zero_gen_headers", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 2702 | "perfetto_protos_perfetto_trace_chrome_lite_gen_headers", |
| 2703 | "perfetto_protos_perfetto_trace_chrome_zero_gen_headers", |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 2704 | "perfetto_protos_perfetto_trace_filesystem_lite_gen_headers", |
| 2705 | "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2706 | "perfetto_protos_perfetto_trace_ftrace_lite_gen_headers", |
| 2707 | "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers", |
| 2708 | "perfetto_protos_perfetto_trace_lite_gen_headers", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 2709 | "perfetto_protos_perfetto_trace_minimal_lite_gen_headers", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 2710 | "perfetto_protos_perfetto_trace_power_lite_gen_headers", |
| 2711 | "perfetto_protos_perfetto_trace_power_zero_gen_headers", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 2712 | "perfetto_protos_perfetto_trace_profiling_lite_gen_headers", |
| 2713 | "perfetto_protos_perfetto_trace_profiling_zero_gen_headers", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 2714 | "perfetto_protos_perfetto_trace_ps_lite_gen_headers", |
| 2715 | "perfetto_protos_perfetto_trace_ps_zero_gen_headers", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 2716 | "perfetto_protos_perfetto_trace_sys_stats_lite_gen_headers", |
| 2717 | "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers", |
Oystein Eftevaag | 4d0f6c8 | 2018-04-30 14:19:59 -0700 | [diff] [blame] | 2718 | "perfetto_protos_perfetto_trace_trusted_lite_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2719 | "perfetto_protos_perfetto_trace_zero_gen_headers", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 2720 | "perfetto_src_ipc_test_messages_gen_headers", |
| 2721 | "perfetto_src_ipc_wire_protocol_gen_headers", |
Hector Dearman | 86cfbe1 | 2018-03-22 11:58:42 +0000 | [diff] [blame] | 2722 | "perfetto_src_perfetto_cmd_protos_gen_headers", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 2723 | "perfetto_src_protozero_testing_messages_lite_gen_headers", |
| 2724 | "perfetto_src_protozero_testing_messages_zero_gen_headers", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 2725 | "perfetto_src_traced_probes_ftrace_test_messages_lite_gen_headers", |
| 2726 | "perfetto_src_traced_probes_ftrace_test_messages_zero_gen_headers", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 2727 | ], |
| 2728 | defaults: [ |
| 2729 | "perfetto_defaults", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 2730 | ], |
Florian Mayer | 3d5e7e6 | 2018-01-19 15:22:46 +0000 | [diff] [blame] | 2731 | cflags: [ |
| 2732 | "-DGOOGLE_PROTOBUF_NO_RTTI", |
| 2733 | "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
| 2734 | ], |
Logan Chien | 9bfaaf9 | 2018-02-13 18:49:24 +0800 | [diff] [blame] | 2735 | product_variables: { |
| 2736 | pdk: { |
| 2737 | enabled: false, |
| 2738 | }, |
| 2739 | }, |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 2740 | } |
Primiano Tucci | 4e49c02 | 2017-12-21 18:22:44 +0100 | [diff] [blame] | 2741 | |
Primiano Tucci | 21c19d8 | 2018-03-29 12:35:08 +0100 | [diff] [blame] | 2742 | // GN target: //:trace_to_text |
| 2743 | cc_binary_host { |
| 2744 | name: "trace_to_text", |
| 2745 | srcs: [ |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 2746 | ":perfetto_protos_perfetto_common_lite_gen", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 2747 | ":perfetto_protos_perfetto_config_lite_gen", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 2748 | ":perfetto_protos_perfetto_trace_android_lite_gen", |
Primiano Tucci | 21c19d8 | 2018-03-29 12:35:08 +0100 | [diff] [blame] | 2749 | ":perfetto_protos_perfetto_trace_chrome_lite_gen", |
| 2750 | ":perfetto_protos_perfetto_trace_filesystem_lite_gen", |
| 2751 | ":perfetto_protos_perfetto_trace_ftrace_lite_gen", |
| 2752 | ":perfetto_protos_perfetto_trace_lite_gen", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 2753 | ":perfetto_protos_perfetto_trace_minimal_lite_gen", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 2754 | ":perfetto_protos_perfetto_trace_power_lite_gen", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 2755 | ":perfetto_protos_perfetto_trace_profiling_lite_gen", |
Primiano Tucci | 21c19d8 | 2018-03-29 12:35:08 +0100 | [diff] [blame] | 2756 | ":perfetto_protos_perfetto_trace_ps_lite_gen", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 2757 | ":perfetto_protos_perfetto_trace_sys_stats_lite_gen", |
Florian Mayer | 0ca7fb4 | 2018-11-15 21:13:42 +0000 | [diff] [blame] | 2758 | ":perfetto_protos_third_party_pprof_lite_gen", |
| 2759 | "src/base/event.cc", |
| 2760 | "src/base/file_utils.cc", |
| 2761 | "src/base/metatrace.cc", |
| 2762 | "src/base/paged_memory.cc", |
Primiano Tucci | 76499cd | 2018-11-21 10:54:04 +0100 | [diff] [blame] | 2763 | "src/base/pipe.cc", |
Florian Mayer | 0ca7fb4 | 2018-11-15 21:13:42 +0000 | [diff] [blame] | 2764 | "src/base/string_splitter.cc", |
| 2765 | "src/base/string_utils.cc", |
| 2766 | "src/base/temp_file.cc", |
| 2767 | "src/base/thread_checker.cc", |
| 2768 | "src/base/time.cc", |
| 2769 | "src/base/unix_task_runner.cc", |
| 2770 | "src/base/virtual_destructors.cc", |
| 2771 | "src/base/watchdog_posix.cc", |
Primiano Tucci | 21c19d8 | 2018-03-29 12:35:08 +0100 | [diff] [blame] | 2772 | "tools/trace_to_text/ftrace_event_formatter.cc", |
| 2773 | "tools/trace_to_text/ftrace_inode_handler.cc", |
| 2774 | "tools/trace_to_text/main.cc", |
Primiano Tucci | 20dc8f7 | 2018-10-23 12:28:29 +0100 | [diff] [blame] | 2775 | "tools/trace_to_text/proto_full_utils.cc", |
Florian Mayer | 0ca7fb4 | 2018-11-15 21:13:42 +0000 | [diff] [blame] | 2776 | "tools/trace_to_text/trace_to_profile.cc", |
Primiano Tucci | 20dc8f7 | 2018-10-23 12:28:29 +0100 | [diff] [blame] | 2777 | "tools/trace_to_text/trace_to_systrace.cc", |
| 2778 | "tools/trace_to_text/trace_to_text.cc", |
| 2779 | "tools/trace_to_text/utils.cc", |
Primiano Tucci | 21c19d8 | 2018-03-29 12:35:08 +0100 | [diff] [blame] | 2780 | ], |
| 2781 | shared_libs: [ |
| 2782 | "liblog", |
| 2783 | "libprotobuf-cpp-full", |
| 2784 | "libprotobuf-cpp-lite", |
| 2785 | ], |
Eric Seckler | 57c89d9 | 2018-10-26 15:11:55 +0100 | [diff] [blame] | 2786 | static_libs: [ |
| 2787 | "libgtest_prod", |
| 2788 | ], |
Primiano Tucci | 21c19d8 | 2018-03-29 12:35:08 +0100 | [diff] [blame] | 2789 | generated_headers: [ |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 2790 | "perfetto_protos_perfetto_common_lite_gen_headers", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 2791 | "perfetto_protos_perfetto_config_lite_gen_headers", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 2792 | "perfetto_protos_perfetto_trace_android_lite_gen_headers", |
Primiano Tucci | 21c19d8 | 2018-03-29 12:35:08 +0100 | [diff] [blame] | 2793 | "perfetto_protos_perfetto_trace_chrome_lite_gen_headers", |
| 2794 | "perfetto_protos_perfetto_trace_filesystem_lite_gen_headers", |
| 2795 | "perfetto_protos_perfetto_trace_ftrace_lite_gen_headers", |
| 2796 | "perfetto_protos_perfetto_trace_lite_gen_headers", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 2797 | "perfetto_protos_perfetto_trace_minimal_lite_gen_headers", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 2798 | "perfetto_protos_perfetto_trace_power_lite_gen_headers", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 2799 | "perfetto_protos_perfetto_trace_profiling_lite_gen_headers", |
Primiano Tucci | 21c19d8 | 2018-03-29 12:35:08 +0100 | [diff] [blame] | 2800 | "perfetto_protos_perfetto_trace_ps_lite_gen_headers", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 2801 | "perfetto_protos_perfetto_trace_sys_stats_lite_gen_headers", |
Florian Mayer | 0ca7fb4 | 2018-11-15 21:13:42 +0000 | [diff] [blame] | 2802 | "perfetto_protos_third_party_pprof_lite_gen_headers", |
Primiano Tucci | 21c19d8 | 2018-03-29 12:35:08 +0100 | [diff] [blame] | 2803 | ], |
| 2804 | defaults: [ |
| 2805 | "perfetto_defaults", |
| 2806 | ], |
| 2807 | cflags: [ |
| 2808 | "-DGOOGLE_PROTOBUF_NO_RTTI", |
| 2809 | "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
| 2810 | ], |
| 2811 | } |
| 2812 | |
Primiano Tucci | 4e49c02 | 2017-12-21 18:22:44 +0100 | [diff] [blame] | 2813 | // GN target: //:traced |
| 2814 | cc_binary { |
| 2815 | name: "traced", |
| 2816 | srcs: [ |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 2817 | "src/traced/service/main.cc", |
Primiano Tucci | 4e49c02 | 2017-12-21 18:22:44 +0100 | [diff] [blame] | 2818 | ], |
| 2819 | shared_libs: [ |
Primiano Tucci | 4e49c02 | 2017-12-21 18:22:44 +0100 | [diff] [blame] | 2820 | "liblog", |
Primiano Tucci | bdb2a59 | 2018-10-11 15:59:29 +0100 | [diff] [blame] | 2821 | "libperfetto", |
Primiano Tucci | 4e49c02 | 2017-12-21 18:22:44 +0100 | [diff] [blame] | 2822 | ], |
Primiano Tucci | 5a30453 | 2018-01-09 14:15:43 +0000 | [diff] [blame] | 2823 | init_rc: [ |
| 2824 | "perfetto.rc", |
| 2825 | ], |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 2826 | defaults: [ |
| 2827 | "perfetto_defaults", |
Primiano Tucci | 4e49c02 | 2017-12-21 18:22:44 +0100 | [diff] [blame] | 2828 | ], |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 2829 | } |
| 2830 | |
| 2831 | // GN target: //:traced_probes |
| 2832 | cc_binary { |
| 2833 | name: "traced_probes", |
| 2834 | srcs: [ |
| 2835 | "src/traced/probes/main.cc", |
| 2836 | ], |
| 2837 | shared_libs: [ |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 2838 | "liblog", |
Primiano Tucci | bdb2a59 | 2018-10-11 15:59:29 +0100 | [diff] [blame] | 2839 | "libperfetto", |
Primiano Tucci | 4e49c02 | 2017-12-21 18:22:44 +0100 | [diff] [blame] | 2840 | ], |
| 2841 | defaults: [ |
| 2842 | "perfetto_defaults", |
| 2843 | ], |
Primiano Tucci | 676f0cc | 2018-12-03 20:03:26 +0100 | [diff] [blame] | 2844 | required: [ |
| 2845 | "libperfetto_android_internal", |
| 2846 | ], |
Primiano Tucci | 4e49c02 | 2017-12-21 18:22:44 +0100 | [diff] [blame] | 2847 | } |
Lalit Maganti | 83e712a | 2018-02-05 15:48:00 +0000 | [diff] [blame] | 2848 | |
| 2849 | // These targets are appended to the autogenerated Android.bp by tools/gen_android_bp. |
Lalit Maganti | a88807d | 2018-03-05 18:21:38 +0000 | [diff] [blame] | 2850 | cc_library_static { |
| 2851 | name: "perfetto_cts_deps", |
Lalit Maganti | 83e712a | 2018-02-05 15:48:00 +0000 | [diff] [blame] | 2852 | srcs: [ |
| 2853 | "src/base/android_task_runner.cc", |
| 2854 | "src/base/test/test_task_runner.cc", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 2855 | "src/traced/probes/ftrace/cpu_reader.cc", |
| 2856 | "src/traced/probes/ftrace/event_info.cc", |
| 2857 | "src/traced/probes/ftrace/format_parser.cc", |
| 2858 | "src/traced/probes/ftrace/ftrace_controller.cc", |
| 2859 | "src/traced/probes/ftrace/ftrace_procfs.cc", |
| 2860 | "src/traced/probes/ftrace/proto_translation_table.cc", |
Isabelle Taylor | d404ea1 | 2018-02-19 17:28:01 +0000 | [diff] [blame] | 2861 | "src/traced/probes/probes_producer.cc", |
Lalit Maganti | 83e712a | 2018-02-05 15:48:00 +0000 | [diff] [blame] | 2862 | "test/end_to_end_integrationtest.cc", |
Lalit Maganti | c4c3ceb | 2018-03-29 20:38:13 +0100 | [diff] [blame] | 2863 | "test/fake_producer.cc", |
| 2864 | "test/task_runner_thread.cc", |
| 2865 | "test/test_helper.cc", |
Lalit Maganti | 83e712a | 2018-02-05 15:48:00 +0000 | [diff] [blame] | 2866 | ], |
Lalit Maganti | a88807d | 2018-03-05 18:21:38 +0000 | [diff] [blame] | 2867 | export_include_dirs: [ |
| 2868 | ".", |
Lalit Maganti | 83e712a | 2018-02-05 15:48:00 +0000 | [diff] [blame] | 2869 | ], |
| 2870 | shared_libs: [ |
Lalit Maganti | 83e712a | 2018-02-05 15:48:00 +0000 | [diff] [blame] | 2871 | "libprotobuf-cpp-lite", |
| 2872 | ], |
Lalit Maganti | a88807d | 2018-03-05 18:21:38 +0000 | [diff] [blame] | 2873 | static_libs: [ |
Lalit Maganti | 6168188 | 2018-03-14 15:29:01 +0000 | [diff] [blame] | 2874 | "libgtest", |
Lalit Maganti | a88807d | 2018-03-05 18:21:38 +0000 | [diff] [blame] | 2875 | "perfetto_src_tracing_ipc", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 2876 | "perfetto_trace_protos", |
Lalit Maganti | 83e712a | 2018-02-05 15:48:00 +0000 | [diff] [blame] | 2877 | ], |
Lalit Maganti | b34c7a2 | 2018-03-07 11:53:20 +0000 | [diff] [blame] | 2878 | cflags: [ |
| 2879 | "-DPERFETTO_BUILD_WITH_ANDROID", |
| 2880 | ], |
Lalit Maganti | 83e712a | 2018-02-05 15:48:00 +0000 | [diff] [blame] | 2881 | } |
| 2882 | |
Lalit Maganti | a88807d | 2018-03-05 18:21:38 +0000 | [diff] [blame] | 2883 | cc_library_static { |
| 2884 | name: "perfetto_cts_jni_deps", |
Lalit Maganti | 83e712a | 2018-02-05 15:48:00 +0000 | [diff] [blame] | 2885 | srcs: [ |
| 2886 | "src/base/android_task_runner.cc", |
| 2887 | "src/base/test/test_task_runner.cc", |
| 2888 | "test/fake_producer.cc", |
Lalit Maganti | 83e712a | 2018-02-05 15:48:00 +0000 | [diff] [blame] | 2889 | ], |
| 2890 | shared_libs: [ |
Lalit Maganti | a88807d | 2018-03-05 18:21:38 +0000 | [diff] [blame] | 2891 | "libprotobuf-cpp-lite", |
Lalit Maganti | 83e712a | 2018-02-05 15:48:00 +0000 | [diff] [blame] | 2892 | ], |
Lalit Maganti | a88807d | 2018-03-05 18:21:38 +0000 | [diff] [blame] | 2893 | export_include_dirs: [ |
| 2894 | ".", |
Lalit Maganti | 83e712a | 2018-02-05 15:48:00 +0000 | [diff] [blame] | 2895 | ], |
Lalit Maganti | a88807d | 2018-03-05 18:21:38 +0000 | [diff] [blame] | 2896 | static_libs: [ |
Lalit Maganti | 6168188 | 2018-03-14 15:29:01 +0000 | [diff] [blame] | 2897 | "libgtest", |
Lalit Maganti | a88807d | 2018-03-05 18:21:38 +0000 | [diff] [blame] | 2898 | "perfetto_src_tracing_ipc", |
| 2899 | ], |
Lalit Maganti | b34c7a2 | 2018-03-07 11:53:20 +0000 | [diff] [blame] | 2900 | cflags: [ |
| 2901 | "-DPERFETTO_BUILD_WITH_ANDROID", |
| 2902 | ], |
Lalit Maganti | 6820cb6 | 2018-10-05 13:34:22 +0100 | [diff] [blame] | 2903 | } |
| 2904 | |
Lalit Maganti | f5d666d | 2018-10-23 14:23:24 +0100 | [diff] [blame] | 2905 | java_library_host { |
| 2906 | name: "perfetto_config-full", |
Lalit Maganti | 6820cb6 | 2018-10-05 13:34:22 +0100 | [diff] [blame] | 2907 | proto: { |
Lalit Maganti | f5d666d | 2018-10-23 14:23:24 +0100 | [diff] [blame] | 2908 | type: "full", |
Lalit Maganti | 6820cb6 | 2018-10-05 13:34:22 +0100 | [diff] [blame] | 2909 | }, |
| 2910 | srcs: [ |
| 2911 | "protos/perfetto/config/perfetto_config.proto", |
| 2912 | ], |
Lalit Maganti | a88807d | 2018-03-05 18:21:38 +0000 | [diff] [blame] | 2913 | } |