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