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