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 | |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 17 | genrule { |
| 18 | name: "gen_merged_sql_metrics", |
| 19 | srcs: [ |
| 20 | "src/trace_processor/metrics/android/android_mem.sql", |
Lalit Maganti | 7177c7f | 2019-04-30 15:54:51 +0100 | [diff] [blame] | 21 | "src/trace_processor/metrics/android/android_mem_lmk.sql", |
Lalit Maganti | 5f3a018 | 2019-05-07 16:40:36 +0100 | [diff] [blame] | 22 | "src/trace_processor/metrics/android/android_mem_proc_counters.sql", |
Ioannis Ilkos | 20d5e8b | 2019-05-16 15:43:26 +0100 | [diff] [blame] | 23 | "src/trace_processor/metrics/android/android_startup.sql", |
Ioannis Ilkos | 1cbd228 | 2019-05-29 23:41:57 +0100 | [diff] [blame] | 24 | "src/trace_processor/metrics/android/android_startup_cpu.sql", |
Ioannis Ilkos | 20d5e8b | 2019-05-16 15:43:26 +0100 | [diff] [blame] | 25 | "src/trace_processor/metrics/android/android_startup_launches.sql", |
| 26 | "src/trace_processor/metrics/android/android_task_state.sql", |
Ioannis Ilkos | 05e211f | 2019-05-28 15:21:00 +0100 | [diff] [blame] | 27 | "src/trace_processor/metrics/android/heap_profile.sql", |
Ioannis Ilkos | 5e79b8a | 2019-05-23 18:09:54 +0100 | [diff] [blame] | 28 | "src/trace_processor/metrics/error_statistics.sql", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 29 | ], |
Lalit Maganti | 697cc48 | 2019-05-01 14:39:11 +0100 | [diff] [blame] | 30 | cmd: "$(location tools/gen_merged_sql_metrics.py) --cpp_out=$(out) $(in)", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 31 | out: [ |
| 32 | "src/trace_processor/metrics/sql_metrics.h", |
| 33 | ], |
| 34 | tool_files: [ |
Lalit Maganti | 697cc48 | 2019-05-01 14:39:11 +0100 | [diff] [blame] | 35 | "tools/gen_merged_sql_metrics.py", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 36 | ], |
| 37 | } |
| 38 | |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 39 | // GN target: //:heapprofd |
| 40 | cc_binary { |
| 41 | name: "heapprofd", |
| 42 | srcs: [ |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 43 | ":perfetto_protos_perfetto_common_lite_gen", |
| 44 | ":perfetto_protos_perfetto_common_zero_gen", |
| 45 | ":perfetto_protos_perfetto_config_lite_gen", |
| 46 | ":perfetto_protos_perfetto_config_zero_gen", |
| 47 | ":perfetto_protos_perfetto_ipc_ipc_gen", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 48 | ":perfetto_protos_perfetto_trace_android_zero_gen", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 49 | ":perfetto_protos_perfetto_trace_chrome_zero_gen", |
| 50 | ":perfetto_protos_perfetto_trace_filesystem_zero_gen", |
| 51 | ":perfetto_protos_perfetto_trace_ftrace_zero_gen", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 52 | ":perfetto_protos_perfetto_trace_interned_data_zero_gen", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 53 | ":perfetto_protos_perfetto_trace_minimal_lite_gen", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 54 | ":perfetto_protos_perfetto_trace_power_zero_gen", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 55 | ":perfetto_protos_perfetto_trace_profiling_zero_gen", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 56 | ":perfetto_protos_perfetto_trace_ps_zero_gen", |
| 57 | ":perfetto_protos_perfetto_trace_sys_stats_zero_gen", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 58 | ":perfetto_protos_perfetto_trace_track_event_zero_gen", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 59 | ":perfetto_protos_perfetto_trace_trusted_lite_gen", |
| 60 | ":perfetto_protos_perfetto_trace_zero_gen", |
| 61 | ":perfetto_src_ipc_wire_protocol_gen", |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 62 | "src/base/event.cc", |
| 63 | "src/base/file_utils.cc", |
| 64 | "src/base/metatrace.cc", |
Eric Seckler | edf3f7c | 2018-10-23 16:44:53 +0100 | [diff] [blame] | 65 | "src/base/paged_memory.cc", |
Primiano Tucci | 76499cd | 2018-11-21 10:54:04 +0100 | [diff] [blame] | 66 | "src/base/pipe.cc", |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 67 | "src/base/string_splitter.cc", |
| 68 | "src/base/string_utils.cc", |
Primiano Tucci | 60c4a2b | 2019-03-02 17:11:18 +0000 | [diff] [blame] | 69 | "src/base/string_view.cc", |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 70 | "src/base/temp_file.cc", |
| 71 | "src/base/thread_checker.cc", |
Ryan Savitski | 2988579 | 2019-03-14 12:10:13 +0000 | [diff] [blame] | 72 | "src/base/thread_task_runner.cc", |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 73 | "src/base/time.cc", |
| 74 | "src/base/unix_socket.cc", |
| 75 | "src/base/unix_task_runner.cc", |
| 76 | "src/base/virtual_destructors.cc", |
| 77 | "src/base/watchdog_posix.cc", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 78 | "src/ipc/buffered_frame_deserializer.cc", |
| 79 | "src/ipc/client_impl.cc", |
| 80 | "src/ipc/deferred.cc", |
| 81 | "src/ipc/host_impl.cc", |
| 82 | "src/ipc/service_proxy.cc", |
| 83 | "src/ipc/virtual_destructors.cc", |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 84 | "src/profiling/memory/bookkeeping.cc", |
Florian Mayer | 7791fce | 2019-05-16 18:04:20 +0100 | [diff] [blame] | 85 | "src/profiling/memory/bookkeeping_dump.cc", |
Primiano Tucci | 0f2f3b4 | 2019-05-21 19:37:01 +0100 | [diff] [blame] | 86 | "src/profiling/memory/heapprofd_config.cc", |
Florian Mayer | e9f4686 | 2018-11-07 20:20:37 +0000 | [diff] [blame] | 87 | "src/profiling/memory/heapprofd_producer.cc", |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 88 | "src/profiling/memory/main.cc", |
Florian Mayer | 7142c7c | 2019-05-20 18:11:41 +0100 | [diff] [blame] | 89 | "src/profiling/memory/page_idle_checker.cc", |
Florian Mayer | 745aaf2 | 2018-12-13 14:53:07 +0000 | [diff] [blame] | 90 | "src/profiling/memory/proc_utils.cc", |
Florian Mayer | 5195059 | 2019-03-06 20:05:15 +0000 | [diff] [blame] | 91 | "src/profiling/memory/scoped_spinlock.cc", |
| 92 | "src/profiling/memory/shared_ring_buffer.cc", |
Florian Mayer | 78cb562 | 2018-11-27 17:17:10 +0000 | [diff] [blame] | 93 | "src/profiling/memory/system_property.cc", |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 94 | "src/profiling/memory/unwinding.cc", |
Florian Mayer | 7142c7c | 2019-05-20 18:11:41 +0100 | [diff] [blame] | 95 | "src/profiling/memory/utils.cc", |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 96 | "src/profiling/memory/wire_protocol.cc", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 97 | "src/protozero/message.cc", |
| 98 | "src/protozero/message_handle.cc", |
| 99 | "src/protozero/proto_decoder.cc", |
Eric Seckler | 7631120 | 2019-01-07 12:20:25 +0000 | [diff] [blame] | 100 | "src/protozero/scattered_heap_buffer.cc", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 101 | "src/protozero/scattered_stream_null_delegate.cc", |
| 102 | "src/protozero/scattered_stream_writer.cc", |
| 103 | "src/tracing/core/chrome_config.cc", |
| 104 | "src/tracing/core/commit_data_request.cc", |
| 105 | "src/tracing/core/data_source_config.cc", |
| 106 | "src/tracing/core/data_source_descriptor.cc", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 107 | "src/tracing/core/id_allocator.cc", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 108 | "src/tracing/core/null_trace_writer.cc", |
Eric Seckler | 7b0c945 | 2019-03-18 13:14:36 +0000 | [diff] [blame] | 109 | "src/tracing/core/observable_events.cc", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 110 | "src/tracing/core/packet_stream_validator.cc", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 111 | "src/tracing/core/shared_memory_abi.cc", |
| 112 | "src/tracing/core/shared_memory_arbiter_impl.cc", |
| 113 | "src/tracing/core/sliced_protobuf_input_stream.cc", |
Eric Seckler | c65693d | 2019-01-11 15:12:48 +0000 | [diff] [blame] | 114 | "src/tracing/core/startup_trace_writer.cc", |
Eric Seckler | 42777e5 | 2019-01-23 10:13:22 +0000 | [diff] [blame] | 115 | "src/tracing/core/startup_trace_writer_registry.cc", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 116 | "src/tracing/core/test_config.cc", |
| 117 | "src/tracing/core/trace_buffer.cc", |
| 118 | "src/tracing/core/trace_config.cc", |
| 119 | "src/tracing/core/trace_packet.cc", |
Eric Seckler | eaf29ed | 2019-01-23 09:53:55 +0000 | [diff] [blame] | 120 | "src/tracing/core/trace_stats.cc", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 121 | "src/tracing/core/trace_writer_impl.cc", |
| 122 | "src/tracing/core/tracing_service_impl.cc", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 123 | "src/tracing/core/tracing_service_state.cc", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 124 | "src/tracing/core/virtual_destructors.cc", |
Primiano Tucci | 2c5488f | 2019-06-01 03:27:28 +0100 | [diff] [blame] | 125 | "src/tracing/trace_writer_base.cc", |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 126 | ], |
| 127 | shared_libs: [ |
| 128 | "libbase", |
| 129 | "liblog", |
| 130 | "libprocinfo", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 131 | "libprotobuf-cpp-lite", |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 132 | "libunwindstack", |
| 133 | ], |
Eric Seckler | 57c89d9 | 2018-10-26 15:11:55 +0100 | [diff] [blame] | 134 | static_libs: [ |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 135 | "perfetto_src_tracing_ipc", |
Eric Seckler | 57c89d9 | 2018-10-26 15:11:55 +0100 | [diff] [blame] | 136 | ], |
Florian Mayer | 7a5d83b | 2018-10-18 18:57:02 +0100 | [diff] [blame] | 137 | init_rc: [ |
| 138 | "heapprofd.rc", |
| 139 | ], |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 140 | generated_headers: [ |
| 141 | "perfetto_protos_perfetto_common_lite_gen_headers", |
| 142 | "perfetto_protos_perfetto_common_zero_gen_headers", |
| 143 | "perfetto_protos_perfetto_config_lite_gen_headers", |
| 144 | "perfetto_protos_perfetto_config_zero_gen_headers", |
| 145 | "perfetto_protos_perfetto_ipc_ipc_gen_headers", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 146 | "perfetto_protos_perfetto_trace_android_zero_gen_headers", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 147 | "perfetto_protos_perfetto_trace_chrome_zero_gen_headers", |
| 148 | "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers", |
| 149 | "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 150 | "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 151 | "perfetto_protos_perfetto_trace_minimal_lite_gen_headers", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 152 | "perfetto_protos_perfetto_trace_power_zero_gen_headers", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 153 | "perfetto_protos_perfetto_trace_profiling_zero_gen_headers", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 154 | "perfetto_protos_perfetto_trace_ps_zero_gen_headers", |
| 155 | "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 156 | "perfetto_protos_perfetto_trace_track_event_zero_gen_headers", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 157 | "perfetto_protos_perfetto_trace_trusted_lite_gen_headers", |
| 158 | "perfetto_protos_perfetto_trace_zero_gen_headers", |
| 159 | "perfetto_src_ipc_wire_protocol_gen_headers", |
| 160 | ], |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 161 | defaults: [ |
| 162 | "perfetto_defaults", |
| 163 | ], |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 164 | cflags: [ |
| 165 | "-DGOOGLE_PROTOBUF_NO_RTTI", |
| 166 | "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
Primiano Tucci | 7c7f5f5 | 2019-01-15 21:47:04 +0000 | [diff] [blame] | 167 | "-DPERFETTO_BUILD_WITH_ANDROID", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 168 | ], |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 169 | } |
| 170 | |
| 171 | // GN target: //:heapprofd_client |
| 172 | cc_library_shared { |
| 173 | name: "heapprofd_client", |
| 174 | srcs: [ |
| 175 | "src/base/event.cc", |
| 176 | "src/base/file_utils.cc", |
| 177 | "src/base/metatrace.cc", |
Eric Seckler | edf3f7c | 2018-10-23 16:44:53 +0100 | [diff] [blame] | 178 | "src/base/paged_memory.cc", |
Primiano Tucci | 76499cd | 2018-11-21 10:54:04 +0100 | [diff] [blame] | 179 | "src/base/pipe.cc", |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 180 | "src/base/string_splitter.cc", |
| 181 | "src/base/string_utils.cc", |
Primiano Tucci | 60c4a2b | 2019-03-02 17:11:18 +0000 | [diff] [blame] | 182 | "src/base/string_view.cc", |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 183 | "src/base/temp_file.cc", |
| 184 | "src/base/thread_checker.cc", |
Ryan Savitski | 2988579 | 2019-03-14 12:10:13 +0000 | [diff] [blame] | 185 | "src/base/thread_task_runner.cc", |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 186 | "src/base/time.cc", |
| 187 | "src/base/unix_socket.cc", |
| 188 | "src/base/unix_task_runner.cc", |
| 189 | "src/base/virtual_destructors.cc", |
| 190 | "src/base/watchdog_posix.cc", |
| 191 | "src/profiling/memory/client.cc", |
| 192 | "src/profiling/memory/malloc_hooks.cc", |
Ryan Savitski | 10c19fb | 2019-01-22 14:44:15 +0000 | [diff] [blame] | 193 | "src/profiling/memory/proc_utils.cc", |
Ryan Savitski | a502bde | 2019-02-26 21:34:03 +0000 | [diff] [blame] | 194 | "src/profiling/memory/scoped_spinlock.cc", |
Florian Mayer | 5195059 | 2019-03-06 20:05:15 +0000 | [diff] [blame] | 195 | "src/profiling/memory/shared_ring_buffer.cc", |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 196 | "src/profiling/memory/wire_protocol.cc", |
| 197 | ], |
| 198 | shared_libs: [ |
| 199 | "libbase", |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 200 | "libprocinfo", |
| 201 | "libunwindstack", |
| 202 | ], |
Eric Seckler | 57c89d9 | 2018-10-26 15:11:55 +0100 | [diff] [blame] | 203 | static_libs: [ |
Ryan Savitski | e65beca | 2019-01-29 18:29:13 +0000 | [diff] [blame] | 204 | "libasync_safe", |
Eric Seckler | 57c89d9 | 2018-10-26 15:11:55 +0100 | [diff] [blame] | 205 | ], |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 206 | defaults: [ |
| 207 | "perfetto_defaults", |
| 208 | ], |
Primiano Tucci | 7c7f5f5 | 2019-01-15 21:47:04 +0000 | [diff] [blame] | 209 | cflags: [ |
Ryan Savitski | e65beca | 2019-01-29 18:29:13 +0000 | [diff] [blame] | 210 | "-DPERFETTO_ANDROID_ASYNC_SAFE_LOG", |
Primiano Tucci | 7c7f5f5 | 2019-01-15 21:47:04 +0000 | [diff] [blame] | 211 | "-DPERFETTO_BUILD_WITH_ANDROID", |
| 212 | ], |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 213 | include_dirs: [ |
| 214 | "bionic/libc", |
| 215 | ], |
| 216 | } |
| 217 | |
Florian Mayer | 67be965 | 2019-05-31 16:17:11 +0100 | [diff] [blame] | 218 | // GN target: //:idle_alloc |
| 219 | cc_binary { |
| 220 | name: "idle_alloc", |
| 221 | srcs: [ |
| 222 | "tools/idle_alloc.cc", |
| 223 | ], |
| 224 | shared_libs: [ |
| 225 | "liblog", |
| 226 | ], |
| 227 | defaults: [ |
| 228 | "perfetto_defaults", |
| 229 | ], |
| 230 | } |
| 231 | |
Primiano Tucci | bdb2a59 | 2018-10-11 15:59:29 +0100 | [diff] [blame] | 232 | // GN target: //:libperfetto |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 233 | cc_library_shared { |
Primiano Tucci | bdb2a59 | 2018-10-11 15:59:29 +0100 | [diff] [blame] | 234 | name: "libperfetto", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 235 | srcs: [ |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 236 | ":perfetto_protos_perfetto_common_lite_gen", |
| 237 | ":perfetto_protos_perfetto_common_zero_gen", |
| 238 | ":perfetto_protos_perfetto_config_lite_gen", |
| 239 | ":perfetto_protos_perfetto_config_zero_gen", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 240 | ":perfetto_protos_perfetto_ipc_ipc_gen", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 241 | ":perfetto_protos_perfetto_trace_android_zero_gen", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 242 | ":perfetto_protos_perfetto_trace_chrome_zero_gen", |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 243 | ":perfetto_protos_perfetto_trace_filesystem_zero_gen", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 244 | ":perfetto_protos_perfetto_trace_ftrace_zero_gen", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 245 | ":perfetto_protos_perfetto_trace_interned_data_zero_gen", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 246 | ":perfetto_protos_perfetto_trace_minimal_lite_gen", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 247 | ":perfetto_protos_perfetto_trace_power_zero_gen", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 248 | ":perfetto_protos_perfetto_trace_profiling_zero_gen", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 249 | ":perfetto_protos_perfetto_trace_ps_zero_gen", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 250 | ":perfetto_protos_perfetto_trace_sys_stats_zero_gen", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 251 | ":perfetto_protos_perfetto_trace_track_event_zero_gen", |
Oystein Eftevaag | 4d0f6c8 | 2018-04-30 14:19:59 -0700 | [diff] [blame] | 252 | ":perfetto_protos_perfetto_trace_trusted_lite_gen", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 253 | ":perfetto_protos_perfetto_trace_zero_gen", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 254 | ":perfetto_src_ipc_wire_protocol_gen", |
Primiano Tucci | 9f7189c | 2018-10-05 00:42:12 +0100 | [diff] [blame] | 255 | "src/base/event.cc", |
Florian Mayer | 74b73a9 | 2018-03-09 17:37:13 +0000 | [diff] [blame] | 256 | "src/base/file_utils.cc", |
Florian Mayer | 236ba47 | 2018-05-09 15:47:53 +0100 | [diff] [blame] | 257 | "src/base/metatrace.cc", |
Eric Seckler | edf3f7c | 2018-10-23 16:44:53 +0100 | [diff] [blame] | 258 | "src/base/paged_memory.cc", |
Primiano Tucci | 76499cd | 2018-11-21 10:54:04 +0100 | [diff] [blame] | 259 | "src/base/pipe.cc", |
Primiano Tucci | 825e6de | 2018-03-13 05:43:15 +0000 | [diff] [blame] | 260 | "src/base/string_splitter.cc", |
Hector Dearman | 3afb1e0 | 2018-04-27 16:46:52 +0100 | [diff] [blame] | 261 | "src/base/string_utils.cc", |
Primiano Tucci | 60c4a2b | 2019-03-02 17:11:18 +0000 | [diff] [blame] | 262 | "src/base/string_view.cc", |
Primiano Tucci | 941b221 | 2018-03-14 22:46:31 +0000 | [diff] [blame] | 263 | "src/base/temp_file.cc", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 264 | "src/base/thread_checker.cc", |
Ryan Savitski | 2988579 | 2019-03-14 12:10:13 +0000 | [diff] [blame] | 265 | "src/base/thread_task_runner.cc", |
Florian Mayer | 75905df | 2018-05-08 17:44:08 +0100 | [diff] [blame] | 266 | "src/base/time.cc", |
Florian Mayer | f7f0def | 2018-09-27 13:59:24 +0100 | [diff] [blame] | 267 | "src/base/unix_socket.cc", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 268 | "src/base/unix_task_runner.cc", |
Primiano Tucci | 3cbb10a | 2018-04-10 17:52:40 +0100 | [diff] [blame] | 269 | "src/base/virtual_destructors.cc", |
Primiano Tucci | 808d6df | 2018-03-31 13:24:18 +0100 | [diff] [blame] | 270 | "src/base/watchdog_posix.cc", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 271 | "src/ipc/buffered_frame_deserializer.cc", |
| 272 | "src/ipc/client_impl.cc", |
| 273 | "src/ipc/deferred.cc", |
| 274 | "src/ipc/host_impl.cc", |
| 275 | "src/ipc/service_proxy.cc", |
Primiano Tucci | 3cbb10a | 2018-04-10 17:52:40 +0100 | [diff] [blame] | 276 | "src/ipc/virtual_destructors.cc", |
Hector Dearman | e1e56b6 | 2018-02-21 19:11:58 +0000 | [diff] [blame] | 277 | "src/protozero/message.cc", |
| 278 | "src/protozero/message_handle.cc", |
Lalit Maganti | 45172a8 | 2018-06-01 03:04:43 +0100 | [diff] [blame] | 279 | "src/protozero/proto_decoder.cc", |
Eric Seckler | 7631120 | 2019-01-07 12:20:25 +0000 | [diff] [blame] | 280 | "src/protozero/scattered_heap_buffer.cc", |
Hector Dearman | 9a5a0e9 | 2018-03-27 17:52:24 +0100 | [diff] [blame] | 281 | "src/protozero/scattered_stream_null_delegate.cc", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 282 | "src/protozero/scattered_stream_writer.cc", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 283 | "src/traced/probes/android_log/android_log_data_source.cc", |
Florian Mayer | 6f9c342 | 2018-03-29 10:37:41 +0100 | [diff] [blame] | 284 | "src/traced/probes/filesystem/file_scanner.cc", |
Anna Zappone | 2a6f904 | 2018-03-14 13:26:07 +0000 | [diff] [blame] | 285 | "src/traced/probes/filesystem/fs_mount.cc", |
| 286 | "src/traced/probes/filesystem/inode_file_data_source.cc", |
| 287 | "src/traced/probes/filesystem/lru_inode_cache.cc", |
Florian Mayer | b21f4fb | 2018-03-22 15:24:56 +0000 | [diff] [blame] | 288 | "src/traced/probes/filesystem/prefix_finder.cc", |
| 289 | "src/traced/probes/filesystem/range_tree.cc", |
Isabelle Taylor | f3edbfa | 2019-03-26 11:07:19 +0000 | [diff] [blame] | 290 | "src/traced/probes/ftrace/atrace_hal_wrapper.cc", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 291 | "src/traced/probes/ftrace/atrace_wrapper.cc", |
| 292 | "src/traced/probes/ftrace/cpu_reader.cc", |
| 293 | "src/traced/probes/ftrace/cpu_stats_parser.cc", |
| 294 | "src/traced/probes/ftrace/event_info.cc", |
| 295 | "src/traced/probes/ftrace/event_info_constants.cc", |
| 296 | "src/traced/probes/ftrace/format_parser.cc", |
| 297 | "src/traced/probes/ftrace/ftrace_config.cc", |
| 298 | "src/traced/probes/ftrace/ftrace_config_muxer.cc", |
Primiano Tucci | 0f2f3b4 | 2019-05-21 19:37:01 +0100 | [diff] [blame] | 299 | "src/traced/probes/ftrace/ftrace_config_utils.cc", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 300 | "src/traced/probes/ftrace/ftrace_controller.cc", |
Primiano Tucci | fd8240d | 2018-08-01 09:34:54 +0100 | [diff] [blame] | 301 | "src/traced/probes/ftrace/ftrace_data_source.cc", |
Primiano Tucci | b6de48b | 2018-07-26 16:00:44 +0100 | [diff] [blame] | 302 | "src/traced/probes/ftrace/ftrace_metadata.cc", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 303 | "src/traced/probes/ftrace/ftrace_procfs.cc", |
Primiano Tucci | fd8240d | 2018-08-01 09:34:54 +0100 | [diff] [blame] | 304 | "src/traced/probes/ftrace/ftrace_stats.cc", |
Primiano Tucci | c20ee51 | 2018-11-29 16:40:55 +0000 | [diff] [blame] | 305 | "src/traced/probes/ftrace/page_pool.cc", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 306 | "src/traced/probes/ftrace/proto_translation_table.cc", |
Florian Mayer | 12f0f8e | 2019-04-02 12:31:13 +0100 | [diff] [blame] | 307 | "src/traced/probes/packages_list/packages_list_data_source.cc", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 308 | "src/traced/probes/power/android_power_data_source.cc", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 309 | "src/traced/probes/probes.cc", |
Primiano Tucci | fd8240d | 2018-08-01 09:34:54 +0100 | [diff] [blame] | 310 | "src/traced/probes/probes_data_source.cc", |
Isabelle Taylor | d404ea1 | 2018-02-19 17:28:01 +0000 | [diff] [blame] | 311 | "src/traced/probes/probes_producer.cc", |
Primiano Tucci | b6de48b | 2018-07-26 16:00:44 +0100 | [diff] [blame] | 312 | "src/traced/probes/ps/process_stats_data_source.cc", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 313 | "src/traced/probes/sys_stats/sys_stats_data_source.cc", |
Florian Mayer | 3077d18 | 2019-03-15 14:30:04 -0700 | [diff] [blame] | 314 | "src/traced/service/lazy_producer.cc", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 315 | "src/traced/service/service.cc", |
Primiano Tucci | 3cd3132 | 2018-10-11 20:06:56 +0100 | [diff] [blame] | 316 | "src/tracing/api_impl/consumer_api.cc", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 317 | "src/tracing/core/chrome_config.cc", |
Primiano Tucci | 79f3f91 | 2018-03-02 12:00:31 +0000 | [diff] [blame] | 318 | "src/tracing/core/commit_data_request.cc", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 319 | "src/tracing/core/data_source_config.cc", |
| 320 | "src/tracing/core/data_source_descriptor.cc", |
| 321 | "src/tracing/core/id_allocator.cc", |
Hector Dearman | 9a5a0e9 | 2018-03-27 17:52:24 +0100 | [diff] [blame] | 322 | "src/tracing/core/null_trace_writer.cc", |
Eric Seckler | 7b0c945 | 2019-03-18 13:14:36 +0000 | [diff] [blame] | 323 | "src/tracing/core/observable_events.cc", |
Sami Kyostila | 32e0b54 | 2018-02-14 08:55:43 +0000 | [diff] [blame] | 324 | "src/tracing/core/packet_stream_validator.cc", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 325 | "src/tracing/core/shared_memory_abi.cc", |
Oystein Eftevaag | 6d0bc7f | 2018-01-13 12:21:55 -0800 | [diff] [blame] | 326 | "src/tracing/core/shared_memory_arbiter_impl.cc", |
Primiano Tucci | 16d1d63 | 2018-02-22 10:16:22 +0000 | [diff] [blame] | 327 | "src/tracing/core/sliced_protobuf_input_stream.cc", |
Eric Seckler | c65693d | 2019-01-11 15:12:48 +0000 | [diff] [blame] | 328 | "src/tracing/core/startup_trace_writer.cc", |
Eric Seckler | 42777e5 | 2019-01-23 10:13:22 +0000 | [diff] [blame] | 329 | "src/tracing/core/startup_trace_writer_registry.cc", |
Lalit Maganti | 3f5705c | 2018-03-09 12:09:44 +0000 | [diff] [blame] | 330 | "src/tracing/core/test_config.cc", |
Primiano Tucci | 5c59901 | 2018-03-01 17:52:07 +0000 | [diff] [blame] | 331 | "src/tracing/core/trace_buffer.cc", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 332 | "src/tracing/core/trace_config.cc", |
| 333 | "src/tracing/core/trace_packet.cc", |
Eric Seckler | eaf29ed | 2019-01-23 09:53:55 +0000 | [diff] [blame] | 334 | "src/tracing/core/trace_stats.cc", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 335 | "src/tracing/core/trace_writer_impl.cc", |
Florian Mayer | 6a1a4d5 | 2018-06-08 16:47:07 +0100 | [diff] [blame] | 336 | "src/tracing/core/tracing_service_impl.cc", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 337 | "src/tracing/core/tracing_service_state.cc", |
Primiano Tucci | 3cbb10a | 2018-04-10 17:52:40 +0100 | [diff] [blame] | 338 | "src/tracing/core/virtual_destructors.cc", |
Primiano Tucci | 2c5488f | 2019-06-01 03:27:28 +0100 | [diff] [blame] | 339 | "src/tracing/trace_writer_base.cc", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 340 | ], |
| 341 | shared_libs: [ |
Primiano Tucci | 6d84853 | 2018-01-17 10:32:33 +0000 | [diff] [blame] | 342 | "liblog", |
| 343 | "libprotobuf-cpp-lite", |
| 344 | ], |
| 345 | static_libs: [ |
Primiano Tucci | 6d84853 | 2018-01-17 10:32:33 +0000 | [diff] [blame] | 346 | "perfetto_src_tracing_ipc", |
| 347 | ], |
| 348 | generated_headers: [ |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 349 | "perfetto_protos_perfetto_common_lite_gen_headers", |
| 350 | "perfetto_protos_perfetto_common_zero_gen_headers", |
| 351 | "perfetto_protos_perfetto_config_lite_gen_headers", |
| 352 | "perfetto_protos_perfetto_config_zero_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 353 | "perfetto_protos_perfetto_ipc_ipc_gen_headers", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 354 | "perfetto_protos_perfetto_trace_android_zero_gen_headers", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 355 | "perfetto_protos_perfetto_trace_chrome_zero_gen_headers", |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 356 | "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 357 | "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 358 | "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 359 | "perfetto_protos_perfetto_trace_minimal_lite_gen_headers", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 360 | "perfetto_protos_perfetto_trace_power_zero_gen_headers", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 361 | "perfetto_protos_perfetto_trace_profiling_zero_gen_headers", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 362 | "perfetto_protos_perfetto_trace_ps_zero_gen_headers", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 363 | "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 364 | "perfetto_protos_perfetto_trace_track_event_zero_gen_headers", |
Oystein Eftevaag | 4d0f6c8 | 2018-04-30 14:19:59 -0700 | [diff] [blame] | 365 | "perfetto_protos_perfetto_trace_trusted_lite_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 366 | "perfetto_protos_perfetto_trace_zero_gen_headers", |
Primiano Tucci | 6d84853 | 2018-01-17 10:32:33 +0000 | [diff] [blame] | 367 | "perfetto_src_ipc_wire_protocol_gen_headers", |
| 368 | ], |
| 369 | defaults: [ |
| 370 | "perfetto_defaults", |
| 371 | ], |
Florian Mayer | 3d5e7e6 | 2018-01-19 15:22:46 +0000 | [diff] [blame] | 372 | cflags: [ |
| 373 | "-DGOOGLE_PROTOBUF_NO_RTTI", |
| 374 | "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
Primiano Tucci | 7c7f5f5 | 2019-01-15 21:47:04 +0000 | [diff] [blame] | 375 | "-DPERFETTO_BUILD_WITH_ANDROID", |
Florian Mayer | 3d5e7e6 | 2018-01-19 15:22:46 +0000 | [diff] [blame] | 376 | ], |
Primiano Tucci | 6d84853 | 2018-01-17 10:32:33 +0000 | [diff] [blame] | 377 | } |
| 378 | |
Primiano Tucci | 676f0cc | 2018-12-03 20:03:26 +0100 | [diff] [blame] | 379 | // GN target: //:libperfetto_android_internal |
| 380 | cc_library_shared { |
| 381 | name: "libperfetto_android_internal", |
| 382 | srcs: [ |
Isabelle Taylor | f3edbfa | 2019-03-26 11:07:19 +0000 | [diff] [blame] | 383 | "src/android_internal/atrace_hal.cc", |
Primiano Tucci | 676f0cc | 2018-12-03 20:03:26 +0100 | [diff] [blame] | 384 | "src/android_internal/health_hal.cc", |
Esteban Talavera | 1fecac9 | 2019-01-09 16:06:29 +0000 | [diff] [blame] | 385 | "src/android_internal/power_stats_hal.cc", |
Primiano Tucci | 676f0cc | 2018-12-03 20:03:26 +0100 | [diff] [blame] | 386 | ], |
| 387 | shared_libs: [ |
Isabelle Taylor | f3edbfa | 2019-03-26 11:07:19 +0000 | [diff] [blame] | 388 | "android.hardware.atrace@1.0", |
Primiano Tucci | 676f0cc | 2018-12-03 20:03:26 +0100 | [diff] [blame] | 389 | "android.hardware.health@2.0", |
Esteban Talavera | 1fecac9 | 2019-01-09 16:06:29 +0000 | [diff] [blame] | 390 | "android.hardware.power.stats@1.0", |
Primiano Tucci | 676f0cc | 2018-12-03 20:03:26 +0100 | [diff] [blame] | 391 | "libbase", |
| 392 | "libhidlbase", |
| 393 | "libhidltransport", |
| 394 | "libhwbinder", |
| 395 | "liblog", |
| 396 | "libutils", |
| 397 | ], |
Ryan Savitski | e65beca | 2019-01-29 18:29:13 +0000 | [diff] [blame] | 398 | static_libs: [ |
| 399 | "libhealthhalutils", |
| 400 | ], |
Primiano Tucci | 676f0cc | 2018-12-03 20:03:26 +0100 | [diff] [blame] | 401 | defaults: [ |
| 402 | "perfetto_defaults", |
| 403 | ], |
Primiano Tucci | 7c7f5f5 | 2019-01-15 21:47:04 +0000 | [diff] [blame] | 404 | cflags: [ |
| 405 | "-DPERFETTO_BUILD_WITH_ANDROID", |
| 406 | ], |
Primiano Tucci | 676f0cc | 2018-12-03 20:03:26 +0100 | [diff] [blame] | 407 | } |
| 408 | |
Primiano Tucci | 0b651b8 | 2019-06-03 17:16:23 +0100 | [diff] [blame] | 409 | // GN target: //:libperfetto_client_experimental |
| 410 | cc_library_static { |
| 411 | name: "libperfetto_client_experimental", |
| 412 | srcs: [ |
| 413 | ":perfetto_protos_perfetto_common_lite_gen", |
| 414 | ":perfetto_protos_perfetto_common_zero_gen", |
| 415 | ":perfetto_protos_perfetto_config_lite_gen", |
| 416 | ":perfetto_protos_perfetto_config_zero_gen", |
| 417 | ":perfetto_protos_perfetto_ipc_ipc_gen", |
| 418 | ":perfetto_protos_perfetto_trace_android_zero_gen", |
| 419 | ":perfetto_protos_perfetto_trace_chrome_zero_gen", |
| 420 | ":perfetto_protos_perfetto_trace_filesystem_zero_gen", |
| 421 | ":perfetto_protos_perfetto_trace_ftrace_zero_gen", |
| 422 | ":perfetto_protos_perfetto_trace_interned_data_zero_gen", |
| 423 | ":perfetto_protos_perfetto_trace_minimal_lite_gen", |
| 424 | ":perfetto_protos_perfetto_trace_power_zero_gen", |
| 425 | ":perfetto_protos_perfetto_trace_profiling_zero_gen", |
| 426 | ":perfetto_protos_perfetto_trace_ps_zero_gen", |
| 427 | ":perfetto_protos_perfetto_trace_sys_stats_zero_gen", |
| 428 | ":perfetto_protos_perfetto_trace_track_event_zero_gen", |
| 429 | ":perfetto_protos_perfetto_trace_trusted_lite_gen", |
| 430 | ":perfetto_protos_perfetto_trace_zero_gen", |
| 431 | ":perfetto_src_ipc_wire_protocol_gen", |
| 432 | "src/base/event.cc", |
| 433 | "src/base/file_utils.cc", |
| 434 | "src/base/metatrace.cc", |
| 435 | "src/base/paged_memory.cc", |
| 436 | "src/base/pipe.cc", |
| 437 | "src/base/string_splitter.cc", |
| 438 | "src/base/string_utils.cc", |
| 439 | "src/base/string_view.cc", |
| 440 | "src/base/temp_file.cc", |
| 441 | "src/base/thread_checker.cc", |
| 442 | "src/base/thread_task_runner.cc", |
| 443 | "src/base/time.cc", |
| 444 | "src/base/unix_socket.cc", |
| 445 | "src/base/unix_task_runner.cc", |
| 446 | "src/base/virtual_destructors.cc", |
| 447 | "src/base/watchdog_posix.cc", |
| 448 | "src/ipc/buffered_frame_deserializer.cc", |
| 449 | "src/ipc/client_impl.cc", |
| 450 | "src/ipc/deferred.cc", |
| 451 | "src/ipc/host_impl.cc", |
| 452 | "src/ipc/service_proxy.cc", |
| 453 | "src/ipc/virtual_destructors.cc", |
| 454 | "src/protozero/message.cc", |
| 455 | "src/protozero/message_handle.cc", |
| 456 | "src/protozero/proto_decoder.cc", |
| 457 | "src/protozero/scattered_heap_buffer.cc", |
| 458 | "src/protozero/scattered_stream_null_delegate.cc", |
| 459 | "src/protozero/scattered_stream_writer.cc", |
| 460 | "src/tracing/core/chrome_config.cc", |
| 461 | "src/tracing/core/commit_data_request.cc", |
| 462 | "src/tracing/core/data_source_config.cc", |
| 463 | "src/tracing/core/data_source_descriptor.cc", |
| 464 | "src/tracing/core/id_allocator.cc", |
| 465 | "src/tracing/core/null_trace_writer.cc", |
| 466 | "src/tracing/core/observable_events.cc", |
| 467 | "src/tracing/core/packet_stream_validator.cc", |
| 468 | "src/tracing/core/shared_memory_abi.cc", |
| 469 | "src/tracing/core/shared_memory_arbiter_impl.cc", |
| 470 | "src/tracing/core/sliced_protobuf_input_stream.cc", |
| 471 | "src/tracing/core/startup_trace_writer.cc", |
| 472 | "src/tracing/core/startup_trace_writer_registry.cc", |
| 473 | "src/tracing/core/test_config.cc", |
| 474 | "src/tracing/core/trace_buffer.cc", |
| 475 | "src/tracing/core/trace_config.cc", |
| 476 | "src/tracing/core/trace_packet.cc", |
| 477 | "src/tracing/core/trace_stats.cc", |
| 478 | "src/tracing/core/trace_writer_impl.cc", |
| 479 | "src/tracing/core/tracing_service_impl.cc", |
| 480 | "src/tracing/core/virtual_destructors.cc", |
| 481 | "src/tracing/data_source.cc", |
| 482 | "src/tracing/internal/in_process_tracing_backend.cc", |
| 483 | "src/tracing/internal/system_tracing_backend.cc", |
| 484 | "src/tracing/internal/tracing_muxer_impl.cc", |
| 485 | "src/tracing/platform.cc", |
| 486 | "src/tracing/platform_posix.cc", |
| 487 | "src/tracing/trace_writer_base.cc", |
| 488 | "src/tracing/tracing.cc", |
| 489 | "src/tracing/virtual_destructors.cc", |
| 490 | ], |
| 491 | shared_libs: [ |
| 492 | "libprotobuf-cpp-lite", |
| 493 | ], |
| 494 | static_libs: [ |
| 495 | "perfetto_src_tracing_ipc", |
| 496 | ], |
| 497 | export_include_dirs: [ |
| 498 | "include", |
| 499 | ], |
| 500 | generated_headers: [ |
| 501 | "perfetto_protos_perfetto_common_lite_gen_headers", |
| 502 | "perfetto_protos_perfetto_common_zero_gen_headers", |
| 503 | "perfetto_protos_perfetto_config_lite_gen_headers", |
| 504 | "perfetto_protos_perfetto_config_zero_gen_headers", |
| 505 | "perfetto_protos_perfetto_ipc_ipc_gen_headers", |
| 506 | "perfetto_protos_perfetto_trace_android_zero_gen_headers", |
| 507 | "perfetto_protos_perfetto_trace_chrome_zero_gen_headers", |
| 508 | "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers", |
| 509 | "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers", |
| 510 | "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers", |
| 511 | "perfetto_protos_perfetto_trace_minimal_lite_gen_headers", |
| 512 | "perfetto_protos_perfetto_trace_power_zero_gen_headers", |
| 513 | "perfetto_protos_perfetto_trace_profiling_zero_gen_headers", |
| 514 | "perfetto_protos_perfetto_trace_ps_zero_gen_headers", |
| 515 | "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers", |
| 516 | "perfetto_protos_perfetto_trace_track_event_zero_gen_headers", |
| 517 | "perfetto_protos_perfetto_trace_trusted_lite_gen_headers", |
| 518 | "perfetto_protos_perfetto_trace_zero_gen_headers", |
| 519 | "perfetto_src_ipc_wire_protocol_gen_headers", |
| 520 | ], |
| 521 | export_generated_headers: [ |
| 522 | "perfetto_protos_perfetto_common_lite_gen_headers", |
| 523 | "perfetto_protos_perfetto_common_zero_gen_headers", |
| 524 | "perfetto_protos_perfetto_config_lite_gen_headers", |
| 525 | "perfetto_protos_perfetto_config_zero_gen_headers", |
| 526 | "perfetto_protos_perfetto_ipc_ipc_gen_headers", |
| 527 | "perfetto_protos_perfetto_trace_android_zero_gen_headers", |
| 528 | "perfetto_protos_perfetto_trace_chrome_zero_gen_headers", |
| 529 | "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers", |
| 530 | "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers", |
| 531 | "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers", |
| 532 | "perfetto_protos_perfetto_trace_minimal_lite_gen_headers", |
| 533 | "perfetto_protos_perfetto_trace_power_zero_gen_headers", |
| 534 | "perfetto_protos_perfetto_trace_profiling_zero_gen_headers", |
| 535 | "perfetto_protos_perfetto_trace_ps_zero_gen_headers", |
| 536 | "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers", |
| 537 | "perfetto_protos_perfetto_trace_track_event_zero_gen_headers", |
| 538 | "perfetto_protos_perfetto_trace_trusted_lite_gen_headers", |
| 539 | "perfetto_protos_perfetto_trace_zero_gen_headers", |
| 540 | "perfetto_src_ipc_wire_protocol_gen_headers", |
| 541 | ], |
| 542 | defaults: [ |
| 543 | "perfetto_defaults", |
| 544 | ], |
| 545 | cflags: [ |
| 546 | "-DGOOGLE_PROTOBUF_NO_RTTI", |
| 547 | "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
| 548 | "-DPERFETTO_BUILD_WITH_ANDROID", |
| 549 | ], |
| 550 | } |
| 551 | |
Primiano Tucci | 6d84853 | 2018-01-17 10:32:33 +0000 | [diff] [blame] | 552 | // GN target: //:perfetto |
| 553 | cc_binary { |
| 554 | name: "perfetto", |
| 555 | srcs: [ |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 556 | ":perfetto_protos_perfetto_common_lite_gen", |
| 557 | ":perfetto_protos_perfetto_common_zero_gen", |
| 558 | ":perfetto_protos_perfetto_config_lite_gen", |
| 559 | ":perfetto_protos_perfetto_config_zero_gen", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 560 | ":perfetto_protos_perfetto_ipc_ipc_gen", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 561 | ":perfetto_protos_perfetto_trace_android_zero_gen", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 562 | ":perfetto_protos_perfetto_trace_chrome_zero_gen", |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 563 | ":perfetto_protos_perfetto_trace_filesystem_zero_gen", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 564 | ":perfetto_protos_perfetto_trace_ftrace_zero_gen", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 565 | ":perfetto_protos_perfetto_trace_interned_data_zero_gen", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 566 | ":perfetto_protos_perfetto_trace_minimal_lite_gen", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 567 | ":perfetto_protos_perfetto_trace_power_zero_gen", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 568 | ":perfetto_protos_perfetto_trace_profiling_zero_gen", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 569 | ":perfetto_protos_perfetto_trace_ps_zero_gen", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 570 | ":perfetto_protos_perfetto_trace_sys_stats_zero_gen", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 571 | ":perfetto_protos_perfetto_trace_track_event_zero_gen", |
Oystein Eftevaag | 4d0f6c8 | 2018-04-30 14:19:59 -0700 | [diff] [blame] | 572 | ":perfetto_protos_perfetto_trace_trusted_lite_gen", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 573 | ":perfetto_protos_perfetto_trace_zero_gen", |
Primiano Tucci | 6d84853 | 2018-01-17 10:32:33 +0000 | [diff] [blame] | 574 | ":perfetto_src_ipc_wire_protocol_gen", |
Hector Dearman | 86cfbe1 | 2018-03-22 11:58:42 +0000 | [diff] [blame] | 575 | ":perfetto_src_perfetto_cmd_protos_gen", |
Primiano Tucci | 6d84853 | 2018-01-17 10:32:33 +0000 | [diff] [blame] | 576 | "src/base/android_task_runner.cc", |
Primiano Tucci | 9f7189c | 2018-10-05 00:42:12 +0100 | [diff] [blame] | 577 | "src/base/event.cc", |
Florian Mayer | 74b73a9 | 2018-03-09 17:37:13 +0000 | [diff] [blame] | 578 | "src/base/file_utils.cc", |
Florian Mayer | 236ba47 | 2018-05-09 15:47:53 +0100 | [diff] [blame] | 579 | "src/base/metatrace.cc", |
Eric Seckler | edf3f7c | 2018-10-23 16:44:53 +0100 | [diff] [blame] | 580 | "src/base/paged_memory.cc", |
Primiano Tucci | 76499cd | 2018-11-21 10:54:04 +0100 | [diff] [blame] | 581 | "src/base/pipe.cc", |
Primiano Tucci | 825e6de | 2018-03-13 05:43:15 +0000 | [diff] [blame] | 582 | "src/base/string_splitter.cc", |
Hector Dearman | 3afb1e0 | 2018-04-27 16:46:52 +0100 | [diff] [blame] | 583 | "src/base/string_utils.cc", |
Primiano Tucci | 60c4a2b | 2019-03-02 17:11:18 +0000 | [diff] [blame] | 584 | "src/base/string_view.cc", |
Primiano Tucci | 941b221 | 2018-03-14 22:46:31 +0000 | [diff] [blame] | 585 | "src/base/temp_file.cc", |
Primiano Tucci | 6d84853 | 2018-01-17 10:32:33 +0000 | [diff] [blame] | 586 | "src/base/thread_checker.cc", |
Ryan Savitski | 2988579 | 2019-03-14 12:10:13 +0000 | [diff] [blame] | 587 | "src/base/thread_task_runner.cc", |
Florian Mayer | 75905df | 2018-05-08 17:44:08 +0100 | [diff] [blame] | 588 | "src/base/time.cc", |
Florian Mayer | f7f0def | 2018-09-27 13:59:24 +0100 | [diff] [blame] | 589 | "src/base/unix_socket.cc", |
Primiano Tucci | 6d84853 | 2018-01-17 10:32:33 +0000 | [diff] [blame] | 590 | "src/base/unix_task_runner.cc", |
Primiano Tucci | 3cbb10a | 2018-04-10 17:52:40 +0100 | [diff] [blame] | 591 | "src/base/virtual_destructors.cc", |
Primiano Tucci | 808d6df | 2018-03-31 13:24:18 +0100 | [diff] [blame] | 592 | "src/base/watchdog_posix.cc", |
Primiano Tucci | 6d84853 | 2018-01-17 10:32:33 +0000 | [diff] [blame] | 593 | "src/ipc/buffered_frame_deserializer.cc", |
| 594 | "src/ipc/client_impl.cc", |
| 595 | "src/ipc/deferred.cc", |
| 596 | "src/ipc/host_impl.cc", |
| 597 | "src/ipc/service_proxy.cc", |
Primiano Tucci | 3cbb10a | 2018-04-10 17:52:40 +0100 | [diff] [blame] | 598 | "src/ipc/virtual_destructors.cc", |
Hector Dearman | 5edeafc | 2018-11-29 13:27:33 +0000 | [diff] [blame] | 599 | "src/perfetto_cmd/config.cc", |
Hector Dearman | c443a36 | 2018-02-28 16:03:56 +0000 | [diff] [blame] | 600 | "src/perfetto_cmd/main.cc", |
Hector Dearman | b7fa544 | 2018-11-08 18:39:32 +0000 | [diff] [blame] | 601 | "src/perfetto_cmd/pbtxt_to_pb.cc", |
Hector Dearman | c443a36 | 2018-02-28 16:03:56 +0000 | [diff] [blame] | 602 | "src/perfetto_cmd/perfetto_cmd.cc", |
Hector Dearman | 86cfbe1 | 2018-03-22 11:58:42 +0000 | [diff] [blame] | 603 | "src/perfetto_cmd/rate_limiter.cc", |
Stephen Nusko | e823811 | 2019-04-09 18:37:00 +0100 | [diff] [blame] | 604 | "src/perfetto_cmd/trigger_producer.cc", |
Hector Dearman | e1e56b6 | 2018-02-21 19:11:58 +0000 | [diff] [blame] | 605 | "src/protozero/message.cc", |
| 606 | "src/protozero/message_handle.cc", |
Lalit Maganti | 45172a8 | 2018-06-01 03:04:43 +0100 | [diff] [blame] | 607 | "src/protozero/proto_decoder.cc", |
Eric Seckler | 7631120 | 2019-01-07 12:20:25 +0000 | [diff] [blame] | 608 | "src/protozero/scattered_heap_buffer.cc", |
Hector Dearman | 9a5a0e9 | 2018-03-27 17:52:24 +0100 | [diff] [blame] | 609 | "src/protozero/scattered_stream_null_delegate.cc", |
Primiano Tucci | 6d84853 | 2018-01-17 10:32:33 +0000 | [diff] [blame] | 610 | "src/protozero/scattered_stream_writer.cc", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 611 | "src/tracing/core/chrome_config.cc", |
Primiano Tucci | 79f3f91 | 2018-03-02 12:00:31 +0000 | [diff] [blame] | 612 | "src/tracing/core/commit_data_request.cc", |
Primiano Tucci | 6d84853 | 2018-01-17 10:32:33 +0000 | [diff] [blame] | 613 | "src/tracing/core/data_source_config.cc", |
| 614 | "src/tracing/core/data_source_descriptor.cc", |
| 615 | "src/tracing/core/id_allocator.cc", |
Hector Dearman | 9a5a0e9 | 2018-03-27 17:52:24 +0100 | [diff] [blame] | 616 | "src/tracing/core/null_trace_writer.cc", |
Eric Seckler | 7b0c945 | 2019-03-18 13:14:36 +0000 | [diff] [blame] | 617 | "src/tracing/core/observable_events.cc", |
Sami Kyostila | 32e0b54 | 2018-02-14 08:55:43 +0000 | [diff] [blame] | 618 | "src/tracing/core/packet_stream_validator.cc", |
Primiano Tucci | 6d84853 | 2018-01-17 10:32:33 +0000 | [diff] [blame] | 619 | "src/tracing/core/shared_memory_abi.cc", |
| 620 | "src/tracing/core/shared_memory_arbiter_impl.cc", |
Primiano Tucci | 16d1d63 | 2018-02-22 10:16:22 +0000 | [diff] [blame] | 621 | "src/tracing/core/sliced_protobuf_input_stream.cc", |
Eric Seckler | c65693d | 2019-01-11 15:12:48 +0000 | [diff] [blame] | 622 | "src/tracing/core/startup_trace_writer.cc", |
Eric Seckler | 42777e5 | 2019-01-23 10:13:22 +0000 | [diff] [blame] | 623 | "src/tracing/core/startup_trace_writer_registry.cc", |
Lalit Maganti | 3f5705c | 2018-03-09 12:09:44 +0000 | [diff] [blame] | 624 | "src/tracing/core/test_config.cc", |
Primiano Tucci | 5c59901 | 2018-03-01 17:52:07 +0000 | [diff] [blame] | 625 | "src/tracing/core/trace_buffer.cc", |
Primiano Tucci | 6d84853 | 2018-01-17 10:32:33 +0000 | [diff] [blame] | 626 | "src/tracing/core/trace_config.cc", |
| 627 | "src/tracing/core/trace_packet.cc", |
Eric Seckler | eaf29ed | 2019-01-23 09:53:55 +0000 | [diff] [blame] | 628 | "src/tracing/core/trace_stats.cc", |
Primiano Tucci | 6d84853 | 2018-01-17 10:32:33 +0000 | [diff] [blame] | 629 | "src/tracing/core/trace_writer_impl.cc", |
Florian Mayer | 6a1a4d5 | 2018-06-08 16:47:07 +0100 | [diff] [blame] | 630 | "src/tracing/core/tracing_service_impl.cc", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 631 | "src/tracing/core/tracing_service_state.cc", |
Primiano Tucci | 3cbb10a | 2018-04-10 17:52:40 +0100 | [diff] [blame] | 632 | "src/tracing/core/virtual_destructors.cc", |
Primiano Tucci | 2c5488f | 2019-06-01 03:27:28 +0100 | [diff] [blame] | 633 | "src/tracing/trace_writer_base.cc", |
Primiano Tucci | 6d84853 | 2018-01-17 10:32:33 +0000 | [diff] [blame] | 634 | ], |
| 635 | shared_libs: [ |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 636 | "libandroid", |
Sami Kyostila | b5b7169 | 2018-01-12 12:16:44 +0000 | [diff] [blame] | 637 | "libbinder", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 638 | "liblog", |
| 639 | "libprotobuf-cpp-lite", |
Sami Kyostila | b5b7169 | 2018-01-12 12:16:44 +0000 | [diff] [blame] | 640 | "libservices", |
Primiano Tucci | edf099c | 2018-01-08 18:27:56 +0000 | [diff] [blame] | 641 | "libutils", |
Hector Dearman | e0b993f | 2019-05-24 18:48:16 +0100 | [diff] [blame] | 642 | "libz", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 643 | ], |
| 644 | static_libs: [ |
Stephen Nusko | e823811 | 2019-04-09 18:37:00 +0100 | [diff] [blame] | 645 | "perfetto_src_tracing_ipc", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 646 | ], |
| 647 | generated_headers: [ |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 648 | "perfetto_protos_perfetto_common_lite_gen_headers", |
| 649 | "perfetto_protos_perfetto_common_zero_gen_headers", |
| 650 | "perfetto_protos_perfetto_config_lite_gen_headers", |
| 651 | "perfetto_protos_perfetto_config_zero_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 652 | "perfetto_protos_perfetto_ipc_ipc_gen_headers", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 653 | "perfetto_protos_perfetto_trace_android_zero_gen_headers", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 654 | "perfetto_protos_perfetto_trace_chrome_zero_gen_headers", |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 655 | "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 656 | "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 657 | "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 658 | "perfetto_protos_perfetto_trace_minimal_lite_gen_headers", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 659 | "perfetto_protos_perfetto_trace_power_zero_gen_headers", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 660 | "perfetto_protos_perfetto_trace_profiling_zero_gen_headers", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 661 | "perfetto_protos_perfetto_trace_ps_zero_gen_headers", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 662 | "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 663 | "perfetto_protos_perfetto_trace_track_event_zero_gen_headers", |
Oystein Eftevaag | 4d0f6c8 | 2018-04-30 14:19:59 -0700 | [diff] [blame] | 664 | "perfetto_protos_perfetto_trace_trusted_lite_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 665 | "perfetto_protos_perfetto_trace_zero_gen_headers", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 666 | "perfetto_src_ipc_wire_protocol_gen_headers", |
Hector Dearman | 86cfbe1 | 2018-03-22 11:58:42 +0000 | [diff] [blame] | 667 | "perfetto_src_perfetto_cmd_protos_gen_headers", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 668 | ], |
| 669 | defaults: [ |
| 670 | "perfetto_defaults", |
| 671 | ], |
Primiano Tucci | edf099c | 2018-01-08 18:27:56 +0000 | [diff] [blame] | 672 | cflags: [ |
Florian Mayer | 3d5e7e6 | 2018-01-19 15:22:46 +0000 | [diff] [blame] | 673 | "-DGOOGLE_PROTOBUF_NO_RTTI", |
| 674 | "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
Primiano Tucci | edf099c | 2018-01-08 18:27:56 +0000 | [diff] [blame] | 675 | "-DPERFETTO_BUILD_WITH_ANDROID", |
| 676 | ], |
Logan Chien | 9bfaaf9 | 2018-02-13 18:49:24 +0800 | [diff] [blame] | 677 | product_variables: { |
| 678 | pdk: { |
| 679 | enabled: false, |
| 680 | }, |
| 681 | }, |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 682 | } |
| 683 | |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 684 | cc_defaults { |
| 685 | name: "perfetto_defaults", |
| 686 | cflags: [ |
Florian Mayer | c2a38ea | 2018-01-19 11:48:43 +0000 | [diff] [blame] | 687 | "-Oz", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 688 | "-Wno-error=return-type", |
| 689 | "-Wno-sign-compare", |
| 690 | "-Wno-sign-promo", |
| 691 | "-Wno-unused-parameter", |
Florian Mayer | cc424fd | 2018-01-15 11:19:01 +0000 | [diff] [blame] | 692 | "-fvisibility=hidden", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 693 | ], |
| 694 | local_include_dirs: [ |
| 695 | "include", |
| 696 | ], |
Lalit Maganti | d8b1a1d | 2018-05-23 14:41:43 +0100 | [diff] [blame] | 697 | product_variables: { |
| 698 | debuggable: { |
| 699 | cflags: ["-DPERFETTO_BUILD_WITH_ANDROID_USERDEBUG"], |
| 700 | }, |
| 701 | }, |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 702 | } |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 703 | |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 704 | // GN target: //:perfetto_integrationtests |
| 705 | cc_test { |
| 706 | name: "perfetto_integrationtests", |
| 707 | srcs: [ |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 708 | ":perfetto_protos_perfetto_common_lite_gen", |
| 709 | ":perfetto_protos_perfetto_common_zero_gen", |
| 710 | ":perfetto_protos_perfetto_config_lite_gen", |
| 711 | ":perfetto_protos_perfetto_config_zero_gen", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 712 | ":perfetto_protos_perfetto_ipc_ipc_gen", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 713 | ":perfetto_protos_perfetto_trace_android_lite_gen", |
| 714 | ":perfetto_protos_perfetto_trace_android_zero_gen", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 715 | ":perfetto_protos_perfetto_trace_chrome_lite_gen", |
| 716 | ":perfetto_protos_perfetto_trace_chrome_zero_gen", |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 717 | ":perfetto_protos_perfetto_trace_filesystem_lite_gen", |
| 718 | ":perfetto_protos_perfetto_trace_filesystem_zero_gen", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 719 | ":perfetto_protos_perfetto_trace_ftrace_lite_gen", |
| 720 | ":perfetto_protos_perfetto_trace_ftrace_zero_gen", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 721 | ":perfetto_protos_perfetto_trace_interned_data_lite_gen", |
| 722 | ":perfetto_protos_perfetto_trace_interned_data_zero_gen", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 723 | ":perfetto_protos_perfetto_trace_lite_gen", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 724 | ":perfetto_protos_perfetto_trace_minimal_lite_gen", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 725 | ":perfetto_protos_perfetto_trace_power_lite_gen", |
| 726 | ":perfetto_protos_perfetto_trace_power_zero_gen", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 727 | ":perfetto_protos_perfetto_trace_profiling_lite_gen", |
| 728 | ":perfetto_protos_perfetto_trace_profiling_zero_gen", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 729 | ":perfetto_protos_perfetto_trace_ps_lite_gen", |
| 730 | ":perfetto_protos_perfetto_trace_ps_zero_gen", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 731 | ":perfetto_protos_perfetto_trace_sys_stats_lite_gen", |
| 732 | ":perfetto_protos_perfetto_trace_sys_stats_zero_gen", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 733 | ":perfetto_protos_perfetto_trace_track_event_lite_gen", |
| 734 | ":perfetto_protos_perfetto_trace_track_event_zero_gen", |
Oystein Eftevaag | 4d0f6c8 | 2018-04-30 14:19:59 -0700 | [diff] [blame] | 735 | ":perfetto_protos_perfetto_trace_trusted_lite_gen", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 736 | ":perfetto_protos_perfetto_trace_zero_gen", |
| 737 | ":perfetto_src_ipc_wire_protocol_gen", |
| 738 | "src/base/android_task_runner.cc", |
Primiano Tucci | 9f7189c | 2018-10-05 00:42:12 +0100 | [diff] [blame] | 739 | "src/base/event.cc", |
Florian Mayer | 74b73a9 | 2018-03-09 17:37:13 +0000 | [diff] [blame] | 740 | "src/base/file_utils.cc", |
Florian Mayer | 236ba47 | 2018-05-09 15:47:53 +0100 | [diff] [blame] | 741 | "src/base/metatrace.cc", |
Eric Seckler | edf3f7c | 2018-10-23 16:44:53 +0100 | [diff] [blame] | 742 | "src/base/paged_memory.cc", |
Primiano Tucci | 76499cd | 2018-11-21 10:54:04 +0100 | [diff] [blame] | 743 | "src/base/pipe.cc", |
Primiano Tucci | 825e6de | 2018-03-13 05:43:15 +0000 | [diff] [blame] | 744 | "src/base/string_splitter.cc", |
Hector Dearman | 3afb1e0 | 2018-04-27 16:46:52 +0100 | [diff] [blame] | 745 | "src/base/string_utils.cc", |
Primiano Tucci | 60c4a2b | 2019-03-02 17:11:18 +0000 | [diff] [blame] | 746 | "src/base/string_view.cc", |
Primiano Tucci | 941b221 | 2018-03-14 22:46:31 +0000 | [diff] [blame] | 747 | "src/base/temp_file.cc", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 748 | "src/base/test/test_task_runner.cc", |
Hector Dearman | 7f71d0e | 2018-08-09 11:26:10 +0100 | [diff] [blame] | 749 | "src/base/test/utils.cc", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 750 | "src/base/test/vm_test_utils.cc", |
| 751 | "src/base/thread_checker.cc", |
Ryan Savitski | 2988579 | 2019-03-14 12:10:13 +0000 | [diff] [blame] | 752 | "src/base/thread_task_runner.cc", |
Florian Mayer | 75905df | 2018-05-08 17:44:08 +0100 | [diff] [blame] | 753 | "src/base/time.cc", |
Florian Mayer | f7f0def | 2018-09-27 13:59:24 +0100 | [diff] [blame] | 754 | "src/base/unix_socket.cc", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 755 | "src/base/unix_task_runner.cc", |
Primiano Tucci | 3cbb10a | 2018-04-10 17:52:40 +0100 | [diff] [blame] | 756 | "src/base/virtual_destructors.cc", |
Primiano Tucci | 808d6df | 2018-03-31 13:24:18 +0100 | [diff] [blame] | 757 | "src/base/watchdog_posix.cc", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 758 | "src/ipc/buffered_frame_deserializer.cc", |
| 759 | "src/ipc/client_impl.cc", |
| 760 | "src/ipc/deferred.cc", |
| 761 | "src/ipc/host_impl.cc", |
| 762 | "src/ipc/service_proxy.cc", |
Primiano Tucci | 3cbb10a | 2018-04-10 17:52:40 +0100 | [diff] [blame] | 763 | "src/ipc/virtual_destructors.cc", |
Florian Mayer | 4280249 | 2018-12-13 11:00:16 +0000 | [diff] [blame] | 764 | "src/profiling/memory/bookkeeping.cc", |
Florian Mayer | 7791fce | 2019-05-16 18:04:20 +0100 | [diff] [blame] | 765 | "src/profiling/memory/bookkeeping_dump.cc", |
Florian Mayer | 4280249 | 2018-12-13 11:00:16 +0000 | [diff] [blame] | 766 | "src/profiling/memory/client.cc", |
Primiano Tucci | 0f2f3b4 | 2019-05-21 19:37:01 +0100 | [diff] [blame] | 767 | "src/profiling/memory/heapprofd_config.cc", |
Florian Mayer | 4280249 | 2018-12-13 11:00:16 +0000 | [diff] [blame] | 768 | "src/profiling/memory/heapprofd_end_to_end_test.cc", |
| 769 | "src/profiling/memory/heapprofd_producer.cc", |
Florian Mayer | 7142c7c | 2019-05-20 18:11:41 +0100 | [diff] [blame] | 770 | "src/profiling/memory/page_idle_checker.cc", |
Florian Mayer | c4b196e | 2018-12-14 20:05:50 +0000 | [diff] [blame] | 771 | "src/profiling/memory/proc_utils.cc", |
Ryan Savitski | a502bde | 2019-02-26 21:34:03 +0000 | [diff] [blame] | 772 | "src/profiling/memory/scoped_spinlock.cc", |
Florian Mayer | 5195059 | 2019-03-06 20:05:15 +0000 | [diff] [blame] | 773 | "src/profiling/memory/shared_ring_buffer.cc", |
Florian Mayer | 4280249 | 2018-12-13 11:00:16 +0000 | [diff] [blame] | 774 | "src/profiling/memory/system_property.cc", |
| 775 | "src/profiling/memory/unwinding.cc", |
Florian Mayer | 7142c7c | 2019-05-20 18:11:41 +0100 | [diff] [blame] | 776 | "src/profiling/memory/utils.cc", |
Florian Mayer | 4280249 | 2018-12-13 11:00:16 +0000 | [diff] [blame] | 777 | "src/profiling/memory/wire_protocol.cc", |
Hector Dearman | e1e56b6 | 2018-02-21 19:11:58 +0000 | [diff] [blame] | 778 | "src/protozero/message.cc", |
| 779 | "src/protozero/message_handle.cc", |
Lalit Maganti | 45172a8 | 2018-06-01 03:04:43 +0100 | [diff] [blame] | 780 | "src/protozero/proto_decoder.cc", |
Eric Seckler | 7631120 | 2019-01-07 12:20:25 +0000 | [diff] [blame] | 781 | "src/protozero/scattered_heap_buffer.cc", |
Hector Dearman | 9a5a0e9 | 2018-03-27 17:52:24 +0100 | [diff] [blame] | 782 | "src/protozero/scattered_stream_null_delegate.cc", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 783 | "src/protozero/scattered_stream_writer.cc", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 784 | "src/traced/probes/android_log/android_log_data_source.cc", |
Florian Mayer | 6f9c342 | 2018-03-29 10:37:41 +0100 | [diff] [blame] | 785 | "src/traced/probes/filesystem/file_scanner.cc", |
Anna Zappone | 2a6f904 | 2018-03-14 13:26:07 +0000 | [diff] [blame] | 786 | "src/traced/probes/filesystem/fs_mount.cc", |
| 787 | "src/traced/probes/filesystem/inode_file_data_source.cc", |
| 788 | "src/traced/probes/filesystem/lru_inode_cache.cc", |
Florian Mayer | b21f4fb | 2018-03-22 15:24:56 +0000 | [diff] [blame] | 789 | "src/traced/probes/filesystem/prefix_finder.cc", |
| 790 | "src/traced/probes/filesystem/range_tree.cc", |
Isabelle Taylor | f3edbfa | 2019-03-26 11:07:19 +0000 | [diff] [blame] | 791 | "src/traced/probes/ftrace/atrace_hal_wrapper.cc", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 792 | "src/traced/probes/ftrace/atrace_wrapper.cc", |
| 793 | "src/traced/probes/ftrace/cpu_reader.cc", |
| 794 | "src/traced/probes/ftrace/cpu_stats_parser.cc", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 795 | "src/traced/probes/ftrace/event_info.cc", |
| 796 | "src/traced/probes/ftrace/event_info_constants.cc", |
| 797 | "src/traced/probes/ftrace/format_parser.cc", |
| 798 | "src/traced/probes/ftrace/ftrace_config.cc", |
| 799 | "src/traced/probes/ftrace/ftrace_config_muxer.cc", |
Primiano Tucci | 0f2f3b4 | 2019-05-21 19:37:01 +0100 | [diff] [blame] | 800 | "src/traced/probes/ftrace/ftrace_config_utils.cc", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 801 | "src/traced/probes/ftrace/ftrace_controller.cc", |
Primiano Tucci | fd8240d | 2018-08-01 09:34:54 +0100 | [diff] [blame] | 802 | "src/traced/probes/ftrace/ftrace_data_source.cc", |
Primiano Tucci | b6de48b | 2018-07-26 16:00:44 +0100 | [diff] [blame] | 803 | "src/traced/probes/ftrace/ftrace_metadata.cc", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 804 | "src/traced/probes/ftrace/ftrace_procfs.cc", |
| 805 | "src/traced/probes/ftrace/ftrace_procfs_integrationtest.cc", |
Primiano Tucci | fd8240d | 2018-08-01 09:34:54 +0100 | [diff] [blame] | 806 | "src/traced/probes/ftrace/ftrace_stats.cc", |
Primiano Tucci | c20ee51 | 2018-11-29 16:40:55 +0000 | [diff] [blame] | 807 | "src/traced/probes/ftrace/page_pool.cc", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 808 | "src/traced/probes/ftrace/proto_translation_table.cc", |
| 809 | "src/traced/probes/ftrace/test/cpu_reader_support.cc", |
Florian Mayer | 12f0f8e | 2019-04-02 12:31:13 +0100 | [diff] [blame] | 810 | "src/traced/probes/packages_list/packages_list_data_source.cc", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 811 | "src/traced/probes/power/android_power_data_source.cc", |
Primiano Tucci | fd8240d | 2018-08-01 09:34:54 +0100 | [diff] [blame] | 812 | "src/traced/probes/probes_data_source.cc", |
Isabelle Taylor | d404ea1 | 2018-02-19 17:28:01 +0000 | [diff] [blame] | 813 | "src/traced/probes/probes_producer.cc", |
Primiano Tucci | b6de48b | 2018-07-26 16:00:44 +0100 | [diff] [blame] | 814 | "src/traced/probes/ps/process_stats_data_source.cc", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 815 | "src/traced/probes/sys_stats/sys_stats_data_source.cc", |
Primiano Tucci | 2c5488f | 2019-06-01 03:27:28 +0100 | [diff] [blame] | 816 | "src/tracing/api_integrationtest.cc", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 817 | "src/tracing/core/chrome_config.cc", |
Primiano Tucci | 79f3f91 | 2018-03-02 12:00:31 +0000 | [diff] [blame] | 818 | "src/tracing/core/commit_data_request.cc", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 819 | "src/tracing/core/data_source_config.cc", |
| 820 | "src/tracing/core/data_source_descriptor.cc", |
| 821 | "src/tracing/core/id_allocator.cc", |
Hector Dearman | 9a5a0e9 | 2018-03-27 17:52:24 +0100 | [diff] [blame] | 822 | "src/tracing/core/null_trace_writer.cc", |
Eric Seckler | 7b0c945 | 2019-03-18 13:14:36 +0000 | [diff] [blame] | 823 | "src/tracing/core/observable_events.cc", |
Sami Kyostila | 32e0b54 | 2018-02-14 08:55:43 +0000 | [diff] [blame] | 824 | "src/tracing/core/packet_stream_validator.cc", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 825 | "src/tracing/core/shared_memory_abi.cc", |
| 826 | "src/tracing/core/shared_memory_arbiter_impl.cc", |
Primiano Tucci | 16d1d63 | 2018-02-22 10:16:22 +0000 | [diff] [blame] | 827 | "src/tracing/core/sliced_protobuf_input_stream.cc", |
Eric Seckler | c65693d | 2019-01-11 15:12:48 +0000 | [diff] [blame] | 828 | "src/tracing/core/startup_trace_writer.cc", |
Eric Seckler | 42777e5 | 2019-01-23 10:13:22 +0000 | [diff] [blame] | 829 | "src/tracing/core/startup_trace_writer_registry.cc", |
Lalit Maganti | 3f5705c | 2018-03-09 12:09:44 +0000 | [diff] [blame] | 830 | "src/tracing/core/test_config.cc", |
Primiano Tucci | 5c59901 | 2018-03-01 17:52:07 +0000 | [diff] [blame] | 831 | "src/tracing/core/trace_buffer.cc", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 832 | "src/tracing/core/trace_config.cc", |
| 833 | "src/tracing/core/trace_packet.cc", |
Eric Seckler | eaf29ed | 2019-01-23 09:53:55 +0000 | [diff] [blame] | 834 | "src/tracing/core/trace_stats.cc", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 835 | "src/tracing/core/trace_writer_impl.cc", |
Florian Mayer | 6a1a4d5 | 2018-06-08 16:47:07 +0100 | [diff] [blame] | 836 | "src/tracing/core/tracing_service_impl.cc", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 837 | "src/tracing/core/tracing_service_state.cc", |
Primiano Tucci | 3cbb10a | 2018-04-10 17:52:40 +0100 | [diff] [blame] | 838 | "src/tracing/core/virtual_destructors.cc", |
Primiano Tucci | 2c5488f | 2019-06-01 03:27:28 +0100 | [diff] [blame] | 839 | "src/tracing/data_source.cc", |
| 840 | "src/tracing/internal/in_process_tracing_backend.cc", |
| 841 | "src/tracing/internal/system_tracing_backend.cc", |
| 842 | "src/tracing/internal/tracing_muxer_impl.cc", |
| 843 | "src/tracing/platform.cc", |
| 844 | "src/tracing/platform_posix.cc", |
| 845 | "src/tracing/trace_writer_base.cc", |
| 846 | "src/tracing/tracing.cc", |
| 847 | "src/tracing/virtual_destructors.cc", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 848 | "test/end_to_end_integrationtest.cc", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 849 | "test/fake_producer.cc", |
Florian Mayer | c7255fd | 2018-01-25 10:29:24 +0000 | [diff] [blame] | 850 | "test/task_runner_thread.cc", |
Lalit Maganti | c4c3ceb | 2018-03-29 20:38:13 +0100 | [diff] [blame] | 851 | "test/test_helper.cc", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 852 | ], |
| 853 | shared_libs: [ |
| 854 | "libandroid", |
Florian Mayer | 4280249 | 2018-12-13 11:00:16 +0000 | [diff] [blame] | 855 | "libbase", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 856 | "liblog", |
Florian Mayer | 4280249 | 2018-12-13 11:00:16 +0000 | [diff] [blame] | 857 | "libprocinfo", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 858 | "libprotobuf-cpp-lite", |
Florian Mayer | 4280249 | 2018-12-13 11:00:16 +0000 | [diff] [blame] | 859 | "libunwindstack", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 860 | ], |
| 861 | static_libs: [ |
| 862 | "libgmock", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 863 | "perfetto_src_tracing_ipc", |
| 864 | ], |
| 865 | generated_headers: [ |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 866 | "perfetto_protos_perfetto_common_lite_gen_headers", |
| 867 | "perfetto_protos_perfetto_common_zero_gen_headers", |
| 868 | "perfetto_protos_perfetto_config_lite_gen_headers", |
| 869 | "perfetto_protos_perfetto_config_zero_gen_headers", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 870 | "perfetto_protos_perfetto_ipc_ipc_gen_headers", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 871 | "perfetto_protos_perfetto_trace_android_lite_gen_headers", |
| 872 | "perfetto_protos_perfetto_trace_android_zero_gen_headers", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 873 | "perfetto_protos_perfetto_trace_chrome_lite_gen_headers", |
| 874 | "perfetto_protos_perfetto_trace_chrome_zero_gen_headers", |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 875 | "perfetto_protos_perfetto_trace_filesystem_lite_gen_headers", |
| 876 | "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 877 | "perfetto_protos_perfetto_trace_ftrace_lite_gen_headers", |
| 878 | "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 879 | "perfetto_protos_perfetto_trace_interned_data_lite_gen_headers", |
| 880 | "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 881 | "perfetto_protos_perfetto_trace_lite_gen_headers", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 882 | "perfetto_protos_perfetto_trace_minimal_lite_gen_headers", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 883 | "perfetto_protos_perfetto_trace_power_lite_gen_headers", |
| 884 | "perfetto_protos_perfetto_trace_power_zero_gen_headers", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 885 | "perfetto_protos_perfetto_trace_profiling_lite_gen_headers", |
| 886 | "perfetto_protos_perfetto_trace_profiling_zero_gen_headers", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 887 | "perfetto_protos_perfetto_trace_ps_lite_gen_headers", |
| 888 | "perfetto_protos_perfetto_trace_ps_zero_gen_headers", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 889 | "perfetto_protos_perfetto_trace_sys_stats_lite_gen_headers", |
| 890 | "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 891 | "perfetto_protos_perfetto_trace_track_event_lite_gen_headers", |
| 892 | "perfetto_protos_perfetto_trace_track_event_zero_gen_headers", |
Oystein Eftevaag | 4d0f6c8 | 2018-04-30 14:19:59 -0700 | [diff] [blame] | 893 | "perfetto_protos_perfetto_trace_trusted_lite_gen_headers", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 894 | "perfetto_protos_perfetto_trace_zero_gen_headers", |
| 895 | "perfetto_src_ipc_wire_protocol_gen_headers", |
| 896 | ], |
| 897 | defaults: [ |
| 898 | "perfetto_defaults", |
| 899 | ], |
| 900 | cflags: [ |
| 901 | "-DGOOGLE_PROTOBUF_NO_RTTI", |
| 902 | "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
Lalit Maganti | 0b9a6ac | 2018-02-16 18:05:06 +0000 | [diff] [blame] | 903 | "-DPERFETTO_BUILD_WITH_ANDROID", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 904 | ], |
Logan Chien | 9bfaaf9 | 2018-02-13 18:49:24 +0800 | [diff] [blame] | 905 | product_variables: { |
| 906 | pdk: { |
| 907 | enabled: false, |
| 908 | }, |
| 909 | }, |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 910 | } |
| 911 | |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 912 | // GN target: //protos/perfetto/common:lite_gen |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 913 | genrule { |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 914 | name: "perfetto_protos_perfetto_common_lite_gen", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 915 | srcs: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 916 | "protos/perfetto/common/android_log_constants.proto", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 917 | "protos/perfetto/common/commit_data_request.proto", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 918 | "protos/perfetto/common/data_source_descriptor.proto", |
Lalit Maganti | eb1bf21 | 2019-05-08 15:07:16 +0100 | [diff] [blame] | 919 | "protos/perfetto/common/descriptor.proto", |
Eric Seckler | 7b0c945 | 2019-03-18 13:14:36 +0000 | [diff] [blame] | 920 | "protos/perfetto/common/observable_events.proto", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 921 | "protos/perfetto/common/sys_stats_counters.proto", |
Eric Seckler | eaf29ed | 2019-01-23 09:53:55 +0000 | [diff] [blame] | 922 | "protos/perfetto/common/trace_stats.proto", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 923 | "protos/perfetto/common/tracing_service_state.proto", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 924 | ], |
| 925 | tools: [ |
| 926 | "aprotoc", |
| 927 | ], |
| 928 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 929 | out: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 930 | "external/perfetto/protos/perfetto/common/android_log_constants.pb.cc", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 931 | "external/perfetto/protos/perfetto/common/commit_data_request.pb.cc", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 932 | "external/perfetto/protos/perfetto/common/data_source_descriptor.pb.cc", |
Lalit Maganti | eb1bf21 | 2019-05-08 15:07:16 +0100 | [diff] [blame] | 933 | "external/perfetto/protos/perfetto/common/descriptor.pb.cc", |
Eric Seckler | 7b0c945 | 2019-03-18 13:14:36 +0000 | [diff] [blame] | 934 | "external/perfetto/protos/perfetto/common/observable_events.pb.cc", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 935 | "external/perfetto/protos/perfetto/common/sys_stats_counters.pb.cc", |
Eric Seckler | eaf29ed | 2019-01-23 09:53:55 +0000 | [diff] [blame] | 936 | "external/perfetto/protos/perfetto/common/trace_stats.pb.cc", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 937 | "external/perfetto/protos/perfetto/common/tracing_service_state.pb.cc", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 938 | ], |
| 939 | } |
| 940 | |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 941 | // GN target: //protos/perfetto/common:lite_gen |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 942 | genrule { |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 943 | name: "perfetto_protos_perfetto_common_lite_gen_headers", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 944 | srcs: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 945 | "protos/perfetto/common/android_log_constants.proto", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 946 | "protos/perfetto/common/commit_data_request.proto", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 947 | "protos/perfetto/common/data_source_descriptor.proto", |
Lalit Maganti | eb1bf21 | 2019-05-08 15:07:16 +0100 | [diff] [blame] | 948 | "protos/perfetto/common/descriptor.proto", |
Eric Seckler | 7b0c945 | 2019-03-18 13:14:36 +0000 | [diff] [blame] | 949 | "protos/perfetto/common/observable_events.proto", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 950 | "protos/perfetto/common/sys_stats_counters.proto", |
Eric Seckler | eaf29ed | 2019-01-23 09:53:55 +0000 | [diff] [blame] | 951 | "protos/perfetto/common/trace_stats.proto", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 952 | "protos/perfetto/common/tracing_service_state.proto", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 953 | ], |
| 954 | tools: [ |
| 955 | "aprotoc", |
| 956 | ], |
| 957 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 958 | out: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 959 | "external/perfetto/protos/perfetto/common/android_log_constants.pb.h", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 960 | "external/perfetto/protos/perfetto/common/commit_data_request.pb.h", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 961 | "external/perfetto/protos/perfetto/common/data_source_descriptor.pb.h", |
Lalit Maganti | eb1bf21 | 2019-05-08 15:07:16 +0100 | [diff] [blame] | 962 | "external/perfetto/protos/perfetto/common/descriptor.pb.h", |
Eric Seckler | 7b0c945 | 2019-03-18 13:14:36 +0000 | [diff] [blame] | 963 | "external/perfetto/protos/perfetto/common/observable_events.pb.h", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 964 | "external/perfetto/protos/perfetto/common/sys_stats_counters.pb.h", |
Eric Seckler | eaf29ed | 2019-01-23 09:53:55 +0000 | [diff] [blame] | 965 | "external/perfetto/protos/perfetto/common/trace_stats.pb.h", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 966 | "external/perfetto/protos/perfetto/common/tracing_service_state.pb.h", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 967 | ], |
| 968 | export_include_dirs: [ |
| 969 | "protos", |
| 970 | ], |
| 971 | } |
| 972 | |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 973 | // GN target: //protos/perfetto/common:zero_gen |
Sami Kyostila | 71625d7 | 2017-12-18 10:29:49 +0000 | [diff] [blame] | 974 | genrule { |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 975 | name: "perfetto_protos_perfetto_common_zero_gen", |
| 976 | srcs: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 977 | "protos/perfetto/common/android_log_constants.proto", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 978 | "protos/perfetto/common/commit_data_request.proto", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 979 | "protos/perfetto/common/data_source_descriptor.proto", |
Lalit Maganti | eb1bf21 | 2019-05-08 15:07:16 +0100 | [diff] [blame] | 980 | "protos/perfetto/common/descriptor.proto", |
Eric Seckler | 7b0c945 | 2019-03-18 13:14:36 +0000 | [diff] [blame] | 981 | "protos/perfetto/common/observable_events.proto", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 982 | "protos/perfetto/common/sys_stats_counters.proto", |
Eric Seckler | eaf29ed | 2019-01-23 09:53:55 +0000 | [diff] [blame] | 983 | "protos/perfetto/common/trace_stats.proto", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 984 | "protos/perfetto/common/tracing_service_state.proto", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 985 | ], |
| 986 | tools: [ |
| 987 | "aprotoc", |
| 988 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 989 | ], |
| 990 | 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)", |
| 991 | out: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 992 | "external/perfetto/protos/perfetto/common/android_log_constants.pbzero.cc", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 993 | "external/perfetto/protos/perfetto/common/commit_data_request.pbzero.cc", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 994 | "external/perfetto/protos/perfetto/common/data_source_descriptor.pbzero.cc", |
Lalit Maganti | eb1bf21 | 2019-05-08 15:07:16 +0100 | [diff] [blame] | 995 | "external/perfetto/protos/perfetto/common/descriptor.pbzero.cc", |
Eric Seckler | 7b0c945 | 2019-03-18 13:14:36 +0000 | [diff] [blame] | 996 | "external/perfetto/protos/perfetto/common/observable_events.pbzero.cc", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 997 | "external/perfetto/protos/perfetto/common/sys_stats_counters.pbzero.cc", |
Eric Seckler | eaf29ed | 2019-01-23 09:53:55 +0000 | [diff] [blame] | 998 | "external/perfetto/protos/perfetto/common/trace_stats.pbzero.cc", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 999 | "external/perfetto/protos/perfetto/common/tracing_service_state.pbzero.cc", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1000 | ], |
| 1001 | } |
| 1002 | |
| 1003 | // GN target: //protos/perfetto/common:zero_gen |
| 1004 | genrule { |
| 1005 | name: "perfetto_protos_perfetto_common_zero_gen_headers", |
| 1006 | srcs: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1007 | "protos/perfetto/common/android_log_constants.proto", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1008 | "protos/perfetto/common/commit_data_request.proto", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 1009 | "protos/perfetto/common/data_source_descriptor.proto", |
Lalit Maganti | eb1bf21 | 2019-05-08 15:07:16 +0100 | [diff] [blame] | 1010 | "protos/perfetto/common/descriptor.proto", |
Eric Seckler | 7b0c945 | 2019-03-18 13:14:36 +0000 | [diff] [blame] | 1011 | "protos/perfetto/common/observable_events.proto", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1012 | "protos/perfetto/common/sys_stats_counters.proto", |
Eric Seckler | eaf29ed | 2019-01-23 09:53:55 +0000 | [diff] [blame] | 1013 | "protos/perfetto/common/trace_stats.proto", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 1014 | "protos/perfetto/common/tracing_service_state.proto", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1015 | ], |
| 1016 | tools: [ |
| 1017 | "aprotoc", |
| 1018 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 1019 | ], |
| 1020 | 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)", |
| 1021 | out: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1022 | "external/perfetto/protos/perfetto/common/android_log_constants.pbzero.h", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1023 | "external/perfetto/protos/perfetto/common/commit_data_request.pbzero.h", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 1024 | "external/perfetto/protos/perfetto/common/data_source_descriptor.pbzero.h", |
Lalit Maganti | eb1bf21 | 2019-05-08 15:07:16 +0100 | [diff] [blame] | 1025 | "external/perfetto/protos/perfetto/common/descriptor.pbzero.h", |
Eric Seckler | 7b0c945 | 2019-03-18 13:14:36 +0000 | [diff] [blame] | 1026 | "external/perfetto/protos/perfetto/common/observable_events.pbzero.h", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1027 | "external/perfetto/protos/perfetto/common/sys_stats_counters.pbzero.h", |
Eric Seckler | eaf29ed | 2019-01-23 09:53:55 +0000 | [diff] [blame] | 1028 | "external/perfetto/protos/perfetto/common/trace_stats.pbzero.h", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 1029 | "external/perfetto/protos/perfetto/common/tracing_service_state.pbzero.h", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1030 | ], |
| 1031 | export_include_dirs: [ |
| 1032 | "protos", |
| 1033 | ], |
| 1034 | } |
| 1035 | |
| 1036 | // GN target: //protos/perfetto/config:lite_gen |
| 1037 | genrule { |
| 1038 | name: "perfetto_protos_perfetto_config_lite_gen", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 1039 | srcs: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1040 | "protos/perfetto/config/android/android_log_config.proto", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 1041 | "protos/perfetto/config/chrome/chrome_config.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1042 | "protos/perfetto/config/data_source_config.proto", |
Hector Dearman | a89cc57 | 2018-02-23 12:02:58 +0000 | [diff] [blame] | 1043 | "protos/perfetto/config/ftrace/ftrace_config.proto", |
Primiano Tucci | dae3565 | 2018-03-29 18:32:02 +0100 | [diff] [blame] | 1044 | "protos/perfetto/config/inode_file/inode_file_config.proto", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 1045 | "protos/perfetto/config/power/android_power_config.proto", |
Hector Dearman | 1b9c58a | 2018-03-29 18:45:06 +0100 | [diff] [blame] | 1046 | "protos/perfetto/config/process_stats/process_stats_config.proto", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 1047 | "protos/perfetto/config/profiling/heapprofd_config.proto", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1048 | "protos/perfetto/config/sys_stats/sys_stats_config.proto", |
Lalit Maganti | 3f5705c | 2018-03-09 12:09:44 +0000 | [diff] [blame] | 1049 | "protos/perfetto/config/test_config.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1050 | "protos/perfetto/config/trace_config.proto", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 1051 | ], |
| 1052 | tools: [ |
| 1053 | "aprotoc", |
| 1054 | ], |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1055 | 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] | 1056 | out: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1057 | "external/perfetto/protos/perfetto/config/android/android_log_config.pb.cc", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 1058 | "external/perfetto/protos/perfetto/config/chrome/chrome_config.pb.cc", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1059 | "external/perfetto/protos/perfetto/config/data_source_config.pb.cc", |
Hector Dearman | a89cc57 | 2018-02-23 12:02:58 +0000 | [diff] [blame] | 1060 | "external/perfetto/protos/perfetto/config/ftrace/ftrace_config.pb.cc", |
Primiano Tucci | dae3565 | 2018-03-29 18:32:02 +0100 | [diff] [blame] | 1061 | "external/perfetto/protos/perfetto/config/inode_file/inode_file_config.pb.cc", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 1062 | "external/perfetto/protos/perfetto/config/power/android_power_config.pb.cc", |
Hector Dearman | 1b9c58a | 2018-03-29 18:45:06 +0100 | [diff] [blame] | 1063 | "external/perfetto/protos/perfetto/config/process_stats/process_stats_config.pb.cc", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 1064 | "external/perfetto/protos/perfetto/config/profiling/heapprofd_config.pb.cc", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1065 | "external/perfetto/protos/perfetto/config/sys_stats/sys_stats_config.pb.cc", |
Lalit Maganti | 3f5705c | 2018-03-09 12:09:44 +0000 | [diff] [blame] | 1066 | "external/perfetto/protos/perfetto/config/test_config.pb.cc", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1067 | "external/perfetto/protos/perfetto/config/trace_config.pb.cc", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 1068 | ], |
| 1069 | } |
| 1070 | |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1071 | // GN target: //protos/perfetto/config:lite_gen |
Primiano Tucci | d7b59c4 | 2017-12-19 01:43:07 +0100 | [diff] [blame] | 1072 | genrule { |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1073 | name: "perfetto_protos_perfetto_config_lite_gen_headers", |
Primiano Tucci | d7b59c4 | 2017-12-19 01:43:07 +0100 | [diff] [blame] | 1074 | srcs: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1075 | "protos/perfetto/config/android/android_log_config.proto", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 1076 | "protos/perfetto/config/chrome/chrome_config.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1077 | "protos/perfetto/config/data_source_config.proto", |
Hector Dearman | a89cc57 | 2018-02-23 12:02:58 +0000 | [diff] [blame] | 1078 | "protos/perfetto/config/ftrace/ftrace_config.proto", |
Primiano Tucci | dae3565 | 2018-03-29 18:32:02 +0100 | [diff] [blame] | 1079 | "protos/perfetto/config/inode_file/inode_file_config.proto", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 1080 | "protos/perfetto/config/power/android_power_config.proto", |
Hector Dearman | 1b9c58a | 2018-03-29 18:45:06 +0100 | [diff] [blame] | 1081 | "protos/perfetto/config/process_stats/process_stats_config.proto", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 1082 | "protos/perfetto/config/profiling/heapprofd_config.proto", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1083 | "protos/perfetto/config/sys_stats/sys_stats_config.proto", |
Lalit Maganti | 3f5705c | 2018-03-09 12:09:44 +0000 | [diff] [blame] | 1084 | "protos/perfetto/config/test_config.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1085 | "protos/perfetto/config/trace_config.proto", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 1086 | ], |
| 1087 | tools: [ |
| 1088 | "aprotoc", |
| 1089 | ], |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1090 | 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] | 1091 | out: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1092 | "external/perfetto/protos/perfetto/config/android/android_log_config.pb.h", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 1093 | "external/perfetto/protos/perfetto/config/chrome/chrome_config.pb.h", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1094 | "external/perfetto/protos/perfetto/config/data_source_config.pb.h", |
Hector Dearman | a89cc57 | 2018-02-23 12:02:58 +0000 | [diff] [blame] | 1095 | "external/perfetto/protos/perfetto/config/ftrace/ftrace_config.pb.h", |
Primiano Tucci | dae3565 | 2018-03-29 18:32:02 +0100 | [diff] [blame] | 1096 | "external/perfetto/protos/perfetto/config/inode_file/inode_file_config.pb.h", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 1097 | "external/perfetto/protos/perfetto/config/power/android_power_config.pb.h", |
Hector Dearman | 1b9c58a | 2018-03-29 18:45:06 +0100 | [diff] [blame] | 1098 | "external/perfetto/protos/perfetto/config/process_stats/process_stats_config.pb.h", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 1099 | "external/perfetto/protos/perfetto/config/profiling/heapprofd_config.pb.h", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1100 | "external/perfetto/protos/perfetto/config/sys_stats/sys_stats_config.pb.h", |
Lalit Maganti | 3f5705c | 2018-03-09 12:09:44 +0000 | [diff] [blame] | 1101 | "external/perfetto/protos/perfetto/config/test_config.pb.h", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1102 | "external/perfetto/protos/perfetto/config/trace_config.pb.h", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 1103 | ], |
| 1104 | export_include_dirs: [ |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1105 | "protos", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 1106 | ], |
| 1107 | } |
| 1108 | |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1109 | // GN target: //protos/perfetto/config:zero_gen |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 1110 | genrule { |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1111 | name: "perfetto_protos_perfetto_config_zero_gen", |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 1112 | srcs: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1113 | "protos/perfetto/config/android/android_log_config.proto", |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 1114 | "protos/perfetto/config/chrome/chrome_config.proto", |
| 1115 | "protos/perfetto/config/data_source_config.proto", |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 1116 | "protos/perfetto/config/ftrace/ftrace_config.proto", |
Primiano Tucci | dae3565 | 2018-03-29 18:32:02 +0100 | [diff] [blame] | 1117 | "protos/perfetto/config/inode_file/inode_file_config.proto", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 1118 | "protos/perfetto/config/power/android_power_config.proto", |
Hector Dearman | 1b9c58a | 2018-03-29 18:45:06 +0100 | [diff] [blame] | 1119 | "protos/perfetto/config/process_stats/process_stats_config.proto", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 1120 | "protos/perfetto/config/profiling/heapprofd_config.proto", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1121 | "protos/perfetto/config/sys_stats/sys_stats_config.proto", |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 1122 | "protos/perfetto/config/test_config.proto", |
| 1123 | "protos/perfetto/config/trace_config.proto", |
| 1124 | ], |
| 1125 | tools: [ |
| 1126 | "aprotoc", |
| 1127 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 1128 | ], |
| 1129 | 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)", |
| 1130 | out: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1131 | "external/perfetto/protos/perfetto/config/android/android_log_config.pbzero.cc", |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 1132 | "external/perfetto/protos/perfetto/config/chrome/chrome_config.pbzero.cc", |
| 1133 | "external/perfetto/protos/perfetto/config/data_source_config.pbzero.cc", |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 1134 | "external/perfetto/protos/perfetto/config/ftrace/ftrace_config.pbzero.cc", |
Primiano Tucci | dae3565 | 2018-03-29 18:32:02 +0100 | [diff] [blame] | 1135 | "external/perfetto/protos/perfetto/config/inode_file/inode_file_config.pbzero.cc", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 1136 | "external/perfetto/protos/perfetto/config/power/android_power_config.pbzero.cc", |
Hector Dearman | 1b9c58a | 2018-03-29 18:45:06 +0100 | [diff] [blame] | 1137 | "external/perfetto/protos/perfetto/config/process_stats/process_stats_config.pbzero.cc", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 1138 | "external/perfetto/protos/perfetto/config/profiling/heapprofd_config.pbzero.cc", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1139 | "external/perfetto/protos/perfetto/config/sys_stats/sys_stats_config.pbzero.cc", |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 1140 | "external/perfetto/protos/perfetto/config/test_config.pbzero.cc", |
| 1141 | "external/perfetto/protos/perfetto/config/trace_config.pbzero.cc", |
| 1142 | ], |
| 1143 | } |
| 1144 | |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1145 | // GN target: //protos/perfetto/config:zero_gen |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 1146 | genrule { |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1147 | name: "perfetto_protos_perfetto_config_zero_gen_headers", |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 1148 | srcs: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1149 | "protos/perfetto/config/android/android_log_config.proto", |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 1150 | "protos/perfetto/config/chrome/chrome_config.proto", |
| 1151 | "protos/perfetto/config/data_source_config.proto", |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 1152 | "protos/perfetto/config/ftrace/ftrace_config.proto", |
Primiano Tucci | dae3565 | 2018-03-29 18:32:02 +0100 | [diff] [blame] | 1153 | "protos/perfetto/config/inode_file/inode_file_config.proto", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 1154 | "protos/perfetto/config/power/android_power_config.proto", |
Hector Dearman | 1b9c58a | 2018-03-29 18:45:06 +0100 | [diff] [blame] | 1155 | "protos/perfetto/config/process_stats/process_stats_config.proto", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 1156 | "protos/perfetto/config/profiling/heapprofd_config.proto", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1157 | "protos/perfetto/config/sys_stats/sys_stats_config.proto", |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 1158 | "protos/perfetto/config/test_config.proto", |
| 1159 | "protos/perfetto/config/trace_config.proto", |
| 1160 | ], |
| 1161 | tools: [ |
| 1162 | "aprotoc", |
| 1163 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 1164 | ], |
| 1165 | 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)", |
| 1166 | out: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1167 | "external/perfetto/protos/perfetto/config/android/android_log_config.pbzero.h", |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 1168 | "external/perfetto/protos/perfetto/config/chrome/chrome_config.pbzero.h", |
| 1169 | "external/perfetto/protos/perfetto/config/data_source_config.pbzero.h", |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 1170 | "external/perfetto/protos/perfetto/config/ftrace/ftrace_config.pbzero.h", |
Primiano Tucci | dae3565 | 2018-03-29 18:32:02 +0100 | [diff] [blame] | 1171 | "external/perfetto/protos/perfetto/config/inode_file/inode_file_config.pbzero.h", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 1172 | "external/perfetto/protos/perfetto/config/power/android_power_config.pbzero.h", |
Hector Dearman | 1b9c58a | 2018-03-29 18:45:06 +0100 | [diff] [blame] | 1173 | "external/perfetto/protos/perfetto/config/process_stats/process_stats_config.pbzero.h", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 1174 | "external/perfetto/protos/perfetto/config/profiling/heapprofd_config.pbzero.h", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1175 | "external/perfetto/protos/perfetto/config/sys_stats/sys_stats_config.pbzero.h", |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 1176 | "external/perfetto/protos/perfetto/config/test_config.pbzero.h", |
| 1177 | "external/perfetto/protos/perfetto/config/trace_config.pbzero.h", |
| 1178 | ], |
| 1179 | export_include_dirs: [ |
| 1180 | "protos", |
| 1181 | ], |
| 1182 | } |
| 1183 | |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1184 | // GN target: //protos/perfetto/ipc:ipc_gen |
Sami Kyostila | 71625d7 | 2017-12-18 10:29:49 +0000 | [diff] [blame] | 1185 | genrule { |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1186 | name: "perfetto_protos_perfetto_ipc_ipc_gen", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 1187 | srcs: [ |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1188 | "protos/perfetto/ipc/consumer_port.proto", |
| 1189 | "protos/perfetto/ipc/producer_port.proto", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 1190 | ], |
| 1191 | tools: [ |
| 1192 | "aprotoc", |
| 1193 | "perfetto_src_ipc_protoc_plugin_ipc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 1194 | ], |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1195 | 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] | 1196 | out: [ |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1197 | "external/perfetto/protos/perfetto/ipc/consumer_port.ipc.cc", |
| 1198 | "external/perfetto/protos/perfetto/ipc/consumer_port.pb.cc", |
| 1199 | "external/perfetto/protos/perfetto/ipc/producer_port.ipc.cc", |
| 1200 | "external/perfetto/protos/perfetto/ipc/producer_port.pb.cc", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 1201 | ], |
| 1202 | } |
| 1203 | |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1204 | // GN target: //protos/perfetto/ipc:ipc_gen |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 1205 | genrule { |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1206 | name: "perfetto_protos_perfetto_ipc_ipc_gen_headers", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 1207 | srcs: [ |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1208 | "protos/perfetto/ipc/consumer_port.proto", |
| 1209 | "protos/perfetto/ipc/producer_port.proto", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 1210 | ], |
| 1211 | tools: [ |
| 1212 | "aprotoc", |
| 1213 | "perfetto_src_ipc_protoc_plugin_ipc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 1214 | ], |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1215 | 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] | 1216 | out: [ |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1217 | "external/perfetto/protos/perfetto/ipc/consumer_port.ipc.h", |
| 1218 | "external/perfetto/protos/perfetto/ipc/consumer_port.pb.h", |
| 1219 | "external/perfetto/protos/perfetto/ipc/producer_port.ipc.h", |
| 1220 | "external/perfetto/protos/perfetto/ipc/producer_port.pb.h", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 1221 | ], |
| 1222 | export_include_dirs: [ |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1223 | "protos", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 1224 | ], |
| 1225 | } |
| 1226 | |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 1227 | // GN target: //protos/perfetto/metrics/android:zero_gen |
| 1228 | genrule { |
| 1229 | name: "perfetto_protos_perfetto_metrics_android_zero_gen", |
| 1230 | srcs: [ |
Ioannis Ilkos | 05e211f | 2019-05-28 15:21:00 +0100 | [diff] [blame] | 1231 | "protos/perfetto/metrics/android/heap_profile.proto", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 1232 | "protos/perfetto/metrics/android/mem_metric.proto", |
Ioannis Ilkos | 20d5e8b | 2019-05-16 15:43:26 +0100 | [diff] [blame] | 1233 | "protos/perfetto/metrics/android/startup_metric.proto", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 1234 | ], |
| 1235 | tools: [ |
| 1236 | "aprotoc", |
| 1237 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 1238 | ], |
| 1239 | 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)", |
| 1240 | out: [ |
Ioannis Ilkos | 05e211f | 2019-05-28 15:21:00 +0100 | [diff] [blame] | 1241 | "external/perfetto/protos/perfetto/metrics/android/heap_profile.pbzero.cc", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 1242 | "external/perfetto/protos/perfetto/metrics/android/mem_metric.pbzero.cc", |
Ioannis Ilkos | 20d5e8b | 2019-05-16 15:43:26 +0100 | [diff] [blame] | 1243 | "external/perfetto/protos/perfetto/metrics/android/startup_metric.pbzero.cc", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 1244 | ], |
| 1245 | } |
| 1246 | |
| 1247 | // GN target: //protos/perfetto/metrics/android:zero_gen |
| 1248 | genrule { |
| 1249 | name: "perfetto_protos_perfetto_metrics_android_zero_gen_headers", |
| 1250 | srcs: [ |
Ioannis Ilkos | 05e211f | 2019-05-28 15:21:00 +0100 | [diff] [blame] | 1251 | "protos/perfetto/metrics/android/heap_profile.proto", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 1252 | "protos/perfetto/metrics/android/mem_metric.proto", |
Ioannis Ilkos | 20d5e8b | 2019-05-16 15:43:26 +0100 | [diff] [blame] | 1253 | "protos/perfetto/metrics/android/startup_metric.proto", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 1254 | ], |
| 1255 | tools: [ |
| 1256 | "aprotoc", |
| 1257 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 1258 | ], |
| 1259 | 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)", |
| 1260 | out: [ |
Ioannis Ilkos | 05e211f | 2019-05-28 15:21:00 +0100 | [diff] [blame] | 1261 | "external/perfetto/protos/perfetto/metrics/android/heap_profile.pbzero.h", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 1262 | "external/perfetto/protos/perfetto/metrics/android/mem_metric.pbzero.h", |
Ioannis Ilkos | 20d5e8b | 2019-05-16 15:43:26 +0100 | [diff] [blame] | 1263 | "external/perfetto/protos/perfetto/metrics/android/startup_metric.pbzero.h", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 1264 | ], |
| 1265 | export_include_dirs: [ |
| 1266 | "protos", |
| 1267 | ], |
| 1268 | } |
| 1269 | |
| 1270 | // GN target: //protos/perfetto/metrics:zero_gen |
| 1271 | genrule { |
| 1272 | name: "perfetto_protos_perfetto_metrics_zero_gen", |
| 1273 | srcs: [ |
| 1274 | "protos/perfetto/metrics/metrics.proto", |
| 1275 | ], |
| 1276 | tools: [ |
| 1277 | "aprotoc", |
| 1278 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 1279 | ], |
| 1280 | 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)", |
| 1281 | out: [ |
| 1282 | "external/perfetto/protos/perfetto/metrics/metrics.pbzero.cc", |
| 1283 | ], |
| 1284 | } |
| 1285 | |
| 1286 | // GN target: //protos/perfetto/metrics:zero_gen |
| 1287 | genrule { |
| 1288 | name: "perfetto_protos_perfetto_metrics_zero_gen_headers", |
| 1289 | srcs: [ |
| 1290 | "protos/perfetto/metrics/metrics.proto", |
| 1291 | ], |
| 1292 | tools: [ |
| 1293 | "aprotoc", |
| 1294 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 1295 | ], |
| 1296 | 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)", |
| 1297 | out: [ |
| 1298 | "external/perfetto/protos/perfetto/metrics/metrics.pbzero.h", |
| 1299 | ], |
| 1300 | export_include_dirs: [ |
| 1301 | "protos", |
| 1302 | ], |
| 1303 | } |
| 1304 | |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1305 | // GN target: //protos/perfetto/trace/android:lite_gen |
| 1306 | genrule { |
| 1307 | name: "perfetto_protos_perfetto_trace_android_lite_gen", |
| 1308 | srcs: [ |
| 1309 | "protos/perfetto/trace/android/android_log.proto", |
Florian Mayer | 12f0f8e | 2019-04-02 12:31:13 +0100 | [diff] [blame] | 1310 | "protos/perfetto/trace/android/packages_list.proto", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1311 | ], |
| 1312 | tools: [ |
| 1313 | "aprotoc", |
| 1314 | ], |
| 1315 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 1316 | out: [ |
| 1317 | "external/perfetto/protos/perfetto/trace/android/android_log.pb.cc", |
Florian Mayer | 12f0f8e | 2019-04-02 12:31:13 +0100 | [diff] [blame] | 1318 | "external/perfetto/protos/perfetto/trace/android/packages_list.pb.cc", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1319 | ], |
| 1320 | } |
| 1321 | |
| 1322 | // GN target: //protos/perfetto/trace/android:lite_gen |
| 1323 | genrule { |
| 1324 | name: "perfetto_protos_perfetto_trace_android_lite_gen_headers", |
| 1325 | srcs: [ |
| 1326 | "protos/perfetto/trace/android/android_log.proto", |
Florian Mayer | 12f0f8e | 2019-04-02 12:31:13 +0100 | [diff] [blame] | 1327 | "protos/perfetto/trace/android/packages_list.proto", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1328 | ], |
| 1329 | tools: [ |
| 1330 | "aprotoc", |
| 1331 | ], |
| 1332 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 1333 | out: [ |
| 1334 | "external/perfetto/protos/perfetto/trace/android/android_log.pb.h", |
Florian Mayer | 12f0f8e | 2019-04-02 12:31:13 +0100 | [diff] [blame] | 1335 | "external/perfetto/protos/perfetto/trace/android/packages_list.pb.h", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1336 | ], |
| 1337 | export_include_dirs: [ |
| 1338 | "protos", |
| 1339 | ], |
| 1340 | } |
| 1341 | |
| 1342 | // GN target: //protos/perfetto/trace/android:zero_gen |
| 1343 | genrule { |
| 1344 | name: "perfetto_protos_perfetto_trace_android_zero_gen", |
| 1345 | srcs: [ |
| 1346 | "protos/perfetto/trace/android/android_log.proto", |
Florian Mayer | 12f0f8e | 2019-04-02 12:31:13 +0100 | [diff] [blame] | 1347 | "protos/perfetto/trace/android/packages_list.proto", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1348 | ], |
| 1349 | tools: [ |
| 1350 | "aprotoc", |
| 1351 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 1352 | ], |
| 1353 | 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)", |
| 1354 | out: [ |
| 1355 | "external/perfetto/protos/perfetto/trace/android/android_log.pbzero.cc", |
Florian Mayer | 12f0f8e | 2019-04-02 12:31:13 +0100 | [diff] [blame] | 1356 | "external/perfetto/protos/perfetto/trace/android/packages_list.pbzero.cc", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1357 | ], |
| 1358 | } |
| 1359 | |
| 1360 | // GN target: //protos/perfetto/trace/android:zero_gen |
| 1361 | genrule { |
| 1362 | name: "perfetto_protos_perfetto_trace_android_zero_gen_headers", |
| 1363 | srcs: [ |
| 1364 | "protos/perfetto/trace/android/android_log.proto", |
Florian Mayer | 12f0f8e | 2019-04-02 12:31:13 +0100 | [diff] [blame] | 1365 | "protos/perfetto/trace/android/packages_list.proto", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1366 | ], |
| 1367 | tools: [ |
| 1368 | "aprotoc", |
| 1369 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 1370 | ], |
| 1371 | 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)", |
| 1372 | out: [ |
| 1373 | "external/perfetto/protos/perfetto/trace/android/android_log.pbzero.h", |
Florian Mayer | 12f0f8e | 2019-04-02 12:31:13 +0100 | [diff] [blame] | 1374 | "external/perfetto/protos/perfetto/trace/android/packages_list.pbzero.h", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1375 | ], |
| 1376 | export_include_dirs: [ |
| 1377 | "protos", |
| 1378 | ], |
| 1379 | } |
| 1380 | |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 1381 | // GN target: //protos/perfetto/trace/chrome:lite_gen |
| 1382 | genrule { |
| 1383 | name: "perfetto_protos_perfetto_trace_chrome_lite_gen", |
| 1384 | srcs: [ |
Mikhail Khokhlov | 5b60af5 | 2019-05-15 10:09:34 +0100 | [diff] [blame] | 1385 | "protos/perfetto/trace/chrome/chrome_benchmark_metadata.proto", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 1386 | "protos/perfetto/trace/chrome/chrome_trace_event.proto", |
| 1387 | ], |
| 1388 | tools: [ |
| 1389 | "aprotoc", |
| 1390 | ], |
| 1391 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 1392 | out: [ |
Mikhail Khokhlov | 5b60af5 | 2019-05-15 10:09:34 +0100 | [diff] [blame] | 1393 | "external/perfetto/protos/perfetto/trace/chrome/chrome_benchmark_metadata.pb.cc", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 1394 | "external/perfetto/protos/perfetto/trace/chrome/chrome_trace_event.pb.cc", |
| 1395 | ], |
| 1396 | } |
| 1397 | |
| 1398 | // GN target: //protos/perfetto/trace/chrome:lite_gen |
| 1399 | genrule { |
| 1400 | name: "perfetto_protos_perfetto_trace_chrome_lite_gen_headers", |
| 1401 | srcs: [ |
Mikhail Khokhlov | 5b60af5 | 2019-05-15 10:09:34 +0100 | [diff] [blame] | 1402 | "protos/perfetto/trace/chrome/chrome_benchmark_metadata.proto", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 1403 | "protos/perfetto/trace/chrome/chrome_trace_event.proto", |
| 1404 | ], |
| 1405 | tools: [ |
| 1406 | "aprotoc", |
| 1407 | ], |
| 1408 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 1409 | out: [ |
Mikhail Khokhlov | 5b60af5 | 2019-05-15 10:09:34 +0100 | [diff] [blame] | 1410 | "external/perfetto/protos/perfetto/trace/chrome/chrome_benchmark_metadata.pb.h", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 1411 | "external/perfetto/protos/perfetto/trace/chrome/chrome_trace_event.pb.h", |
| 1412 | ], |
| 1413 | export_include_dirs: [ |
| 1414 | "protos", |
| 1415 | ], |
| 1416 | } |
| 1417 | |
| 1418 | // GN target: //protos/perfetto/trace/chrome:zero_gen |
| 1419 | genrule { |
| 1420 | name: "perfetto_protos_perfetto_trace_chrome_zero_gen", |
| 1421 | srcs: [ |
Mikhail Khokhlov | 5b60af5 | 2019-05-15 10:09:34 +0100 | [diff] [blame] | 1422 | "protos/perfetto/trace/chrome/chrome_benchmark_metadata.proto", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 1423 | "protos/perfetto/trace/chrome/chrome_trace_event.proto", |
| 1424 | ], |
| 1425 | tools: [ |
| 1426 | "aprotoc", |
| 1427 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 1428 | ], |
| 1429 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
| 1430 | out: [ |
Mikhail Khokhlov | 5b60af5 | 2019-05-15 10:09:34 +0100 | [diff] [blame] | 1431 | "external/perfetto/protos/perfetto/trace/chrome/chrome_benchmark_metadata.pbzero.cc", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 1432 | "external/perfetto/protos/perfetto/trace/chrome/chrome_trace_event.pbzero.cc", |
| 1433 | ], |
| 1434 | } |
| 1435 | |
| 1436 | // GN target: //protos/perfetto/trace/chrome:zero_gen |
| 1437 | genrule { |
| 1438 | name: "perfetto_protos_perfetto_trace_chrome_zero_gen_headers", |
| 1439 | srcs: [ |
Mikhail Khokhlov | 5b60af5 | 2019-05-15 10:09:34 +0100 | [diff] [blame] | 1440 | "protos/perfetto/trace/chrome/chrome_benchmark_metadata.proto", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 1441 | "protos/perfetto/trace/chrome/chrome_trace_event.proto", |
| 1442 | ], |
| 1443 | tools: [ |
| 1444 | "aprotoc", |
| 1445 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 1446 | ], |
| 1447 | 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)", |
| 1448 | out: [ |
Mikhail Khokhlov | 5b60af5 | 2019-05-15 10:09:34 +0100 | [diff] [blame] | 1449 | "external/perfetto/protos/perfetto/trace/chrome/chrome_benchmark_metadata.pbzero.h", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 1450 | "external/perfetto/protos/perfetto/trace/chrome/chrome_trace_event.pbzero.h", |
| 1451 | ], |
| 1452 | export_include_dirs: [ |
| 1453 | "protos", |
| 1454 | ], |
| 1455 | } |
| 1456 | |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 1457 | // GN target: //protos/perfetto/trace/filesystem:lite_gen |
| 1458 | genrule { |
| 1459 | name: "perfetto_protos_perfetto_trace_filesystem_lite_gen", |
| 1460 | srcs: [ |
| 1461 | "protos/perfetto/trace/filesystem/inode_file_map.proto", |
| 1462 | ], |
| 1463 | tools: [ |
| 1464 | "aprotoc", |
| 1465 | ], |
| 1466 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 1467 | out: [ |
| 1468 | "external/perfetto/protos/perfetto/trace/filesystem/inode_file_map.pb.cc", |
| 1469 | ], |
| 1470 | } |
| 1471 | |
| 1472 | // GN target: //protos/perfetto/trace/filesystem:lite_gen |
| 1473 | genrule { |
| 1474 | name: "perfetto_protos_perfetto_trace_filesystem_lite_gen_headers", |
| 1475 | srcs: [ |
| 1476 | "protos/perfetto/trace/filesystem/inode_file_map.proto", |
| 1477 | ], |
| 1478 | tools: [ |
| 1479 | "aprotoc", |
| 1480 | ], |
| 1481 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 1482 | out: [ |
| 1483 | "external/perfetto/protos/perfetto/trace/filesystem/inode_file_map.pb.h", |
| 1484 | ], |
| 1485 | export_include_dirs: [ |
| 1486 | "protos", |
| 1487 | ], |
| 1488 | } |
| 1489 | |
| 1490 | // GN target: //protos/perfetto/trace/filesystem:zero_gen |
| 1491 | genrule { |
| 1492 | name: "perfetto_protos_perfetto_trace_filesystem_zero_gen", |
| 1493 | srcs: [ |
| 1494 | "protos/perfetto/trace/filesystem/inode_file_map.proto", |
| 1495 | ], |
| 1496 | tools: [ |
| 1497 | "aprotoc", |
| 1498 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 1499 | ], |
| 1500 | 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)", |
| 1501 | out: [ |
| 1502 | "external/perfetto/protos/perfetto/trace/filesystem/inode_file_map.pbzero.cc", |
| 1503 | ], |
| 1504 | } |
| 1505 | |
| 1506 | // GN target: //protos/perfetto/trace/filesystem:zero_gen |
| 1507 | genrule { |
| 1508 | name: "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers", |
| 1509 | srcs: [ |
| 1510 | "protos/perfetto/trace/filesystem/inode_file_map.proto", |
| 1511 | ], |
| 1512 | tools: [ |
| 1513 | "aprotoc", |
| 1514 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 1515 | ], |
| 1516 | 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)", |
| 1517 | out: [ |
| 1518 | "external/perfetto/protos/perfetto/trace/filesystem/inode_file_map.pbzero.h", |
| 1519 | ], |
| 1520 | export_include_dirs: [ |
| 1521 | "protos", |
| 1522 | ], |
| 1523 | } |
| 1524 | |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1525 | // GN target: //protos/perfetto/trace/ftrace:lite_gen |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 1526 | genrule { |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1527 | name: "perfetto_protos_perfetto_trace_ftrace_lite_gen", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 1528 | srcs: [ |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1529 | "protos/perfetto/trace/ftrace/binder.proto", |
| 1530 | "protos/perfetto/trace/ftrace/block.proto", |
| 1531 | "protos/perfetto/trace/ftrace/cgroup.proto", |
| 1532 | "protos/perfetto/trace/ftrace/clk.proto", |
| 1533 | "protos/perfetto/trace/ftrace/compaction.proto", |
| 1534 | "protos/perfetto/trace/ftrace/ext4.proto", |
| 1535 | "protos/perfetto/trace/ftrace/f2fs.proto", |
| 1536 | "protos/perfetto/trace/ftrace/fence.proto", |
| 1537 | "protos/perfetto/trace/ftrace/filemap.proto", |
| 1538 | "protos/perfetto/trace/ftrace/ftrace.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1539 | "protos/perfetto/trace/ftrace/ftrace_event.proto", |
| 1540 | "protos/perfetto/trace/ftrace/ftrace_event_bundle.proto", |
Hector Dearman | 3afb1e0 | 2018-04-27 16:46:52 +0100 | [diff] [blame] | 1541 | "protos/perfetto/trace/ftrace/ftrace_stats.proto", |
Isabelle Taylor | 98e560d | 2018-11-22 11:59:12 +0000 | [diff] [blame] | 1542 | "protos/perfetto/trace/ftrace/generic.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1543 | "protos/perfetto/trace/ftrace/i2c.proto", |
| 1544 | "protos/perfetto/trace/ftrace/ipi.proto", |
| 1545 | "protos/perfetto/trace/ftrace/irq.proto", |
| 1546 | "protos/perfetto/trace/ftrace/kmem.proto", |
| 1547 | "protos/perfetto/trace/ftrace/lowmemorykiller.proto", |
| 1548 | "protos/perfetto/trace/ftrace/mdss.proto", |
Lalit Maganti | 3bd67ef | 2019-01-18 17:44:09 +0000 | [diff] [blame] | 1549 | "protos/perfetto/trace/ftrace/mm_event.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1550 | "protos/perfetto/trace/ftrace/oom.proto", |
| 1551 | "protos/perfetto/trace/ftrace/power.proto", |
Lalit Maganti | a73a725 | 2019-01-25 10:32:40 +0000 | [diff] [blame] | 1552 | "protos/perfetto/trace/ftrace/raw_syscalls.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1553 | "protos/perfetto/trace/ftrace/regulator.proto", |
| 1554 | "protos/perfetto/trace/ftrace/sched.proto", |
| 1555 | "protos/perfetto/trace/ftrace/signal.proto", |
| 1556 | "protos/perfetto/trace/ftrace/sync.proto", |
| 1557 | "protos/perfetto/trace/ftrace/task.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1558 | "protos/perfetto/trace/ftrace/test_bundle_wrapper.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1559 | "protos/perfetto/trace/ftrace/vmscan.proto", |
| 1560 | "protos/perfetto/trace/ftrace/workqueue.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1561 | ], |
| 1562 | tools: [ |
| 1563 | "aprotoc", |
| 1564 | ], |
| 1565 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 1566 | out: [ |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1567 | "external/perfetto/protos/perfetto/trace/ftrace/binder.pb.cc", |
| 1568 | "external/perfetto/protos/perfetto/trace/ftrace/block.pb.cc", |
| 1569 | "external/perfetto/protos/perfetto/trace/ftrace/cgroup.pb.cc", |
| 1570 | "external/perfetto/protos/perfetto/trace/ftrace/clk.pb.cc", |
| 1571 | "external/perfetto/protos/perfetto/trace/ftrace/compaction.pb.cc", |
| 1572 | "external/perfetto/protos/perfetto/trace/ftrace/ext4.pb.cc", |
| 1573 | "external/perfetto/protos/perfetto/trace/ftrace/f2fs.pb.cc", |
| 1574 | "external/perfetto/protos/perfetto/trace/ftrace/fence.pb.cc", |
| 1575 | "external/perfetto/protos/perfetto/trace/ftrace/filemap.pb.cc", |
| 1576 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace.pb.cc", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1577 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace_event.pb.cc", |
| 1578 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace_event_bundle.pb.cc", |
Hector Dearman | 3afb1e0 | 2018-04-27 16:46:52 +0100 | [diff] [blame] | 1579 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace_stats.pb.cc", |
Isabelle Taylor | 98e560d | 2018-11-22 11:59:12 +0000 | [diff] [blame] | 1580 | "external/perfetto/protos/perfetto/trace/ftrace/generic.pb.cc", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1581 | "external/perfetto/protos/perfetto/trace/ftrace/i2c.pb.cc", |
| 1582 | "external/perfetto/protos/perfetto/trace/ftrace/ipi.pb.cc", |
| 1583 | "external/perfetto/protos/perfetto/trace/ftrace/irq.pb.cc", |
| 1584 | "external/perfetto/protos/perfetto/trace/ftrace/kmem.pb.cc", |
| 1585 | "external/perfetto/protos/perfetto/trace/ftrace/lowmemorykiller.pb.cc", |
| 1586 | "external/perfetto/protos/perfetto/trace/ftrace/mdss.pb.cc", |
Lalit Maganti | 3bd67ef | 2019-01-18 17:44:09 +0000 | [diff] [blame] | 1587 | "external/perfetto/protos/perfetto/trace/ftrace/mm_event.pb.cc", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1588 | "external/perfetto/protos/perfetto/trace/ftrace/oom.pb.cc", |
| 1589 | "external/perfetto/protos/perfetto/trace/ftrace/power.pb.cc", |
Lalit Maganti | a73a725 | 2019-01-25 10:32:40 +0000 | [diff] [blame] | 1590 | "external/perfetto/protos/perfetto/trace/ftrace/raw_syscalls.pb.cc", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1591 | "external/perfetto/protos/perfetto/trace/ftrace/regulator.pb.cc", |
| 1592 | "external/perfetto/protos/perfetto/trace/ftrace/sched.pb.cc", |
| 1593 | "external/perfetto/protos/perfetto/trace/ftrace/signal.pb.cc", |
| 1594 | "external/perfetto/protos/perfetto/trace/ftrace/sync.pb.cc", |
| 1595 | "external/perfetto/protos/perfetto/trace/ftrace/task.pb.cc", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1596 | "external/perfetto/protos/perfetto/trace/ftrace/test_bundle_wrapper.pb.cc", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1597 | "external/perfetto/protos/perfetto/trace/ftrace/vmscan.pb.cc", |
| 1598 | "external/perfetto/protos/perfetto/trace/ftrace/workqueue.pb.cc", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1599 | ], |
| 1600 | } |
| 1601 | |
| 1602 | // GN target: //protos/perfetto/trace/ftrace:lite_gen |
| 1603 | genrule { |
| 1604 | name: "perfetto_protos_perfetto_trace_ftrace_lite_gen_headers", |
| 1605 | srcs: [ |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1606 | "protos/perfetto/trace/ftrace/binder.proto", |
| 1607 | "protos/perfetto/trace/ftrace/block.proto", |
| 1608 | "protos/perfetto/trace/ftrace/cgroup.proto", |
| 1609 | "protos/perfetto/trace/ftrace/clk.proto", |
| 1610 | "protos/perfetto/trace/ftrace/compaction.proto", |
| 1611 | "protos/perfetto/trace/ftrace/ext4.proto", |
| 1612 | "protos/perfetto/trace/ftrace/f2fs.proto", |
| 1613 | "protos/perfetto/trace/ftrace/fence.proto", |
| 1614 | "protos/perfetto/trace/ftrace/filemap.proto", |
| 1615 | "protos/perfetto/trace/ftrace/ftrace.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1616 | "protos/perfetto/trace/ftrace/ftrace_event.proto", |
| 1617 | "protos/perfetto/trace/ftrace/ftrace_event_bundle.proto", |
Hector Dearman | 3afb1e0 | 2018-04-27 16:46:52 +0100 | [diff] [blame] | 1618 | "protos/perfetto/trace/ftrace/ftrace_stats.proto", |
Isabelle Taylor | 98e560d | 2018-11-22 11:59:12 +0000 | [diff] [blame] | 1619 | "protos/perfetto/trace/ftrace/generic.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1620 | "protos/perfetto/trace/ftrace/i2c.proto", |
| 1621 | "protos/perfetto/trace/ftrace/ipi.proto", |
| 1622 | "protos/perfetto/trace/ftrace/irq.proto", |
| 1623 | "protos/perfetto/trace/ftrace/kmem.proto", |
| 1624 | "protos/perfetto/trace/ftrace/lowmemorykiller.proto", |
| 1625 | "protos/perfetto/trace/ftrace/mdss.proto", |
Lalit Maganti | 3bd67ef | 2019-01-18 17:44:09 +0000 | [diff] [blame] | 1626 | "protos/perfetto/trace/ftrace/mm_event.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1627 | "protos/perfetto/trace/ftrace/oom.proto", |
| 1628 | "protos/perfetto/trace/ftrace/power.proto", |
Lalit Maganti | a73a725 | 2019-01-25 10:32:40 +0000 | [diff] [blame] | 1629 | "protos/perfetto/trace/ftrace/raw_syscalls.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1630 | "protos/perfetto/trace/ftrace/regulator.proto", |
| 1631 | "protos/perfetto/trace/ftrace/sched.proto", |
| 1632 | "protos/perfetto/trace/ftrace/signal.proto", |
| 1633 | "protos/perfetto/trace/ftrace/sync.proto", |
| 1634 | "protos/perfetto/trace/ftrace/task.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1635 | "protos/perfetto/trace/ftrace/test_bundle_wrapper.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1636 | "protos/perfetto/trace/ftrace/vmscan.proto", |
| 1637 | "protos/perfetto/trace/ftrace/workqueue.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1638 | ], |
| 1639 | tools: [ |
| 1640 | "aprotoc", |
| 1641 | ], |
| 1642 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 1643 | out: [ |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1644 | "external/perfetto/protos/perfetto/trace/ftrace/binder.pb.h", |
| 1645 | "external/perfetto/protos/perfetto/trace/ftrace/block.pb.h", |
| 1646 | "external/perfetto/protos/perfetto/trace/ftrace/cgroup.pb.h", |
| 1647 | "external/perfetto/protos/perfetto/trace/ftrace/clk.pb.h", |
| 1648 | "external/perfetto/protos/perfetto/trace/ftrace/compaction.pb.h", |
| 1649 | "external/perfetto/protos/perfetto/trace/ftrace/ext4.pb.h", |
| 1650 | "external/perfetto/protos/perfetto/trace/ftrace/f2fs.pb.h", |
| 1651 | "external/perfetto/protos/perfetto/trace/ftrace/fence.pb.h", |
| 1652 | "external/perfetto/protos/perfetto/trace/ftrace/filemap.pb.h", |
| 1653 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace.pb.h", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1654 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace_event.pb.h", |
| 1655 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace_event_bundle.pb.h", |
Hector Dearman | 3afb1e0 | 2018-04-27 16:46:52 +0100 | [diff] [blame] | 1656 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace_stats.pb.h", |
Isabelle Taylor | 98e560d | 2018-11-22 11:59:12 +0000 | [diff] [blame] | 1657 | "external/perfetto/protos/perfetto/trace/ftrace/generic.pb.h", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1658 | "external/perfetto/protos/perfetto/trace/ftrace/i2c.pb.h", |
| 1659 | "external/perfetto/protos/perfetto/trace/ftrace/ipi.pb.h", |
| 1660 | "external/perfetto/protos/perfetto/trace/ftrace/irq.pb.h", |
| 1661 | "external/perfetto/protos/perfetto/trace/ftrace/kmem.pb.h", |
| 1662 | "external/perfetto/protos/perfetto/trace/ftrace/lowmemorykiller.pb.h", |
| 1663 | "external/perfetto/protos/perfetto/trace/ftrace/mdss.pb.h", |
Lalit Maganti | 3bd67ef | 2019-01-18 17:44:09 +0000 | [diff] [blame] | 1664 | "external/perfetto/protos/perfetto/trace/ftrace/mm_event.pb.h", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1665 | "external/perfetto/protos/perfetto/trace/ftrace/oom.pb.h", |
| 1666 | "external/perfetto/protos/perfetto/trace/ftrace/power.pb.h", |
Lalit Maganti | a73a725 | 2019-01-25 10:32:40 +0000 | [diff] [blame] | 1667 | "external/perfetto/protos/perfetto/trace/ftrace/raw_syscalls.pb.h", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1668 | "external/perfetto/protos/perfetto/trace/ftrace/regulator.pb.h", |
| 1669 | "external/perfetto/protos/perfetto/trace/ftrace/sched.pb.h", |
| 1670 | "external/perfetto/protos/perfetto/trace/ftrace/signal.pb.h", |
| 1671 | "external/perfetto/protos/perfetto/trace/ftrace/sync.pb.h", |
| 1672 | "external/perfetto/protos/perfetto/trace/ftrace/task.pb.h", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1673 | "external/perfetto/protos/perfetto/trace/ftrace/test_bundle_wrapper.pb.h", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1674 | "external/perfetto/protos/perfetto/trace/ftrace/vmscan.pb.h", |
| 1675 | "external/perfetto/protos/perfetto/trace/ftrace/workqueue.pb.h", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1676 | ], |
| 1677 | export_include_dirs: [ |
| 1678 | "protos", |
| 1679 | ], |
| 1680 | } |
| 1681 | |
| 1682 | // GN target: //protos/perfetto/trace/ftrace:zero_gen |
| 1683 | genrule { |
| 1684 | name: "perfetto_protos_perfetto_trace_ftrace_zero_gen", |
| 1685 | srcs: [ |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1686 | "protos/perfetto/trace/ftrace/binder.proto", |
| 1687 | "protos/perfetto/trace/ftrace/block.proto", |
| 1688 | "protos/perfetto/trace/ftrace/cgroup.proto", |
| 1689 | "protos/perfetto/trace/ftrace/clk.proto", |
| 1690 | "protos/perfetto/trace/ftrace/compaction.proto", |
| 1691 | "protos/perfetto/trace/ftrace/ext4.proto", |
| 1692 | "protos/perfetto/trace/ftrace/f2fs.proto", |
| 1693 | "protos/perfetto/trace/ftrace/fence.proto", |
| 1694 | "protos/perfetto/trace/ftrace/filemap.proto", |
| 1695 | "protos/perfetto/trace/ftrace/ftrace.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1696 | "protos/perfetto/trace/ftrace/ftrace_event.proto", |
| 1697 | "protos/perfetto/trace/ftrace/ftrace_event_bundle.proto", |
Hector Dearman | 3afb1e0 | 2018-04-27 16:46:52 +0100 | [diff] [blame] | 1698 | "protos/perfetto/trace/ftrace/ftrace_stats.proto", |
Isabelle Taylor | 98e560d | 2018-11-22 11:59:12 +0000 | [diff] [blame] | 1699 | "protos/perfetto/trace/ftrace/generic.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1700 | "protos/perfetto/trace/ftrace/i2c.proto", |
| 1701 | "protos/perfetto/trace/ftrace/ipi.proto", |
| 1702 | "protos/perfetto/trace/ftrace/irq.proto", |
| 1703 | "protos/perfetto/trace/ftrace/kmem.proto", |
| 1704 | "protos/perfetto/trace/ftrace/lowmemorykiller.proto", |
| 1705 | "protos/perfetto/trace/ftrace/mdss.proto", |
Lalit Maganti | 3bd67ef | 2019-01-18 17:44:09 +0000 | [diff] [blame] | 1706 | "protos/perfetto/trace/ftrace/mm_event.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1707 | "protos/perfetto/trace/ftrace/oom.proto", |
| 1708 | "protos/perfetto/trace/ftrace/power.proto", |
Lalit Maganti | a73a725 | 2019-01-25 10:32:40 +0000 | [diff] [blame] | 1709 | "protos/perfetto/trace/ftrace/raw_syscalls.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1710 | "protos/perfetto/trace/ftrace/regulator.proto", |
| 1711 | "protos/perfetto/trace/ftrace/sched.proto", |
| 1712 | "protos/perfetto/trace/ftrace/signal.proto", |
| 1713 | "protos/perfetto/trace/ftrace/sync.proto", |
| 1714 | "protos/perfetto/trace/ftrace/task.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1715 | "protos/perfetto/trace/ftrace/test_bundle_wrapper.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1716 | "protos/perfetto/trace/ftrace/vmscan.proto", |
| 1717 | "protos/perfetto/trace/ftrace/workqueue.proto", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 1718 | ], |
| 1719 | tools: [ |
| 1720 | "aprotoc", |
| 1721 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 1722 | ], |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1723 | 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] | 1724 | out: [ |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1725 | "external/perfetto/protos/perfetto/trace/ftrace/binder.pbzero.cc", |
| 1726 | "external/perfetto/protos/perfetto/trace/ftrace/block.pbzero.cc", |
| 1727 | "external/perfetto/protos/perfetto/trace/ftrace/cgroup.pbzero.cc", |
| 1728 | "external/perfetto/protos/perfetto/trace/ftrace/clk.pbzero.cc", |
| 1729 | "external/perfetto/protos/perfetto/trace/ftrace/compaction.pbzero.cc", |
| 1730 | "external/perfetto/protos/perfetto/trace/ftrace/ext4.pbzero.cc", |
| 1731 | "external/perfetto/protos/perfetto/trace/ftrace/f2fs.pbzero.cc", |
| 1732 | "external/perfetto/protos/perfetto/trace/ftrace/fence.pbzero.cc", |
| 1733 | "external/perfetto/protos/perfetto/trace/ftrace/filemap.pbzero.cc", |
| 1734 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace.pbzero.cc", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1735 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace_event.pbzero.cc", |
| 1736 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace_event_bundle.pbzero.cc", |
Hector Dearman | 3afb1e0 | 2018-04-27 16:46:52 +0100 | [diff] [blame] | 1737 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace_stats.pbzero.cc", |
Isabelle Taylor | 98e560d | 2018-11-22 11:59:12 +0000 | [diff] [blame] | 1738 | "external/perfetto/protos/perfetto/trace/ftrace/generic.pbzero.cc", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1739 | "external/perfetto/protos/perfetto/trace/ftrace/i2c.pbzero.cc", |
| 1740 | "external/perfetto/protos/perfetto/trace/ftrace/ipi.pbzero.cc", |
| 1741 | "external/perfetto/protos/perfetto/trace/ftrace/irq.pbzero.cc", |
| 1742 | "external/perfetto/protos/perfetto/trace/ftrace/kmem.pbzero.cc", |
| 1743 | "external/perfetto/protos/perfetto/trace/ftrace/lowmemorykiller.pbzero.cc", |
| 1744 | "external/perfetto/protos/perfetto/trace/ftrace/mdss.pbzero.cc", |
Lalit Maganti | 3bd67ef | 2019-01-18 17:44:09 +0000 | [diff] [blame] | 1745 | "external/perfetto/protos/perfetto/trace/ftrace/mm_event.pbzero.cc", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1746 | "external/perfetto/protos/perfetto/trace/ftrace/oom.pbzero.cc", |
| 1747 | "external/perfetto/protos/perfetto/trace/ftrace/power.pbzero.cc", |
Lalit Maganti | a73a725 | 2019-01-25 10:32:40 +0000 | [diff] [blame] | 1748 | "external/perfetto/protos/perfetto/trace/ftrace/raw_syscalls.pbzero.cc", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1749 | "external/perfetto/protos/perfetto/trace/ftrace/regulator.pbzero.cc", |
| 1750 | "external/perfetto/protos/perfetto/trace/ftrace/sched.pbzero.cc", |
| 1751 | "external/perfetto/protos/perfetto/trace/ftrace/signal.pbzero.cc", |
| 1752 | "external/perfetto/protos/perfetto/trace/ftrace/sync.pbzero.cc", |
| 1753 | "external/perfetto/protos/perfetto/trace/ftrace/task.pbzero.cc", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1754 | "external/perfetto/protos/perfetto/trace/ftrace/test_bundle_wrapper.pbzero.cc", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1755 | "external/perfetto/protos/perfetto/trace/ftrace/vmscan.pbzero.cc", |
| 1756 | "external/perfetto/protos/perfetto/trace/ftrace/workqueue.pbzero.cc", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 1757 | ], |
| 1758 | } |
| 1759 | |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1760 | // GN target: //protos/perfetto/trace/ftrace:zero_gen |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 1761 | genrule { |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1762 | name: "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 1763 | srcs: [ |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1764 | "protos/perfetto/trace/ftrace/binder.proto", |
| 1765 | "protos/perfetto/trace/ftrace/block.proto", |
| 1766 | "protos/perfetto/trace/ftrace/cgroup.proto", |
| 1767 | "protos/perfetto/trace/ftrace/clk.proto", |
| 1768 | "protos/perfetto/trace/ftrace/compaction.proto", |
| 1769 | "protos/perfetto/trace/ftrace/ext4.proto", |
| 1770 | "protos/perfetto/trace/ftrace/f2fs.proto", |
| 1771 | "protos/perfetto/trace/ftrace/fence.proto", |
| 1772 | "protos/perfetto/trace/ftrace/filemap.proto", |
| 1773 | "protos/perfetto/trace/ftrace/ftrace.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1774 | "protos/perfetto/trace/ftrace/ftrace_event.proto", |
| 1775 | "protos/perfetto/trace/ftrace/ftrace_event_bundle.proto", |
Hector Dearman | 3afb1e0 | 2018-04-27 16:46:52 +0100 | [diff] [blame] | 1776 | "protos/perfetto/trace/ftrace/ftrace_stats.proto", |
Isabelle Taylor | 98e560d | 2018-11-22 11:59:12 +0000 | [diff] [blame] | 1777 | "protos/perfetto/trace/ftrace/generic.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1778 | "protos/perfetto/trace/ftrace/i2c.proto", |
| 1779 | "protos/perfetto/trace/ftrace/ipi.proto", |
| 1780 | "protos/perfetto/trace/ftrace/irq.proto", |
| 1781 | "protos/perfetto/trace/ftrace/kmem.proto", |
| 1782 | "protos/perfetto/trace/ftrace/lowmemorykiller.proto", |
| 1783 | "protos/perfetto/trace/ftrace/mdss.proto", |
Lalit Maganti | 3bd67ef | 2019-01-18 17:44:09 +0000 | [diff] [blame] | 1784 | "protos/perfetto/trace/ftrace/mm_event.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1785 | "protos/perfetto/trace/ftrace/oom.proto", |
| 1786 | "protos/perfetto/trace/ftrace/power.proto", |
Lalit Maganti | a73a725 | 2019-01-25 10:32:40 +0000 | [diff] [blame] | 1787 | "protos/perfetto/trace/ftrace/raw_syscalls.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1788 | "protos/perfetto/trace/ftrace/regulator.proto", |
| 1789 | "protos/perfetto/trace/ftrace/sched.proto", |
| 1790 | "protos/perfetto/trace/ftrace/signal.proto", |
| 1791 | "protos/perfetto/trace/ftrace/sync.proto", |
| 1792 | "protos/perfetto/trace/ftrace/task.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1793 | "protos/perfetto/trace/ftrace/test_bundle_wrapper.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1794 | "protos/perfetto/trace/ftrace/vmscan.proto", |
| 1795 | "protos/perfetto/trace/ftrace/workqueue.proto", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 1796 | ], |
| 1797 | tools: [ |
| 1798 | "aprotoc", |
| 1799 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 1800 | ], |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1801 | 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] | 1802 | out: [ |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1803 | "external/perfetto/protos/perfetto/trace/ftrace/binder.pbzero.h", |
| 1804 | "external/perfetto/protos/perfetto/trace/ftrace/block.pbzero.h", |
| 1805 | "external/perfetto/protos/perfetto/trace/ftrace/cgroup.pbzero.h", |
| 1806 | "external/perfetto/protos/perfetto/trace/ftrace/clk.pbzero.h", |
| 1807 | "external/perfetto/protos/perfetto/trace/ftrace/compaction.pbzero.h", |
| 1808 | "external/perfetto/protos/perfetto/trace/ftrace/ext4.pbzero.h", |
| 1809 | "external/perfetto/protos/perfetto/trace/ftrace/f2fs.pbzero.h", |
| 1810 | "external/perfetto/protos/perfetto/trace/ftrace/fence.pbzero.h", |
| 1811 | "external/perfetto/protos/perfetto/trace/ftrace/filemap.pbzero.h", |
| 1812 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace.pbzero.h", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1813 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace_event.pbzero.h", |
| 1814 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace_event_bundle.pbzero.h", |
Hector Dearman | 3afb1e0 | 2018-04-27 16:46:52 +0100 | [diff] [blame] | 1815 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace_stats.pbzero.h", |
Isabelle Taylor | 98e560d | 2018-11-22 11:59:12 +0000 | [diff] [blame] | 1816 | "external/perfetto/protos/perfetto/trace/ftrace/generic.pbzero.h", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1817 | "external/perfetto/protos/perfetto/trace/ftrace/i2c.pbzero.h", |
| 1818 | "external/perfetto/protos/perfetto/trace/ftrace/ipi.pbzero.h", |
| 1819 | "external/perfetto/protos/perfetto/trace/ftrace/irq.pbzero.h", |
| 1820 | "external/perfetto/protos/perfetto/trace/ftrace/kmem.pbzero.h", |
| 1821 | "external/perfetto/protos/perfetto/trace/ftrace/lowmemorykiller.pbzero.h", |
| 1822 | "external/perfetto/protos/perfetto/trace/ftrace/mdss.pbzero.h", |
Lalit Maganti | 3bd67ef | 2019-01-18 17:44:09 +0000 | [diff] [blame] | 1823 | "external/perfetto/protos/perfetto/trace/ftrace/mm_event.pbzero.h", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1824 | "external/perfetto/protos/perfetto/trace/ftrace/oom.pbzero.h", |
| 1825 | "external/perfetto/protos/perfetto/trace/ftrace/power.pbzero.h", |
Lalit Maganti | a73a725 | 2019-01-25 10:32:40 +0000 | [diff] [blame] | 1826 | "external/perfetto/protos/perfetto/trace/ftrace/raw_syscalls.pbzero.h", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1827 | "external/perfetto/protos/perfetto/trace/ftrace/regulator.pbzero.h", |
| 1828 | "external/perfetto/protos/perfetto/trace/ftrace/sched.pbzero.h", |
| 1829 | "external/perfetto/protos/perfetto/trace/ftrace/signal.pbzero.h", |
| 1830 | "external/perfetto/protos/perfetto/trace/ftrace/sync.pbzero.h", |
| 1831 | "external/perfetto/protos/perfetto/trace/ftrace/task.pbzero.h", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1832 | "external/perfetto/protos/perfetto/trace/ftrace/test_bundle_wrapper.pbzero.h", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1833 | "external/perfetto/protos/perfetto/trace/ftrace/vmscan.pbzero.h", |
| 1834 | "external/perfetto/protos/perfetto/trace/ftrace/workqueue.pbzero.h", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 1835 | ], |
| 1836 | export_include_dirs: [ |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1837 | "protos", |
| 1838 | ], |
| 1839 | } |
| 1840 | |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 1841 | // GN target: //protos/perfetto/trace/interned_data:lite_gen |
| 1842 | genrule { |
| 1843 | name: "perfetto_protos_perfetto_trace_interned_data_lite_gen", |
| 1844 | srcs: [ |
| 1845 | "protos/perfetto/trace/interned_data/interned_data.proto", |
| 1846 | ], |
| 1847 | tools: [ |
| 1848 | "aprotoc", |
| 1849 | ], |
| 1850 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 1851 | out: [ |
| 1852 | "external/perfetto/protos/perfetto/trace/interned_data/interned_data.pb.cc", |
| 1853 | ], |
| 1854 | } |
| 1855 | |
| 1856 | // GN target: //protos/perfetto/trace/interned_data:lite_gen |
| 1857 | genrule { |
| 1858 | name: "perfetto_protos_perfetto_trace_interned_data_lite_gen_headers", |
| 1859 | srcs: [ |
| 1860 | "protos/perfetto/trace/interned_data/interned_data.proto", |
| 1861 | ], |
| 1862 | tools: [ |
| 1863 | "aprotoc", |
| 1864 | ], |
| 1865 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 1866 | out: [ |
| 1867 | "external/perfetto/protos/perfetto/trace/interned_data/interned_data.pb.h", |
| 1868 | ], |
| 1869 | export_include_dirs: [ |
| 1870 | "protos", |
| 1871 | ], |
| 1872 | } |
| 1873 | |
| 1874 | // GN target: //protos/perfetto/trace/interned_data:zero_gen |
| 1875 | genrule { |
| 1876 | name: "perfetto_protos_perfetto_trace_interned_data_zero_gen", |
| 1877 | srcs: [ |
| 1878 | "protos/perfetto/trace/interned_data/interned_data.proto", |
| 1879 | ], |
| 1880 | tools: [ |
| 1881 | "aprotoc", |
| 1882 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 1883 | ], |
| 1884 | 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)", |
| 1885 | out: [ |
| 1886 | "external/perfetto/protos/perfetto/trace/interned_data/interned_data.pbzero.cc", |
| 1887 | ], |
| 1888 | } |
| 1889 | |
| 1890 | // GN target: //protos/perfetto/trace/interned_data:zero_gen |
| 1891 | genrule { |
| 1892 | name: "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers", |
| 1893 | srcs: [ |
| 1894 | "protos/perfetto/trace/interned_data/interned_data.proto", |
| 1895 | ], |
| 1896 | tools: [ |
| 1897 | "aprotoc", |
| 1898 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 1899 | ], |
| 1900 | 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)", |
| 1901 | out: [ |
| 1902 | "external/perfetto/protos/perfetto/trace/interned_data/interned_data.pbzero.h", |
| 1903 | ], |
| 1904 | export_include_dirs: [ |
| 1905 | "protos", |
| 1906 | ], |
| 1907 | } |
| 1908 | |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1909 | // GN target: //protos/perfetto/trace:lite_gen |
| 1910 | genrule { |
| 1911 | name: "perfetto_protos_perfetto_trace_lite_gen", |
| 1912 | srcs: [ |
| 1913 | "protos/perfetto/trace/test_event.proto", |
| 1914 | "protos/perfetto/trace/trace.proto", |
| 1915 | "protos/perfetto/trace/trace_packet.proto", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 1916 | ], |
| 1917 | tools: [ |
| 1918 | "aprotoc", |
| 1919 | ], |
| 1920 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 1921 | out: [ |
| 1922 | "external/perfetto/protos/perfetto/trace/test_event.pb.cc", |
| 1923 | "external/perfetto/protos/perfetto/trace/trace.pb.cc", |
| 1924 | "external/perfetto/protos/perfetto/trace/trace_packet.pb.cc", |
| 1925 | ], |
| 1926 | } |
| 1927 | |
| 1928 | // GN target: //protos/perfetto/trace:lite_gen |
| 1929 | genrule { |
| 1930 | name: "perfetto_protos_perfetto_trace_lite_gen_headers", |
| 1931 | srcs: [ |
| 1932 | "protos/perfetto/trace/test_event.proto", |
| 1933 | "protos/perfetto/trace/trace.proto", |
| 1934 | "protos/perfetto/trace/trace_packet.proto", |
| 1935 | ], |
| 1936 | tools: [ |
| 1937 | "aprotoc", |
| 1938 | ], |
| 1939 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 1940 | out: [ |
| 1941 | "external/perfetto/protos/perfetto/trace/test_event.pb.h", |
| 1942 | "external/perfetto/protos/perfetto/trace/trace.pb.h", |
| 1943 | "external/perfetto/protos/perfetto/trace/trace_packet.pb.h", |
| 1944 | ], |
| 1945 | export_include_dirs: [ |
| 1946 | "protos", |
| 1947 | ], |
| 1948 | } |
| 1949 | |
| 1950 | // GN target: //protos/perfetto/trace:minimal_lite_gen |
| 1951 | genrule { |
| 1952 | name: "perfetto_protos_perfetto_trace_minimal_lite_gen", |
| 1953 | srcs: [ |
| 1954 | "protos/perfetto/trace/clock_snapshot.proto", |
Hector Dearman | 685f752 | 2019-03-12 14:28:56 +0000 | [diff] [blame] | 1955 | "protos/perfetto/trace/system_info.proto", |
Stephen Nusko | 70ea330 | 2019-04-01 19:44:40 +0100 | [diff] [blame] | 1956 | "protos/perfetto/trace/trigger.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1957 | ], |
| 1958 | tools: [ |
| 1959 | "aprotoc", |
| 1960 | ], |
| 1961 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 1962 | out: [ |
Sami Kyostila | fbccb3c | 2018-03-21 14:00:47 +0000 | [diff] [blame] | 1963 | "external/perfetto/protos/perfetto/trace/clock_snapshot.pb.cc", |
Hector Dearman | 685f752 | 2019-03-12 14:28:56 +0000 | [diff] [blame] | 1964 | "external/perfetto/protos/perfetto/trace/system_info.pb.cc", |
Stephen Nusko | 70ea330 | 2019-04-01 19:44:40 +0100 | [diff] [blame] | 1965 | "external/perfetto/protos/perfetto/trace/trigger.pb.cc", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1966 | ], |
| 1967 | } |
| 1968 | |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 1969 | // GN target: //protos/perfetto/trace:minimal_lite_gen |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1970 | genrule { |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 1971 | name: "perfetto_protos_perfetto_trace_minimal_lite_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1972 | srcs: [ |
Sami Kyostila | fbccb3c | 2018-03-21 14:00:47 +0000 | [diff] [blame] | 1973 | "protos/perfetto/trace/clock_snapshot.proto", |
Hector Dearman | 685f752 | 2019-03-12 14:28:56 +0000 | [diff] [blame] | 1974 | "protos/perfetto/trace/system_info.proto", |
Stephen Nusko | 70ea330 | 2019-04-01 19:44:40 +0100 | [diff] [blame] | 1975 | "protos/perfetto/trace/trigger.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1976 | ], |
| 1977 | tools: [ |
| 1978 | "aprotoc", |
| 1979 | ], |
| 1980 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 1981 | out: [ |
Sami Kyostila | fbccb3c | 2018-03-21 14:00:47 +0000 | [diff] [blame] | 1982 | "external/perfetto/protos/perfetto/trace/clock_snapshot.pb.h", |
Hector Dearman | 685f752 | 2019-03-12 14:28:56 +0000 | [diff] [blame] | 1983 | "external/perfetto/protos/perfetto/trace/system_info.pb.h", |
Stephen Nusko | 70ea330 | 2019-04-01 19:44:40 +0100 | [diff] [blame] | 1984 | "external/perfetto/protos/perfetto/trace/trigger.pb.h", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1985 | ], |
| 1986 | export_include_dirs: [ |
| 1987 | "protos", |
| 1988 | ], |
| 1989 | } |
| 1990 | |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 1991 | // GN target: //protos/perfetto/trace/power:lite_gen |
| 1992 | genrule { |
| 1993 | name: "perfetto_protos_perfetto_trace_power_lite_gen", |
| 1994 | srcs: [ |
| 1995 | "protos/perfetto/trace/power/battery_counters.proto", |
Esteban Talavera | 7714cec | 2019-01-31 15:53:34 +0000 | [diff] [blame] | 1996 | "protos/perfetto/trace/power/power_rails.proto", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 1997 | ], |
| 1998 | tools: [ |
| 1999 | "aprotoc", |
| 2000 | ], |
| 2001 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 2002 | out: [ |
| 2003 | "external/perfetto/protos/perfetto/trace/power/battery_counters.pb.cc", |
Esteban Talavera | 7714cec | 2019-01-31 15:53:34 +0000 | [diff] [blame] | 2004 | "external/perfetto/protos/perfetto/trace/power/power_rails.pb.cc", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 2005 | ], |
| 2006 | } |
| 2007 | |
| 2008 | // GN target: //protos/perfetto/trace/power:lite_gen |
| 2009 | genrule { |
| 2010 | name: "perfetto_protos_perfetto_trace_power_lite_gen_headers", |
| 2011 | srcs: [ |
| 2012 | "protos/perfetto/trace/power/battery_counters.proto", |
Esteban Talavera | 7714cec | 2019-01-31 15:53:34 +0000 | [diff] [blame] | 2013 | "protos/perfetto/trace/power/power_rails.proto", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 2014 | ], |
| 2015 | tools: [ |
| 2016 | "aprotoc", |
| 2017 | ], |
| 2018 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 2019 | out: [ |
| 2020 | "external/perfetto/protos/perfetto/trace/power/battery_counters.pb.h", |
Esteban Talavera | 7714cec | 2019-01-31 15:53:34 +0000 | [diff] [blame] | 2021 | "external/perfetto/protos/perfetto/trace/power/power_rails.pb.h", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 2022 | ], |
| 2023 | export_include_dirs: [ |
| 2024 | "protos", |
| 2025 | ], |
| 2026 | } |
| 2027 | |
| 2028 | // GN target: //protos/perfetto/trace/power:zero_gen |
| 2029 | genrule { |
| 2030 | name: "perfetto_protos_perfetto_trace_power_zero_gen", |
| 2031 | srcs: [ |
| 2032 | "protos/perfetto/trace/power/battery_counters.proto", |
Esteban Talavera | 7714cec | 2019-01-31 15:53:34 +0000 | [diff] [blame] | 2033 | "protos/perfetto/trace/power/power_rails.proto", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 2034 | ], |
| 2035 | tools: [ |
| 2036 | "aprotoc", |
| 2037 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 2038 | ], |
| 2039 | 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)", |
| 2040 | out: [ |
| 2041 | "external/perfetto/protos/perfetto/trace/power/battery_counters.pbzero.cc", |
Esteban Talavera | 7714cec | 2019-01-31 15:53:34 +0000 | [diff] [blame] | 2042 | "external/perfetto/protos/perfetto/trace/power/power_rails.pbzero.cc", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 2043 | ], |
| 2044 | } |
| 2045 | |
| 2046 | // GN target: //protos/perfetto/trace/power:zero_gen |
| 2047 | genrule { |
| 2048 | name: "perfetto_protos_perfetto_trace_power_zero_gen_headers", |
| 2049 | srcs: [ |
| 2050 | "protos/perfetto/trace/power/battery_counters.proto", |
Esteban Talavera | 7714cec | 2019-01-31 15:53:34 +0000 | [diff] [blame] | 2051 | "protos/perfetto/trace/power/power_rails.proto", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 2052 | ], |
| 2053 | tools: [ |
| 2054 | "aprotoc", |
| 2055 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 2056 | ], |
| 2057 | 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)", |
| 2058 | out: [ |
| 2059 | "external/perfetto/protos/perfetto/trace/power/battery_counters.pbzero.h", |
Esteban Talavera | 7714cec | 2019-01-31 15:53:34 +0000 | [diff] [blame] | 2060 | "external/perfetto/protos/perfetto/trace/power/power_rails.pbzero.h", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 2061 | ], |
| 2062 | export_include_dirs: [ |
| 2063 | "protos", |
| 2064 | ], |
| 2065 | } |
| 2066 | |
Lalit Maganti | e59293b | 2019-05-22 15:07:39 +0100 | [diff] [blame] | 2067 | // GN target: //protos/perfetto/trace_processor:metrics_impl_zero_gen |
| 2068 | genrule { |
| 2069 | name: "perfetto_protos_perfetto_trace_processor_metrics_impl_zero_gen", |
| 2070 | srcs: [ |
| 2071 | "protos/perfetto/trace_processor/metrics_impl.proto", |
| 2072 | ], |
| 2073 | tools: [ |
| 2074 | "aprotoc", |
| 2075 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 2076 | ], |
| 2077 | 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)", |
| 2078 | out: [ |
| 2079 | "external/perfetto/protos/perfetto/trace_processor/metrics_impl.pbzero.cc", |
| 2080 | ], |
| 2081 | } |
| 2082 | |
| 2083 | // GN target: //protos/perfetto/trace_processor:metrics_impl_zero_gen |
| 2084 | genrule { |
| 2085 | name: "perfetto_protos_perfetto_trace_processor_metrics_impl_zero_gen_headers", |
| 2086 | srcs: [ |
| 2087 | "protos/perfetto/trace_processor/metrics_impl.proto", |
| 2088 | ], |
| 2089 | tools: [ |
| 2090 | "aprotoc", |
| 2091 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 2092 | ], |
| 2093 | 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)", |
| 2094 | out: [ |
| 2095 | "external/perfetto/protos/perfetto/trace_processor/metrics_impl.pbzero.h", |
| 2096 | ], |
| 2097 | export_include_dirs: [ |
| 2098 | "protos", |
| 2099 | ], |
| 2100 | } |
| 2101 | |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 2102 | // GN target: //protos/perfetto/trace/profiling:lite_gen |
| 2103 | genrule { |
| 2104 | name: "perfetto_protos_perfetto_trace_profiling_lite_gen", |
| 2105 | srcs: [ |
| 2106 | "protos/perfetto/trace/profiling/profile_packet.proto", |
| 2107 | ], |
| 2108 | tools: [ |
| 2109 | "aprotoc", |
| 2110 | ], |
| 2111 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 2112 | out: [ |
| 2113 | "external/perfetto/protos/perfetto/trace/profiling/profile_packet.pb.cc", |
| 2114 | ], |
| 2115 | } |
| 2116 | |
| 2117 | // GN target: //protos/perfetto/trace/profiling:lite_gen |
| 2118 | genrule { |
| 2119 | name: "perfetto_protos_perfetto_trace_profiling_lite_gen_headers", |
| 2120 | srcs: [ |
| 2121 | "protos/perfetto/trace/profiling/profile_packet.proto", |
| 2122 | ], |
| 2123 | tools: [ |
| 2124 | "aprotoc", |
| 2125 | ], |
| 2126 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 2127 | out: [ |
| 2128 | "external/perfetto/protos/perfetto/trace/profiling/profile_packet.pb.h", |
| 2129 | ], |
| 2130 | export_include_dirs: [ |
| 2131 | "protos", |
| 2132 | ], |
| 2133 | } |
| 2134 | |
| 2135 | // GN target: //protos/perfetto/trace/profiling:zero_gen |
| 2136 | genrule { |
| 2137 | name: "perfetto_protos_perfetto_trace_profiling_zero_gen", |
| 2138 | srcs: [ |
| 2139 | "protos/perfetto/trace/profiling/profile_packet.proto", |
| 2140 | ], |
| 2141 | tools: [ |
| 2142 | "aprotoc", |
| 2143 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 2144 | ], |
| 2145 | 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)", |
| 2146 | out: [ |
| 2147 | "external/perfetto/protos/perfetto/trace/profiling/profile_packet.pbzero.cc", |
| 2148 | ], |
| 2149 | } |
| 2150 | |
| 2151 | // GN target: //protos/perfetto/trace/profiling:zero_gen |
| 2152 | genrule { |
| 2153 | name: "perfetto_protos_perfetto_trace_profiling_zero_gen_headers", |
| 2154 | srcs: [ |
| 2155 | "protos/perfetto/trace/profiling/profile_packet.proto", |
| 2156 | ], |
| 2157 | tools: [ |
| 2158 | "aprotoc", |
| 2159 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 2160 | ], |
| 2161 | 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)", |
| 2162 | out: [ |
| 2163 | "external/perfetto/protos/perfetto/trace/profiling/profile_packet.pbzero.h", |
| 2164 | ], |
| 2165 | export_include_dirs: [ |
| 2166 | "protos", |
| 2167 | ], |
| 2168 | } |
| 2169 | |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 2170 | // GN target: //protos/perfetto/trace/ps:lite_gen |
| 2171 | genrule { |
| 2172 | name: "perfetto_protos_perfetto_trace_ps_lite_gen", |
| 2173 | srcs: [ |
Primiano Tucci | c9d4a8b | 2018-10-30 20:19:01 -0700 | [diff] [blame] | 2174 | "protos/perfetto/trace/ps/process_stats.proto", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 2175 | "protos/perfetto/trace/ps/process_tree.proto", |
| 2176 | ], |
| 2177 | tools: [ |
| 2178 | "aprotoc", |
| 2179 | ], |
| 2180 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 2181 | out: [ |
Primiano Tucci | c9d4a8b | 2018-10-30 20:19:01 -0700 | [diff] [blame] | 2182 | "external/perfetto/protos/perfetto/trace/ps/process_stats.pb.cc", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 2183 | "external/perfetto/protos/perfetto/trace/ps/process_tree.pb.cc", |
| 2184 | ], |
| 2185 | } |
| 2186 | |
| 2187 | // GN target: //protos/perfetto/trace/ps:lite_gen |
| 2188 | genrule { |
| 2189 | name: "perfetto_protos_perfetto_trace_ps_lite_gen_headers", |
| 2190 | srcs: [ |
Primiano Tucci | c9d4a8b | 2018-10-30 20:19:01 -0700 | [diff] [blame] | 2191 | "protos/perfetto/trace/ps/process_stats.proto", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 2192 | "protos/perfetto/trace/ps/process_tree.proto", |
| 2193 | ], |
| 2194 | tools: [ |
| 2195 | "aprotoc", |
| 2196 | ], |
| 2197 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 2198 | out: [ |
Primiano Tucci | c9d4a8b | 2018-10-30 20:19:01 -0700 | [diff] [blame] | 2199 | "external/perfetto/protos/perfetto/trace/ps/process_stats.pb.h", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 2200 | "external/perfetto/protos/perfetto/trace/ps/process_tree.pb.h", |
| 2201 | ], |
| 2202 | export_include_dirs: [ |
| 2203 | "protos", |
| 2204 | ], |
| 2205 | } |
| 2206 | |
| 2207 | // GN target: //protos/perfetto/trace/ps:zero_gen |
| 2208 | genrule { |
| 2209 | name: "perfetto_protos_perfetto_trace_ps_zero_gen", |
| 2210 | srcs: [ |
Primiano Tucci | c9d4a8b | 2018-10-30 20:19:01 -0700 | [diff] [blame] | 2211 | "protos/perfetto/trace/ps/process_stats.proto", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 2212 | "protos/perfetto/trace/ps/process_tree.proto", |
| 2213 | ], |
| 2214 | tools: [ |
| 2215 | "aprotoc", |
| 2216 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 2217 | ], |
| 2218 | 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)", |
| 2219 | out: [ |
Primiano Tucci | c9d4a8b | 2018-10-30 20:19:01 -0700 | [diff] [blame] | 2220 | "external/perfetto/protos/perfetto/trace/ps/process_stats.pbzero.cc", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 2221 | "external/perfetto/protos/perfetto/trace/ps/process_tree.pbzero.cc", |
| 2222 | ], |
| 2223 | } |
| 2224 | |
| 2225 | // GN target: //protos/perfetto/trace/ps:zero_gen |
| 2226 | genrule { |
| 2227 | name: "perfetto_protos_perfetto_trace_ps_zero_gen_headers", |
| 2228 | srcs: [ |
Primiano Tucci | c9d4a8b | 2018-10-30 20:19:01 -0700 | [diff] [blame] | 2229 | "protos/perfetto/trace/ps/process_stats.proto", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 2230 | "protos/perfetto/trace/ps/process_tree.proto", |
| 2231 | ], |
| 2232 | tools: [ |
| 2233 | "aprotoc", |
| 2234 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 2235 | ], |
| 2236 | 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)", |
| 2237 | out: [ |
Primiano Tucci | c9d4a8b | 2018-10-30 20:19:01 -0700 | [diff] [blame] | 2238 | "external/perfetto/protos/perfetto/trace/ps/process_stats.pbzero.h", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 2239 | "external/perfetto/protos/perfetto/trace/ps/process_tree.pbzero.h", |
| 2240 | ], |
| 2241 | export_include_dirs: [ |
| 2242 | "protos", |
| 2243 | ], |
| 2244 | } |
| 2245 | |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 2246 | // GN target: //protos/perfetto/trace/sys_stats:lite_gen |
| 2247 | genrule { |
| 2248 | name: "perfetto_protos_perfetto_trace_sys_stats_lite_gen", |
| 2249 | srcs: [ |
| 2250 | "protos/perfetto/trace/sys_stats/sys_stats.proto", |
| 2251 | ], |
| 2252 | tools: [ |
| 2253 | "aprotoc", |
| 2254 | ], |
| 2255 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 2256 | out: [ |
| 2257 | "external/perfetto/protos/perfetto/trace/sys_stats/sys_stats.pb.cc", |
| 2258 | ], |
| 2259 | } |
| 2260 | |
| 2261 | // GN target: //protos/perfetto/trace/sys_stats:lite_gen |
| 2262 | genrule { |
| 2263 | name: "perfetto_protos_perfetto_trace_sys_stats_lite_gen_headers", |
| 2264 | srcs: [ |
| 2265 | "protos/perfetto/trace/sys_stats/sys_stats.proto", |
| 2266 | ], |
| 2267 | tools: [ |
| 2268 | "aprotoc", |
| 2269 | ], |
| 2270 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 2271 | out: [ |
| 2272 | "external/perfetto/protos/perfetto/trace/sys_stats/sys_stats.pb.h", |
| 2273 | ], |
| 2274 | export_include_dirs: [ |
| 2275 | "protos", |
| 2276 | ], |
| 2277 | } |
| 2278 | |
| 2279 | // GN target: //protos/perfetto/trace/sys_stats:zero_gen |
| 2280 | genrule { |
| 2281 | name: "perfetto_protos_perfetto_trace_sys_stats_zero_gen", |
| 2282 | srcs: [ |
| 2283 | "protos/perfetto/trace/sys_stats/sys_stats.proto", |
| 2284 | ], |
| 2285 | tools: [ |
| 2286 | "aprotoc", |
| 2287 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 2288 | ], |
| 2289 | 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)", |
| 2290 | out: [ |
| 2291 | "external/perfetto/protos/perfetto/trace/sys_stats/sys_stats.pbzero.cc", |
| 2292 | ], |
| 2293 | } |
| 2294 | |
| 2295 | // GN target: //protos/perfetto/trace/sys_stats:zero_gen |
| 2296 | genrule { |
| 2297 | name: "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers", |
| 2298 | srcs: [ |
| 2299 | "protos/perfetto/trace/sys_stats/sys_stats.proto", |
| 2300 | ], |
| 2301 | tools: [ |
| 2302 | "aprotoc", |
| 2303 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 2304 | ], |
| 2305 | 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)", |
| 2306 | out: [ |
| 2307 | "external/perfetto/protos/perfetto/trace/sys_stats/sys_stats.pbzero.h", |
| 2308 | ], |
| 2309 | export_include_dirs: [ |
| 2310 | "protos", |
| 2311 | ], |
| 2312 | } |
| 2313 | |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 2314 | // GN target: //protos/perfetto/trace/track_event:lite_gen |
| 2315 | genrule { |
| 2316 | name: "perfetto_protos_perfetto_trace_track_event_lite_gen", |
| 2317 | srcs: [ |
| 2318 | "protos/perfetto/trace/track_event/debug_annotation.proto", |
| 2319 | "protos/perfetto/trace/track_event/process_descriptor.proto", |
| 2320 | "protos/perfetto/trace/track_event/task_execution.proto", |
| 2321 | "protos/perfetto/trace/track_event/thread_descriptor.proto", |
| 2322 | "protos/perfetto/trace/track_event/track_event.proto", |
| 2323 | ], |
| 2324 | tools: [ |
| 2325 | "aprotoc", |
| 2326 | ], |
| 2327 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 2328 | out: [ |
| 2329 | "external/perfetto/protos/perfetto/trace/track_event/debug_annotation.pb.cc", |
| 2330 | "external/perfetto/protos/perfetto/trace/track_event/process_descriptor.pb.cc", |
| 2331 | "external/perfetto/protos/perfetto/trace/track_event/task_execution.pb.cc", |
| 2332 | "external/perfetto/protos/perfetto/trace/track_event/thread_descriptor.pb.cc", |
| 2333 | "external/perfetto/protos/perfetto/trace/track_event/track_event.pb.cc", |
| 2334 | ], |
| 2335 | } |
| 2336 | |
| 2337 | // GN target: //protos/perfetto/trace/track_event:lite_gen |
| 2338 | genrule { |
| 2339 | name: "perfetto_protos_perfetto_trace_track_event_lite_gen_headers", |
| 2340 | srcs: [ |
| 2341 | "protos/perfetto/trace/track_event/debug_annotation.proto", |
| 2342 | "protos/perfetto/trace/track_event/process_descriptor.proto", |
| 2343 | "protos/perfetto/trace/track_event/task_execution.proto", |
| 2344 | "protos/perfetto/trace/track_event/thread_descriptor.proto", |
| 2345 | "protos/perfetto/trace/track_event/track_event.proto", |
| 2346 | ], |
| 2347 | tools: [ |
| 2348 | "aprotoc", |
| 2349 | ], |
| 2350 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 2351 | out: [ |
| 2352 | "external/perfetto/protos/perfetto/trace/track_event/debug_annotation.pb.h", |
| 2353 | "external/perfetto/protos/perfetto/trace/track_event/process_descriptor.pb.h", |
| 2354 | "external/perfetto/protos/perfetto/trace/track_event/task_execution.pb.h", |
| 2355 | "external/perfetto/protos/perfetto/trace/track_event/thread_descriptor.pb.h", |
| 2356 | "external/perfetto/protos/perfetto/trace/track_event/track_event.pb.h", |
| 2357 | ], |
| 2358 | export_include_dirs: [ |
| 2359 | "protos", |
| 2360 | ], |
| 2361 | } |
| 2362 | |
| 2363 | // GN target: //protos/perfetto/trace/track_event:zero_gen |
| 2364 | genrule { |
| 2365 | name: "perfetto_protos_perfetto_trace_track_event_zero_gen", |
| 2366 | srcs: [ |
| 2367 | "protos/perfetto/trace/track_event/debug_annotation.proto", |
| 2368 | "protos/perfetto/trace/track_event/process_descriptor.proto", |
| 2369 | "protos/perfetto/trace/track_event/task_execution.proto", |
| 2370 | "protos/perfetto/trace/track_event/thread_descriptor.proto", |
| 2371 | "protos/perfetto/trace/track_event/track_event.proto", |
| 2372 | ], |
| 2373 | tools: [ |
| 2374 | "aprotoc", |
| 2375 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 2376 | ], |
| 2377 | 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)", |
| 2378 | out: [ |
| 2379 | "external/perfetto/protos/perfetto/trace/track_event/debug_annotation.pbzero.cc", |
| 2380 | "external/perfetto/protos/perfetto/trace/track_event/process_descriptor.pbzero.cc", |
| 2381 | "external/perfetto/protos/perfetto/trace/track_event/task_execution.pbzero.cc", |
| 2382 | "external/perfetto/protos/perfetto/trace/track_event/thread_descriptor.pbzero.cc", |
| 2383 | "external/perfetto/protos/perfetto/trace/track_event/track_event.pbzero.cc", |
| 2384 | ], |
| 2385 | } |
| 2386 | |
| 2387 | // GN target: //protos/perfetto/trace/track_event:zero_gen |
| 2388 | genrule { |
| 2389 | name: "perfetto_protos_perfetto_trace_track_event_zero_gen_headers", |
| 2390 | srcs: [ |
| 2391 | "protos/perfetto/trace/track_event/debug_annotation.proto", |
| 2392 | "protos/perfetto/trace/track_event/process_descriptor.proto", |
| 2393 | "protos/perfetto/trace/track_event/task_execution.proto", |
| 2394 | "protos/perfetto/trace/track_event/thread_descriptor.proto", |
| 2395 | "protos/perfetto/trace/track_event/track_event.proto", |
| 2396 | ], |
| 2397 | tools: [ |
| 2398 | "aprotoc", |
| 2399 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 2400 | ], |
| 2401 | 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)", |
| 2402 | out: [ |
| 2403 | "external/perfetto/protos/perfetto/trace/track_event/debug_annotation.pbzero.h", |
| 2404 | "external/perfetto/protos/perfetto/trace/track_event/process_descriptor.pbzero.h", |
| 2405 | "external/perfetto/protos/perfetto/trace/track_event/task_execution.pbzero.h", |
| 2406 | "external/perfetto/protos/perfetto/trace/track_event/thread_descriptor.pbzero.h", |
| 2407 | "external/perfetto/protos/perfetto/trace/track_event/track_event.pbzero.h", |
| 2408 | ], |
| 2409 | export_include_dirs: [ |
| 2410 | "protos", |
| 2411 | ], |
| 2412 | } |
| 2413 | |
Oystein Eftevaag | 4d0f6c8 | 2018-04-30 14:19:59 -0700 | [diff] [blame] | 2414 | // GN target: //protos/perfetto/trace:trusted_lite_gen |
| 2415 | genrule { |
| 2416 | name: "perfetto_protos_perfetto_trace_trusted_lite_gen", |
| 2417 | srcs: [ |
| 2418 | "protos/perfetto/trace/trusted_packet.proto", |
| 2419 | ], |
| 2420 | tools: [ |
| 2421 | "aprotoc", |
| 2422 | ], |
| 2423 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 2424 | out: [ |
| 2425 | "external/perfetto/protos/perfetto/trace/trusted_packet.pb.cc", |
| 2426 | ], |
| 2427 | } |
| 2428 | |
| 2429 | // GN target: //protos/perfetto/trace:trusted_lite_gen |
| 2430 | genrule { |
| 2431 | name: "perfetto_protos_perfetto_trace_trusted_lite_gen_headers", |
| 2432 | srcs: [ |
| 2433 | "protos/perfetto/trace/trusted_packet.proto", |
| 2434 | ], |
| 2435 | tools: [ |
| 2436 | "aprotoc", |
| 2437 | ], |
| 2438 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 2439 | out: [ |
| 2440 | "external/perfetto/protos/perfetto/trace/trusted_packet.pb.h", |
| 2441 | ], |
| 2442 | export_include_dirs: [ |
| 2443 | "protos", |
| 2444 | ], |
| 2445 | } |
| 2446 | |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2447 | // GN target: //protos/perfetto/trace:zero_gen |
| 2448 | genrule { |
| 2449 | name: "perfetto_protos_perfetto_trace_zero_gen", |
| 2450 | srcs: [ |
Sami Kyostila | fbccb3c | 2018-03-21 14:00:47 +0000 | [diff] [blame] | 2451 | "protos/perfetto/trace/clock_snapshot.proto", |
Hector Dearman | 685f752 | 2019-03-12 14:28:56 +0000 | [diff] [blame] | 2452 | "protos/perfetto/trace/system_info.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2453 | "protos/perfetto/trace/test_event.proto", |
| 2454 | "protos/perfetto/trace/trace.proto", |
| 2455 | "protos/perfetto/trace/trace_packet.proto", |
Stephen Nusko | 70ea330 | 2019-04-01 19:44:40 +0100 | [diff] [blame] | 2456 | "protos/perfetto/trace/trigger.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2457 | ], |
| 2458 | tools: [ |
| 2459 | "aprotoc", |
| 2460 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 2461 | ], |
| 2462 | 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)", |
| 2463 | out: [ |
Sami Kyostila | fbccb3c | 2018-03-21 14:00:47 +0000 | [diff] [blame] | 2464 | "external/perfetto/protos/perfetto/trace/clock_snapshot.pbzero.cc", |
Hector Dearman | 685f752 | 2019-03-12 14:28:56 +0000 | [diff] [blame] | 2465 | "external/perfetto/protos/perfetto/trace/system_info.pbzero.cc", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2466 | "external/perfetto/protos/perfetto/trace/test_event.pbzero.cc", |
| 2467 | "external/perfetto/protos/perfetto/trace/trace.pbzero.cc", |
| 2468 | "external/perfetto/protos/perfetto/trace/trace_packet.pbzero.cc", |
Stephen Nusko | 70ea330 | 2019-04-01 19:44:40 +0100 | [diff] [blame] | 2469 | "external/perfetto/protos/perfetto/trace/trigger.pbzero.cc", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2470 | ], |
| 2471 | } |
| 2472 | |
| 2473 | // GN target: //protos/perfetto/trace:zero_gen |
| 2474 | genrule { |
| 2475 | name: "perfetto_protos_perfetto_trace_zero_gen_headers", |
| 2476 | srcs: [ |
Sami Kyostila | fbccb3c | 2018-03-21 14:00:47 +0000 | [diff] [blame] | 2477 | "protos/perfetto/trace/clock_snapshot.proto", |
Hector Dearman | 685f752 | 2019-03-12 14:28:56 +0000 | [diff] [blame] | 2478 | "protos/perfetto/trace/system_info.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2479 | "protos/perfetto/trace/test_event.proto", |
| 2480 | "protos/perfetto/trace/trace.proto", |
| 2481 | "protos/perfetto/trace/trace_packet.proto", |
Stephen Nusko | 70ea330 | 2019-04-01 19:44:40 +0100 | [diff] [blame] | 2482 | "protos/perfetto/trace/trigger.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2483 | ], |
| 2484 | tools: [ |
| 2485 | "aprotoc", |
| 2486 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 2487 | ], |
| 2488 | 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)", |
| 2489 | out: [ |
Sami Kyostila | fbccb3c | 2018-03-21 14:00:47 +0000 | [diff] [blame] | 2490 | "external/perfetto/protos/perfetto/trace/clock_snapshot.pbzero.h", |
Hector Dearman | 685f752 | 2019-03-12 14:28:56 +0000 | [diff] [blame] | 2491 | "external/perfetto/protos/perfetto/trace/system_info.pbzero.h", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2492 | "external/perfetto/protos/perfetto/trace/test_event.pbzero.h", |
| 2493 | "external/perfetto/protos/perfetto/trace/trace.pbzero.h", |
| 2494 | "external/perfetto/protos/perfetto/trace/trace_packet.pbzero.h", |
Stephen Nusko | 70ea330 | 2019-04-01 19:44:40 +0100 | [diff] [blame] | 2495 | "external/perfetto/protos/perfetto/trace/trigger.pbzero.h", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2496 | ], |
| 2497 | export_include_dirs: [ |
| 2498 | "protos", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2499 | ], |
| 2500 | } |
| 2501 | |
Florian Mayer | 0ca7fb4 | 2018-11-15 21:13:42 +0000 | [diff] [blame] | 2502 | // GN target: //protos/third_party/pprof:lite_gen |
| 2503 | genrule { |
| 2504 | name: "perfetto_protos_third_party_pprof_lite_gen", |
| 2505 | srcs: [ |
| 2506 | "protos/third_party/pprof/profile.proto", |
| 2507 | ], |
| 2508 | tools: [ |
| 2509 | "aprotoc", |
| 2510 | ], |
| 2511 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 2512 | out: [ |
| 2513 | "external/perfetto/protos/third_party/pprof/profile.pb.cc", |
| 2514 | ], |
| 2515 | } |
| 2516 | |
| 2517 | // GN target: //protos/third_party/pprof:lite_gen |
| 2518 | genrule { |
| 2519 | name: "perfetto_protos_third_party_pprof_lite_gen_headers", |
| 2520 | srcs: [ |
| 2521 | "protos/third_party/pprof/profile.proto", |
| 2522 | ], |
| 2523 | tools: [ |
| 2524 | "aprotoc", |
| 2525 | ], |
| 2526 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 2527 | out: [ |
| 2528 | "external/perfetto/protos/third_party/pprof/profile.pb.h", |
| 2529 | ], |
| 2530 | export_include_dirs: [ |
| 2531 | "protos", |
| 2532 | ], |
| 2533 | } |
| 2534 | |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2535 | // GN target: //src/ipc/protoc_plugin:ipc_plugin(//gn/standalone/toolchain:gcc_like_host) |
| 2536 | cc_binary_host { |
| 2537 | name: "perfetto_src_ipc_protoc_plugin_ipc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 2538 | srcs: [ |
| 2539 | "src/ipc/protoc_plugin/ipc_generator.cc", |
| 2540 | "src/ipc/protoc_plugin/ipc_plugin.cc", |
| 2541 | ], |
| 2542 | shared_libs: [ |
| 2543 | "libprotoc", |
| 2544 | ], |
| 2545 | defaults: [ |
| 2546 | "perfetto_defaults", |
| 2547 | ], |
Florian Mayer | 3d5e7e6 | 2018-01-19 15:22:46 +0000 | [diff] [blame] | 2548 | cflags: [ |
| 2549 | "-DGOOGLE_PROTOBUF_NO_RTTI", |
| 2550 | "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
Primiano Tucci | 7c7f5f5 | 2019-01-15 21:47:04 +0000 | [diff] [blame] | 2551 | "-DPERFETTO_BUILD_WITH_ANDROID", |
Florian Mayer | 3d5e7e6 | 2018-01-19 15:22:46 +0000 | [diff] [blame] | 2552 | ], |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2553 | } |
| 2554 | |
| 2555 | // GN target: //src/ipc:test_messages_gen |
| 2556 | genrule { |
| 2557 | name: "perfetto_src_ipc_test_messages_gen", |
| 2558 | srcs: [ |
| 2559 | "src/ipc/test/client_unittest_messages.proto", |
| 2560 | "src/ipc/test/deferred_unittest_messages.proto", |
| 2561 | "src/ipc/test/greeter_service.proto", |
| 2562 | ], |
| 2563 | tools: [ |
| 2564 | "aprotoc", |
| 2565 | "perfetto_src_ipc_protoc_plugin_ipc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 2566 | ], |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2567 | 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] | 2568 | out: [ |
| 2569 | "external/perfetto/src/ipc/test/client_unittest_messages.ipc.cc", |
| 2570 | "external/perfetto/src/ipc/test/client_unittest_messages.pb.cc", |
| 2571 | "external/perfetto/src/ipc/test/deferred_unittest_messages.ipc.cc", |
| 2572 | "external/perfetto/src/ipc/test/deferred_unittest_messages.pb.cc", |
| 2573 | "external/perfetto/src/ipc/test/greeter_service.ipc.cc", |
| 2574 | "external/perfetto/src/ipc/test/greeter_service.pb.cc", |
| 2575 | ], |
| 2576 | } |
| 2577 | |
| 2578 | // GN target: //src/ipc:test_messages_gen |
| 2579 | genrule { |
| 2580 | name: "perfetto_src_ipc_test_messages_gen_headers", |
| 2581 | srcs: [ |
| 2582 | "src/ipc/test/client_unittest_messages.proto", |
| 2583 | "src/ipc/test/deferred_unittest_messages.proto", |
| 2584 | "src/ipc/test/greeter_service.proto", |
| 2585 | ], |
| 2586 | tools: [ |
| 2587 | "aprotoc", |
| 2588 | "perfetto_src_ipc_protoc_plugin_ipc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 2589 | ], |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2590 | 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] | 2591 | out: [ |
| 2592 | "external/perfetto/src/ipc/test/client_unittest_messages.ipc.h", |
| 2593 | "external/perfetto/src/ipc/test/client_unittest_messages.pb.h", |
| 2594 | "external/perfetto/src/ipc/test/deferred_unittest_messages.ipc.h", |
| 2595 | "external/perfetto/src/ipc/test/deferred_unittest_messages.pb.h", |
| 2596 | "external/perfetto/src/ipc/test/greeter_service.ipc.h", |
| 2597 | "external/perfetto/src/ipc/test/greeter_service.pb.h", |
| 2598 | ], |
| 2599 | export_include_dirs: [ |
| 2600 | ".", |
| 2601 | ], |
| 2602 | } |
| 2603 | |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 2604 | // GN target: //src/ipc:wire_protocol_gen |
Sami Kyostila | 71625d7 | 2017-12-18 10:29:49 +0000 | [diff] [blame] | 2605 | genrule { |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 2606 | name: "perfetto_src_ipc_wire_protocol_gen", |
| 2607 | srcs: [ |
| 2608 | "src/ipc/wire_protocol.proto", |
| 2609 | ], |
| 2610 | tools: [ |
| 2611 | "aprotoc", |
| 2612 | ], |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2613 | 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] | 2614 | out: [ |
| 2615 | "external/perfetto/src/ipc/wire_protocol.pb.cc", |
| 2616 | ], |
| 2617 | } |
| 2618 | |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2619 | // GN target: //src/ipc:wire_protocol_gen |
| 2620 | genrule { |
| 2621 | name: "perfetto_src_ipc_wire_protocol_gen_headers", |
| 2622 | srcs: [ |
| 2623 | "src/ipc/wire_protocol.proto", |
| 2624 | ], |
| 2625 | tools: [ |
| 2626 | "aprotoc", |
| 2627 | ], |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2628 | 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] | 2629 | out: [ |
| 2630 | "external/perfetto/src/ipc/wire_protocol.pb.h", |
| 2631 | ], |
| 2632 | export_include_dirs: [ |
| 2633 | ".", |
| 2634 | ], |
| 2635 | } |
| 2636 | |
Hector Dearman | 86cfbe1 | 2018-03-22 11:58:42 +0000 | [diff] [blame] | 2637 | // GN target: //src/perfetto_cmd:protos_gen |
| 2638 | genrule { |
| 2639 | name: "perfetto_src_perfetto_cmd_protos_gen", |
| 2640 | srcs: [ |
| 2641 | "src/perfetto_cmd/perfetto_cmd_state.proto", |
| 2642 | ], |
| 2643 | tools: [ |
| 2644 | "aprotoc", |
| 2645 | ], |
| 2646 | cmd: "mkdir -p $(genDir)/external/perfetto && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto --proto_path=external/perfetto/ $(in)", |
| 2647 | out: [ |
| 2648 | "external/perfetto/src/perfetto_cmd/perfetto_cmd_state.pb.cc", |
| 2649 | ], |
| 2650 | } |
| 2651 | |
| 2652 | // GN target: //src/perfetto_cmd:protos_gen |
| 2653 | genrule { |
| 2654 | name: "perfetto_src_perfetto_cmd_protos_gen_headers", |
| 2655 | srcs: [ |
| 2656 | "src/perfetto_cmd/perfetto_cmd_state.proto", |
| 2657 | ], |
| 2658 | tools: [ |
| 2659 | "aprotoc", |
| 2660 | ], |
| 2661 | cmd: "mkdir -p $(genDir)/external/perfetto && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto --proto_path=external/perfetto/ $(in)", |
| 2662 | out: [ |
| 2663 | "external/perfetto/src/perfetto_cmd/perfetto_cmd_state.pb.h", |
| 2664 | ], |
| 2665 | export_include_dirs: [ |
| 2666 | ".", |
| 2667 | ], |
| 2668 | } |
| 2669 | |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2670 | // GN target: //src/protozero/protoc_plugin:protoc_plugin(//gn/standalone/toolchain:gcc_like_host) |
| 2671 | cc_binary_host { |
| 2672 | name: "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 2673 | srcs: [ |
| 2674 | "src/protozero/protoc_plugin/protozero_generator.cc", |
| 2675 | "src/protozero/protoc_plugin/protozero_plugin.cc", |
| 2676 | ], |
| 2677 | shared_libs: [ |
| 2678 | "libprotoc", |
| 2679 | ], |
| 2680 | defaults: [ |
| 2681 | "perfetto_defaults", |
| 2682 | ], |
Florian Mayer | 3d5e7e6 | 2018-01-19 15:22:46 +0000 | [diff] [blame] | 2683 | cflags: [ |
| 2684 | "-DGOOGLE_PROTOBUF_NO_RTTI", |
| 2685 | "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
Primiano Tucci | 7c7f5f5 | 2019-01-15 21:47:04 +0000 | [diff] [blame] | 2686 | "-DPERFETTO_BUILD_WITH_ANDROID", |
Florian Mayer | 3d5e7e6 | 2018-01-19 15:22:46 +0000 | [diff] [blame] | 2687 | ], |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2688 | } |
| 2689 | |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 2690 | // GN target: //src/protozero:testing_messages_lite_gen |
Sami Kyostila | 71625d7 | 2017-12-18 10:29:49 +0000 | [diff] [blame] | 2691 | genrule { |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 2692 | name: "perfetto_src_protozero_testing_messages_lite_gen", |
| 2693 | srcs: [ |
| 2694 | "src/protozero/test/example_proto/library.proto", |
| 2695 | "src/protozero/test/example_proto/library_internals/galaxies.proto", |
| 2696 | "src/protozero/test/example_proto/test_messages.proto", |
| 2697 | "src/protozero/test/example_proto/upper_import.proto", |
| 2698 | ], |
| 2699 | tools: [ |
| 2700 | "aprotoc", |
| 2701 | ], |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2702 | 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] | 2703 | out: [ |
| 2704 | "external/perfetto/src/protozero/test/example_proto/library.pb.cc", |
| 2705 | "external/perfetto/src/protozero/test/example_proto/library_internals/galaxies.pb.cc", |
| 2706 | "external/perfetto/src/protozero/test/example_proto/test_messages.pb.cc", |
| 2707 | "external/perfetto/src/protozero/test/example_proto/upper_import.pb.cc", |
| 2708 | ], |
| 2709 | } |
| 2710 | |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2711 | // GN target: //src/protozero:testing_messages_lite_gen |
| 2712 | genrule { |
| 2713 | name: "perfetto_src_protozero_testing_messages_lite_gen_headers", |
| 2714 | srcs: [ |
| 2715 | "src/protozero/test/example_proto/library.proto", |
| 2716 | "src/protozero/test/example_proto/library_internals/galaxies.proto", |
| 2717 | "src/protozero/test/example_proto/test_messages.proto", |
| 2718 | "src/protozero/test/example_proto/upper_import.proto", |
| 2719 | ], |
| 2720 | tools: [ |
| 2721 | "aprotoc", |
| 2722 | ], |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2723 | 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] | 2724 | out: [ |
| 2725 | "external/perfetto/src/protozero/test/example_proto/library.pb.h", |
| 2726 | "external/perfetto/src/protozero/test/example_proto/library_internals/galaxies.pb.h", |
| 2727 | "external/perfetto/src/protozero/test/example_proto/test_messages.pb.h", |
| 2728 | "external/perfetto/src/protozero/test/example_proto/upper_import.pb.h", |
| 2729 | ], |
| 2730 | export_include_dirs: [ |
| 2731 | ".", |
| 2732 | ], |
| 2733 | } |
| 2734 | |
| 2735 | // GN target: //src/protozero:testing_messages_zero_gen |
| 2736 | genrule { |
| 2737 | name: "perfetto_src_protozero_testing_messages_zero_gen", |
| 2738 | srcs: [ |
| 2739 | "src/protozero/test/example_proto/library.proto", |
| 2740 | "src/protozero/test/example_proto/library_internals/galaxies.proto", |
| 2741 | "src/protozero/test/example_proto/test_messages.proto", |
| 2742 | "src/protozero/test/example_proto/upper_import.proto", |
| 2743 | ], |
| 2744 | tools: [ |
| 2745 | "aprotoc", |
| 2746 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 2747 | ], |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2748 | 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] | 2749 | out: [ |
| 2750 | "external/perfetto/src/protozero/test/example_proto/library.pbzero.cc", |
| 2751 | "external/perfetto/src/protozero/test/example_proto/library_internals/galaxies.pbzero.cc", |
| 2752 | "external/perfetto/src/protozero/test/example_proto/test_messages.pbzero.cc", |
| 2753 | "external/perfetto/src/protozero/test/example_proto/upper_import.pbzero.cc", |
| 2754 | ], |
| 2755 | } |
| 2756 | |
| 2757 | // GN target: //src/protozero:testing_messages_zero_gen |
| 2758 | genrule { |
| 2759 | name: "perfetto_src_protozero_testing_messages_zero_gen_headers", |
| 2760 | srcs: [ |
| 2761 | "src/protozero/test/example_proto/library.proto", |
| 2762 | "src/protozero/test/example_proto/library_internals/galaxies.proto", |
| 2763 | "src/protozero/test/example_proto/test_messages.proto", |
| 2764 | "src/protozero/test/example_proto/upper_import.proto", |
| 2765 | ], |
| 2766 | tools: [ |
| 2767 | "aprotoc", |
| 2768 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 2769 | ], |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2770 | 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] | 2771 | out: [ |
| 2772 | "external/perfetto/src/protozero/test/example_proto/library.pbzero.h", |
| 2773 | "external/perfetto/src/protozero/test/example_proto/library_internals/galaxies.pbzero.h", |
| 2774 | "external/perfetto/src/protozero/test/example_proto/test_messages.pbzero.h", |
| 2775 | "external/perfetto/src/protozero/test/example_proto/upper_import.pbzero.h", |
| 2776 | ], |
| 2777 | export_include_dirs: [ |
| 2778 | ".", |
| 2779 | ], |
| 2780 | } |
| 2781 | |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 2782 | // GN target: //src/traced/probes/ftrace:test_messages_lite_gen |
| 2783 | genrule { |
| 2784 | name: "perfetto_src_traced_probes_ftrace_test_messages_lite_gen", |
| 2785 | srcs: [ |
| 2786 | "src/traced/probes/ftrace/test/test_messages.proto", |
| 2787 | ], |
| 2788 | tools: [ |
| 2789 | "aprotoc", |
| 2790 | ], |
| 2791 | cmd: "mkdir -p $(genDir)/external/perfetto && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto --proto_path=external/perfetto/ $(in)", |
| 2792 | out: [ |
| 2793 | "external/perfetto/src/traced/probes/ftrace/test/test_messages.pb.cc", |
| 2794 | ], |
| 2795 | } |
| 2796 | |
| 2797 | // GN target: //src/traced/probes/ftrace:test_messages_lite_gen |
| 2798 | genrule { |
| 2799 | name: "perfetto_src_traced_probes_ftrace_test_messages_lite_gen_headers", |
| 2800 | srcs: [ |
| 2801 | "src/traced/probes/ftrace/test/test_messages.proto", |
| 2802 | ], |
| 2803 | tools: [ |
| 2804 | "aprotoc", |
| 2805 | ], |
| 2806 | cmd: "mkdir -p $(genDir)/external/perfetto && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto --proto_path=external/perfetto/ $(in)", |
| 2807 | out: [ |
| 2808 | "external/perfetto/src/traced/probes/ftrace/test/test_messages.pb.h", |
| 2809 | ], |
| 2810 | export_include_dirs: [ |
| 2811 | ".", |
| 2812 | ], |
| 2813 | } |
| 2814 | |
| 2815 | // GN target: //src/traced/probes/ftrace:test_messages_zero_gen |
| 2816 | genrule { |
| 2817 | name: "perfetto_src_traced_probes_ftrace_test_messages_zero_gen", |
| 2818 | srcs: [ |
| 2819 | "src/traced/probes/ftrace/test/test_messages.proto", |
| 2820 | ], |
| 2821 | tools: [ |
| 2822 | "aprotoc", |
| 2823 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 2824 | ], |
| 2825 | 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)", |
| 2826 | out: [ |
| 2827 | "external/perfetto/src/traced/probes/ftrace/test/test_messages.pbzero.cc", |
| 2828 | ], |
| 2829 | } |
| 2830 | |
| 2831 | // GN target: //src/traced/probes/ftrace:test_messages_zero_gen |
| 2832 | genrule { |
| 2833 | name: "perfetto_src_traced_probes_ftrace_test_messages_zero_gen_headers", |
| 2834 | srcs: [ |
| 2835 | "src/traced/probes/ftrace/test/test_messages.proto", |
| 2836 | ], |
| 2837 | tools: [ |
| 2838 | "aprotoc", |
| 2839 | "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 2840 | ], |
| 2841 | 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)", |
| 2842 | out: [ |
| 2843 | "external/perfetto/src/traced/probes/ftrace/test/test_messages.pbzero.h", |
| 2844 | ], |
| 2845 | export_include_dirs: [ |
| 2846 | ".", |
| 2847 | ], |
| 2848 | } |
| 2849 | |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2850 | // GN target: //src/tracing:ipc |
| 2851 | cc_library_static { |
| 2852 | name: "perfetto_src_tracing_ipc", |
| 2853 | srcs: [ |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 2854 | ":perfetto_protos_perfetto_common_lite_gen", |
| 2855 | ":perfetto_protos_perfetto_common_zero_gen", |
| 2856 | ":perfetto_protos_perfetto_config_lite_gen", |
| 2857 | ":perfetto_protos_perfetto_config_zero_gen", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2858 | ":perfetto_protos_perfetto_ipc_ipc_gen", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 2859 | ":perfetto_protos_perfetto_trace_android_zero_gen", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 2860 | ":perfetto_protos_perfetto_trace_chrome_zero_gen", |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 2861 | ":perfetto_protos_perfetto_trace_filesystem_zero_gen", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2862 | ":perfetto_protos_perfetto_trace_ftrace_zero_gen", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 2863 | ":perfetto_protos_perfetto_trace_interned_data_zero_gen", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 2864 | ":perfetto_protos_perfetto_trace_minimal_lite_gen", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 2865 | ":perfetto_protos_perfetto_trace_power_zero_gen", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 2866 | ":perfetto_protos_perfetto_trace_profiling_zero_gen", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 2867 | ":perfetto_protos_perfetto_trace_ps_zero_gen", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 2868 | ":perfetto_protos_perfetto_trace_sys_stats_zero_gen", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 2869 | ":perfetto_protos_perfetto_trace_track_event_zero_gen", |
Oystein Eftevaag | 4d0f6c8 | 2018-04-30 14:19:59 -0700 | [diff] [blame] | 2870 | ":perfetto_protos_perfetto_trace_trusted_lite_gen", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2871 | ":perfetto_protos_perfetto_trace_zero_gen", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2872 | ":perfetto_src_ipc_wire_protocol_gen", |
Primiano Tucci | 9f7189c | 2018-10-05 00:42:12 +0100 | [diff] [blame] | 2873 | "src/base/event.cc", |
Florian Mayer | 74b73a9 | 2018-03-09 17:37:13 +0000 | [diff] [blame] | 2874 | "src/base/file_utils.cc", |
Florian Mayer | 236ba47 | 2018-05-09 15:47:53 +0100 | [diff] [blame] | 2875 | "src/base/metatrace.cc", |
Eric Seckler | edf3f7c | 2018-10-23 16:44:53 +0100 | [diff] [blame] | 2876 | "src/base/paged_memory.cc", |
Primiano Tucci | 76499cd | 2018-11-21 10:54:04 +0100 | [diff] [blame] | 2877 | "src/base/pipe.cc", |
Primiano Tucci | 825e6de | 2018-03-13 05:43:15 +0000 | [diff] [blame] | 2878 | "src/base/string_splitter.cc", |
Hector Dearman | 3afb1e0 | 2018-04-27 16:46:52 +0100 | [diff] [blame] | 2879 | "src/base/string_utils.cc", |
Primiano Tucci | 60c4a2b | 2019-03-02 17:11:18 +0000 | [diff] [blame] | 2880 | "src/base/string_view.cc", |
Primiano Tucci | 941b221 | 2018-03-14 22:46:31 +0000 | [diff] [blame] | 2881 | "src/base/temp_file.cc", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2882 | "src/base/thread_checker.cc", |
Ryan Savitski | 2988579 | 2019-03-14 12:10:13 +0000 | [diff] [blame] | 2883 | "src/base/thread_task_runner.cc", |
Florian Mayer | 75905df | 2018-05-08 17:44:08 +0100 | [diff] [blame] | 2884 | "src/base/time.cc", |
Florian Mayer | f7f0def | 2018-09-27 13:59:24 +0100 | [diff] [blame] | 2885 | "src/base/unix_socket.cc", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2886 | "src/base/unix_task_runner.cc", |
Primiano Tucci | 3cbb10a | 2018-04-10 17:52:40 +0100 | [diff] [blame] | 2887 | "src/base/virtual_destructors.cc", |
Primiano Tucci | 808d6df | 2018-03-31 13:24:18 +0100 | [diff] [blame] | 2888 | "src/base/watchdog_posix.cc", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2889 | "src/ipc/buffered_frame_deserializer.cc", |
| 2890 | "src/ipc/client_impl.cc", |
| 2891 | "src/ipc/deferred.cc", |
| 2892 | "src/ipc/host_impl.cc", |
| 2893 | "src/ipc/service_proxy.cc", |
Primiano Tucci | 3cbb10a | 2018-04-10 17:52:40 +0100 | [diff] [blame] | 2894 | "src/ipc/virtual_destructors.cc", |
Hector Dearman | e1e56b6 | 2018-02-21 19:11:58 +0000 | [diff] [blame] | 2895 | "src/protozero/message.cc", |
| 2896 | "src/protozero/message_handle.cc", |
Lalit Maganti | 45172a8 | 2018-06-01 03:04:43 +0100 | [diff] [blame] | 2897 | "src/protozero/proto_decoder.cc", |
Eric Seckler | 7631120 | 2019-01-07 12:20:25 +0000 | [diff] [blame] | 2898 | "src/protozero/scattered_heap_buffer.cc", |
Hector Dearman | 9a5a0e9 | 2018-03-27 17:52:24 +0100 | [diff] [blame] | 2899 | "src/protozero/scattered_stream_null_delegate.cc", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2900 | "src/protozero/scattered_stream_writer.cc", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 2901 | "src/tracing/core/chrome_config.cc", |
Primiano Tucci | 79f3f91 | 2018-03-02 12:00:31 +0000 | [diff] [blame] | 2902 | "src/tracing/core/commit_data_request.cc", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2903 | "src/tracing/core/data_source_config.cc", |
| 2904 | "src/tracing/core/data_source_descriptor.cc", |
| 2905 | "src/tracing/core/id_allocator.cc", |
Hector Dearman | 9a5a0e9 | 2018-03-27 17:52:24 +0100 | [diff] [blame] | 2906 | "src/tracing/core/null_trace_writer.cc", |
Eric Seckler | 7b0c945 | 2019-03-18 13:14:36 +0000 | [diff] [blame] | 2907 | "src/tracing/core/observable_events.cc", |
Sami Kyostila | 32e0b54 | 2018-02-14 08:55:43 +0000 | [diff] [blame] | 2908 | "src/tracing/core/packet_stream_validator.cc", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2909 | "src/tracing/core/shared_memory_abi.cc", |
Oystein Eftevaag | 6d0bc7f | 2018-01-13 12:21:55 -0800 | [diff] [blame] | 2910 | "src/tracing/core/shared_memory_arbiter_impl.cc", |
Primiano Tucci | 16d1d63 | 2018-02-22 10:16:22 +0000 | [diff] [blame] | 2911 | "src/tracing/core/sliced_protobuf_input_stream.cc", |
Eric Seckler | c65693d | 2019-01-11 15:12:48 +0000 | [diff] [blame] | 2912 | "src/tracing/core/startup_trace_writer.cc", |
Eric Seckler | 42777e5 | 2019-01-23 10:13:22 +0000 | [diff] [blame] | 2913 | "src/tracing/core/startup_trace_writer_registry.cc", |
Lalit Maganti | 3f5705c | 2018-03-09 12:09:44 +0000 | [diff] [blame] | 2914 | "src/tracing/core/test_config.cc", |
Primiano Tucci | 5c59901 | 2018-03-01 17:52:07 +0000 | [diff] [blame] | 2915 | "src/tracing/core/trace_buffer.cc", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2916 | "src/tracing/core/trace_config.cc", |
| 2917 | "src/tracing/core/trace_packet.cc", |
Eric Seckler | eaf29ed | 2019-01-23 09:53:55 +0000 | [diff] [blame] | 2918 | "src/tracing/core/trace_stats.cc", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2919 | "src/tracing/core/trace_writer_impl.cc", |
Florian Mayer | 6a1a4d5 | 2018-06-08 16:47:07 +0100 | [diff] [blame] | 2920 | "src/tracing/core/tracing_service_impl.cc", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 2921 | "src/tracing/core/tracing_service_state.cc", |
Primiano Tucci | 3cbb10a | 2018-04-10 17:52:40 +0100 | [diff] [blame] | 2922 | "src/tracing/core/virtual_destructors.cc", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2923 | "src/tracing/ipc/consumer/consumer_ipc_client_impl.cc", |
Florian Mayer | c29e0d3 | 2018-04-04 15:55:46 +0100 | [diff] [blame] | 2924 | "src/tracing/ipc/default_socket.cc", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2925 | "src/tracing/ipc/posix_shared_memory.cc", |
| 2926 | "src/tracing/ipc/producer/producer_ipc_client_impl.cc", |
| 2927 | "src/tracing/ipc/service/consumer_ipc_service.cc", |
| 2928 | "src/tracing/ipc/service/producer_ipc_service.cc", |
| 2929 | "src/tracing/ipc/service/service_ipc_host_impl.cc", |
Primiano Tucci | 2c5488f | 2019-06-01 03:27:28 +0100 | [diff] [blame] | 2930 | "src/tracing/trace_writer_base.cc", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2931 | ], |
| 2932 | shared_libs: [ |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2933 | "libprotobuf-cpp-lite", |
| 2934 | ], |
Lalit Maganti | c5bcd79 | 2018-01-12 18:38:11 +0000 | [diff] [blame] | 2935 | export_include_dirs: [ |
| 2936 | "include", |
| 2937 | ], |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2938 | generated_headers: [ |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 2939 | "perfetto_protos_perfetto_common_lite_gen_headers", |
| 2940 | "perfetto_protos_perfetto_common_zero_gen_headers", |
| 2941 | "perfetto_protos_perfetto_config_lite_gen_headers", |
| 2942 | "perfetto_protos_perfetto_config_zero_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2943 | "perfetto_protos_perfetto_ipc_ipc_gen_headers", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 2944 | "perfetto_protos_perfetto_trace_android_zero_gen_headers", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 2945 | "perfetto_protos_perfetto_trace_chrome_zero_gen_headers", |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 2946 | "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2947 | "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 2948 | "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 2949 | "perfetto_protos_perfetto_trace_minimal_lite_gen_headers", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 2950 | "perfetto_protos_perfetto_trace_power_zero_gen_headers", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 2951 | "perfetto_protos_perfetto_trace_profiling_zero_gen_headers", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 2952 | "perfetto_protos_perfetto_trace_ps_zero_gen_headers", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 2953 | "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 2954 | "perfetto_protos_perfetto_trace_track_event_zero_gen_headers", |
Oystein Eftevaag | 4d0f6c8 | 2018-04-30 14:19:59 -0700 | [diff] [blame] | 2955 | "perfetto_protos_perfetto_trace_trusted_lite_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2956 | "perfetto_protos_perfetto_trace_zero_gen_headers", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2957 | "perfetto_src_ipc_wire_protocol_gen_headers", |
| 2958 | ], |
Lalit Maganti | c5bcd79 | 2018-01-12 18:38:11 +0000 | [diff] [blame] | 2959 | export_generated_headers: [ |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 2960 | "perfetto_protos_perfetto_common_lite_gen_headers", |
| 2961 | "perfetto_protos_perfetto_common_zero_gen_headers", |
| 2962 | "perfetto_protos_perfetto_config_lite_gen_headers", |
| 2963 | "perfetto_protos_perfetto_config_zero_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2964 | "perfetto_protos_perfetto_ipc_ipc_gen_headers", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 2965 | "perfetto_protos_perfetto_trace_android_zero_gen_headers", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 2966 | "perfetto_protos_perfetto_trace_chrome_zero_gen_headers", |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 2967 | "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2968 | "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 2969 | "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 2970 | "perfetto_protos_perfetto_trace_minimal_lite_gen_headers", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 2971 | "perfetto_protos_perfetto_trace_power_zero_gen_headers", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 2972 | "perfetto_protos_perfetto_trace_profiling_zero_gen_headers", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 2973 | "perfetto_protos_perfetto_trace_ps_zero_gen_headers", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 2974 | "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 2975 | "perfetto_protos_perfetto_trace_track_event_zero_gen_headers", |
Oystein Eftevaag | 4d0f6c8 | 2018-04-30 14:19:59 -0700 | [diff] [blame] | 2976 | "perfetto_protos_perfetto_trace_trusted_lite_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2977 | "perfetto_protos_perfetto_trace_zero_gen_headers", |
Lalit Maganti | c5bcd79 | 2018-01-12 18:38:11 +0000 | [diff] [blame] | 2978 | "perfetto_src_ipc_wire_protocol_gen_headers", |
| 2979 | ], |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2980 | defaults: [ |
| 2981 | "perfetto_defaults", |
| 2982 | ], |
Florian Mayer | 3d5e7e6 | 2018-01-19 15:22:46 +0000 | [diff] [blame] | 2983 | cflags: [ |
| 2984 | "-DGOOGLE_PROTOBUF_NO_RTTI", |
| 2985 | "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
Primiano Tucci | 7c7f5f5 | 2019-01-15 21:47:04 +0000 | [diff] [blame] | 2986 | "-DPERFETTO_BUILD_WITH_ANDROID", |
Florian Mayer | 3d5e7e6 | 2018-01-19 15:22:46 +0000 | [diff] [blame] | 2987 | ], |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2988 | } |
| 2989 | |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 2990 | // GN target: //:perfetto_trace_protos |
| 2991 | cc_library_static { |
| 2992 | name: "perfetto_trace_protos", |
| 2993 | srcs: [ |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 2994 | ":perfetto_protos_perfetto_common_lite_gen", |
| 2995 | ":perfetto_protos_perfetto_config_lite_gen", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 2996 | ":perfetto_protos_perfetto_trace_android_lite_gen", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 2997 | ":perfetto_protos_perfetto_trace_chrome_lite_gen", |
| 2998 | ":perfetto_protos_perfetto_trace_filesystem_lite_gen", |
| 2999 | ":perfetto_protos_perfetto_trace_ftrace_lite_gen", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 3000 | ":perfetto_protos_perfetto_trace_interned_data_lite_gen", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 3001 | ":perfetto_protos_perfetto_trace_lite_gen", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 3002 | ":perfetto_protos_perfetto_trace_minimal_lite_gen", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 3003 | ":perfetto_protos_perfetto_trace_power_lite_gen", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 3004 | ":perfetto_protos_perfetto_trace_profiling_lite_gen", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 3005 | ":perfetto_protos_perfetto_trace_ps_lite_gen", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 3006 | ":perfetto_protos_perfetto_trace_sys_stats_lite_gen", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 3007 | ":perfetto_protos_perfetto_trace_track_event_lite_gen", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 3008 | ], |
| 3009 | shared_libs: [ |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 3010 | "libprotobuf-cpp-lite", |
| 3011 | ], |
| 3012 | host_supported: true, |
| 3013 | export_include_dirs: [ |
| 3014 | "include", |
| 3015 | ], |
| 3016 | generated_headers: [ |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 3017 | "perfetto_protos_perfetto_common_lite_gen_headers", |
| 3018 | "perfetto_protos_perfetto_config_lite_gen_headers", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 3019 | "perfetto_protos_perfetto_trace_android_lite_gen_headers", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 3020 | "perfetto_protos_perfetto_trace_chrome_lite_gen_headers", |
| 3021 | "perfetto_protos_perfetto_trace_filesystem_lite_gen_headers", |
| 3022 | "perfetto_protos_perfetto_trace_ftrace_lite_gen_headers", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 3023 | "perfetto_protos_perfetto_trace_interned_data_lite_gen_headers", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 3024 | "perfetto_protos_perfetto_trace_lite_gen_headers", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 3025 | "perfetto_protos_perfetto_trace_minimal_lite_gen_headers", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 3026 | "perfetto_protos_perfetto_trace_power_lite_gen_headers", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 3027 | "perfetto_protos_perfetto_trace_profiling_lite_gen_headers", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 3028 | "perfetto_protos_perfetto_trace_ps_lite_gen_headers", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 3029 | "perfetto_protos_perfetto_trace_sys_stats_lite_gen_headers", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 3030 | "perfetto_protos_perfetto_trace_track_event_lite_gen_headers", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 3031 | ], |
| 3032 | export_generated_headers: [ |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 3033 | "perfetto_protos_perfetto_common_lite_gen_headers", |
| 3034 | "perfetto_protos_perfetto_config_lite_gen_headers", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 3035 | "perfetto_protos_perfetto_trace_android_lite_gen_headers", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 3036 | "perfetto_protos_perfetto_trace_chrome_lite_gen_headers", |
| 3037 | "perfetto_protos_perfetto_trace_filesystem_lite_gen_headers", |
| 3038 | "perfetto_protos_perfetto_trace_ftrace_lite_gen_headers", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 3039 | "perfetto_protos_perfetto_trace_interned_data_lite_gen_headers", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 3040 | "perfetto_protos_perfetto_trace_lite_gen_headers", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 3041 | "perfetto_protos_perfetto_trace_minimal_lite_gen_headers", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 3042 | "perfetto_protos_perfetto_trace_power_lite_gen_headers", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 3043 | "perfetto_protos_perfetto_trace_profiling_lite_gen_headers", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 3044 | "perfetto_protos_perfetto_trace_ps_lite_gen_headers", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 3045 | "perfetto_protos_perfetto_trace_sys_stats_lite_gen_headers", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 3046 | "perfetto_protos_perfetto_trace_track_event_lite_gen_headers", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 3047 | ], |
| 3048 | defaults: [ |
| 3049 | "perfetto_defaults", |
| 3050 | ], |
| 3051 | cflags: [ |
| 3052 | "-DGOOGLE_PROTOBUF_NO_RTTI", |
| 3053 | "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
| 3054 | ], |
| 3055 | } |
| 3056 | |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 3057 | // GN target: //:perfetto_unittests |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 3058 | cc_test { |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 3059 | name: "perfetto_unittests", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 3060 | srcs: [ |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 3061 | ":perfetto_protos_perfetto_common_lite_gen", |
| 3062 | ":perfetto_protos_perfetto_common_zero_gen", |
| 3063 | ":perfetto_protos_perfetto_config_lite_gen", |
| 3064 | ":perfetto_protos_perfetto_config_zero_gen", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3065 | ":perfetto_protos_perfetto_ipc_ipc_gen", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 3066 | ":perfetto_protos_perfetto_trace_android_lite_gen", |
| 3067 | ":perfetto_protos_perfetto_trace_android_zero_gen", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 3068 | ":perfetto_protos_perfetto_trace_chrome_lite_gen", |
| 3069 | ":perfetto_protos_perfetto_trace_chrome_zero_gen", |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 3070 | ":perfetto_protos_perfetto_trace_filesystem_lite_gen", |
| 3071 | ":perfetto_protos_perfetto_trace_filesystem_zero_gen", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3072 | ":perfetto_protos_perfetto_trace_ftrace_lite_gen", |
| 3073 | ":perfetto_protos_perfetto_trace_ftrace_zero_gen", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 3074 | ":perfetto_protos_perfetto_trace_interned_data_lite_gen", |
| 3075 | ":perfetto_protos_perfetto_trace_interned_data_zero_gen", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3076 | ":perfetto_protos_perfetto_trace_lite_gen", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 3077 | ":perfetto_protos_perfetto_trace_minimal_lite_gen", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 3078 | ":perfetto_protos_perfetto_trace_power_lite_gen", |
| 3079 | ":perfetto_protos_perfetto_trace_power_zero_gen", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 3080 | ":perfetto_protos_perfetto_trace_profiling_lite_gen", |
| 3081 | ":perfetto_protos_perfetto_trace_profiling_zero_gen", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 3082 | ":perfetto_protos_perfetto_trace_ps_lite_gen", |
| 3083 | ":perfetto_protos_perfetto_trace_ps_zero_gen", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 3084 | ":perfetto_protos_perfetto_trace_sys_stats_lite_gen", |
| 3085 | ":perfetto_protos_perfetto_trace_sys_stats_zero_gen", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 3086 | ":perfetto_protos_perfetto_trace_track_event_lite_gen", |
| 3087 | ":perfetto_protos_perfetto_trace_track_event_zero_gen", |
Oystein Eftevaag | 4d0f6c8 | 2018-04-30 14:19:59 -0700 | [diff] [blame] | 3088 | ":perfetto_protos_perfetto_trace_trusted_lite_gen", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3089 | ":perfetto_protos_perfetto_trace_zero_gen", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 3090 | ":perfetto_src_ipc_test_messages_gen", |
| 3091 | ":perfetto_src_ipc_wire_protocol_gen", |
Hector Dearman | 86cfbe1 | 2018-03-22 11:58:42 +0000 | [diff] [blame] | 3092 | ":perfetto_src_perfetto_cmd_protos_gen", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 3093 | ":perfetto_src_protozero_testing_messages_lite_gen", |
| 3094 | ":perfetto_src_protozero_testing_messages_zero_gen", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 3095 | ":perfetto_src_traced_probes_ftrace_test_messages_lite_gen", |
| 3096 | ":perfetto_src_traced_probes_ftrace_test_messages_zero_gen", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 3097 | "src/base/android_task_runner.cc", |
Primiano Tucci | 89795fd | 2019-02-18 23:08:06 +0000 | [diff] [blame] | 3098 | "src/base/circular_queue_unittest.cc", |
Primiano Tucci | 9f7189c | 2018-10-05 00:42:12 +0100 | [diff] [blame] | 3099 | "src/base/event.cc", |
Florian Mayer | 74b73a9 | 2018-03-09 17:37:13 +0000 | [diff] [blame] | 3100 | "src/base/file_utils.cc", |
Florian Mayer | 236ba47 | 2018-05-09 15:47:53 +0100 | [diff] [blame] | 3101 | "src/base/metatrace.cc", |
Ryan Savitski | 478c118 | 2019-04-04 23:28:11 +0100 | [diff] [blame] | 3102 | "src/base/no_destructor_unittest.cc", |
Lalit Maganti | f3e5b07 | 2018-11-19 21:51:47 +0000 | [diff] [blame] | 3103 | "src/base/optional_unittest.cc", |
Eric Seckler | edf3f7c | 2018-10-23 16:44:53 +0100 | [diff] [blame] | 3104 | "src/base/paged_memory.cc", |
| 3105 | "src/base/paged_memory_unittest.cc", |
Primiano Tucci | 76499cd | 2018-11-21 10:54:04 +0100 | [diff] [blame] | 3106 | "src/base/pipe.cc", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 3107 | "src/base/scoped_file_unittest.cc", |
Primiano Tucci | 825e6de | 2018-03-13 05:43:15 +0000 | [diff] [blame] | 3108 | "src/base/string_splitter.cc", |
| 3109 | "src/base/string_splitter_unittest.cc", |
Hector Dearman | 3afb1e0 | 2018-04-27 16:46:52 +0100 | [diff] [blame] | 3110 | "src/base/string_utils.cc", |
| 3111 | "src/base/string_utils_unittest.cc", |
Primiano Tucci | 60c4a2b | 2019-03-02 17:11:18 +0000 | [diff] [blame] | 3112 | "src/base/string_view.cc", |
Primiano Tucci | 2da5d2e | 2018-08-10 14:23:31 +0100 | [diff] [blame] | 3113 | "src/base/string_view_unittest.cc", |
Lalit Maganti | bd3fb82 | 2019-02-08 10:08:20 +0000 | [diff] [blame] | 3114 | "src/base/string_writer_unittest.cc", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 3115 | "src/base/task_runner_unittest.cc", |
Primiano Tucci | 941b221 | 2018-03-14 22:46:31 +0000 | [diff] [blame] | 3116 | "src/base/temp_file.cc", |
| 3117 | "src/base/temp_file_unittest.cc", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 3118 | "src/base/test/test_task_runner.cc", |
Hector Dearman | 7f71d0e | 2018-08-09 11:26:10 +0100 | [diff] [blame] | 3119 | "src/base/test/utils.cc", |
Primiano Tucci | bbaa58c | 2017-12-20 13:48:20 +0100 | [diff] [blame] | 3120 | "src/base/test/vm_test_utils.cc", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 3121 | "src/base/thread_checker.cc", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 3122 | "src/base/thread_checker_unittest.cc", |
Ryan Savitski | 2988579 | 2019-03-14 12:10:13 +0000 | [diff] [blame] | 3123 | "src/base/thread_task_runner.cc", |
| 3124 | "src/base/thread_task_runner_unittest.cc", |
Florian Mayer | 75905df | 2018-05-08 17:44:08 +0100 | [diff] [blame] | 3125 | "src/base/time.cc", |
Primiano Tucci | 8934c6c | 2018-03-15 11:39:27 +0000 | [diff] [blame] | 3126 | "src/base/time_unittest.cc", |
Florian Mayer | f7f0def | 2018-09-27 13:59:24 +0100 | [diff] [blame] | 3127 | "src/base/unix_socket.cc", |
| 3128 | "src/base/unix_socket_unittest.cc", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 3129 | "src/base/unix_task_runner.cc", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 3130 | "src/base/utils_unittest.cc", |
Primiano Tucci | 3cbb10a | 2018-04-10 17:52:40 +0100 | [diff] [blame] | 3131 | "src/base/virtual_destructors.cc", |
Primiano Tucci | 808d6df | 2018-03-31 13:24:18 +0100 | [diff] [blame] | 3132 | "src/base/watchdog_posix.cc", |
Florian Mayer | b433400 | 2018-02-01 11:10:36 +0000 | [diff] [blame] | 3133 | "src/base/watchdog_unittest.cc", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 3134 | "src/base/weak_ptr_unittest.cc", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 3135 | "src/ipc/buffered_frame_deserializer.cc", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 3136 | "src/ipc/buffered_frame_deserializer_unittest.cc", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 3137 | "src/ipc/client_impl.cc", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 3138 | "src/ipc/client_impl_unittest.cc", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 3139 | "src/ipc/deferred.cc", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 3140 | "src/ipc/deferred_unittest.cc", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 3141 | "src/ipc/host_impl.cc", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 3142 | "src/ipc/host_impl_unittest.cc", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 3143 | "src/ipc/service_proxy.cc", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 3144 | "src/ipc/test/ipc_integrationtest.cc", |
Primiano Tucci | 3cbb10a | 2018-04-10 17:52:40 +0100 | [diff] [blame] | 3145 | "src/ipc/virtual_destructors.cc", |
Hector Dearman | 5edeafc | 2018-11-29 13:27:33 +0000 | [diff] [blame] | 3146 | "src/perfetto_cmd/config.cc", |
| 3147 | "src/perfetto_cmd/config_unittest.cc", |
Hector Dearman | b7fa544 | 2018-11-08 18:39:32 +0000 | [diff] [blame] | 3148 | "src/perfetto_cmd/pbtxt_to_pb.cc", |
| 3149 | "src/perfetto_cmd/pbtxt_to_pb_unittest.cc", |
Hector Dearman | 86cfbe1 | 2018-03-22 11:58:42 +0000 | [diff] [blame] | 3150 | "src/perfetto_cmd/perfetto_cmd.cc", |
| 3151 | "src/perfetto_cmd/rate_limiter.cc", |
| 3152 | "src/perfetto_cmd/rate_limiter_unittest.cc", |
Stephen Nusko | e823811 | 2019-04-09 18:37:00 +0100 | [diff] [blame] | 3153 | "src/perfetto_cmd/trigger_producer.cc", |
Florian Mayer | 824274d | 2018-09-17 11:33:45 +0100 | [diff] [blame] | 3154 | "src/profiling/memory/bookkeeping.cc", |
Florian Mayer | 7791fce | 2019-05-16 18:04:20 +0100 | [diff] [blame] | 3155 | "src/profiling/memory/bookkeeping_dump.cc", |
Florian Mayer | 824274d | 2018-09-17 11:33:45 +0100 | [diff] [blame] | 3156 | "src/profiling/memory/bookkeeping_unittest.cc", |
| 3157 | "src/profiling/memory/client.cc", |
| 3158 | "src/profiling/memory/client_unittest.cc", |
Primiano Tucci | 0f2f3b4 | 2019-05-21 19:37:01 +0100 | [diff] [blame] | 3159 | "src/profiling/memory/heapprofd_config.cc", |
Florian Mayer | e9f4686 | 2018-11-07 20:20:37 +0000 | [diff] [blame] | 3160 | "src/profiling/memory/heapprofd_producer.cc", |
Florian Mayer | 096bbe3 | 2019-04-03 12:10:53 +0100 | [diff] [blame] | 3161 | "src/profiling/memory/heapprofd_producer_unittest.cc", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 3162 | "src/profiling/memory/interner_unittest.cc", |
Florian Mayer | 7142c7c | 2019-05-20 18:11:41 +0100 | [diff] [blame] | 3163 | "src/profiling/memory/page_idle_checker.cc", |
| 3164 | "src/profiling/memory/page_idle_checker_unittest.cc", |
Florian Mayer | 745aaf2 | 2018-12-13 14:53:07 +0000 | [diff] [blame] | 3165 | "src/profiling/memory/proc_utils.cc", |
Florian Mayer | f3e3dd3 | 2019-01-17 10:33:56 +0000 | [diff] [blame] | 3166 | "src/profiling/memory/proc_utils_unittest.cc", |
Florian Mayer | c6be21f | 2018-10-02 11:33:59 +0100 | [diff] [blame] | 3167 | "src/profiling/memory/sampler_unittest.cc", |
Ryan Savitski | a502bde | 2019-02-26 21:34:03 +0000 | [diff] [blame] | 3168 | "src/profiling/memory/scoped_spinlock.cc", |
Florian Mayer | c50bcc9 | 2019-02-07 11:43:30 +0000 | [diff] [blame] | 3169 | "src/profiling/memory/shared_ring_buffer.cc", |
| 3170 | "src/profiling/memory/shared_ring_buffer_unittest.cc", |
Florian Mayer | 78cb562 | 2018-11-27 17:17:10 +0000 | [diff] [blame] | 3171 | "src/profiling/memory/system_property.cc", |
| 3172 | "src/profiling/memory/system_property_unittest.cc", |
Florian Mayer | a2fae26 | 2018-08-31 12:10:01 -0700 | [diff] [blame] | 3173 | "src/profiling/memory/unwinding.cc", |
| 3174 | "src/profiling/memory/unwinding_unittest.cc", |
Florian Mayer | 7142c7c | 2019-05-20 18:11:41 +0100 | [diff] [blame] | 3175 | "src/profiling/memory/utils.cc", |
Florian Mayer | b85a938 | 2018-09-27 13:59:01 +0100 | [diff] [blame] | 3176 | "src/profiling/memory/wire_protocol.cc", |
Florian Mayer | 7ad1275 | 2018-10-02 16:48:44 +0100 | [diff] [blame] | 3177 | "src/profiling/memory/wire_protocol_unittest.cc", |
Hector Dearman | e1e56b6 | 2018-02-21 19:11:58 +0000 | [diff] [blame] | 3178 | "src/protozero/message.cc", |
| 3179 | "src/protozero/message_handle.cc", |
| 3180 | "src/protozero/message_handle_unittest.cc", |
| 3181 | "src/protozero/message_unittest.cc", |
Lalit Maganti | 45172a8 | 2018-06-01 03:04:43 +0100 | [diff] [blame] | 3182 | "src/protozero/proto_decoder.cc", |
| 3183 | "src/protozero/proto_decoder_unittest.cc", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 3184 | "src/protozero/proto_utils_unittest.cc", |
Eric Seckler | 7631120 | 2019-01-07 12:20:25 +0000 | [diff] [blame] | 3185 | "src/protozero/scattered_heap_buffer.cc", |
Hector Dearman | 9a5a0e9 | 2018-03-27 17:52:24 +0100 | [diff] [blame] | 3186 | "src/protozero/scattered_stream_null_delegate.cc", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 3187 | "src/protozero/scattered_stream_writer.cc", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 3188 | "src/protozero/scattered_stream_writer_unittest.cc", |
| 3189 | "src/protozero/test/fake_scattered_buffer.cc", |
| 3190 | "src/protozero/test/protozero_conformance_unittest.cc", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 3191 | "src/traced/probes/android_log/android_log_data_source.cc", |
| 3192 | "src/traced/probes/android_log/android_log_data_source_unittest.cc", |
Florian Mayer | 6f9c342 | 2018-03-29 10:37:41 +0100 | [diff] [blame] | 3193 | "src/traced/probes/filesystem/file_scanner.cc", |
Florian Mayer | aef0c53 | 2018-04-04 10:34:08 +0100 | [diff] [blame] | 3194 | "src/traced/probes/filesystem/file_scanner_unittest.cc", |
Florian Mayer | 74b73a9 | 2018-03-09 17:37:13 +0000 | [diff] [blame] | 3195 | "src/traced/probes/filesystem/fs_mount.cc", |
| 3196 | "src/traced/probes/filesystem/fs_mount_unittest.cc", |
Anna Zappone | 2a6f904 | 2018-03-14 13:26:07 +0000 | [diff] [blame] | 3197 | "src/traced/probes/filesystem/inode_file_data_source.cc", |
Florian Mayer | dd88914 | 2018-04-05 16:19:37 +0100 | [diff] [blame] | 3198 | "src/traced/probes/filesystem/inode_file_data_source_unittest.cc", |
Florian Mayer | 8a56b70 | 2018-03-14 11:01:17 +0000 | [diff] [blame] | 3199 | "src/traced/probes/filesystem/lru_inode_cache.cc", |
| 3200 | "src/traced/probes/filesystem/lru_inode_cache_unittest.cc", |
Florian Mayer | b21f4fb | 2018-03-22 15:24:56 +0000 | [diff] [blame] | 3201 | "src/traced/probes/filesystem/prefix_finder.cc", |
| 3202 | "src/traced/probes/filesystem/prefix_finder_unittest.cc", |
| 3203 | "src/traced/probes/filesystem/range_tree.cc", |
| 3204 | "src/traced/probes/filesystem/range_tree_unittest.cc", |
Isabelle Taylor | f3edbfa | 2019-03-26 11:07:19 +0000 | [diff] [blame] | 3205 | "src/traced/probes/ftrace/atrace_hal_wrapper.cc", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 3206 | "src/traced/probes/ftrace/atrace_wrapper.cc", |
| 3207 | "src/traced/probes/ftrace/cpu_reader.cc", |
| 3208 | "src/traced/probes/ftrace/cpu_reader_unittest.cc", |
| 3209 | "src/traced/probes/ftrace/cpu_stats_parser.cc", |
| 3210 | "src/traced/probes/ftrace/cpu_stats_parser_unittest.cc", |
| 3211 | "src/traced/probes/ftrace/event_info.cc", |
| 3212 | "src/traced/probes/ftrace/event_info_constants.cc", |
| 3213 | "src/traced/probes/ftrace/event_info_unittest.cc", |
| 3214 | "src/traced/probes/ftrace/format_parser.cc", |
| 3215 | "src/traced/probes/ftrace/format_parser_unittest.cc", |
| 3216 | "src/traced/probes/ftrace/ftrace_config.cc", |
| 3217 | "src/traced/probes/ftrace/ftrace_config_muxer.cc", |
| 3218 | "src/traced/probes/ftrace/ftrace_config_muxer_unittest.cc", |
| 3219 | "src/traced/probes/ftrace/ftrace_config_unittest.cc", |
Primiano Tucci | 0f2f3b4 | 2019-05-21 19:37:01 +0100 | [diff] [blame] | 3220 | "src/traced/probes/ftrace/ftrace_config_utils.cc", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 3221 | "src/traced/probes/ftrace/ftrace_controller.cc", |
| 3222 | "src/traced/probes/ftrace/ftrace_controller_unittest.cc", |
Primiano Tucci | fd8240d | 2018-08-01 09:34:54 +0100 | [diff] [blame] | 3223 | "src/traced/probes/ftrace/ftrace_data_source.cc", |
Primiano Tucci | b6de48b | 2018-07-26 16:00:44 +0100 | [diff] [blame] | 3224 | "src/traced/probes/ftrace/ftrace_metadata.cc", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 3225 | "src/traced/probes/ftrace/ftrace_procfs.cc", |
| 3226 | "src/traced/probes/ftrace/ftrace_procfs_unittest.cc", |
Primiano Tucci | fd8240d | 2018-08-01 09:34:54 +0100 | [diff] [blame] | 3227 | "src/traced/probes/ftrace/ftrace_stats.cc", |
Primiano Tucci | c20ee51 | 2018-11-29 16:40:55 +0000 | [diff] [blame] | 3228 | "src/traced/probes/ftrace/page_pool.cc", |
| 3229 | "src/traced/probes/ftrace/page_pool_unittest.cc", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 3230 | "src/traced/probes/ftrace/proto_translation_table.cc", |
| 3231 | "src/traced/probes/ftrace/proto_translation_table_unittest.cc", |
| 3232 | "src/traced/probes/ftrace/test/cpu_reader_support.cc", |
Florian Mayer | 12f0f8e | 2019-04-02 12:31:13 +0100 | [diff] [blame] | 3233 | "src/traced/probes/packages_list/packages_list_data_source.cc", |
| 3234 | "src/traced/probes/packages_list/packages_list_data_source_unittest.cc", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 3235 | "src/traced/probes/power/android_power_data_source.cc", |
Primiano Tucci | fd8240d | 2018-08-01 09:34:54 +0100 | [diff] [blame] | 3236 | "src/traced/probes/probes_data_source.cc", |
Hector Dearman | ebf07c7 | 2018-03-13 10:31:05 +0000 | [diff] [blame] | 3237 | "src/traced/probes/probes_producer.cc", |
Primiano Tucci | b6de48b | 2018-07-26 16:00:44 +0100 | [diff] [blame] | 3238 | "src/traced/probes/ps/process_stats_data_source.cc", |
| 3239 | "src/traced/probes/ps/process_stats_data_source_unittest.cc", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 3240 | "src/traced/probes/sys_stats/sys_stats_data_source.cc", |
| 3241 | "src/traced/probes/sys_stats/sys_stats_data_source_unittest.cc", |
Florian Mayer | 3077d18 | 2019-03-15 14:30:04 -0700 | [diff] [blame] | 3242 | "src/traced/service/lazy_producer.cc", |
| 3243 | "src/traced/service/lazy_producer_unittest.cc", |
| 3244 | "src/traced/service/service.cc", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 3245 | "src/tracing/core/chrome_config.cc", |
Primiano Tucci | 79f3f91 | 2018-03-02 12:00:31 +0000 | [diff] [blame] | 3246 | "src/tracing/core/commit_data_request.cc", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 3247 | "src/tracing/core/data_source_config.cc", |
| 3248 | "src/tracing/core/data_source_descriptor.cc", |
Primiano Tucci | 422caff | 2017-12-18 23:58:52 +0100 | [diff] [blame] | 3249 | "src/tracing/core/id_allocator.cc", |
| 3250 | "src/tracing/core/id_allocator_unittest.cc", |
Hector Dearman | 9a5a0e9 | 2018-03-27 17:52:24 +0100 | [diff] [blame] | 3251 | "src/tracing/core/null_trace_writer.cc", |
| 3252 | "src/tracing/core/null_trace_writer_unittest.cc", |
Eric Seckler | 7b0c945 | 2019-03-18 13:14:36 +0000 | [diff] [blame] | 3253 | "src/tracing/core/observable_events.cc", |
Sami Kyostila | 32e0b54 | 2018-02-14 08:55:43 +0000 | [diff] [blame] | 3254 | "src/tracing/core/packet_stream_validator.cc", |
| 3255 | "src/tracing/core/packet_stream_validator_unittest.cc", |
Primiano Tucci | 09db827 | 2018-03-08 17:47:47 +0000 | [diff] [blame] | 3256 | "src/tracing/core/patch_list_unittest.cc", |
Primiano Tucci | f5d6d53 | 2017-12-19 00:59:34 +0100 | [diff] [blame] | 3257 | "src/tracing/core/shared_memory_abi.cc", |
| 3258 | "src/tracing/core/shared_memory_abi_unittest.cc", |
Oystein Eftevaag | 6d0bc7f | 2018-01-13 12:21:55 -0800 | [diff] [blame] | 3259 | "src/tracing/core/shared_memory_arbiter_impl.cc", |
| 3260 | "src/tracing/core/shared_memory_arbiter_impl_unittest.cc", |
Primiano Tucci | 16d1d63 | 2018-02-22 10:16:22 +0000 | [diff] [blame] | 3261 | "src/tracing/core/sliced_protobuf_input_stream.cc", |
| 3262 | "src/tracing/core/sliced_protobuf_input_stream_unittest.cc", |
Eric Seckler | c65693d | 2019-01-11 15:12:48 +0000 | [diff] [blame] | 3263 | "src/tracing/core/startup_trace_writer.cc", |
Eric Seckler | 42777e5 | 2019-01-23 10:13:22 +0000 | [diff] [blame] | 3264 | "src/tracing/core/startup_trace_writer_registry.cc", |
Eric Seckler | c65693d | 2019-01-11 15:12:48 +0000 | [diff] [blame] | 3265 | "src/tracing/core/startup_trace_writer_unittest.cc", |
Lalit Maganti | 3f5705c | 2018-03-09 12:09:44 +0000 | [diff] [blame] | 3266 | "src/tracing/core/test_config.cc", |
Primiano Tucci | 5c59901 | 2018-03-01 17:52:07 +0000 | [diff] [blame] | 3267 | "src/tracing/core/trace_buffer.cc", |
| 3268 | "src/tracing/core/trace_buffer_unittest.cc", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 3269 | "src/tracing/core/trace_config.cc", |
| 3270 | "src/tracing/core/trace_packet.cc", |
| 3271 | "src/tracing/core/trace_packet_unittest.cc", |
Eric Seckler | eaf29ed | 2019-01-23 09:53:55 +0000 | [diff] [blame] | 3272 | "src/tracing/core/trace_stats.cc", |
Isabelle Taylor | 1684856 | 2018-04-12 13:30:58 +0100 | [diff] [blame] | 3273 | "src/tracing/core/trace_writer_for_testing.cc", |
Primiano Tucci | d7b59c4 | 2017-12-19 01:43:07 +0100 | [diff] [blame] | 3274 | "src/tracing/core/trace_writer_impl.cc", |
| 3275 | "src/tracing/core/trace_writer_impl_unittest.cc", |
Florian Mayer | 6a1a4d5 | 2018-06-08 16:47:07 +0100 | [diff] [blame] | 3276 | "src/tracing/core/tracing_service_impl.cc", |
Hector Dearman | 85170a2 | 2019-03-12 14:34:16 +0000 | [diff] [blame] | 3277 | "src/tracing/core/tracing_service_impl_unittest.cc", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 3278 | "src/tracing/core/tracing_service_state.cc", |
Primiano Tucci | 3cbb10a | 2018-04-10 17:52:40 +0100 | [diff] [blame] | 3279 | "src/tracing/core/virtual_destructors.cc", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 3280 | "src/tracing/ipc/posix_shared_memory_unittest.cc", |
Primiano Tucci | d7b59c4 | 2017-12-19 01:43:07 +0100 | [diff] [blame] | 3281 | "src/tracing/test/aligned_buffer_test.cc", |
Primiano Tucci | 5c59901 | 2018-03-01 17:52:07 +0000 | [diff] [blame] | 3282 | "src/tracing/test/fake_packet.cc", |
Primiano Tucci | dca727d | 2018-04-04 11:31:55 +0200 | [diff] [blame] | 3283 | "src/tracing/test/mock_consumer.cc", |
| 3284 | "src/tracing/test/mock_producer.cc", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 3285 | "src/tracing/test/test_shared_memory.cc", |
Primiano Tucci | 5358933 | 2017-12-19 11:31:13 +0100 | [diff] [blame] | 3286 | "src/tracing/test/tracing_integration_test.cc", |
Primiano Tucci | 2c5488f | 2019-06-01 03:27:28 +0100 | [diff] [blame] | 3287 | "src/tracing/trace_writer_base.cc", |
Isabelle Taylor | cfc8eba | 2018-12-16 21:02:56 +0000 | [diff] [blame] | 3288 | "tools/ftrace_proto_gen/ftrace_descriptor_gen.cc", |
Hector Dearman | 39071ba | 2018-01-16 13:58:50 +0000 | [diff] [blame] | 3289 | "tools/ftrace_proto_gen/ftrace_proto_gen.cc", |
| 3290 | "tools/ftrace_proto_gen/ftrace_proto_gen_unittest.cc", |
Isabelle Taylor | aa45fe0 | 2018-12-16 21:02:20 +0000 | [diff] [blame] | 3291 | "tools/ftrace_proto_gen/proto_gen_utils.cc", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 3292 | "tools/sanitizers_unittests/sanitizers_unittest.cc", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 3293 | ], |
| 3294 | shared_libs: [ |
| 3295 | "libandroid", |
Florian Mayer | a2fae26 | 2018-08-31 12:10:01 -0700 | [diff] [blame] | 3296 | "libbase", |
Primiano Tucci | 106605c | 2019-01-08 21:12:58 +0000 | [diff] [blame] | 3297 | "libbinder", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 3298 | "liblog", |
Florian Mayer | a2fae26 | 2018-08-31 12:10:01 -0700 | [diff] [blame] | 3299 | "libprocinfo", |
Florian Mayer | 7c9e3b2 | 2018-04-26 11:55:15 +0100 | [diff] [blame] | 3300 | "libprotobuf-cpp-full", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 3301 | "libprotobuf-cpp-lite", |
Primiano Tucci | 106605c | 2019-01-08 21:12:58 +0000 | [diff] [blame] | 3302 | "libservices", |
Florian Mayer | a2fae26 | 2018-08-31 12:10:01 -0700 | [diff] [blame] | 3303 | "libunwindstack", |
Primiano Tucci | 106605c | 2019-01-08 21:12:58 +0000 | [diff] [blame] | 3304 | "libutils", |
Hector Dearman | e0b993f | 2019-05-24 18:48:16 +0100 | [diff] [blame] | 3305 | "libz", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 3306 | ], |
| 3307 | static_libs: [ |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 3308 | "libgmock", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 3309 | "perfetto_src_tracing_ipc", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 3310 | ], |
| 3311 | generated_headers: [ |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 3312 | "perfetto_protos_perfetto_common_lite_gen_headers", |
| 3313 | "perfetto_protos_perfetto_common_zero_gen_headers", |
| 3314 | "perfetto_protos_perfetto_config_lite_gen_headers", |
| 3315 | "perfetto_protos_perfetto_config_zero_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3316 | "perfetto_protos_perfetto_ipc_ipc_gen_headers", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 3317 | "perfetto_protos_perfetto_trace_android_lite_gen_headers", |
| 3318 | "perfetto_protos_perfetto_trace_android_zero_gen_headers", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 3319 | "perfetto_protos_perfetto_trace_chrome_lite_gen_headers", |
| 3320 | "perfetto_protos_perfetto_trace_chrome_zero_gen_headers", |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 3321 | "perfetto_protos_perfetto_trace_filesystem_lite_gen_headers", |
| 3322 | "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3323 | "perfetto_protos_perfetto_trace_ftrace_lite_gen_headers", |
| 3324 | "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 3325 | "perfetto_protos_perfetto_trace_interned_data_lite_gen_headers", |
| 3326 | "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3327 | "perfetto_protos_perfetto_trace_lite_gen_headers", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 3328 | "perfetto_protos_perfetto_trace_minimal_lite_gen_headers", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 3329 | "perfetto_protos_perfetto_trace_power_lite_gen_headers", |
| 3330 | "perfetto_protos_perfetto_trace_power_zero_gen_headers", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 3331 | "perfetto_protos_perfetto_trace_profiling_lite_gen_headers", |
| 3332 | "perfetto_protos_perfetto_trace_profiling_zero_gen_headers", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 3333 | "perfetto_protos_perfetto_trace_ps_lite_gen_headers", |
| 3334 | "perfetto_protos_perfetto_trace_ps_zero_gen_headers", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 3335 | "perfetto_protos_perfetto_trace_sys_stats_lite_gen_headers", |
| 3336 | "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 3337 | "perfetto_protos_perfetto_trace_track_event_lite_gen_headers", |
| 3338 | "perfetto_protos_perfetto_trace_track_event_zero_gen_headers", |
Oystein Eftevaag | 4d0f6c8 | 2018-04-30 14:19:59 -0700 | [diff] [blame] | 3339 | "perfetto_protos_perfetto_trace_trusted_lite_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3340 | "perfetto_protos_perfetto_trace_zero_gen_headers", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 3341 | "perfetto_src_ipc_test_messages_gen_headers", |
| 3342 | "perfetto_src_ipc_wire_protocol_gen_headers", |
Hector Dearman | 86cfbe1 | 2018-03-22 11:58:42 +0000 | [diff] [blame] | 3343 | "perfetto_src_perfetto_cmd_protos_gen_headers", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 3344 | "perfetto_src_protozero_testing_messages_lite_gen_headers", |
| 3345 | "perfetto_src_protozero_testing_messages_zero_gen_headers", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 3346 | "perfetto_src_traced_probes_ftrace_test_messages_lite_gen_headers", |
| 3347 | "perfetto_src_traced_probes_ftrace_test_messages_zero_gen_headers", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 3348 | ], |
| 3349 | defaults: [ |
| 3350 | "perfetto_defaults", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 3351 | ], |
Florian Mayer | 3d5e7e6 | 2018-01-19 15:22:46 +0000 | [diff] [blame] | 3352 | cflags: [ |
| 3353 | "-DGOOGLE_PROTOBUF_NO_RTTI", |
| 3354 | "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
Primiano Tucci | 106605c | 2019-01-08 21:12:58 +0000 | [diff] [blame] | 3355 | "-DPERFETTO_BUILD_WITH_ANDROID", |
Florian Mayer | 3d5e7e6 | 2018-01-19 15:22:46 +0000 | [diff] [blame] | 3356 | ], |
Logan Chien | 9bfaaf9 | 2018-02-13 18:49:24 +0800 | [diff] [blame] | 3357 | product_variables: { |
| 3358 | pdk: { |
| 3359 | enabled: false, |
| 3360 | }, |
| 3361 | }, |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 3362 | } |
Primiano Tucci | 4e49c02 | 2017-12-21 18:22:44 +0100 | [diff] [blame] | 3363 | |
Primiano Tucci | 21c19d8 | 2018-03-29 12:35:08 +0100 | [diff] [blame] | 3364 | // GN target: //:trace_to_text |
| 3365 | cc_binary_host { |
| 3366 | name: "trace_to_text", |
| 3367 | srcs: [ |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 3368 | ":perfetto_protos_perfetto_common_lite_gen", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 3369 | ":perfetto_protos_perfetto_common_zero_gen", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 3370 | ":perfetto_protos_perfetto_config_lite_gen", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 3371 | ":perfetto_protos_perfetto_config_zero_gen", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 3372 | ":perfetto_protos_perfetto_metrics_android_zero_gen", |
| 3373 | ":perfetto_protos_perfetto_metrics_zero_gen", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 3374 | ":perfetto_protos_perfetto_trace_android_lite_gen", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 3375 | ":perfetto_protos_perfetto_trace_android_zero_gen", |
Primiano Tucci | 21c19d8 | 2018-03-29 12:35:08 +0100 | [diff] [blame] | 3376 | ":perfetto_protos_perfetto_trace_chrome_lite_gen", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 3377 | ":perfetto_protos_perfetto_trace_chrome_zero_gen", |
Primiano Tucci | 21c19d8 | 2018-03-29 12:35:08 +0100 | [diff] [blame] | 3378 | ":perfetto_protos_perfetto_trace_filesystem_lite_gen", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 3379 | ":perfetto_protos_perfetto_trace_filesystem_zero_gen", |
Primiano Tucci | 21c19d8 | 2018-03-29 12:35:08 +0100 | [diff] [blame] | 3380 | ":perfetto_protos_perfetto_trace_ftrace_lite_gen", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 3381 | ":perfetto_protos_perfetto_trace_ftrace_zero_gen", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 3382 | ":perfetto_protos_perfetto_trace_interned_data_lite_gen", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 3383 | ":perfetto_protos_perfetto_trace_interned_data_zero_gen", |
Primiano Tucci | 21c19d8 | 2018-03-29 12:35:08 +0100 | [diff] [blame] | 3384 | ":perfetto_protos_perfetto_trace_lite_gen", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 3385 | ":perfetto_protos_perfetto_trace_minimal_lite_gen", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 3386 | ":perfetto_protos_perfetto_trace_power_lite_gen", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 3387 | ":perfetto_protos_perfetto_trace_power_zero_gen", |
Lalit Maganti | e59293b | 2019-05-22 15:07:39 +0100 | [diff] [blame] | 3388 | ":perfetto_protos_perfetto_trace_processor_metrics_impl_zero_gen", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 3389 | ":perfetto_protos_perfetto_trace_profiling_lite_gen", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 3390 | ":perfetto_protos_perfetto_trace_profiling_zero_gen", |
Primiano Tucci | 21c19d8 | 2018-03-29 12:35:08 +0100 | [diff] [blame] | 3391 | ":perfetto_protos_perfetto_trace_ps_lite_gen", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 3392 | ":perfetto_protos_perfetto_trace_ps_zero_gen", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 3393 | ":perfetto_protos_perfetto_trace_sys_stats_lite_gen", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 3394 | ":perfetto_protos_perfetto_trace_sys_stats_zero_gen", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 3395 | ":perfetto_protos_perfetto_trace_track_event_lite_gen", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 3396 | ":perfetto_protos_perfetto_trace_track_event_zero_gen", |
| 3397 | ":perfetto_protos_perfetto_trace_zero_gen", |
Florian Mayer | 0ca7fb4 | 2018-11-15 21:13:42 +0000 | [diff] [blame] | 3398 | ":perfetto_protos_third_party_pprof_lite_gen", |
| 3399 | "src/base/event.cc", |
| 3400 | "src/base/file_utils.cc", |
| 3401 | "src/base/metatrace.cc", |
| 3402 | "src/base/paged_memory.cc", |
Primiano Tucci | 76499cd | 2018-11-21 10:54:04 +0100 | [diff] [blame] | 3403 | "src/base/pipe.cc", |
Florian Mayer | 0ca7fb4 | 2018-11-15 21:13:42 +0000 | [diff] [blame] | 3404 | "src/base/string_splitter.cc", |
| 3405 | "src/base/string_utils.cc", |
Primiano Tucci | 60c4a2b | 2019-03-02 17:11:18 +0000 | [diff] [blame] | 3406 | "src/base/string_view.cc", |
Florian Mayer | 0ca7fb4 | 2018-11-15 21:13:42 +0000 | [diff] [blame] | 3407 | "src/base/temp_file.cc", |
| 3408 | "src/base/thread_checker.cc", |
Ryan Savitski | 2988579 | 2019-03-14 12:10:13 +0000 | [diff] [blame] | 3409 | "src/base/thread_task_runner.cc", |
Florian Mayer | 0ca7fb4 | 2018-11-15 21:13:42 +0000 | [diff] [blame] | 3410 | "src/base/time.cc", |
| 3411 | "src/base/unix_task_runner.cc", |
| 3412 | "src/base/virtual_destructors.cc", |
| 3413 | "src/base/watchdog_posix.cc", |
Lalit Maganti | 17aa273 | 2019-02-08 15:47:26 +0000 | [diff] [blame] | 3414 | "src/protozero/message.cc", |
| 3415 | "src/protozero/message_handle.cc", |
| 3416 | "src/protozero/proto_decoder.cc", |
Lalit Maganti | 17aa273 | 2019-02-08 15:47:26 +0000 | [diff] [blame] | 3417 | "src/protozero/scattered_heap_buffer.cc", |
| 3418 | "src/protozero/scattered_stream_null_delegate.cc", |
| 3419 | "src/protozero/scattered_stream_writer.cc", |
| 3420 | "src/trace_processor/android_logs_table.cc", |
| 3421 | "src/trace_processor/args_table.cc", |
| 3422 | "src/trace_processor/args_tracker.cc", |
| 3423 | "src/trace_processor/clock_tracker.cc", |
Lalit Maganti | 8320e6d | 2019-03-14 18:49:33 +0000 | [diff] [blame] | 3424 | "src/trace_processor/counter_definitions_table.cc", |
| 3425 | "src/trace_processor/counter_values_table.cc", |
Lalit Maganti | 17aa273 | 2019-02-08 15:47:26 +0000 | [diff] [blame] | 3426 | "src/trace_processor/event_tracker.cc", |
| 3427 | "src/trace_processor/filtered_row_index.cc", |
| 3428 | "src/trace_processor/ftrace_descriptors.cc", |
| 3429 | "src/trace_processor/ftrace_utils.cc", |
Brian Hamrick | d57e133 | 2019-04-24 11:25:36 -0700 | [diff] [blame] | 3430 | "src/trace_processor/fuchsia_provider_view.cc", |
| 3431 | "src/trace_processor/fuchsia_trace_parser.cc", |
| 3432 | "src/trace_processor/fuchsia_trace_tokenizer.cc", |
| 3433 | "src/trace_processor/fuchsia_trace_utils.cc", |
Lalit Maganti | 9b2d52b | 2019-05-07 14:32:15 +0100 | [diff] [blame] | 3434 | "src/trace_processor/heap_profile_allocation_table.cc", |
| 3435 | "src/trace_processor/heap_profile_callsite_table.cc", |
| 3436 | "src/trace_processor/heap_profile_frame_table.cc", |
| 3437 | "src/trace_processor/heap_profile_mapping_table.cc", |
Florian Mayer | 438b5ab | 2019-05-02 11:18:06 +0100 | [diff] [blame] | 3438 | "src/trace_processor/heap_profile_tracker.cc", |
Lalit Maganti | 17aa273 | 2019-02-08 15:47:26 +0000 | [diff] [blame] | 3439 | "src/trace_processor/instants_table.cc", |
Mikhail Khokhlov | e466c00 | 2019-05-23 13:33:33 +0100 | [diff] [blame] | 3440 | "src/trace_processor/metadata_table.cc", |
Lalit Maganti | 6221107 | 2019-05-10 14:09:58 +0100 | [diff] [blame] | 3441 | "src/trace_processor/metrics/descriptors.cc", |
Lalit Maganti | 622676a | 2019-04-30 14:15:37 +0100 | [diff] [blame] | 3442 | "src/trace_processor/metrics/metrics.cc", |
Lalit Maganti | 17aa273 | 2019-02-08 15:47:26 +0000 | [diff] [blame] | 3443 | "src/trace_processor/process_table.cc", |
| 3444 | "src/trace_processor/process_tracker.cc", |
| 3445 | "src/trace_processor/proto_trace_parser.cc", |
| 3446 | "src/trace_processor/proto_trace_tokenizer.cc", |
| 3447 | "src/trace_processor/query_constraints.cc", |
| 3448 | "src/trace_processor/raw_table.cc", |
| 3449 | "src/trace_processor/row_iterators.cc", |
| 3450 | "src/trace_processor/sched_slice_table.cc", |
| 3451 | "src/trace_processor/slice_table.cc", |
| 3452 | "src/trace_processor/slice_tracker.cc", |
| 3453 | "src/trace_processor/span_join_operator_table.cc", |
| 3454 | "src/trace_processor/sql_stats_table.cc", |
Ioannis Ilkos | bf54ebb | 2019-03-08 13:26:14 +0000 | [diff] [blame] | 3455 | "src/trace_processor/sqlite3_str_split.cc", |
Lalit Maganti | 17aa273 | 2019-02-08 15:47:26 +0000 | [diff] [blame] | 3456 | "src/trace_processor/stats_table.cc", |
| 3457 | "src/trace_processor/storage_columns.cc", |
| 3458 | "src/trace_processor/storage_schema.cc", |
| 3459 | "src/trace_processor/storage_table.cc", |
Lalit Maganti | 8eba309 | 2019-03-27 13:25:29 +0000 | [diff] [blame] | 3460 | "src/trace_processor/string_pool.cc", |
Lalit Maganti | 17aa273 | 2019-02-08 15:47:26 +0000 | [diff] [blame] | 3461 | "src/trace_processor/string_table.cc", |
Hector Dearman | f31a703 | 2019-03-29 10:05:09 +0000 | [diff] [blame] | 3462 | "src/trace_processor/syscall_tracker.cc", |
Lalit Maganti | d54d752 | 2019-05-30 14:36:08 +0100 | [diff] [blame] | 3463 | "src/trace_processor/systrace_trace_parser.cc", |
Lalit Maganti | 17aa273 | 2019-02-08 15:47:26 +0000 | [diff] [blame] | 3464 | "src/trace_processor/table.cc", |
| 3465 | "src/trace_processor/thread_table.cc", |
| 3466 | "src/trace_processor/trace_processor.cc", |
| 3467 | "src/trace_processor/trace_processor_context.cc", |
| 3468 | "src/trace_processor/trace_processor_impl.cc", |
| 3469 | "src/trace_processor/trace_sorter.cc", |
| 3470 | "src/trace_processor/trace_storage.cc", |
| 3471 | "src/trace_processor/virtual_destructors.cc", |
| 3472 | "src/trace_processor/window_operator_table.cc", |
Primiano Tucci | 21c19d8 | 2018-03-29 12:35:08 +0100 | [diff] [blame] | 3473 | "tools/trace_to_text/main.cc", |
Primiano Tucci | 20dc8f7 | 2018-10-23 12:28:29 +0100 | [diff] [blame] | 3474 | "tools/trace_to_text/proto_full_utils.cc", |
Florian Mayer | 0ca7fb4 | 2018-11-15 21:13:42 +0000 | [diff] [blame] | 3475 | "tools/trace_to_text/trace_to_profile.cc", |
Primiano Tucci | 20dc8f7 | 2018-10-23 12:28:29 +0100 | [diff] [blame] | 3476 | "tools/trace_to_text/trace_to_systrace.cc", |
| 3477 | "tools/trace_to_text/trace_to_text.cc", |
| 3478 | "tools/trace_to_text/utils.cc", |
Primiano Tucci | 21c19d8 | 2018-03-29 12:35:08 +0100 | [diff] [blame] | 3479 | ], |
| 3480 | shared_libs: [ |
| 3481 | "liblog", |
| 3482 | "libprotobuf-cpp-full", |
| 3483 | "libprotobuf-cpp-lite", |
| 3484 | ], |
Eric Seckler | 57c89d9 | 2018-10-26 15:11:55 +0100 | [diff] [blame] | 3485 | static_libs: [ |
Lalit Maganti | 17aa273 | 2019-02-08 15:47:26 +0000 | [diff] [blame] | 3486 | "libsqlite", |
Eric Seckler | 57c89d9 | 2018-10-26 15:11:55 +0100 | [diff] [blame] | 3487 | ], |
Primiano Tucci | 21c19d8 | 2018-03-29 12:35:08 +0100 | [diff] [blame] | 3488 | generated_headers: [ |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 3489 | "gen_merged_sql_metrics", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 3490 | "perfetto_protos_perfetto_common_lite_gen_headers", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 3491 | "perfetto_protos_perfetto_common_zero_gen_headers", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 3492 | "perfetto_protos_perfetto_config_lite_gen_headers", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 3493 | "perfetto_protos_perfetto_config_zero_gen_headers", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 3494 | "perfetto_protos_perfetto_metrics_android_zero_gen_headers", |
| 3495 | "perfetto_protos_perfetto_metrics_zero_gen_headers", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 3496 | "perfetto_protos_perfetto_trace_android_lite_gen_headers", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 3497 | "perfetto_protos_perfetto_trace_android_zero_gen_headers", |
Primiano Tucci | 21c19d8 | 2018-03-29 12:35:08 +0100 | [diff] [blame] | 3498 | "perfetto_protos_perfetto_trace_chrome_lite_gen_headers", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 3499 | "perfetto_protos_perfetto_trace_chrome_zero_gen_headers", |
Primiano Tucci | 21c19d8 | 2018-03-29 12:35:08 +0100 | [diff] [blame] | 3500 | "perfetto_protos_perfetto_trace_filesystem_lite_gen_headers", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 3501 | "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers", |
Primiano Tucci | 21c19d8 | 2018-03-29 12:35:08 +0100 | [diff] [blame] | 3502 | "perfetto_protos_perfetto_trace_ftrace_lite_gen_headers", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 3503 | "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 3504 | "perfetto_protos_perfetto_trace_interned_data_lite_gen_headers", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 3505 | "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers", |
Primiano Tucci | 21c19d8 | 2018-03-29 12:35:08 +0100 | [diff] [blame] | 3506 | "perfetto_protos_perfetto_trace_lite_gen_headers", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 3507 | "perfetto_protos_perfetto_trace_minimal_lite_gen_headers", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 3508 | "perfetto_protos_perfetto_trace_power_lite_gen_headers", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 3509 | "perfetto_protos_perfetto_trace_power_zero_gen_headers", |
Lalit Maganti | e59293b | 2019-05-22 15:07:39 +0100 | [diff] [blame] | 3510 | "perfetto_protos_perfetto_trace_processor_metrics_impl_zero_gen_headers", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 3511 | "perfetto_protos_perfetto_trace_profiling_lite_gen_headers", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 3512 | "perfetto_protos_perfetto_trace_profiling_zero_gen_headers", |
Primiano Tucci | 21c19d8 | 2018-03-29 12:35:08 +0100 | [diff] [blame] | 3513 | "perfetto_protos_perfetto_trace_ps_lite_gen_headers", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 3514 | "perfetto_protos_perfetto_trace_ps_zero_gen_headers", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 3515 | "perfetto_protos_perfetto_trace_sys_stats_lite_gen_headers", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 3516 | "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 3517 | "perfetto_protos_perfetto_trace_track_event_lite_gen_headers", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 3518 | "perfetto_protos_perfetto_trace_track_event_zero_gen_headers", |
| 3519 | "perfetto_protos_perfetto_trace_zero_gen_headers", |
Florian Mayer | 0ca7fb4 | 2018-11-15 21:13:42 +0000 | [diff] [blame] | 3520 | "perfetto_protos_third_party_pprof_lite_gen_headers", |
Primiano Tucci | 21c19d8 | 2018-03-29 12:35:08 +0100 | [diff] [blame] | 3521 | ], |
| 3522 | defaults: [ |
| 3523 | "perfetto_defaults", |
| 3524 | ], |
| 3525 | cflags: [ |
| 3526 | "-DGOOGLE_PROTOBUF_NO_RTTI", |
| 3527 | "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
Primiano Tucci | 7c7f5f5 | 2019-01-15 21:47:04 +0000 | [diff] [blame] | 3528 | "-DPERFETTO_BUILD_WITH_ANDROID", |
Primiano Tucci | 21c19d8 | 2018-03-29 12:35:08 +0100 | [diff] [blame] | 3529 | ], |
| 3530 | } |
| 3531 | |
Primiano Tucci | 4e49c02 | 2017-12-21 18:22:44 +0100 | [diff] [blame] | 3532 | // GN target: //:traced |
| 3533 | cc_binary { |
| 3534 | name: "traced", |
| 3535 | srcs: [ |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 3536 | "src/traced/service/main.cc", |
Primiano Tucci | 4e49c02 | 2017-12-21 18:22:44 +0100 | [diff] [blame] | 3537 | ], |
| 3538 | shared_libs: [ |
Primiano Tucci | 4e49c02 | 2017-12-21 18:22:44 +0100 | [diff] [blame] | 3539 | "liblog", |
Primiano Tucci | bdb2a59 | 2018-10-11 15:59:29 +0100 | [diff] [blame] | 3540 | "libperfetto", |
Primiano Tucci | 4e49c02 | 2017-12-21 18:22:44 +0100 | [diff] [blame] | 3541 | ], |
Primiano Tucci | 5a30453 | 2018-01-09 14:15:43 +0000 | [diff] [blame] | 3542 | init_rc: [ |
| 3543 | "perfetto.rc", |
| 3544 | ], |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 3545 | defaults: [ |
| 3546 | "perfetto_defaults", |
Primiano Tucci | 4e49c02 | 2017-12-21 18:22:44 +0100 | [diff] [blame] | 3547 | ], |
Primiano Tucci | 7c7f5f5 | 2019-01-15 21:47:04 +0000 | [diff] [blame] | 3548 | cflags: [ |
| 3549 | "-DPERFETTO_BUILD_WITH_ANDROID", |
| 3550 | ], |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 3551 | } |
| 3552 | |
| 3553 | // GN target: //:traced_probes |
| 3554 | cc_binary { |
| 3555 | name: "traced_probes", |
| 3556 | srcs: [ |
| 3557 | "src/traced/probes/main.cc", |
| 3558 | ], |
| 3559 | shared_libs: [ |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 3560 | "liblog", |
Primiano Tucci | bdb2a59 | 2018-10-11 15:59:29 +0100 | [diff] [blame] | 3561 | "libperfetto", |
Primiano Tucci | 4e49c02 | 2017-12-21 18:22:44 +0100 | [diff] [blame] | 3562 | ], |
| 3563 | defaults: [ |
| 3564 | "perfetto_defaults", |
| 3565 | ], |
Primiano Tucci | 7c7f5f5 | 2019-01-15 21:47:04 +0000 | [diff] [blame] | 3566 | cflags: [ |
| 3567 | "-DPERFETTO_BUILD_WITH_ANDROID", |
| 3568 | ], |
Primiano Tucci | 676f0cc | 2018-12-03 20:03:26 +0100 | [diff] [blame] | 3569 | required: [ |
| 3570 | "libperfetto_android_internal", |
Hector Dearman | 696ff77 | 2019-04-23 18:38:53 +0100 | [diff] [blame] | 3571 | "trigger_perfetto", |
| 3572 | ], |
| 3573 | } |
| 3574 | |
| 3575 | // GN target: //:trigger_perfetto |
| 3576 | cc_binary { |
| 3577 | name: "trigger_perfetto", |
| 3578 | srcs: [ |
| 3579 | ":perfetto_protos_perfetto_common_lite_gen", |
| 3580 | ":perfetto_protos_perfetto_common_zero_gen", |
| 3581 | ":perfetto_protos_perfetto_config_lite_gen", |
| 3582 | ":perfetto_protos_perfetto_config_zero_gen", |
| 3583 | ":perfetto_protos_perfetto_ipc_ipc_gen", |
| 3584 | ":perfetto_protos_perfetto_trace_android_zero_gen", |
| 3585 | ":perfetto_protos_perfetto_trace_chrome_zero_gen", |
| 3586 | ":perfetto_protos_perfetto_trace_filesystem_zero_gen", |
| 3587 | ":perfetto_protos_perfetto_trace_ftrace_zero_gen", |
| 3588 | ":perfetto_protos_perfetto_trace_interned_data_zero_gen", |
| 3589 | ":perfetto_protos_perfetto_trace_minimal_lite_gen", |
| 3590 | ":perfetto_protos_perfetto_trace_power_zero_gen", |
| 3591 | ":perfetto_protos_perfetto_trace_profiling_zero_gen", |
| 3592 | ":perfetto_protos_perfetto_trace_ps_zero_gen", |
| 3593 | ":perfetto_protos_perfetto_trace_sys_stats_zero_gen", |
| 3594 | ":perfetto_protos_perfetto_trace_track_event_zero_gen", |
| 3595 | ":perfetto_protos_perfetto_trace_trusted_lite_gen", |
| 3596 | ":perfetto_protos_perfetto_trace_zero_gen", |
| 3597 | ":perfetto_src_ipc_wire_protocol_gen", |
| 3598 | ":perfetto_src_perfetto_cmd_protos_gen", |
| 3599 | "src/base/event.cc", |
| 3600 | "src/base/file_utils.cc", |
| 3601 | "src/base/metatrace.cc", |
| 3602 | "src/base/paged_memory.cc", |
| 3603 | "src/base/pipe.cc", |
| 3604 | "src/base/string_splitter.cc", |
| 3605 | "src/base/string_utils.cc", |
| 3606 | "src/base/string_view.cc", |
| 3607 | "src/base/temp_file.cc", |
| 3608 | "src/base/thread_checker.cc", |
| 3609 | "src/base/thread_task_runner.cc", |
| 3610 | "src/base/time.cc", |
| 3611 | "src/base/unix_socket.cc", |
| 3612 | "src/base/unix_task_runner.cc", |
| 3613 | "src/base/virtual_destructors.cc", |
| 3614 | "src/base/watchdog_posix.cc", |
| 3615 | "src/ipc/buffered_frame_deserializer.cc", |
| 3616 | "src/ipc/client_impl.cc", |
| 3617 | "src/ipc/deferred.cc", |
| 3618 | "src/ipc/host_impl.cc", |
| 3619 | "src/ipc/service_proxy.cc", |
| 3620 | "src/ipc/virtual_destructors.cc", |
| 3621 | "src/perfetto_cmd/trigger_perfetto.cc", |
| 3622 | "src/perfetto_cmd/trigger_perfetto_main.cc", |
| 3623 | "src/perfetto_cmd/trigger_producer.cc", |
| 3624 | "src/protozero/message.cc", |
| 3625 | "src/protozero/message_handle.cc", |
| 3626 | "src/protozero/proto_decoder.cc", |
| 3627 | "src/protozero/scattered_heap_buffer.cc", |
| 3628 | "src/protozero/scattered_stream_null_delegate.cc", |
| 3629 | "src/protozero/scattered_stream_writer.cc", |
Hector Dearman | 696ff77 | 2019-04-23 18:38:53 +0100 | [diff] [blame] | 3630 | "src/tracing/core/chrome_config.cc", |
| 3631 | "src/tracing/core/commit_data_request.cc", |
| 3632 | "src/tracing/core/data_source_config.cc", |
| 3633 | "src/tracing/core/data_source_descriptor.cc", |
Hector Dearman | 696ff77 | 2019-04-23 18:38:53 +0100 | [diff] [blame] | 3634 | "src/tracing/core/id_allocator.cc", |
Hector Dearman | 696ff77 | 2019-04-23 18:38:53 +0100 | [diff] [blame] | 3635 | "src/tracing/core/null_trace_writer.cc", |
| 3636 | "src/tracing/core/observable_events.cc", |
| 3637 | "src/tracing/core/packet_stream_validator.cc", |
Hector Dearman | 696ff77 | 2019-04-23 18:38:53 +0100 | [diff] [blame] | 3638 | "src/tracing/core/shared_memory_abi.cc", |
| 3639 | "src/tracing/core/shared_memory_arbiter_impl.cc", |
| 3640 | "src/tracing/core/sliced_protobuf_input_stream.cc", |
| 3641 | "src/tracing/core/startup_trace_writer.cc", |
| 3642 | "src/tracing/core/startup_trace_writer_registry.cc", |
Hector Dearman | 696ff77 | 2019-04-23 18:38:53 +0100 | [diff] [blame] | 3643 | "src/tracing/core/test_config.cc", |
| 3644 | "src/tracing/core/trace_buffer.cc", |
| 3645 | "src/tracing/core/trace_config.cc", |
| 3646 | "src/tracing/core/trace_packet.cc", |
| 3647 | "src/tracing/core/trace_stats.cc", |
| 3648 | "src/tracing/core/trace_writer_impl.cc", |
| 3649 | "src/tracing/core/tracing_service_impl.cc", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 3650 | "src/tracing/core/tracing_service_state.cc", |
Hector Dearman | 696ff77 | 2019-04-23 18:38:53 +0100 | [diff] [blame] | 3651 | "src/tracing/core/virtual_destructors.cc", |
Primiano Tucci | 2c5488f | 2019-06-01 03:27:28 +0100 | [diff] [blame] | 3652 | "src/tracing/trace_writer_base.cc", |
Hector Dearman | 696ff77 | 2019-04-23 18:38:53 +0100 | [diff] [blame] | 3653 | ], |
| 3654 | shared_libs: [ |
| 3655 | "liblog", |
| 3656 | "libprotobuf-cpp-lite", |
Hector Dearman | e0b993f | 2019-05-24 18:48:16 +0100 | [diff] [blame] | 3657 | "libz", |
Hector Dearman | 696ff77 | 2019-04-23 18:38:53 +0100 | [diff] [blame] | 3658 | ], |
| 3659 | static_libs: [ |
Hector Dearman | 696ff77 | 2019-04-23 18:38:53 +0100 | [diff] [blame] | 3660 | "perfetto_src_tracing_ipc", |
| 3661 | ], |
| 3662 | generated_headers: [ |
| 3663 | "perfetto_protos_perfetto_common_lite_gen_headers", |
| 3664 | "perfetto_protos_perfetto_common_zero_gen_headers", |
| 3665 | "perfetto_protos_perfetto_config_lite_gen_headers", |
| 3666 | "perfetto_protos_perfetto_config_zero_gen_headers", |
| 3667 | "perfetto_protos_perfetto_ipc_ipc_gen_headers", |
| 3668 | "perfetto_protos_perfetto_trace_android_zero_gen_headers", |
| 3669 | "perfetto_protos_perfetto_trace_chrome_zero_gen_headers", |
| 3670 | "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers", |
| 3671 | "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers", |
| 3672 | "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers", |
| 3673 | "perfetto_protos_perfetto_trace_minimal_lite_gen_headers", |
| 3674 | "perfetto_protos_perfetto_trace_power_zero_gen_headers", |
| 3675 | "perfetto_protos_perfetto_trace_profiling_zero_gen_headers", |
| 3676 | "perfetto_protos_perfetto_trace_ps_zero_gen_headers", |
| 3677 | "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers", |
| 3678 | "perfetto_protos_perfetto_trace_track_event_zero_gen_headers", |
| 3679 | "perfetto_protos_perfetto_trace_trusted_lite_gen_headers", |
| 3680 | "perfetto_protos_perfetto_trace_zero_gen_headers", |
| 3681 | "perfetto_src_ipc_wire_protocol_gen_headers", |
| 3682 | "perfetto_src_perfetto_cmd_protos_gen_headers", |
| 3683 | ], |
| 3684 | defaults: [ |
| 3685 | "perfetto_defaults", |
| 3686 | ], |
| 3687 | cflags: [ |
| 3688 | "-DGOOGLE_PROTOBUF_NO_RTTI", |
| 3689 | "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
| 3690 | "-DPERFETTO_BUILD_WITH_ANDROID", |
Primiano Tucci | 676f0cc | 2018-12-03 20:03:26 +0100 | [diff] [blame] | 3691 | ], |
Primiano Tucci | 4e49c02 | 2017-12-21 18:22:44 +0100 | [diff] [blame] | 3692 | } |
Lalit Maganti | 83e712a | 2018-02-05 15:48:00 +0000 | [diff] [blame] | 3693 | |
| 3694 | // 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] | 3695 | cc_library_static { |
| 3696 | name: "perfetto_cts_deps", |
Lalit Maganti | 83e712a | 2018-02-05 15:48:00 +0000 | [diff] [blame] | 3697 | srcs: [ |
| 3698 | "src/base/android_task_runner.cc", |
| 3699 | "src/base/test/test_task_runner.cc", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 3700 | "src/traced/probes/ftrace/cpu_reader.cc", |
| 3701 | "src/traced/probes/ftrace/event_info.cc", |
| 3702 | "src/traced/probes/ftrace/format_parser.cc", |
| 3703 | "src/traced/probes/ftrace/ftrace_controller.cc", |
| 3704 | "src/traced/probes/ftrace/ftrace_procfs.cc", |
| 3705 | "src/traced/probes/ftrace/proto_translation_table.cc", |
Isabelle Taylor | d404ea1 | 2018-02-19 17:28:01 +0000 | [diff] [blame] | 3706 | "src/traced/probes/probes_producer.cc", |
Lalit Maganti | 83e712a | 2018-02-05 15:48:00 +0000 | [diff] [blame] | 3707 | "test/end_to_end_integrationtest.cc", |
Lalit Maganti | c4c3ceb | 2018-03-29 20:38:13 +0100 | [diff] [blame] | 3708 | "test/fake_producer.cc", |
| 3709 | "test/task_runner_thread.cc", |
| 3710 | "test/test_helper.cc", |
Lalit Maganti | 83e712a | 2018-02-05 15:48:00 +0000 | [diff] [blame] | 3711 | ], |
Lalit Maganti | a88807d | 2018-03-05 18:21:38 +0000 | [diff] [blame] | 3712 | export_include_dirs: [ |
| 3713 | ".", |
Lalit Maganti | 83e712a | 2018-02-05 15:48:00 +0000 | [diff] [blame] | 3714 | ], |
| 3715 | shared_libs: [ |
Lalit Maganti | 83e712a | 2018-02-05 15:48:00 +0000 | [diff] [blame] | 3716 | "libprotobuf-cpp-lite", |
| 3717 | ], |
Lalit Maganti | a88807d | 2018-03-05 18:21:38 +0000 | [diff] [blame] | 3718 | static_libs: [ |
Primiano Tucci | 106605c | 2019-01-08 21:12:58 +0000 | [diff] [blame] | 3719 | "libgmock", |
Lalit Maganti | 6168188 | 2018-03-14 15:29:01 +0000 | [diff] [blame] | 3720 | "libgtest", |
Lalit Maganti | a88807d | 2018-03-05 18:21:38 +0000 | [diff] [blame] | 3721 | "perfetto_src_tracing_ipc", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 3722 | "perfetto_trace_protos", |
Lalit Maganti | 83e712a | 2018-02-05 15:48:00 +0000 | [diff] [blame] | 3723 | ], |
Lalit Maganti | b34c7a2 | 2018-03-07 11:53:20 +0000 | [diff] [blame] | 3724 | cflags: [ |
| 3725 | "-DPERFETTO_BUILD_WITH_ANDROID", |
| 3726 | ], |
Lalit Maganti | 83e712a | 2018-02-05 15:48:00 +0000 | [diff] [blame] | 3727 | } |
| 3728 | |
Lalit Maganti | a88807d | 2018-03-05 18:21:38 +0000 | [diff] [blame] | 3729 | cc_library_static { |
| 3730 | name: "perfetto_cts_jni_deps", |
Lalit Maganti | 83e712a | 2018-02-05 15:48:00 +0000 | [diff] [blame] | 3731 | srcs: [ |
| 3732 | "src/base/android_task_runner.cc", |
| 3733 | "src/base/test/test_task_runner.cc", |
| 3734 | "test/fake_producer.cc", |
Lalit Maganti | 83e712a | 2018-02-05 15:48:00 +0000 | [diff] [blame] | 3735 | ], |
| 3736 | shared_libs: [ |
Lalit Maganti | a88807d | 2018-03-05 18:21:38 +0000 | [diff] [blame] | 3737 | "libprotobuf-cpp-lite", |
Lalit Maganti | 83e712a | 2018-02-05 15:48:00 +0000 | [diff] [blame] | 3738 | ], |
Lalit Maganti | a88807d | 2018-03-05 18:21:38 +0000 | [diff] [blame] | 3739 | export_include_dirs: [ |
| 3740 | ".", |
Lalit Maganti | 83e712a | 2018-02-05 15:48:00 +0000 | [diff] [blame] | 3741 | ], |
Lalit Maganti | a88807d | 2018-03-05 18:21:38 +0000 | [diff] [blame] | 3742 | static_libs: [ |
Lalit Maganti | 6168188 | 2018-03-14 15:29:01 +0000 | [diff] [blame] | 3743 | "libgtest", |
Lalit Maganti | a88807d | 2018-03-05 18:21:38 +0000 | [diff] [blame] | 3744 | "perfetto_src_tracing_ipc", |
| 3745 | ], |
Lalit Maganti | b34c7a2 | 2018-03-07 11:53:20 +0000 | [diff] [blame] | 3746 | cflags: [ |
| 3747 | "-DPERFETTO_BUILD_WITH_ANDROID", |
| 3748 | ], |
Lalit Maganti | 6820cb6 | 2018-10-05 13:34:22 +0100 | [diff] [blame] | 3749 | } |
| 3750 | |
Lalit Maganti | f5d666d | 2018-10-23 14:23:24 +0100 | [diff] [blame] | 3751 | java_library_host { |
| 3752 | name: "perfetto_config-full", |
Lalit Maganti | 6820cb6 | 2018-10-05 13:34:22 +0100 | [diff] [blame] | 3753 | proto: { |
Lalit Maganti | f5d666d | 2018-10-23 14:23:24 +0100 | [diff] [blame] | 3754 | type: "full", |
Lalit Maganti | 6820cb6 | 2018-10-05 13:34:22 +0100 | [diff] [blame] | 3755 | }, |
| 3756 | srcs: [ |
| 3757 | "protos/perfetto/config/perfetto_config.proto", |
| 3758 | ], |
Primiano Tucci | 0b651b8 | 2019-06-03 17:16:23 +0100 | [diff] [blame] | 3759 | } |
| 3760 | |
| 3761 | // This sample target shows how to use the perfetto client API from within the |
| 3762 | // Android tree. |
| 3763 | cc_binary { |
| 3764 | name: "libperfetto_client_example", |
| 3765 | srcs: [ |
| 3766 | "test/android_client_api_example.cc", |
| 3767 | ], |
| 3768 | static_libs: [ |
| 3769 | "libperfetto_client_experimental", |
| 3770 | "perfetto_src_tracing_ipc", |
| 3771 | "perfetto_trace_protos", |
| 3772 | ], |
| 3773 | shared_libs: [ |
| 3774 | "libprotobuf-cpp-lite", |
| 3775 | "liblog", |
| 3776 | ], |
| 3777 | local_include_dirs: [ |
| 3778 | "include", |
| 3779 | ], |
| 3780 | cflags: [ |
| 3781 | "-DGOOGLE_PROTOBUF_NO_RTTI", |
| 3782 | "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
| 3783 | "-DPERFETTO_BUILD_WITH_ANDROID", |
| 3784 | ], |
Hector Dearman | fded4f6 | 2019-03-26 17:09:41 +0000 | [diff] [blame] | 3785 | } |