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