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: [ |
Silvia Vinyes | b39c77f | 2019-06-04 10:46:12 +0100 | [diff] [blame] | 20 | "src/trace_processor/metrics/android/android_batt.sql", |
Silvia Vinyes | 2e6a731 | 2019-06-04 11:15:59 +0100 | [diff] [blame] | 21 | "src/trace_processor/metrics/android/android_cpu.sql", |
| 22 | "src/trace_processor/metrics/android/android_cpu_agg.sql", |
Ioannis Ilkos | db8b1cb | 2019-06-25 17:05:32 +0100 | [diff] [blame] | 23 | "src/trace_processor/metrics/android/android_ion.sql", |
Ioannis Ilkos | 3e5b915 | 2019-06-17 19:09:58 +0100 | [diff] [blame] | 24 | "src/trace_processor/metrics/android/android_lmk.sql", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 25 | "src/trace_processor/metrics/android/android_mem.sql", |
Lalit Maganti | a316d6e | 2019-07-09 19:01:01 +0100 | [diff] [blame] | 26 | "src/trace_processor/metrics/android/android_mem_unagg.sql", |
Ioannis Ilkos | f1835e3 | 2019-07-11 14:11:48 +0100 | [diff] [blame] | 27 | "src/trace_processor/metrics/android/android_package_list.sql", |
Ioannis Ilkos | 3e5b915 | 2019-06-17 19:09:58 +0100 | [diff] [blame] | 28 | "src/trace_processor/metrics/android/android_powrails.sql", |
Ioannis Ilkos | 96bec01 | 2019-06-27 15:21:57 +0100 | [diff] [blame] | 29 | "src/trace_processor/metrics/android/android_process_growth.sql", |
Ioannis Ilkos | 20d5e8b | 2019-05-16 15:43:26 +0100 | [diff] [blame] | 30 | "src/trace_processor/metrics/android/android_startup.sql", |
Ioannis Ilkos | 1cbd228 | 2019-05-29 23:41:57 +0100 | [diff] [blame] | 31 | "src/trace_processor/metrics/android/android_startup_cpu.sql", |
Ioannis Ilkos | 20d5e8b | 2019-05-16 15:43:26 +0100 | [diff] [blame] | 32 | "src/trace_processor/metrics/android/android_startup_launches.sql", |
| 33 | "src/trace_processor/metrics/android/android_task_state.sql", |
Ioannis Ilkos | 05e211f | 2019-05-28 15:21:00 +0100 | [diff] [blame] | 34 | "src/trace_processor/metrics/android/heap_profile.sql", |
Ioannis Ilkos | 79b511c | 2019-07-09 14:45:07 +0100 | [diff] [blame] | 35 | "src/trace_processor/metrics/android/mem_stats_priority_breakdown.sql", |
Ioannis Ilkos | 96bec01 | 2019-06-27 15:21:57 +0100 | [diff] [blame] | 36 | "src/trace_processor/metrics/android/process_mem.sql", |
Lalit Maganti | a316d6e | 2019-07-09 19:01:01 +0100 | [diff] [blame] | 37 | "src/trace_processor/metrics/android/process_unagg_mem_view.sql", |
Ioannis Ilkos | 96bec01 | 2019-06-27 15:21:57 +0100 | [diff] [blame] | 38 | "src/trace_processor/metrics/android/span_view_stats.sql", |
| 39 | "src/trace_processor/metrics/android/upid_span_view.sql", |
Ioannis Ilkos | 5e79b8a | 2019-05-23 18:09:54 +0100 | [diff] [blame] | 40 | "src/trace_processor/metrics/error_statistics.sql", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 41 | ], |
Lalit Maganti | 697cc48 | 2019-05-01 14:39:11 +0100 | [diff] [blame] | 42 | cmd: "$(location tools/gen_merged_sql_metrics.py) --cpp_out=$(out) $(in)", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 43 | out: [ |
| 44 | "src/trace_processor/metrics/sql_metrics.h", |
| 45 | ], |
| 46 | tool_files: [ |
Lalit Maganti | 697cc48 | 2019-05-01 14:39:11 +0100 | [diff] [blame] | 47 | "tools/gen_merged_sql_metrics.py", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 48 | ], |
| 49 | } |
| 50 | |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 51 | // GN target: //:heapprofd |
| 52 | cc_binary { |
| 53 | name: "heapprofd", |
| 54 | srcs: [ |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 55 | ":perfetto_protos_perfetto_common_lite_gen", |
| 56 | ":perfetto_protos_perfetto_common_zero_gen", |
| 57 | ":perfetto_protos_perfetto_config_lite_gen", |
| 58 | ":perfetto_protos_perfetto_config_zero_gen", |
| 59 | ":perfetto_protos_perfetto_ipc_ipc_gen", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 60 | ":perfetto_protos_perfetto_trace_android_zero_gen", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 61 | ":perfetto_protos_perfetto_trace_chrome_zero_gen", |
| 62 | ":perfetto_protos_perfetto_trace_filesystem_zero_gen", |
| 63 | ":perfetto_protos_perfetto_trace_ftrace_zero_gen", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 64 | ":perfetto_protos_perfetto_trace_gpu_zero_gen", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 65 | ":perfetto_protos_perfetto_trace_interned_data_zero_gen", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 66 | ":perfetto_protos_perfetto_trace_minimal_lite_gen", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 67 | ":perfetto_protos_perfetto_trace_perfetto_zero_gen", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 68 | ":perfetto_protos_perfetto_trace_power_zero_gen", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 69 | ":perfetto_protos_perfetto_trace_profiling_zero_gen", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 70 | ":perfetto_protos_perfetto_trace_ps_zero_gen", |
| 71 | ":perfetto_protos_perfetto_trace_sys_stats_zero_gen", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 72 | ":perfetto_protos_perfetto_trace_track_event_zero_gen", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 73 | ":perfetto_protos_perfetto_trace_trusted_lite_gen", |
| 74 | ":perfetto_protos_perfetto_trace_zero_gen", |
| 75 | ":perfetto_src_ipc_wire_protocol_gen", |
Sami Kyostila | 389861f | 2019-07-09 20:52:43 +0100 | [diff] [blame] | 76 | "src/base/event_fd.cc", |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 77 | "src/base/file_utils.cc", |
| 78 | "src/base/metatrace.cc", |
Eric Seckler | edf3f7c | 2018-10-23 16:44:53 +0100 | [diff] [blame] | 79 | "src/base/paged_memory.cc", |
Primiano Tucci | 76499cd | 2018-11-21 10:54:04 +0100 | [diff] [blame] | 80 | "src/base/pipe.cc", |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 81 | "src/base/string_splitter.cc", |
| 82 | "src/base/string_utils.cc", |
Primiano Tucci | 60c4a2b | 2019-03-02 17:11:18 +0000 | [diff] [blame] | 83 | "src/base/string_view.cc", |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 84 | "src/base/temp_file.cc", |
| 85 | "src/base/thread_checker.cc", |
Ryan Savitski | 2988579 | 2019-03-14 12:10:13 +0000 | [diff] [blame] | 86 | "src/base/thread_task_runner.cc", |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 87 | "src/base/time.cc", |
| 88 | "src/base/unix_socket.cc", |
| 89 | "src/base/unix_task_runner.cc", |
| 90 | "src/base/virtual_destructors.cc", |
Sami Kyostila | 389861f | 2019-07-09 20:52:43 +0100 | [diff] [blame] | 91 | "src/base/waitable_event.cc", |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 92 | "src/base/watchdog_posix.cc", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 93 | "src/ipc/buffered_frame_deserializer.cc", |
| 94 | "src/ipc/client_impl.cc", |
| 95 | "src/ipc/deferred.cc", |
| 96 | "src/ipc/host_impl.cc", |
| 97 | "src/ipc/service_proxy.cc", |
| 98 | "src/ipc/virtual_destructors.cc", |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 99 | "src/profiling/memory/bookkeeping.cc", |
Florian Mayer | 7791fce | 2019-05-16 18:04:20 +0100 | [diff] [blame] | 100 | "src/profiling/memory/bookkeeping_dump.cc", |
Primiano Tucci | 0f2f3b4 | 2019-05-21 19:37:01 +0100 | [diff] [blame] | 101 | "src/profiling/memory/heapprofd_config.cc", |
Florian Mayer | e9f4686 | 2018-11-07 20:20:37 +0000 | [diff] [blame] | 102 | "src/profiling/memory/heapprofd_producer.cc", |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 103 | "src/profiling/memory/main.cc", |
Florian Mayer | 7142c7c | 2019-05-20 18:11:41 +0100 | [diff] [blame] | 104 | "src/profiling/memory/page_idle_checker.cc", |
Florian Mayer | 745aaf2 | 2018-12-13 14:53:07 +0000 | [diff] [blame] | 105 | "src/profiling/memory/proc_utils.cc", |
Florian Mayer | 5195059 | 2019-03-06 20:05:15 +0000 | [diff] [blame] | 106 | "src/profiling/memory/scoped_spinlock.cc", |
| 107 | "src/profiling/memory/shared_ring_buffer.cc", |
Florian Mayer | 78cb562 | 2018-11-27 17:17:10 +0000 | [diff] [blame] | 108 | "src/profiling/memory/system_property.cc", |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 109 | "src/profiling/memory/unwinding.cc", |
Florian Mayer | 7142c7c | 2019-05-20 18:11:41 +0100 | [diff] [blame] | 110 | "src/profiling/memory/utils.cc", |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 111 | "src/profiling/memory/wire_protocol.cc", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 112 | "src/protozero/message.cc", |
| 113 | "src/protozero/message_handle.cc", |
| 114 | "src/protozero/proto_decoder.cc", |
Eric Seckler | 7631120 | 2019-01-07 12:20:25 +0000 | [diff] [blame] | 115 | "src/protozero/scattered_heap_buffer.cc", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 116 | "src/protozero/scattered_stream_null_delegate.cc", |
| 117 | "src/protozero/scattered_stream_writer.cc", |
| 118 | "src/tracing/core/chrome_config.cc", |
| 119 | "src/tracing/core/commit_data_request.cc", |
| 120 | "src/tracing/core/data_source_config.cc", |
| 121 | "src/tracing/core/data_source_descriptor.cc", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 122 | "src/tracing/core/id_allocator.cc", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 123 | "src/tracing/core/metatrace_writer.cc", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 124 | "src/tracing/core/null_trace_writer.cc", |
Eric Seckler | 7b0c945 | 2019-03-18 13:14:36 +0000 | [diff] [blame] | 125 | "src/tracing/core/observable_events.cc", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 126 | "src/tracing/core/packet_stream_validator.cc", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 127 | "src/tracing/core/shared_memory_abi.cc", |
| 128 | "src/tracing/core/shared_memory_arbiter_impl.cc", |
| 129 | "src/tracing/core/sliced_protobuf_input_stream.cc", |
Eric Seckler | c65693d | 2019-01-11 15:12:48 +0000 | [diff] [blame] | 130 | "src/tracing/core/startup_trace_writer.cc", |
Eric Seckler | 42777e5 | 2019-01-23 10:13:22 +0000 | [diff] [blame] | 131 | "src/tracing/core/startup_trace_writer_registry.cc", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 132 | "src/tracing/core/test_config.cc", |
| 133 | "src/tracing/core/trace_buffer.cc", |
| 134 | "src/tracing/core/trace_config.cc", |
| 135 | "src/tracing/core/trace_packet.cc", |
Eric Seckler | eaf29ed | 2019-01-23 09:53:55 +0000 | [diff] [blame] | 136 | "src/tracing/core/trace_stats.cc", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 137 | "src/tracing/core/trace_writer_impl.cc", |
| 138 | "src/tracing/core/tracing_service_impl.cc", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 139 | "src/tracing/core/tracing_service_state.cc", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 140 | "src/tracing/core/virtual_destructors.cc", |
Primiano Tucci | 2c5488f | 2019-06-01 03:27:28 +0100 | [diff] [blame] | 141 | "src/tracing/trace_writer_base.cc", |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 142 | ], |
| 143 | shared_libs: [ |
| 144 | "libbase", |
| 145 | "liblog", |
| 146 | "libprocinfo", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 147 | "libprotobuf-cpp-lite", |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 148 | "libunwindstack", |
| 149 | ], |
Eric Seckler | 57c89d9 | 2018-10-26 15:11:55 +0100 | [diff] [blame] | 150 | static_libs: [ |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 151 | "perfetto_src_tracing_ipc", |
Eric Seckler | 57c89d9 | 2018-10-26 15:11:55 +0100 | [diff] [blame] | 152 | ], |
Florian Mayer | 7a5d83b | 2018-10-18 18:57:02 +0100 | [diff] [blame] | 153 | init_rc: [ |
| 154 | "heapprofd.rc", |
| 155 | ], |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 156 | generated_headers: [ |
| 157 | "perfetto_protos_perfetto_common_lite_gen_headers", |
| 158 | "perfetto_protos_perfetto_common_zero_gen_headers", |
| 159 | "perfetto_protos_perfetto_config_lite_gen_headers", |
| 160 | "perfetto_protos_perfetto_config_zero_gen_headers", |
| 161 | "perfetto_protos_perfetto_ipc_ipc_gen_headers", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 162 | "perfetto_protos_perfetto_trace_android_zero_gen_headers", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 163 | "perfetto_protos_perfetto_trace_chrome_zero_gen_headers", |
| 164 | "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers", |
| 165 | "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 166 | "perfetto_protos_perfetto_trace_gpu_zero_gen_headers", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 167 | "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 168 | "perfetto_protos_perfetto_trace_minimal_lite_gen_headers", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 169 | "perfetto_protos_perfetto_trace_perfetto_zero_gen_headers", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 170 | "perfetto_protos_perfetto_trace_power_zero_gen_headers", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 171 | "perfetto_protos_perfetto_trace_profiling_zero_gen_headers", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 172 | "perfetto_protos_perfetto_trace_ps_zero_gen_headers", |
| 173 | "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 174 | "perfetto_protos_perfetto_trace_track_event_zero_gen_headers", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 175 | "perfetto_protos_perfetto_trace_trusted_lite_gen_headers", |
| 176 | "perfetto_protos_perfetto_trace_zero_gen_headers", |
| 177 | "perfetto_src_ipc_wire_protocol_gen_headers", |
| 178 | ], |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 179 | defaults: [ |
| 180 | "perfetto_defaults", |
| 181 | ], |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 182 | cflags: [ |
| 183 | "-DGOOGLE_PROTOBUF_NO_RTTI", |
| 184 | "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
Primiano Tucci | 7c7f5f5 | 2019-01-15 21:47:04 +0000 | [diff] [blame] | 185 | "-DPERFETTO_BUILD_WITH_ANDROID", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 186 | ], |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 187 | } |
| 188 | |
| 189 | // GN target: //:heapprofd_client |
| 190 | cc_library_shared { |
| 191 | name: "heapprofd_client", |
| 192 | srcs: [ |
Sami Kyostila | 389861f | 2019-07-09 20:52:43 +0100 | [diff] [blame] | 193 | "src/base/event_fd.cc", |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 194 | "src/base/file_utils.cc", |
| 195 | "src/base/metatrace.cc", |
Eric Seckler | edf3f7c | 2018-10-23 16:44:53 +0100 | [diff] [blame] | 196 | "src/base/paged_memory.cc", |
Primiano Tucci | 76499cd | 2018-11-21 10:54:04 +0100 | [diff] [blame] | 197 | "src/base/pipe.cc", |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 198 | "src/base/string_splitter.cc", |
| 199 | "src/base/string_utils.cc", |
Primiano Tucci | 60c4a2b | 2019-03-02 17:11:18 +0000 | [diff] [blame] | 200 | "src/base/string_view.cc", |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 201 | "src/base/temp_file.cc", |
| 202 | "src/base/thread_checker.cc", |
Ryan Savitski | 2988579 | 2019-03-14 12:10:13 +0000 | [diff] [blame] | 203 | "src/base/thread_task_runner.cc", |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 204 | "src/base/time.cc", |
| 205 | "src/base/unix_socket.cc", |
| 206 | "src/base/unix_task_runner.cc", |
| 207 | "src/base/virtual_destructors.cc", |
Sami Kyostila | 389861f | 2019-07-09 20:52:43 +0100 | [diff] [blame] | 208 | "src/base/waitable_event.cc", |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 209 | "src/base/watchdog_posix.cc", |
| 210 | "src/profiling/memory/client.cc", |
| 211 | "src/profiling/memory/malloc_hooks.cc", |
Ryan Savitski | 10c19fb | 2019-01-22 14:44:15 +0000 | [diff] [blame] | 212 | "src/profiling/memory/proc_utils.cc", |
Ryan Savitski | a502bde | 2019-02-26 21:34:03 +0000 | [diff] [blame] | 213 | "src/profiling/memory/scoped_spinlock.cc", |
Florian Mayer | 5195059 | 2019-03-06 20:05:15 +0000 | [diff] [blame] | 214 | "src/profiling/memory/shared_ring_buffer.cc", |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 215 | "src/profiling/memory/wire_protocol.cc", |
| 216 | ], |
| 217 | shared_libs: [ |
| 218 | "libbase", |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 219 | "libprocinfo", |
| 220 | "libunwindstack", |
| 221 | ], |
Eric Seckler | 57c89d9 | 2018-10-26 15:11:55 +0100 | [diff] [blame] | 222 | static_libs: [ |
Ryan Savitski | e65beca | 2019-01-29 18:29:13 +0000 | [diff] [blame] | 223 | "libasync_safe", |
Eric Seckler | 57c89d9 | 2018-10-26 15:11:55 +0100 | [diff] [blame] | 224 | ], |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 225 | defaults: [ |
| 226 | "perfetto_defaults", |
| 227 | ], |
Primiano Tucci | 7c7f5f5 | 2019-01-15 21:47:04 +0000 | [diff] [blame] | 228 | cflags: [ |
Ryan Savitski | e65beca | 2019-01-29 18:29:13 +0000 | [diff] [blame] | 229 | "-DPERFETTO_ANDROID_ASYNC_SAFE_LOG", |
Primiano Tucci | 7c7f5f5 | 2019-01-15 21:47:04 +0000 | [diff] [blame] | 230 | "-DPERFETTO_BUILD_WITH_ANDROID", |
| 231 | ], |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 232 | include_dirs: [ |
| 233 | "bionic/libc", |
| 234 | ], |
| 235 | } |
| 236 | |
Primiano Tucci | bdb2a59 | 2018-10-11 15:59:29 +0100 | [diff] [blame] | 237 | // GN target: //:libperfetto |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 238 | cc_library_shared { |
Primiano Tucci | bdb2a59 | 2018-10-11 15:59:29 +0100 | [diff] [blame] | 239 | name: "libperfetto", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 240 | srcs: [ |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 241 | ":perfetto_protos_perfetto_common_lite_gen", |
| 242 | ":perfetto_protos_perfetto_common_zero_gen", |
| 243 | ":perfetto_protos_perfetto_config_lite_gen", |
| 244 | ":perfetto_protos_perfetto_config_zero_gen", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 245 | ":perfetto_protos_perfetto_ipc_ipc_gen", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 246 | ":perfetto_protos_perfetto_trace_android_zero_gen", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 247 | ":perfetto_protos_perfetto_trace_chrome_zero_gen", |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 248 | ":perfetto_protos_perfetto_trace_filesystem_zero_gen", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 249 | ":perfetto_protos_perfetto_trace_ftrace_zero_gen", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 250 | ":perfetto_protos_perfetto_trace_gpu_zero_gen", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 251 | ":perfetto_protos_perfetto_trace_interned_data_zero_gen", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 252 | ":perfetto_protos_perfetto_trace_minimal_lite_gen", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 253 | ":perfetto_protos_perfetto_trace_perfetto_zero_gen", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 254 | ":perfetto_protos_perfetto_trace_power_zero_gen", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 255 | ":perfetto_protos_perfetto_trace_profiling_zero_gen", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 256 | ":perfetto_protos_perfetto_trace_ps_zero_gen", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 257 | ":perfetto_protos_perfetto_trace_sys_stats_zero_gen", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 258 | ":perfetto_protos_perfetto_trace_track_event_zero_gen", |
Oystein Eftevaag | 4d0f6c8 | 2018-04-30 14:19:59 -0700 | [diff] [blame] | 259 | ":perfetto_protos_perfetto_trace_trusted_lite_gen", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 260 | ":perfetto_protos_perfetto_trace_zero_gen", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 261 | ":perfetto_src_ipc_wire_protocol_gen", |
Primiano Tucci | a6ebe13 | 2019-07-24 22:59:23 +0100 | [diff] [blame] | 262 | "src/android_internal/lazy_library_loader.cc", |
Sami Kyostila | 389861f | 2019-07-09 20:52:43 +0100 | [diff] [blame] | 263 | "src/base/event_fd.cc", |
Florian Mayer | 74b73a9 | 2018-03-09 17:37:13 +0000 | [diff] [blame] | 264 | "src/base/file_utils.cc", |
Florian Mayer | 236ba47 | 2018-05-09 15:47:53 +0100 | [diff] [blame] | 265 | "src/base/metatrace.cc", |
Eric Seckler | edf3f7c | 2018-10-23 16:44:53 +0100 | [diff] [blame] | 266 | "src/base/paged_memory.cc", |
Primiano Tucci | 76499cd | 2018-11-21 10:54:04 +0100 | [diff] [blame] | 267 | "src/base/pipe.cc", |
Primiano Tucci | 825e6de | 2018-03-13 05:43:15 +0000 | [diff] [blame] | 268 | "src/base/string_splitter.cc", |
Hector Dearman | 3afb1e0 | 2018-04-27 16:46:52 +0100 | [diff] [blame] | 269 | "src/base/string_utils.cc", |
Primiano Tucci | 60c4a2b | 2019-03-02 17:11:18 +0000 | [diff] [blame] | 270 | "src/base/string_view.cc", |
Primiano Tucci | 941b221 | 2018-03-14 22:46:31 +0000 | [diff] [blame] | 271 | "src/base/temp_file.cc", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 272 | "src/base/thread_checker.cc", |
Ryan Savitski | 2988579 | 2019-03-14 12:10:13 +0000 | [diff] [blame] | 273 | "src/base/thread_task_runner.cc", |
Florian Mayer | 75905df | 2018-05-08 17:44:08 +0100 | [diff] [blame] | 274 | "src/base/time.cc", |
Florian Mayer | f7f0def | 2018-09-27 13:59:24 +0100 | [diff] [blame] | 275 | "src/base/unix_socket.cc", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 276 | "src/base/unix_task_runner.cc", |
Primiano Tucci | 3cbb10a | 2018-04-10 17:52:40 +0100 | [diff] [blame] | 277 | "src/base/virtual_destructors.cc", |
Sami Kyostila | 389861f | 2019-07-09 20:52:43 +0100 | [diff] [blame] | 278 | "src/base/waitable_event.cc", |
Primiano Tucci | 808d6df | 2018-03-31 13:24:18 +0100 | [diff] [blame] | 279 | "src/base/watchdog_posix.cc", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 280 | "src/ipc/buffered_frame_deserializer.cc", |
| 281 | "src/ipc/client_impl.cc", |
| 282 | "src/ipc/deferred.cc", |
| 283 | "src/ipc/host_impl.cc", |
| 284 | "src/ipc/service_proxy.cc", |
Primiano Tucci | 3cbb10a | 2018-04-10 17:52:40 +0100 | [diff] [blame] | 285 | "src/ipc/virtual_destructors.cc", |
Hector Dearman | e1e56b6 | 2018-02-21 19:11:58 +0000 | [diff] [blame] | 286 | "src/protozero/message.cc", |
| 287 | "src/protozero/message_handle.cc", |
Lalit Maganti | 45172a8 | 2018-06-01 03:04:43 +0100 | [diff] [blame] | 288 | "src/protozero/proto_decoder.cc", |
Eric Seckler | 7631120 | 2019-01-07 12:20:25 +0000 | [diff] [blame] | 289 | "src/protozero/scattered_heap_buffer.cc", |
Hector Dearman | 9a5a0e9 | 2018-03-27 17:52:24 +0100 | [diff] [blame] | 290 | "src/protozero/scattered_stream_null_delegate.cc", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 291 | "src/protozero/scattered_stream_writer.cc", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 292 | "src/traced/probes/android_log/android_log_data_source.cc", |
Florian Mayer | 6f9c342 | 2018-03-29 10:37:41 +0100 | [diff] [blame] | 293 | "src/traced/probes/filesystem/file_scanner.cc", |
Anna Zappone | 2a6f904 | 2018-03-14 13:26:07 +0000 | [diff] [blame] | 294 | "src/traced/probes/filesystem/fs_mount.cc", |
| 295 | "src/traced/probes/filesystem/inode_file_data_source.cc", |
| 296 | "src/traced/probes/filesystem/lru_inode_cache.cc", |
Florian Mayer | b21f4fb | 2018-03-22 15:24:56 +0000 | [diff] [blame] | 297 | "src/traced/probes/filesystem/prefix_finder.cc", |
| 298 | "src/traced/probes/filesystem/range_tree.cc", |
Isabelle Taylor | f3edbfa | 2019-03-26 11:07:19 +0000 | [diff] [blame] | 299 | "src/traced/probes/ftrace/atrace_hal_wrapper.cc", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 300 | "src/traced/probes/ftrace/atrace_wrapper.cc", |
| 301 | "src/traced/probes/ftrace/cpu_reader.cc", |
| 302 | "src/traced/probes/ftrace/cpu_stats_parser.cc", |
| 303 | "src/traced/probes/ftrace/event_info.cc", |
| 304 | "src/traced/probes/ftrace/event_info_constants.cc", |
| 305 | "src/traced/probes/ftrace/format_parser.cc", |
| 306 | "src/traced/probes/ftrace/ftrace_config.cc", |
| 307 | "src/traced/probes/ftrace/ftrace_config_muxer.cc", |
Primiano Tucci | 0f2f3b4 | 2019-05-21 19:37:01 +0100 | [diff] [blame] | 308 | "src/traced/probes/ftrace/ftrace_config_utils.cc", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 309 | "src/traced/probes/ftrace/ftrace_controller.cc", |
Primiano Tucci | fd8240d | 2018-08-01 09:34:54 +0100 | [diff] [blame] | 310 | "src/traced/probes/ftrace/ftrace_data_source.cc", |
Primiano Tucci | b6de48b | 2018-07-26 16:00:44 +0100 | [diff] [blame] | 311 | "src/traced/probes/ftrace/ftrace_metadata.cc", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 312 | "src/traced/probes/ftrace/ftrace_procfs.cc", |
Primiano Tucci | fd8240d | 2018-08-01 09:34:54 +0100 | [diff] [blame] | 313 | "src/traced/probes/ftrace/ftrace_stats.cc", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 314 | "src/traced/probes/ftrace/proto_translation_table.cc", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 315 | "src/traced/probes/metatrace/metatrace_data_source.cc", |
Florian Mayer | 12f0f8e | 2019-04-02 12:31:13 +0100 | [diff] [blame] | 316 | "src/traced/probes/packages_list/packages_list_data_source.cc", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 317 | "src/traced/probes/power/android_power_data_source.cc", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 318 | "src/traced/probes/probes.cc", |
Primiano Tucci | fd8240d | 2018-08-01 09:34:54 +0100 | [diff] [blame] | 319 | "src/traced/probes/probes_data_source.cc", |
Isabelle Taylor | d404ea1 | 2018-02-19 17:28:01 +0000 | [diff] [blame] | 320 | "src/traced/probes/probes_producer.cc", |
Primiano Tucci | b6de48b | 2018-07-26 16:00:44 +0100 | [diff] [blame] | 321 | "src/traced/probes/ps/process_stats_data_source.cc", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 322 | "src/traced/probes/sys_stats/sys_stats_data_source.cc", |
Florian Mayer | 3077d18 | 2019-03-15 14:30:04 -0700 | [diff] [blame] | 323 | "src/traced/service/lazy_producer.cc", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 324 | "src/traced/service/service.cc", |
Primiano Tucci | 3cd3132 | 2018-10-11 20:06:56 +0100 | [diff] [blame] | 325 | "src/tracing/api_impl/consumer_api.cc", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 326 | "src/tracing/core/chrome_config.cc", |
Primiano Tucci | 79f3f91 | 2018-03-02 12:00:31 +0000 | [diff] [blame] | 327 | "src/tracing/core/commit_data_request.cc", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 328 | "src/tracing/core/data_source_config.cc", |
| 329 | "src/tracing/core/data_source_descriptor.cc", |
| 330 | "src/tracing/core/id_allocator.cc", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 331 | "src/tracing/core/metatrace_writer.cc", |
Hector Dearman | 9a5a0e9 | 2018-03-27 17:52:24 +0100 | [diff] [blame] | 332 | "src/tracing/core/null_trace_writer.cc", |
Eric Seckler | 7b0c945 | 2019-03-18 13:14:36 +0000 | [diff] [blame] | 333 | "src/tracing/core/observable_events.cc", |
Sami Kyostila | 32e0b54 | 2018-02-14 08:55:43 +0000 | [diff] [blame] | 334 | "src/tracing/core/packet_stream_validator.cc", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 335 | "src/tracing/core/shared_memory_abi.cc", |
Oystein Eftevaag | 6d0bc7f | 2018-01-13 12:21:55 -0800 | [diff] [blame] | 336 | "src/tracing/core/shared_memory_arbiter_impl.cc", |
Primiano Tucci | 16d1d63 | 2018-02-22 10:16:22 +0000 | [diff] [blame] | 337 | "src/tracing/core/sliced_protobuf_input_stream.cc", |
Eric Seckler | c65693d | 2019-01-11 15:12:48 +0000 | [diff] [blame] | 338 | "src/tracing/core/startup_trace_writer.cc", |
Eric Seckler | 42777e5 | 2019-01-23 10:13:22 +0000 | [diff] [blame] | 339 | "src/tracing/core/startup_trace_writer_registry.cc", |
Lalit Maganti | 3f5705c | 2018-03-09 12:09:44 +0000 | [diff] [blame] | 340 | "src/tracing/core/test_config.cc", |
Primiano Tucci | 5c59901 | 2018-03-01 17:52:07 +0000 | [diff] [blame] | 341 | "src/tracing/core/trace_buffer.cc", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 342 | "src/tracing/core/trace_config.cc", |
| 343 | "src/tracing/core/trace_packet.cc", |
Eric Seckler | eaf29ed | 2019-01-23 09:53:55 +0000 | [diff] [blame] | 344 | "src/tracing/core/trace_stats.cc", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 345 | "src/tracing/core/trace_writer_impl.cc", |
Florian Mayer | 6a1a4d5 | 2018-06-08 16:47:07 +0100 | [diff] [blame] | 346 | "src/tracing/core/tracing_service_impl.cc", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 347 | "src/tracing/core/tracing_service_state.cc", |
Primiano Tucci | 3cbb10a | 2018-04-10 17:52:40 +0100 | [diff] [blame] | 348 | "src/tracing/core/virtual_destructors.cc", |
Primiano Tucci | 2c5488f | 2019-06-01 03:27:28 +0100 | [diff] [blame] | 349 | "src/tracing/trace_writer_base.cc", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 350 | ], |
| 351 | shared_libs: [ |
Primiano Tucci | 6d84853 | 2018-01-17 10:32:33 +0000 | [diff] [blame] | 352 | "liblog", |
| 353 | "libprotobuf-cpp-lite", |
| 354 | ], |
| 355 | static_libs: [ |
Primiano Tucci | 6d84853 | 2018-01-17 10:32:33 +0000 | [diff] [blame] | 356 | "perfetto_src_tracing_ipc", |
| 357 | ], |
| 358 | generated_headers: [ |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 359 | "perfetto_protos_perfetto_common_lite_gen_headers", |
| 360 | "perfetto_protos_perfetto_common_zero_gen_headers", |
| 361 | "perfetto_protos_perfetto_config_lite_gen_headers", |
| 362 | "perfetto_protos_perfetto_config_zero_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 363 | "perfetto_protos_perfetto_ipc_ipc_gen_headers", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 364 | "perfetto_protos_perfetto_trace_android_zero_gen_headers", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 365 | "perfetto_protos_perfetto_trace_chrome_zero_gen_headers", |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 366 | "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 367 | "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 368 | "perfetto_protos_perfetto_trace_gpu_zero_gen_headers", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 369 | "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 370 | "perfetto_protos_perfetto_trace_minimal_lite_gen_headers", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 371 | "perfetto_protos_perfetto_trace_perfetto_zero_gen_headers", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 372 | "perfetto_protos_perfetto_trace_power_zero_gen_headers", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 373 | "perfetto_protos_perfetto_trace_profiling_zero_gen_headers", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 374 | "perfetto_protos_perfetto_trace_ps_zero_gen_headers", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 375 | "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 376 | "perfetto_protos_perfetto_trace_track_event_zero_gen_headers", |
Oystein Eftevaag | 4d0f6c8 | 2018-04-30 14:19:59 -0700 | [diff] [blame] | 377 | "perfetto_protos_perfetto_trace_trusted_lite_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 378 | "perfetto_protos_perfetto_trace_zero_gen_headers", |
Primiano Tucci | 6d84853 | 2018-01-17 10:32:33 +0000 | [diff] [blame] | 379 | "perfetto_src_ipc_wire_protocol_gen_headers", |
| 380 | ], |
| 381 | defaults: [ |
| 382 | "perfetto_defaults", |
| 383 | ], |
Florian Mayer | 3d5e7e6 | 2018-01-19 15:22:46 +0000 | [diff] [blame] | 384 | cflags: [ |
| 385 | "-DGOOGLE_PROTOBUF_NO_RTTI", |
| 386 | "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
Primiano Tucci | 7c7f5f5 | 2019-01-15 21:47:04 +0000 | [diff] [blame] | 387 | "-DPERFETTO_BUILD_WITH_ANDROID", |
Florian Mayer | 3d5e7e6 | 2018-01-19 15:22:46 +0000 | [diff] [blame] | 388 | ], |
Primiano Tucci | 6d84853 | 2018-01-17 10:32:33 +0000 | [diff] [blame] | 389 | } |
| 390 | |
Primiano Tucci | 676f0cc | 2018-12-03 20:03:26 +0100 | [diff] [blame] | 391 | // GN target: //:libperfetto_android_internal |
| 392 | cc_library_shared { |
| 393 | name: "libperfetto_android_internal", |
| 394 | srcs: [ |
Isabelle Taylor | f3edbfa | 2019-03-26 11:07:19 +0000 | [diff] [blame] | 395 | "src/android_internal/atrace_hal.cc", |
Primiano Tucci | ec62e3e | 2019-07-26 22:18:31 +0100 | [diff] [blame] | 396 | "src/android_internal/dropbox_service.cc", |
Primiano Tucci | 676f0cc | 2018-12-03 20:03:26 +0100 | [diff] [blame] | 397 | "src/android_internal/health_hal.cc", |
Ryan Savitski | 53ca60b | 2019-06-03 13:04:40 +0100 | [diff] [blame] | 398 | "src/android_internal/incident_service.cc", |
Esteban Talavera | 1fecac9 | 2019-01-09 16:06:29 +0000 | [diff] [blame] | 399 | "src/android_internal/power_stats_hal.cc", |
Primiano Tucci | 676f0cc | 2018-12-03 20:03:26 +0100 | [diff] [blame] | 400 | ], |
| 401 | shared_libs: [ |
Isabelle Taylor | f3edbfa | 2019-03-26 11:07:19 +0000 | [diff] [blame] | 402 | "android.hardware.atrace@1.0", |
Primiano Tucci | 676f0cc | 2018-12-03 20:03:26 +0100 | [diff] [blame] | 403 | "android.hardware.health@2.0", |
Esteban Talavera | 1fecac9 | 2019-01-09 16:06:29 +0000 | [diff] [blame] | 404 | "android.hardware.power.stats@1.0", |
Primiano Tucci | 676f0cc | 2018-12-03 20:03:26 +0100 | [diff] [blame] | 405 | "libbase", |
Ryan Savitski | 53ca60b | 2019-06-03 13:04:40 +0100 | [diff] [blame] | 406 | "libbinder", |
Primiano Tucci | 676f0cc | 2018-12-03 20:03:26 +0100 | [diff] [blame] | 407 | "libhidlbase", |
Ryan Savitski | 53ca60b | 2019-06-03 13:04:40 +0100 | [diff] [blame] | 408 | "libincident", |
Primiano Tucci | 676f0cc | 2018-12-03 20:03:26 +0100 | [diff] [blame] | 409 | "liblog", |
Primiano Tucci | ec62e3e | 2019-07-26 22:18:31 +0100 | [diff] [blame] | 410 | "libservices", |
Primiano Tucci | 676f0cc | 2018-12-03 20:03:26 +0100 | [diff] [blame] | 411 | "libutils", |
| 412 | ], |
Ryan Savitski | e65beca | 2019-01-29 18:29:13 +0000 | [diff] [blame] | 413 | static_libs: [ |
| 414 | "libhealthhalutils", |
| 415 | ], |
Primiano Tucci | 676f0cc | 2018-12-03 20:03:26 +0100 | [diff] [blame] | 416 | defaults: [ |
| 417 | "perfetto_defaults", |
| 418 | ], |
Primiano Tucci | 7c7f5f5 | 2019-01-15 21:47:04 +0000 | [diff] [blame] | 419 | cflags: [ |
| 420 | "-DPERFETTO_BUILD_WITH_ANDROID", |
| 421 | ], |
Primiano Tucci | ec62e3e | 2019-07-26 22:18:31 +0100 | [diff] [blame] | 422 | product_variables: { |
| 423 | pdk: { |
| 424 | enabled: false, |
| 425 | }, |
| 426 | }, |
Primiano Tucci | 676f0cc | 2018-12-03 20:03:26 +0100 | [diff] [blame] | 427 | } |
| 428 | |
Primiano Tucci | 0b651b8 | 2019-06-03 17:16:23 +0100 | [diff] [blame] | 429 | // GN target: //:libperfetto_client_experimental |
| 430 | cc_library_static { |
| 431 | name: "libperfetto_client_experimental", |
| 432 | srcs: [ |
| 433 | ":perfetto_protos_perfetto_common_lite_gen", |
| 434 | ":perfetto_protos_perfetto_common_zero_gen", |
| 435 | ":perfetto_protos_perfetto_config_lite_gen", |
| 436 | ":perfetto_protos_perfetto_config_zero_gen", |
| 437 | ":perfetto_protos_perfetto_ipc_ipc_gen", |
| 438 | ":perfetto_protos_perfetto_trace_android_zero_gen", |
| 439 | ":perfetto_protos_perfetto_trace_chrome_zero_gen", |
| 440 | ":perfetto_protos_perfetto_trace_filesystem_zero_gen", |
| 441 | ":perfetto_protos_perfetto_trace_ftrace_zero_gen", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 442 | ":perfetto_protos_perfetto_trace_gpu_zero_gen", |
Primiano Tucci | 0b651b8 | 2019-06-03 17:16:23 +0100 | [diff] [blame] | 443 | ":perfetto_protos_perfetto_trace_interned_data_zero_gen", |
| 444 | ":perfetto_protos_perfetto_trace_minimal_lite_gen", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 445 | ":perfetto_protos_perfetto_trace_perfetto_zero_gen", |
Primiano Tucci | 0b651b8 | 2019-06-03 17:16:23 +0100 | [diff] [blame] | 446 | ":perfetto_protos_perfetto_trace_power_zero_gen", |
| 447 | ":perfetto_protos_perfetto_trace_profiling_zero_gen", |
| 448 | ":perfetto_protos_perfetto_trace_ps_zero_gen", |
| 449 | ":perfetto_protos_perfetto_trace_sys_stats_zero_gen", |
| 450 | ":perfetto_protos_perfetto_trace_track_event_zero_gen", |
| 451 | ":perfetto_protos_perfetto_trace_trusted_lite_gen", |
| 452 | ":perfetto_protos_perfetto_trace_zero_gen", |
| 453 | ":perfetto_src_ipc_wire_protocol_gen", |
Sami Kyostila | 389861f | 2019-07-09 20:52:43 +0100 | [diff] [blame] | 454 | "src/base/event_fd.cc", |
Primiano Tucci | 0b651b8 | 2019-06-03 17:16:23 +0100 | [diff] [blame] | 455 | "src/base/file_utils.cc", |
| 456 | "src/base/metatrace.cc", |
| 457 | "src/base/paged_memory.cc", |
| 458 | "src/base/pipe.cc", |
| 459 | "src/base/string_splitter.cc", |
| 460 | "src/base/string_utils.cc", |
| 461 | "src/base/string_view.cc", |
| 462 | "src/base/temp_file.cc", |
| 463 | "src/base/thread_checker.cc", |
| 464 | "src/base/thread_task_runner.cc", |
| 465 | "src/base/time.cc", |
| 466 | "src/base/unix_socket.cc", |
| 467 | "src/base/unix_task_runner.cc", |
| 468 | "src/base/virtual_destructors.cc", |
Sami Kyostila | 389861f | 2019-07-09 20:52:43 +0100 | [diff] [blame] | 469 | "src/base/waitable_event.cc", |
Primiano Tucci | 0b651b8 | 2019-06-03 17:16:23 +0100 | [diff] [blame] | 470 | "src/base/watchdog_posix.cc", |
| 471 | "src/ipc/buffered_frame_deserializer.cc", |
| 472 | "src/ipc/client_impl.cc", |
| 473 | "src/ipc/deferred.cc", |
| 474 | "src/ipc/host_impl.cc", |
| 475 | "src/ipc/service_proxy.cc", |
| 476 | "src/ipc/virtual_destructors.cc", |
| 477 | "src/protozero/message.cc", |
| 478 | "src/protozero/message_handle.cc", |
| 479 | "src/protozero/proto_decoder.cc", |
| 480 | "src/protozero/scattered_heap_buffer.cc", |
| 481 | "src/protozero/scattered_stream_null_delegate.cc", |
| 482 | "src/protozero/scattered_stream_writer.cc", |
| 483 | "src/tracing/core/chrome_config.cc", |
| 484 | "src/tracing/core/commit_data_request.cc", |
| 485 | "src/tracing/core/data_source_config.cc", |
| 486 | "src/tracing/core/data_source_descriptor.cc", |
| 487 | "src/tracing/core/id_allocator.cc", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 488 | "src/tracing/core/metatrace_writer.cc", |
Primiano Tucci | 0b651b8 | 2019-06-03 17:16:23 +0100 | [diff] [blame] | 489 | "src/tracing/core/null_trace_writer.cc", |
| 490 | "src/tracing/core/observable_events.cc", |
| 491 | "src/tracing/core/packet_stream_validator.cc", |
| 492 | "src/tracing/core/shared_memory_abi.cc", |
| 493 | "src/tracing/core/shared_memory_arbiter_impl.cc", |
| 494 | "src/tracing/core/sliced_protobuf_input_stream.cc", |
| 495 | "src/tracing/core/startup_trace_writer.cc", |
| 496 | "src/tracing/core/startup_trace_writer_registry.cc", |
| 497 | "src/tracing/core/test_config.cc", |
| 498 | "src/tracing/core/trace_buffer.cc", |
| 499 | "src/tracing/core/trace_config.cc", |
| 500 | "src/tracing/core/trace_packet.cc", |
| 501 | "src/tracing/core/trace_stats.cc", |
| 502 | "src/tracing/core/trace_writer_impl.cc", |
| 503 | "src/tracing/core/tracing_service_impl.cc", |
Eric Seckler | 4d7ccd9 | 2019-06-04 15:50:16 +0100 | [diff] [blame] | 504 | "src/tracing/core/tracing_service_state.cc", |
Primiano Tucci | 0b651b8 | 2019-06-03 17:16:23 +0100 | [diff] [blame] | 505 | "src/tracing/core/virtual_destructors.cc", |
| 506 | "src/tracing/data_source.cc", |
| 507 | "src/tracing/internal/in_process_tracing_backend.cc", |
| 508 | "src/tracing/internal/system_tracing_backend.cc", |
| 509 | "src/tracing/internal/tracing_muxer_impl.cc", |
| 510 | "src/tracing/platform.cc", |
| 511 | "src/tracing/platform_posix.cc", |
| 512 | "src/tracing/trace_writer_base.cc", |
| 513 | "src/tracing/tracing.cc", |
| 514 | "src/tracing/virtual_destructors.cc", |
| 515 | ], |
| 516 | shared_libs: [ |
| 517 | "libprotobuf-cpp-lite", |
| 518 | ], |
| 519 | static_libs: [ |
| 520 | "perfetto_src_tracing_ipc", |
| 521 | ], |
| 522 | export_include_dirs: [ |
| 523 | "include", |
| 524 | ], |
| 525 | generated_headers: [ |
| 526 | "perfetto_protos_perfetto_common_lite_gen_headers", |
| 527 | "perfetto_protos_perfetto_common_zero_gen_headers", |
| 528 | "perfetto_protos_perfetto_config_lite_gen_headers", |
| 529 | "perfetto_protos_perfetto_config_zero_gen_headers", |
| 530 | "perfetto_protos_perfetto_ipc_ipc_gen_headers", |
| 531 | "perfetto_protos_perfetto_trace_android_zero_gen_headers", |
| 532 | "perfetto_protos_perfetto_trace_chrome_zero_gen_headers", |
| 533 | "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers", |
| 534 | "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 535 | "perfetto_protos_perfetto_trace_gpu_zero_gen_headers", |
Primiano Tucci | 0b651b8 | 2019-06-03 17:16:23 +0100 | [diff] [blame] | 536 | "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers", |
| 537 | "perfetto_protos_perfetto_trace_minimal_lite_gen_headers", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 538 | "perfetto_protos_perfetto_trace_perfetto_zero_gen_headers", |
Primiano Tucci | 0b651b8 | 2019-06-03 17:16:23 +0100 | [diff] [blame] | 539 | "perfetto_protos_perfetto_trace_power_zero_gen_headers", |
| 540 | "perfetto_protos_perfetto_trace_profiling_zero_gen_headers", |
| 541 | "perfetto_protos_perfetto_trace_ps_zero_gen_headers", |
| 542 | "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers", |
| 543 | "perfetto_protos_perfetto_trace_track_event_zero_gen_headers", |
| 544 | "perfetto_protos_perfetto_trace_trusted_lite_gen_headers", |
| 545 | "perfetto_protos_perfetto_trace_zero_gen_headers", |
| 546 | "perfetto_src_ipc_wire_protocol_gen_headers", |
| 547 | ], |
| 548 | export_generated_headers: [ |
| 549 | "perfetto_protos_perfetto_common_lite_gen_headers", |
| 550 | "perfetto_protos_perfetto_common_zero_gen_headers", |
| 551 | "perfetto_protos_perfetto_config_lite_gen_headers", |
| 552 | "perfetto_protos_perfetto_config_zero_gen_headers", |
| 553 | "perfetto_protos_perfetto_ipc_ipc_gen_headers", |
| 554 | "perfetto_protos_perfetto_trace_android_zero_gen_headers", |
| 555 | "perfetto_protos_perfetto_trace_chrome_zero_gen_headers", |
| 556 | "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers", |
| 557 | "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 558 | "perfetto_protos_perfetto_trace_gpu_zero_gen_headers", |
Primiano Tucci | 0b651b8 | 2019-06-03 17:16:23 +0100 | [diff] [blame] | 559 | "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers", |
| 560 | "perfetto_protos_perfetto_trace_minimal_lite_gen_headers", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 561 | "perfetto_protos_perfetto_trace_perfetto_zero_gen_headers", |
Primiano Tucci | 0b651b8 | 2019-06-03 17:16:23 +0100 | [diff] [blame] | 562 | "perfetto_protos_perfetto_trace_power_zero_gen_headers", |
| 563 | "perfetto_protos_perfetto_trace_profiling_zero_gen_headers", |
| 564 | "perfetto_protos_perfetto_trace_ps_zero_gen_headers", |
| 565 | "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers", |
| 566 | "perfetto_protos_perfetto_trace_track_event_zero_gen_headers", |
| 567 | "perfetto_protos_perfetto_trace_trusted_lite_gen_headers", |
| 568 | "perfetto_protos_perfetto_trace_zero_gen_headers", |
| 569 | "perfetto_src_ipc_wire_protocol_gen_headers", |
| 570 | ], |
| 571 | defaults: [ |
| 572 | "perfetto_defaults", |
| 573 | ], |
| 574 | cflags: [ |
| 575 | "-DGOOGLE_PROTOBUF_NO_RTTI", |
| 576 | "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
| 577 | "-DPERFETTO_BUILD_WITH_ANDROID", |
| 578 | ], |
| 579 | } |
| 580 | |
Primiano Tucci | 6d84853 | 2018-01-17 10:32:33 +0000 | [diff] [blame] | 581 | // GN target: //:perfetto |
| 582 | cc_binary { |
| 583 | name: "perfetto", |
| 584 | srcs: [ |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 585 | ":perfetto_protos_perfetto_common_lite_gen", |
| 586 | ":perfetto_protos_perfetto_common_zero_gen", |
| 587 | ":perfetto_protos_perfetto_config_lite_gen", |
| 588 | ":perfetto_protos_perfetto_config_zero_gen", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 589 | ":perfetto_protos_perfetto_ipc_ipc_gen", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 590 | ":perfetto_protos_perfetto_trace_android_zero_gen", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 591 | ":perfetto_protos_perfetto_trace_chrome_zero_gen", |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 592 | ":perfetto_protos_perfetto_trace_filesystem_zero_gen", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 593 | ":perfetto_protos_perfetto_trace_ftrace_zero_gen", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 594 | ":perfetto_protos_perfetto_trace_gpu_zero_gen", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 595 | ":perfetto_protos_perfetto_trace_interned_data_zero_gen", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 596 | ":perfetto_protos_perfetto_trace_minimal_lite_gen", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 597 | ":perfetto_protos_perfetto_trace_perfetto_zero_gen", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 598 | ":perfetto_protos_perfetto_trace_power_zero_gen", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 599 | ":perfetto_protos_perfetto_trace_profiling_zero_gen", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 600 | ":perfetto_protos_perfetto_trace_ps_zero_gen", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 601 | ":perfetto_protos_perfetto_trace_sys_stats_zero_gen", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 602 | ":perfetto_protos_perfetto_trace_track_event_zero_gen", |
Oystein Eftevaag | 4d0f6c8 | 2018-04-30 14:19:59 -0700 | [diff] [blame] | 603 | ":perfetto_protos_perfetto_trace_trusted_lite_gen", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 604 | ":perfetto_protos_perfetto_trace_zero_gen", |
Primiano Tucci | 6d84853 | 2018-01-17 10:32:33 +0000 | [diff] [blame] | 605 | ":perfetto_src_ipc_wire_protocol_gen", |
Hector Dearman | 86cfbe1 | 2018-03-22 11:58:42 +0000 | [diff] [blame] | 606 | ":perfetto_src_perfetto_cmd_protos_gen", |
Primiano Tucci | a6ebe13 | 2019-07-24 22:59:23 +0100 | [diff] [blame] | 607 | "src/android_internal/lazy_library_loader.cc", |
Sami Kyostila | 389861f | 2019-07-09 20:52:43 +0100 | [diff] [blame] | 608 | "src/base/event_fd.cc", |
Florian Mayer | 74b73a9 | 2018-03-09 17:37:13 +0000 | [diff] [blame] | 609 | "src/base/file_utils.cc", |
Florian Mayer | 236ba47 | 2018-05-09 15:47:53 +0100 | [diff] [blame] | 610 | "src/base/metatrace.cc", |
Eric Seckler | edf3f7c | 2018-10-23 16:44:53 +0100 | [diff] [blame] | 611 | "src/base/paged_memory.cc", |
Primiano Tucci | 76499cd | 2018-11-21 10:54:04 +0100 | [diff] [blame] | 612 | "src/base/pipe.cc", |
Primiano Tucci | 825e6de | 2018-03-13 05:43:15 +0000 | [diff] [blame] | 613 | "src/base/string_splitter.cc", |
Hector Dearman | 3afb1e0 | 2018-04-27 16:46:52 +0100 | [diff] [blame] | 614 | "src/base/string_utils.cc", |
Primiano Tucci | 60c4a2b | 2019-03-02 17:11:18 +0000 | [diff] [blame] | 615 | "src/base/string_view.cc", |
Primiano Tucci | 941b221 | 2018-03-14 22:46:31 +0000 | [diff] [blame] | 616 | "src/base/temp_file.cc", |
Primiano Tucci | 6d84853 | 2018-01-17 10:32:33 +0000 | [diff] [blame] | 617 | "src/base/thread_checker.cc", |
Ryan Savitski | 2988579 | 2019-03-14 12:10:13 +0000 | [diff] [blame] | 618 | "src/base/thread_task_runner.cc", |
Florian Mayer | 75905df | 2018-05-08 17:44:08 +0100 | [diff] [blame] | 619 | "src/base/time.cc", |
Florian Mayer | f7f0def | 2018-09-27 13:59:24 +0100 | [diff] [blame] | 620 | "src/base/unix_socket.cc", |
Primiano Tucci | 6d84853 | 2018-01-17 10:32:33 +0000 | [diff] [blame] | 621 | "src/base/unix_task_runner.cc", |
Primiano Tucci | 3cbb10a | 2018-04-10 17:52:40 +0100 | [diff] [blame] | 622 | "src/base/virtual_destructors.cc", |
Sami Kyostila | 389861f | 2019-07-09 20:52:43 +0100 | [diff] [blame] | 623 | "src/base/waitable_event.cc", |
Primiano Tucci | 808d6df | 2018-03-31 13:24:18 +0100 | [diff] [blame] | 624 | "src/base/watchdog_posix.cc", |
Primiano Tucci | 6d84853 | 2018-01-17 10:32:33 +0000 | [diff] [blame] | 625 | "src/ipc/buffered_frame_deserializer.cc", |
| 626 | "src/ipc/client_impl.cc", |
| 627 | "src/ipc/deferred.cc", |
| 628 | "src/ipc/host_impl.cc", |
| 629 | "src/ipc/service_proxy.cc", |
Primiano Tucci | 3cbb10a | 2018-04-10 17:52:40 +0100 | [diff] [blame] | 630 | "src/ipc/virtual_destructors.cc", |
Hector Dearman | 5edeafc | 2018-11-29 13:27:33 +0000 | [diff] [blame] | 631 | "src/perfetto_cmd/config.cc", |
Hector Dearman | c443a36 | 2018-02-28 16:03:56 +0000 | [diff] [blame] | 632 | "src/perfetto_cmd/main.cc", |
Hector Dearman | 554627f | 2019-06-04 17:58:22 +0100 | [diff] [blame] | 633 | "src/perfetto_cmd/packet_writer.cc", |
Hector Dearman | b7fa544 | 2018-11-08 18:39:32 +0000 | [diff] [blame] | 634 | "src/perfetto_cmd/pbtxt_to_pb.cc", |
Hector Dearman | c443a36 | 2018-02-28 16:03:56 +0000 | [diff] [blame] | 635 | "src/perfetto_cmd/perfetto_cmd.cc", |
Primiano Tucci | ec62e3e | 2019-07-26 22:18:31 +0100 | [diff] [blame] | 636 | "src/perfetto_cmd/perfetto_cmd_android.cc", |
Hector Dearman | 86cfbe1 | 2018-03-22 11:58:42 +0000 | [diff] [blame] | 637 | "src/perfetto_cmd/rate_limiter.cc", |
Stephen Nusko | e823811 | 2019-04-09 18:37:00 +0100 | [diff] [blame] | 638 | "src/perfetto_cmd/trigger_producer.cc", |
Hector Dearman | e1e56b6 | 2018-02-21 19:11:58 +0000 | [diff] [blame] | 639 | "src/protozero/message.cc", |
| 640 | "src/protozero/message_handle.cc", |
Lalit Maganti | 45172a8 | 2018-06-01 03:04:43 +0100 | [diff] [blame] | 641 | "src/protozero/proto_decoder.cc", |
Eric Seckler | 7631120 | 2019-01-07 12:20:25 +0000 | [diff] [blame] | 642 | "src/protozero/scattered_heap_buffer.cc", |
Hector Dearman | 9a5a0e9 | 2018-03-27 17:52:24 +0100 | [diff] [blame] | 643 | "src/protozero/scattered_stream_null_delegate.cc", |
Primiano Tucci | 6d84853 | 2018-01-17 10:32:33 +0000 | [diff] [blame] | 644 | "src/protozero/scattered_stream_writer.cc", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 645 | "src/tracing/core/chrome_config.cc", |
Primiano Tucci | 79f3f91 | 2018-03-02 12:00:31 +0000 | [diff] [blame] | 646 | "src/tracing/core/commit_data_request.cc", |
Primiano Tucci | 6d84853 | 2018-01-17 10:32:33 +0000 | [diff] [blame] | 647 | "src/tracing/core/data_source_config.cc", |
| 648 | "src/tracing/core/data_source_descriptor.cc", |
| 649 | "src/tracing/core/id_allocator.cc", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 650 | "src/tracing/core/metatrace_writer.cc", |
Hector Dearman | 9a5a0e9 | 2018-03-27 17:52:24 +0100 | [diff] [blame] | 651 | "src/tracing/core/null_trace_writer.cc", |
Eric Seckler | 7b0c945 | 2019-03-18 13:14:36 +0000 | [diff] [blame] | 652 | "src/tracing/core/observable_events.cc", |
Sami Kyostila | 32e0b54 | 2018-02-14 08:55:43 +0000 | [diff] [blame] | 653 | "src/tracing/core/packet_stream_validator.cc", |
Primiano Tucci | 6d84853 | 2018-01-17 10:32:33 +0000 | [diff] [blame] | 654 | "src/tracing/core/shared_memory_abi.cc", |
| 655 | "src/tracing/core/shared_memory_arbiter_impl.cc", |
Primiano Tucci | 16d1d63 | 2018-02-22 10:16:22 +0000 | [diff] [blame] | 656 | "src/tracing/core/sliced_protobuf_input_stream.cc", |
Eric Seckler | c65693d | 2019-01-11 15:12:48 +0000 | [diff] [blame] | 657 | "src/tracing/core/startup_trace_writer.cc", |
Eric Seckler | 42777e5 | 2019-01-23 10:13:22 +0000 | [diff] [blame] | 658 | "src/tracing/core/startup_trace_writer_registry.cc", |
Lalit Maganti | 3f5705c | 2018-03-09 12:09:44 +0000 | [diff] [blame] | 659 | "src/tracing/core/test_config.cc", |
Primiano Tucci | 5c59901 | 2018-03-01 17:52:07 +0000 | [diff] [blame] | 660 | "src/tracing/core/trace_buffer.cc", |
Primiano Tucci | 6d84853 | 2018-01-17 10:32:33 +0000 | [diff] [blame] | 661 | "src/tracing/core/trace_config.cc", |
| 662 | "src/tracing/core/trace_packet.cc", |
Eric Seckler | eaf29ed | 2019-01-23 09:53:55 +0000 | [diff] [blame] | 663 | "src/tracing/core/trace_stats.cc", |
Primiano Tucci | 6d84853 | 2018-01-17 10:32:33 +0000 | [diff] [blame] | 664 | "src/tracing/core/trace_writer_impl.cc", |
Florian Mayer | 6a1a4d5 | 2018-06-08 16:47:07 +0100 | [diff] [blame] | 665 | "src/tracing/core/tracing_service_impl.cc", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 666 | "src/tracing/core/tracing_service_state.cc", |
Primiano Tucci | 3cbb10a | 2018-04-10 17:52:40 +0100 | [diff] [blame] | 667 | "src/tracing/core/virtual_destructors.cc", |
Primiano Tucci | 2c5488f | 2019-06-01 03:27:28 +0100 | [diff] [blame] | 668 | "src/tracing/trace_writer_base.cc", |
Primiano Tucci | 6d84853 | 2018-01-17 10:32:33 +0000 | [diff] [blame] | 669 | ], |
| 670 | shared_libs: [ |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 671 | "liblog", |
| 672 | "libprotobuf-cpp-lite", |
Hector Dearman | e0b993f | 2019-05-24 18:48:16 +0100 | [diff] [blame] | 673 | "libz", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 674 | ], |
| 675 | static_libs: [ |
Stephen Nusko | e823811 | 2019-04-09 18:37:00 +0100 | [diff] [blame] | 676 | "perfetto_src_tracing_ipc", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 677 | ], |
| 678 | generated_headers: [ |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 679 | "perfetto_protos_perfetto_common_lite_gen_headers", |
| 680 | "perfetto_protos_perfetto_common_zero_gen_headers", |
| 681 | "perfetto_protos_perfetto_config_lite_gen_headers", |
| 682 | "perfetto_protos_perfetto_config_zero_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 683 | "perfetto_protos_perfetto_ipc_ipc_gen_headers", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 684 | "perfetto_protos_perfetto_trace_android_zero_gen_headers", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 685 | "perfetto_protos_perfetto_trace_chrome_zero_gen_headers", |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 686 | "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 687 | "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 688 | "perfetto_protos_perfetto_trace_gpu_zero_gen_headers", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 689 | "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 690 | "perfetto_protos_perfetto_trace_minimal_lite_gen_headers", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 691 | "perfetto_protos_perfetto_trace_perfetto_zero_gen_headers", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 692 | "perfetto_protos_perfetto_trace_power_zero_gen_headers", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 693 | "perfetto_protos_perfetto_trace_profiling_zero_gen_headers", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 694 | "perfetto_protos_perfetto_trace_ps_zero_gen_headers", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 695 | "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 696 | "perfetto_protos_perfetto_trace_track_event_zero_gen_headers", |
Oystein Eftevaag | 4d0f6c8 | 2018-04-30 14:19:59 -0700 | [diff] [blame] | 697 | "perfetto_protos_perfetto_trace_trusted_lite_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 698 | "perfetto_protos_perfetto_trace_zero_gen_headers", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 699 | "perfetto_src_ipc_wire_protocol_gen_headers", |
Hector Dearman | 86cfbe1 | 2018-03-22 11:58:42 +0000 | [diff] [blame] | 700 | "perfetto_src_perfetto_cmd_protos_gen_headers", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 701 | ], |
| 702 | defaults: [ |
| 703 | "perfetto_defaults", |
| 704 | ], |
Primiano Tucci | edf099c | 2018-01-08 18:27:56 +0000 | [diff] [blame] | 705 | cflags: [ |
Florian Mayer | 3d5e7e6 | 2018-01-19 15:22:46 +0000 | [diff] [blame] | 706 | "-DGOOGLE_PROTOBUF_NO_RTTI", |
| 707 | "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
Hector Dearman | 554627f | 2019-06-04 17:58:22 +0100 | [diff] [blame] | 708 | "-DHAVE_HIDDEN", |
Primiano Tucci | edf099c | 2018-01-08 18:27:56 +0000 | [diff] [blame] | 709 | "-DPERFETTO_BUILD_WITH_ANDROID", |
| 710 | ], |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 711 | } |
| 712 | |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 713 | cc_defaults { |
| 714 | name: "perfetto_defaults", |
| 715 | cflags: [ |
Florian Mayer | c2a38ea | 2018-01-19 11:48:43 +0000 | [diff] [blame] | 716 | "-Oz", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 717 | "-Wno-error=return-type", |
| 718 | "-Wno-sign-compare", |
| 719 | "-Wno-sign-promo", |
| 720 | "-Wno-unused-parameter", |
Florian Mayer | cc424fd | 2018-01-15 11:19:01 +0000 | [diff] [blame] | 721 | "-fvisibility=hidden", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 722 | ], |
| 723 | local_include_dirs: [ |
| 724 | "include", |
| 725 | ], |
Lalit Maganti | d8b1a1d | 2018-05-23 14:41:43 +0100 | [diff] [blame] | 726 | product_variables: { |
| 727 | debuggable: { |
| 728 | cflags: ["-DPERFETTO_BUILD_WITH_ANDROID_USERDEBUG"], |
| 729 | }, |
| 730 | }, |
Florian Mayer | 19f734f | 2019-07-05 12:08:01 +0100 | [diff] [blame] | 731 | target: { |
| 732 | android: { |
| 733 | lto: { |
| 734 | thin: true, |
| 735 | }, |
| 736 | }, |
| 737 | }, |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 738 | } |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 739 | |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 740 | // GN target: //:perfetto_integrationtests |
| 741 | cc_test { |
| 742 | name: "perfetto_integrationtests", |
| 743 | srcs: [ |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 744 | ":perfetto_protos_perfetto_common_lite_gen", |
| 745 | ":perfetto_protos_perfetto_common_zero_gen", |
| 746 | ":perfetto_protos_perfetto_config_lite_gen", |
| 747 | ":perfetto_protos_perfetto_config_zero_gen", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 748 | ":perfetto_protos_perfetto_ipc_ipc_gen", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 749 | ":perfetto_protos_perfetto_trace_android_lite_gen", |
| 750 | ":perfetto_protos_perfetto_trace_android_zero_gen", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 751 | ":perfetto_protos_perfetto_trace_chrome_lite_gen", |
| 752 | ":perfetto_protos_perfetto_trace_chrome_zero_gen", |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 753 | ":perfetto_protos_perfetto_trace_filesystem_lite_gen", |
| 754 | ":perfetto_protos_perfetto_trace_filesystem_zero_gen", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 755 | ":perfetto_protos_perfetto_trace_ftrace_lite_gen", |
| 756 | ":perfetto_protos_perfetto_trace_ftrace_zero_gen", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 757 | ":perfetto_protos_perfetto_trace_gpu_lite_gen", |
| 758 | ":perfetto_protos_perfetto_trace_gpu_zero_gen", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 759 | ":perfetto_protos_perfetto_trace_interned_data_lite_gen", |
| 760 | ":perfetto_protos_perfetto_trace_interned_data_zero_gen", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 761 | ":perfetto_protos_perfetto_trace_lite_gen", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 762 | ":perfetto_protos_perfetto_trace_minimal_lite_gen", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 763 | ":perfetto_protos_perfetto_trace_perfetto_lite_gen", |
| 764 | ":perfetto_protos_perfetto_trace_perfetto_zero_gen", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 765 | ":perfetto_protos_perfetto_trace_power_lite_gen", |
| 766 | ":perfetto_protos_perfetto_trace_power_zero_gen", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 767 | ":perfetto_protos_perfetto_trace_profiling_lite_gen", |
| 768 | ":perfetto_protos_perfetto_trace_profiling_zero_gen", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 769 | ":perfetto_protos_perfetto_trace_ps_lite_gen", |
| 770 | ":perfetto_protos_perfetto_trace_ps_zero_gen", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 771 | ":perfetto_protos_perfetto_trace_sys_stats_lite_gen", |
| 772 | ":perfetto_protos_perfetto_trace_sys_stats_zero_gen", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 773 | ":perfetto_protos_perfetto_trace_track_event_lite_gen", |
| 774 | ":perfetto_protos_perfetto_trace_track_event_zero_gen", |
Oystein Eftevaag | 4d0f6c8 | 2018-04-30 14:19:59 -0700 | [diff] [blame] | 775 | ":perfetto_protos_perfetto_trace_trusted_lite_gen", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 776 | ":perfetto_protos_perfetto_trace_zero_gen", |
| 777 | ":perfetto_src_ipc_wire_protocol_gen", |
Primiano Tucci | a6ebe13 | 2019-07-24 22:59:23 +0100 | [diff] [blame] | 778 | "src/android_internal/lazy_library_loader.cc", |
Sami Kyostila | 389861f | 2019-07-09 20:52:43 +0100 | [diff] [blame] | 779 | "src/base/event_fd.cc", |
Florian Mayer | 74b73a9 | 2018-03-09 17:37:13 +0000 | [diff] [blame] | 780 | "src/base/file_utils.cc", |
Florian Mayer | 236ba47 | 2018-05-09 15:47:53 +0100 | [diff] [blame] | 781 | "src/base/metatrace.cc", |
Eric Seckler | edf3f7c | 2018-10-23 16:44:53 +0100 | [diff] [blame] | 782 | "src/base/paged_memory.cc", |
Primiano Tucci | 76499cd | 2018-11-21 10:54:04 +0100 | [diff] [blame] | 783 | "src/base/pipe.cc", |
Primiano Tucci | 825e6de | 2018-03-13 05:43:15 +0000 | [diff] [blame] | 784 | "src/base/string_splitter.cc", |
Hector Dearman | 3afb1e0 | 2018-04-27 16:46:52 +0100 | [diff] [blame] | 785 | "src/base/string_utils.cc", |
Primiano Tucci | 60c4a2b | 2019-03-02 17:11:18 +0000 | [diff] [blame] | 786 | "src/base/string_view.cc", |
Primiano Tucci | 941b221 | 2018-03-14 22:46:31 +0000 | [diff] [blame] | 787 | "src/base/temp_file.cc", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 788 | "src/base/test/test_task_runner.cc", |
Hector Dearman | 7f71d0e | 2018-08-09 11:26:10 +0100 | [diff] [blame] | 789 | "src/base/test/utils.cc", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 790 | "src/base/test/vm_test_utils.cc", |
| 791 | "src/base/thread_checker.cc", |
Ryan Savitski | 2988579 | 2019-03-14 12:10:13 +0000 | [diff] [blame] | 792 | "src/base/thread_task_runner.cc", |
Florian Mayer | 75905df | 2018-05-08 17:44:08 +0100 | [diff] [blame] | 793 | "src/base/time.cc", |
Florian Mayer | f7f0def | 2018-09-27 13:59:24 +0100 | [diff] [blame] | 794 | "src/base/unix_socket.cc", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 795 | "src/base/unix_task_runner.cc", |
Primiano Tucci | 3cbb10a | 2018-04-10 17:52:40 +0100 | [diff] [blame] | 796 | "src/base/virtual_destructors.cc", |
Sami Kyostila | 389861f | 2019-07-09 20:52:43 +0100 | [diff] [blame] | 797 | "src/base/waitable_event.cc", |
Primiano Tucci | 808d6df | 2018-03-31 13:24:18 +0100 | [diff] [blame] | 798 | "src/base/watchdog_posix.cc", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 799 | "src/ipc/buffered_frame_deserializer.cc", |
| 800 | "src/ipc/client_impl.cc", |
| 801 | "src/ipc/deferred.cc", |
| 802 | "src/ipc/host_impl.cc", |
| 803 | "src/ipc/service_proxy.cc", |
Primiano Tucci | 3cbb10a | 2018-04-10 17:52:40 +0100 | [diff] [blame] | 804 | "src/ipc/virtual_destructors.cc", |
Florian Mayer | 4280249 | 2018-12-13 11:00:16 +0000 | [diff] [blame] | 805 | "src/profiling/memory/bookkeeping.cc", |
Florian Mayer | 7791fce | 2019-05-16 18:04:20 +0100 | [diff] [blame] | 806 | "src/profiling/memory/bookkeeping_dump.cc", |
Florian Mayer | 4280249 | 2018-12-13 11:00:16 +0000 | [diff] [blame] | 807 | "src/profiling/memory/client.cc", |
Primiano Tucci | 0f2f3b4 | 2019-05-21 19:37:01 +0100 | [diff] [blame] | 808 | "src/profiling/memory/heapprofd_config.cc", |
Florian Mayer | 4280249 | 2018-12-13 11:00:16 +0000 | [diff] [blame] | 809 | "src/profiling/memory/heapprofd_end_to_end_test.cc", |
| 810 | "src/profiling/memory/heapprofd_producer.cc", |
Florian Mayer | 7142c7c | 2019-05-20 18:11:41 +0100 | [diff] [blame] | 811 | "src/profiling/memory/page_idle_checker.cc", |
Florian Mayer | c4b196e | 2018-12-14 20:05:50 +0000 | [diff] [blame] | 812 | "src/profiling/memory/proc_utils.cc", |
Ryan Savitski | a502bde | 2019-02-26 21:34:03 +0000 | [diff] [blame] | 813 | "src/profiling/memory/scoped_spinlock.cc", |
Florian Mayer | 5195059 | 2019-03-06 20:05:15 +0000 | [diff] [blame] | 814 | "src/profiling/memory/shared_ring_buffer.cc", |
Florian Mayer | 4280249 | 2018-12-13 11:00:16 +0000 | [diff] [blame] | 815 | "src/profiling/memory/system_property.cc", |
| 816 | "src/profiling/memory/unwinding.cc", |
Florian Mayer | 7142c7c | 2019-05-20 18:11:41 +0100 | [diff] [blame] | 817 | "src/profiling/memory/utils.cc", |
Florian Mayer | 4280249 | 2018-12-13 11:00:16 +0000 | [diff] [blame] | 818 | "src/profiling/memory/wire_protocol.cc", |
Hector Dearman | e1e56b6 | 2018-02-21 19:11:58 +0000 | [diff] [blame] | 819 | "src/protozero/message.cc", |
| 820 | "src/protozero/message_handle.cc", |
Lalit Maganti | 45172a8 | 2018-06-01 03:04:43 +0100 | [diff] [blame] | 821 | "src/protozero/proto_decoder.cc", |
Eric Seckler | 7631120 | 2019-01-07 12:20:25 +0000 | [diff] [blame] | 822 | "src/protozero/scattered_heap_buffer.cc", |
Hector Dearman | 9a5a0e9 | 2018-03-27 17:52:24 +0100 | [diff] [blame] | 823 | "src/protozero/scattered_stream_null_delegate.cc", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 824 | "src/protozero/scattered_stream_writer.cc", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 825 | "src/traced/probes/android_log/android_log_data_source.cc", |
Florian Mayer | 6f9c342 | 2018-03-29 10:37:41 +0100 | [diff] [blame] | 826 | "src/traced/probes/filesystem/file_scanner.cc", |
Anna Zappone | 2a6f904 | 2018-03-14 13:26:07 +0000 | [diff] [blame] | 827 | "src/traced/probes/filesystem/fs_mount.cc", |
| 828 | "src/traced/probes/filesystem/inode_file_data_source.cc", |
| 829 | "src/traced/probes/filesystem/lru_inode_cache.cc", |
Florian Mayer | b21f4fb | 2018-03-22 15:24:56 +0000 | [diff] [blame] | 830 | "src/traced/probes/filesystem/prefix_finder.cc", |
| 831 | "src/traced/probes/filesystem/range_tree.cc", |
Isabelle Taylor | f3edbfa | 2019-03-26 11:07:19 +0000 | [diff] [blame] | 832 | "src/traced/probes/ftrace/atrace_hal_wrapper.cc", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 833 | "src/traced/probes/ftrace/atrace_wrapper.cc", |
| 834 | "src/traced/probes/ftrace/cpu_reader.cc", |
| 835 | "src/traced/probes/ftrace/cpu_stats_parser.cc", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 836 | "src/traced/probes/ftrace/event_info.cc", |
| 837 | "src/traced/probes/ftrace/event_info_constants.cc", |
| 838 | "src/traced/probes/ftrace/format_parser.cc", |
| 839 | "src/traced/probes/ftrace/ftrace_config.cc", |
| 840 | "src/traced/probes/ftrace/ftrace_config_muxer.cc", |
Primiano Tucci | 0f2f3b4 | 2019-05-21 19:37:01 +0100 | [diff] [blame] | 841 | "src/traced/probes/ftrace/ftrace_config_utils.cc", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 842 | "src/traced/probes/ftrace/ftrace_controller.cc", |
Primiano Tucci | fd8240d | 2018-08-01 09:34:54 +0100 | [diff] [blame] | 843 | "src/traced/probes/ftrace/ftrace_data_source.cc", |
Primiano Tucci | b6de48b | 2018-07-26 16:00:44 +0100 | [diff] [blame] | 844 | "src/traced/probes/ftrace/ftrace_metadata.cc", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 845 | "src/traced/probes/ftrace/ftrace_procfs.cc", |
| 846 | "src/traced/probes/ftrace/ftrace_procfs_integrationtest.cc", |
Primiano Tucci | fd8240d | 2018-08-01 09:34:54 +0100 | [diff] [blame] | 847 | "src/traced/probes/ftrace/ftrace_stats.cc", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 848 | "src/traced/probes/ftrace/proto_translation_table.cc", |
| 849 | "src/traced/probes/ftrace/test/cpu_reader_support.cc", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 850 | "src/traced/probes/metatrace/metatrace_data_source.cc", |
Florian Mayer | 12f0f8e | 2019-04-02 12:31:13 +0100 | [diff] [blame] | 851 | "src/traced/probes/packages_list/packages_list_data_source.cc", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 852 | "src/traced/probes/power/android_power_data_source.cc", |
Primiano Tucci | fd8240d | 2018-08-01 09:34:54 +0100 | [diff] [blame] | 853 | "src/traced/probes/probes_data_source.cc", |
Isabelle Taylor | d404ea1 | 2018-02-19 17:28:01 +0000 | [diff] [blame] | 854 | "src/traced/probes/probes_producer.cc", |
Primiano Tucci | b6de48b | 2018-07-26 16:00:44 +0100 | [diff] [blame] | 855 | "src/traced/probes/ps/process_stats_data_source.cc", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 856 | "src/traced/probes/sys_stats/sys_stats_data_source.cc", |
Primiano Tucci | 2c5488f | 2019-06-01 03:27:28 +0100 | [diff] [blame] | 857 | "src/tracing/api_integrationtest.cc", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 858 | "src/tracing/core/chrome_config.cc", |
Primiano Tucci | 79f3f91 | 2018-03-02 12:00:31 +0000 | [diff] [blame] | 859 | "src/tracing/core/commit_data_request.cc", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 860 | "src/tracing/core/data_source_config.cc", |
| 861 | "src/tracing/core/data_source_descriptor.cc", |
| 862 | "src/tracing/core/id_allocator.cc", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 863 | "src/tracing/core/metatrace_writer.cc", |
Hector Dearman | 9a5a0e9 | 2018-03-27 17:52:24 +0100 | [diff] [blame] | 864 | "src/tracing/core/null_trace_writer.cc", |
Eric Seckler | 7b0c945 | 2019-03-18 13:14:36 +0000 | [diff] [blame] | 865 | "src/tracing/core/observable_events.cc", |
Sami Kyostila | 32e0b54 | 2018-02-14 08:55:43 +0000 | [diff] [blame] | 866 | "src/tracing/core/packet_stream_validator.cc", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 867 | "src/tracing/core/shared_memory_abi.cc", |
| 868 | "src/tracing/core/shared_memory_arbiter_impl.cc", |
Primiano Tucci | 16d1d63 | 2018-02-22 10:16:22 +0000 | [diff] [blame] | 869 | "src/tracing/core/sliced_protobuf_input_stream.cc", |
Eric Seckler | c65693d | 2019-01-11 15:12:48 +0000 | [diff] [blame] | 870 | "src/tracing/core/startup_trace_writer.cc", |
Eric Seckler | 42777e5 | 2019-01-23 10:13:22 +0000 | [diff] [blame] | 871 | "src/tracing/core/startup_trace_writer_registry.cc", |
Lalit Maganti | 3f5705c | 2018-03-09 12:09:44 +0000 | [diff] [blame] | 872 | "src/tracing/core/test_config.cc", |
Primiano Tucci | 5c59901 | 2018-03-01 17:52:07 +0000 | [diff] [blame] | 873 | "src/tracing/core/trace_buffer.cc", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 874 | "src/tracing/core/trace_config.cc", |
| 875 | "src/tracing/core/trace_packet.cc", |
Eric Seckler | eaf29ed | 2019-01-23 09:53:55 +0000 | [diff] [blame] | 876 | "src/tracing/core/trace_stats.cc", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 877 | "src/tracing/core/trace_writer_impl.cc", |
Florian Mayer | 6a1a4d5 | 2018-06-08 16:47:07 +0100 | [diff] [blame] | 878 | "src/tracing/core/tracing_service_impl.cc", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 879 | "src/tracing/core/tracing_service_state.cc", |
Primiano Tucci | 3cbb10a | 2018-04-10 17:52:40 +0100 | [diff] [blame] | 880 | "src/tracing/core/virtual_destructors.cc", |
Primiano Tucci | 2c5488f | 2019-06-01 03:27:28 +0100 | [diff] [blame] | 881 | "src/tracing/data_source.cc", |
| 882 | "src/tracing/internal/in_process_tracing_backend.cc", |
| 883 | "src/tracing/internal/system_tracing_backend.cc", |
| 884 | "src/tracing/internal/tracing_muxer_impl.cc", |
| 885 | "src/tracing/platform.cc", |
| 886 | "src/tracing/platform_posix.cc", |
| 887 | "src/tracing/trace_writer_base.cc", |
| 888 | "src/tracing/tracing.cc", |
| 889 | "src/tracing/virtual_destructors.cc", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 890 | "test/end_to_end_integrationtest.cc", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 891 | "test/fake_producer.cc", |
Florian Mayer | c7255fd | 2018-01-25 10:29:24 +0000 | [diff] [blame] | 892 | "test/task_runner_thread.cc", |
Primiano Tucci | 008cdb9 | 2019-07-19 19:52:41 +0100 | [diff] [blame] | 893 | "test/task_runner_thread_delegates.cc", |
Lalit Maganti | c4c3ceb | 2018-03-29 20:38:13 +0100 | [diff] [blame] | 894 | "test/test_helper.cc", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 895 | ], |
| 896 | shared_libs: [ |
Florian Mayer | 4280249 | 2018-12-13 11:00:16 +0000 | [diff] [blame] | 897 | "libbase", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 898 | "liblog", |
Florian Mayer | 4280249 | 2018-12-13 11:00:16 +0000 | [diff] [blame] | 899 | "libprocinfo", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 900 | "libprotobuf-cpp-lite", |
Florian Mayer | 4280249 | 2018-12-13 11:00:16 +0000 | [diff] [blame] | 901 | "libunwindstack", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 902 | ], |
| 903 | static_libs: [ |
| 904 | "libgmock", |
Primiano Tucci | 658e2d6 | 2019-06-14 10:03:32 +0100 | [diff] [blame] | 905 | "libperfetto_client_experimental", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 906 | "perfetto_src_tracing_ipc", |
| 907 | ], |
| 908 | generated_headers: [ |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 909 | "perfetto_protos_perfetto_common_lite_gen_headers", |
| 910 | "perfetto_protos_perfetto_common_zero_gen_headers", |
| 911 | "perfetto_protos_perfetto_config_lite_gen_headers", |
| 912 | "perfetto_protos_perfetto_config_zero_gen_headers", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 913 | "perfetto_protos_perfetto_ipc_ipc_gen_headers", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 914 | "perfetto_protos_perfetto_trace_android_lite_gen_headers", |
| 915 | "perfetto_protos_perfetto_trace_android_zero_gen_headers", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 916 | "perfetto_protos_perfetto_trace_chrome_lite_gen_headers", |
| 917 | "perfetto_protos_perfetto_trace_chrome_zero_gen_headers", |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 918 | "perfetto_protos_perfetto_trace_filesystem_lite_gen_headers", |
| 919 | "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 920 | "perfetto_protos_perfetto_trace_ftrace_lite_gen_headers", |
| 921 | "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 922 | "perfetto_protos_perfetto_trace_gpu_lite_gen_headers", |
| 923 | "perfetto_protos_perfetto_trace_gpu_zero_gen_headers", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 924 | "perfetto_protos_perfetto_trace_interned_data_lite_gen_headers", |
| 925 | "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 926 | "perfetto_protos_perfetto_trace_lite_gen_headers", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 927 | "perfetto_protos_perfetto_trace_minimal_lite_gen_headers", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 928 | "perfetto_protos_perfetto_trace_perfetto_lite_gen_headers", |
| 929 | "perfetto_protos_perfetto_trace_perfetto_zero_gen_headers", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 930 | "perfetto_protos_perfetto_trace_power_lite_gen_headers", |
| 931 | "perfetto_protos_perfetto_trace_power_zero_gen_headers", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 932 | "perfetto_protos_perfetto_trace_profiling_lite_gen_headers", |
| 933 | "perfetto_protos_perfetto_trace_profiling_zero_gen_headers", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 934 | "perfetto_protos_perfetto_trace_ps_lite_gen_headers", |
| 935 | "perfetto_protos_perfetto_trace_ps_zero_gen_headers", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 936 | "perfetto_protos_perfetto_trace_sys_stats_lite_gen_headers", |
| 937 | "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 938 | "perfetto_protos_perfetto_trace_track_event_lite_gen_headers", |
| 939 | "perfetto_protos_perfetto_trace_track_event_zero_gen_headers", |
Oystein Eftevaag | 4d0f6c8 | 2018-04-30 14:19:59 -0700 | [diff] [blame] | 940 | "perfetto_protos_perfetto_trace_trusted_lite_gen_headers", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 941 | "perfetto_protos_perfetto_trace_zero_gen_headers", |
| 942 | "perfetto_src_ipc_wire_protocol_gen_headers", |
| 943 | ], |
| 944 | defaults: [ |
| 945 | "perfetto_defaults", |
| 946 | ], |
| 947 | cflags: [ |
| 948 | "-DGOOGLE_PROTOBUF_NO_RTTI", |
| 949 | "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
Lalit Maganti | 0b9a6ac | 2018-02-16 18:05:06 +0000 | [diff] [blame] | 950 | "-DPERFETTO_BUILD_WITH_ANDROID", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 951 | ], |
| 952 | } |
| 953 | |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 954 | // GN target: //protos/perfetto/common:lite_gen |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 955 | genrule { |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 956 | name: "perfetto_protos_perfetto_common_lite_gen", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 957 | srcs: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 958 | "protos/perfetto/common/android_log_constants.proto", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 959 | "protos/perfetto/common/commit_data_request.proto", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 960 | "protos/perfetto/common/data_source_descriptor.proto", |
Lalit Maganti | eb1bf21 | 2019-05-08 15:07:16 +0100 | [diff] [blame] | 961 | "protos/perfetto/common/descriptor.proto", |
Raymond Chiu | 303ed40 | 2019-06-20 12:50:04 -0700 | [diff] [blame] | 962 | "protos/perfetto/common/gpu_counter_descriptor.proto", |
Eric Seckler | 7b0c945 | 2019-03-18 13:14:36 +0000 | [diff] [blame] | 963 | "protos/perfetto/common/observable_events.proto", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 964 | "protos/perfetto/common/sys_stats_counters.proto", |
Eric Seckler | eaf29ed | 2019-01-23 09:53:55 +0000 | [diff] [blame] | 965 | "protos/perfetto/common/trace_stats.proto", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 966 | "protos/perfetto/common/tracing_service_state.proto", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 967 | ], |
| 968 | tools: [ |
| 969 | "aprotoc", |
| 970 | ], |
| 971 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 972 | out: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 973 | "external/perfetto/protos/perfetto/common/android_log_constants.pb.cc", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 974 | "external/perfetto/protos/perfetto/common/commit_data_request.pb.cc", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 975 | "external/perfetto/protos/perfetto/common/data_source_descriptor.pb.cc", |
Lalit Maganti | eb1bf21 | 2019-05-08 15:07:16 +0100 | [diff] [blame] | 976 | "external/perfetto/protos/perfetto/common/descriptor.pb.cc", |
Raymond Chiu | 303ed40 | 2019-06-20 12:50:04 -0700 | [diff] [blame] | 977 | "external/perfetto/protos/perfetto/common/gpu_counter_descriptor.pb.cc", |
Eric Seckler | 7b0c945 | 2019-03-18 13:14:36 +0000 | [diff] [blame] | 978 | "external/perfetto/protos/perfetto/common/observable_events.pb.cc", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 979 | "external/perfetto/protos/perfetto/common/sys_stats_counters.pb.cc", |
Eric Seckler | eaf29ed | 2019-01-23 09:53:55 +0000 | [diff] [blame] | 980 | "external/perfetto/protos/perfetto/common/trace_stats.pb.cc", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 981 | "external/perfetto/protos/perfetto/common/tracing_service_state.pb.cc", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 982 | ], |
| 983 | } |
| 984 | |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 985 | // GN target: //protos/perfetto/common:lite_gen |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 986 | genrule { |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 987 | name: "perfetto_protos_perfetto_common_lite_gen_headers", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 988 | srcs: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 989 | "protos/perfetto/common/android_log_constants.proto", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 990 | "protos/perfetto/common/commit_data_request.proto", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 991 | "protos/perfetto/common/data_source_descriptor.proto", |
Lalit Maganti | eb1bf21 | 2019-05-08 15:07:16 +0100 | [diff] [blame] | 992 | "protos/perfetto/common/descriptor.proto", |
Raymond Chiu | 303ed40 | 2019-06-20 12:50:04 -0700 | [diff] [blame] | 993 | "protos/perfetto/common/gpu_counter_descriptor.proto", |
Eric Seckler | 7b0c945 | 2019-03-18 13:14:36 +0000 | [diff] [blame] | 994 | "protos/perfetto/common/observable_events.proto", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 995 | "protos/perfetto/common/sys_stats_counters.proto", |
Eric Seckler | eaf29ed | 2019-01-23 09:53:55 +0000 | [diff] [blame] | 996 | "protos/perfetto/common/trace_stats.proto", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 997 | "protos/perfetto/common/tracing_service_state.proto", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 998 | ], |
| 999 | tools: [ |
| 1000 | "aprotoc", |
| 1001 | ], |
| 1002 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 1003 | out: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1004 | "external/perfetto/protos/perfetto/common/android_log_constants.pb.h", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 1005 | "external/perfetto/protos/perfetto/common/commit_data_request.pb.h", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 1006 | "external/perfetto/protos/perfetto/common/data_source_descriptor.pb.h", |
Lalit Maganti | eb1bf21 | 2019-05-08 15:07:16 +0100 | [diff] [blame] | 1007 | "external/perfetto/protos/perfetto/common/descriptor.pb.h", |
Raymond Chiu | 303ed40 | 2019-06-20 12:50:04 -0700 | [diff] [blame] | 1008 | "external/perfetto/protos/perfetto/common/gpu_counter_descriptor.pb.h", |
Eric Seckler | 7b0c945 | 2019-03-18 13:14:36 +0000 | [diff] [blame] | 1009 | "external/perfetto/protos/perfetto/common/observable_events.pb.h", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1010 | "external/perfetto/protos/perfetto/common/sys_stats_counters.pb.h", |
Eric Seckler | eaf29ed | 2019-01-23 09:53:55 +0000 | [diff] [blame] | 1011 | "external/perfetto/protos/perfetto/common/trace_stats.pb.h", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 1012 | "external/perfetto/protos/perfetto/common/tracing_service_state.pb.h", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 1013 | ], |
| 1014 | export_include_dirs: [ |
| 1015 | "protos", |
| 1016 | ], |
| 1017 | } |
| 1018 | |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1019 | // GN target: //protos/perfetto/common:zero_gen |
Sami Kyostila | 71625d7 | 2017-12-18 10:29:49 +0000 | [diff] [blame] | 1020 | genrule { |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1021 | name: "perfetto_protos_perfetto_common_zero_gen", |
| 1022 | srcs: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1023 | "protos/perfetto/common/android_log_constants.proto", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1024 | "protos/perfetto/common/commit_data_request.proto", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 1025 | "protos/perfetto/common/data_source_descriptor.proto", |
Lalit Maganti | eb1bf21 | 2019-05-08 15:07:16 +0100 | [diff] [blame] | 1026 | "protos/perfetto/common/descriptor.proto", |
Raymond Chiu | 303ed40 | 2019-06-20 12:50:04 -0700 | [diff] [blame] | 1027 | "protos/perfetto/common/gpu_counter_descriptor.proto", |
Eric Seckler | 7b0c945 | 2019-03-18 13:14:36 +0000 | [diff] [blame] | 1028 | "protos/perfetto/common/observable_events.proto", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1029 | "protos/perfetto/common/sys_stats_counters.proto", |
Eric Seckler | eaf29ed | 2019-01-23 09:53:55 +0000 | [diff] [blame] | 1030 | "protos/perfetto/common/trace_stats.proto", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 1031 | "protos/perfetto/common/tracing_service_state.proto", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1032 | ], |
| 1033 | tools: [ |
| 1034 | "aprotoc", |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 1035 | "perfetto_src_protozero_protoc_plugin_protozero_plugin___gn_standalone_toolchain_gcc_like_host_", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1036 | ], |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 1037 | 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_protozero_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1038 | out: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1039 | "external/perfetto/protos/perfetto/common/android_log_constants.pbzero.cc", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1040 | "external/perfetto/protos/perfetto/common/commit_data_request.pbzero.cc", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 1041 | "external/perfetto/protos/perfetto/common/data_source_descriptor.pbzero.cc", |
Lalit Maganti | eb1bf21 | 2019-05-08 15:07:16 +0100 | [diff] [blame] | 1042 | "external/perfetto/protos/perfetto/common/descriptor.pbzero.cc", |
Raymond Chiu | 303ed40 | 2019-06-20 12:50:04 -0700 | [diff] [blame] | 1043 | "external/perfetto/protos/perfetto/common/gpu_counter_descriptor.pbzero.cc", |
Eric Seckler | 7b0c945 | 2019-03-18 13:14:36 +0000 | [diff] [blame] | 1044 | "external/perfetto/protos/perfetto/common/observable_events.pbzero.cc", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1045 | "external/perfetto/protos/perfetto/common/sys_stats_counters.pbzero.cc", |
Eric Seckler | eaf29ed | 2019-01-23 09:53:55 +0000 | [diff] [blame] | 1046 | "external/perfetto/protos/perfetto/common/trace_stats.pbzero.cc", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 1047 | "external/perfetto/protos/perfetto/common/tracing_service_state.pbzero.cc", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1048 | ], |
| 1049 | } |
| 1050 | |
| 1051 | // GN target: //protos/perfetto/common:zero_gen |
| 1052 | genrule { |
| 1053 | name: "perfetto_protos_perfetto_common_zero_gen_headers", |
| 1054 | srcs: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1055 | "protos/perfetto/common/android_log_constants.proto", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1056 | "protos/perfetto/common/commit_data_request.proto", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 1057 | "protos/perfetto/common/data_source_descriptor.proto", |
Lalit Maganti | eb1bf21 | 2019-05-08 15:07:16 +0100 | [diff] [blame] | 1058 | "protos/perfetto/common/descriptor.proto", |
Raymond Chiu | 303ed40 | 2019-06-20 12:50:04 -0700 | [diff] [blame] | 1059 | "protos/perfetto/common/gpu_counter_descriptor.proto", |
Eric Seckler | 7b0c945 | 2019-03-18 13:14:36 +0000 | [diff] [blame] | 1060 | "protos/perfetto/common/observable_events.proto", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1061 | "protos/perfetto/common/sys_stats_counters.proto", |
Eric Seckler | eaf29ed | 2019-01-23 09:53:55 +0000 | [diff] [blame] | 1062 | "protos/perfetto/common/trace_stats.proto", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 1063 | "protos/perfetto/common/tracing_service_state.proto", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1064 | ], |
| 1065 | tools: [ |
| 1066 | "aprotoc", |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 1067 | "perfetto_src_protozero_protoc_plugin_protozero_plugin___gn_standalone_toolchain_gcc_like_host_", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1068 | ], |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 1069 | 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_protozero_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1070 | out: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1071 | "external/perfetto/protos/perfetto/common/android_log_constants.pbzero.h", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1072 | "external/perfetto/protos/perfetto/common/commit_data_request.pbzero.h", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 1073 | "external/perfetto/protos/perfetto/common/data_source_descriptor.pbzero.h", |
Lalit Maganti | eb1bf21 | 2019-05-08 15:07:16 +0100 | [diff] [blame] | 1074 | "external/perfetto/protos/perfetto/common/descriptor.pbzero.h", |
Raymond Chiu | 303ed40 | 2019-06-20 12:50:04 -0700 | [diff] [blame] | 1075 | "external/perfetto/protos/perfetto/common/gpu_counter_descriptor.pbzero.h", |
Eric Seckler | 7b0c945 | 2019-03-18 13:14:36 +0000 | [diff] [blame] | 1076 | "external/perfetto/protos/perfetto/common/observable_events.pbzero.h", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1077 | "external/perfetto/protos/perfetto/common/sys_stats_counters.pbzero.h", |
Eric Seckler | eaf29ed | 2019-01-23 09:53:55 +0000 | [diff] [blame] | 1078 | "external/perfetto/protos/perfetto/common/trace_stats.pbzero.h", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 1079 | "external/perfetto/protos/perfetto/common/tracing_service_state.pbzero.h", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1080 | ], |
| 1081 | export_include_dirs: [ |
| 1082 | "protos", |
| 1083 | ], |
| 1084 | } |
| 1085 | |
| 1086 | // GN target: //protos/perfetto/config:lite_gen |
| 1087 | genrule { |
| 1088 | name: "perfetto_protos_perfetto_config_lite_gen", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 1089 | srcs: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1090 | "protos/perfetto/config/android/android_log_config.proto", |
Ryan Savitski | fde4ae6 | 2019-06-14 16:02:52 +0100 | [diff] [blame] | 1091 | "protos/perfetto/config/android/packages_list_config.proto", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 1092 | "protos/perfetto/config/chrome/chrome_config.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1093 | "protos/perfetto/config/data_source_config.proto", |
Hector Dearman | a89cc57 | 2018-02-23 12:02:58 +0000 | [diff] [blame] | 1094 | "protos/perfetto/config/ftrace/ftrace_config.proto", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 1095 | "protos/perfetto/config/gpu/gpu_counter_config.proto", |
Primiano Tucci | dae3565 | 2018-03-29 18:32:02 +0100 | [diff] [blame] | 1096 | "protos/perfetto/config/inode_file/inode_file_config.proto", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 1097 | "protos/perfetto/config/power/android_power_config.proto", |
Hector Dearman | 1b9c58a | 2018-03-29 18:45:06 +0100 | [diff] [blame] | 1098 | "protos/perfetto/config/process_stats/process_stats_config.proto", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 1099 | "protos/perfetto/config/profiling/heapprofd_config.proto", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1100 | "protos/perfetto/config/sys_stats/sys_stats_config.proto", |
Lalit Maganti | 3f5705c | 2018-03-09 12:09:44 +0000 | [diff] [blame] | 1101 | "protos/perfetto/config/test_config.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1102 | "protos/perfetto/config/trace_config.proto", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 1103 | ], |
| 1104 | tools: [ |
| 1105 | "aprotoc", |
| 1106 | ], |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1107 | 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] | 1108 | out: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1109 | "external/perfetto/protos/perfetto/config/android/android_log_config.pb.cc", |
Ryan Savitski | fde4ae6 | 2019-06-14 16:02:52 +0100 | [diff] [blame] | 1110 | "external/perfetto/protos/perfetto/config/android/packages_list_config.pb.cc", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 1111 | "external/perfetto/protos/perfetto/config/chrome/chrome_config.pb.cc", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1112 | "external/perfetto/protos/perfetto/config/data_source_config.pb.cc", |
Hector Dearman | a89cc57 | 2018-02-23 12:02:58 +0000 | [diff] [blame] | 1113 | "external/perfetto/protos/perfetto/config/ftrace/ftrace_config.pb.cc", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 1114 | "external/perfetto/protos/perfetto/config/gpu/gpu_counter_config.pb.cc", |
Primiano Tucci | dae3565 | 2018-03-29 18:32:02 +0100 | [diff] [blame] | 1115 | "external/perfetto/protos/perfetto/config/inode_file/inode_file_config.pb.cc", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 1116 | "external/perfetto/protos/perfetto/config/power/android_power_config.pb.cc", |
Hector Dearman | 1b9c58a | 2018-03-29 18:45:06 +0100 | [diff] [blame] | 1117 | "external/perfetto/protos/perfetto/config/process_stats/process_stats_config.pb.cc", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 1118 | "external/perfetto/protos/perfetto/config/profiling/heapprofd_config.pb.cc", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1119 | "external/perfetto/protos/perfetto/config/sys_stats/sys_stats_config.pb.cc", |
Lalit Maganti | 3f5705c | 2018-03-09 12:09:44 +0000 | [diff] [blame] | 1120 | "external/perfetto/protos/perfetto/config/test_config.pb.cc", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1121 | "external/perfetto/protos/perfetto/config/trace_config.pb.cc", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 1122 | ], |
| 1123 | } |
| 1124 | |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1125 | // GN target: //protos/perfetto/config:lite_gen |
Primiano Tucci | d7b59c4 | 2017-12-19 01:43:07 +0100 | [diff] [blame] | 1126 | genrule { |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1127 | name: "perfetto_protos_perfetto_config_lite_gen_headers", |
Primiano Tucci | d7b59c4 | 2017-12-19 01:43:07 +0100 | [diff] [blame] | 1128 | srcs: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1129 | "protos/perfetto/config/android/android_log_config.proto", |
Ryan Savitski | fde4ae6 | 2019-06-14 16:02:52 +0100 | [diff] [blame] | 1130 | "protos/perfetto/config/android/packages_list_config.proto", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 1131 | "protos/perfetto/config/chrome/chrome_config.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1132 | "protos/perfetto/config/data_source_config.proto", |
Hector Dearman | a89cc57 | 2018-02-23 12:02:58 +0000 | [diff] [blame] | 1133 | "protos/perfetto/config/ftrace/ftrace_config.proto", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 1134 | "protos/perfetto/config/gpu/gpu_counter_config.proto", |
Primiano Tucci | dae3565 | 2018-03-29 18:32:02 +0100 | [diff] [blame] | 1135 | "protos/perfetto/config/inode_file/inode_file_config.proto", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 1136 | "protos/perfetto/config/power/android_power_config.proto", |
Hector Dearman | 1b9c58a | 2018-03-29 18:45:06 +0100 | [diff] [blame] | 1137 | "protos/perfetto/config/process_stats/process_stats_config.proto", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 1138 | "protos/perfetto/config/profiling/heapprofd_config.proto", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1139 | "protos/perfetto/config/sys_stats/sys_stats_config.proto", |
Lalit Maganti | 3f5705c | 2018-03-09 12:09:44 +0000 | [diff] [blame] | 1140 | "protos/perfetto/config/test_config.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1141 | "protos/perfetto/config/trace_config.proto", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 1142 | ], |
| 1143 | tools: [ |
| 1144 | "aprotoc", |
| 1145 | ], |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1146 | 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] | 1147 | out: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1148 | "external/perfetto/protos/perfetto/config/android/android_log_config.pb.h", |
Ryan Savitski | fde4ae6 | 2019-06-14 16:02:52 +0100 | [diff] [blame] | 1149 | "external/perfetto/protos/perfetto/config/android/packages_list_config.pb.h", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 1150 | "external/perfetto/protos/perfetto/config/chrome/chrome_config.pb.h", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1151 | "external/perfetto/protos/perfetto/config/data_source_config.pb.h", |
Hector Dearman | a89cc57 | 2018-02-23 12:02:58 +0000 | [diff] [blame] | 1152 | "external/perfetto/protos/perfetto/config/ftrace/ftrace_config.pb.h", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 1153 | "external/perfetto/protos/perfetto/config/gpu/gpu_counter_config.pb.h", |
Primiano Tucci | dae3565 | 2018-03-29 18:32:02 +0100 | [diff] [blame] | 1154 | "external/perfetto/protos/perfetto/config/inode_file/inode_file_config.pb.h", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 1155 | "external/perfetto/protos/perfetto/config/power/android_power_config.pb.h", |
Hector Dearman | 1b9c58a | 2018-03-29 18:45:06 +0100 | [diff] [blame] | 1156 | "external/perfetto/protos/perfetto/config/process_stats/process_stats_config.pb.h", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 1157 | "external/perfetto/protos/perfetto/config/profiling/heapprofd_config.pb.h", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1158 | "external/perfetto/protos/perfetto/config/sys_stats/sys_stats_config.pb.h", |
Lalit Maganti | 3f5705c | 2018-03-09 12:09:44 +0000 | [diff] [blame] | 1159 | "external/perfetto/protos/perfetto/config/test_config.pb.h", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1160 | "external/perfetto/protos/perfetto/config/trace_config.pb.h", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 1161 | ], |
| 1162 | export_include_dirs: [ |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1163 | "protos", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 1164 | ], |
| 1165 | } |
| 1166 | |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1167 | // GN target: //protos/perfetto/config:zero_gen |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 1168 | genrule { |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1169 | name: "perfetto_protos_perfetto_config_zero_gen", |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 1170 | srcs: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1171 | "protos/perfetto/config/android/android_log_config.proto", |
Ryan Savitski | fde4ae6 | 2019-06-14 16:02:52 +0100 | [diff] [blame] | 1172 | "protos/perfetto/config/android/packages_list_config.proto", |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 1173 | "protos/perfetto/config/chrome/chrome_config.proto", |
| 1174 | "protos/perfetto/config/data_source_config.proto", |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 1175 | "protos/perfetto/config/ftrace/ftrace_config.proto", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 1176 | "protos/perfetto/config/gpu/gpu_counter_config.proto", |
Primiano Tucci | dae3565 | 2018-03-29 18:32:02 +0100 | [diff] [blame] | 1177 | "protos/perfetto/config/inode_file/inode_file_config.proto", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 1178 | "protos/perfetto/config/power/android_power_config.proto", |
Hector Dearman | 1b9c58a | 2018-03-29 18:45:06 +0100 | [diff] [blame] | 1179 | "protos/perfetto/config/process_stats/process_stats_config.proto", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 1180 | "protos/perfetto/config/profiling/heapprofd_config.proto", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1181 | "protos/perfetto/config/sys_stats/sys_stats_config.proto", |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 1182 | "protos/perfetto/config/test_config.proto", |
| 1183 | "protos/perfetto/config/trace_config.proto", |
| 1184 | ], |
| 1185 | tools: [ |
| 1186 | "aprotoc", |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 1187 | "perfetto_src_protozero_protoc_plugin_protozero_plugin___gn_standalone_toolchain_gcc_like_host_", |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 1188 | ], |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 1189 | 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_protozero_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 1190 | out: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1191 | "external/perfetto/protos/perfetto/config/android/android_log_config.pbzero.cc", |
Ryan Savitski | fde4ae6 | 2019-06-14 16:02:52 +0100 | [diff] [blame] | 1192 | "external/perfetto/protos/perfetto/config/android/packages_list_config.pbzero.cc", |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 1193 | "external/perfetto/protos/perfetto/config/chrome/chrome_config.pbzero.cc", |
| 1194 | "external/perfetto/protos/perfetto/config/data_source_config.pbzero.cc", |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 1195 | "external/perfetto/protos/perfetto/config/ftrace/ftrace_config.pbzero.cc", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 1196 | "external/perfetto/protos/perfetto/config/gpu/gpu_counter_config.pbzero.cc", |
Primiano Tucci | dae3565 | 2018-03-29 18:32:02 +0100 | [diff] [blame] | 1197 | "external/perfetto/protos/perfetto/config/inode_file/inode_file_config.pbzero.cc", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 1198 | "external/perfetto/protos/perfetto/config/power/android_power_config.pbzero.cc", |
Hector Dearman | 1b9c58a | 2018-03-29 18:45:06 +0100 | [diff] [blame] | 1199 | "external/perfetto/protos/perfetto/config/process_stats/process_stats_config.pbzero.cc", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 1200 | "external/perfetto/protos/perfetto/config/profiling/heapprofd_config.pbzero.cc", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1201 | "external/perfetto/protos/perfetto/config/sys_stats/sys_stats_config.pbzero.cc", |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 1202 | "external/perfetto/protos/perfetto/config/test_config.pbzero.cc", |
| 1203 | "external/perfetto/protos/perfetto/config/trace_config.pbzero.cc", |
| 1204 | ], |
| 1205 | } |
| 1206 | |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1207 | // GN target: //protos/perfetto/config:zero_gen |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 1208 | genrule { |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1209 | name: "perfetto_protos_perfetto_config_zero_gen_headers", |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 1210 | srcs: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1211 | "protos/perfetto/config/android/android_log_config.proto", |
Ryan Savitski | fde4ae6 | 2019-06-14 16:02:52 +0100 | [diff] [blame] | 1212 | "protos/perfetto/config/android/packages_list_config.proto", |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 1213 | "protos/perfetto/config/chrome/chrome_config.proto", |
| 1214 | "protos/perfetto/config/data_source_config.proto", |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 1215 | "protos/perfetto/config/ftrace/ftrace_config.proto", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 1216 | "protos/perfetto/config/gpu/gpu_counter_config.proto", |
Primiano Tucci | dae3565 | 2018-03-29 18:32:02 +0100 | [diff] [blame] | 1217 | "protos/perfetto/config/inode_file/inode_file_config.proto", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 1218 | "protos/perfetto/config/power/android_power_config.proto", |
Hector Dearman | 1b9c58a | 2018-03-29 18:45:06 +0100 | [diff] [blame] | 1219 | "protos/perfetto/config/process_stats/process_stats_config.proto", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 1220 | "protos/perfetto/config/profiling/heapprofd_config.proto", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1221 | "protos/perfetto/config/sys_stats/sys_stats_config.proto", |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 1222 | "protos/perfetto/config/test_config.proto", |
| 1223 | "protos/perfetto/config/trace_config.proto", |
| 1224 | ], |
| 1225 | tools: [ |
| 1226 | "aprotoc", |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 1227 | "perfetto_src_protozero_protoc_plugin_protozero_plugin___gn_standalone_toolchain_gcc_like_host_", |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 1228 | ], |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 1229 | 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_protozero_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 1230 | out: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1231 | "external/perfetto/protos/perfetto/config/android/android_log_config.pbzero.h", |
Ryan Savitski | fde4ae6 | 2019-06-14 16:02:52 +0100 | [diff] [blame] | 1232 | "external/perfetto/protos/perfetto/config/android/packages_list_config.pbzero.h", |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 1233 | "external/perfetto/protos/perfetto/config/chrome/chrome_config.pbzero.h", |
| 1234 | "external/perfetto/protos/perfetto/config/data_source_config.pbzero.h", |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 1235 | "external/perfetto/protos/perfetto/config/ftrace/ftrace_config.pbzero.h", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 1236 | "external/perfetto/protos/perfetto/config/gpu/gpu_counter_config.pbzero.h", |
Primiano Tucci | dae3565 | 2018-03-29 18:32:02 +0100 | [diff] [blame] | 1237 | "external/perfetto/protos/perfetto/config/inode_file/inode_file_config.pbzero.h", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 1238 | "external/perfetto/protos/perfetto/config/power/android_power_config.pbzero.h", |
Hector Dearman | 1b9c58a | 2018-03-29 18:45:06 +0100 | [diff] [blame] | 1239 | "external/perfetto/protos/perfetto/config/process_stats/process_stats_config.pbzero.h", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 1240 | "external/perfetto/protos/perfetto/config/profiling/heapprofd_config.pbzero.h", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1241 | "external/perfetto/protos/perfetto/config/sys_stats/sys_stats_config.pbzero.h", |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 1242 | "external/perfetto/protos/perfetto/config/test_config.pbzero.h", |
| 1243 | "external/perfetto/protos/perfetto/config/trace_config.pbzero.h", |
| 1244 | ], |
| 1245 | export_include_dirs: [ |
| 1246 | "protos", |
| 1247 | ], |
| 1248 | } |
| 1249 | |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1250 | // GN target: //protos/perfetto/ipc:ipc_gen |
Sami Kyostila | 71625d7 | 2017-12-18 10:29:49 +0000 | [diff] [blame] | 1251 | genrule { |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1252 | name: "perfetto_protos_perfetto_ipc_ipc_gen", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 1253 | srcs: [ |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1254 | "protos/perfetto/ipc/consumer_port.proto", |
| 1255 | "protos/perfetto/ipc/producer_port.proto", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 1256 | ], |
| 1257 | tools: [ |
| 1258 | "aprotoc", |
| 1259 | "perfetto_src_ipc_protoc_plugin_ipc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 1260 | ], |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1261 | 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] | 1262 | out: [ |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1263 | "external/perfetto/protos/perfetto/ipc/consumer_port.ipc.cc", |
| 1264 | "external/perfetto/protos/perfetto/ipc/consumer_port.pb.cc", |
| 1265 | "external/perfetto/protos/perfetto/ipc/producer_port.ipc.cc", |
| 1266 | "external/perfetto/protos/perfetto/ipc/producer_port.pb.cc", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 1267 | ], |
| 1268 | } |
| 1269 | |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1270 | // GN target: //protos/perfetto/ipc:ipc_gen |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 1271 | genrule { |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1272 | name: "perfetto_protos_perfetto_ipc_ipc_gen_headers", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 1273 | srcs: [ |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1274 | "protos/perfetto/ipc/consumer_port.proto", |
| 1275 | "protos/perfetto/ipc/producer_port.proto", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 1276 | ], |
| 1277 | tools: [ |
| 1278 | "aprotoc", |
| 1279 | "perfetto_src_ipc_protoc_plugin_ipc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 1280 | ], |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1281 | 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] | 1282 | out: [ |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1283 | "external/perfetto/protos/perfetto/ipc/consumer_port.ipc.h", |
| 1284 | "external/perfetto/protos/perfetto/ipc/consumer_port.pb.h", |
| 1285 | "external/perfetto/protos/perfetto/ipc/producer_port.ipc.h", |
| 1286 | "external/perfetto/protos/perfetto/ipc/producer_port.pb.h", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 1287 | ], |
| 1288 | export_include_dirs: [ |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1289 | "protos", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 1290 | ], |
| 1291 | } |
| 1292 | |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 1293 | // GN target: //protos/perfetto/metrics/android:zero_gen |
| 1294 | genrule { |
| 1295 | name: "perfetto_protos_perfetto_metrics_android_zero_gen", |
| 1296 | srcs: [ |
Silvia Vinyes | b39c77f | 2019-06-04 10:46:12 +0100 | [diff] [blame] | 1297 | "protos/perfetto/metrics/android/batt_metric.proto", |
Silvia Vinyes | 2e6a731 | 2019-06-04 11:15:59 +0100 | [diff] [blame] | 1298 | "protos/perfetto/metrics/android/cpu_metric.proto", |
Ioannis Ilkos | 05e211f | 2019-05-28 15:21:00 +0100 | [diff] [blame] | 1299 | "protos/perfetto/metrics/android/heap_profile.proto", |
Ioannis Ilkos | db8b1cb | 2019-06-25 17:05:32 +0100 | [diff] [blame] | 1300 | "protos/perfetto/metrics/android/ion_metric.proto", |
Ioannis Ilkos | 3e5b915 | 2019-06-17 19:09:58 +0100 | [diff] [blame] | 1301 | "protos/perfetto/metrics/android/lmk_metric.proto", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 1302 | "protos/perfetto/metrics/android/mem_metric.proto", |
Lalit Maganti | a316d6e | 2019-07-09 19:01:01 +0100 | [diff] [blame] | 1303 | "protos/perfetto/metrics/android/mem_unagg_metric.proto", |
Ioannis Ilkos | f1835e3 | 2019-07-11 14:11:48 +0100 | [diff] [blame] | 1304 | "protos/perfetto/metrics/android/package_list.proto", |
Ioannis Ilkos | 3e5b915 | 2019-06-17 19:09:58 +0100 | [diff] [blame] | 1305 | "protos/perfetto/metrics/android/powrails_metric.proto", |
Ioannis Ilkos | 96bec01 | 2019-06-27 15:21:57 +0100 | [diff] [blame] | 1306 | "protos/perfetto/metrics/android/process_growth.proto", |
Ioannis Ilkos | 20d5e8b | 2019-05-16 15:43:26 +0100 | [diff] [blame] | 1307 | "protos/perfetto/metrics/android/startup_metric.proto", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 1308 | ], |
| 1309 | tools: [ |
| 1310 | "aprotoc", |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 1311 | "perfetto_src_protozero_protoc_plugin_protozero_plugin___gn_standalone_toolchain_gcc_like_host_", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 1312 | ], |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 1313 | 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_protozero_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 1314 | out: [ |
Silvia Vinyes | b39c77f | 2019-06-04 10:46:12 +0100 | [diff] [blame] | 1315 | "external/perfetto/protos/perfetto/metrics/android/batt_metric.pbzero.cc", |
Silvia Vinyes | 2e6a731 | 2019-06-04 11:15:59 +0100 | [diff] [blame] | 1316 | "external/perfetto/protos/perfetto/metrics/android/cpu_metric.pbzero.cc", |
Ioannis Ilkos | 05e211f | 2019-05-28 15:21:00 +0100 | [diff] [blame] | 1317 | "external/perfetto/protos/perfetto/metrics/android/heap_profile.pbzero.cc", |
Ioannis Ilkos | db8b1cb | 2019-06-25 17:05:32 +0100 | [diff] [blame] | 1318 | "external/perfetto/protos/perfetto/metrics/android/ion_metric.pbzero.cc", |
Ioannis Ilkos | 3e5b915 | 2019-06-17 19:09:58 +0100 | [diff] [blame] | 1319 | "external/perfetto/protos/perfetto/metrics/android/lmk_metric.pbzero.cc", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 1320 | "external/perfetto/protos/perfetto/metrics/android/mem_metric.pbzero.cc", |
Lalit Maganti | a316d6e | 2019-07-09 19:01:01 +0100 | [diff] [blame] | 1321 | "external/perfetto/protos/perfetto/metrics/android/mem_unagg_metric.pbzero.cc", |
Ioannis Ilkos | f1835e3 | 2019-07-11 14:11:48 +0100 | [diff] [blame] | 1322 | "external/perfetto/protos/perfetto/metrics/android/package_list.pbzero.cc", |
Ioannis Ilkos | 3e5b915 | 2019-06-17 19:09:58 +0100 | [diff] [blame] | 1323 | "external/perfetto/protos/perfetto/metrics/android/powrails_metric.pbzero.cc", |
Ioannis Ilkos | 96bec01 | 2019-06-27 15:21:57 +0100 | [diff] [blame] | 1324 | "external/perfetto/protos/perfetto/metrics/android/process_growth.pbzero.cc", |
Ioannis Ilkos | 20d5e8b | 2019-05-16 15:43:26 +0100 | [diff] [blame] | 1325 | "external/perfetto/protos/perfetto/metrics/android/startup_metric.pbzero.cc", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 1326 | ], |
| 1327 | } |
| 1328 | |
| 1329 | // GN target: //protos/perfetto/metrics/android:zero_gen |
| 1330 | genrule { |
| 1331 | name: "perfetto_protos_perfetto_metrics_android_zero_gen_headers", |
| 1332 | srcs: [ |
Silvia Vinyes | b39c77f | 2019-06-04 10:46:12 +0100 | [diff] [blame] | 1333 | "protos/perfetto/metrics/android/batt_metric.proto", |
Silvia Vinyes | 2e6a731 | 2019-06-04 11:15:59 +0100 | [diff] [blame] | 1334 | "protos/perfetto/metrics/android/cpu_metric.proto", |
Ioannis Ilkos | 05e211f | 2019-05-28 15:21:00 +0100 | [diff] [blame] | 1335 | "protos/perfetto/metrics/android/heap_profile.proto", |
Ioannis Ilkos | db8b1cb | 2019-06-25 17:05:32 +0100 | [diff] [blame] | 1336 | "protos/perfetto/metrics/android/ion_metric.proto", |
Ioannis Ilkos | 3e5b915 | 2019-06-17 19:09:58 +0100 | [diff] [blame] | 1337 | "protos/perfetto/metrics/android/lmk_metric.proto", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 1338 | "protos/perfetto/metrics/android/mem_metric.proto", |
Lalit Maganti | a316d6e | 2019-07-09 19:01:01 +0100 | [diff] [blame] | 1339 | "protos/perfetto/metrics/android/mem_unagg_metric.proto", |
Ioannis Ilkos | f1835e3 | 2019-07-11 14:11:48 +0100 | [diff] [blame] | 1340 | "protos/perfetto/metrics/android/package_list.proto", |
Ioannis Ilkos | 3e5b915 | 2019-06-17 19:09:58 +0100 | [diff] [blame] | 1341 | "protos/perfetto/metrics/android/powrails_metric.proto", |
Ioannis Ilkos | 96bec01 | 2019-06-27 15:21:57 +0100 | [diff] [blame] | 1342 | "protos/perfetto/metrics/android/process_growth.proto", |
Ioannis Ilkos | 20d5e8b | 2019-05-16 15:43:26 +0100 | [diff] [blame] | 1343 | "protos/perfetto/metrics/android/startup_metric.proto", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 1344 | ], |
| 1345 | tools: [ |
| 1346 | "aprotoc", |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 1347 | "perfetto_src_protozero_protoc_plugin_protozero_plugin___gn_standalone_toolchain_gcc_like_host_", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 1348 | ], |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 1349 | 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_protozero_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 1350 | out: [ |
Silvia Vinyes | b39c77f | 2019-06-04 10:46:12 +0100 | [diff] [blame] | 1351 | "external/perfetto/protos/perfetto/metrics/android/batt_metric.pbzero.h", |
Silvia Vinyes | 2e6a731 | 2019-06-04 11:15:59 +0100 | [diff] [blame] | 1352 | "external/perfetto/protos/perfetto/metrics/android/cpu_metric.pbzero.h", |
Ioannis Ilkos | 05e211f | 2019-05-28 15:21:00 +0100 | [diff] [blame] | 1353 | "external/perfetto/protos/perfetto/metrics/android/heap_profile.pbzero.h", |
Ioannis Ilkos | db8b1cb | 2019-06-25 17:05:32 +0100 | [diff] [blame] | 1354 | "external/perfetto/protos/perfetto/metrics/android/ion_metric.pbzero.h", |
Ioannis Ilkos | 3e5b915 | 2019-06-17 19:09:58 +0100 | [diff] [blame] | 1355 | "external/perfetto/protos/perfetto/metrics/android/lmk_metric.pbzero.h", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 1356 | "external/perfetto/protos/perfetto/metrics/android/mem_metric.pbzero.h", |
Lalit Maganti | a316d6e | 2019-07-09 19:01:01 +0100 | [diff] [blame] | 1357 | "external/perfetto/protos/perfetto/metrics/android/mem_unagg_metric.pbzero.h", |
Ioannis Ilkos | f1835e3 | 2019-07-11 14:11:48 +0100 | [diff] [blame] | 1358 | "external/perfetto/protos/perfetto/metrics/android/package_list.pbzero.h", |
Ioannis Ilkos | 3e5b915 | 2019-06-17 19:09:58 +0100 | [diff] [blame] | 1359 | "external/perfetto/protos/perfetto/metrics/android/powrails_metric.pbzero.h", |
Ioannis Ilkos | 96bec01 | 2019-06-27 15:21:57 +0100 | [diff] [blame] | 1360 | "external/perfetto/protos/perfetto/metrics/android/process_growth.pbzero.h", |
Ioannis Ilkos | 20d5e8b | 2019-05-16 15:43:26 +0100 | [diff] [blame] | 1361 | "external/perfetto/protos/perfetto/metrics/android/startup_metric.pbzero.h", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 1362 | ], |
| 1363 | export_include_dirs: [ |
| 1364 | "protos", |
| 1365 | ], |
| 1366 | } |
| 1367 | |
| 1368 | // GN target: //protos/perfetto/metrics:zero_gen |
| 1369 | genrule { |
| 1370 | name: "perfetto_protos_perfetto_metrics_zero_gen", |
| 1371 | srcs: [ |
| 1372 | "protos/perfetto/metrics/metrics.proto", |
| 1373 | ], |
| 1374 | tools: [ |
| 1375 | "aprotoc", |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 1376 | "perfetto_src_protozero_protoc_plugin_protozero_plugin___gn_standalone_toolchain_gcc_like_host_", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 1377 | ], |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 1378 | 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_protozero_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 1379 | out: [ |
| 1380 | "external/perfetto/protos/perfetto/metrics/metrics.pbzero.cc", |
| 1381 | ], |
| 1382 | } |
| 1383 | |
| 1384 | // GN target: //protos/perfetto/metrics:zero_gen |
| 1385 | genrule { |
| 1386 | name: "perfetto_protos_perfetto_metrics_zero_gen_headers", |
| 1387 | srcs: [ |
| 1388 | "protos/perfetto/metrics/metrics.proto", |
| 1389 | ], |
| 1390 | tools: [ |
| 1391 | "aprotoc", |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 1392 | "perfetto_src_protozero_protoc_plugin_protozero_plugin___gn_standalone_toolchain_gcc_like_host_", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 1393 | ], |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 1394 | 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_protozero_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 1395 | out: [ |
| 1396 | "external/perfetto/protos/perfetto/metrics/metrics.pbzero.h", |
| 1397 | ], |
| 1398 | export_include_dirs: [ |
| 1399 | "protos", |
| 1400 | ], |
| 1401 | } |
| 1402 | |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1403 | // GN target: //protos/perfetto/trace/android:lite_gen |
| 1404 | genrule { |
| 1405 | name: "perfetto_protos_perfetto_trace_android_lite_gen", |
| 1406 | srcs: [ |
| 1407 | "protos/perfetto/trace/android/android_log.proto", |
Florian Mayer | 12f0f8e | 2019-04-02 12:31:13 +0100 | [diff] [blame] | 1408 | "protos/perfetto/trace/android/packages_list.proto", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1409 | ], |
| 1410 | tools: [ |
| 1411 | "aprotoc", |
| 1412 | ], |
| 1413 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 1414 | out: [ |
| 1415 | "external/perfetto/protos/perfetto/trace/android/android_log.pb.cc", |
Florian Mayer | 12f0f8e | 2019-04-02 12:31:13 +0100 | [diff] [blame] | 1416 | "external/perfetto/protos/perfetto/trace/android/packages_list.pb.cc", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1417 | ], |
| 1418 | } |
| 1419 | |
| 1420 | // GN target: //protos/perfetto/trace/android:lite_gen |
| 1421 | genrule { |
| 1422 | name: "perfetto_protos_perfetto_trace_android_lite_gen_headers", |
| 1423 | srcs: [ |
| 1424 | "protos/perfetto/trace/android/android_log.proto", |
Florian Mayer | 12f0f8e | 2019-04-02 12:31:13 +0100 | [diff] [blame] | 1425 | "protos/perfetto/trace/android/packages_list.proto", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1426 | ], |
| 1427 | tools: [ |
| 1428 | "aprotoc", |
| 1429 | ], |
| 1430 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 1431 | out: [ |
| 1432 | "external/perfetto/protos/perfetto/trace/android/android_log.pb.h", |
Florian Mayer | 12f0f8e | 2019-04-02 12:31:13 +0100 | [diff] [blame] | 1433 | "external/perfetto/protos/perfetto/trace/android/packages_list.pb.h", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1434 | ], |
| 1435 | export_include_dirs: [ |
| 1436 | "protos", |
| 1437 | ], |
| 1438 | } |
| 1439 | |
| 1440 | // GN target: //protos/perfetto/trace/android:zero_gen |
| 1441 | genrule { |
| 1442 | name: "perfetto_protos_perfetto_trace_android_zero_gen", |
| 1443 | srcs: [ |
| 1444 | "protos/perfetto/trace/android/android_log.proto", |
Florian Mayer | 12f0f8e | 2019-04-02 12:31:13 +0100 | [diff] [blame] | 1445 | "protos/perfetto/trace/android/packages_list.proto", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1446 | ], |
| 1447 | tools: [ |
| 1448 | "aprotoc", |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 1449 | "perfetto_src_protozero_protoc_plugin_protozero_plugin___gn_standalone_toolchain_gcc_like_host_", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1450 | ], |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 1451 | 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_protozero_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1452 | out: [ |
| 1453 | "external/perfetto/protos/perfetto/trace/android/android_log.pbzero.cc", |
Florian Mayer | 12f0f8e | 2019-04-02 12:31:13 +0100 | [diff] [blame] | 1454 | "external/perfetto/protos/perfetto/trace/android/packages_list.pbzero.cc", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1455 | ], |
| 1456 | } |
| 1457 | |
| 1458 | // GN target: //protos/perfetto/trace/android:zero_gen |
| 1459 | genrule { |
| 1460 | name: "perfetto_protos_perfetto_trace_android_zero_gen_headers", |
| 1461 | srcs: [ |
| 1462 | "protos/perfetto/trace/android/android_log.proto", |
Florian Mayer | 12f0f8e | 2019-04-02 12:31:13 +0100 | [diff] [blame] | 1463 | "protos/perfetto/trace/android/packages_list.proto", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1464 | ], |
| 1465 | tools: [ |
| 1466 | "aprotoc", |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 1467 | "perfetto_src_protozero_protoc_plugin_protozero_plugin___gn_standalone_toolchain_gcc_like_host_", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1468 | ], |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 1469 | 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_protozero_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1470 | out: [ |
| 1471 | "external/perfetto/protos/perfetto/trace/android/android_log.pbzero.h", |
Florian Mayer | 12f0f8e | 2019-04-02 12:31:13 +0100 | [diff] [blame] | 1472 | "external/perfetto/protos/perfetto/trace/android/packages_list.pbzero.h", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1473 | ], |
| 1474 | export_include_dirs: [ |
| 1475 | "protos", |
| 1476 | ], |
| 1477 | } |
| 1478 | |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 1479 | // GN target: //protos/perfetto/trace/chrome:lite_gen |
| 1480 | genrule { |
| 1481 | name: "perfetto_protos_perfetto_trace_chrome_lite_gen", |
| 1482 | srcs: [ |
Mikhail Khokhlov | 5b60af5 | 2019-05-15 10:09:34 +0100 | [diff] [blame] | 1483 | "protos/perfetto/trace/chrome/chrome_benchmark_metadata.proto", |
Siddhartha S | 1239fb3 | 2019-06-06 11:17:13 -0700 | [diff] [blame] | 1484 | "protos/perfetto/trace/chrome/chrome_metadata.proto", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 1485 | "protos/perfetto/trace/chrome/chrome_trace_event.proto", |
| 1486 | ], |
| 1487 | tools: [ |
| 1488 | "aprotoc", |
| 1489 | ], |
| 1490 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 1491 | out: [ |
Mikhail Khokhlov | 5b60af5 | 2019-05-15 10:09:34 +0100 | [diff] [blame] | 1492 | "external/perfetto/protos/perfetto/trace/chrome/chrome_benchmark_metadata.pb.cc", |
Siddhartha S | 1239fb3 | 2019-06-06 11:17:13 -0700 | [diff] [blame] | 1493 | "external/perfetto/protos/perfetto/trace/chrome/chrome_metadata.pb.cc", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 1494 | "external/perfetto/protos/perfetto/trace/chrome/chrome_trace_event.pb.cc", |
| 1495 | ], |
| 1496 | } |
| 1497 | |
| 1498 | // GN target: //protos/perfetto/trace/chrome:lite_gen |
| 1499 | genrule { |
| 1500 | name: "perfetto_protos_perfetto_trace_chrome_lite_gen_headers", |
| 1501 | srcs: [ |
Mikhail Khokhlov | 5b60af5 | 2019-05-15 10:09:34 +0100 | [diff] [blame] | 1502 | "protos/perfetto/trace/chrome/chrome_benchmark_metadata.proto", |
Siddhartha S | 1239fb3 | 2019-06-06 11:17:13 -0700 | [diff] [blame] | 1503 | "protos/perfetto/trace/chrome/chrome_metadata.proto", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 1504 | "protos/perfetto/trace/chrome/chrome_trace_event.proto", |
| 1505 | ], |
| 1506 | tools: [ |
| 1507 | "aprotoc", |
| 1508 | ], |
| 1509 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 1510 | out: [ |
Mikhail Khokhlov | 5b60af5 | 2019-05-15 10:09:34 +0100 | [diff] [blame] | 1511 | "external/perfetto/protos/perfetto/trace/chrome/chrome_benchmark_metadata.pb.h", |
Siddhartha S | 1239fb3 | 2019-06-06 11:17:13 -0700 | [diff] [blame] | 1512 | "external/perfetto/protos/perfetto/trace/chrome/chrome_metadata.pb.h", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 1513 | "external/perfetto/protos/perfetto/trace/chrome/chrome_trace_event.pb.h", |
| 1514 | ], |
| 1515 | export_include_dirs: [ |
| 1516 | "protos", |
| 1517 | ], |
| 1518 | } |
| 1519 | |
| 1520 | // GN target: //protos/perfetto/trace/chrome:zero_gen |
| 1521 | genrule { |
| 1522 | name: "perfetto_protos_perfetto_trace_chrome_zero_gen", |
| 1523 | srcs: [ |
Mikhail Khokhlov | 5b60af5 | 2019-05-15 10:09:34 +0100 | [diff] [blame] | 1524 | "protos/perfetto/trace/chrome/chrome_benchmark_metadata.proto", |
Siddhartha S | 1239fb3 | 2019-06-06 11:17:13 -0700 | [diff] [blame] | 1525 | "protos/perfetto/trace/chrome/chrome_metadata.proto", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 1526 | "protos/perfetto/trace/chrome/chrome_trace_event.proto", |
| 1527 | ], |
| 1528 | tools: [ |
| 1529 | "aprotoc", |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 1530 | "perfetto_src_protozero_protoc_plugin_protozero_plugin___gn_standalone_toolchain_gcc_like_host_", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 1531 | ], |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 1532 | 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_protozero_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 1533 | out: [ |
Mikhail Khokhlov | 5b60af5 | 2019-05-15 10:09:34 +0100 | [diff] [blame] | 1534 | "external/perfetto/protos/perfetto/trace/chrome/chrome_benchmark_metadata.pbzero.cc", |
Siddhartha S | 1239fb3 | 2019-06-06 11:17:13 -0700 | [diff] [blame] | 1535 | "external/perfetto/protos/perfetto/trace/chrome/chrome_metadata.pbzero.cc", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 1536 | "external/perfetto/protos/perfetto/trace/chrome/chrome_trace_event.pbzero.cc", |
| 1537 | ], |
| 1538 | } |
| 1539 | |
| 1540 | // GN target: //protos/perfetto/trace/chrome:zero_gen |
| 1541 | genrule { |
| 1542 | name: "perfetto_protos_perfetto_trace_chrome_zero_gen_headers", |
| 1543 | srcs: [ |
Mikhail Khokhlov | 5b60af5 | 2019-05-15 10:09:34 +0100 | [diff] [blame] | 1544 | "protos/perfetto/trace/chrome/chrome_benchmark_metadata.proto", |
Siddhartha S | 1239fb3 | 2019-06-06 11:17:13 -0700 | [diff] [blame] | 1545 | "protos/perfetto/trace/chrome/chrome_metadata.proto", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 1546 | "protos/perfetto/trace/chrome/chrome_trace_event.proto", |
| 1547 | ], |
| 1548 | tools: [ |
| 1549 | "aprotoc", |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 1550 | "perfetto_src_protozero_protoc_plugin_protozero_plugin___gn_standalone_toolchain_gcc_like_host_", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 1551 | ], |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 1552 | 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_protozero_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 1553 | out: [ |
Mikhail Khokhlov | 5b60af5 | 2019-05-15 10:09:34 +0100 | [diff] [blame] | 1554 | "external/perfetto/protos/perfetto/trace/chrome/chrome_benchmark_metadata.pbzero.h", |
Siddhartha S | 1239fb3 | 2019-06-06 11:17:13 -0700 | [diff] [blame] | 1555 | "external/perfetto/protos/perfetto/trace/chrome/chrome_metadata.pbzero.h", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 1556 | "external/perfetto/protos/perfetto/trace/chrome/chrome_trace_event.pbzero.h", |
| 1557 | ], |
| 1558 | export_include_dirs: [ |
| 1559 | "protos", |
| 1560 | ], |
| 1561 | } |
| 1562 | |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 1563 | // GN target: //protos/perfetto/trace/filesystem:lite_gen |
| 1564 | genrule { |
| 1565 | name: "perfetto_protos_perfetto_trace_filesystem_lite_gen", |
| 1566 | srcs: [ |
| 1567 | "protos/perfetto/trace/filesystem/inode_file_map.proto", |
| 1568 | ], |
| 1569 | tools: [ |
| 1570 | "aprotoc", |
| 1571 | ], |
| 1572 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 1573 | out: [ |
| 1574 | "external/perfetto/protos/perfetto/trace/filesystem/inode_file_map.pb.cc", |
| 1575 | ], |
| 1576 | } |
| 1577 | |
| 1578 | // GN target: //protos/perfetto/trace/filesystem:lite_gen |
| 1579 | genrule { |
| 1580 | name: "perfetto_protos_perfetto_trace_filesystem_lite_gen_headers", |
| 1581 | srcs: [ |
| 1582 | "protos/perfetto/trace/filesystem/inode_file_map.proto", |
| 1583 | ], |
| 1584 | tools: [ |
| 1585 | "aprotoc", |
| 1586 | ], |
| 1587 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 1588 | out: [ |
| 1589 | "external/perfetto/protos/perfetto/trace/filesystem/inode_file_map.pb.h", |
| 1590 | ], |
| 1591 | export_include_dirs: [ |
| 1592 | "protos", |
| 1593 | ], |
| 1594 | } |
| 1595 | |
| 1596 | // GN target: //protos/perfetto/trace/filesystem:zero_gen |
| 1597 | genrule { |
| 1598 | name: "perfetto_protos_perfetto_trace_filesystem_zero_gen", |
| 1599 | srcs: [ |
| 1600 | "protos/perfetto/trace/filesystem/inode_file_map.proto", |
| 1601 | ], |
| 1602 | tools: [ |
| 1603 | "aprotoc", |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 1604 | "perfetto_src_protozero_protoc_plugin_protozero_plugin___gn_standalone_toolchain_gcc_like_host_", |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 1605 | ], |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 1606 | 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_protozero_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 1607 | out: [ |
| 1608 | "external/perfetto/protos/perfetto/trace/filesystem/inode_file_map.pbzero.cc", |
| 1609 | ], |
| 1610 | } |
| 1611 | |
| 1612 | // GN target: //protos/perfetto/trace/filesystem:zero_gen |
| 1613 | genrule { |
| 1614 | name: "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers", |
| 1615 | srcs: [ |
| 1616 | "protos/perfetto/trace/filesystem/inode_file_map.proto", |
| 1617 | ], |
| 1618 | tools: [ |
| 1619 | "aprotoc", |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 1620 | "perfetto_src_protozero_protoc_plugin_protozero_plugin___gn_standalone_toolchain_gcc_like_host_", |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 1621 | ], |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 1622 | 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_protozero_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 1623 | out: [ |
| 1624 | "external/perfetto/protos/perfetto/trace/filesystem/inode_file_map.pbzero.h", |
| 1625 | ], |
| 1626 | export_include_dirs: [ |
| 1627 | "protos", |
| 1628 | ], |
| 1629 | } |
| 1630 | |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1631 | // GN target: //protos/perfetto/trace/ftrace:lite_gen |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 1632 | genrule { |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1633 | name: "perfetto_protos_perfetto_trace_ftrace_lite_gen", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 1634 | srcs: [ |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1635 | "protos/perfetto/trace/ftrace/binder.proto", |
| 1636 | "protos/perfetto/trace/ftrace/block.proto", |
| 1637 | "protos/perfetto/trace/ftrace/cgroup.proto", |
| 1638 | "protos/perfetto/trace/ftrace/clk.proto", |
| 1639 | "protos/perfetto/trace/ftrace/compaction.proto", |
| 1640 | "protos/perfetto/trace/ftrace/ext4.proto", |
| 1641 | "protos/perfetto/trace/ftrace/f2fs.proto", |
| 1642 | "protos/perfetto/trace/ftrace/fence.proto", |
| 1643 | "protos/perfetto/trace/ftrace/filemap.proto", |
| 1644 | "protos/perfetto/trace/ftrace/ftrace.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1645 | "protos/perfetto/trace/ftrace/ftrace_event.proto", |
| 1646 | "protos/perfetto/trace/ftrace/ftrace_event_bundle.proto", |
Hector Dearman | 3afb1e0 | 2018-04-27 16:46:52 +0100 | [diff] [blame] | 1647 | "protos/perfetto/trace/ftrace/ftrace_stats.proto", |
Isabelle Taylor | 98e560d | 2018-11-22 11:59:12 +0000 | [diff] [blame] | 1648 | "protos/perfetto/trace/ftrace/generic.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1649 | "protos/perfetto/trace/ftrace/i2c.proto", |
| 1650 | "protos/perfetto/trace/ftrace/ipi.proto", |
| 1651 | "protos/perfetto/trace/ftrace/irq.proto", |
| 1652 | "protos/perfetto/trace/ftrace/kmem.proto", |
| 1653 | "protos/perfetto/trace/ftrace/lowmemorykiller.proto", |
| 1654 | "protos/perfetto/trace/ftrace/mdss.proto", |
Lalit Maganti | 3bd67ef | 2019-01-18 17:44:09 +0000 | [diff] [blame] | 1655 | "protos/perfetto/trace/ftrace/mm_event.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1656 | "protos/perfetto/trace/ftrace/oom.proto", |
| 1657 | "protos/perfetto/trace/ftrace/power.proto", |
Lalit Maganti | a73a725 | 2019-01-25 10:32:40 +0000 | [diff] [blame] | 1658 | "protos/perfetto/trace/ftrace/raw_syscalls.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1659 | "protos/perfetto/trace/ftrace/regulator.proto", |
| 1660 | "protos/perfetto/trace/ftrace/sched.proto", |
| 1661 | "protos/perfetto/trace/ftrace/signal.proto", |
| 1662 | "protos/perfetto/trace/ftrace/sync.proto", |
Hector Dearman | bfc2411 | 2019-06-04 19:35:51 +0100 | [diff] [blame] | 1663 | "protos/perfetto/trace/ftrace/systrace.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1664 | "protos/perfetto/trace/ftrace/task.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1665 | "protos/perfetto/trace/ftrace/test_bundle_wrapper.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1666 | "protos/perfetto/trace/ftrace/vmscan.proto", |
| 1667 | "protos/perfetto/trace/ftrace/workqueue.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1668 | ], |
| 1669 | tools: [ |
| 1670 | "aprotoc", |
| 1671 | ], |
| 1672 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 1673 | out: [ |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1674 | "external/perfetto/protos/perfetto/trace/ftrace/binder.pb.cc", |
| 1675 | "external/perfetto/protos/perfetto/trace/ftrace/block.pb.cc", |
| 1676 | "external/perfetto/protos/perfetto/trace/ftrace/cgroup.pb.cc", |
| 1677 | "external/perfetto/protos/perfetto/trace/ftrace/clk.pb.cc", |
| 1678 | "external/perfetto/protos/perfetto/trace/ftrace/compaction.pb.cc", |
| 1679 | "external/perfetto/protos/perfetto/trace/ftrace/ext4.pb.cc", |
| 1680 | "external/perfetto/protos/perfetto/trace/ftrace/f2fs.pb.cc", |
| 1681 | "external/perfetto/protos/perfetto/trace/ftrace/fence.pb.cc", |
| 1682 | "external/perfetto/protos/perfetto/trace/ftrace/filemap.pb.cc", |
| 1683 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace.pb.cc", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1684 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace_event.pb.cc", |
| 1685 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace_event_bundle.pb.cc", |
Hector Dearman | 3afb1e0 | 2018-04-27 16:46:52 +0100 | [diff] [blame] | 1686 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace_stats.pb.cc", |
Isabelle Taylor | 98e560d | 2018-11-22 11:59:12 +0000 | [diff] [blame] | 1687 | "external/perfetto/protos/perfetto/trace/ftrace/generic.pb.cc", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1688 | "external/perfetto/protos/perfetto/trace/ftrace/i2c.pb.cc", |
| 1689 | "external/perfetto/protos/perfetto/trace/ftrace/ipi.pb.cc", |
| 1690 | "external/perfetto/protos/perfetto/trace/ftrace/irq.pb.cc", |
| 1691 | "external/perfetto/protos/perfetto/trace/ftrace/kmem.pb.cc", |
| 1692 | "external/perfetto/protos/perfetto/trace/ftrace/lowmemorykiller.pb.cc", |
| 1693 | "external/perfetto/protos/perfetto/trace/ftrace/mdss.pb.cc", |
Lalit Maganti | 3bd67ef | 2019-01-18 17:44:09 +0000 | [diff] [blame] | 1694 | "external/perfetto/protos/perfetto/trace/ftrace/mm_event.pb.cc", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1695 | "external/perfetto/protos/perfetto/trace/ftrace/oom.pb.cc", |
| 1696 | "external/perfetto/protos/perfetto/trace/ftrace/power.pb.cc", |
Lalit Maganti | a73a725 | 2019-01-25 10:32:40 +0000 | [diff] [blame] | 1697 | "external/perfetto/protos/perfetto/trace/ftrace/raw_syscalls.pb.cc", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1698 | "external/perfetto/protos/perfetto/trace/ftrace/regulator.pb.cc", |
| 1699 | "external/perfetto/protos/perfetto/trace/ftrace/sched.pb.cc", |
| 1700 | "external/perfetto/protos/perfetto/trace/ftrace/signal.pb.cc", |
| 1701 | "external/perfetto/protos/perfetto/trace/ftrace/sync.pb.cc", |
Hector Dearman | bfc2411 | 2019-06-04 19:35:51 +0100 | [diff] [blame] | 1702 | "external/perfetto/protos/perfetto/trace/ftrace/systrace.pb.cc", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1703 | "external/perfetto/protos/perfetto/trace/ftrace/task.pb.cc", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1704 | "external/perfetto/protos/perfetto/trace/ftrace/test_bundle_wrapper.pb.cc", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1705 | "external/perfetto/protos/perfetto/trace/ftrace/vmscan.pb.cc", |
| 1706 | "external/perfetto/protos/perfetto/trace/ftrace/workqueue.pb.cc", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1707 | ], |
| 1708 | } |
| 1709 | |
| 1710 | // GN target: //protos/perfetto/trace/ftrace:lite_gen |
| 1711 | genrule { |
| 1712 | name: "perfetto_protos_perfetto_trace_ftrace_lite_gen_headers", |
| 1713 | srcs: [ |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1714 | "protos/perfetto/trace/ftrace/binder.proto", |
| 1715 | "protos/perfetto/trace/ftrace/block.proto", |
| 1716 | "protos/perfetto/trace/ftrace/cgroup.proto", |
| 1717 | "protos/perfetto/trace/ftrace/clk.proto", |
| 1718 | "protos/perfetto/trace/ftrace/compaction.proto", |
| 1719 | "protos/perfetto/trace/ftrace/ext4.proto", |
| 1720 | "protos/perfetto/trace/ftrace/f2fs.proto", |
| 1721 | "protos/perfetto/trace/ftrace/fence.proto", |
| 1722 | "protos/perfetto/trace/ftrace/filemap.proto", |
| 1723 | "protos/perfetto/trace/ftrace/ftrace.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1724 | "protos/perfetto/trace/ftrace/ftrace_event.proto", |
| 1725 | "protos/perfetto/trace/ftrace/ftrace_event_bundle.proto", |
Hector Dearman | 3afb1e0 | 2018-04-27 16:46:52 +0100 | [diff] [blame] | 1726 | "protos/perfetto/trace/ftrace/ftrace_stats.proto", |
Isabelle Taylor | 98e560d | 2018-11-22 11:59:12 +0000 | [diff] [blame] | 1727 | "protos/perfetto/trace/ftrace/generic.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1728 | "protos/perfetto/trace/ftrace/i2c.proto", |
| 1729 | "protos/perfetto/trace/ftrace/ipi.proto", |
| 1730 | "protos/perfetto/trace/ftrace/irq.proto", |
| 1731 | "protos/perfetto/trace/ftrace/kmem.proto", |
| 1732 | "protos/perfetto/trace/ftrace/lowmemorykiller.proto", |
| 1733 | "protos/perfetto/trace/ftrace/mdss.proto", |
Lalit Maganti | 3bd67ef | 2019-01-18 17:44:09 +0000 | [diff] [blame] | 1734 | "protos/perfetto/trace/ftrace/mm_event.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1735 | "protos/perfetto/trace/ftrace/oom.proto", |
| 1736 | "protos/perfetto/trace/ftrace/power.proto", |
Lalit Maganti | a73a725 | 2019-01-25 10:32:40 +0000 | [diff] [blame] | 1737 | "protos/perfetto/trace/ftrace/raw_syscalls.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1738 | "protos/perfetto/trace/ftrace/regulator.proto", |
| 1739 | "protos/perfetto/trace/ftrace/sched.proto", |
| 1740 | "protos/perfetto/trace/ftrace/signal.proto", |
| 1741 | "protos/perfetto/trace/ftrace/sync.proto", |
Hector Dearman | bfc2411 | 2019-06-04 19:35:51 +0100 | [diff] [blame] | 1742 | "protos/perfetto/trace/ftrace/systrace.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1743 | "protos/perfetto/trace/ftrace/task.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1744 | "protos/perfetto/trace/ftrace/test_bundle_wrapper.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1745 | "protos/perfetto/trace/ftrace/vmscan.proto", |
| 1746 | "protos/perfetto/trace/ftrace/workqueue.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1747 | ], |
| 1748 | tools: [ |
| 1749 | "aprotoc", |
| 1750 | ], |
| 1751 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 1752 | out: [ |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1753 | "external/perfetto/protos/perfetto/trace/ftrace/binder.pb.h", |
| 1754 | "external/perfetto/protos/perfetto/trace/ftrace/block.pb.h", |
| 1755 | "external/perfetto/protos/perfetto/trace/ftrace/cgroup.pb.h", |
| 1756 | "external/perfetto/protos/perfetto/trace/ftrace/clk.pb.h", |
| 1757 | "external/perfetto/protos/perfetto/trace/ftrace/compaction.pb.h", |
| 1758 | "external/perfetto/protos/perfetto/trace/ftrace/ext4.pb.h", |
| 1759 | "external/perfetto/protos/perfetto/trace/ftrace/f2fs.pb.h", |
| 1760 | "external/perfetto/protos/perfetto/trace/ftrace/fence.pb.h", |
| 1761 | "external/perfetto/protos/perfetto/trace/ftrace/filemap.pb.h", |
| 1762 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace.pb.h", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1763 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace_event.pb.h", |
| 1764 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace_event_bundle.pb.h", |
Hector Dearman | 3afb1e0 | 2018-04-27 16:46:52 +0100 | [diff] [blame] | 1765 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace_stats.pb.h", |
Isabelle Taylor | 98e560d | 2018-11-22 11:59:12 +0000 | [diff] [blame] | 1766 | "external/perfetto/protos/perfetto/trace/ftrace/generic.pb.h", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1767 | "external/perfetto/protos/perfetto/trace/ftrace/i2c.pb.h", |
| 1768 | "external/perfetto/protos/perfetto/trace/ftrace/ipi.pb.h", |
| 1769 | "external/perfetto/protos/perfetto/trace/ftrace/irq.pb.h", |
| 1770 | "external/perfetto/protos/perfetto/trace/ftrace/kmem.pb.h", |
| 1771 | "external/perfetto/protos/perfetto/trace/ftrace/lowmemorykiller.pb.h", |
| 1772 | "external/perfetto/protos/perfetto/trace/ftrace/mdss.pb.h", |
Lalit Maganti | 3bd67ef | 2019-01-18 17:44:09 +0000 | [diff] [blame] | 1773 | "external/perfetto/protos/perfetto/trace/ftrace/mm_event.pb.h", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1774 | "external/perfetto/protos/perfetto/trace/ftrace/oom.pb.h", |
| 1775 | "external/perfetto/protos/perfetto/trace/ftrace/power.pb.h", |
Lalit Maganti | a73a725 | 2019-01-25 10:32:40 +0000 | [diff] [blame] | 1776 | "external/perfetto/protos/perfetto/trace/ftrace/raw_syscalls.pb.h", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1777 | "external/perfetto/protos/perfetto/trace/ftrace/regulator.pb.h", |
| 1778 | "external/perfetto/protos/perfetto/trace/ftrace/sched.pb.h", |
| 1779 | "external/perfetto/protos/perfetto/trace/ftrace/signal.pb.h", |
| 1780 | "external/perfetto/protos/perfetto/trace/ftrace/sync.pb.h", |
Hector Dearman | bfc2411 | 2019-06-04 19:35:51 +0100 | [diff] [blame] | 1781 | "external/perfetto/protos/perfetto/trace/ftrace/systrace.pb.h", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1782 | "external/perfetto/protos/perfetto/trace/ftrace/task.pb.h", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1783 | "external/perfetto/protos/perfetto/trace/ftrace/test_bundle_wrapper.pb.h", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1784 | "external/perfetto/protos/perfetto/trace/ftrace/vmscan.pb.h", |
| 1785 | "external/perfetto/protos/perfetto/trace/ftrace/workqueue.pb.h", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1786 | ], |
| 1787 | export_include_dirs: [ |
| 1788 | "protos", |
| 1789 | ], |
| 1790 | } |
| 1791 | |
| 1792 | // GN target: //protos/perfetto/trace/ftrace:zero_gen |
| 1793 | genrule { |
| 1794 | name: "perfetto_protos_perfetto_trace_ftrace_zero_gen", |
| 1795 | srcs: [ |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1796 | "protos/perfetto/trace/ftrace/binder.proto", |
| 1797 | "protos/perfetto/trace/ftrace/block.proto", |
| 1798 | "protos/perfetto/trace/ftrace/cgroup.proto", |
| 1799 | "protos/perfetto/trace/ftrace/clk.proto", |
| 1800 | "protos/perfetto/trace/ftrace/compaction.proto", |
| 1801 | "protos/perfetto/trace/ftrace/ext4.proto", |
| 1802 | "protos/perfetto/trace/ftrace/f2fs.proto", |
| 1803 | "protos/perfetto/trace/ftrace/fence.proto", |
| 1804 | "protos/perfetto/trace/ftrace/filemap.proto", |
| 1805 | "protos/perfetto/trace/ftrace/ftrace.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1806 | "protos/perfetto/trace/ftrace/ftrace_event.proto", |
| 1807 | "protos/perfetto/trace/ftrace/ftrace_event_bundle.proto", |
Hector Dearman | 3afb1e0 | 2018-04-27 16:46:52 +0100 | [diff] [blame] | 1808 | "protos/perfetto/trace/ftrace/ftrace_stats.proto", |
Isabelle Taylor | 98e560d | 2018-11-22 11:59:12 +0000 | [diff] [blame] | 1809 | "protos/perfetto/trace/ftrace/generic.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1810 | "protos/perfetto/trace/ftrace/i2c.proto", |
| 1811 | "protos/perfetto/trace/ftrace/ipi.proto", |
| 1812 | "protos/perfetto/trace/ftrace/irq.proto", |
| 1813 | "protos/perfetto/trace/ftrace/kmem.proto", |
| 1814 | "protos/perfetto/trace/ftrace/lowmemorykiller.proto", |
| 1815 | "protos/perfetto/trace/ftrace/mdss.proto", |
Lalit Maganti | 3bd67ef | 2019-01-18 17:44:09 +0000 | [diff] [blame] | 1816 | "protos/perfetto/trace/ftrace/mm_event.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1817 | "protos/perfetto/trace/ftrace/oom.proto", |
| 1818 | "protos/perfetto/trace/ftrace/power.proto", |
Lalit Maganti | a73a725 | 2019-01-25 10:32:40 +0000 | [diff] [blame] | 1819 | "protos/perfetto/trace/ftrace/raw_syscalls.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1820 | "protos/perfetto/trace/ftrace/regulator.proto", |
| 1821 | "protos/perfetto/trace/ftrace/sched.proto", |
| 1822 | "protos/perfetto/trace/ftrace/signal.proto", |
| 1823 | "protos/perfetto/trace/ftrace/sync.proto", |
Hector Dearman | bfc2411 | 2019-06-04 19:35:51 +0100 | [diff] [blame] | 1824 | "protos/perfetto/trace/ftrace/systrace.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1825 | "protos/perfetto/trace/ftrace/task.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1826 | "protos/perfetto/trace/ftrace/test_bundle_wrapper.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1827 | "protos/perfetto/trace/ftrace/vmscan.proto", |
| 1828 | "protos/perfetto/trace/ftrace/workqueue.proto", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 1829 | ], |
| 1830 | tools: [ |
| 1831 | "aprotoc", |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 1832 | "perfetto_src_protozero_protoc_plugin_protozero_plugin___gn_standalone_toolchain_gcc_like_host_", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 1833 | ], |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 1834 | 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_protozero_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] | 1835 | out: [ |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1836 | "external/perfetto/protos/perfetto/trace/ftrace/binder.pbzero.cc", |
| 1837 | "external/perfetto/protos/perfetto/trace/ftrace/block.pbzero.cc", |
| 1838 | "external/perfetto/protos/perfetto/trace/ftrace/cgroup.pbzero.cc", |
| 1839 | "external/perfetto/protos/perfetto/trace/ftrace/clk.pbzero.cc", |
| 1840 | "external/perfetto/protos/perfetto/trace/ftrace/compaction.pbzero.cc", |
| 1841 | "external/perfetto/protos/perfetto/trace/ftrace/ext4.pbzero.cc", |
| 1842 | "external/perfetto/protos/perfetto/trace/ftrace/f2fs.pbzero.cc", |
| 1843 | "external/perfetto/protos/perfetto/trace/ftrace/fence.pbzero.cc", |
| 1844 | "external/perfetto/protos/perfetto/trace/ftrace/filemap.pbzero.cc", |
| 1845 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace.pbzero.cc", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1846 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace_event.pbzero.cc", |
| 1847 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace_event_bundle.pbzero.cc", |
Hector Dearman | 3afb1e0 | 2018-04-27 16:46:52 +0100 | [diff] [blame] | 1848 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace_stats.pbzero.cc", |
Isabelle Taylor | 98e560d | 2018-11-22 11:59:12 +0000 | [diff] [blame] | 1849 | "external/perfetto/protos/perfetto/trace/ftrace/generic.pbzero.cc", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1850 | "external/perfetto/protos/perfetto/trace/ftrace/i2c.pbzero.cc", |
| 1851 | "external/perfetto/protos/perfetto/trace/ftrace/ipi.pbzero.cc", |
| 1852 | "external/perfetto/protos/perfetto/trace/ftrace/irq.pbzero.cc", |
| 1853 | "external/perfetto/protos/perfetto/trace/ftrace/kmem.pbzero.cc", |
| 1854 | "external/perfetto/protos/perfetto/trace/ftrace/lowmemorykiller.pbzero.cc", |
| 1855 | "external/perfetto/protos/perfetto/trace/ftrace/mdss.pbzero.cc", |
Lalit Maganti | 3bd67ef | 2019-01-18 17:44:09 +0000 | [diff] [blame] | 1856 | "external/perfetto/protos/perfetto/trace/ftrace/mm_event.pbzero.cc", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1857 | "external/perfetto/protos/perfetto/trace/ftrace/oom.pbzero.cc", |
| 1858 | "external/perfetto/protos/perfetto/trace/ftrace/power.pbzero.cc", |
Lalit Maganti | a73a725 | 2019-01-25 10:32:40 +0000 | [diff] [blame] | 1859 | "external/perfetto/protos/perfetto/trace/ftrace/raw_syscalls.pbzero.cc", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1860 | "external/perfetto/protos/perfetto/trace/ftrace/regulator.pbzero.cc", |
| 1861 | "external/perfetto/protos/perfetto/trace/ftrace/sched.pbzero.cc", |
| 1862 | "external/perfetto/protos/perfetto/trace/ftrace/signal.pbzero.cc", |
| 1863 | "external/perfetto/protos/perfetto/trace/ftrace/sync.pbzero.cc", |
Hector Dearman | bfc2411 | 2019-06-04 19:35:51 +0100 | [diff] [blame] | 1864 | "external/perfetto/protos/perfetto/trace/ftrace/systrace.pbzero.cc", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1865 | "external/perfetto/protos/perfetto/trace/ftrace/task.pbzero.cc", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1866 | "external/perfetto/protos/perfetto/trace/ftrace/test_bundle_wrapper.pbzero.cc", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1867 | "external/perfetto/protos/perfetto/trace/ftrace/vmscan.pbzero.cc", |
| 1868 | "external/perfetto/protos/perfetto/trace/ftrace/workqueue.pbzero.cc", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 1869 | ], |
| 1870 | } |
| 1871 | |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1872 | // GN target: //protos/perfetto/trace/ftrace:zero_gen |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 1873 | genrule { |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1874 | name: "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 1875 | srcs: [ |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1876 | "protos/perfetto/trace/ftrace/binder.proto", |
| 1877 | "protos/perfetto/trace/ftrace/block.proto", |
| 1878 | "protos/perfetto/trace/ftrace/cgroup.proto", |
| 1879 | "protos/perfetto/trace/ftrace/clk.proto", |
| 1880 | "protos/perfetto/trace/ftrace/compaction.proto", |
| 1881 | "protos/perfetto/trace/ftrace/ext4.proto", |
| 1882 | "protos/perfetto/trace/ftrace/f2fs.proto", |
| 1883 | "protos/perfetto/trace/ftrace/fence.proto", |
| 1884 | "protos/perfetto/trace/ftrace/filemap.proto", |
| 1885 | "protos/perfetto/trace/ftrace/ftrace.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1886 | "protos/perfetto/trace/ftrace/ftrace_event.proto", |
| 1887 | "protos/perfetto/trace/ftrace/ftrace_event_bundle.proto", |
Hector Dearman | 3afb1e0 | 2018-04-27 16:46:52 +0100 | [diff] [blame] | 1888 | "protos/perfetto/trace/ftrace/ftrace_stats.proto", |
Isabelle Taylor | 98e560d | 2018-11-22 11:59:12 +0000 | [diff] [blame] | 1889 | "protos/perfetto/trace/ftrace/generic.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1890 | "protos/perfetto/trace/ftrace/i2c.proto", |
| 1891 | "protos/perfetto/trace/ftrace/ipi.proto", |
| 1892 | "protos/perfetto/trace/ftrace/irq.proto", |
| 1893 | "protos/perfetto/trace/ftrace/kmem.proto", |
| 1894 | "protos/perfetto/trace/ftrace/lowmemorykiller.proto", |
| 1895 | "protos/perfetto/trace/ftrace/mdss.proto", |
Lalit Maganti | 3bd67ef | 2019-01-18 17:44:09 +0000 | [diff] [blame] | 1896 | "protos/perfetto/trace/ftrace/mm_event.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1897 | "protos/perfetto/trace/ftrace/oom.proto", |
| 1898 | "protos/perfetto/trace/ftrace/power.proto", |
Lalit Maganti | a73a725 | 2019-01-25 10:32:40 +0000 | [diff] [blame] | 1899 | "protos/perfetto/trace/ftrace/raw_syscalls.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1900 | "protos/perfetto/trace/ftrace/regulator.proto", |
| 1901 | "protos/perfetto/trace/ftrace/sched.proto", |
| 1902 | "protos/perfetto/trace/ftrace/signal.proto", |
| 1903 | "protos/perfetto/trace/ftrace/sync.proto", |
Hector Dearman | bfc2411 | 2019-06-04 19:35:51 +0100 | [diff] [blame] | 1904 | "protos/perfetto/trace/ftrace/systrace.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1905 | "protos/perfetto/trace/ftrace/task.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1906 | "protos/perfetto/trace/ftrace/test_bundle_wrapper.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1907 | "protos/perfetto/trace/ftrace/vmscan.proto", |
| 1908 | "protos/perfetto/trace/ftrace/workqueue.proto", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 1909 | ], |
| 1910 | tools: [ |
| 1911 | "aprotoc", |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 1912 | "perfetto_src_protozero_protoc_plugin_protozero_plugin___gn_standalone_toolchain_gcc_like_host_", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 1913 | ], |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 1914 | 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_protozero_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] | 1915 | out: [ |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1916 | "external/perfetto/protos/perfetto/trace/ftrace/binder.pbzero.h", |
| 1917 | "external/perfetto/protos/perfetto/trace/ftrace/block.pbzero.h", |
| 1918 | "external/perfetto/protos/perfetto/trace/ftrace/cgroup.pbzero.h", |
| 1919 | "external/perfetto/protos/perfetto/trace/ftrace/clk.pbzero.h", |
| 1920 | "external/perfetto/protos/perfetto/trace/ftrace/compaction.pbzero.h", |
| 1921 | "external/perfetto/protos/perfetto/trace/ftrace/ext4.pbzero.h", |
| 1922 | "external/perfetto/protos/perfetto/trace/ftrace/f2fs.pbzero.h", |
| 1923 | "external/perfetto/protos/perfetto/trace/ftrace/fence.pbzero.h", |
| 1924 | "external/perfetto/protos/perfetto/trace/ftrace/filemap.pbzero.h", |
| 1925 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace.pbzero.h", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1926 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace_event.pbzero.h", |
| 1927 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace_event_bundle.pbzero.h", |
Hector Dearman | 3afb1e0 | 2018-04-27 16:46:52 +0100 | [diff] [blame] | 1928 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace_stats.pbzero.h", |
Isabelle Taylor | 98e560d | 2018-11-22 11:59:12 +0000 | [diff] [blame] | 1929 | "external/perfetto/protos/perfetto/trace/ftrace/generic.pbzero.h", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1930 | "external/perfetto/protos/perfetto/trace/ftrace/i2c.pbzero.h", |
| 1931 | "external/perfetto/protos/perfetto/trace/ftrace/ipi.pbzero.h", |
| 1932 | "external/perfetto/protos/perfetto/trace/ftrace/irq.pbzero.h", |
| 1933 | "external/perfetto/protos/perfetto/trace/ftrace/kmem.pbzero.h", |
| 1934 | "external/perfetto/protos/perfetto/trace/ftrace/lowmemorykiller.pbzero.h", |
| 1935 | "external/perfetto/protos/perfetto/trace/ftrace/mdss.pbzero.h", |
Lalit Maganti | 3bd67ef | 2019-01-18 17:44:09 +0000 | [diff] [blame] | 1936 | "external/perfetto/protos/perfetto/trace/ftrace/mm_event.pbzero.h", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1937 | "external/perfetto/protos/perfetto/trace/ftrace/oom.pbzero.h", |
| 1938 | "external/perfetto/protos/perfetto/trace/ftrace/power.pbzero.h", |
Lalit Maganti | a73a725 | 2019-01-25 10:32:40 +0000 | [diff] [blame] | 1939 | "external/perfetto/protos/perfetto/trace/ftrace/raw_syscalls.pbzero.h", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1940 | "external/perfetto/protos/perfetto/trace/ftrace/regulator.pbzero.h", |
| 1941 | "external/perfetto/protos/perfetto/trace/ftrace/sched.pbzero.h", |
| 1942 | "external/perfetto/protos/perfetto/trace/ftrace/signal.pbzero.h", |
| 1943 | "external/perfetto/protos/perfetto/trace/ftrace/sync.pbzero.h", |
Hector Dearman | bfc2411 | 2019-06-04 19:35:51 +0100 | [diff] [blame] | 1944 | "external/perfetto/protos/perfetto/trace/ftrace/systrace.pbzero.h", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1945 | "external/perfetto/protos/perfetto/trace/ftrace/task.pbzero.h", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1946 | "external/perfetto/protos/perfetto/trace/ftrace/test_bundle_wrapper.pbzero.h", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 1947 | "external/perfetto/protos/perfetto/trace/ftrace/vmscan.pbzero.h", |
| 1948 | "external/perfetto/protos/perfetto/trace/ftrace/workqueue.pbzero.h", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 1949 | ], |
| 1950 | export_include_dirs: [ |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1951 | "protos", |
| 1952 | ], |
| 1953 | } |
| 1954 | |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 1955 | // GN target: //protos/perfetto/trace/gpu:lite_gen |
| 1956 | genrule { |
| 1957 | name: "perfetto_protos_perfetto_trace_gpu_lite_gen", |
| 1958 | srcs: [ |
| 1959 | "protos/perfetto/trace/gpu/gpu_counter_event.proto", |
| 1960 | "protos/perfetto/trace/gpu/gpu_render_stage_event.proto", |
| 1961 | ], |
| 1962 | tools: [ |
| 1963 | "aprotoc", |
| 1964 | ], |
| 1965 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 1966 | out: [ |
| 1967 | "external/perfetto/protos/perfetto/trace/gpu/gpu_counter_event.pb.cc", |
| 1968 | "external/perfetto/protos/perfetto/trace/gpu/gpu_render_stage_event.pb.cc", |
| 1969 | ], |
| 1970 | } |
| 1971 | |
| 1972 | // GN target: //protos/perfetto/trace/gpu:lite_gen |
| 1973 | genrule { |
| 1974 | name: "perfetto_protos_perfetto_trace_gpu_lite_gen_headers", |
| 1975 | srcs: [ |
| 1976 | "protos/perfetto/trace/gpu/gpu_counter_event.proto", |
| 1977 | "protos/perfetto/trace/gpu/gpu_render_stage_event.proto", |
| 1978 | ], |
| 1979 | tools: [ |
| 1980 | "aprotoc", |
| 1981 | ], |
| 1982 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 1983 | out: [ |
| 1984 | "external/perfetto/protos/perfetto/trace/gpu/gpu_counter_event.pb.h", |
| 1985 | "external/perfetto/protos/perfetto/trace/gpu/gpu_render_stage_event.pb.h", |
| 1986 | ], |
| 1987 | export_include_dirs: [ |
| 1988 | "protos", |
| 1989 | ], |
| 1990 | } |
| 1991 | |
| 1992 | // GN target: //protos/perfetto/trace/gpu:zero_gen |
| 1993 | genrule { |
| 1994 | name: "perfetto_protos_perfetto_trace_gpu_zero_gen", |
| 1995 | srcs: [ |
| 1996 | "protos/perfetto/trace/gpu/gpu_counter_event.proto", |
| 1997 | "protos/perfetto/trace/gpu/gpu_render_stage_event.proto", |
| 1998 | ], |
| 1999 | tools: [ |
| 2000 | "aprotoc", |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 2001 | "perfetto_src_protozero_protoc_plugin_protozero_plugin___gn_standalone_toolchain_gcc_like_host_", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 2002 | ], |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 2003 | 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_protozero_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 2004 | out: [ |
| 2005 | "external/perfetto/protos/perfetto/trace/gpu/gpu_counter_event.pbzero.cc", |
| 2006 | "external/perfetto/protos/perfetto/trace/gpu/gpu_render_stage_event.pbzero.cc", |
| 2007 | ], |
| 2008 | } |
| 2009 | |
| 2010 | // GN target: //protos/perfetto/trace/gpu:zero_gen |
| 2011 | genrule { |
| 2012 | name: "perfetto_protos_perfetto_trace_gpu_zero_gen_headers", |
| 2013 | srcs: [ |
| 2014 | "protos/perfetto/trace/gpu/gpu_counter_event.proto", |
| 2015 | "protos/perfetto/trace/gpu/gpu_render_stage_event.proto", |
| 2016 | ], |
| 2017 | tools: [ |
| 2018 | "aprotoc", |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 2019 | "perfetto_src_protozero_protoc_plugin_protozero_plugin___gn_standalone_toolchain_gcc_like_host_", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 2020 | ], |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 2021 | 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_protozero_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 2022 | out: [ |
| 2023 | "external/perfetto/protos/perfetto/trace/gpu/gpu_counter_event.pbzero.h", |
| 2024 | "external/perfetto/protos/perfetto/trace/gpu/gpu_render_stage_event.pbzero.h", |
| 2025 | ], |
| 2026 | export_include_dirs: [ |
| 2027 | "protos", |
| 2028 | ], |
| 2029 | } |
| 2030 | |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 2031 | // GN target: //protos/perfetto/trace/interned_data:lite_gen |
| 2032 | genrule { |
| 2033 | name: "perfetto_protos_perfetto_trace_interned_data_lite_gen", |
| 2034 | srcs: [ |
| 2035 | "protos/perfetto/trace/interned_data/interned_data.proto", |
| 2036 | ], |
| 2037 | tools: [ |
| 2038 | "aprotoc", |
| 2039 | ], |
| 2040 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 2041 | out: [ |
| 2042 | "external/perfetto/protos/perfetto/trace/interned_data/interned_data.pb.cc", |
| 2043 | ], |
| 2044 | } |
| 2045 | |
| 2046 | // GN target: //protos/perfetto/trace/interned_data:lite_gen |
| 2047 | genrule { |
| 2048 | name: "perfetto_protos_perfetto_trace_interned_data_lite_gen_headers", |
| 2049 | srcs: [ |
| 2050 | "protos/perfetto/trace/interned_data/interned_data.proto", |
| 2051 | ], |
| 2052 | tools: [ |
| 2053 | "aprotoc", |
| 2054 | ], |
| 2055 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 2056 | out: [ |
| 2057 | "external/perfetto/protos/perfetto/trace/interned_data/interned_data.pb.h", |
| 2058 | ], |
| 2059 | export_include_dirs: [ |
| 2060 | "protos", |
| 2061 | ], |
| 2062 | } |
| 2063 | |
| 2064 | // GN target: //protos/perfetto/trace/interned_data:zero_gen |
| 2065 | genrule { |
| 2066 | name: "perfetto_protos_perfetto_trace_interned_data_zero_gen", |
| 2067 | srcs: [ |
| 2068 | "protos/perfetto/trace/interned_data/interned_data.proto", |
| 2069 | ], |
| 2070 | tools: [ |
| 2071 | "aprotoc", |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 2072 | "perfetto_src_protozero_protoc_plugin_protozero_plugin___gn_standalone_toolchain_gcc_like_host_", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 2073 | ], |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 2074 | 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_protozero_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 2075 | out: [ |
| 2076 | "external/perfetto/protos/perfetto/trace/interned_data/interned_data.pbzero.cc", |
| 2077 | ], |
| 2078 | } |
| 2079 | |
| 2080 | // GN target: //protos/perfetto/trace/interned_data:zero_gen |
| 2081 | genrule { |
| 2082 | name: "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers", |
| 2083 | srcs: [ |
| 2084 | "protos/perfetto/trace/interned_data/interned_data.proto", |
| 2085 | ], |
| 2086 | tools: [ |
| 2087 | "aprotoc", |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 2088 | "perfetto_src_protozero_protoc_plugin_protozero_plugin___gn_standalone_toolchain_gcc_like_host_", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 2089 | ], |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 2090 | 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_protozero_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 2091 | out: [ |
| 2092 | "external/perfetto/protos/perfetto/trace/interned_data/interned_data.pbzero.h", |
| 2093 | ], |
| 2094 | export_include_dirs: [ |
| 2095 | "protos", |
| 2096 | ], |
| 2097 | } |
| 2098 | |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2099 | // GN target: //protos/perfetto/trace:lite_gen |
| 2100 | genrule { |
| 2101 | name: "perfetto_protos_perfetto_trace_lite_gen", |
| 2102 | srcs: [ |
| 2103 | "protos/perfetto/trace/test_event.proto", |
| 2104 | "protos/perfetto/trace/trace.proto", |
| 2105 | "protos/perfetto/trace/trace_packet.proto", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 2106 | ], |
| 2107 | tools: [ |
| 2108 | "aprotoc", |
| 2109 | ], |
| 2110 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 2111 | out: [ |
| 2112 | "external/perfetto/protos/perfetto/trace/test_event.pb.cc", |
| 2113 | "external/perfetto/protos/perfetto/trace/trace.pb.cc", |
| 2114 | "external/perfetto/protos/perfetto/trace/trace_packet.pb.cc", |
| 2115 | ], |
| 2116 | } |
| 2117 | |
| 2118 | // GN target: //protos/perfetto/trace:lite_gen |
| 2119 | genrule { |
| 2120 | name: "perfetto_protos_perfetto_trace_lite_gen_headers", |
| 2121 | srcs: [ |
| 2122 | "protos/perfetto/trace/test_event.proto", |
| 2123 | "protos/perfetto/trace/trace.proto", |
| 2124 | "protos/perfetto/trace/trace_packet.proto", |
| 2125 | ], |
| 2126 | tools: [ |
| 2127 | "aprotoc", |
| 2128 | ], |
| 2129 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 2130 | out: [ |
| 2131 | "external/perfetto/protos/perfetto/trace/test_event.pb.h", |
| 2132 | "external/perfetto/protos/perfetto/trace/trace.pb.h", |
| 2133 | "external/perfetto/protos/perfetto/trace/trace_packet.pb.h", |
| 2134 | ], |
| 2135 | export_include_dirs: [ |
| 2136 | "protos", |
| 2137 | ], |
| 2138 | } |
| 2139 | |
| 2140 | // GN target: //protos/perfetto/trace:minimal_lite_gen |
| 2141 | genrule { |
| 2142 | name: "perfetto_protos_perfetto_trace_minimal_lite_gen", |
| 2143 | srcs: [ |
| 2144 | "protos/perfetto/trace/clock_snapshot.proto", |
Hector Dearman | 685f752 | 2019-03-12 14:28:56 +0000 | [diff] [blame] | 2145 | "protos/perfetto/trace/system_info.proto", |
Stephen Nusko | 70ea330 | 2019-04-01 19:44:40 +0100 | [diff] [blame] | 2146 | "protos/perfetto/trace/trigger.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2147 | ], |
| 2148 | tools: [ |
| 2149 | "aprotoc", |
| 2150 | ], |
| 2151 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 2152 | out: [ |
Sami Kyostila | fbccb3c | 2018-03-21 14:00:47 +0000 | [diff] [blame] | 2153 | "external/perfetto/protos/perfetto/trace/clock_snapshot.pb.cc", |
Hector Dearman | 685f752 | 2019-03-12 14:28:56 +0000 | [diff] [blame] | 2154 | "external/perfetto/protos/perfetto/trace/system_info.pb.cc", |
Stephen Nusko | 70ea330 | 2019-04-01 19:44:40 +0100 | [diff] [blame] | 2155 | "external/perfetto/protos/perfetto/trace/trigger.pb.cc", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2156 | ], |
| 2157 | } |
| 2158 | |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 2159 | // GN target: //protos/perfetto/trace:minimal_lite_gen |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2160 | genrule { |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 2161 | name: "perfetto_protos_perfetto_trace_minimal_lite_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2162 | srcs: [ |
Sami Kyostila | fbccb3c | 2018-03-21 14:00:47 +0000 | [diff] [blame] | 2163 | "protos/perfetto/trace/clock_snapshot.proto", |
Hector Dearman | 685f752 | 2019-03-12 14:28:56 +0000 | [diff] [blame] | 2164 | "protos/perfetto/trace/system_info.proto", |
Stephen Nusko | 70ea330 | 2019-04-01 19:44:40 +0100 | [diff] [blame] | 2165 | "protos/perfetto/trace/trigger.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2166 | ], |
| 2167 | tools: [ |
| 2168 | "aprotoc", |
| 2169 | ], |
| 2170 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 2171 | out: [ |
Sami Kyostila | fbccb3c | 2018-03-21 14:00:47 +0000 | [diff] [blame] | 2172 | "external/perfetto/protos/perfetto/trace/clock_snapshot.pb.h", |
Hector Dearman | 685f752 | 2019-03-12 14:28:56 +0000 | [diff] [blame] | 2173 | "external/perfetto/protos/perfetto/trace/system_info.pb.h", |
Stephen Nusko | 70ea330 | 2019-04-01 19:44:40 +0100 | [diff] [blame] | 2174 | "external/perfetto/protos/perfetto/trace/trigger.pb.h", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2175 | ], |
| 2176 | export_include_dirs: [ |
| 2177 | "protos", |
| 2178 | ], |
| 2179 | } |
| 2180 | |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 2181 | // GN target: //protos/perfetto/trace/perfetto:lite_gen |
| 2182 | genrule { |
| 2183 | name: "perfetto_protos_perfetto_trace_perfetto_lite_gen", |
| 2184 | srcs: [ |
| 2185 | "protos/perfetto/trace/perfetto/perfetto_metatrace.proto", |
| 2186 | ], |
| 2187 | tools: [ |
| 2188 | "aprotoc", |
| 2189 | ], |
| 2190 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 2191 | out: [ |
| 2192 | "external/perfetto/protos/perfetto/trace/perfetto/perfetto_metatrace.pb.cc", |
| 2193 | ], |
| 2194 | } |
| 2195 | |
| 2196 | // GN target: //protos/perfetto/trace/perfetto:lite_gen |
| 2197 | genrule { |
| 2198 | name: "perfetto_protos_perfetto_trace_perfetto_lite_gen_headers", |
| 2199 | srcs: [ |
| 2200 | "protos/perfetto/trace/perfetto/perfetto_metatrace.proto", |
| 2201 | ], |
| 2202 | tools: [ |
| 2203 | "aprotoc", |
| 2204 | ], |
| 2205 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 2206 | out: [ |
| 2207 | "external/perfetto/protos/perfetto/trace/perfetto/perfetto_metatrace.pb.h", |
| 2208 | ], |
| 2209 | export_include_dirs: [ |
| 2210 | "protos", |
| 2211 | ], |
| 2212 | } |
| 2213 | |
| 2214 | // GN target: //protos/perfetto/trace/perfetto:zero_gen |
| 2215 | genrule { |
| 2216 | name: "perfetto_protos_perfetto_trace_perfetto_zero_gen", |
| 2217 | srcs: [ |
| 2218 | "protos/perfetto/trace/perfetto/perfetto_metatrace.proto", |
| 2219 | ], |
| 2220 | tools: [ |
| 2221 | "aprotoc", |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 2222 | "perfetto_src_protozero_protoc_plugin_protozero_plugin___gn_standalone_toolchain_gcc_like_host_", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 2223 | ], |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 2224 | 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_protozero_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 2225 | out: [ |
| 2226 | "external/perfetto/protos/perfetto/trace/perfetto/perfetto_metatrace.pbzero.cc", |
| 2227 | ], |
| 2228 | } |
| 2229 | |
| 2230 | // GN target: //protos/perfetto/trace/perfetto:zero_gen |
| 2231 | genrule { |
| 2232 | name: "perfetto_protos_perfetto_trace_perfetto_zero_gen_headers", |
| 2233 | srcs: [ |
| 2234 | "protos/perfetto/trace/perfetto/perfetto_metatrace.proto", |
| 2235 | ], |
| 2236 | tools: [ |
| 2237 | "aprotoc", |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 2238 | "perfetto_src_protozero_protoc_plugin_protozero_plugin___gn_standalone_toolchain_gcc_like_host_", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 2239 | ], |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 2240 | 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_protozero_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 2241 | out: [ |
| 2242 | "external/perfetto/protos/perfetto/trace/perfetto/perfetto_metatrace.pbzero.h", |
| 2243 | ], |
| 2244 | export_include_dirs: [ |
| 2245 | "protos", |
| 2246 | ], |
| 2247 | } |
| 2248 | |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 2249 | // GN target: //protos/perfetto/trace/power:lite_gen |
| 2250 | genrule { |
| 2251 | name: "perfetto_protos_perfetto_trace_power_lite_gen", |
| 2252 | srcs: [ |
| 2253 | "protos/perfetto/trace/power/battery_counters.proto", |
Esteban Talavera | 7714cec | 2019-01-31 15:53:34 +0000 | [diff] [blame] | 2254 | "protos/perfetto/trace/power/power_rails.proto", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 2255 | ], |
| 2256 | tools: [ |
| 2257 | "aprotoc", |
| 2258 | ], |
| 2259 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 2260 | out: [ |
| 2261 | "external/perfetto/protos/perfetto/trace/power/battery_counters.pb.cc", |
Esteban Talavera | 7714cec | 2019-01-31 15:53:34 +0000 | [diff] [blame] | 2262 | "external/perfetto/protos/perfetto/trace/power/power_rails.pb.cc", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 2263 | ], |
| 2264 | } |
| 2265 | |
| 2266 | // GN target: //protos/perfetto/trace/power:lite_gen |
| 2267 | genrule { |
| 2268 | name: "perfetto_protos_perfetto_trace_power_lite_gen_headers", |
| 2269 | srcs: [ |
| 2270 | "protos/perfetto/trace/power/battery_counters.proto", |
Esteban Talavera | 7714cec | 2019-01-31 15:53:34 +0000 | [diff] [blame] | 2271 | "protos/perfetto/trace/power/power_rails.proto", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 2272 | ], |
| 2273 | tools: [ |
| 2274 | "aprotoc", |
| 2275 | ], |
| 2276 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 2277 | out: [ |
| 2278 | "external/perfetto/protos/perfetto/trace/power/battery_counters.pb.h", |
Esteban Talavera | 7714cec | 2019-01-31 15:53:34 +0000 | [diff] [blame] | 2279 | "external/perfetto/protos/perfetto/trace/power/power_rails.pb.h", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 2280 | ], |
| 2281 | export_include_dirs: [ |
| 2282 | "protos", |
| 2283 | ], |
| 2284 | } |
| 2285 | |
| 2286 | // GN target: //protos/perfetto/trace/power:zero_gen |
| 2287 | genrule { |
| 2288 | name: "perfetto_protos_perfetto_trace_power_zero_gen", |
| 2289 | srcs: [ |
| 2290 | "protos/perfetto/trace/power/battery_counters.proto", |
Esteban Talavera | 7714cec | 2019-01-31 15:53:34 +0000 | [diff] [blame] | 2291 | "protos/perfetto/trace/power/power_rails.proto", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 2292 | ], |
| 2293 | tools: [ |
| 2294 | "aprotoc", |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 2295 | "perfetto_src_protozero_protoc_plugin_protozero_plugin___gn_standalone_toolchain_gcc_like_host_", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 2296 | ], |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 2297 | 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_protozero_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 2298 | out: [ |
| 2299 | "external/perfetto/protos/perfetto/trace/power/battery_counters.pbzero.cc", |
Esteban Talavera | 7714cec | 2019-01-31 15:53:34 +0000 | [diff] [blame] | 2300 | "external/perfetto/protos/perfetto/trace/power/power_rails.pbzero.cc", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 2301 | ], |
| 2302 | } |
| 2303 | |
| 2304 | // GN target: //protos/perfetto/trace/power:zero_gen |
| 2305 | genrule { |
| 2306 | name: "perfetto_protos_perfetto_trace_power_zero_gen_headers", |
| 2307 | srcs: [ |
| 2308 | "protos/perfetto/trace/power/battery_counters.proto", |
Esteban Talavera | 7714cec | 2019-01-31 15:53:34 +0000 | [diff] [blame] | 2309 | "protos/perfetto/trace/power/power_rails.proto", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 2310 | ], |
| 2311 | tools: [ |
| 2312 | "aprotoc", |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 2313 | "perfetto_src_protozero_protoc_plugin_protozero_plugin___gn_standalone_toolchain_gcc_like_host_", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 2314 | ], |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 2315 | 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_protozero_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 2316 | out: [ |
| 2317 | "external/perfetto/protos/perfetto/trace/power/battery_counters.pbzero.h", |
Esteban Talavera | 7714cec | 2019-01-31 15:53:34 +0000 | [diff] [blame] | 2318 | "external/perfetto/protos/perfetto/trace/power/power_rails.pbzero.h", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 2319 | ], |
| 2320 | export_include_dirs: [ |
| 2321 | "protos", |
| 2322 | ], |
| 2323 | } |
| 2324 | |
Lalit Maganti | e59293b | 2019-05-22 15:07:39 +0100 | [diff] [blame] | 2325 | // GN target: //protos/perfetto/trace_processor:metrics_impl_zero_gen |
| 2326 | genrule { |
| 2327 | name: "perfetto_protos_perfetto_trace_processor_metrics_impl_zero_gen", |
| 2328 | srcs: [ |
| 2329 | "protos/perfetto/trace_processor/metrics_impl.proto", |
| 2330 | ], |
| 2331 | tools: [ |
| 2332 | "aprotoc", |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 2333 | "perfetto_src_protozero_protoc_plugin_protozero_plugin___gn_standalone_toolchain_gcc_like_host_", |
Lalit Maganti | e59293b | 2019-05-22 15:07:39 +0100 | [diff] [blame] | 2334 | ], |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 2335 | 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_protozero_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
Lalit Maganti | e59293b | 2019-05-22 15:07:39 +0100 | [diff] [blame] | 2336 | out: [ |
| 2337 | "external/perfetto/protos/perfetto/trace_processor/metrics_impl.pbzero.cc", |
| 2338 | ], |
| 2339 | } |
| 2340 | |
| 2341 | // GN target: //protos/perfetto/trace_processor:metrics_impl_zero_gen |
| 2342 | genrule { |
| 2343 | name: "perfetto_protos_perfetto_trace_processor_metrics_impl_zero_gen_headers", |
| 2344 | srcs: [ |
| 2345 | "protos/perfetto/trace_processor/metrics_impl.proto", |
| 2346 | ], |
| 2347 | tools: [ |
| 2348 | "aprotoc", |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 2349 | "perfetto_src_protozero_protoc_plugin_protozero_plugin___gn_standalone_toolchain_gcc_like_host_", |
Lalit Maganti | e59293b | 2019-05-22 15:07:39 +0100 | [diff] [blame] | 2350 | ], |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 2351 | 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_protozero_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
Lalit Maganti | e59293b | 2019-05-22 15:07:39 +0100 | [diff] [blame] | 2352 | out: [ |
| 2353 | "external/perfetto/protos/perfetto/trace_processor/metrics_impl.pbzero.h", |
| 2354 | ], |
| 2355 | export_include_dirs: [ |
| 2356 | "protos", |
| 2357 | ], |
| 2358 | } |
| 2359 | |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 2360 | // GN target: //protos/perfetto/trace/profiling:lite_gen |
| 2361 | genrule { |
| 2362 | name: "perfetto_protos_perfetto_trace_profiling_lite_gen", |
| 2363 | srcs: [ |
Florian Mayer | 06264b4 | 2019-07-30 12:09:30 +0100 | [diff] [blame] | 2364 | "protos/perfetto/trace/profiling/heap_graph.proto", |
Florian Mayer | 93d16ec | 2019-06-05 09:51:58 +0100 | [diff] [blame] | 2365 | "protos/perfetto/trace/profiling/profile_common.proto", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 2366 | "protos/perfetto/trace/profiling/profile_packet.proto", |
| 2367 | ], |
| 2368 | tools: [ |
| 2369 | "aprotoc", |
| 2370 | ], |
| 2371 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 2372 | out: [ |
Florian Mayer | 06264b4 | 2019-07-30 12:09:30 +0100 | [diff] [blame] | 2373 | "external/perfetto/protos/perfetto/trace/profiling/heap_graph.pb.cc", |
Florian Mayer | 93d16ec | 2019-06-05 09:51:58 +0100 | [diff] [blame] | 2374 | "external/perfetto/protos/perfetto/trace/profiling/profile_common.pb.cc", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 2375 | "external/perfetto/protos/perfetto/trace/profiling/profile_packet.pb.cc", |
| 2376 | ], |
| 2377 | } |
| 2378 | |
| 2379 | // GN target: //protos/perfetto/trace/profiling:lite_gen |
| 2380 | genrule { |
| 2381 | name: "perfetto_protos_perfetto_trace_profiling_lite_gen_headers", |
| 2382 | srcs: [ |
Florian Mayer | 06264b4 | 2019-07-30 12:09:30 +0100 | [diff] [blame] | 2383 | "protos/perfetto/trace/profiling/heap_graph.proto", |
Florian Mayer | 93d16ec | 2019-06-05 09:51:58 +0100 | [diff] [blame] | 2384 | "protos/perfetto/trace/profiling/profile_common.proto", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 2385 | "protos/perfetto/trace/profiling/profile_packet.proto", |
| 2386 | ], |
| 2387 | tools: [ |
| 2388 | "aprotoc", |
| 2389 | ], |
| 2390 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 2391 | out: [ |
Florian Mayer | 06264b4 | 2019-07-30 12:09:30 +0100 | [diff] [blame] | 2392 | "external/perfetto/protos/perfetto/trace/profiling/heap_graph.pb.h", |
Florian Mayer | 93d16ec | 2019-06-05 09:51:58 +0100 | [diff] [blame] | 2393 | "external/perfetto/protos/perfetto/trace/profiling/profile_common.pb.h", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 2394 | "external/perfetto/protos/perfetto/trace/profiling/profile_packet.pb.h", |
| 2395 | ], |
| 2396 | export_include_dirs: [ |
| 2397 | "protos", |
| 2398 | ], |
| 2399 | } |
| 2400 | |
| 2401 | // GN target: //protos/perfetto/trace/profiling:zero_gen |
| 2402 | genrule { |
| 2403 | name: "perfetto_protos_perfetto_trace_profiling_zero_gen", |
| 2404 | srcs: [ |
Florian Mayer | 06264b4 | 2019-07-30 12:09:30 +0100 | [diff] [blame] | 2405 | "protos/perfetto/trace/profiling/heap_graph.proto", |
Florian Mayer | 93d16ec | 2019-06-05 09:51:58 +0100 | [diff] [blame] | 2406 | "protos/perfetto/trace/profiling/profile_common.proto", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 2407 | "protos/perfetto/trace/profiling/profile_packet.proto", |
| 2408 | ], |
| 2409 | tools: [ |
| 2410 | "aprotoc", |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 2411 | "perfetto_src_protozero_protoc_plugin_protozero_plugin___gn_standalone_toolchain_gcc_like_host_", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 2412 | ], |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 2413 | 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_protozero_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 2414 | out: [ |
Florian Mayer | 06264b4 | 2019-07-30 12:09:30 +0100 | [diff] [blame] | 2415 | "external/perfetto/protos/perfetto/trace/profiling/heap_graph.pbzero.cc", |
Florian Mayer | 93d16ec | 2019-06-05 09:51:58 +0100 | [diff] [blame] | 2416 | "external/perfetto/protos/perfetto/trace/profiling/profile_common.pbzero.cc", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 2417 | "external/perfetto/protos/perfetto/trace/profiling/profile_packet.pbzero.cc", |
| 2418 | ], |
| 2419 | } |
| 2420 | |
| 2421 | // GN target: //protos/perfetto/trace/profiling:zero_gen |
| 2422 | genrule { |
| 2423 | name: "perfetto_protos_perfetto_trace_profiling_zero_gen_headers", |
| 2424 | srcs: [ |
Florian Mayer | 06264b4 | 2019-07-30 12:09:30 +0100 | [diff] [blame] | 2425 | "protos/perfetto/trace/profiling/heap_graph.proto", |
Florian Mayer | 93d16ec | 2019-06-05 09:51:58 +0100 | [diff] [blame] | 2426 | "protos/perfetto/trace/profiling/profile_common.proto", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 2427 | "protos/perfetto/trace/profiling/profile_packet.proto", |
| 2428 | ], |
| 2429 | tools: [ |
| 2430 | "aprotoc", |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 2431 | "perfetto_src_protozero_protoc_plugin_protozero_plugin___gn_standalone_toolchain_gcc_like_host_", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 2432 | ], |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 2433 | 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_protozero_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 2434 | out: [ |
Florian Mayer | 06264b4 | 2019-07-30 12:09:30 +0100 | [diff] [blame] | 2435 | "external/perfetto/protos/perfetto/trace/profiling/heap_graph.pbzero.h", |
Florian Mayer | 93d16ec | 2019-06-05 09:51:58 +0100 | [diff] [blame] | 2436 | "external/perfetto/protos/perfetto/trace/profiling/profile_common.pbzero.h", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 2437 | "external/perfetto/protos/perfetto/trace/profiling/profile_packet.pbzero.h", |
| 2438 | ], |
| 2439 | export_include_dirs: [ |
| 2440 | "protos", |
| 2441 | ], |
| 2442 | } |
| 2443 | |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 2444 | // GN target: //protos/perfetto/trace/ps:lite_gen |
| 2445 | genrule { |
| 2446 | name: "perfetto_protos_perfetto_trace_ps_lite_gen", |
| 2447 | srcs: [ |
Primiano Tucci | c9d4a8b | 2018-10-30 20:19:01 -0700 | [diff] [blame] | 2448 | "protos/perfetto/trace/ps/process_stats.proto", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 2449 | "protos/perfetto/trace/ps/process_tree.proto", |
| 2450 | ], |
| 2451 | tools: [ |
| 2452 | "aprotoc", |
| 2453 | ], |
| 2454 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 2455 | out: [ |
Primiano Tucci | c9d4a8b | 2018-10-30 20:19:01 -0700 | [diff] [blame] | 2456 | "external/perfetto/protos/perfetto/trace/ps/process_stats.pb.cc", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 2457 | "external/perfetto/protos/perfetto/trace/ps/process_tree.pb.cc", |
| 2458 | ], |
| 2459 | } |
| 2460 | |
| 2461 | // GN target: //protos/perfetto/trace/ps:lite_gen |
| 2462 | genrule { |
| 2463 | name: "perfetto_protos_perfetto_trace_ps_lite_gen_headers", |
| 2464 | srcs: [ |
Primiano Tucci | c9d4a8b | 2018-10-30 20:19:01 -0700 | [diff] [blame] | 2465 | "protos/perfetto/trace/ps/process_stats.proto", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 2466 | "protos/perfetto/trace/ps/process_tree.proto", |
| 2467 | ], |
| 2468 | tools: [ |
| 2469 | "aprotoc", |
| 2470 | ], |
| 2471 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 2472 | out: [ |
Primiano Tucci | c9d4a8b | 2018-10-30 20:19:01 -0700 | [diff] [blame] | 2473 | "external/perfetto/protos/perfetto/trace/ps/process_stats.pb.h", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 2474 | "external/perfetto/protos/perfetto/trace/ps/process_tree.pb.h", |
| 2475 | ], |
| 2476 | export_include_dirs: [ |
| 2477 | "protos", |
| 2478 | ], |
| 2479 | } |
| 2480 | |
| 2481 | // GN target: //protos/perfetto/trace/ps:zero_gen |
| 2482 | genrule { |
| 2483 | name: "perfetto_protos_perfetto_trace_ps_zero_gen", |
| 2484 | srcs: [ |
Primiano Tucci | c9d4a8b | 2018-10-30 20:19:01 -0700 | [diff] [blame] | 2485 | "protos/perfetto/trace/ps/process_stats.proto", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 2486 | "protos/perfetto/trace/ps/process_tree.proto", |
| 2487 | ], |
| 2488 | tools: [ |
| 2489 | "aprotoc", |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 2490 | "perfetto_src_protozero_protoc_plugin_protozero_plugin___gn_standalone_toolchain_gcc_like_host_", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 2491 | ], |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 2492 | 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_protozero_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 2493 | out: [ |
Primiano Tucci | c9d4a8b | 2018-10-30 20:19:01 -0700 | [diff] [blame] | 2494 | "external/perfetto/protos/perfetto/trace/ps/process_stats.pbzero.cc", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 2495 | "external/perfetto/protos/perfetto/trace/ps/process_tree.pbzero.cc", |
| 2496 | ], |
| 2497 | } |
| 2498 | |
| 2499 | // GN target: //protos/perfetto/trace/ps:zero_gen |
| 2500 | genrule { |
| 2501 | name: "perfetto_protos_perfetto_trace_ps_zero_gen_headers", |
| 2502 | srcs: [ |
Primiano Tucci | c9d4a8b | 2018-10-30 20:19:01 -0700 | [diff] [blame] | 2503 | "protos/perfetto/trace/ps/process_stats.proto", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 2504 | "protos/perfetto/trace/ps/process_tree.proto", |
| 2505 | ], |
| 2506 | tools: [ |
| 2507 | "aprotoc", |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 2508 | "perfetto_src_protozero_protoc_plugin_protozero_plugin___gn_standalone_toolchain_gcc_like_host_", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 2509 | ], |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 2510 | 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_protozero_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 2511 | out: [ |
Primiano Tucci | c9d4a8b | 2018-10-30 20:19:01 -0700 | [diff] [blame] | 2512 | "external/perfetto/protos/perfetto/trace/ps/process_stats.pbzero.h", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 2513 | "external/perfetto/protos/perfetto/trace/ps/process_tree.pbzero.h", |
| 2514 | ], |
| 2515 | export_include_dirs: [ |
| 2516 | "protos", |
| 2517 | ], |
| 2518 | } |
| 2519 | |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 2520 | // GN target: //protos/perfetto/trace/sys_stats:lite_gen |
| 2521 | genrule { |
| 2522 | name: "perfetto_protos_perfetto_trace_sys_stats_lite_gen", |
| 2523 | srcs: [ |
| 2524 | "protos/perfetto/trace/sys_stats/sys_stats.proto", |
| 2525 | ], |
| 2526 | tools: [ |
| 2527 | "aprotoc", |
| 2528 | ], |
| 2529 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 2530 | out: [ |
| 2531 | "external/perfetto/protos/perfetto/trace/sys_stats/sys_stats.pb.cc", |
| 2532 | ], |
| 2533 | } |
| 2534 | |
| 2535 | // GN target: //protos/perfetto/trace/sys_stats:lite_gen |
| 2536 | genrule { |
| 2537 | name: "perfetto_protos_perfetto_trace_sys_stats_lite_gen_headers", |
| 2538 | srcs: [ |
| 2539 | "protos/perfetto/trace/sys_stats/sys_stats.proto", |
| 2540 | ], |
| 2541 | tools: [ |
| 2542 | "aprotoc", |
| 2543 | ], |
| 2544 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 2545 | out: [ |
| 2546 | "external/perfetto/protos/perfetto/trace/sys_stats/sys_stats.pb.h", |
| 2547 | ], |
| 2548 | export_include_dirs: [ |
| 2549 | "protos", |
| 2550 | ], |
| 2551 | } |
| 2552 | |
| 2553 | // GN target: //protos/perfetto/trace/sys_stats:zero_gen |
| 2554 | genrule { |
| 2555 | name: "perfetto_protos_perfetto_trace_sys_stats_zero_gen", |
| 2556 | srcs: [ |
| 2557 | "protos/perfetto/trace/sys_stats/sys_stats.proto", |
| 2558 | ], |
| 2559 | tools: [ |
| 2560 | "aprotoc", |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 2561 | "perfetto_src_protozero_protoc_plugin_protozero_plugin___gn_standalone_toolchain_gcc_like_host_", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 2562 | ], |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 2563 | 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_protozero_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 2564 | out: [ |
| 2565 | "external/perfetto/protos/perfetto/trace/sys_stats/sys_stats.pbzero.cc", |
| 2566 | ], |
| 2567 | } |
| 2568 | |
| 2569 | // GN target: //protos/perfetto/trace/sys_stats:zero_gen |
| 2570 | genrule { |
| 2571 | name: "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers", |
| 2572 | srcs: [ |
| 2573 | "protos/perfetto/trace/sys_stats/sys_stats.proto", |
| 2574 | ], |
| 2575 | tools: [ |
| 2576 | "aprotoc", |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 2577 | "perfetto_src_protozero_protoc_plugin_protozero_plugin___gn_standalone_toolchain_gcc_like_host_", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 2578 | ], |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 2579 | 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_protozero_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 2580 | out: [ |
| 2581 | "external/perfetto/protos/perfetto/trace/sys_stats/sys_stats.pbzero.h", |
| 2582 | ], |
| 2583 | export_include_dirs: [ |
| 2584 | "protos", |
| 2585 | ], |
| 2586 | } |
| 2587 | |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 2588 | // GN target: //protos/perfetto/trace/track_event:lite_gen |
| 2589 | genrule { |
| 2590 | name: "perfetto_protos_perfetto_trace_track_event_lite_gen", |
| 2591 | srcs: [ |
| 2592 | "protos/perfetto/trace/track_event/debug_annotation.proto", |
Nicolò Mazzucato | 85940b7 | 2019-07-18 10:32:39 +0100 | [diff] [blame] | 2593 | "protos/perfetto/trace/track_event/log_message.proto", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 2594 | "protos/perfetto/trace/track_event/process_descriptor.proto", |
Nicolò Mazzucato | 85940b7 | 2019-07-18 10:32:39 +0100 | [diff] [blame] | 2595 | "protos/perfetto/trace/track_event/source_location.proto", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 2596 | "protos/perfetto/trace/track_event/task_execution.proto", |
| 2597 | "protos/perfetto/trace/track_event/thread_descriptor.proto", |
| 2598 | "protos/perfetto/trace/track_event/track_event.proto", |
| 2599 | ], |
| 2600 | tools: [ |
| 2601 | "aprotoc", |
| 2602 | ], |
| 2603 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 2604 | out: [ |
| 2605 | "external/perfetto/protos/perfetto/trace/track_event/debug_annotation.pb.cc", |
Nicolò Mazzucato | 85940b7 | 2019-07-18 10:32:39 +0100 | [diff] [blame] | 2606 | "external/perfetto/protos/perfetto/trace/track_event/log_message.pb.cc", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 2607 | "external/perfetto/protos/perfetto/trace/track_event/process_descriptor.pb.cc", |
Nicolò Mazzucato | 85940b7 | 2019-07-18 10:32:39 +0100 | [diff] [blame] | 2608 | "external/perfetto/protos/perfetto/trace/track_event/source_location.pb.cc", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 2609 | "external/perfetto/protos/perfetto/trace/track_event/task_execution.pb.cc", |
| 2610 | "external/perfetto/protos/perfetto/trace/track_event/thread_descriptor.pb.cc", |
| 2611 | "external/perfetto/protos/perfetto/trace/track_event/track_event.pb.cc", |
| 2612 | ], |
| 2613 | } |
| 2614 | |
| 2615 | // GN target: //protos/perfetto/trace/track_event:lite_gen |
| 2616 | genrule { |
| 2617 | name: "perfetto_protos_perfetto_trace_track_event_lite_gen_headers", |
| 2618 | srcs: [ |
| 2619 | "protos/perfetto/trace/track_event/debug_annotation.proto", |
Nicolò Mazzucato | 85940b7 | 2019-07-18 10:32:39 +0100 | [diff] [blame] | 2620 | "protos/perfetto/trace/track_event/log_message.proto", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 2621 | "protos/perfetto/trace/track_event/process_descriptor.proto", |
Nicolò Mazzucato | 85940b7 | 2019-07-18 10:32:39 +0100 | [diff] [blame] | 2622 | "protos/perfetto/trace/track_event/source_location.proto", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 2623 | "protos/perfetto/trace/track_event/task_execution.proto", |
| 2624 | "protos/perfetto/trace/track_event/thread_descriptor.proto", |
| 2625 | "protos/perfetto/trace/track_event/track_event.proto", |
| 2626 | ], |
| 2627 | tools: [ |
| 2628 | "aprotoc", |
| 2629 | ], |
| 2630 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 2631 | out: [ |
| 2632 | "external/perfetto/protos/perfetto/trace/track_event/debug_annotation.pb.h", |
Nicolò Mazzucato | 85940b7 | 2019-07-18 10:32:39 +0100 | [diff] [blame] | 2633 | "external/perfetto/protos/perfetto/trace/track_event/log_message.pb.h", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 2634 | "external/perfetto/protos/perfetto/trace/track_event/process_descriptor.pb.h", |
Nicolò Mazzucato | 85940b7 | 2019-07-18 10:32:39 +0100 | [diff] [blame] | 2635 | "external/perfetto/protos/perfetto/trace/track_event/source_location.pb.h", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 2636 | "external/perfetto/protos/perfetto/trace/track_event/task_execution.pb.h", |
| 2637 | "external/perfetto/protos/perfetto/trace/track_event/thread_descriptor.pb.h", |
| 2638 | "external/perfetto/protos/perfetto/trace/track_event/track_event.pb.h", |
| 2639 | ], |
| 2640 | export_include_dirs: [ |
| 2641 | "protos", |
| 2642 | ], |
| 2643 | } |
| 2644 | |
| 2645 | // GN target: //protos/perfetto/trace/track_event:zero_gen |
| 2646 | genrule { |
| 2647 | name: "perfetto_protos_perfetto_trace_track_event_zero_gen", |
| 2648 | srcs: [ |
| 2649 | "protos/perfetto/trace/track_event/debug_annotation.proto", |
Nicolò Mazzucato | 85940b7 | 2019-07-18 10:32:39 +0100 | [diff] [blame] | 2650 | "protos/perfetto/trace/track_event/log_message.proto", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 2651 | "protos/perfetto/trace/track_event/process_descriptor.proto", |
Nicolò Mazzucato | 85940b7 | 2019-07-18 10:32:39 +0100 | [diff] [blame] | 2652 | "protos/perfetto/trace/track_event/source_location.proto", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 2653 | "protos/perfetto/trace/track_event/task_execution.proto", |
| 2654 | "protos/perfetto/trace/track_event/thread_descriptor.proto", |
| 2655 | "protos/perfetto/trace/track_event/track_event.proto", |
| 2656 | ], |
| 2657 | tools: [ |
| 2658 | "aprotoc", |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 2659 | "perfetto_src_protozero_protoc_plugin_protozero_plugin___gn_standalone_toolchain_gcc_like_host_", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 2660 | ], |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 2661 | 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_protozero_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 2662 | out: [ |
| 2663 | "external/perfetto/protos/perfetto/trace/track_event/debug_annotation.pbzero.cc", |
Nicolò Mazzucato | 85940b7 | 2019-07-18 10:32:39 +0100 | [diff] [blame] | 2664 | "external/perfetto/protos/perfetto/trace/track_event/log_message.pbzero.cc", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 2665 | "external/perfetto/protos/perfetto/trace/track_event/process_descriptor.pbzero.cc", |
Nicolò Mazzucato | 85940b7 | 2019-07-18 10:32:39 +0100 | [diff] [blame] | 2666 | "external/perfetto/protos/perfetto/trace/track_event/source_location.pbzero.cc", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 2667 | "external/perfetto/protos/perfetto/trace/track_event/task_execution.pbzero.cc", |
| 2668 | "external/perfetto/protos/perfetto/trace/track_event/thread_descriptor.pbzero.cc", |
| 2669 | "external/perfetto/protos/perfetto/trace/track_event/track_event.pbzero.cc", |
| 2670 | ], |
| 2671 | } |
| 2672 | |
| 2673 | // GN target: //protos/perfetto/trace/track_event:zero_gen |
| 2674 | genrule { |
| 2675 | name: "perfetto_protos_perfetto_trace_track_event_zero_gen_headers", |
| 2676 | srcs: [ |
| 2677 | "protos/perfetto/trace/track_event/debug_annotation.proto", |
Nicolò Mazzucato | 85940b7 | 2019-07-18 10:32:39 +0100 | [diff] [blame] | 2678 | "protos/perfetto/trace/track_event/log_message.proto", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 2679 | "protos/perfetto/trace/track_event/process_descriptor.proto", |
Nicolò Mazzucato | 85940b7 | 2019-07-18 10:32:39 +0100 | [diff] [blame] | 2680 | "protos/perfetto/trace/track_event/source_location.proto", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 2681 | "protos/perfetto/trace/track_event/task_execution.proto", |
| 2682 | "protos/perfetto/trace/track_event/thread_descriptor.proto", |
| 2683 | "protos/perfetto/trace/track_event/track_event.proto", |
| 2684 | ], |
| 2685 | tools: [ |
| 2686 | "aprotoc", |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 2687 | "perfetto_src_protozero_protoc_plugin_protozero_plugin___gn_standalone_toolchain_gcc_like_host_", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 2688 | ], |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 2689 | 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_protozero_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 2690 | out: [ |
| 2691 | "external/perfetto/protos/perfetto/trace/track_event/debug_annotation.pbzero.h", |
Nicolò Mazzucato | 85940b7 | 2019-07-18 10:32:39 +0100 | [diff] [blame] | 2692 | "external/perfetto/protos/perfetto/trace/track_event/log_message.pbzero.h", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 2693 | "external/perfetto/protos/perfetto/trace/track_event/process_descriptor.pbzero.h", |
Nicolò Mazzucato | 85940b7 | 2019-07-18 10:32:39 +0100 | [diff] [blame] | 2694 | "external/perfetto/protos/perfetto/trace/track_event/source_location.pbzero.h", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 2695 | "external/perfetto/protos/perfetto/trace/track_event/task_execution.pbzero.h", |
| 2696 | "external/perfetto/protos/perfetto/trace/track_event/thread_descriptor.pbzero.h", |
| 2697 | "external/perfetto/protos/perfetto/trace/track_event/track_event.pbzero.h", |
| 2698 | ], |
| 2699 | export_include_dirs: [ |
| 2700 | "protos", |
| 2701 | ], |
| 2702 | } |
| 2703 | |
Oystein Eftevaag | 4d0f6c8 | 2018-04-30 14:19:59 -0700 | [diff] [blame] | 2704 | // GN target: //protos/perfetto/trace:trusted_lite_gen |
| 2705 | genrule { |
| 2706 | name: "perfetto_protos_perfetto_trace_trusted_lite_gen", |
| 2707 | srcs: [ |
| 2708 | "protos/perfetto/trace/trusted_packet.proto", |
| 2709 | ], |
| 2710 | tools: [ |
| 2711 | "aprotoc", |
| 2712 | ], |
| 2713 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 2714 | out: [ |
| 2715 | "external/perfetto/protos/perfetto/trace/trusted_packet.pb.cc", |
| 2716 | ], |
| 2717 | } |
| 2718 | |
| 2719 | // GN target: //protos/perfetto/trace:trusted_lite_gen |
| 2720 | genrule { |
| 2721 | name: "perfetto_protos_perfetto_trace_trusted_lite_gen_headers", |
| 2722 | srcs: [ |
| 2723 | "protos/perfetto/trace/trusted_packet.proto", |
| 2724 | ], |
| 2725 | tools: [ |
| 2726 | "aprotoc", |
| 2727 | ], |
| 2728 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 2729 | out: [ |
| 2730 | "external/perfetto/protos/perfetto/trace/trusted_packet.pb.h", |
| 2731 | ], |
| 2732 | export_include_dirs: [ |
| 2733 | "protos", |
| 2734 | ], |
| 2735 | } |
| 2736 | |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2737 | // GN target: //protos/perfetto/trace:zero_gen |
| 2738 | genrule { |
| 2739 | name: "perfetto_protos_perfetto_trace_zero_gen", |
| 2740 | srcs: [ |
Sami Kyostila | fbccb3c | 2018-03-21 14:00:47 +0000 | [diff] [blame] | 2741 | "protos/perfetto/trace/clock_snapshot.proto", |
Hector Dearman | 685f752 | 2019-03-12 14:28:56 +0000 | [diff] [blame] | 2742 | "protos/perfetto/trace/system_info.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2743 | "protos/perfetto/trace/test_event.proto", |
| 2744 | "protos/perfetto/trace/trace.proto", |
| 2745 | "protos/perfetto/trace/trace_packet.proto", |
Stephen Nusko | 70ea330 | 2019-04-01 19:44:40 +0100 | [diff] [blame] | 2746 | "protos/perfetto/trace/trigger.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2747 | ], |
| 2748 | tools: [ |
| 2749 | "aprotoc", |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 2750 | "perfetto_src_protozero_protoc_plugin_protozero_plugin___gn_standalone_toolchain_gcc_like_host_", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2751 | ], |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 2752 | 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_protozero_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2753 | out: [ |
Sami Kyostila | fbccb3c | 2018-03-21 14:00:47 +0000 | [diff] [blame] | 2754 | "external/perfetto/protos/perfetto/trace/clock_snapshot.pbzero.cc", |
Hector Dearman | 685f752 | 2019-03-12 14:28:56 +0000 | [diff] [blame] | 2755 | "external/perfetto/protos/perfetto/trace/system_info.pbzero.cc", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2756 | "external/perfetto/protos/perfetto/trace/test_event.pbzero.cc", |
| 2757 | "external/perfetto/protos/perfetto/trace/trace.pbzero.cc", |
| 2758 | "external/perfetto/protos/perfetto/trace/trace_packet.pbzero.cc", |
Stephen Nusko | 70ea330 | 2019-04-01 19:44:40 +0100 | [diff] [blame] | 2759 | "external/perfetto/protos/perfetto/trace/trigger.pbzero.cc", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2760 | ], |
| 2761 | } |
| 2762 | |
| 2763 | // GN target: //protos/perfetto/trace:zero_gen |
| 2764 | genrule { |
| 2765 | name: "perfetto_protos_perfetto_trace_zero_gen_headers", |
| 2766 | srcs: [ |
Sami Kyostila | fbccb3c | 2018-03-21 14:00:47 +0000 | [diff] [blame] | 2767 | "protos/perfetto/trace/clock_snapshot.proto", |
Hector Dearman | 685f752 | 2019-03-12 14:28:56 +0000 | [diff] [blame] | 2768 | "protos/perfetto/trace/system_info.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2769 | "protos/perfetto/trace/test_event.proto", |
| 2770 | "protos/perfetto/trace/trace.proto", |
| 2771 | "protos/perfetto/trace/trace_packet.proto", |
Stephen Nusko | 70ea330 | 2019-04-01 19:44:40 +0100 | [diff] [blame] | 2772 | "protos/perfetto/trace/trigger.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2773 | ], |
| 2774 | tools: [ |
| 2775 | "aprotoc", |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 2776 | "perfetto_src_protozero_protoc_plugin_protozero_plugin___gn_standalone_toolchain_gcc_like_host_", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2777 | ], |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 2778 | 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_protozero_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2779 | out: [ |
Sami Kyostila | fbccb3c | 2018-03-21 14:00:47 +0000 | [diff] [blame] | 2780 | "external/perfetto/protos/perfetto/trace/clock_snapshot.pbzero.h", |
Hector Dearman | 685f752 | 2019-03-12 14:28:56 +0000 | [diff] [blame] | 2781 | "external/perfetto/protos/perfetto/trace/system_info.pbzero.h", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2782 | "external/perfetto/protos/perfetto/trace/test_event.pbzero.h", |
| 2783 | "external/perfetto/protos/perfetto/trace/trace.pbzero.h", |
| 2784 | "external/perfetto/protos/perfetto/trace/trace_packet.pbzero.h", |
Stephen Nusko | 70ea330 | 2019-04-01 19:44:40 +0100 | [diff] [blame] | 2785 | "external/perfetto/protos/perfetto/trace/trigger.pbzero.h", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2786 | ], |
| 2787 | export_include_dirs: [ |
| 2788 | "protos", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2789 | ], |
| 2790 | } |
| 2791 | |
Florian Mayer | 0ca7fb4 | 2018-11-15 21:13:42 +0000 | [diff] [blame] | 2792 | // GN target: //protos/third_party/pprof:lite_gen |
| 2793 | genrule { |
| 2794 | name: "perfetto_protos_third_party_pprof_lite_gen", |
| 2795 | srcs: [ |
| 2796 | "protos/third_party/pprof/profile.proto", |
| 2797 | ], |
| 2798 | tools: [ |
| 2799 | "aprotoc", |
| 2800 | ], |
| 2801 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 2802 | out: [ |
| 2803 | "external/perfetto/protos/third_party/pprof/profile.pb.cc", |
| 2804 | ], |
| 2805 | } |
| 2806 | |
| 2807 | // GN target: //protos/third_party/pprof:lite_gen |
| 2808 | genrule { |
| 2809 | name: "perfetto_protos_third_party_pprof_lite_gen_headers", |
| 2810 | srcs: [ |
| 2811 | "protos/third_party/pprof/profile.proto", |
| 2812 | ], |
| 2813 | tools: [ |
| 2814 | "aprotoc", |
| 2815 | ], |
| 2816 | cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)", |
| 2817 | out: [ |
| 2818 | "external/perfetto/protos/third_party/pprof/profile.pb.h", |
| 2819 | ], |
| 2820 | export_include_dirs: [ |
| 2821 | "protos", |
| 2822 | ], |
| 2823 | } |
| 2824 | |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2825 | // GN target: //src/ipc/protoc_plugin:ipc_plugin(//gn/standalone/toolchain:gcc_like_host) |
| 2826 | cc_binary_host { |
| 2827 | name: "perfetto_src_ipc_protoc_plugin_ipc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 2828 | srcs: [ |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2829 | "src/ipc/protoc_plugin/ipc_plugin.cc", |
| 2830 | ], |
| 2831 | shared_libs: [ |
| 2832 | "libprotoc", |
| 2833 | ], |
| 2834 | defaults: [ |
| 2835 | "perfetto_defaults", |
| 2836 | ], |
Florian Mayer | 3d5e7e6 | 2018-01-19 15:22:46 +0000 | [diff] [blame] | 2837 | cflags: [ |
| 2838 | "-DGOOGLE_PROTOBUF_NO_RTTI", |
| 2839 | "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
Primiano Tucci | 7c7f5f5 | 2019-01-15 21:47:04 +0000 | [diff] [blame] | 2840 | "-DPERFETTO_BUILD_WITH_ANDROID", |
Florian Mayer | 3d5e7e6 | 2018-01-19 15:22:46 +0000 | [diff] [blame] | 2841 | ], |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2842 | } |
| 2843 | |
| 2844 | // GN target: //src/ipc:test_messages_gen |
| 2845 | genrule { |
| 2846 | name: "perfetto_src_ipc_test_messages_gen", |
| 2847 | srcs: [ |
| 2848 | "src/ipc/test/client_unittest_messages.proto", |
| 2849 | "src/ipc/test/deferred_unittest_messages.proto", |
| 2850 | "src/ipc/test/greeter_service.proto", |
| 2851 | ], |
| 2852 | tools: [ |
| 2853 | "aprotoc", |
| 2854 | "perfetto_src_ipc_protoc_plugin_ipc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 2855 | ], |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2856 | 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] | 2857 | out: [ |
| 2858 | "external/perfetto/src/ipc/test/client_unittest_messages.ipc.cc", |
| 2859 | "external/perfetto/src/ipc/test/client_unittest_messages.pb.cc", |
| 2860 | "external/perfetto/src/ipc/test/deferred_unittest_messages.ipc.cc", |
| 2861 | "external/perfetto/src/ipc/test/deferred_unittest_messages.pb.cc", |
| 2862 | "external/perfetto/src/ipc/test/greeter_service.ipc.cc", |
| 2863 | "external/perfetto/src/ipc/test/greeter_service.pb.cc", |
| 2864 | ], |
| 2865 | } |
| 2866 | |
| 2867 | // GN target: //src/ipc:test_messages_gen |
| 2868 | genrule { |
| 2869 | name: "perfetto_src_ipc_test_messages_gen_headers", |
| 2870 | srcs: [ |
| 2871 | "src/ipc/test/client_unittest_messages.proto", |
| 2872 | "src/ipc/test/deferred_unittest_messages.proto", |
| 2873 | "src/ipc/test/greeter_service.proto", |
| 2874 | ], |
| 2875 | tools: [ |
| 2876 | "aprotoc", |
| 2877 | "perfetto_src_ipc_protoc_plugin_ipc_plugin___gn_standalone_toolchain_gcc_like_host_", |
| 2878 | ], |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2879 | 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] | 2880 | out: [ |
| 2881 | "external/perfetto/src/ipc/test/client_unittest_messages.ipc.h", |
| 2882 | "external/perfetto/src/ipc/test/client_unittest_messages.pb.h", |
| 2883 | "external/perfetto/src/ipc/test/deferred_unittest_messages.ipc.h", |
| 2884 | "external/perfetto/src/ipc/test/deferred_unittest_messages.pb.h", |
| 2885 | "external/perfetto/src/ipc/test/greeter_service.ipc.h", |
| 2886 | "external/perfetto/src/ipc/test/greeter_service.pb.h", |
| 2887 | ], |
| 2888 | export_include_dirs: [ |
| 2889 | ".", |
| 2890 | ], |
| 2891 | } |
| 2892 | |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 2893 | // GN target: //src/ipc:wire_protocol_gen |
Sami Kyostila | 71625d7 | 2017-12-18 10:29:49 +0000 | [diff] [blame] | 2894 | genrule { |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 2895 | name: "perfetto_src_ipc_wire_protocol_gen", |
| 2896 | srcs: [ |
| 2897 | "src/ipc/wire_protocol.proto", |
| 2898 | ], |
| 2899 | tools: [ |
| 2900 | "aprotoc", |
| 2901 | ], |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2902 | 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] | 2903 | out: [ |
| 2904 | "external/perfetto/src/ipc/wire_protocol.pb.cc", |
| 2905 | ], |
| 2906 | } |
| 2907 | |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2908 | // GN target: //src/ipc:wire_protocol_gen |
| 2909 | genrule { |
| 2910 | name: "perfetto_src_ipc_wire_protocol_gen_headers", |
| 2911 | srcs: [ |
| 2912 | "src/ipc/wire_protocol.proto", |
| 2913 | ], |
| 2914 | tools: [ |
| 2915 | "aprotoc", |
| 2916 | ], |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2917 | 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] | 2918 | out: [ |
| 2919 | "external/perfetto/src/ipc/wire_protocol.pb.h", |
| 2920 | ], |
| 2921 | export_include_dirs: [ |
| 2922 | ".", |
| 2923 | ], |
| 2924 | } |
| 2925 | |
Hector Dearman | 86cfbe1 | 2018-03-22 11:58:42 +0000 | [diff] [blame] | 2926 | // GN target: //src/perfetto_cmd:protos_gen |
| 2927 | genrule { |
| 2928 | name: "perfetto_src_perfetto_cmd_protos_gen", |
| 2929 | srcs: [ |
| 2930 | "src/perfetto_cmd/perfetto_cmd_state.proto", |
| 2931 | ], |
| 2932 | tools: [ |
| 2933 | "aprotoc", |
| 2934 | ], |
| 2935 | cmd: "mkdir -p $(genDir)/external/perfetto && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto --proto_path=external/perfetto/ $(in)", |
| 2936 | out: [ |
| 2937 | "external/perfetto/src/perfetto_cmd/perfetto_cmd_state.pb.cc", |
| 2938 | ], |
| 2939 | } |
| 2940 | |
| 2941 | // GN target: //src/perfetto_cmd:protos_gen |
| 2942 | genrule { |
| 2943 | name: "perfetto_src_perfetto_cmd_protos_gen_headers", |
| 2944 | srcs: [ |
| 2945 | "src/perfetto_cmd/perfetto_cmd_state.proto", |
| 2946 | ], |
| 2947 | tools: [ |
| 2948 | "aprotoc", |
| 2949 | ], |
| 2950 | cmd: "mkdir -p $(genDir)/external/perfetto && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto --proto_path=external/perfetto/ $(in)", |
| 2951 | out: [ |
| 2952 | "external/perfetto/src/perfetto_cmd/perfetto_cmd_state.pb.h", |
| 2953 | ], |
| 2954 | export_include_dirs: [ |
| 2955 | ".", |
| 2956 | ], |
| 2957 | } |
| 2958 | |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 2959 | // GN target: //src/protozero/protoc_plugin:protozero_plugin(//gn/standalone/toolchain:gcc_like_host) |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2960 | cc_binary_host { |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 2961 | name: "perfetto_src_protozero_protoc_plugin_protozero_plugin___gn_standalone_toolchain_gcc_like_host_", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2962 | srcs: [ |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2963 | "src/protozero/protoc_plugin/protozero_plugin.cc", |
| 2964 | ], |
| 2965 | shared_libs: [ |
| 2966 | "libprotoc", |
| 2967 | ], |
| 2968 | defaults: [ |
| 2969 | "perfetto_defaults", |
| 2970 | ], |
Florian Mayer | 3d5e7e6 | 2018-01-19 15:22:46 +0000 | [diff] [blame] | 2971 | cflags: [ |
| 2972 | "-DGOOGLE_PROTOBUF_NO_RTTI", |
| 2973 | "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
Primiano Tucci | 7c7f5f5 | 2019-01-15 21:47:04 +0000 | [diff] [blame] | 2974 | "-DPERFETTO_BUILD_WITH_ANDROID", |
Florian Mayer | 3d5e7e6 | 2018-01-19 15:22:46 +0000 | [diff] [blame] | 2975 | ], |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2976 | } |
| 2977 | |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 2978 | // GN target: //src/protozero:testing_messages_lite_gen |
Sami Kyostila | 71625d7 | 2017-12-18 10:29:49 +0000 | [diff] [blame] | 2979 | genrule { |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 2980 | name: "perfetto_src_protozero_testing_messages_lite_gen", |
| 2981 | srcs: [ |
| 2982 | "src/protozero/test/example_proto/library.proto", |
| 2983 | "src/protozero/test/example_proto/library_internals/galaxies.proto", |
| 2984 | "src/protozero/test/example_proto/test_messages.proto", |
| 2985 | "src/protozero/test/example_proto/upper_import.proto", |
| 2986 | ], |
| 2987 | tools: [ |
| 2988 | "aprotoc", |
| 2989 | ], |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2990 | 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] | 2991 | out: [ |
| 2992 | "external/perfetto/src/protozero/test/example_proto/library.pb.cc", |
| 2993 | "external/perfetto/src/protozero/test/example_proto/library_internals/galaxies.pb.cc", |
| 2994 | "external/perfetto/src/protozero/test/example_proto/test_messages.pb.cc", |
| 2995 | "external/perfetto/src/protozero/test/example_proto/upper_import.pb.cc", |
| 2996 | ], |
| 2997 | } |
| 2998 | |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2999 | // GN target: //src/protozero:testing_messages_lite_gen |
| 3000 | genrule { |
| 3001 | name: "perfetto_src_protozero_testing_messages_lite_gen_headers", |
| 3002 | srcs: [ |
| 3003 | "src/protozero/test/example_proto/library.proto", |
| 3004 | "src/protozero/test/example_proto/library_internals/galaxies.proto", |
| 3005 | "src/protozero/test/example_proto/test_messages.proto", |
| 3006 | "src/protozero/test/example_proto/upper_import.proto", |
| 3007 | ], |
| 3008 | tools: [ |
| 3009 | "aprotoc", |
| 3010 | ], |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3011 | 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] | 3012 | out: [ |
| 3013 | "external/perfetto/src/protozero/test/example_proto/library.pb.h", |
| 3014 | "external/perfetto/src/protozero/test/example_proto/library_internals/galaxies.pb.h", |
| 3015 | "external/perfetto/src/protozero/test/example_proto/test_messages.pb.h", |
| 3016 | "external/perfetto/src/protozero/test/example_proto/upper_import.pb.h", |
| 3017 | ], |
| 3018 | export_include_dirs: [ |
| 3019 | ".", |
| 3020 | ], |
| 3021 | } |
| 3022 | |
| 3023 | // GN target: //src/protozero:testing_messages_zero_gen |
| 3024 | genrule { |
| 3025 | name: "perfetto_src_protozero_testing_messages_zero_gen", |
| 3026 | srcs: [ |
| 3027 | "src/protozero/test/example_proto/library.proto", |
| 3028 | "src/protozero/test/example_proto/library_internals/galaxies.proto", |
| 3029 | "src/protozero/test/example_proto/test_messages.proto", |
| 3030 | "src/protozero/test/example_proto/upper_import.proto", |
| 3031 | ], |
| 3032 | tools: [ |
| 3033 | "aprotoc", |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 3034 | "perfetto_src_protozero_protoc_plugin_protozero_plugin___gn_standalone_toolchain_gcc_like_host_", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 3035 | ], |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 3036 | 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_protozero_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] | 3037 | out: [ |
| 3038 | "external/perfetto/src/protozero/test/example_proto/library.pbzero.cc", |
| 3039 | "external/perfetto/src/protozero/test/example_proto/library_internals/galaxies.pbzero.cc", |
| 3040 | "external/perfetto/src/protozero/test/example_proto/test_messages.pbzero.cc", |
| 3041 | "external/perfetto/src/protozero/test/example_proto/upper_import.pbzero.cc", |
| 3042 | ], |
| 3043 | } |
| 3044 | |
| 3045 | // GN target: //src/protozero:testing_messages_zero_gen |
| 3046 | genrule { |
| 3047 | name: "perfetto_src_protozero_testing_messages_zero_gen_headers", |
| 3048 | srcs: [ |
| 3049 | "src/protozero/test/example_proto/library.proto", |
| 3050 | "src/protozero/test/example_proto/library_internals/galaxies.proto", |
| 3051 | "src/protozero/test/example_proto/test_messages.proto", |
| 3052 | "src/protozero/test/example_proto/upper_import.proto", |
| 3053 | ], |
| 3054 | tools: [ |
| 3055 | "aprotoc", |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 3056 | "perfetto_src_protozero_protoc_plugin_protozero_plugin___gn_standalone_toolchain_gcc_like_host_", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 3057 | ], |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 3058 | 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_protozero_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] | 3059 | out: [ |
| 3060 | "external/perfetto/src/protozero/test/example_proto/library.pbzero.h", |
| 3061 | "external/perfetto/src/protozero/test/example_proto/library_internals/galaxies.pbzero.h", |
| 3062 | "external/perfetto/src/protozero/test/example_proto/test_messages.pbzero.h", |
| 3063 | "external/perfetto/src/protozero/test/example_proto/upper_import.pbzero.h", |
| 3064 | ], |
| 3065 | export_include_dirs: [ |
| 3066 | ".", |
| 3067 | ], |
| 3068 | } |
| 3069 | |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 3070 | // GN target: //src/traced/probes/ftrace:test_messages_lite_gen |
| 3071 | genrule { |
| 3072 | name: "perfetto_src_traced_probes_ftrace_test_messages_lite_gen", |
| 3073 | srcs: [ |
| 3074 | "src/traced/probes/ftrace/test/test_messages.proto", |
| 3075 | ], |
| 3076 | tools: [ |
| 3077 | "aprotoc", |
| 3078 | ], |
| 3079 | cmd: "mkdir -p $(genDir)/external/perfetto && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto --proto_path=external/perfetto/ $(in)", |
| 3080 | out: [ |
| 3081 | "external/perfetto/src/traced/probes/ftrace/test/test_messages.pb.cc", |
| 3082 | ], |
| 3083 | } |
| 3084 | |
| 3085 | // GN target: //src/traced/probes/ftrace:test_messages_lite_gen |
| 3086 | genrule { |
| 3087 | name: "perfetto_src_traced_probes_ftrace_test_messages_lite_gen_headers", |
| 3088 | srcs: [ |
| 3089 | "src/traced/probes/ftrace/test/test_messages.proto", |
| 3090 | ], |
| 3091 | tools: [ |
| 3092 | "aprotoc", |
| 3093 | ], |
| 3094 | cmd: "mkdir -p $(genDir)/external/perfetto && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto --proto_path=external/perfetto/ $(in)", |
| 3095 | out: [ |
| 3096 | "external/perfetto/src/traced/probes/ftrace/test/test_messages.pb.h", |
| 3097 | ], |
| 3098 | export_include_dirs: [ |
| 3099 | ".", |
| 3100 | ], |
| 3101 | } |
| 3102 | |
| 3103 | // GN target: //src/traced/probes/ftrace:test_messages_zero_gen |
| 3104 | genrule { |
| 3105 | name: "perfetto_src_traced_probes_ftrace_test_messages_zero_gen", |
| 3106 | srcs: [ |
| 3107 | "src/traced/probes/ftrace/test/test_messages.proto", |
| 3108 | ], |
| 3109 | tools: [ |
| 3110 | "aprotoc", |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 3111 | "perfetto_src_protozero_protoc_plugin_protozero_plugin___gn_standalone_toolchain_gcc_like_host_", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 3112 | ], |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 3113 | 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_protozero_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto $(in)", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 3114 | out: [ |
| 3115 | "external/perfetto/src/traced/probes/ftrace/test/test_messages.pbzero.cc", |
| 3116 | ], |
| 3117 | } |
| 3118 | |
| 3119 | // GN target: //src/traced/probes/ftrace:test_messages_zero_gen |
| 3120 | genrule { |
| 3121 | name: "perfetto_src_traced_probes_ftrace_test_messages_zero_gen_headers", |
| 3122 | srcs: [ |
| 3123 | "src/traced/probes/ftrace/test/test_messages.proto", |
| 3124 | ], |
| 3125 | tools: [ |
| 3126 | "aprotoc", |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 3127 | "perfetto_src_protozero_protoc_plugin_protozero_plugin___gn_standalone_toolchain_gcc_like_host_", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 3128 | ], |
Primiano Tucci | 764c504 | 2019-06-22 18:28:45 +0100 | [diff] [blame] | 3129 | 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_protozero_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto $(in)", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 3130 | out: [ |
| 3131 | "external/perfetto/src/traced/probes/ftrace/test/test_messages.pbzero.h", |
| 3132 | ], |
| 3133 | export_include_dirs: [ |
| 3134 | ".", |
| 3135 | ], |
| 3136 | } |
| 3137 | |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 3138 | // GN target: //src/tracing:ipc |
| 3139 | cc_library_static { |
| 3140 | name: "perfetto_src_tracing_ipc", |
| 3141 | srcs: [ |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 3142 | ":perfetto_protos_perfetto_common_lite_gen", |
| 3143 | ":perfetto_protos_perfetto_common_zero_gen", |
| 3144 | ":perfetto_protos_perfetto_config_lite_gen", |
| 3145 | ":perfetto_protos_perfetto_config_zero_gen", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3146 | ":perfetto_protos_perfetto_ipc_ipc_gen", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 3147 | ":perfetto_protos_perfetto_trace_android_zero_gen", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 3148 | ":perfetto_protos_perfetto_trace_chrome_zero_gen", |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 3149 | ":perfetto_protos_perfetto_trace_filesystem_zero_gen", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3150 | ":perfetto_protos_perfetto_trace_ftrace_zero_gen", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 3151 | ":perfetto_protos_perfetto_trace_gpu_zero_gen", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 3152 | ":perfetto_protos_perfetto_trace_interned_data_zero_gen", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 3153 | ":perfetto_protos_perfetto_trace_minimal_lite_gen", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 3154 | ":perfetto_protos_perfetto_trace_perfetto_zero_gen", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 3155 | ":perfetto_protos_perfetto_trace_power_zero_gen", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 3156 | ":perfetto_protos_perfetto_trace_profiling_zero_gen", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 3157 | ":perfetto_protos_perfetto_trace_ps_zero_gen", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 3158 | ":perfetto_protos_perfetto_trace_sys_stats_zero_gen", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 3159 | ":perfetto_protos_perfetto_trace_track_event_zero_gen", |
Oystein Eftevaag | 4d0f6c8 | 2018-04-30 14:19:59 -0700 | [diff] [blame] | 3160 | ":perfetto_protos_perfetto_trace_trusted_lite_gen", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3161 | ":perfetto_protos_perfetto_trace_zero_gen", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 3162 | ":perfetto_src_ipc_wire_protocol_gen", |
Sami Kyostila | 389861f | 2019-07-09 20:52:43 +0100 | [diff] [blame] | 3163 | "src/base/event_fd.cc", |
Florian Mayer | 74b73a9 | 2018-03-09 17:37:13 +0000 | [diff] [blame] | 3164 | "src/base/file_utils.cc", |
Florian Mayer | 236ba47 | 2018-05-09 15:47:53 +0100 | [diff] [blame] | 3165 | "src/base/metatrace.cc", |
Eric Seckler | edf3f7c | 2018-10-23 16:44:53 +0100 | [diff] [blame] | 3166 | "src/base/paged_memory.cc", |
Primiano Tucci | 76499cd | 2018-11-21 10:54:04 +0100 | [diff] [blame] | 3167 | "src/base/pipe.cc", |
Primiano Tucci | 825e6de | 2018-03-13 05:43:15 +0000 | [diff] [blame] | 3168 | "src/base/string_splitter.cc", |
Hector Dearman | 3afb1e0 | 2018-04-27 16:46:52 +0100 | [diff] [blame] | 3169 | "src/base/string_utils.cc", |
Primiano Tucci | 60c4a2b | 2019-03-02 17:11:18 +0000 | [diff] [blame] | 3170 | "src/base/string_view.cc", |
Primiano Tucci | 941b221 | 2018-03-14 22:46:31 +0000 | [diff] [blame] | 3171 | "src/base/temp_file.cc", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 3172 | "src/base/thread_checker.cc", |
Ryan Savitski | 2988579 | 2019-03-14 12:10:13 +0000 | [diff] [blame] | 3173 | "src/base/thread_task_runner.cc", |
Florian Mayer | 75905df | 2018-05-08 17:44:08 +0100 | [diff] [blame] | 3174 | "src/base/time.cc", |
Florian Mayer | f7f0def | 2018-09-27 13:59:24 +0100 | [diff] [blame] | 3175 | "src/base/unix_socket.cc", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 3176 | "src/base/unix_task_runner.cc", |
Primiano Tucci | 3cbb10a | 2018-04-10 17:52:40 +0100 | [diff] [blame] | 3177 | "src/base/virtual_destructors.cc", |
Sami Kyostila | 389861f | 2019-07-09 20:52:43 +0100 | [diff] [blame] | 3178 | "src/base/waitable_event.cc", |
Primiano Tucci | 808d6df | 2018-03-31 13:24:18 +0100 | [diff] [blame] | 3179 | "src/base/watchdog_posix.cc", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 3180 | "src/ipc/buffered_frame_deserializer.cc", |
| 3181 | "src/ipc/client_impl.cc", |
| 3182 | "src/ipc/deferred.cc", |
| 3183 | "src/ipc/host_impl.cc", |
| 3184 | "src/ipc/service_proxy.cc", |
Primiano Tucci | 3cbb10a | 2018-04-10 17:52:40 +0100 | [diff] [blame] | 3185 | "src/ipc/virtual_destructors.cc", |
Hector Dearman | e1e56b6 | 2018-02-21 19:11:58 +0000 | [diff] [blame] | 3186 | "src/protozero/message.cc", |
| 3187 | "src/protozero/message_handle.cc", |
Lalit Maganti | 45172a8 | 2018-06-01 03:04:43 +0100 | [diff] [blame] | 3188 | "src/protozero/proto_decoder.cc", |
Eric Seckler | 7631120 | 2019-01-07 12:20:25 +0000 | [diff] [blame] | 3189 | "src/protozero/scattered_heap_buffer.cc", |
Hector Dearman | 9a5a0e9 | 2018-03-27 17:52:24 +0100 | [diff] [blame] | 3190 | "src/protozero/scattered_stream_null_delegate.cc", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 3191 | "src/protozero/scattered_stream_writer.cc", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 3192 | "src/tracing/core/chrome_config.cc", |
Primiano Tucci | 79f3f91 | 2018-03-02 12:00:31 +0000 | [diff] [blame] | 3193 | "src/tracing/core/commit_data_request.cc", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 3194 | "src/tracing/core/data_source_config.cc", |
| 3195 | "src/tracing/core/data_source_descriptor.cc", |
| 3196 | "src/tracing/core/id_allocator.cc", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 3197 | "src/tracing/core/metatrace_writer.cc", |
Hector Dearman | 9a5a0e9 | 2018-03-27 17:52:24 +0100 | [diff] [blame] | 3198 | "src/tracing/core/null_trace_writer.cc", |
Eric Seckler | 7b0c945 | 2019-03-18 13:14:36 +0000 | [diff] [blame] | 3199 | "src/tracing/core/observable_events.cc", |
Sami Kyostila | 32e0b54 | 2018-02-14 08:55:43 +0000 | [diff] [blame] | 3200 | "src/tracing/core/packet_stream_validator.cc", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 3201 | "src/tracing/core/shared_memory_abi.cc", |
Oystein Eftevaag | 6d0bc7f | 2018-01-13 12:21:55 -0800 | [diff] [blame] | 3202 | "src/tracing/core/shared_memory_arbiter_impl.cc", |
Primiano Tucci | 16d1d63 | 2018-02-22 10:16:22 +0000 | [diff] [blame] | 3203 | "src/tracing/core/sliced_protobuf_input_stream.cc", |
Eric Seckler | c65693d | 2019-01-11 15:12:48 +0000 | [diff] [blame] | 3204 | "src/tracing/core/startup_trace_writer.cc", |
Eric Seckler | 42777e5 | 2019-01-23 10:13:22 +0000 | [diff] [blame] | 3205 | "src/tracing/core/startup_trace_writer_registry.cc", |
Lalit Maganti | 3f5705c | 2018-03-09 12:09:44 +0000 | [diff] [blame] | 3206 | "src/tracing/core/test_config.cc", |
Primiano Tucci | 5c59901 | 2018-03-01 17:52:07 +0000 | [diff] [blame] | 3207 | "src/tracing/core/trace_buffer.cc", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 3208 | "src/tracing/core/trace_config.cc", |
| 3209 | "src/tracing/core/trace_packet.cc", |
Eric Seckler | eaf29ed | 2019-01-23 09:53:55 +0000 | [diff] [blame] | 3210 | "src/tracing/core/trace_stats.cc", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 3211 | "src/tracing/core/trace_writer_impl.cc", |
Florian Mayer | 6a1a4d5 | 2018-06-08 16:47:07 +0100 | [diff] [blame] | 3212 | "src/tracing/core/tracing_service_impl.cc", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 3213 | "src/tracing/core/tracing_service_state.cc", |
Primiano Tucci | 3cbb10a | 2018-04-10 17:52:40 +0100 | [diff] [blame] | 3214 | "src/tracing/core/virtual_destructors.cc", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 3215 | "src/tracing/ipc/consumer/consumer_ipc_client_impl.cc", |
Florian Mayer | c29e0d3 | 2018-04-04 15:55:46 +0100 | [diff] [blame] | 3216 | "src/tracing/ipc/default_socket.cc", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 3217 | "src/tracing/ipc/posix_shared_memory.cc", |
| 3218 | "src/tracing/ipc/producer/producer_ipc_client_impl.cc", |
| 3219 | "src/tracing/ipc/service/consumer_ipc_service.cc", |
| 3220 | "src/tracing/ipc/service/producer_ipc_service.cc", |
| 3221 | "src/tracing/ipc/service/service_ipc_host_impl.cc", |
Primiano Tucci | 2c5488f | 2019-06-01 03:27:28 +0100 | [diff] [blame] | 3222 | "src/tracing/trace_writer_base.cc", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 3223 | ], |
| 3224 | shared_libs: [ |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 3225 | "libprotobuf-cpp-lite", |
| 3226 | ], |
Lalit Maganti | c5bcd79 | 2018-01-12 18:38:11 +0000 | [diff] [blame] | 3227 | export_include_dirs: [ |
| 3228 | "include", |
| 3229 | ], |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 3230 | generated_headers: [ |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 3231 | "perfetto_protos_perfetto_common_lite_gen_headers", |
| 3232 | "perfetto_protos_perfetto_common_zero_gen_headers", |
| 3233 | "perfetto_protos_perfetto_config_lite_gen_headers", |
| 3234 | "perfetto_protos_perfetto_config_zero_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3235 | "perfetto_protos_perfetto_ipc_ipc_gen_headers", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 3236 | "perfetto_protos_perfetto_trace_android_zero_gen_headers", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 3237 | "perfetto_protos_perfetto_trace_chrome_zero_gen_headers", |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 3238 | "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3239 | "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 3240 | "perfetto_protos_perfetto_trace_gpu_zero_gen_headers", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 3241 | "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 3242 | "perfetto_protos_perfetto_trace_minimal_lite_gen_headers", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 3243 | "perfetto_protos_perfetto_trace_perfetto_zero_gen_headers", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 3244 | "perfetto_protos_perfetto_trace_power_zero_gen_headers", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 3245 | "perfetto_protos_perfetto_trace_profiling_zero_gen_headers", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 3246 | "perfetto_protos_perfetto_trace_ps_zero_gen_headers", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 3247 | "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 3248 | "perfetto_protos_perfetto_trace_track_event_zero_gen_headers", |
Oystein Eftevaag | 4d0f6c8 | 2018-04-30 14:19:59 -0700 | [diff] [blame] | 3249 | "perfetto_protos_perfetto_trace_trusted_lite_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3250 | "perfetto_protos_perfetto_trace_zero_gen_headers", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 3251 | "perfetto_src_ipc_wire_protocol_gen_headers", |
| 3252 | ], |
Lalit Maganti | c5bcd79 | 2018-01-12 18:38:11 +0000 | [diff] [blame] | 3253 | export_generated_headers: [ |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 3254 | "perfetto_protos_perfetto_common_lite_gen_headers", |
| 3255 | "perfetto_protos_perfetto_common_zero_gen_headers", |
| 3256 | "perfetto_protos_perfetto_config_lite_gen_headers", |
| 3257 | "perfetto_protos_perfetto_config_zero_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3258 | "perfetto_protos_perfetto_ipc_ipc_gen_headers", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 3259 | "perfetto_protos_perfetto_trace_android_zero_gen_headers", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 3260 | "perfetto_protos_perfetto_trace_chrome_zero_gen_headers", |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 3261 | "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3262 | "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 3263 | "perfetto_protos_perfetto_trace_gpu_zero_gen_headers", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 3264 | "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 3265 | "perfetto_protos_perfetto_trace_minimal_lite_gen_headers", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 3266 | "perfetto_protos_perfetto_trace_perfetto_zero_gen_headers", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 3267 | "perfetto_protos_perfetto_trace_power_zero_gen_headers", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 3268 | "perfetto_protos_perfetto_trace_profiling_zero_gen_headers", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 3269 | "perfetto_protos_perfetto_trace_ps_zero_gen_headers", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 3270 | "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 3271 | "perfetto_protos_perfetto_trace_track_event_zero_gen_headers", |
Oystein Eftevaag | 4d0f6c8 | 2018-04-30 14:19:59 -0700 | [diff] [blame] | 3272 | "perfetto_protos_perfetto_trace_trusted_lite_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3273 | "perfetto_protos_perfetto_trace_zero_gen_headers", |
Lalit Maganti | c5bcd79 | 2018-01-12 18:38:11 +0000 | [diff] [blame] | 3274 | "perfetto_src_ipc_wire_protocol_gen_headers", |
| 3275 | ], |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 3276 | defaults: [ |
| 3277 | "perfetto_defaults", |
| 3278 | ], |
Florian Mayer | 3d5e7e6 | 2018-01-19 15:22:46 +0000 | [diff] [blame] | 3279 | cflags: [ |
| 3280 | "-DGOOGLE_PROTOBUF_NO_RTTI", |
| 3281 | "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
Primiano Tucci | 7c7f5f5 | 2019-01-15 21:47:04 +0000 | [diff] [blame] | 3282 | "-DPERFETTO_BUILD_WITH_ANDROID", |
Florian Mayer | 3d5e7e6 | 2018-01-19 15:22:46 +0000 | [diff] [blame] | 3283 | ], |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 3284 | } |
| 3285 | |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 3286 | // GN target: //:perfetto_trace_protos |
| 3287 | cc_library_static { |
| 3288 | name: "perfetto_trace_protos", |
| 3289 | srcs: [ |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 3290 | ":perfetto_protos_perfetto_common_lite_gen", |
| 3291 | ":perfetto_protos_perfetto_config_lite_gen", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 3292 | ":perfetto_protos_perfetto_trace_android_lite_gen", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 3293 | ":perfetto_protos_perfetto_trace_chrome_lite_gen", |
| 3294 | ":perfetto_protos_perfetto_trace_filesystem_lite_gen", |
| 3295 | ":perfetto_protos_perfetto_trace_ftrace_lite_gen", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 3296 | ":perfetto_protos_perfetto_trace_gpu_lite_gen", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 3297 | ":perfetto_protos_perfetto_trace_interned_data_lite_gen", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 3298 | ":perfetto_protos_perfetto_trace_lite_gen", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 3299 | ":perfetto_protos_perfetto_trace_minimal_lite_gen", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 3300 | ":perfetto_protos_perfetto_trace_perfetto_lite_gen", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 3301 | ":perfetto_protos_perfetto_trace_power_lite_gen", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 3302 | ":perfetto_protos_perfetto_trace_profiling_lite_gen", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 3303 | ":perfetto_protos_perfetto_trace_ps_lite_gen", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 3304 | ":perfetto_protos_perfetto_trace_sys_stats_lite_gen", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 3305 | ":perfetto_protos_perfetto_trace_track_event_lite_gen", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 3306 | ], |
| 3307 | shared_libs: [ |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 3308 | "libprotobuf-cpp-lite", |
| 3309 | ], |
| 3310 | host_supported: true, |
| 3311 | export_include_dirs: [ |
| 3312 | "include", |
| 3313 | ], |
| 3314 | generated_headers: [ |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 3315 | "perfetto_protos_perfetto_common_lite_gen_headers", |
| 3316 | "perfetto_protos_perfetto_config_lite_gen_headers", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 3317 | "perfetto_protos_perfetto_trace_android_lite_gen_headers", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 3318 | "perfetto_protos_perfetto_trace_chrome_lite_gen_headers", |
| 3319 | "perfetto_protos_perfetto_trace_filesystem_lite_gen_headers", |
| 3320 | "perfetto_protos_perfetto_trace_ftrace_lite_gen_headers", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 3321 | "perfetto_protos_perfetto_trace_gpu_lite_gen_headers", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 3322 | "perfetto_protos_perfetto_trace_interned_data_lite_gen_headers", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 3323 | "perfetto_protos_perfetto_trace_lite_gen_headers", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 3324 | "perfetto_protos_perfetto_trace_minimal_lite_gen_headers", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 3325 | "perfetto_protos_perfetto_trace_perfetto_lite_gen_headers", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 3326 | "perfetto_protos_perfetto_trace_power_lite_gen_headers", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 3327 | "perfetto_protos_perfetto_trace_profiling_lite_gen_headers", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 3328 | "perfetto_protos_perfetto_trace_ps_lite_gen_headers", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 3329 | "perfetto_protos_perfetto_trace_sys_stats_lite_gen_headers", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 3330 | "perfetto_protos_perfetto_trace_track_event_lite_gen_headers", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 3331 | ], |
| 3332 | export_generated_headers: [ |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 3333 | "perfetto_protos_perfetto_common_lite_gen_headers", |
| 3334 | "perfetto_protos_perfetto_config_lite_gen_headers", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 3335 | "perfetto_protos_perfetto_trace_android_lite_gen_headers", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 3336 | "perfetto_protos_perfetto_trace_chrome_lite_gen_headers", |
| 3337 | "perfetto_protos_perfetto_trace_filesystem_lite_gen_headers", |
| 3338 | "perfetto_protos_perfetto_trace_ftrace_lite_gen_headers", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 3339 | "perfetto_protos_perfetto_trace_gpu_lite_gen_headers", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 3340 | "perfetto_protos_perfetto_trace_interned_data_lite_gen_headers", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 3341 | "perfetto_protos_perfetto_trace_lite_gen_headers", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 3342 | "perfetto_protos_perfetto_trace_minimal_lite_gen_headers", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 3343 | "perfetto_protos_perfetto_trace_perfetto_lite_gen_headers", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 3344 | "perfetto_protos_perfetto_trace_power_lite_gen_headers", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 3345 | "perfetto_protos_perfetto_trace_profiling_lite_gen_headers", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 3346 | "perfetto_protos_perfetto_trace_ps_lite_gen_headers", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 3347 | "perfetto_protos_perfetto_trace_sys_stats_lite_gen_headers", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 3348 | "perfetto_protos_perfetto_trace_track_event_lite_gen_headers", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 3349 | ], |
| 3350 | defaults: [ |
| 3351 | "perfetto_defaults", |
| 3352 | ], |
| 3353 | cflags: [ |
| 3354 | "-DGOOGLE_PROTOBUF_NO_RTTI", |
| 3355 | "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
| 3356 | ], |
| 3357 | } |
| 3358 | |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 3359 | // GN target: //:perfetto_unittests |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 3360 | cc_test { |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 3361 | name: "perfetto_unittests", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 3362 | srcs: [ |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 3363 | ":perfetto_protos_perfetto_common_lite_gen", |
| 3364 | ":perfetto_protos_perfetto_common_zero_gen", |
| 3365 | ":perfetto_protos_perfetto_config_lite_gen", |
| 3366 | ":perfetto_protos_perfetto_config_zero_gen", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3367 | ":perfetto_protos_perfetto_ipc_ipc_gen", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 3368 | ":perfetto_protos_perfetto_trace_android_lite_gen", |
| 3369 | ":perfetto_protos_perfetto_trace_android_zero_gen", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 3370 | ":perfetto_protos_perfetto_trace_chrome_lite_gen", |
| 3371 | ":perfetto_protos_perfetto_trace_chrome_zero_gen", |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 3372 | ":perfetto_protos_perfetto_trace_filesystem_lite_gen", |
| 3373 | ":perfetto_protos_perfetto_trace_filesystem_zero_gen", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3374 | ":perfetto_protos_perfetto_trace_ftrace_lite_gen", |
| 3375 | ":perfetto_protos_perfetto_trace_ftrace_zero_gen", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 3376 | ":perfetto_protos_perfetto_trace_gpu_lite_gen", |
| 3377 | ":perfetto_protos_perfetto_trace_gpu_zero_gen", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 3378 | ":perfetto_protos_perfetto_trace_interned_data_lite_gen", |
| 3379 | ":perfetto_protos_perfetto_trace_interned_data_zero_gen", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3380 | ":perfetto_protos_perfetto_trace_lite_gen", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 3381 | ":perfetto_protos_perfetto_trace_minimal_lite_gen", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 3382 | ":perfetto_protos_perfetto_trace_perfetto_lite_gen", |
| 3383 | ":perfetto_protos_perfetto_trace_perfetto_zero_gen", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 3384 | ":perfetto_protos_perfetto_trace_power_lite_gen", |
| 3385 | ":perfetto_protos_perfetto_trace_power_zero_gen", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 3386 | ":perfetto_protos_perfetto_trace_profiling_lite_gen", |
| 3387 | ":perfetto_protos_perfetto_trace_profiling_zero_gen", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 3388 | ":perfetto_protos_perfetto_trace_ps_lite_gen", |
| 3389 | ":perfetto_protos_perfetto_trace_ps_zero_gen", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 3390 | ":perfetto_protos_perfetto_trace_sys_stats_lite_gen", |
| 3391 | ":perfetto_protos_perfetto_trace_sys_stats_zero_gen", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 3392 | ":perfetto_protos_perfetto_trace_track_event_lite_gen", |
| 3393 | ":perfetto_protos_perfetto_trace_track_event_zero_gen", |
Oystein Eftevaag | 4d0f6c8 | 2018-04-30 14:19:59 -0700 | [diff] [blame] | 3394 | ":perfetto_protos_perfetto_trace_trusted_lite_gen", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3395 | ":perfetto_protos_perfetto_trace_zero_gen", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 3396 | ":perfetto_src_ipc_test_messages_gen", |
| 3397 | ":perfetto_src_ipc_wire_protocol_gen", |
Hector Dearman | 86cfbe1 | 2018-03-22 11:58:42 +0000 | [diff] [blame] | 3398 | ":perfetto_src_perfetto_cmd_protos_gen", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 3399 | ":perfetto_src_protozero_testing_messages_lite_gen", |
| 3400 | ":perfetto_src_protozero_testing_messages_zero_gen", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 3401 | ":perfetto_src_traced_probes_ftrace_test_messages_lite_gen", |
| 3402 | ":perfetto_src_traced_probes_ftrace_test_messages_zero_gen", |
Primiano Tucci | a6ebe13 | 2019-07-24 22:59:23 +0100 | [diff] [blame] | 3403 | "src/android_internal/lazy_library_loader.cc", |
Primiano Tucci | 89795fd | 2019-02-18 23:08:06 +0000 | [diff] [blame] | 3404 | "src/base/circular_queue_unittest.cc", |
Primiano Tucci | 3b39fc7 | 2019-06-22 19:05:23 +0100 | [diff] [blame] | 3405 | "src/base/copyable_ptr_unittest.cc", |
Sami Kyostila | 389861f | 2019-07-09 20:52:43 +0100 | [diff] [blame] | 3406 | "src/base/event_fd.cc", |
Florian Mayer | 74b73a9 | 2018-03-09 17:37:13 +0000 | [diff] [blame] | 3407 | "src/base/file_utils.cc", |
Florian Mayer | 236ba47 | 2018-05-09 15:47:53 +0100 | [diff] [blame] | 3408 | "src/base/metatrace.cc", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 3409 | "src/base/metatrace_unittest.cc", |
Ryan Savitski | 478c118 | 2019-04-04 23:28:11 +0100 | [diff] [blame] | 3410 | "src/base/no_destructor_unittest.cc", |
Lalit Maganti | f3e5b07 | 2018-11-19 21:51:47 +0000 | [diff] [blame] | 3411 | "src/base/optional_unittest.cc", |
Eric Seckler | edf3f7c | 2018-10-23 16:44:53 +0100 | [diff] [blame] | 3412 | "src/base/paged_memory.cc", |
| 3413 | "src/base/paged_memory_unittest.cc", |
Primiano Tucci | 76499cd | 2018-11-21 10:54:04 +0100 | [diff] [blame] | 3414 | "src/base/pipe.cc", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 3415 | "src/base/scoped_file_unittest.cc", |
Primiano Tucci | 825e6de | 2018-03-13 05:43:15 +0000 | [diff] [blame] | 3416 | "src/base/string_splitter.cc", |
| 3417 | "src/base/string_splitter_unittest.cc", |
Hector Dearman | 3afb1e0 | 2018-04-27 16:46:52 +0100 | [diff] [blame] | 3418 | "src/base/string_utils.cc", |
| 3419 | "src/base/string_utils_unittest.cc", |
Primiano Tucci | 60c4a2b | 2019-03-02 17:11:18 +0000 | [diff] [blame] | 3420 | "src/base/string_view.cc", |
Primiano Tucci | 2da5d2e | 2018-08-10 14:23:31 +0100 | [diff] [blame] | 3421 | "src/base/string_view_unittest.cc", |
Lalit Maganti | bd3fb82 | 2019-02-08 10:08:20 +0000 | [diff] [blame] | 3422 | "src/base/string_writer_unittest.cc", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 3423 | "src/base/task_runner_unittest.cc", |
Primiano Tucci | 941b221 | 2018-03-14 22:46:31 +0000 | [diff] [blame] | 3424 | "src/base/temp_file.cc", |
| 3425 | "src/base/temp_file_unittest.cc", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 3426 | "src/base/test/test_task_runner.cc", |
Hector Dearman | 7f71d0e | 2018-08-09 11:26:10 +0100 | [diff] [blame] | 3427 | "src/base/test/utils.cc", |
Primiano Tucci | bbaa58c | 2017-12-20 13:48:20 +0100 | [diff] [blame] | 3428 | "src/base/test/vm_test_utils.cc", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 3429 | "src/base/thread_checker.cc", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 3430 | "src/base/thread_checker_unittest.cc", |
Ryan Savitski | 2988579 | 2019-03-14 12:10:13 +0000 | [diff] [blame] | 3431 | "src/base/thread_task_runner.cc", |
| 3432 | "src/base/thread_task_runner_unittest.cc", |
Florian Mayer | 75905df | 2018-05-08 17:44:08 +0100 | [diff] [blame] | 3433 | "src/base/time.cc", |
Primiano Tucci | 8934c6c | 2018-03-15 11:39:27 +0000 | [diff] [blame] | 3434 | "src/base/time_unittest.cc", |
Florian Mayer | f7f0def | 2018-09-27 13:59:24 +0100 | [diff] [blame] | 3435 | "src/base/unix_socket.cc", |
| 3436 | "src/base/unix_socket_unittest.cc", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 3437 | "src/base/unix_task_runner.cc", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 3438 | "src/base/utils_unittest.cc", |
Primiano Tucci | 3cbb10a | 2018-04-10 17:52:40 +0100 | [diff] [blame] | 3439 | "src/base/virtual_destructors.cc", |
Sami Kyostila | 389861f | 2019-07-09 20:52:43 +0100 | [diff] [blame] | 3440 | "src/base/waitable_event.cc", |
Primiano Tucci | 808d6df | 2018-03-31 13:24:18 +0100 | [diff] [blame] | 3441 | "src/base/watchdog_posix.cc", |
Florian Mayer | b433400 | 2018-02-01 11:10:36 +0000 | [diff] [blame] | 3442 | "src/base/watchdog_unittest.cc", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 3443 | "src/base/weak_ptr_unittest.cc", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 3444 | "src/ipc/buffered_frame_deserializer.cc", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 3445 | "src/ipc/buffered_frame_deserializer_unittest.cc", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 3446 | "src/ipc/client_impl.cc", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 3447 | "src/ipc/client_impl_unittest.cc", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 3448 | "src/ipc/deferred.cc", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 3449 | "src/ipc/deferred_unittest.cc", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 3450 | "src/ipc/host_impl.cc", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 3451 | "src/ipc/host_impl_unittest.cc", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 3452 | "src/ipc/service_proxy.cc", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 3453 | "src/ipc/test/ipc_integrationtest.cc", |
Primiano Tucci | 3cbb10a | 2018-04-10 17:52:40 +0100 | [diff] [blame] | 3454 | "src/ipc/virtual_destructors.cc", |
Hector Dearman | 5edeafc | 2018-11-29 13:27:33 +0000 | [diff] [blame] | 3455 | "src/perfetto_cmd/config.cc", |
| 3456 | "src/perfetto_cmd/config_unittest.cc", |
Hector Dearman | 554627f | 2019-06-04 17:58:22 +0100 | [diff] [blame] | 3457 | "src/perfetto_cmd/packet_writer.cc", |
| 3458 | "src/perfetto_cmd/packet_writer_unittest.cc", |
Hector Dearman | b7fa544 | 2018-11-08 18:39:32 +0000 | [diff] [blame] | 3459 | "src/perfetto_cmd/pbtxt_to_pb.cc", |
| 3460 | "src/perfetto_cmd/pbtxt_to_pb_unittest.cc", |
Hector Dearman | 86cfbe1 | 2018-03-22 11:58:42 +0000 | [diff] [blame] | 3461 | "src/perfetto_cmd/perfetto_cmd.cc", |
Primiano Tucci | ec62e3e | 2019-07-26 22:18:31 +0100 | [diff] [blame] | 3462 | "src/perfetto_cmd/perfetto_cmd_android.cc", |
Hector Dearman | 86cfbe1 | 2018-03-22 11:58:42 +0000 | [diff] [blame] | 3463 | "src/perfetto_cmd/rate_limiter.cc", |
| 3464 | "src/perfetto_cmd/rate_limiter_unittest.cc", |
Stephen Nusko | e823811 | 2019-04-09 18:37:00 +0100 | [diff] [blame] | 3465 | "src/perfetto_cmd/trigger_producer.cc", |
Florian Mayer | 824274d | 2018-09-17 11:33:45 +0100 | [diff] [blame] | 3466 | "src/profiling/memory/bookkeeping.cc", |
Florian Mayer | 7791fce | 2019-05-16 18:04:20 +0100 | [diff] [blame] | 3467 | "src/profiling/memory/bookkeeping_dump.cc", |
Florian Mayer | 824274d | 2018-09-17 11:33:45 +0100 | [diff] [blame] | 3468 | "src/profiling/memory/bookkeeping_unittest.cc", |
| 3469 | "src/profiling/memory/client.cc", |
| 3470 | "src/profiling/memory/client_unittest.cc", |
Primiano Tucci | 0f2f3b4 | 2019-05-21 19:37:01 +0100 | [diff] [blame] | 3471 | "src/profiling/memory/heapprofd_config.cc", |
Florian Mayer | e9f4686 | 2018-11-07 20:20:37 +0000 | [diff] [blame] | 3472 | "src/profiling/memory/heapprofd_producer.cc", |
Florian Mayer | 096bbe3 | 2019-04-03 12:10:53 +0100 | [diff] [blame] | 3473 | "src/profiling/memory/heapprofd_producer_unittest.cc", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 3474 | "src/profiling/memory/interner_unittest.cc", |
Florian Mayer | 7142c7c | 2019-05-20 18:11:41 +0100 | [diff] [blame] | 3475 | "src/profiling/memory/page_idle_checker.cc", |
| 3476 | "src/profiling/memory/page_idle_checker_unittest.cc", |
Florian Mayer | 745aaf2 | 2018-12-13 14:53:07 +0000 | [diff] [blame] | 3477 | "src/profiling/memory/proc_utils.cc", |
Florian Mayer | f3e3dd3 | 2019-01-17 10:33:56 +0000 | [diff] [blame] | 3478 | "src/profiling/memory/proc_utils_unittest.cc", |
Florian Mayer | c6be21f | 2018-10-02 11:33:59 +0100 | [diff] [blame] | 3479 | "src/profiling/memory/sampler_unittest.cc", |
Ryan Savitski | a502bde | 2019-02-26 21:34:03 +0000 | [diff] [blame] | 3480 | "src/profiling/memory/scoped_spinlock.cc", |
Florian Mayer | c50bcc9 | 2019-02-07 11:43:30 +0000 | [diff] [blame] | 3481 | "src/profiling/memory/shared_ring_buffer.cc", |
| 3482 | "src/profiling/memory/shared_ring_buffer_unittest.cc", |
Florian Mayer | 78cb562 | 2018-11-27 17:17:10 +0000 | [diff] [blame] | 3483 | "src/profiling/memory/system_property.cc", |
| 3484 | "src/profiling/memory/system_property_unittest.cc", |
Florian Mayer | a2fae26 | 2018-08-31 12:10:01 -0700 | [diff] [blame] | 3485 | "src/profiling/memory/unwinding.cc", |
| 3486 | "src/profiling/memory/unwinding_unittest.cc", |
Florian Mayer | 7142c7c | 2019-05-20 18:11:41 +0100 | [diff] [blame] | 3487 | "src/profiling/memory/utils.cc", |
Florian Mayer | b85a938 | 2018-09-27 13:59:01 +0100 | [diff] [blame] | 3488 | "src/profiling/memory/wire_protocol.cc", |
Florian Mayer | 7ad1275 | 2018-10-02 16:48:44 +0100 | [diff] [blame] | 3489 | "src/profiling/memory/wire_protocol_unittest.cc", |
Hector Dearman | e1e56b6 | 2018-02-21 19:11:58 +0000 | [diff] [blame] | 3490 | "src/protozero/message.cc", |
| 3491 | "src/protozero/message_handle.cc", |
| 3492 | "src/protozero/message_handle_unittest.cc", |
| 3493 | "src/protozero/message_unittest.cc", |
Lalit Maganti | 45172a8 | 2018-06-01 03:04:43 +0100 | [diff] [blame] | 3494 | "src/protozero/proto_decoder.cc", |
| 3495 | "src/protozero/proto_decoder_unittest.cc", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 3496 | "src/protozero/proto_utils_unittest.cc", |
Eric Seckler | 7631120 | 2019-01-07 12:20:25 +0000 | [diff] [blame] | 3497 | "src/protozero/scattered_heap_buffer.cc", |
Hector Dearman | 9a5a0e9 | 2018-03-27 17:52:24 +0100 | [diff] [blame] | 3498 | "src/protozero/scattered_stream_null_delegate.cc", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 3499 | "src/protozero/scattered_stream_writer.cc", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 3500 | "src/protozero/scattered_stream_writer_unittest.cc", |
| 3501 | "src/protozero/test/fake_scattered_buffer.cc", |
| 3502 | "src/protozero/test/protozero_conformance_unittest.cc", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 3503 | "src/traced/probes/android_log/android_log_data_source.cc", |
| 3504 | "src/traced/probes/android_log/android_log_data_source_unittest.cc", |
Florian Mayer | 6f9c342 | 2018-03-29 10:37:41 +0100 | [diff] [blame] | 3505 | "src/traced/probes/filesystem/file_scanner.cc", |
Florian Mayer | aef0c53 | 2018-04-04 10:34:08 +0100 | [diff] [blame] | 3506 | "src/traced/probes/filesystem/file_scanner_unittest.cc", |
Florian Mayer | 74b73a9 | 2018-03-09 17:37:13 +0000 | [diff] [blame] | 3507 | "src/traced/probes/filesystem/fs_mount.cc", |
| 3508 | "src/traced/probes/filesystem/fs_mount_unittest.cc", |
Anna Zappone | 2a6f904 | 2018-03-14 13:26:07 +0000 | [diff] [blame] | 3509 | "src/traced/probes/filesystem/inode_file_data_source.cc", |
Florian Mayer | dd88914 | 2018-04-05 16:19:37 +0100 | [diff] [blame] | 3510 | "src/traced/probes/filesystem/inode_file_data_source_unittest.cc", |
Florian Mayer | 8a56b70 | 2018-03-14 11:01:17 +0000 | [diff] [blame] | 3511 | "src/traced/probes/filesystem/lru_inode_cache.cc", |
| 3512 | "src/traced/probes/filesystem/lru_inode_cache_unittest.cc", |
Florian Mayer | b21f4fb | 2018-03-22 15:24:56 +0000 | [diff] [blame] | 3513 | "src/traced/probes/filesystem/prefix_finder.cc", |
| 3514 | "src/traced/probes/filesystem/prefix_finder_unittest.cc", |
| 3515 | "src/traced/probes/filesystem/range_tree.cc", |
| 3516 | "src/traced/probes/filesystem/range_tree_unittest.cc", |
Isabelle Taylor | f3edbfa | 2019-03-26 11:07:19 +0000 | [diff] [blame] | 3517 | "src/traced/probes/ftrace/atrace_hal_wrapper.cc", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 3518 | "src/traced/probes/ftrace/atrace_wrapper.cc", |
| 3519 | "src/traced/probes/ftrace/cpu_reader.cc", |
| 3520 | "src/traced/probes/ftrace/cpu_reader_unittest.cc", |
| 3521 | "src/traced/probes/ftrace/cpu_stats_parser.cc", |
| 3522 | "src/traced/probes/ftrace/cpu_stats_parser_unittest.cc", |
| 3523 | "src/traced/probes/ftrace/event_info.cc", |
| 3524 | "src/traced/probes/ftrace/event_info_constants.cc", |
| 3525 | "src/traced/probes/ftrace/event_info_unittest.cc", |
| 3526 | "src/traced/probes/ftrace/format_parser.cc", |
| 3527 | "src/traced/probes/ftrace/format_parser_unittest.cc", |
| 3528 | "src/traced/probes/ftrace/ftrace_config.cc", |
| 3529 | "src/traced/probes/ftrace/ftrace_config_muxer.cc", |
| 3530 | "src/traced/probes/ftrace/ftrace_config_muxer_unittest.cc", |
| 3531 | "src/traced/probes/ftrace/ftrace_config_unittest.cc", |
Primiano Tucci | 0f2f3b4 | 2019-05-21 19:37:01 +0100 | [diff] [blame] | 3532 | "src/traced/probes/ftrace/ftrace_config_utils.cc", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 3533 | "src/traced/probes/ftrace/ftrace_controller.cc", |
| 3534 | "src/traced/probes/ftrace/ftrace_controller_unittest.cc", |
Primiano Tucci | fd8240d | 2018-08-01 09:34:54 +0100 | [diff] [blame] | 3535 | "src/traced/probes/ftrace/ftrace_data_source.cc", |
Primiano Tucci | b6de48b | 2018-07-26 16:00:44 +0100 | [diff] [blame] | 3536 | "src/traced/probes/ftrace/ftrace_metadata.cc", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 3537 | "src/traced/probes/ftrace/ftrace_procfs.cc", |
| 3538 | "src/traced/probes/ftrace/ftrace_procfs_unittest.cc", |
Primiano Tucci | fd8240d | 2018-08-01 09:34:54 +0100 | [diff] [blame] | 3539 | "src/traced/probes/ftrace/ftrace_stats.cc", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 3540 | "src/traced/probes/ftrace/proto_translation_table.cc", |
| 3541 | "src/traced/probes/ftrace/proto_translation_table_unittest.cc", |
| 3542 | "src/traced/probes/ftrace/test/cpu_reader_support.cc", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 3543 | "src/traced/probes/metatrace/metatrace_data_source.cc", |
Florian Mayer | 12f0f8e | 2019-04-02 12:31:13 +0100 | [diff] [blame] | 3544 | "src/traced/probes/packages_list/packages_list_data_source.cc", |
| 3545 | "src/traced/probes/packages_list/packages_list_data_source_unittest.cc", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 3546 | "src/traced/probes/power/android_power_data_source.cc", |
Primiano Tucci | fd8240d | 2018-08-01 09:34:54 +0100 | [diff] [blame] | 3547 | "src/traced/probes/probes_data_source.cc", |
Hector Dearman | ebf07c7 | 2018-03-13 10:31:05 +0000 | [diff] [blame] | 3548 | "src/traced/probes/probes_producer.cc", |
Primiano Tucci | b6de48b | 2018-07-26 16:00:44 +0100 | [diff] [blame] | 3549 | "src/traced/probes/ps/process_stats_data_source.cc", |
| 3550 | "src/traced/probes/ps/process_stats_data_source_unittest.cc", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 3551 | "src/traced/probes/sys_stats/sys_stats_data_source.cc", |
| 3552 | "src/traced/probes/sys_stats/sys_stats_data_source_unittest.cc", |
Florian Mayer | 3077d18 | 2019-03-15 14:30:04 -0700 | [diff] [blame] | 3553 | "src/traced/service/lazy_producer.cc", |
| 3554 | "src/traced/service/lazy_producer_unittest.cc", |
| 3555 | "src/traced/service/service.cc", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 3556 | "src/tracing/core/chrome_config.cc", |
Primiano Tucci | 79f3f91 | 2018-03-02 12:00:31 +0000 | [diff] [blame] | 3557 | "src/tracing/core/commit_data_request.cc", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 3558 | "src/tracing/core/data_source_config.cc", |
| 3559 | "src/tracing/core/data_source_descriptor.cc", |
Primiano Tucci | 422caff | 2017-12-18 23:58:52 +0100 | [diff] [blame] | 3560 | "src/tracing/core/id_allocator.cc", |
| 3561 | "src/tracing/core/id_allocator_unittest.cc", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 3562 | "src/tracing/core/metatrace_writer.cc", |
Hector Dearman | 9a5a0e9 | 2018-03-27 17:52:24 +0100 | [diff] [blame] | 3563 | "src/tracing/core/null_trace_writer.cc", |
| 3564 | "src/tracing/core/null_trace_writer_unittest.cc", |
Eric Seckler | 7b0c945 | 2019-03-18 13:14:36 +0000 | [diff] [blame] | 3565 | "src/tracing/core/observable_events.cc", |
Sami Kyostila | 32e0b54 | 2018-02-14 08:55:43 +0000 | [diff] [blame] | 3566 | "src/tracing/core/packet_stream_validator.cc", |
| 3567 | "src/tracing/core/packet_stream_validator_unittest.cc", |
Primiano Tucci | 09db827 | 2018-03-08 17:47:47 +0000 | [diff] [blame] | 3568 | "src/tracing/core/patch_list_unittest.cc", |
Primiano Tucci | f5d6d53 | 2017-12-19 00:59:34 +0100 | [diff] [blame] | 3569 | "src/tracing/core/shared_memory_abi.cc", |
| 3570 | "src/tracing/core/shared_memory_abi_unittest.cc", |
Oystein Eftevaag | 6d0bc7f | 2018-01-13 12:21:55 -0800 | [diff] [blame] | 3571 | "src/tracing/core/shared_memory_arbiter_impl.cc", |
| 3572 | "src/tracing/core/shared_memory_arbiter_impl_unittest.cc", |
Primiano Tucci | 16d1d63 | 2018-02-22 10:16:22 +0000 | [diff] [blame] | 3573 | "src/tracing/core/sliced_protobuf_input_stream.cc", |
| 3574 | "src/tracing/core/sliced_protobuf_input_stream_unittest.cc", |
Eric Seckler | c65693d | 2019-01-11 15:12:48 +0000 | [diff] [blame] | 3575 | "src/tracing/core/startup_trace_writer.cc", |
Eric Seckler | 42777e5 | 2019-01-23 10:13:22 +0000 | [diff] [blame] | 3576 | "src/tracing/core/startup_trace_writer_registry.cc", |
Eric Seckler | c65693d | 2019-01-11 15:12:48 +0000 | [diff] [blame] | 3577 | "src/tracing/core/startup_trace_writer_unittest.cc", |
Lalit Maganti | 3f5705c | 2018-03-09 12:09:44 +0000 | [diff] [blame] | 3578 | "src/tracing/core/test_config.cc", |
Primiano Tucci | 5c59901 | 2018-03-01 17:52:07 +0000 | [diff] [blame] | 3579 | "src/tracing/core/trace_buffer.cc", |
| 3580 | "src/tracing/core/trace_buffer_unittest.cc", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 3581 | "src/tracing/core/trace_config.cc", |
| 3582 | "src/tracing/core/trace_packet.cc", |
| 3583 | "src/tracing/core/trace_packet_unittest.cc", |
Eric Seckler | eaf29ed | 2019-01-23 09:53:55 +0000 | [diff] [blame] | 3584 | "src/tracing/core/trace_stats.cc", |
Isabelle Taylor | 1684856 | 2018-04-12 13:30:58 +0100 | [diff] [blame] | 3585 | "src/tracing/core/trace_writer_for_testing.cc", |
Primiano Tucci | d7b59c4 | 2017-12-19 01:43:07 +0100 | [diff] [blame] | 3586 | "src/tracing/core/trace_writer_impl.cc", |
| 3587 | "src/tracing/core/trace_writer_impl_unittest.cc", |
Florian Mayer | 6a1a4d5 | 2018-06-08 16:47:07 +0100 | [diff] [blame] | 3588 | "src/tracing/core/tracing_service_impl.cc", |
Hector Dearman | 85170a2 | 2019-03-12 14:34:16 +0000 | [diff] [blame] | 3589 | "src/tracing/core/tracing_service_impl_unittest.cc", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 3590 | "src/tracing/core/tracing_service_state.cc", |
Primiano Tucci | 3cbb10a | 2018-04-10 17:52:40 +0100 | [diff] [blame] | 3591 | "src/tracing/core/virtual_destructors.cc", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 3592 | "src/tracing/ipc/posix_shared_memory_unittest.cc", |
Primiano Tucci | d7b59c4 | 2017-12-19 01:43:07 +0100 | [diff] [blame] | 3593 | "src/tracing/test/aligned_buffer_test.cc", |
Primiano Tucci | 5c59901 | 2018-03-01 17:52:07 +0000 | [diff] [blame] | 3594 | "src/tracing/test/fake_packet.cc", |
Primiano Tucci | dca727d | 2018-04-04 11:31:55 +0200 | [diff] [blame] | 3595 | "src/tracing/test/mock_consumer.cc", |
| 3596 | "src/tracing/test/mock_producer.cc", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 3597 | "src/tracing/test/test_shared_memory.cc", |
Primiano Tucci | 5358933 | 2017-12-19 11:31:13 +0100 | [diff] [blame] | 3598 | "src/tracing/test/tracing_integration_test.cc", |
Primiano Tucci | 2c5488f | 2019-06-01 03:27:28 +0100 | [diff] [blame] | 3599 | "src/tracing/trace_writer_base.cc", |
Isabelle Taylor | cfc8eba | 2018-12-16 21:02:56 +0000 | [diff] [blame] | 3600 | "tools/ftrace_proto_gen/ftrace_descriptor_gen.cc", |
Hector Dearman | 39071ba | 2018-01-16 13:58:50 +0000 | [diff] [blame] | 3601 | "tools/ftrace_proto_gen/ftrace_proto_gen.cc", |
| 3602 | "tools/ftrace_proto_gen/ftrace_proto_gen_unittest.cc", |
Isabelle Taylor | aa45fe0 | 2018-12-16 21:02:20 +0000 | [diff] [blame] | 3603 | "tools/ftrace_proto_gen/proto_gen_utils.cc", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 3604 | "tools/sanitizers_unittests/sanitizers_unittest.cc", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 3605 | ], |
| 3606 | shared_libs: [ |
Florian Mayer | a2fae26 | 2018-08-31 12:10:01 -0700 | [diff] [blame] | 3607 | "libbase", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 3608 | "liblog", |
Florian Mayer | a2fae26 | 2018-08-31 12:10:01 -0700 | [diff] [blame] | 3609 | "libprocinfo", |
Florian Mayer | 7c9e3b2 | 2018-04-26 11:55:15 +0100 | [diff] [blame] | 3610 | "libprotobuf-cpp-full", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 3611 | "libprotobuf-cpp-lite", |
Florian Mayer | a2fae26 | 2018-08-31 12:10:01 -0700 | [diff] [blame] | 3612 | "libunwindstack", |
Hector Dearman | e0b993f | 2019-05-24 18:48:16 +0100 | [diff] [blame] | 3613 | "libz", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 3614 | ], |
| 3615 | static_libs: [ |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 3616 | "libgmock", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 3617 | "perfetto_src_tracing_ipc", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 3618 | ], |
| 3619 | generated_headers: [ |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 3620 | "perfetto_protos_perfetto_common_lite_gen_headers", |
| 3621 | "perfetto_protos_perfetto_common_zero_gen_headers", |
| 3622 | "perfetto_protos_perfetto_config_lite_gen_headers", |
| 3623 | "perfetto_protos_perfetto_config_zero_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3624 | "perfetto_protos_perfetto_ipc_ipc_gen_headers", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 3625 | "perfetto_protos_perfetto_trace_android_lite_gen_headers", |
| 3626 | "perfetto_protos_perfetto_trace_android_zero_gen_headers", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 3627 | "perfetto_protos_perfetto_trace_chrome_lite_gen_headers", |
| 3628 | "perfetto_protos_perfetto_trace_chrome_zero_gen_headers", |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 3629 | "perfetto_protos_perfetto_trace_filesystem_lite_gen_headers", |
| 3630 | "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3631 | "perfetto_protos_perfetto_trace_ftrace_lite_gen_headers", |
| 3632 | "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 3633 | "perfetto_protos_perfetto_trace_gpu_lite_gen_headers", |
| 3634 | "perfetto_protos_perfetto_trace_gpu_zero_gen_headers", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 3635 | "perfetto_protos_perfetto_trace_interned_data_lite_gen_headers", |
| 3636 | "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3637 | "perfetto_protos_perfetto_trace_lite_gen_headers", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 3638 | "perfetto_protos_perfetto_trace_minimal_lite_gen_headers", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 3639 | "perfetto_protos_perfetto_trace_perfetto_lite_gen_headers", |
| 3640 | "perfetto_protos_perfetto_trace_perfetto_zero_gen_headers", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 3641 | "perfetto_protos_perfetto_trace_power_lite_gen_headers", |
| 3642 | "perfetto_protos_perfetto_trace_power_zero_gen_headers", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 3643 | "perfetto_protos_perfetto_trace_profiling_lite_gen_headers", |
| 3644 | "perfetto_protos_perfetto_trace_profiling_zero_gen_headers", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 3645 | "perfetto_protos_perfetto_trace_ps_lite_gen_headers", |
| 3646 | "perfetto_protos_perfetto_trace_ps_zero_gen_headers", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 3647 | "perfetto_protos_perfetto_trace_sys_stats_lite_gen_headers", |
| 3648 | "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 3649 | "perfetto_protos_perfetto_trace_track_event_lite_gen_headers", |
| 3650 | "perfetto_protos_perfetto_trace_track_event_zero_gen_headers", |
Oystein Eftevaag | 4d0f6c8 | 2018-04-30 14:19:59 -0700 | [diff] [blame] | 3651 | "perfetto_protos_perfetto_trace_trusted_lite_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3652 | "perfetto_protos_perfetto_trace_zero_gen_headers", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 3653 | "perfetto_src_ipc_test_messages_gen_headers", |
| 3654 | "perfetto_src_ipc_wire_protocol_gen_headers", |
Hector Dearman | 86cfbe1 | 2018-03-22 11:58:42 +0000 | [diff] [blame] | 3655 | "perfetto_src_perfetto_cmd_protos_gen_headers", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 3656 | "perfetto_src_protozero_testing_messages_lite_gen_headers", |
| 3657 | "perfetto_src_protozero_testing_messages_zero_gen_headers", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 3658 | "perfetto_src_traced_probes_ftrace_test_messages_lite_gen_headers", |
| 3659 | "perfetto_src_traced_probes_ftrace_test_messages_zero_gen_headers", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 3660 | ], |
| 3661 | defaults: [ |
| 3662 | "perfetto_defaults", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 3663 | ], |
Florian Mayer | 3d5e7e6 | 2018-01-19 15:22:46 +0000 | [diff] [blame] | 3664 | cflags: [ |
| 3665 | "-DGOOGLE_PROTOBUF_NO_RTTI", |
| 3666 | "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
Hector Dearman | 554627f | 2019-06-04 17:58:22 +0100 | [diff] [blame] | 3667 | "-DHAVE_HIDDEN", |
Primiano Tucci | 106605c | 2019-01-08 21:12:58 +0000 | [diff] [blame] | 3668 | "-DPERFETTO_BUILD_WITH_ANDROID", |
Florian Mayer | 3d5e7e6 | 2018-01-19 15:22:46 +0000 | [diff] [blame] | 3669 | ], |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 3670 | } |
Primiano Tucci | 4e49c02 | 2017-12-21 18:22:44 +0100 | [diff] [blame] | 3671 | |
Lalit Maganti | edace41 | 2019-06-18 13:28:28 +0100 | [diff] [blame] | 3672 | // GN target: //:trace_processor_shell |
| 3673 | cc_binary { |
| 3674 | name: "trace_processor_shell", |
| 3675 | srcs: [ |
| 3676 | ":perfetto_protos_perfetto_common_zero_gen", |
| 3677 | ":perfetto_protos_perfetto_config_zero_gen", |
| 3678 | ":perfetto_protos_perfetto_metrics_android_zero_gen", |
| 3679 | ":perfetto_protos_perfetto_metrics_zero_gen", |
| 3680 | ":perfetto_protos_perfetto_trace_android_zero_gen", |
| 3681 | ":perfetto_protos_perfetto_trace_chrome_zero_gen", |
| 3682 | ":perfetto_protos_perfetto_trace_filesystem_zero_gen", |
| 3683 | ":perfetto_protos_perfetto_trace_ftrace_zero_gen", |
| 3684 | ":perfetto_protos_perfetto_trace_gpu_zero_gen", |
| 3685 | ":perfetto_protos_perfetto_trace_interned_data_zero_gen", |
| 3686 | ":perfetto_protos_perfetto_trace_perfetto_zero_gen", |
| 3687 | ":perfetto_protos_perfetto_trace_power_zero_gen", |
| 3688 | ":perfetto_protos_perfetto_trace_processor_metrics_impl_zero_gen", |
| 3689 | ":perfetto_protos_perfetto_trace_profiling_zero_gen", |
| 3690 | ":perfetto_protos_perfetto_trace_ps_zero_gen", |
| 3691 | ":perfetto_protos_perfetto_trace_sys_stats_zero_gen", |
| 3692 | ":perfetto_protos_perfetto_trace_track_event_zero_gen", |
| 3693 | ":perfetto_protos_perfetto_trace_zero_gen", |
Sami Kyostila | 389861f | 2019-07-09 20:52:43 +0100 | [diff] [blame] | 3694 | "src/base/event_fd.cc", |
Lalit Maganti | edace41 | 2019-06-18 13:28:28 +0100 | [diff] [blame] | 3695 | "src/base/file_utils.cc", |
| 3696 | "src/base/metatrace.cc", |
| 3697 | "src/base/paged_memory.cc", |
| 3698 | "src/base/pipe.cc", |
| 3699 | "src/base/string_splitter.cc", |
| 3700 | "src/base/string_utils.cc", |
| 3701 | "src/base/string_view.cc", |
| 3702 | "src/base/temp_file.cc", |
| 3703 | "src/base/thread_checker.cc", |
| 3704 | "src/base/thread_task_runner.cc", |
| 3705 | "src/base/time.cc", |
| 3706 | "src/base/unix_task_runner.cc", |
| 3707 | "src/base/virtual_destructors.cc", |
Sami Kyostila | 389861f | 2019-07-09 20:52:43 +0100 | [diff] [blame] | 3708 | "src/base/waitable_event.cc", |
Lalit Maganti | edace41 | 2019-06-18 13:28:28 +0100 | [diff] [blame] | 3709 | "src/base/watchdog_posix.cc", |
| 3710 | "src/protozero/message.cc", |
| 3711 | "src/protozero/message_handle.cc", |
| 3712 | "src/protozero/proto_decoder.cc", |
| 3713 | "src/protozero/scattered_heap_buffer.cc", |
| 3714 | "src/protozero/scattered_stream_null_delegate.cc", |
| 3715 | "src/protozero/scattered_stream_writer.cc", |
| 3716 | "src/trace_processor/android_logs_table.cc", |
| 3717 | "src/trace_processor/args_table.cc", |
| 3718 | "src/trace_processor/args_tracker.cc", |
| 3719 | "src/trace_processor/clock_tracker.cc", |
| 3720 | "src/trace_processor/counter_definitions_table.cc", |
| 3721 | "src/trace_processor/counter_values_table.cc", |
| 3722 | "src/trace_processor/event_tracker.cc", |
| 3723 | "src/trace_processor/filtered_row_index.cc", |
| 3724 | "src/trace_processor/ftrace_descriptors.cc", |
| 3725 | "src/trace_processor/ftrace_utils.cc", |
| 3726 | "src/trace_processor/fuchsia_provider_view.cc", |
| 3727 | "src/trace_processor/fuchsia_trace_parser.cc", |
| 3728 | "src/trace_processor/fuchsia_trace_tokenizer.cc", |
| 3729 | "src/trace_processor/fuchsia_trace_utils.cc", |
| 3730 | "src/trace_processor/gzip_trace_parser.cc", |
| 3731 | "src/trace_processor/heap_profile_allocation_table.cc", |
| 3732 | "src/trace_processor/heap_profile_callsite_table.cc", |
| 3733 | "src/trace_processor/heap_profile_frame_table.cc", |
| 3734 | "src/trace_processor/heap_profile_mapping_table.cc", |
| 3735 | "src/trace_processor/heap_profile_tracker.cc", |
| 3736 | "src/trace_processor/instants_table.cc", |
| 3737 | "src/trace_processor/metadata_table.cc", |
| 3738 | "src/trace_processor/metrics/descriptors.cc", |
| 3739 | "src/trace_processor/metrics/metrics.cc", |
| 3740 | "src/trace_processor/process_table.cc", |
| 3741 | "src/trace_processor/process_tracker.cc", |
| 3742 | "src/trace_processor/proto_trace_parser.cc", |
| 3743 | "src/trace_processor/proto_trace_tokenizer.cc", |
| 3744 | "src/trace_processor/query_constraints.cc", |
| 3745 | "src/trace_processor/raw_table.cc", |
| 3746 | "src/trace_processor/row_iterators.cc", |
| 3747 | "src/trace_processor/sched_slice_table.cc", |
| 3748 | "src/trace_processor/slice_table.cc", |
| 3749 | "src/trace_processor/slice_tracker.cc", |
| 3750 | "src/trace_processor/span_join_operator_table.cc", |
| 3751 | "src/trace_processor/sql_stats_table.cc", |
| 3752 | "src/trace_processor/sqlite3_str_split.cc", |
Lalit Maganti | 5132c65 | 2019-07-29 23:31:12 +0530 | [diff] [blame] | 3753 | "src/trace_processor/sqlite_table.cc", |
Lalit Maganti | edace41 | 2019-06-18 13:28:28 +0100 | [diff] [blame] | 3754 | "src/trace_processor/stats_table.cc", |
| 3755 | "src/trace_processor/storage_columns.cc", |
| 3756 | "src/trace_processor/storage_schema.cc", |
| 3757 | "src/trace_processor/storage_table.cc", |
| 3758 | "src/trace_processor/string_pool.cc", |
Lalit Maganti | edace41 | 2019-06-18 13:28:28 +0100 | [diff] [blame] | 3759 | "src/trace_processor/syscall_tracker.cc", |
| 3760 | "src/trace_processor/systrace_parser.cc", |
| 3761 | "src/trace_processor/systrace_trace_parser.cc", |
Lalit Maganti | edace41 | 2019-06-18 13:28:28 +0100 | [diff] [blame] | 3762 | "src/trace_processor/thread_table.cc", |
| 3763 | "src/trace_processor/trace_processor.cc", |
| 3764 | "src/trace_processor/trace_processor_context.cc", |
| 3765 | "src/trace_processor/trace_processor_impl.cc", |
| 3766 | "src/trace_processor/trace_processor_shell.cc", |
| 3767 | "src/trace_processor/trace_sorter.cc", |
| 3768 | "src/trace_processor/trace_storage.cc", |
| 3769 | "src/trace_processor/virtual_destructors.cc", |
Eric Seckler | 5703ede | 2019-07-10 10:13:02 +0100 | [diff] [blame] | 3770 | "src/trace_processor/virtual_track_tracker.cc", |
Lalit Maganti | edace41 | 2019-06-18 13:28:28 +0100 | [diff] [blame] | 3771 | "src/trace_processor/window_operator_table.cc", |
| 3772 | ], |
| 3773 | shared_libs: [ |
| 3774 | "liblog", |
| 3775 | "libprotobuf-cpp-full", |
| 3776 | "libz", |
| 3777 | ], |
| 3778 | generated_headers: [ |
| 3779 | "gen_merged_sql_metrics", |
| 3780 | "perfetto_protos_perfetto_common_zero_gen_headers", |
| 3781 | "perfetto_protos_perfetto_config_zero_gen_headers", |
| 3782 | "perfetto_protos_perfetto_metrics_android_zero_gen_headers", |
| 3783 | "perfetto_protos_perfetto_metrics_zero_gen_headers", |
| 3784 | "perfetto_protos_perfetto_trace_android_zero_gen_headers", |
| 3785 | "perfetto_protos_perfetto_trace_chrome_zero_gen_headers", |
| 3786 | "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers", |
| 3787 | "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers", |
| 3788 | "perfetto_protos_perfetto_trace_gpu_zero_gen_headers", |
| 3789 | "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers", |
| 3790 | "perfetto_protos_perfetto_trace_perfetto_zero_gen_headers", |
| 3791 | "perfetto_protos_perfetto_trace_power_zero_gen_headers", |
| 3792 | "perfetto_protos_perfetto_trace_processor_metrics_impl_zero_gen_headers", |
| 3793 | "perfetto_protos_perfetto_trace_profiling_zero_gen_headers", |
| 3794 | "perfetto_protos_perfetto_trace_ps_zero_gen_headers", |
| 3795 | "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers", |
| 3796 | "perfetto_protos_perfetto_trace_track_event_zero_gen_headers", |
| 3797 | "perfetto_protos_perfetto_trace_zero_gen_headers", |
| 3798 | ], |
| 3799 | defaults: [ |
| 3800 | "perfetto_defaults", |
| 3801 | ], |
| 3802 | cflags: [ |
| 3803 | "-DGOOGLE_PROTOBUF_NO_RTTI", |
| 3804 | "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
| 3805 | "-DHAVE_HIDDEN", |
| 3806 | "-DPERFETTO_BUILD_WITH_ANDROID", |
| 3807 | ], |
| 3808 | target: { |
| 3809 | android: { |
| 3810 | shared_libs: [ |
| 3811 | "libandroidicu", |
| 3812 | "liblog", |
| 3813 | "libsqlite", |
| 3814 | "libutils", |
| 3815 | ], |
| 3816 | }, |
| 3817 | host: { |
| 3818 | static_libs: [ |
| 3819 | "libsqlite", |
| 3820 | ], |
| 3821 | }, |
| 3822 | }, |
| 3823 | } |
| 3824 | |
Primiano Tucci | 21c19d8 | 2018-03-29 12:35:08 +0100 | [diff] [blame] | 3825 | // GN target: //:trace_to_text |
| 3826 | cc_binary_host { |
| 3827 | name: "trace_to_text", |
| 3828 | srcs: [ |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 3829 | ":perfetto_protos_perfetto_common_lite_gen", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 3830 | ":perfetto_protos_perfetto_common_zero_gen", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 3831 | ":perfetto_protos_perfetto_config_lite_gen", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 3832 | ":perfetto_protos_perfetto_config_zero_gen", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 3833 | ":perfetto_protos_perfetto_metrics_android_zero_gen", |
| 3834 | ":perfetto_protos_perfetto_metrics_zero_gen", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 3835 | ":perfetto_protos_perfetto_trace_android_lite_gen", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 3836 | ":perfetto_protos_perfetto_trace_android_zero_gen", |
Primiano Tucci | 21c19d8 | 2018-03-29 12:35:08 +0100 | [diff] [blame] | 3837 | ":perfetto_protos_perfetto_trace_chrome_lite_gen", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 3838 | ":perfetto_protos_perfetto_trace_chrome_zero_gen", |
Primiano Tucci | 21c19d8 | 2018-03-29 12:35:08 +0100 | [diff] [blame] | 3839 | ":perfetto_protos_perfetto_trace_filesystem_lite_gen", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 3840 | ":perfetto_protos_perfetto_trace_filesystem_zero_gen", |
Primiano Tucci | 21c19d8 | 2018-03-29 12:35:08 +0100 | [diff] [blame] | 3841 | ":perfetto_protos_perfetto_trace_ftrace_lite_gen", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 3842 | ":perfetto_protos_perfetto_trace_ftrace_zero_gen", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 3843 | ":perfetto_protos_perfetto_trace_gpu_lite_gen", |
| 3844 | ":perfetto_protos_perfetto_trace_gpu_zero_gen", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 3845 | ":perfetto_protos_perfetto_trace_interned_data_lite_gen", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 3846 | ":perfetto_protos_perfetto_trace_interned_data_zero_gen", |
Primiano Tucci | 21c19d8 | 2018-03-29 12:35:08 +0100 | [diff] [blame] | 3847 | ":perfetto_protos_perfetto_trace_lite_gen", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 3848 | ":perfetto_protos_perfetto_trace_minimal_lite_gen", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 3849 | ":perfetto_protos_perfetto_trace_perfetto_lite_gen", |
| 3850 | ":perfetto_protos_perfetto_trace_perfetto_zero_gen", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 3851 | ":perfetto_protos_perfetto_trace_power_lite_gen", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 3852 | ":perfetto_protos_perfetto_trace_power_zero_gen", |
Lalit Maganti | e59293b | 2019-05-22 15:07:39 +0100 | [diff] [blame] | 3853 | ":perfetto_protos_perfetto_trace_processor_metrics_impl_zero_gen", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 3854 | ":perfetto_protos_perfetto_trace_profiling_lite_gen", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 3855 | ":perfetto_protos_perfetto_trace_profiling_zero_gen", |
Primiano Tucci | 21c19d8 | 2018-03-29 12:35:08 +0100 | [diff] [blame] | 3856 | ":perfetto_protos_perfetto_trace_ps_lite_gen", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 3857 | ":perfetto_protos_perfetto_trace_ps_zero_gen", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 3858 | ":perfetto_protos_perfetto_trace_sys_stats_lite_gen", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 3859 | ":perfetto_protos_perfetto_trace_sys_stats_zero_gen", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 3860 | ":perfetto_protos_perfetto_trace_track_event_lite_gen", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 3861 | ":perfetto_protos_perfetto_trace_track_event_zero_gen", |
| 3862 | ":perfetto_protos_perfetto_trace_zero_gen", |
Florian Mayer | 0ca7fb4 | 2018-11-15 21:13:42 +0000 | [diff] [blame] | 3863 | ":perfetto_protos_third_party_pprof_lite_gen", |
Sami Kyostila | 389861f | 2019-07-09 20:52:43 +0100 | [diff] [blame] | 3864 | "src/base/event_fd.cc", |
Florian Mayer | 0ca7fb4 | 2018-11-15 21:13:42 +0000 | [diff] [blame] | 3865 | "src/base/file_utils.cc", |
| 3866 | "src/base/metatrace.cc", |
| 3867 | "src/base/paged_memory.cc", |
Primiano Tucci | 76499cd | 2018-11-21 10:54:04 +0100 | [diff] [blame] | 3868 | "src/base/pipe.cc", |
Florian Mayer | 0ca7fb4 | 2018-11-15 21:13:42 +0000 | [diff] [blame] | 3869 | "src/base/string_splitter.cc", |
| 3870 | "src/base/string_utils.cc", |
Primiano Tucci | 60c4a2b | 2019-03-02 17:11:18 +0000 | [diff] [blame] | 3871 | "src/base/string_view.cc", |
Florian Mayer | 0ca7fb4 | 2018-11-15 21:13:42 +0000 | [diff] [blame] | 3872 | "src/base/temp_file.cc", |
| 3873 | "src/base/thread_checker.cc", |
Ryan Savitski | 2988579 | 2019-03-14 12:10:13 +0000 | [diff] [blame] | 3874 | "src/base/thread_task_runner.cc", |
Florian Mayer | 0ca7fb4 | 2018-11-15 21:13:42 +0000 | [diff] [blame] | 3875 | "src/base/time.cc", |
| 3876 | "src/base/unix_task_runner.cc", |
| 3877 | "src/base/virtual_destructors.cc", |
Sami Kyostila | 389861f | 2019-07-09 20:52:43 +0100 | [diff] [blame] | 3878 | "src/base/waitable_event.cc", |
Florian Mayer | 0ca7fb4 | 2018-11-15 21:13:42 +0000 | [diff] [blame] | 3879 | "src/base/watchdog_posix.cc", |
Lalit Maganti | 17aa273 | 2019-02-08 15:47:26 +0000 | [diff] [blame] | 3880 | "src/protozero/message.cc", |
| 3881 | "src/protozero/message_handle.cc", |
| 3882 | "src/protozero/proto_decoder.cc", |
Lalit Maganti | 17aa273 | 2019-02-08 15:47:26 +0000 | [diff] [blame] | 3883 | "src/protozero/scattered_heap_buffer.cc", |
| 3884 | "src/protozero/scattered_stream_null_delegate.cc", |
| 3885 | "src/protozero/scattered_stream_writer.cc", |
| 3886 | "src/trace_processor/android_logs_table.cc", |
| 3887 | "src/trace_processor/args_table.cc", |
| 3888 | "src/trace_processor/args_tracker.cc", |
| 3889 | "src/trace_processor/clock_tracker.cc", |
Lalit Maganti | 8320e6d | 2019-03-14 18:49:33 +0000 | [diff] [blame] | 3890 | "src/trace_processor/counter_definitions_table.cc", |
| 3891 | "src/trace_processor/counter_values_table.cc", |
Lalit Maganti | 17aa273 | 2019-02-08 15:47:26 +0000 | [diff] [blame] | 3892 | "src/trace_processor/event_tracker.cc", |
| 3893 | "src/trace_processor/filtered_row_index.cc", |
| 3894 | "src/trace_processor/ftrace_descriptors.cc", |
| 3895 | "src/trace_processor/ftrace_utils.cc", |
Brian Hamrick | d57e133 | 2019-04-24 11:25:36 -0700 | [diff] [blame] | 3896 | "src/trace_processor/fuchsia_provider_view.cc", |
| 3897 | "src/trace_processor/fuchsia_trace_parser.cc", |
| 3898 | "src/trace_processor/fuchsia_trace_tokenizer.cc", |
| 3899 | "src/trace_processor/fuchsia_trace_utils.cc", |
Hector Dearman | 22f1de5 | 2019-06-04 18:11:45 +0100 | [diff] [blame] | 3900 | "src/trace_processor/gzip_trace_parser.cc", |
Lalit Maganti | 9b2d52b | 2019-05-07 14:32:15 +0100 | [diff] [blame] | 3901 | "src/trace_processor/heap_profile_allocation_table.cc", |
| 3902 | "src/trace_processor/heap_profile_callsite_table.cc", |
| 3903 | "src/trace_processor/heap_profile_frame_table.cc", |
| 3904 | "src/trace_processor/heap_profile_mapping_table.cc", |
Florian Mayer | 438b5ab | 2019-05-02 11:18:06 +0100 | [diff] [blame] | 3905 | "src/trace_processor/heap_profile_tracker.cc", |
Lalit Maganti | 17aa273 | 2019-02-08 15:47:26 +0000 | [diff] [blame] | 3906 | "src/trace_processor/instants_table.cc", |
Mikhail Khokhlov | e466c00 | 2019-05-23 13:33:33 +0100 | [diff] [blame] | 3907 | "src/trace_processor/metadata_table.cc", |
Lalit Maganti | 6221107 | 2019-05-10 14:09:58 +0100 | [diff] [blame] | 3908 | "src/trace_processor/metrics/descriptors.cc", |
Lalit Maganti | 622676a | 2019-04-30 14:15:37 +0100 | [diff] [blame] | 3909 | "src/trace_processor/metrics/metrics.cc", |
Lalit Maganti | 17aa273 | 2019-02-08 15:47:26 +0000 | [diff] [blame] | 3910 | "src/trace_processor/process_table.cc", |
| 3911 | "src/trace_processor/process_tracker.cc", |
| 3912 | "src/trace_processor/proto_trace_parser.cc", |
| 3913 | "src/trace_processor/proto_trace_tokenizer.cc", |
| 3914 | "src/trace_processor/query_constraints.cc", |
| 3915 | "src/trace_processor/raw_table.cc", |
| 3916 | "src/trace_processor/row_iterators.cc", |
| 3917 | "src/trace_processor/sched_slice_table.cc", |
| 3918 | "src/trace_processor/slice_table.cc", |
| 3919 | "src/trace_processor/slice_tracker.cc", |
| 3920 | "src/trace_processor/span_join_operator_table.cc", |
| 3921 | "src/trace_processor/sql_stats_table.cc", |
Ioannis Ilkos | bf54ebb | 2019-03-08 13:26:14 +0000 | [diff] [blame] | 3922 | "src/trace_processor/sqlite3_str_split.cc", |
Lalit Maganti | 5132c65 | 2019-07-29 23:31:12 +0530 | [diff] [blame] | 3923 | "src/trace_processor/sqlite_table.cc", |
Lalit Maganti | 17aa273 | 2019-02-08 15:47:26 +0000 | [diff] [blame] | 3924 | "src/trace_processor/stats_table.cc", |
| 3925 | "src/trace_processor/storage_columns.cc", |
| 3926 | "src/trace_processor/storage_schema.cc", |
| 3927 | "src/trace_processor/storage_table.cc", |
Lalit Maganti | 8eba309 | 2019-03-27 13:25:29 +0000 | [diff] [blame] | 3928 | "src/trace_processor/string_pool.cc", |
Hector Dearman | f31a703 | 2019-03-29 10:05:09 +0000 | [diff] [blame] | 3929 | "src/trace_processor/syscall_tracker.cc", |
Lalit Maganti | d33dc27 | 2019-06-06 14:51:45 +0100 | [diff] [blame] | 3930 | "src/trace_processor/systrace_parser.cc", |
Lalit Maganti | d54d752 | 2019-05-30 14:36:08 +0100 | [diff] [blame] | 3931 | "src/trace_processor/systrace_trace_parser.cc", |
Lalit Maganti | 17aa273 | 2019-02-08 15:47:26 +0000 | [diff] [blame] | 3932 | "src/trace_processor/thread_table.cc", |
| 3933 | "src/trace_processor/trace_processor.cc", |
| 3934 | "src/trace_processor/trace_processor_context.cc", |
| 3935 | "src/trace_processor/trace_processor_impl.cc", |
| 3936 | "src/trace_processor/trace_sorter.cc", |
| 3937 | "src/trace_processor/trace_storage.cc", |
| 3938 | "src/trace_processor/virtual_destructors.cc", |
Eric Seckler | 5703ede | 2019-07-10 10:13:02 +0100 | [diff] [blame] | 3939 | "src/trace_processor/virtual_track_tracker.cc", |
Lalit Maganti | 17aa273 | 2019-02-08 15:47:26 +0000 | [diff] [blame] | 3940 | "src/trace_processor/window_operator_table.cc", |
Primiano Tucci | 21c19d8 | 2018-03-29 12:35:08 +0100 | [diff] [blame] | 3941 | "tools/trace_to_text/main.cc", |
Ioannis Ilkos | bd4ee3f | 2019-06-21 17:40:09 +0100 | [diff] [blame] | 3942 | "tools/trace_to_text/pprof_builder.cc", |
Primiano Tucci | 20dc8f7 | 2018-10-23 12:28:29 +0100 | [diff] [blame] | 3943 | "tools/trace_to_text/proto_full_utils.cc", |
Florian Mayer | 0b06375 | 2019-07-08 19:51:31 +0100 | [diff] [blame] | 3944 | "tools/trace_to_text/symbolize_profile.cc", |
Florian Mayer | 0ca7fb4 | 2018-11-15 21:13:42 +0000 | [diff] [blame] | 3945 | "tools/trace_to_text/trace_to_profile.cc", |
Primiano Tucci | 20dc8f7 | 2018-10-23 12:28:29 +0100 | [diff] [blame] | 3946 | "tools/trace_to_text/trace_to_systrace.cc", |
| 3947 | "tools/trace_to_text/trace_to_text.cc", |
| 3948 | "tools/trace_to_text/utils.cc", |
Primiano Tucci | 21c19d8 | 2018-03-29 12:35:08 +0100 | [diff] [blame] | 3949 | ], |
| 3950 | shared_libs: [ |
| 3951 | "liblog", |
| 3952 | "libprotobuf-cpp-full", |
| 3953 | "libprotobuf-cpp-lite", |
Hector Dearman | 22f1de5 | 2019-06-04 18:11:45 +0100 | [diff] [blame] | 3954 | "libz", |
Primiano Tucci | 21c19d8 | 2018-03-29 12:35:08 +0100 | [diff] [blame] | 3955 | ], |
Eric Seckler | 57c89d9 | 2018-10-26 15:11:55 +0100 | [diff] [blame] | 3956 | static_libs: [ |
Lalit Maganti | 17aa273 | 2019-02-08 15:47:26 +0000 | [diff] [blame] | 3957 | "libsqlite", |
Eric Seckler | 57c89d9 | 2018-10-26 15:11:55 +0100 | [diff] [blame] | 3958 | ], |
Primiano Tucci | 21c19d8 | 2018-03-29 12:35:08 +0100 | [diff] [blame] | 3959 | generated_headers: [ |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 3960 | "gen_merged_sql_metrics", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 3961 | "perfetto_protos_perfetto_common_lite_gen_headers", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 3962 | "perfetto_protos_perfetto_common_zero_gen_headers", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 3963 | "perfetto_protos_perfetto_config_lite_gen_headers", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 3964 | "perfetto_protos_perfetto_config_zero_gen_headers", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 3965 | "perfetto_protos_perfetto_metrics_android_zero_gen_headers", |
| 3966 | "perfetto_protos_perfetto_metrics_zero_gen_headers", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 3967 | "perfetto_protos_perfetto_trace_android_lite_gen_headers", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 3968 | "perfetto_protos_perfetto_trace_android_zero_gen_headers", |
Primiano Tucci | 21c19d8 | 2018-03-29 12:35:08 +0100 | [diff] [blame] | 3969 | "perfetto_protos_perfetto_trace_chrome_lite_gen_headers", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 3970 | "perfetto_protos_perfetto_trace_chrome_zero_gen_headers", |
Primiano Tucci | 21c19d8 | 2018-03-29 12:35:08 +0100 | [diff] [blame] | 3971 | "perfetto_protos_perfetto_trace_filesystem_lite_gen_headers", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 3972 | "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers", |
Primiano Tucci | 21c19d8 | 2018-03-29 12:35:08 +0100 | [diff] [blame] | 3973 | "perfetto_protos_perfetto_trace_ftrace_lite_gen_headers", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 3974 | "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 3975 | "perfetto_protos_perfetto_trace_gpu_lite_gen_headers", |
| 3976 | "perfetto_protos_perfetto_trace_gpu_zero_gen_headers", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 3977 | "perfetto_protos_perfetto_trace_interned_data_lite_gen_headers", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 3978 | "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers", |
Primiano Tucci | 21c19d8 | 2018-03-29 12:35:08 +0100 | [diff] [blame] | 3979 | "perfetto_protos_perfetto_trace_lite_gen_headers", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 3980 | "perfetto_protos_perfetto_trace_minimal_lite_gen_headers", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 3981 | "perfetto_protos_perfetto_trace_perfetto_lite_gen_headers", |
| 3982 | "perfetto_protos_perfetto_trace_perfetto_zero_gen_headers", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 3983 | "perfetto_protos_perfetto_trace_power_lite_gen_headers", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 3984 | "perfetto_protos_perfetto_trace_power_zero_gen_headers", |
Lalit Maganti | e59293b | 2019-05-22 15:07:39 +0100 | [diff] [blame] | 3985 | "perfetto_protos_perfetto_trace_processor_metrics_impl_zero_gen_headers", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 3986 | "perfetto_protos_perfetto_trace_profiling_lite_gen_headers", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 3987 | "perfetto_protos_perfetto_trace_profiling_zero_gen_headers", |
Primiano Tucci | 21c19d8 | 2018-03-29 12:35:08 +0100 | [diff] [blame] | 3988 | "perfetto_protos_perfetto_trace_ps_lite_gen_headers", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 3989 | "perfetto_protos_perfetto_trace_ps_zero_gen_headers", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 3990 | "perfetto_protos_perfetto_trace_sys_stats_lite_gen_headers", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 3991 | "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 3992 | "perfetto_protos_perfetto_trace_track_event_lite_gen_headers", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 3993 | "perfetto_protos_perfetto_trace_track_event_zero_gen_headers", |
| 3994 | "perfetto_protos_perfetto_trace_zero_gen_headers", |
Florian Mayer | 0ca7fb4 | 2018-11-15 21:13:42 +0000 | [diff] [blame] | 3995 | "perfetto_protos_third_party_pprof_lite_gen_headers", |
Primiano Tucci | 21c19d8 | 2018-03-29 12:35:08 +0100 | [diff] [blame] | 3996 | ], |
| 3997 | defaults: [ |
| 3998 | "perfetto_defaults", |
| 3999 | ], |
| 4000 | cflags: [ |
| 4001 | "-DGOOGLE_PROTOBUF_NO_RTTI", |
| 4002 | "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
Hector Dearman | 22f1de5 | 2019-06-04 18:11:45 +0100 | [diff] [blame] | 4003 | "-DHAVE_HIDDEN", |
Primiano Tucci | 7c7f5f5 | 2019-01-15 21:47:04 +0000 | [diff] [blame] | 4004 | "-DPERFETTO_BUILD_WITH_ANDROID", |
Primiano Tucci | 21c19d8 | 2018-03-29 12:35:08 +0100 | [diff] [blame] | 4005 | ], |
| 4006 | } |
| 4007 | |
Primiano Tucci | 4e49c02 | 2017-12-21 18:22:44 +0100 | [diff] [blame] | 4008 | // GN target: //:traced |
| 4009 | cc_binary { |
| 4010 | name: "traced", |
| 4011 | srcs: [ |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 4012 | "src/traced/service/main.cc", |
Primiano Tucci | 4e49c02 | 2017-12-21 18:22:44 +0100 | [diff] [blame] | 4013 | ], |
| 4014 | shared_libs: [ |
Primiano Tucci | 4e49c02 | 2017-12-21 18:22:44 +0100 | [diff] [blame] | 4015 | "liblog", |
Primiano Tucci | bdb2a59 | 2018-10-11 15:59:29 +0100 | [diff] [blame] | 4016 | "libperfetto", |
Primiano Tucci | 4e49c02 | 2017-12-21 18:22:44 +0100 | [diff] [blame] | 4017 | ], |
Primiano Tucci | 5a30453 | 2018-01-09 14:15:43 +0000 | [diff] [blame] | 4018 | init_rc: [ |
| 4019 | "perfetto.rc", |
| 4020 | ], |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 4021 | defaults: [ |
| 4022 | "perfetto_defaults", |
Primiano Tucci | 4e49c02 | 2017-12-21 18:22:44 +0100 | [diff] [blame] | 4023 | ], |
Primiano Tucci | 7c7f5f5 | 2019-01-15 21:47:04 +0000 | [diff] [blame] | 4024 | cflags: [ |
| 4025 | "-DPERFETTO_BUILD_WITH_ANDROID", |
| 4026 | ], |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 4027 | } |
| 4028 | |
| 4029 | // GN target: //:traced_probes |
| 4030 | cc_binary { |
| 4031 | name: "traced_probes", |
| 4032 | srcs: [ |
| 4033 | "src/traced/probes/main.cc", |
| 4034 | ], |
| 4035 | shared_libs: [ |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 4036 | "liblog", |
Primiano Tucci | bdb2a59 | 2018-10-11 15:59:29 +0100 | [diff] [blame] | 4037 | "libperfetto", |
Primiano Tucci | 4e49c02 | 2017-12-21 18:22:44 +0100 | [diff] [blame] | 4038 | ], |
| 4039 | defaults: [ |
| 4040 | "perfetto_defaults", |
| 4041 | ], |
Primiano Tucci | 7c7f5f5 | 2019-01-15 21:47:04 +0000 | [diff] [blame] | 4042 | cflags: [ |
| 4043 | "-DPERFETTO_BUILD_WITH_ANDROID", |
| 4044 | ], |
Primiano Tucci | 676f0cc | 2018-12-03 20:03:26 +0100 | [diff] [blame] | 4045 | required: [ |
| 4046 | "libperfetto_android_internal", |
Hector Dearman | 696ff77 | 2019-04-23 18:38:53 +0100 | [diff] [blame] | 4047 | "trigger_perfetto", |
| 4048 | ], |
| 4049 | } |
| 4050 | |
| 4051 | // GN target: //:trigger_perfetto |
| 4052 | cc_binary { |
| 4053 | name: "trigger_perfetto", |
| 4054 | srcs: [ |
| 4055 | ":perfetto_protos_perfetto_common_lite_gen", |
| 4056 | ":perfetto_protos_perfetto_common_zero_gen", |
| 4057 | ":perfetto_protos_perfetto_config_lite_gen", |
| 4058 | ":perfetto_protos_perfetto_config_zero_gen", |
| 4059 | ":perfetto_protos_perfetto_ipc_ipc_gen", |
| 4060 | ":perfetto_protos_perfetto_trace_android_zero_gen", |
| 4061 | ":perfetto_protos_perfetto_trace_chrome_zero_gen", |
| 4062 | ":perfetto_protos_perfetto_trace_filesystem_zero_gen", |
| 4063 | ":perfetto_protos_perfetto_trace_ftrace_zero_gen", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 4064 | ":perfetto_protos_perfetto_trace_gpu_zero_gen", |
Hector Dearman | 696ff77 | 2019-04-23 18:38:53 +0100 | [diff] [blame] | 4065 | ":perfetto_protos_perfetto_trace_interned_data_zero_gen", |
| 4066 | ":perfetto_protos_perfetto_trace_minimal_lite_gen", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 4067 | ":perfetto_protos_perfetto_trace_perfetto_zero_gen", |
Hector Dearman | 696ff77 | 2019-04-23 18:38:53 +0100 | [diff] [blame] | 4068 | ":perfetto_protos_perfetto_trace_power_zero_gen", |
| 4069 | ":perfetto_protos_perfetto_trace_profiling_zero_gen", |
| 4070 | ":perfetto_protos_perfetto_trace_ps_zero_gen", |
| 4071 | ":perfetto_protos_perfetto_trace_sys_stats_zero_gen", |
| 4072 | ":perfetto_protos_perfetto_trace_track_event_zero_gen", |
| 4073 | ":perfetto_protos_perfetto_trace_trusted_lite_gen", |
| 4074 | ":perfetto_protos_perfetto_trace_zero_gen", |
| 4075 | ":perfetto_src_ipc_wire_protocol_gen", |
| 4076 | ":perfetto_src_perfetto_cmd_protos_gen", |
Sami Kyostila | 389861f | 2019-07-09 20:52:43 +0100 | [diff] [blame] | 4077 | "src/base/event_fd.cc", |
Hector Dearman | 696ff77 | 2019-04-23 18:38:53 +0100 | [diff] [blame] | 4078 | "src/base/file_utils.cc", |
| 4079 | "src/base/metatrace.cc", |
| 4080 | "src/base/paged_memory.cc", |
| 4081 | "src/base/pipe.cc", |
| 4082 | "src/base/string_splitter.cc", |
| 4083 | "src/base/string_utils.cc", |
| 4084 | "src/base/string_view.cc", |
| 4085 | "src/base/temp_file.cc", |
| 4086 | "src/base/thread_checker.cc", |
| 4087 | "src/base/thread_task_runner.cc", |
| 4088 | "src/base/time.cc", |
| 4089 | "src/base/unix_socket.cc", |
| 4090 | "src/base/unix_task_runner.cc", |
| 4091 | "src/base/virtual_destructors.cc", |
Sami Kyostila | 389861f | 2019-07-09 20:52:43 +0100 | [diff] [blame] | 4092 | "src/base/waitable_event.cc", |
Hector Dearman | 696ff77 | 2019-04-23 18:38:53 +0100 | [diff] [blame] | 4093 | "src/base/watchdog_posix.cc", |
| 4094 | "src/ipc/buffered_frame_deserializer.cc", |
| 4095 | "src/ipc/client_impl.cc", |
| 4096 | "src/ipc/deferred.cc", |
| 4097 | "src/ipc/host_impl.cc", |
| 4098 | "src/ipc/service_proxy.cc", |
| 4099 | "src/ipc/virtual_destructors.cc", |
| 4100 | "src/perfetto_cmd/trigger_perfetto.cc", |
| 4101 | "src/perfetto_cmd/trigger_perfetto_main.cc", |
| 4102 | "src/perfetto_cmd/trigger_producer.cc", |
| 4103 | "src/protozero/message.cc", |
| 4104 | "src/protozero/message_handle.cc", |
| 4105 | "src/protozero/proto_decoder.cc", |
| 4106 | "src/protozero/scattered_heap_buffer.cc", |
| 4107 | "src/protozero/scattered_stream_null_delegate.cc", |
| 4108 | "src/protozero/scattered_stream_writer.cc", |
Hector Dearman | 696ff77 | 2019-04-23 18:38:53 +0100 | [diff] [blame] | 4109 | "src/tracing/core/chrome_config.cc", |
| 4110 | "src/tracing/core/commit_data_request.cc", |
| 4111 | "src/tracing/core/data_source_config.cc", |
| 4112 | "src/tracing/core/data_source_descriptor.cc", |
Hector Dearman | 696ff77 | 2019-04-23 18:38:53 +0100 | [diff] [blame] | 4113 | "src/tracing/core/id_allocator.cc", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 4114 | "src/tracing/core/metatrace_writer.cc", |
Hector Dearman | 696ff77 | 2019-04-23 18:38:53 +0100 | [diff] [blame] | 4115 | "src/tracing/core/null_trace_writer.cc", |
| 4116 | "src/tracing/core/observable_events.cc", |
| 4117 | "src/tracing/core/packet_stream_validator.cc", |
Hector Dearman | 696ff77 | 2019-04-23 18:38:53 +0100 | [diff] [blame] | 4118 | "src/tracing/core/shared_memory_abi.cc", |
| 4119 | "src/tracing/core/shared_memory_arbiter_impl.cc", |
| 4120 | "src/tracing/core/sliced_protobuf_input_stream.cc", |
| 4121 | "src/tracing/core/startup_trace_writer.cc", |
| 4122 | "src/tracing/core/startup_trace_writer_registry.cc", |
Hector Dearman | 696ff77 | 2019-04-23 18:38:53 +0100 | [diff] [blame] | 4123 | "src/tracing/core/test_config.cc", |
| 4124 | "src/tracing/core/trace_buffer.cc", |
| 4125 | "src/tracing/core/trace_config.cc", |
| 4126 | "src/tracing/core/trace_packet.cc", |
| 4127 | "src/tracing/core/trace_stats.cc", |
| 4128 | "src/tracing/core/trace_writer_impl.cc", |
| 4129 | "src/tracing/core/tracing_service_impl.cc", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 4130 | "src/tracing/core/tracing_service_state.cc", |
Hector Dearman | 696ff77 | 2019-04-23 18:38:53 +0100 | [diff] [blame] | 4131 | "src/tracing/core/virtual_destructors.cc", |
Primiano Tucci | 2c5488f | 2019-06-01 03:27:28 +0100 | [diff] [blame] | 4132 | "src/tracing/trace_writer_base.cc", |
Hector Dearman | 696ff77 | 2019-04-23 18:38:53 +0100 | [diff] [blame] | 4133 | ], |
| 4134 | shared_libs: [ |
| 4135 | "liblog", |
| 4136 | "libprotobuf-cpp-lite", |
| 4137 | ], |
| 4138 | static_libs: [ |
Hector Dearman | 696ff77 | 2019-04-23 18:38:53 +0100 | [diff] [blame] | 4139 | "perfetto_src_tracing_ipc", |
| 4140 | ], |
| 4141 | generated_headers: [ |
| 4142 | "perfetto_protos_perfetto_common_lite_gen_headers", |
| 4143 | "perfetto_protos_perfetto_common_zero_gen_headers", |
| 4144 | "perfetto_protos_perfetto_config_lite_gen_headers", |
| 4145 | "perfetto_protos_perfetto_config_zero_gen_headers", |
| 4146 | "perfetto_protos_perfetto_ipc_ipc_gen_headers", |
| 4147 | "perfetto_protos_perfetto_trace_android_zero_gen_headers", |
| 4148 | "perfetto_protos_perfetto_trace_chrome_zero_gen_headers", |
| 4149 | "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers", |
| 4150 | "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 4151 | "perfetto_protos_perfetto_trace_gpu_zero_gen_headers", |
Hector Dearman | 696ff77 | 2019-04-23 18:38:53 +0100 | [diff] [blame] | 4152 | "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers", |
| 4153 | "perfetto_protos_perfetto_trace_minimal_lite_gen_headers", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 4154 | "perfetto_protos_perfetto_trace_perfetto_zero_gen_headers", |
Hector Dearman | 696ff77 | 2019-04-23 18:38:53 +0100 | [diff] [blame] | 4155 | "perfetto_protos_perfetto_trace_power_zero_gen_headers", |
| 4156 | "perfetto_protos_perfetto_trace_profiling_zero_gen_headers", |
| 4157 | "perfetto_protos_perfetto_trace_ps_zero_gen_headers", |
| 4158 | "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers", |
| 4159 | "perfetto_protos_perfetto_trace_track_event_zero_gen_headers", |
| 4160 | "perfetto_protos_perfetto_trace_trusted_lite_gen_headers", |
| 4161 | "perfetto_protos_perfetto_trace_zero_gen_headers", |
| 4162 | "perfetto_src_ipc_wire_protocol_gen_headers", |
| 4163 | "perfetto_src_perfetto_cmd_protos_gen_headers", |
| 4164 | ], |
| 4165 | defaults: [ |
| 4166 | "perfetto_defaults", |
| 4167 | ], |
| 4168 | cflags: [ |
| 4169 | "-DGOOGLE_PROTOBUF_NO_RTTI", |
| 4170 | "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
| 4171 | "-DPERFETTO_BUILD_WITH_ANDROID", |
Primiano Tucci | 676f0cc | 2018-12-03 20:03:26 +0100 | [diff] [blame] | 4172 | ], |
Primiano Tucci | 4e49c02 | 2017-12-21 18:22:44 +0100 | [diff] [blame] | 4173 | } |
Lalit Maganti | 83e712a | 2018-02-05 15:48:00 +0000 | [diff] [blame] | 4174 | |
| 4175 | // 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] | 4176 | cc_library_static { |
| 4177 | name: "perfetto_cts_deps", |
Lalit Maganti | 83e712a | 2018-02-05 15:48:00 +0000 | [diff] [blame] | 4178 | srcs: [ |
Lalit Maganti | 83e712a | 2018-02-05 15:48:00 +0000 | [diff] [blame] | 4179 | "src/base/test/test_task_runner.cc", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 4180 | "src/traced/probes/ftrace/cpu_reader.cc", |
| 4181 | "src/traced/probes/ftrace/event_info.cc", |
| 4182 | "src/traced/probes/ftrace/format_parser.cc", |
| 4183 | "src/traced/probes/ftrace/ftrace_controller.cc", |
| 4184 | "src/traced/probes/ftrace/ftrace_procfs.cc", |
| 4185 | "src/traced/probes/ftrace/proto_translation_table.cc", |
Isabelle Taylor | d404ea1 | 2018-02-19 17:28:01 +0000 | [diff] [blame] | 4186 | "src/traced/probes/probes_producer.cc", |
Lalit Maganti | 83e712a | 2018-02-05 15:48:00 +0000 | [diff] [blame] | 4187 | "test/end_to_end_integrationtest.cc", |
Lalit Maganti | c4c3ceb | 2018-03-29 20:38:13 +0100 | [diff] [blame] | 4188 | "test/fake_producer.cc", |
| 4189 | "test/task_runner_thread.cc", |
Primiano Tucci | 008cdb9 | 2019-07-19 19:52:41 +0100 | [diff] [blame] | 4190 | "test/task_runner_thread_delegates.cc", |
Lalit Maganti | c4c3ceb | 2018-03-29 20:38:13 +0100 | [diff] [blame] | 4191 | "test/test_helper.cc", |
Lalit Maganti | 83e712a | 2018-02-05 15:48:00 +0000 | [diff] [blame] | 4192 | ], |
Lalit Maganti | a88807d | 2018-03-05 18:21:38 +0000 | [diff] [blame] | 4193 | export_include_dirs: [ |
| 4194 | ".", |
Lalit Maganti | 83e712a | 2018-02-05 15:48:00 +0000 | [diff] [blame] | 4195 | ], |
| 4196 | shared_libs: [ |
Lalit Maganti | 83e712a | 2018-02-05 15:48:00 +0000 | [diff] [blame] | 4197 | "libprotobuf-cpp-lite", |
| 4198 | ], |
Lalit Maganti | a88807d | 2018-03-05 18:21:38 +0000 | [diff] [blame] | 4199 | static_libs: [ |
Primiano Tucci | 106605c | 2019-01-08 21:12:58 +0000 | [diff] [blame] | 4200 | "libgmock", |
Lalit Maganti | 6168188 | 2018-03-14 15:29:01 +0000 | [diff] [blame] | 4201 | "libgtest", |
Lalit Maganti | a88807d | 2018-03-05 18:21:38 +0000 | [diff] [blame] | 4202 | "perfetto_src_tracing_ipc", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 4203 | "perfetto_trace_protos", |
Lalit Maganti | 83e712a | 2018-02-05 15:48:00 +0000 | [diff] [blame] | 4204 | ], |
Lalit Maganti | b34c7a2 | 2018-03-07 11:53:20 +0000 | [diff] [blame] | 4205 | cflags: [ |
| 4206 | "-DPERFETTO_BUILD_WITH_ANDROID", |
| 4207 | ], |
Lalit Maganti | 83e712a | 2018-02-05 15:48:00 +0000 | [diff] [blame] | 4208 | } |
| 4209 | |
Lalit Maganti | a88807d | 2018-03-05 18:21:38 +0000 | [diff] [blame] | 4210 | cc_library_static { |
| 4211 | name: "perfetto_cts_jni_deps", |
Lalit Maganti | 83e712a | 2018-02-05 15:48:00 +0000 | [diff] [blame] | 4212 | srcs: [ |
Lalit Maganti | 83e712a | 2018-02-05 15:48:00 +0000 | [diff] [blame] | 4213 | "src/base/test/test_task_runner.cc", |
| 4214 | "test/fake_producer.cc", |
Primiano Tucci | 008cdb9 | 2019-07-19 19:52:41 +0100 | [diff] [blame] | 4215 | "test/task_runner_thread_delegates.cc", |
Lalit Maganti | 83e712a | 2018-02-05 15:48:00 +0000 | [diff] [blame] | 4216 | ], |
| 4217 | shared_libs: [ |
Lalit Maganti | a88807d | 2018-03-05 18:21:38 +0000 | [diff] [blame] | 4218 | "libprotobuf-cpp-lite", |
Lalit Maganti | 83e712a | 2018-02-05 15:48:00 +0000 | [diff] [blame] | 4219 | ], |
Lalit Maganti | a88807d | 2018-03-05 18:21:38 +0000 | [diff] [blame] | 4220 | export_include_dirs: [ |
| 4221 | ".", |
Lalit Maganti | 83e712a | 2018-02-05 15:48:00 +0000 | [diff] [blame] | 4222 | ], |
Lalit Maganti | a88807d | 2018-03-05 18:21:38 +0000 | [diff] [blame] | 4223 | static_libs: [ |
Lalit Maganti | 6168188 | 2018-03-14 15:29:01 +0000 | [diff] [blame] | 4224 | "libgtest", |
Lalit Maganti | a88807d | 2018-03-05 18:21:38 +0000 | [diff] [blame] | 4225 | "perfetto_src_tracing_ipc", |
| 4226 | ], |
Lalit Maganti | b34c7a2 | 2018-03-07 11:53:20 +0000 | [diff] [blame] | 4227 | cflags: [ |
| 4228 | "-DPERFETTO_BUILD_WITH_ANDROID", |
| 4229 | ], |
Lalit Maganti | 6820cb6 | 2018-10-05 13:34:22 +0100 | [diff] [blame] | 4230 | } |
| 4231 | |
Lalit Maganti | f5d666d | 2018-10-23 14:23:24 +0100 | [diff] [blame] | 4232 | java_library_host { |
| 4233 | name: "perfetto_config-full", |
Lalit Maganti | 6820cb6 | 2018-10-05 13:34:22 +0100 | [diff] [blame] | 4234 | proto: { |
Lalit Maganti | f5d666d | 2018-10-23 14:23:24 +0100 | [diff] [blame] | 4235 | type: "full", |
Lalit Maganti | 6820cb6 | 2018-10-05 13:34:22 +0100 | [diff] [blame] | 4236 | }, |
| 4237 | srcs: [ |
| 4238 | "protos/perfetto/config/perfetto_config.proto", |
| 4239 | ], |
Primiano Tucci | 0b651b8 | 2019-06-03 17:16:23 +0100 | [diff] [blame] | 4240 | } |
| 4241 | |
| 4242 | // This sample target shows how to use the perfetto client API from within the |
| 4243 | // Android tree. |
| 4244 | cc_binary { |
| 4245 | name: "libperfetto_client_example", |
| 4246 | srcs: [ |
Primiano Tucci | dd5ebc9 | 2019-07-25 01:09:37 +0100 | [diff] [blame] | 4247 | "test/client_api_example.cc", |
Primiano Tucci | 0b651b8 | 2019-06-03 17:16:23 +0100 | [diff] [blame] | 4248 | ], |
| 4249 | static_libs: [ |
| 4250 | "libperfetto_client_experimental", |
| 4251 | "perfetto_src_tracing_ipc", |
| 4252 | "perfetto_trace_protos", |
| 4253 | ], |
| 4254 | shared_libs: [ |
| 4255 | "libprotobuf-cpp-lite", |
| 4256 | "liblog", |
| 4257 | ], |
| 4258 | local_include_dirs: [ |
| 4259 | "include", |
| 4260 | ], |
| 4261 | cflags: [ |
| 4262 | "-DGOOGLE_PROTOBUF_NO_RTTI", |
| 4263 | "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
| 4264 | "-DPERFETTO_BUILD_WITH_ANDROID", |
| 4265 | ], |
Hector Dearman | fded4f6 | 2019-03-26 17:09:41 +0000 | [diff] [blame] | 4266 | } |