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 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 17 | // GN: //src/trace_processor/metrics:gen_merged_sql_metrics |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 18 | genrule { |
| 19 | name: "gen_merged_sql_metrics", |
| 20 | srcs: [ |
Silvia Vinyes | b39c77f | 2019-06-04 10:46:12 +0100 | [diff] [blame] | 21 | "src/trace_processor/metrics/android/android_batt.sql", |
Silvia Vinyes | 2e6a731 | 2019-06-04 11:15:59 +0100 | [diff] [blame] | 22 | "src/trace_processor/metrics/android/android_cpu.sql", |
| 23 | "src/trace_processor/metrics/android/android_cpu_agg.sql", |
Ioannis Ilkos | db8b1cb | 2019-06-25 17:05:32 +0100 | [diff] [blame] | 24 | "src/trace_processor/metrics/android/android_ion.sql", |
Ioannis Ilkos | 3e5b915 | 2019-06-17 19:09:58 +0100 | [diff] [blame] | 25 | "src/trace_processor/metrics/android/android_lmk.sql", |
Rafal Slawik | 88ffa44 | 2019-11-27 14:42:06 +0000 | [diff] [blame] | 26 | "src/trace_processor/metrics/android/android_lmk_reason.sql", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 27 | "src/trace_processor/metrics/android/android_mem.sql", |
Lalit Maganti | a316d6e | 2019-07-09 19:01:01 +0100 | [diff] [blame] | 28 | "src/trace_processor/metrics/android/android_mem_unagg.sql", |
Ioannis Ilkos | f1835e3 | 2019-07-11 14:11:48 +0100 | [diff] [blame] | 29 | "src/trace_processor/metrics/android/android_package_list.sql", |
Ioannis Ilkos | 3e5b915 | 2019-06-17 19:09:58 +0100 | [diff] [blame] | 30 | "src/trace_processor/metrics/android/android_powrails.sql", |
Ioannis Ilkos | 20d5e8b | 2019-05-16 15:43:26 +0100 | [diff] [blame] | 31 | "src/trace_processor/metrics/android/android_startup.sql", |
Ioannis Ilkos | 1cbd228 | 2019-05-29 23:41:57 +0100 | [diff] [blame] | 32 | "src/trace_processor/metrics/android/android_startup_cpu.sql", |
Ioannis Ilkos | 20d5e8b | 2019-05-16 15:43:26 +0100 | [diff] [blame] | 33 | "src/trace_processor/metrics/android/android_startup_launches.sql", |
| 34 | "src/trace_processor/metrics/android/android_task_state.sql", |
Ioannis Ilkos | 73f2cd0 | 2019-10-08 22:49:02 +0100 | [diff] [blame] | 35 | "src/trace_processor/metrics/android/heap_profile_callsites.sql", |
Ioannis Ilkos | 2c832dc | 2019-11-08 11:35:03 +0000 | [diff] [blame] | 36 | "src/trace_processor/metrics/android/java_heap_stats.sql", |
Ioannis Ilkos | 79b511c | 2019-07-09 14:45:07 +0100 | [diff] [blame] | 37 | "src/trace_processor/metrics/android/mem_stats_priority_breakdown.sql", |
Ioannis Ilkos | 96bec01 | 2019-06-27 15:21:57 +0100 | [diff] [blame] | 38 | "src/trace_processor/metrics/android/process_mem.sql", |
Ioannis Ilkos | cfcd7f8 | 2019-11-19 14:43:24 +0000 | [diff] [blame] | 39 | "src/trace_processor/metrics/android/process_metadata.sql", |
Rafal Slawik | da2b421 | 2019-11-26 11:44:02 +0000 | [diff] [blame] | 40 | "src/trace_processor/metrics/android/process_oom_score.sql", |
Lalit Maganti | a316d6e | 2019-07-09 19:01:01 +0100 | [diff] [blame] | 41 | "src/trace_processor/metrics/android/process_unagg_mem_view.sql", |
Ioannis Ilkos | 96bec01 | 2019-06-27 15:21:57 +0100 | [diff] [blame] | 42 | "src/trace_processor/metrics/android/span_view_stats.sql", |
Ioannis Ilkos | ed80390 | 2019-09-24 11:58:56 +0100 | [diff] [blame] | 43 | "src/trace_processor/metrics/android/unsymbolized_frames.sql", |
Ioannis Ilkos | 96bec01 | 2019-06-27 15:21:57 +0100 | [diff] [blame] | 44 | "src/trace_processor/metrics/android/upid_span_view.sql", |
Ioannis Ilkos | f17cf99 | 2019-07-31 17:41:17 +0100 | [diff] [blame] | 45 | "src/trace_processor/metrics/trace_metadata.sql", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 46 | ], |
Lalit Maganti | 697cc48 | 2019-05-01 14:39:11 +0100 | [diff] [blame] | 47 | cmd: "$(location tools/gen_merged_sql_metrics.py) --cpp_out=$(out) $(in)", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 48 | out: [ |
| 49 | "src/trace_processor/metrics/sql_metrics.h", |
| 50 | ], |
| 51 | tool_files: [ |
Lalit Maganti | 697cc48 | 2019-05-01 14:39:11 +0100 | [diff] [blame] | 52 | "tools/gen_merged_sql_metrics.py", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 53 | ], |
| 54 | } |
| 55 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 56 | // GN: //src/profiling/memory:heapprofd |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 57 | cc_binary { |
| 58 | name: "heapprofd", |
| 59 | srcs: [ |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 60 | ":perfetto_include_perfetto_base_base", |
| 61 | ":perfetto_include_perfetto_ext_base_base", |
| 62 | ":perfetto_include_perfetto_ext_ipc_ipc", |
| 63 | ":perfetto_include_perfetto_ext_tracing_core_core", |
| 64 | ":perfetto_include_perfetto_ext_tracing_ipc_ipc", |
| 65 | ":perfetto_include_perfetto_profiling_normalize", |
| 66 | ":perfetto_include_perfetto_protozero_protozero", |
| 67 | ":perfetto_include_perfetto_tracing_core_core", |
Primiano Tucci | cb8cea2 | 2019-11-22 11:05:35 +0000 | [diff] [blame] | 68 | ":perfetto_include_perfetto_tracing_core_forward_decls", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 69 | ":perfetto_include_perfetto_tracing_tracing", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 70 | ":perfetto_protos_perfetto_common_cpp_gen", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 71 | ":perfetto_protos_perfetto_common_zero_gen", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 72 | ":perfetto_protos_perfetto_config_android_cpp_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 73 | ":perfetto_protos_perfetto_config_android_zero_gen", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 74 | ":perfetto_protos_perfetto_config_cpp_gen", |
| 75 | ":perfetto_protos_perfetto_config_ftrace_cpp_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 76 | ":perfetto_protos_perfetto_config_ftrace_zero_gen", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 77 | ":perfetto_protos_perfetto_config_gpu_cpp_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 78 | ":perfetto_protos_perfetto_config_gpu_zero_gen", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 79 | ":perfetto_protos_perfetto_config_inode_file_cpp_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 80 | ":perfetto_protos_perfetto_config_inode_file_zero_gen", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 81 | ":perfetto_protos_perfetto_config_power_cpp_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 82 | ":perfetto_protos_perfetto_config_power_zero_gen", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 83 | ":perfetto_protos_perfetto_config_process_stats_cpp_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 84 | ":perfetto_protos_perfetto_config_process_stats_zero_gen", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 85 | ":perfetto_protos_perfetto_config_profiling_cpp_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 86 | ":perfetto_protos_perfetto_config_profiling_zero_gen", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 87 | ":perfetto_protos_perfetto_config_sys_stats_cpp_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 88 | ":perfetto_protos_perfetto_config_sys_stats_zero_gen", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 89 | ":perfetto_protos_perfetto_config_zero_gen", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 90 | ":perfetto_protos_perfetto_ipc_cpp_gen", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 91 | ":perfetto_protos_perfetto_ipc_ipc_gen", |
Primiano Tucci | b3e08d0 | 2019-11-19 11:10:11 +0000 | [diff] [blame] | 92 | ":perfetto_protos_perfetto_ipc_wire_protocol_cpp_gen", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 93 | ":perfetto_protos_perfetto_trace_android_zero_gen", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 94 | ":perfetto_protos_perfetto_trace_chrome_zero_gen", |
| 95 | ":perfetto_protos_perfetto_trace_filesystem_zero_gen", |
| 96 | ":perfetto_protos_perfetto_trace_ftrace_zero_gen", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 97 | ":perfetto_protos_perfetto_trace_gpu_zero_gen", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 98 | ":perfetto_protos_perfetto_trace_interned_data_zero_gen", |
Primiano Tucci | 75ae50e | 2019-08-28 13:09:55 +0200 | [diff] [blame] | 99 | ":perfetto_protos_perfetto_trace_minimal_zero_gen", |
| 100 | ":perfetto_protos_perfetto_trace_non_minimal_zero_gen", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 101 | ":perfetto_protos_perfetto_trace_perfetto_zero_gen", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 102 | ":perfetto_protos_perfetto_trace_power_zero_gen", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 103 | ":perfetto_protos_perfetto_trace_profiling_zero_gen", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 104 | ":perfetto_protos_perfetto_trace_ps_zero_gen", |
| 105 | ":perfetto_protos_perfetto_trace_sys_stats_zero_gen", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 106 | ":perfetto_protos_perfetto_trace_track_event_zero_gen", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 107 | ":perfetto_src_base_base", |
| 108 | ":perfetto_src_base_unix_socket", |
| 109 | ":perfetto_src_ipc_ipc", |
| 110 | ":perfetto_src_profiling_memory_daemon", |
| 111 | ":perfetto_src_profiling_memory_proc_utils", |
| 112 | ":perfetto_src_profiling_memory_ring_buffer", |
| 113 | ":perfetto_src_profiling_memory_scoped_spinlock", |
| 114 | ":perfetto_src_profiling_memory_wire_protocol", |
| 115 | ":perfetto_src_protozero_protozero", |
| 116 | ":perfetto_src_tracing_common", |
| 117 | ":perfetto_src_tracing_ipc", |
| 118 | ":perfetto_src_tracing_tracing", |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 119 | "src/profiling/memory/main.cc", |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 120 | ], |
| 121 | shared_libs: [ |
| 122 | "libbase", |
| 123 | "liblog", |
| 124 | "libprocinfo", |
| 125 | "libunwindstack", |
| 126 | ], |
Florian Mayer | 7a5d83b | 2018-10-18 18:57:02 +0100 | [diff] [blame] | 127 | init_rc: [ |
| 128 | "heapprofd.rc", |
| 129 | ], |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 130 | generated_headers: [ |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 131 | "perfetto_protos_perfetto_common_cpp_gen_headers", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 132 | "perfetto_protos_perfetto_common_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 133 | "perfetto_protos_perfetto_config_android_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 134 | "perfetto_protos_perfetto_config_android_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 135 | "perfetto_protos_perfetto_config_cpp_gen_headers", |
| 136 | "perfetto_protos_perfetto_config_ftrace_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 137 | "perfetto_protos_perfetto_config_ftrace_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 138 | "perfetto_protos_perfetto_config_gpu_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 139 | "perfetto_protos_perfetto_config_gpu_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 140 | "perfetto_protos_perfetto_config_inode_file_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 141 | "perfetto_protos_perfetto_config_inode_file_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 142 | "perfetto_protos_perfetto_config_power_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 143 | "perfetto_protos_perfetto_config_power_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 144 | "perfetto_protos_perfetto_config_process_stats_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 145 | "perfetto_protos_perfetto_config_process_stats_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 146 | "perfetto_protos_perfetto_config_profiling_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 147 | "perfetto_protos_perfetto_config_profiling_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 148 | "perfetto_protos_perfetto_config_sys_stats_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 149 | "perfetto_protos_perfetto_config_sys_stats_zero_gen_headers", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 150 | "perfetto_protos_perfetto_config_zero_gen_headers", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 151 | "perfetto_protos_perfetto_ipc_cpp_gen_headers", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 152 | "perfetto_protos_perfetto_ipc_ipc_gen_headers", |
Primiano Tucci | b3e08d0 | 2019-11-19 11:10:11 +0000 | [diff] [blame] | 153 | "perfetto_protos_perfetto_ipc_wire_protocol_cpp_gen_headers", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 154 | "perfetto_protos_perfetto_trace_android_zero_gen_headers", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 155 | "perfetto_protos_perfetto_trace_chrome_zero_gen_headers", |
| 156 | "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers", |
| 157 | "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 158 | "perfetto_protos_perfetto_trace_gpu_zero_gen_headers", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 159 | "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers", |
Primiano Tucci | 75ae50e | 2019-08-28 13:09:55 +0200 | [diff] [blame] | 160 | "perfetto_protos_perfetto_trace_minimal_zero_gen_headers", |
| 161 | "perfetto_protos_perfetto_trace_non_minimal_zero_gen_headers", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 162 | "perfetto_protos_perfetto_trace_perfetto_zero_gen_headers", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 163 | "perfetto_protos_perfetto_trace_power_zero_gen_headers", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 164 | "perfetto_protos_perfetto_trace_profiling_zero_gen_headers", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 165 | "perfetto_protos_perfetto_trace_ps_zero_gen_headers", |
| 166 | "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 167 | "perfetto_protos_perfetto_trace_track_event_zero_gen_headers", |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 168 | ], |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 169 | defaults: [ |
| 170 | "perfetto_defaults", |
| 171 | ], |
Florian Mayer | 8e7eac4 | 2018-11-05 16:04:11 +0000 | [diff] [blame] | 172 | cflags: [ |
| 173 | "-DGOOGLE_PROTOBUF_NO_RTTI", |
| 174 | "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
| 175 | ], |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 176 | } |
| 177 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 178 | // GN: //src/profiling/memory:heapprofd_client |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 179 | cc_library_shared { |
| 180 | name: "heapprofd_client", |
| 181 | srcs: [ |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 182 | ":perfetto_include_perfetto_base_base", |
| 183 | ":perfetto_include_perfetto_ext_base_base", |
| 184 | ":perfetto_include_perfetto_profiling_normalize", |
| 185 | ":perfetto_src_base_base", |
| 186 | ":perfetto_src_base_unix_socket", |
| 187 | ":perfetto_src_profiling_memory_client", |
| 188 | ":perfetto_src_profiling_memory_malloc_hooks", |
| 189 | ":perfetto_src_profiling_memory_proc_utils", |
| 190 | ":perfetto_src_profiling_memory_ring_buffer", |
| 191 | ":perfetto_src_profiling_memory_scoped_spinlock", |
| 192 | ":perfetto_src_profiling_memory_wire_protocol", |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 193 | ], |
| 194 | shared_libs: [ |
| 195 | "libbase", |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 196 | "libprocinfo", |
| 197 | "libunwindstack", |
| 198 | ], |
Eric Seckler | 57c89d9 | 2018-10-26 15:11:55 +0100 | [diff] [blame] | 199 | static_libs: [ |
Ryan Savitski | e65beca | 2019-01-29 18:29:13 +0000 | [diff] [blame] | 200 | "libasync_safe", |
Eric Seckler | 57c89d9 | 2018-10-26 15:11:55 +0100 | [diff] [blame] | 201 | ], |
Primiano Tucci | 8e62744 | 2019-08-28 07:58:38 +0200 | [diff] [blame] | 202 | export_include_dirs: [ |
| 203 | "include", |
| 204 | "include/perfetto/base/build_configs/android_tree", |
| 205 | ], |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 206 | defaults: [ |
| 207 | "perfetto_defaults", |
| 208 | ], |
Primiano Tucci | 7c7f5f5 | 2019-01-15 21:47:04 +0000 | [diff] [blame] | 209 | cflags: [ |
Ryan Savitski | e65beca | 2019-01-29 18:29:13 +0000 | [diff] [blame] | 210 | "-DPERFETTO_ANDROID_ASYNC_SAFE_LOG", |
Primiano Tucci | 7c7f5f5 | 2019-01-15 21:47:04 +0000 | [diff] [blame] | 211 | ], |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 212 | include_dirs: [ |
| 213 | "bionic/libc", |
| 214 | ], |
Christopher Ferris | 677c162 | 2019-09-11 19:07:38 -0700 | [diff] [blame] | 215 | header_libs: [ |
| 216 | "bionic_libc_platform_headers", |
| 217 | ], |
Florian Mayer | b6a921f | 2018-10-18 18:55:23 +0100 | [diff] [blame] | 218 | } |
| 219 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 220 | // GN: //src/ipc/protoc_plugin:ipc_plugin |
| 221 | cc_binary_host { |
| 222 | name: "ipc_plugin", |
| 223 | srcs: [ |
| 224 | ":perfetto_include_perfetto_base_base", |
| 225 | ":perfetto_include_perfetto_ext_base_base", |
| 226 | ":perfetto_src_base_base", |
| 227 | "src/ipc/protoc_plugin/ipc_plugin.cc", |
| 228 | ], |
Lalit Maganti | 3d415ec | 2019-10-23 17:53:17 +0100 | [diff] [blame] | 229 | static_libs: [ |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 230 | "libprotoc", |
| 231 | ], |
| 232 | defaults: [ |
| 233 | "perfetto_defaults", |
| 234 | ], |
| 235 | cflags: [ |
| 236 | "-DGOOGLE_PROTOBUF_NO_RTTI", |
| 237 | "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
| 238 | ], |
| 239 | } |
| 240 | |
| 241 | // GN: //:libperfetto |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 242 | cc_library_shared { |
Primiano Tucci | bdb2a59 | 2018-10-11 15:59:29 +0100 | [diff] [blame] | 243 | name: "libperfetto", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 244 | srcs: [ |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 245 | ":perfetto_include_perfetto_base_base", |
| 246 | ":perfetto_include_perfetto_ext_base_base", |
| 247 | ":perfetto_include_perfetto_ext_ipc_ipc", |
| 248 | ":perfetto_include_perfetto_ext_traced_sys_stats_counters", |
| 249 | ":perfetto_include_perfetto_ext_traced_traced", |
| 250 | ":perfetto_include_perfetto_ext_tracing_core_core", |
| 251 | ":perfetto_include_perfetto_ext_tracing_ipc_ipc", |
| 252 | ":perfetto_include_perfetto_protozero_protozero", |
| 253 | ":perfetto_include_perfetto_public_public", |
| 254 | ":perfetto_include_perfetto_tracing_core_core", |
Primiano Tucci | cb8cea2 | 2019-11-22 11:05:35 +0000 | [diff] [blame] | 255 | ":perfetto_include_perfetto_tracing_core_forward_decls", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 256 | ":perfetto_include_perfetto_tracing_tracing", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 257 | ":perfetto_protos_perfetto_common_cpp_gen", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 258 | ":perfetto_protos_perfetto_common_zero_gen", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 259 | ":perfetto_protos_perfetto_config_android_cpp_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 260 | ":perfetto_protos_perfetto_config_android_zero_gen", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 261 | ":perfetto_protos_perfetto_config_cpp_gen", |
| 262 | ":perfetto_protos_perfetto_config_ftrace_cpp_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 263 | ":perfetto_protos_perfetto_config_ftrace_zero_gen", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 264 | ":perfetto_protos_perfetto_config_gpu_cpp_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 265 | ":perfetto_protos_perfetto_config_gpu_zero_gen", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 266 | ":perfetto_protos_perfetto_config_inode_file_cpp_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 267 | ":perfetto_protos_perfetto_config_inode_file_zero_gen", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 268 | ":perfetto_protos_perfetto_config_power_cpp_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 269 | ":perfetto_protos_perfetto_config_power_zero_gen", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 270 | ":perfetto_protos_perfetto_config_process_stats_cpp_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 271 | ":perfetto_protos_perfetto_config_process_stats_zero_gen", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 272 | ":perfetto_protos_perfetto_config_profiling_cpp_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 273 | ":perfetto_protos_perfetto_config_profiling_zero_gen", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 274 | ":perfetto_protos_perfetto_config_sys_stats_cpp_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 275 | ":perfetto_protos_perfetto_config_sys_stats_zero_gen", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 276 | ":perfetto_protos_perfetto_config_zero_gen", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 277 | ":perfetto_protos_perfetto_ipc_cpp_gen", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 278 | ":perfetto_protos_perfetto_ipc_ipc_gen", |
Primiano Tucci | b3e08d0 | 2019-11-19 11:10:11 +0000 | [diff] [blame] | 279 | ":perfetto_protos_perfetto_ipc_wire_protocol_cpp_gen", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 280 | ":perfetto_protos_perfetto_trace_android_zero_gen", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 281 | ":perfetto_protos_perfetto_trace_chrome_zero_gen", |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 282 | ":perfetto_protos_perfetto_trace_filesystem_zero_gen", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 283 | ":perfetto_protos_perfetto_trace_ftrace_zero_gen", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 284 | ":perfetto_protos_perfetto_trace_gpu_zero_gen", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 285 | ":perfetto_protos_perfetto_trace_interned_data_zero_gen", |
Primiano Tucci | 75ae50e | 2019-08-28 13:09:55 +0200 | [diff] [blame] | 286 | ":perfetto_protos_perfetto_trace_minimal_zero_gen", |
| 287 | ":perfetto_protos_perfetto_trace_non_minimal_zero_gen", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 288 | ":perfetto_protos_perfetto_trace_perfetto_zero_gen", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 289 | ":perfetto_protos_perfetto_trace_power_zero_gen", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 290 | ":perfetto_protos_perfetto_trace_profiling_zero_gen", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 291 | ":perfetto_protos_perfetto_trace_ps_zero_gen", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 292 | ":perfetto_protos_perfetto_trace_sys_stats_zero_gen", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 293 | ":perfetto_protos_perfetto_trace_track_event_zero_gen", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 294 | ":perfetto_src_android_internal_headers", |
| 295 | ":perfetto_src_android_internal_lazy_library_loader", |
| 296 | ":perfetto_src_base_base", |
| 297 | ":perfetto_src_base_unix_socket", |
| 298 | ":perfetto_src_ipc_ipc", |
Hector Dearman | 92d7d11 | 2019-12-05 15:19:57 +0000 | [diff] [blame] | 299 | ":perfetto_src_perfetto_cmd_perfetto_atoms", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 300 | ":perfetto_src_protozero_protozero", |
| 301 | ":perfetto_src_traced_probes_android_log_android_log", |
| 302 | ":perfetto_src_traced_probes_data_source", |
| 303 | ":perfetto_src_traced_probes_filesystem_filesystem", |
| 304 | ":perfetto_src_traced_probes_ftrace_format_parser", |
| 305 | ":perfetto_src_traced_probes_ftrace_ftrace", |
| 306 | ":perfetto_src_traced_probes_metatrace_metatrace", |
| 307 | ":perfetto_src_traced_probes_packages_list_packages_list", |
| 308 | ":perfetto_src_traced_probes_power_power", |
| 309 | ":perfetto_src_traced_probes_probes", |
| 310 | ":perfetto_src_traced_probes_probes_src", |
| 311 | ":perfetto_src_traced_probes_ps_ps", |
| 312 | ":perfetto_src_traced_probes_sys_stats_sys_stats", |
| 313 | ":perfetto_src_traced_service_service", |
| 314 | ":perfetto_src_tracing_common", |
| 315 | ":perfetto_src_tracing_consumer_api_deprecated", |
| 316 | ":perfetto_src_tracing_ipc", |
| 317 | ":perfetto_src_tracing_tracing", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 318 | ], |
| 319 | shared_libs: [ |
Primiano Tucci | 6d84853 | 2018-01-17 10:32:33 +0000 | [diff] [blame] | 320 | "liblog", |
Primiano Tucci | 6d84853 | 2018-01-17 10:32:33 +0000 | [diff] [blame] | 321 | ], |
Hector Dearman | 04cfac7 | 2019-09-24 22:05:55 +0100 | [diff] [blame] | 322 | host_supported: true, |
Primiano Tucci | 8e62744 | 2019-08-28 07:58:38 +0200 | [diff] [blame] | 323 | export_include_dirs: [ |
| 324 | "include", |
| 325 | "include/perfetto/base/build_configs/android_tree", |
| 326 | ], |
Primiano Tucci | 6d84853 | 2018-01-17 10:32:33 +0000 | [diff] [blame] | 327 | generated_headers: [ |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 328 | "perfetto_protos_perfetto_common_cpp_gen_headers", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 329 | "perfetto_protos_perfetto_common_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 330 | "perfetto_protos_perfetto_config_android_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 331 | "perfetto_protos_perfetto_config_android_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 332 | "perfetto_protos_perfetto_config_cpp_gen_headers", |
| 333 | "perfetto_protos_perfetto_config_ftrace_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 334 | "perfetto_protos_perfetto_config_ftrace_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 335 | "perfetto_protos_perfetto_config_gpu_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 336 | "perfetto_protos_perfetto_config_gpu_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 337 | "perfetto_protos_perfetto_config_inode_file_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 338 | "perfetto_protos_perfetto_config_inode_file_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 339 | "perfetto_protos_perfetto_config_power_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 340 | "perfetto_protos_perfetto_config_power_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 341 | "perfetto_protos_perfetto_config_process_stats_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 342 | "perfetto_protos_perfetto_config_process_stats_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 343 | "perfetto_protos_perfetto_config_profiling_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 344 | "perfetto_protos_perfetto_config_profiling_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 345 | "perfetto_protos_perfetto_config_sys_stats_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 346 | "perfetto_protos_perfetto_config_sys_stats_zero_gen_headers", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 347 | "perfetto_protos_perfetto_config_zero_gen_headers", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 348 | "perfetto_protos_perfetto_ipc_cpp_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 349 | "perfetto_protos_perfetto_ipc_ipc_gen_headers", |
Primiano Tucci | b3e08d0 | 2019-11-19 11:10:11 +0000 | [diff] [blame] | 350 | "perfetto_protos_perfetto_ipc_wire_protocol_cpp_gen_headers", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 351 | "perfetto_protos_perfetto_trace_android_zero_gen_headers", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 352 | "perfetto_protos_perfetto_trace_chrome_zero_gen_headers", |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 353 | "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 354 | "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 355 | "perfetto_protos_perfetto_trace_gpu_zero_gen_headers", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 356 | "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers", |
Primiano Tucci | 75ae50e | 2019-08-28 13:09:55 +0200 | [diff] [blame] | 357 | "perfetto_protos_perfetto_trace_minimal_zero_gen_headers", |
| 358 | "perfetto_protos_perfetto_trace_non_minimal_zero_gen_headers", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 359 | "perfetto_protos_perfetto_trace_perfetto_zero_gen_headers", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 360 | "perfetto_protos_perfetto_trace_power_zero_gen_headers", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 361 | "perfetto_protos_perfetto_trace_profiling_zero_gen_headers", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 362 | "perfetto_protos_perfetto_trace_ps_zero_gen_headers", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 363 | "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 364 | "perfetto_protos_perfetto_trace_track_event_zero_gen_headers", |
Primiano Tucci | 6d84853 | 2018-01-17 10:32:33 +0000 | [diff] [blame] | 365 | ], |
| 366 | defaults: [ |
| 367 | "perfetto_defaults", |
| 368 | ], |
Florian Mayer | 3d5e7e6 | 2018-01-19 15:22:46 +0000 | [diff] [blame] | 369 | cflags: [ |
| 370 | "-DGOOGLE_PROTOBUF_NO_RTTI", |
| 371 | "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
| 372 | ], |
Primiano Tucci | 6d84853 | 2018-01-17 10:32:33 +0000 | [diff] [blame] | 373 | } |
| 374 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 375 | // GN: //src/android_internal:libperfetto_android_internal |
Primiano Tucci | 676f0cc | 2018-12-03 20:03:26 +0100 | [diff] [blame] | 376 | cc_library_shared { |
| 377 | name: "libperfetto_android_internal", |
| 378 | srcs: [ |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 379 | ":perfetto_src_android_internal_android_internal", |
| 380 | ":perfetto_src_android_internal_headers", |
Hector Dearman | 92d7d11 | 2019-12-05 15:19:57 +0000 | [diff] [blame] | 381 | ":perfetto_src_perfetto_cmd_perfetto_atoms", |
Primiano Tucci | 676f0cc | 2018-12-03 20:03:26 +0100 | [diff] [blame] | 382 | ], |
| 383 | shared_libs: [ |
Isabelle Taylor | f3edbfa | 2019-03-26 11:07:19 +0000 | [diff] [blame] | 384 | "android.hardware.atrace@1.0", |
Primiano Tucci | 676f0cc | 2018-12-03 20:03:26 +0100 | [diff] [blame] | 385 | "android.hardware.health@2.0", |
Esteban Talavera | 1fecac9 | 2019-01-09 16:06:29 +0000 | [diff] [blame] | 386 | "android.hardware.power.stats@1.0", |
Primiano Tucci | 676f0cc | 2018-12-03 20:03:26 +0100 | [diff] [blame] | 387 | "libbase", |
Ryan Savitski | 53ca60b | 2019-06-03 13:04:40 +0100 | [diff] [blame] | 388 | "libbinder", |
Hector Dearman | 92d7d11 | 2019-12-05 15:19:57 +0000 | [diff] [blame] | 389 | "libcutils", |
Primiano Tucci | 676f0cc | 2018-12-03 20:03:26 +0100 | [diff] [blame] | 390 | "libhidlbase", |
Ryan Savitski | 53ca60b | 2019-06-03 13:04:40 +0100 | [diff] [blame] | 391 | "libincident", |
Primiano Tucci | 676f0cc | 2018-12-03 20:03:26 +0100 | [diff] [blame] | 392 | "liblog", |
Primiano Tucci | ec62e3e | 2019-07-26 22:18:31 +0100 | [diff] [blame] | 393 | "libservices", |
Hector Dearman | 92d7d11 | 2019-12-05 15:19:57 +0000 | [diff] [blame] | 394 | "libstatssocket", |
Primiano Tucci | 676f0cc | 2018-12-03 20:03:26 +0100 | [diff] [blame] | 395 | "libutils", |
| 396 | ], |
Ryan Savitski | e65beca | 2019-01-29 18:29:13 +0000 | [diff] [blame] | 397 | static_libs: [ |
| 398 | "libhealthhalutils", |
Hector Dearman | 92d7d11 | 2019-12-05 15:19:57 +0000 | [diff] [blame] | 399 | "libstatslog_perfetto", |
Ryan Savitski | e65beca | 2019-01-29 18:29:13 +0000 | [diff] [blame] | 400 | ], |
Primiano Tucci | 8e62744 | 2019-08-28 07:58:38 +0200 | [diff] [blame] | 401 | export_include_dirs: [ |
| 402 | "include", |
| 403 | "include/perfetto/base/build_configs/android_tree", |
| 404 | ], |
Primiano Tucci | 676f0cc | 2018-12-03 20:03:26 +0100 | [diff] [blame] | 405 | defaults: [ |
| 406 | "perfetto_defaults", |
| 407 | ], |
Primiano Tucci | ec62e3e | 2019-07-26 22:18:31 +0100 | [diff] [blame] | 408 | product_variables: { |
| 409 | pdk: { |
| 410 | enabled: false, |
| 411 | }, |
| 412 | }, |
Primiano Tucci | 676f0cc | 2018-12-03 20:03:26 +0100 | [diff] [blame] | 413 | } |
| 414 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 415 | // GN: //:libperfetto_client_experimental |
Primiano Tucci | 0b651b8 | 2019-06-03 17:16:23 +0100 | [diff] [blame] | 416 | cc_library_static { |
| 417 | name: "libperfetto_client_experimental", |
| 418 | srcs: [ |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 419 | ":perfetto_include_perfetto_base_base", |
| 420 | ":perfetto_include_perfetto_ext_base_base", |
| 421 | ":perfetto_include_perfetto_ext_ipc_ipc", |
| 422 | ":perfetto_include_perfetto_ext_tracing_core_core", |
| 423 | ":perfetto_include_perfetto_ext_tracing_ipc_ipc", |
| 424 | ":perfetto_include_perfetto_protozero_protozero", |
| 425 | ":perfetto_include_perfetto_tracing_core_core", |
Primiano Tucci | cb8cea2 | 2019-11-22 11:05:35 +0000 | [diff] [blame] | 426 | ":perfetto_include_perfetto_tracing_core_forward_decls", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 427 | ":perfetto_include_perfetto_tracing_tracing", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 428 | ":perfetto_protos_perfetto_common_cpp_gen", |
Primiano Tucci | 0b651b8 | 2019-06-03 17:16:23 +0100 | [diff] [blame] | 429 | ":perfetto_protos_perfetto_common_zero_gen", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 430 | ":perfetto_protos_perfetto_config_android_cpp_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 431 | ":perfetto_protos_perfetto_config_android_zero_gen", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 432 | ":perfetto_protos_perfetto_config_cpp_gen", |
| 433 | ":perfetto_protos_perfetto_config_ftrace_cpp_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 434 | ":perfetto_protos_perfetto_config_ftrace_zero_gen", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 435 | ":perfetto_protos_perfetto_config_gpu_cpp_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 436 | ":perfetto_protos_perfetto_config_gpu_zero_gen", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 437 | ":perfetto_protos_perfetto_config_inode_file_cpp_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 438 | ":perfetto_protos_perfetto_config_inode_file_zero_gen", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 439 | ":perfetto_protos_perfetto_config_power_cpp_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 440 | ":perfetto_protos_perfetto_config_power_zero_gen", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 441 | ":perfetto_protos_perfetto_config_process_stats_cpp_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 442 | ":perfetto_protos_perfetto_config_process_stats_zero_gen", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 443 | ":perfetto_protos_perfetto_config_profiling_cpp_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 444 | ":perfetto_protos_perfetto_config_profiling_zero_gen", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 445 | ":perfetto_protos_perfetto_config_sys_stats_cpp_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 446 | ":perfetto_protos_perfetto_config_sys_stats_zero_gen", |
Primiano Tucci | 0b651b8 | 2019-06-03 17:16:23 +0100 | [diff] [blame] | 447 | ":perfetto_protos_perfetto_config_zero_gen", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 448 | ":perfetto_protos_perfetto_ipc_cpp_gen", |
Primiano Tucci | 0b651b8 | 2019-06-03 17:16:23 +0100 | [diff] [blame] | 449 | ":perfetto_protos_perfetto_ipc_ipc_gen", |
Primiano Tucci | b3e08d0 | 2019-11-19 11:10:11 +0000 | [diff] [blame] | 450 | ":perfetto_protos_perfetto_ipc_wire_protocol_cpp_gen", |
Primiano Tucci | 0b651b8 | 2019-06-03 17:16:23 +0100 | [diff] [blame] | 451 | ":perfetto_protos_perfetto_trace_android_zero_gen", |
| 452 | ":perfetto_protos_perfetto_trace_chrome_zero_gen", |
| 453 | ":perfetto_protos_perfetto_trace_filesystem_zero_gen", |
| 454 | ":perfetto_protos_perfetto_trace_ftrace_zero_gen", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 455 | ":perfetto_protos_perfetto_trace_gpu_zero_gen", |
Primiano Tucci | 0b651b8 | 2019-06-03 17:16:23 +0100 | [diff] [blame] | 456 | ":perfetto_protos_perfetto_trace_interned_data_zero_gen", |
Primiano Tucci | 75ae50e | 2019-08-28 13:09:55 +0200 | [diff] [blame] | 457 | ":perfetto_protos_perfetto_trace_minimal_zero_gen", |
| 458 | ":perfetto_protos_perfetto_trace_non_minimal_zero_gen", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 459 | ":perfetto_protos_perfetto_trace_perfetto_zero_gen", |
Primiano Tucci | 0b651b8 | 2019-06-03 17:16:23 +0100 | [diff] [blame] | 460 | ":perfetto_protos_perfetto_trace_power_zero_gen", |
| 461 | ":perfetto_protos_perfetto_trace_profiling_zero_gen", |
| 462 | ":perfetto_protos_perfetto_trace_ps_zero_gen", |
| 463 | ":perfetto_protos_perfetto_trace_sys_stats_zero_gen", |
| 464 | ":perfetto_protos_perfetto_trace_track_event_zero_gen", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 465 | ":perfetto_src_base_base", |
| 466 | ":perfetto_src_base_unix_socket", |
| 467 | ":perfetto_src_ipc_ipc", |
| 468 | ":perfetto_src_protozero_protozero", |
| 469 | ":perfetto_src_tracing_client_api", |
| 470 | ":perfetto_src_tracing_common", |
| 471 | ":perfetto_src_tracing_ipc", |
| 472 | ":perfetto_src_tracing_platform_posix", |
| 473 | ":perfetto_src_tracing_tracing", |
Primiano Tucci | 0b651b8 | 2019-06-03 17:16:23 +0100 | [diff] [blame] | 474 | ], |
Primiano Tucci | 0b651b8 | 2019-06-03 17:16:23 +0100 | [diff] [blame] | 475 | export_include_dirs: [ |
| 476 | "include", |
Primiano Tucci | 8e62744 | 2019-08-28 07:58:38 +0200 | [diff] [blame] | 477 | "include/perfetto/base/build_configs/android_tree", |
Primiano Tucci | 0b651b8 | 2019-06-03 17:16:23 +0100 | [diff] [blame] | 478 | ], |
| 479 | generated_headers: [ |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 480 | "perfetto_protos_perfetto_common_cpp_gen_headers", |
Primiano Tucci | 0b651b8 | 2019-06-03 17:16:23 +0100 | [diff] [blame] | 481 | "perfetto_protos_perfetto_common_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 482 | "perfetto_protos_perfetto_config_android_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 483 | "perfetto_protos_perfetto_config_android_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 484 | "perfetto_protos_perfetto_config_cpp_gen_headers", |
| 485 | "perfetto_protos_perfetto_config_ftrace_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 486 | "perfetto_protos_perfetto_config_ftrace_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 487 | "perfetto_protos_perfetto_config_gpu_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 488 | "perfetto_protos_perfetto_config_gpu_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 489 | "perfetto_protos_perfetto_config_inode_file_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 490 | "perfetto_protos_perfetto_config_inode_file_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 491 | "perfetto_protos_perfetto_config_power_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 492 | "perfetto_protos_perfetto_config_power_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 493 | "perfetto_protos_perfetto_config_process_stats_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 494 | "perfetto_protos_perfetto_config_process_stats_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 495 | "perfetto_protos_perfetto_config_profiling_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 496 | "perfetto_protos_perfetto_config_profiling_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 497 | "perfetto_protos_perfetto_config_sys_stats_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 498 | "perfetto_protos_perfetto_config_sys_stats_zero_gen_headers", |
Primiano Tucci | 0b651b8 | 2019-06-03 17:16:23 +0100 | [diff] [blame] | 499 | "perfetto_protos_perfetto_config_zero_gen_headers", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 500 | "perfetto_protos_perfetto_ipc_cpp_gen_headers", |
Primiano Tucci | 0b651b8 | 2019-06-03 17:16:23 +0100 | [diff] [blame] | 501 | "perfetto_protos_perfetto_ipc_ipc_gen_headers", |
Primiano Tucci | b3e08d0 | 2019-11-19 11:10:11 +0000 | [diff] [blame] | 502 | "perfetto_protos_perfetto_ipc_wire_protocol_cpp_gen_headers", |
Primiano Tucci | 0b651b8 | 2019-06-03 17:16:23 +0100 | [diff] [blame] | 503 | "perfetto_protos_perfetto_trace_android_zero_gen_headers", |
| 504 | "perfetto_protos_perfetto_trace_chrome_zero_gen_headers", |
| 505 | "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers", |
| 506 | "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 507 | "perfetto_protos_perfetto_trace_gpu_zero_gen_headers", |
Primiano Tucci | 0b651b8 | 2019-06-03 17:16:23 +0100 | [diff] [blame] | 508 | "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers", |
Primiano Tucci | 75ae50e | 2019-08-28 13:09:55 +0200 | [diff] [blame] | 509 | "perfetto_protos_perfetto_trace_minimal_zero_gen_headers", |
| 510 | "perfetto_protos_perfetto_trace_non_minimal_zero_gen_headers", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 511 | "perfetto_protos_perfetto_trace_perfetto_zero_gen_headers", |
Primiano Tucci | 0b651b8 | 2019-06-03 17:16:23 +0100 | [diff] [blame] | 512 | "perfetto_protos_perfetto_trace_power_zero_gen_headers", |
| 513 | "perfetto_protos_perfetto_trace_profiling_zero_gen_headers", |
| 514 | "perfetto_protos_perfetto_trace_ps_zero_gen_headers", |
| 515 | "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers", |
| 516 | "perfetto_protos_perfetto_trace_track_event_zero_gen_headers", |
Primiano Tucci | 0b651b8 | 2019-06-03 17:16:23 +0100 | [diff] [blame] | 517 | ], |
| 518 | export_generated_headers: [ |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 519 | "perfetto_protos_perfetto_common_cpp_gen_headers", |
Primiano Tucci | 0b651b8 | 2019-06-03 17:16:23 +0100 | [diff] [blame] | 520 | "perfetto_protos_perfetto_common_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 521 | "perfetto_protos_perfetto_config_android_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 522 | "perfetto_protos_perfetto_config_android_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 523 | "perfetto_protos_perfetto_config_cpp_gen_headers", |
| 524 | "perfetto_protos_perfetto_config_ftrace_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 525 | "perfetto_protos_perfetto_config_ftrace_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 526 | "perfetto_protos_perfetto_config_gpu_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 527 | "perfetto_protos_perfetto_config_gpu_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 528 | "perfetto_protos_perfetto_config_inode_file_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 529 | "perfetto_protos_perfetto_config_inode_file_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 530 | "perfetto_protos_perfetto_config_power_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 531 | "perfetto_protos_perfetto_config_power_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 532 | "perfetto_protos_perfetto_config_process_stats_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 533 | "perfetto_protos_perfetto_config_process_stats_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 534 | "perfetto_protos_perfetto_config_profiling_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 535 | "perfetto_protos_perfetto_config_profiling_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 536 | "perfetto_protos_perfetto_config_sys_stats_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 537 | "perfetto_protos_perfetto_config_sys_stats_zero_gen_headers", |
Primiano Tucci | 0b651b8 | 2019-06-03 17:16:23 +0100 | [diff] [blame] | 538 | "perfetto_protos_perfetto_config_zero_gen_headers", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 539 | "perfetto_protos_perfetto_ipc_cpp_gen_headers", |
Primiano Tucci | 0b651b8 | 2019-06-03 17:16:23 +0100 | [diff] [blame] | 540 | "perfetto_protos_perfetto_ipc_ipc_gen_headers", |
Primiano Tucci | b3e08d0 | 2019-11-19 11:10:11 +0000 | [diff] [blame] | 541 | "perfetto_protos_perfetto_ipc_wire_protocol_cpp_gen_headers", |
Primiano Tucci | 0b651b8 | 2019-06-03 17:16:23 +0100 | [diff] [blame] | 542 | "perfetto_protos_perfetto_trace_android_zero_gen_headers", |
| 543 | "perfetto_protos_perfetto_trace_chrome_zero_gen_headers", |
| 544 | "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers", |
| 545 | "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 546 | "perfetto_protos_perfetto_trace_gpu_zero_gen_headers", |
Primiano Tucci | 0b651b8 | 2019-06-03 17:16:23 +0100 | [diff] [blame] | 547 | "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers", |
Primiano Tucci | 75ae50e | 2019-08-28 13:09:55 +0200 | [diff] [blame] | 548 | "perfetto_protos_perfetto_trace_minimal_zero_gen_headers", |
| 549 | "perfetto_protos_perfetto_trace_non_minimal_zero_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", |
Primiano Tucci | 0b651b8 | 2019-06-03 17:16:23 +0100 | [diff] [blame] | 556 | ], |
| 557 | defaults: [ |
| 558 | "perfetto_defaults", |
| 559 | ], |
| 560 | cflags: [ |
| 561 | "-DGOOGLE_PROTOBUF_NO_RTTI", |
| 562 | "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
Primiano Tucci | 0b651b8 | 2019-06-03 17:16:23 +0100 | [diff] [blame] | 563 | ], |
| 564 | } |
| 565 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 566 | // GN: //src/perfetto_cmd:perfetto |
Primiano Tucci | 6d84853 | 2018-01-17 10:32:33 +0000 | [diff] [blame] | 567 | cc_binary { |
| 568 | name: "perfetto", |
| 569 | srcs: [ |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 570 | ":perfetto_include_perfetto_base_base", |
| 571 | ":perfetto_include_perfetto_ext_base_base", |
| 572 | ":perfetto_include_perfetto_ext_ipc_ipc", |
| 573 | ":perfetto_include_perfetto_ext_traced_traced", |
| 574 | ":perfetto_include_perfetto_ext_tracing_core_core", |
| 575 | ":perfetto_include_perfetto_ext_tracing_ipc_ipc", |
| 576 | ":perfetto_include_perfetto_protozero_protozero", |
| 577 | ":perfetto_include_perfetto_tracing_core_core", |
Primiano Tucci | cb8cea2 | 2019-11-22 11:05:35 +0000 | [diff] [blame] | 578 | ":perfetto_include_perfetto_tracing_core_forward_decls", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 579 | ":perfetto_include_perfetto_tracing_tracing", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 580 | ":perfetto_protos_perfetto_common_cpp_gen", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 581 | ":perfetto_protos_perfetto_common_zero_gen", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 582 | ":perfetto_protos_perfetto_config_android_cpp_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 583 | ":perfetto_protos_perfetto_config_android_zero_gen", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 584 | ":perfetto_protos_perfetto_config_cpp_gen", |
| 585 | ":perfetto_protos_perfetto_config_ftrace_cpp_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 586 | ":perfetto_protos_perfetto_config_ftrace_zero_gen", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 587 | ":perfetto_protos_perfetto_config_gpu_cpp_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 588 | ":perfetto_protos_perfetto_config_gpu_zero_gen", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 589 | ":perfetto_protos_perfetto_config_inode_file_cpp_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 590 | ":perfetto_protos_perfetto_config_inode_file_zero_gen", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 591 | ":perfetto_protos_perfetto_config_power_cpp_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 592 | ":perfetto_protos_perfetto_config_power_zero_gen", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 593 | ":perfetto_protos_perfetto_config_process_stats_cpp_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 594 | ":perfetto_protos_perfetto_config_process_stats_zero_gen", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 595 | ":perfetto_protos_perfetto_config_profiling_cpp_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 596 | ":perfetto_protos_perfetto_config_profiling_zero_gen", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 597 | ":perfetto_protos_perfetto_config_sys_stats_cpp_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 598 | ":perfetto_protos_perfetto_config_sys_stats_zero_gen", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 599 | ":perfetto_protos_perfetto_config_zero_gen", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 600 | ":perfetto_protos_perfetto_ipc_cpp_gen", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 601 | ":perfetto_protos_perfetto_ipc_ipc_gen", |
Primiano Tucci | b3e08d0 | 2019-11-19 11:10:11 +0000 | [diff] [blame] | 602 | ":perfetto_protos_perfetto_ipc_wire_protocol_cpp_gen", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 603 | ":perfetto_protos_perfetto_trace_android_zero_gen", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 604 | ":perfetto_protos_perfetto_trace_chrome_zero_gen", |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 605 | ":perfetto_protos_perfetto_trace_filesystem_zero_gen", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 606 | ":perfetto_protos_perfetto_trace_ftrace_zero_gen", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 607 | ":perfetto_protos_perfetto_trace_gpu_zero_gen", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 608 | ":perfetto_protos_perfetto_trace_interned_data_zero_gen", |
Primiano Tucci | 75ae50e | 2019-08-28 13:09:55 +0200 | [diff] [blame] | 609 | ":perfetto_protos_perfetto_trace_minimal_zero_gen", |
| 610 | ":perfetto_protos_perfetto_trace_non_minimal_zero_gen", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 611 | ":perfetto_protos_perfetto_trace_perfetto_zero_gen", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 612 | ":perfetto_protos_perfetto_trace_power_zero_gen", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 613 | ":perfetto_protos_perfetto_trace_profiling_zero_gen", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 614 | ":perfetto_protos_perfetto_trace_ps_zero_gen", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 615 | ":perfetto_protos_perfetto_trace_sys_stats_zero_gen", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 616 | ":perfetto_protos_perfetto_trace_track_event_zero_gen", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 617 | ":perfetto_src_android_internal_headers", |
| 618 | ":perfetto_src_android_internal_lazy_library_loader", |
| 619 | ":perfetto_src_base_base", |
| 620 | ":perfetto_src_base_unix_socket", |
| 621 | ":perfetto_src_ipc_ipc", |
Hector Dearman | 92d7d11 | 2019-12-05 15:19:57 +0000 | [diff] [blame] | 622 | ":perfetto_src_perfetto_cmd_perfetto_atoms", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 623 | ":perfetto_src_perfetto_cmd_perfetto_cmd", |
Hector Dearman | 86cfbe1 | 2018-03-22 11:58:42 +0000 | [diff] [blame] | 624 | ":perfetto_src_perfetto_cmd_protos_gen", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 625 | ":perfetto_src_perfetto_cmd_trigger_producer", |
| 626 | ":perfetto_src_protozero_protozero", |
| 627 | ":perfetto_src_tracing_common", |
| 628 | ":perfetto_src_tracing_ipc", |
| 629 | ":perfetto_src_tracing_tracing", |
Hector Dearman | c443a36 | 2018-02-28 16:03:56 +0000 | [diff] [blame] | 630 | "src/perfetto_cmd/main.cc", |
Primiano Tucci | 6d84853 | 2018-01-17 10:32:33 +0000 | [diff] [blame] | 631 | ], |
| 632 | shared_libs: [ |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 633 | "liblog", |
Hector Dearman | e0b993f | 2019-05-24 18:48:16 +0100 | [diff] [blame] | 634 | "libz", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 635 | ], |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 636 | generated_headers: [ |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 637 | "perfetto_protos_perfetto_common_cpp_gen_headers", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 638 | "perfetto_protos_perfetto_common_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 639 | "perfetto_protos_perfetto_config_android_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 640 | "perfetto_protos_perfetto_config_android_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 641 | "perfetto_protos_perfetto_config_cpp_gen_headers", |
| 642 | "perfetto_protos_perfetto_config_ftrace_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 643 | "perfetto_protos_perfetto_config_ftrace_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 644 | "perfetto_protos_perfetto_config_gpu_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 645 | "perfetto_protos_perfetto_config_gpu_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 646 | "perfetto_protos_perfetto_config_inode_file_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 647 | "perfetto_protos_perfetto_config_inode_file_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 648 | "perfetto_protos_perfetto_config_power_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 649 | "perfetto_protos_perfetto_config_power_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 650 | "perfetto_protos_perfetto_config_process_stats_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 651 | "perfetto_protos_perfetto_config_process_stats_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 652 | "perfetto_protos_perfetto_config_profiling_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 653 | "perfetto_protos_perfetto_config_profiling_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 654 | "perfetto_protos_perfetto_config_sys_stats_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 655 | "perfetto_protos_perfetto_config_sys_stats_zero_gen_headers", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 656 | "perfetto_protos_perfetto_config_zero_gen_headers", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 657 | "perfetto_protos_perfetto_ipc_cpp_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 658 | "perfetto_protos_perfetto_ipc_ipc_gen_headers", |
Primiano Tucci | b3e08d0 | 2019-11-19 11:10:11 +0000 | [diff] [blame] | 659 | "perfetto_protos_perfetto_ipc_wire_protocol_cpp_gen_headers", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 660 | "perfetto_protos_perfetto_trace_android_zero_gen_headers", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 661 | "perfetto_protos_perfetto_trace_chrome_zero_gen_headers", |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 662 | "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 663 | "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 664 | "perfetto_protos_perfetto_trace_gpu_zero_gen_headers", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 665 | "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers", |
Primiano Tucci | 75ae50e | 2019-08-28 13:09:55 +0200 | [diff] [blame] | 666 | "perfetto_protos_perfetto_trace_minimal_zero_gen_headers", |
| 667 | "perfetto_protos_perfetto_trace_non_minimal_zero_gen_headers", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 668 | "perfetto_protos_perfetto_trace_perfetto_zero_gen_headers", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 669 | "perfetto_protos_perfetto_trace_power_zero_gen_headers", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 670 | "perfetto_protos_perfetto_trace_profiling_zero_gen_headers", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 671 | "perfetto_protos_perfetto_trace_ps_zero_gen_headers", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 672 | "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 673 | "perfetto_protos_perfetto_trace_track_event_zero_gen_headers", |
Hector Dearman | 86cfbe1 | 2018-03-22 11:58:42 +0000 | [diff] [blame] | 674 | "perfetto_src_perfetto_cmd_protos_gen_headers", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 675 | ], |
| 676 | defaults: [ |
| 677 | "perfetto_defaults", |
| 678 | ], |
Primiano Tucci | edf099c | 2018-01-08 18:27:56 +0000 | [diff] [blame] | 679 | cflags: [ |
Florian Mayer | 3d5e7e6 | 2018-01-19 15:22:46 +0000 | [diff] [blame] | 680 | "-DGOOGLE_PROTOBUF_NO_RTTI", |
| 681 | "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
Hector Dearman | 554627f | 2019-06-04 17:58:22 +0100 | [diff] [blame] | 682 | "-DHAVE_HIDDEN", |
Primiano Tucci | edf099c | 2018-01-08 18:27:56 +0000 | [diff] [blame] | 683 | ], |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 684 | } |
| 685 | |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 686 | // GN: //test/cts:perfetto_cts_deps |
| 687 | cc_library_static { |
| 688 | name: "perfetto_cts_deps", |
| 689 | srcs: [ |
| 690 | ":perfetto_include_perfetto_base_base", |
| 691 | ":perfetto_include_perfetto_ext_base_base", |
| 692 | ":perfetto_include_perfetto_ext_ipc_ipc", |
| 693 | ":perfetto_include_perfetto_ext_traced_sys_stats_counters", |
| 694 | ":perfetto_include_perfetto_ext_traced_traced", |
| 695 | ":perfetto_include_perfetto_ext_tracing_core_core", |
| 696 | ":perfetto_include_perfetto_ext_tracing_ipc_ipc", |
| 697 | ":perfetto_include_perfetto_protozero_protozero", |
| 698 | ":perfetto_include_perfetto_tracing_core_core", |
| 699 | ":perfetto_include_perfetto_tracing_core_forward_decls", |
| 700 | ":perfetto_include_perfetto_tracing_tracing", |
| 701 | ":perfetto_protos_perfetto_common_cpp_gen", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 702 | ":perfetto_protos_perfetto_common_zero_gen", |
| 703 | ":perfetto_protos_perfetto_config_android_cpp_gen", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 704 | ":perfetto_protos_perfetto_config_android_zero_gen", |
| 705 | ":perfetto_protos_perfetto_config_cpp_gen", |
| 706 | ":perfetto_protos_perfetto_config_ftrace_cpp_gen", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 707 | ":perfetto_protos_perfetto_config_ftrace_zero_gen", |
| 708 | ":perfetto_protos_perfetto_config_gpu_cpp_gen", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 709 | ":perfetto_protos_perfetto_config_gpu_zero_gen", |
| 710 | ":perfetto_protos_perfetto_config_inode_file_cpp_gen", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 711 | ":perfetto_protos_perfetto_config_inode_file_zero_gen", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 712 | ":perfetto_protos_perfetto_config_power_cpp_gen", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 713 | ":perfetto_protos_perfetto_config_power_zero_gen", |
| 714 | ":perfetto_protos_perfetto_config_process_stats_cpp_gen", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 715 | ":perfetto_protos_perfetto_config_process_stats_zero_gen", |
| 716 | ":perfetto_protos_perfetto_config_profiling_cpp_gen", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 717 | ":perfetto_protos_perfetto_config_profiling_zero_gen", |
| 718 | ":perfetto_protos_perfetto_config_sys_stats_cpp_gen", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 719 | ":perfetto_protos_perfetto_config_sys_stats_zero_gen", |
| 720 | ":perfetto_protos_perfetto_config_zero_gen", |
| 721 | ":perfetto_protos_perfetto_ipc_cpp_gen", |
| 722 | ":perfetto_protos_perfetto_ipc_ipc_gen", |
| 723 | ":perfetto_protos_perfetto_ipc_wire_protocol_cpp_gen", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 724 | ":perfetto_protos_perfetto_trace_android_cpp_gen", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 725 | ":perfetto_protos_perfetto_trace_android_zero_gen", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 726 | ":perfetto_protos_perfetto_trace_chrome_cpp_gen", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 727 | ":perfetto_protos_perfetto_trace_chrome_zero_gen", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 728 | ":perfetto_protos_perfetto_trace_filesystem_cpp_gen", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 729 | ":perfetto_protos_perfetto_trace_filesystem_zero_gen", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 730 | ":perfetto_protos_perfetto_trace_ftrace_cpp_gen", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 731 | ":perfetto_protos_perfetto_trace_ftrace_zero_gen", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 732 | ":perfetto_protos_perfetto_trace_gpu_cpp_gen", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 733 | ":perfetto_protos_perfetto_trace_gpu_zero_gen", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 734 | ":perfetto_protos_perfetto_trace_interned_data_cpp_gen", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 735 | ":perfetto_protos_perfetto_trace_interned_data_zero_gen", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 736 | ":perfetto_protos_perfetto_trace_minimal_cpp_gen", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 737 | ":perfetto_protos_perfetto_trace_minimal_zero_gen", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 738 | ":perfetto_protos_perfetto_trace_non_minimal_cpp_gen", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 739 | ":perfetto_protos_perfetto_trace_non_minimal_zero_gen", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 740 | ":perfetto_protos_perfetto_trace_perfetto_cpp_gen", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 741 | ":perfetto_protos_perfetto_trace_perfetto_zero_gen", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 742 | ":perfetto_protos_perfetto_trace_power_cpp_gen", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 743 | ":perfetto_protos_perfetto_trace_power_zero_gen", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 744 | ":perfetto_protos_perfetto_trace_profiling_cpp_gen", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 745 | ":perfetto_protos_perfetto_trace_profiling_zero_gen", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 746 | ":perfetto_protos_perfetto_trace_ps_cpp_gen", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 747 | ":perfetto_protos_perfetto_trace_ps_zero_gen", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 748 | ":perfetto_protos_perfetto_trace_sys_stats_cpp_gen", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 749 | ":perfetto_protos_perfetto_trace_sys_stats_zero_gen", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 750 | ":perfetto_protos_perfetto_trace_track_event_cpp_gen", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 751 | ":perfetto_protos_perfetto_trace_track_event_zero_gen", |
| 752 | ":perfetto_src_android_internal_headers", |
| 753 | ":perfetto_src_android_internal_lazy_library_loader", |
| 754 | ":perfetto_src_base_base", |
| 755 | ":perfetto_src_base_test_support", |
| 756 | ":perfetto_src_base_unix_socket", |
| 757 | ":perfetto_src_ipc_ipc", |
| 758 | ":perfetto_src_perfetto_cmd_perfetto_atoms", |
| 759 | ":perfetto_src_protozero_protozero", |
| 760 | ":perfetto_src_traced_probes_android_log_android_log", |
| 761 | ":perfetto_src_traced_probes_data_source", |
| 762 | ":perfetto_src_traced_probes_filesystem_filesystem", |
| 763 | ":perfetto_src_traced_probes_ftrace_format_parser", |
| 764 | ":perfetto_src_traced_probes_ftrace_ftrace", |
| 765 | ":perfetto_src_traced_probes_metatrace_metatrace", |
| 766 | ":perfetto_src_traced_probes_packages_list_packages_list", |
| 767 | ":perfetto_src_traced_probes_power_power", |
| 768 | ":perfetto_src_traced_probes_probes_src", |
| 769 | ":perfetto_src_traced_probes_ps_ps", |
| 770 | ":perfetto_src_traced_probes_sys_stats_sys_stats", |
| 771 | ":perfetto_src_tracing_common", |
| 772 | ":perfetto_src_tracing_ipc", |
| 773 | ":perfetto_src_tracing_tracing", |
| 774 | ":perfetto_test_task_runner_thread", |
| 775 | ":perfetto_test_task_runner_thread_delegates", |
| 776 | ":perfetto_test_test_helper", |
| 777 | "test/cts/device_feature_test_cts.cc", |
| 778 | "test/cts/end_to_end_integrationtest_cts.cc", |
| 779 | "test/cts/heapprofd_java_test_cts.cc", |
| 780 | "test/cts/heapprofd_test_cts.cc", |
| 781 | "test/cts/utils.cc", |
| 782 | ], |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 783 | static_libs: [ |
| 784 | "libgmock", |
| 785 | "libgtest", |
| 786 | "libperfetto_client_experimental", |
| 787 | ], |
| 788 | export_include_dirs: [ |
| 789 | "include", |
| 790 | "include/perfetto/base/build_configs/android_tree", |
| 791 | ], |
| 792 | generated_headers: [ |
| 793 | "perfetto_protos_perfetto_common_cpp_gen_headers", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 794 | "perfetto_protos_perfetto_common_zero_gen_headers", |
| 795 | "perfetto_protos_perfetto_config_android_cpp_gen_headers", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 796 | "perfetto_protos_perfetto_config_android_zero_gen_headers", |
| 797 | "perfetto_protos_perfetto_config_cpp_gen_headers", |
| 798 | "perfetto_protos_perfetto_config_ftrace_cpp_gen_headers", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 799 | "perfetto_protos_perfetto_config_ftrace_zero_gen_headers", |
| 800 | "perfetto_protos_perfetto_config_gpu_cpp_gen_headers", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 801 | "perfetto_protos_perfetto_config_gpu_zero_gen_headers", |
| 802 | "perfetto_protos_perfetto_config_inode_file_cpp_gen_headers", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 803 | "perfetto_protos_perfetto_config_inode_file_zero_gen_headers", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 804 | "perfetto_protos_perfetto_config_power_cpp_gen_headers", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 805 | "perfetto_protos_perfetto_config_power_zero_gen_headers", |
| 806 | "perfetto_protos_perfetto_config_process_stats_cpp_gen_headers", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 807 | "perfetto_protos_perfetto_config_process_stats_zero_gen_headers", |
| 808 | "perfetto_protos_perfetto_config_profiling_cpp_gen_headers", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 809 | "perfetto_protos_perfetto_config_profiling_zero_gen_headers", |
| 810 | "perfetto_protos_perfetto_config_sys_stats_cpp_gen_headers", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 811 | "perfetto_protos_perfetto_config_sys_stats_zero_gen_headers", |
| 812 | "perfetto_protos_perfetto_config_zero_gen_headers", |
| 813 | "perfetto_protos_perfetto_ipc_cpp_gen_headers", |
| 814 | "perfetto_protos_perfetto_ipc_ipc_gen_headers", |
| 815 | "perfetto_protos_perfetto_ipc_wire_protocol_cpp_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 816 | "perfetto_protos_perfetto_trace_android_cpp_gen_headers", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 817 | "perfetto_protos_perfetto_trace_android_zero_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 818 | "perfetto_protos_perfetto_trace_chrome_cpp_gen_headers", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 819 | "perfetto_protos_perfetto_trace_chrome_zero_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 820 | "perfetto_protos_perfetto_trace_filesystem_cpp_gen_headers", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 821 | "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 822 | "perfetto_protos_perfetto_trace_ftrace_cpp_gen_headers", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 823 | "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 824 | "perfetto_protos_perfetto_trace_gpu_cpp_gen_headers", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 825 | "perfetto_protos_perfetto_trace_gpu_zero_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 826 | "perfetto_protos_perfetto_trace_interned_data_cpp_gen_headers", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 827 | "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 828 | "perfetto_protos_perfetto_trace_minimal_cpp_gen_headers", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 829 | "perfetto_protos_perfetto_trace_minimal_zero_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 830 | "perfetto_protos_perfetto_trace_non_minimal_cpp_gen_headers", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 831 | "perfetto_protos_perfetto_trace_non_minimal_zero_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 832 | "perfetto_protos_perfetto_trace_perfetto_cpp_gen_headers", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 833 | "perfetto_protos_perfetto_trace_perfetto_zero_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 834 | "perfetto_protos_perfetto_trace_power_cpp_gen_headers", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 835 | "perfetto_protos_perfetto_trace_power_zero_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 836 | "perfetto_protos_perfetto_trace_profiling_cpp_gen_headers", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 837 | "perfetto_protos_perfetto_trace_profiling_zero_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 838 | "perfetto_protos_perfetto_trace_ps_cpp_gen_headers", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 839 | "perfetto_protos_perfetto_trace_ps_zero_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 840 | "perfetto_protos_perfetto_trace_sys_stats_cpp_gen_headers", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 841 | "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 842 | "perfetto_protos_perfetto_trace_track_event_cpp_gen_headers", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 843 | "perfetto_protos_perfetto_trace_track_event_zero_gen_headers", |
| 844 | ], |
| 845 | export_generated_headers: [ |
| 846 | "perfetto_protos_perfetto_common_cpp_gen_headers", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 847 | "perfetto_protos_perfetto_common_zero_gen_headers", |
| 848 | "perfetto_protos_perfetto_config_android_cpp_gen_headers", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 849 | "perfetto_protos_perfetto_config_android_zero_gen_headers", |
| 850 | "perfetto_protos_perfetto_config_cpp_gen_headers", |
| 851 | "perfetto_protos_perfetto_config_ftrace_cpp_gen_headers", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 852 | "perfetto_protos_perfetto_config_ftrace_zero_gen_headers", |
| 853 | "perfetto_protos_perfetto_config_gpu_cpp_gen_headers", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 854 | "perfetto_protos_perfetto_config_gpu_zero_gen_headers", |
| 855 | "perfetto_protos_perfetto_config_inode_file_cpp_gen_headers", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 856 | "perfetto_protos_perfetto_config_inode_file_zero_gen_headers", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 857 | "perfetto_protos_perfetto_config_power_cpp_gen_headers", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 858 | "perfetto_protos_perfetto_config_power_zero_gen_headers", |
| 859 | "perfetto_protos_perfetto_config_process_stats_cpp_gen_headers", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 860 | "perfetto_protos_perfetto_config_process_stats_zero_gen_headers", |
| 861 | "perfetto_protos_perfetto_config_profiling_cpp_gen_headers", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 862 | "perfetto_protos_perfetto_config_profiling_zero_gen_headers", |
| 863 | "perfetto_protos_perfetto_config_sys_stats_cpp_gen_headers", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 864 | "perfetto_protos_perfetto_config_sys_stats_zero_gen_headers", |
| 865 | "perfetto_protos_perfetto_config_zero_gen_headers", |
| 866 | "perfetto_protos_perfetto_ipc_cpp_gen_headers", |
| 867 | "perfetto_protos_perfetto_ipc_ipc_gen_headers", |
| 868 | "perfetto_protos_perfetto_ipc_wire_protocol_cpp_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 869 | "perfetto_protos_perfetto_trace_android_cpp_gen_headers", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 870 | "perfetto_protos_perfetto_trace_android_zero_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 871 | "perfetto_protos_perfetto_trace_chrome_cpp_gen_headers", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 872 | "perfetto_protos_perfetto_trace_chrome_zero_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 873 | "perfetto_protos_perfetto_trace_filesystem_cpp_gen_headers", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 874 | "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 875 | "perfetto_protos_perfetto_trace_ftrace_cpp_gen_headers", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 876 | "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 877 | "perfetto_protos_perfetto_trace_gpu_cpp_gen_headers", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 878 | "perfetto_protos_perfetto_trace_gpu_zero_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 879 | "perfetto_protos_perfetto_trace_interned_data_cpp_gen_headers", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 880 | "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 881 | "perfetto_protos_perfetto_trace_minimal_cpp_gen_headers", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 882 | "perfetto_protos_perfetto_trace_minimal_zero_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 883 | "perfetto_protos_perfetto_trace_non_minimal_cpp_gen_headers", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 884 | "perfetto_protos_perfetto_trace_non_minimal_zero_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 885 | "perfetto_protos_perfetto_trace_perfetto_cpp_gen_headers", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 886 | "perfetto_protos_perfetto_trace_perfetto_zero_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 887 | "perfetto_protos_perfetto_trace_power_cpp_gen_headers", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 888 | "perfetto_protos_perfetto_trace_power_zero_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 889 | "perfetto_protos_perfetto_trace_profiling_cpp_gen_headers", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 890 | "perfetto_protos_perfetto_trace_profiling_zero_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 891 | "perfetto_protos_perfetto_trace_ps_cpp_gen_headers", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 892 | "perfetto_protos_perfetto_trace_ps_zero_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 893 | "perfetto_protos_perfetto_trace_sys_stats_cpp_gen_headers", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 894 | "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 895 | "perfetto_protos_perfetto_trace_track_event_cpp_gen_headers", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 896 | "perfetto_protos_perfetto_trace_track_event_zero_gen_headers", |
| 897 | ], |
| 898 | defaults: [ |
| 899 | "perfetto_defaults", |
| 900 | ], |
| 901 | cflags: [ |
| 902 | "-DGOOGLE_PROTOBUF_NO_RTTI", |
| 903 | "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
| 904 | ], |
| 905 | } |
| 906 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 907 | // GN: //gn:default_deps |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 908 | cc_defaults { |
| 909 | name: "perfetto_defaults", |
| 910 | cflags: [ |
Ryan Savitski | ca06498 | 2019-09-24 16:51:13 +0100 | [diff] [blame] | 911 | "-O2", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 912 | "-Wno-error=return-type", |
| 913 | "-Wno-sign-compare", |
| 914 | "-Wno-sign-promo", |
| 915 | "-Wno-unused-parameter", |
Florian Mayer | cc424fd | 2018-01-15 11:19:01 +0000 | [diff] [blame] | 916 | "-fvisibility=hidden", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 917 | ], |
Primiano Tucci | 8e62744 | 2019-08-28 07:58:38 +0200 | [diff] [blame] | 918 | include_dirs: [ |
| 919 | "external/perfetto", |
| 920 | "external/perfetto/include", |
| 921 | "external/perfetto/include/perfetto/base/build_configs/android_tree", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 922 | ], |
Lalit Maganti | d8b1a1d | 2018-05-23 14:41:43 +0100 | [diff] [blame] | 923 | product_variables: { |
| 924 | debuggable: { |
| 925 | cflags: ["-DPERFETTO_BUILD_WITH_ANDROID_USERDEBUG"], |
| 926 | }, |
| 927 | }, |
Florian Mayer | 19f734f | 2019-07-05 12:08:01 +0100 | [diff] [blame] | 928 | target: { |
| 929 | android: { |
| 930 | lto: { |
| 931 | thin: true, |
| 932 | }, |
| 933 | }, |
| 934 | }, |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 935 | } |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 936 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 937 | // GN: //include/perfetto/base:base |
| 938 | filegroup { |
| 939 | name: "perfetto_include_perfetto_base_base", |
| 940 | } |
| 941 | |
| 942 | // GN: //include/perfetto/ext/base:base |
| 943 | filegroup { |
| 944 | name: "perfetto_include_perfetto_ext_base_base", |
| 945 | } |
| 946 | |
| 947 | // GN: //include/perfetto/ext/ipc:ipc |
| 948 | filegroup { |
| 949 | name: "perfetto_include_perfetto_ext_ipc_ipc", |
| 950 | } |
| 951 | |
| 952 | // GN: //include/perfetto/ext/traced:sys_stats_counters |
| 953 | filegroup { |
| 954 | name: "perfetto_include_perfetto_ext_traced_sys_stats_counters", |
| 955 | } |
| 956 | |
| 957 | // GN: //include/perfetto/ext/traced:traced |
| 958 | filegroup { |
| 959 | name: "perfetto_include_perfetto_ext_traced_traced", |
| 960 | } |
| 961 | |
| 962 | // GN: //include/perfetto/ext/tracing/core:core |
| 963 | filegroup { |
| 964 | name: "perfetto_include_perfetto_ext_tracing_core_core", |
| 965 | } |
| 966 | |
| 967 | // GN: //include/perfetto/ext/tracing/ipc:ipc |
| 968 | filegroup { |
| 969 | name: "perfetto_include_perfetto_ext_tracing_ipc_ipc", |
| 970 | } |
| 971 | |
Florian Mayer | 8237596 | 2019-11-20 16:45:28 +0000 | [diff] [blame] | 972 | // GN: //include/perfetto/profiling:deobfuscator |
| 973 | filegroup { |
| 974 | name: "perfetto_include_perfetto_profiling_deobfuscator", |
| 975 | } |
| 976 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 977 | // GN: //include/perfetto/profiling:normalize |
| 978 | filegroup { |
| 979 | name: "perfetto_include_perfetto_profiling_normalize", |
| 980 | } |
| 981 | |
| 982 | // GN: //include/perfetto/profiling:symbolizer |
| 983 | filegroup { |
| 984 | name: "perfetto_include_perfetto_profiling_symbolizer", |
| 985 | } |
| 986 | |
| 987 | // GN: //include/perfetto/protozero:protozero |
| 988 | filegroup { |
| 989 | name: "perfetto_include_perfetto_protozero_protozero", |
| 990 | } |
| 991 | |
| 992 | // GN: //include/perfetto/public:public |
| 993 | filegroup { |
| 994 | name: "perfetto_include_perfetto_public_public", |
| 995 | } |
| 996 | |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 997 | // GN: //include/perfetto/trace_processor:basic_types |
| 998 | filegroup { |
| 999 | name: "perfetto_include_perfetto_trace_processor_basic_types", |
| 1000 | } |
| 1001 | |
| 1002 | // GN: //include/perfetto/trace_processor:storage |
| 1003 | filegroup { |
| 1004 | name: "perfetto_include_perfetto_trace_processor_storage", |
| 1005 | } |
| 1006 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 1007 | // GN: //include/perfetto/trace_processor:trace_processor |
| 1008 | filegroup { |
| 1009 | name: "perfetto_include_perfetto_trace_processor_trace_processor", |
| 1010 | } |
| 1011 | |
| 1012 | // GN: //include/perfetto/tracing/core:core |
| 1013 | filegroup { |
| 1014 | name: "perfetto_include_perfetto_tracing_core_core", |
| 1015 | } |
| 1016 | |
Primiano Tucci | cb8cea2 | 2019-11-22 11:05:35 +0000 | [diff] [blame] | 1017 | // GN: //include/perfetto/tracing/core:forward_decls |
| 1018 | filegroup { |
| 1019 | name: "perfetto_include_perfetto_tracing_core_forward_decls", |
| 1020 | } |
| 1021 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 1022 | // GN: //include/perfetto/tracing:tracing |
| 1023 | filegroup { |
| 1024 | name: "perfetto_include_perfetto_tracing_tracing", |
| 1025 | } |
| 1026 | |
| 1027 | // GN: //:perfetto_integrationtests |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 1028 | cc_test { |
| 1029 | name: "perfetto_integrationtests", |
| 1030 | srcs: [ |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 1031 | ":perfetto_include_perfetto_base_base", |
| 1032 | ":perfetto_include_perfetto_ext_base_base", |
| 1033 | ":perfetto_include_perfetto_ext_ipc_ipc", |
| 1034 | ":perfetto_include_perfetto_ext_traced_sys_stats_counters", |
| 1035 | ":perfetto_include_perfetto_ext_traced_traced", |
| 1036 | ":perfetto_include_perfetto_ext_tracing_core_core", |
| 1037 | ":perfetto_include_perfetto_ext_tracing_ipc_ipc", |
| 1038 | ":perfetto_include_perfetto_profiling_normalize", |
| 1039 | ":perfetto_include_perfetto_protozero_protozero", |
| 1040 | ":perfetto_include_perfetto_tracing_core_core", |
Primiano Tucci | cb8cea2 | 2019-11-22 11:05:35 +0000 | [diff] [blame] | 1041 | ":perfetto_include_perfetto_tracing_core_forward_decls", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 1042 | ":perfetto_include_perfetto_tracing_tracing", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1043 | ":perfetto_protos_perfetto_common_cpp_gen", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1044 | ":perfetto_protos_perfetto_common_zero_gen", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1045 | ":perfetto_protos_perfetto_config_android_cpp_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1046 | ":perfetto_protos_perfetto_config_android_zero_gen", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1047 | ":perfetto_protos_perfetto_config_cpp_gen", |
| 1048 | ":perfetto_protos_perfetto_config_ftrace_cpp_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1049 | ":perfetto_protos_perfetto_config_ftrace_zero_gen", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1050 | ":perfetto_protos_perfetto_config_gpu_cpp_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1051 | ":perfetto_protos_perfetto_config_gpu_zero_gen", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1052 | ":perfetto_protos_perfetto_config_inode_file_cpp_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1053 | ":perfetto_protos_perfetto_config_inode_file_zero_gen", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1054 | ":perfetto_protos_perfetto_config_power_cpp_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1055 | ":perfetto_protos_perfetto_config_power_zero_gen", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1056 | ":perfetto_protos_perfetto_config_process_stats_cpp_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1057 | ":perfetto_protos_perfetto_config_process_stats_zero_gen", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1058 | ":perfetto_protos_perfetto_config_profiling_cpp_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1059 | ":perfetto_protos_perfetto_config_profiling_zero_gen", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1060 | ":perfetto_protos_perfetto_config_sys_stats_cpp_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1061 | ":perfetto_protos_perfetto_config_sys_stats_zero_gen", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1062 | ":perfetto_protos_perfetto_config_zero_gen", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 1063 | ":perfetto_protos_perfetto_ipc_cpp_gen", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 1064 | ":perfetto_protos_perfetto_ipc_ipc_gen", |
Primiano Tucci | b3e08d0 | 2019-11-19 11:10:11 +0000 | [diff] [blame] | 1065 | ":perfetto_protos_perfetto_ipc_wire_protocol_cpp_gen", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 1066 | ":perfetto_protos_perfetto_trace_android_cpp_gen", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1067 | ":perfetto_protos_perfetto_trace_android_zero_gen", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 1068 | ":perfetto_protos_perfetto_trace_chrome_cpp_gen", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 1069 | ":perfetto_protos_perfetto_trace_chrome_zero_gen", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 1070 | ":perfetto_protos_perfetto_trace_filesystem_cpp_gen", |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 1071 | ":perfetto_protos_perfetto_trace_filesystem_zero_gen", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 1072 | ":perfetto_protos_perfetto_trace_ftrace_cpp_gen", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 1073 | ":perfetto_protos_perfetto_trace_ftrace_zero_gen", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 1074 | ":perfetto_protos_perfetto_trace_gpu_cpp_gen", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 1075 | ":perfetto_protos_perfetto_trace_gpu_zero_gen", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 1076 | ":perfetto_protos_perfetto_trace_interned_data_cpp_gen", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 1077 | ":perfetto_protos_perfetto_trace_interned_data_zero_gen", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 1078 | ":perfetto_protos_perfetto_trace_minimal_cpp_gen", |
Primiano Tucci | 75ae50e | 2019-08-28 13:09:55 +0200 | [diff] [blame] | 1079 | ":perfetto_protos_perfetto_trace_minimal_zero_gen", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 1080 | ":perfetto_protos_perfetto_trace_non_minimal_cpp_gen", |
Primiano Tucci | 75ae50e | 2019-08-28 13:09:55 +0200 | [diff] [blame] | 1081 | ":perfetto_protos_perfetto_trace_non_minimal_zero_gen", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 1082 | ":perfetto_protos_perfetto_trace_perfetto_cpp_gen", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 1083 | ":perfetto_protos_perfetto_trace_perfetto_zero_gen", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 1084 | ":perfetto_protos_perfetto_trace_power_cpp_gen", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 1085 | ":perfetto_protos_perfetto_trace_power_zero_gen", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 1086 | ":perfetto_protos_perfetto_trace_profiling_cpp_gen", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 1087 | ":perfetto_protos_perfetto_trace_profiling_zero_gen", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 1088 | ":perfetto_protos_perfetto_trace_ps_cpp_gen", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 1089 | ":perfetto_protos_perfetto_trace_ps_zero_gen", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 1090 | ":perfetto_protos_perfetto_trace_sys_stats_cpp_gen", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1091 | ":perfetto_protos_perfetto_trace_sys_stats_zero_gen", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 1092 | ":perfetto_protos_perfetto_trace_track_event_cpp_gen", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 1093 | ":perfetto_protos_perfetto_trace_track_event_zero_gen", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 1094 | ":perfetto_src_android_internal_headers", |
| 1095 | ":perfetto_src_android_internal_lazy_library_loader", |
| 1096 | ":perfetto_src_base_base", |
| 1097 | ":perfetto_src_base_test_support", |
| 1098 | ":perfetto_src_base_unix_socket", |
| 1099 | ":perfetto_src_ipc_ipc", |
Hector Dearman | 92d7d11 | 2019-12-05 15:19:57 +0000 | [diff] [blame] | 1100 | ":perfetto_src_perfetto_cmd_perfetto_atoms", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 1101 | ":perfetto_src_profiling_memory_client", |
| 1102 | ":perfetto_src_profiling_memory_daemon", |
| 1103 | ":perfetto_src_profiling_memory_end_to_end_tests", |
| 1104 | ":perfetto_src_profiling_memory_proc_utils", |
| 1105 | ":perfetto_src_profiling_memory_ring_buffer", |
| 1106 | ":perfetto_src_profiling_memory_scoped_spinlock", |
| 1107 | ":perfetto_src_profiling_memory_wire_protocol", |
| 1108 | ":perfetto_src_protozero_protozero", |
| 1109 | ":perfetto_src_traced_probes_android_log_android_log", |
| 1110 | ":perfetto_src_traced_probes_data_source", |
| 1111 | ":perfetto_src_traced_probes_filesystem_filesystem", |
| 1112 | ":perfetto_src_traced_probes_ftrace_format_parser", |
| 1113 | ":perfetto_src_traced_probes_ftrace_ftrace", |
| 1114 | ":perfetto_src_traced_probes_ftrace_integrationtests", |
| 1115 | ":perfetto_src_traced_probes_ftrace_test_support", |
| 1116 | ":perfetto_src_traced_probes_metatrace_metatrace", |
| 1117 | ":perfetto_src_traced_probes_packages_list_packages_list", |
| 1118 | ":perfetto_src_traced_probes_power_power", |
| 1119 | ":perfetto_src_traced_probes_probes_src", |
| 1120 | ":perfetto_src_traced_probes_ps_ps", |
| 1121 | ":perfetto_src_traced_probes_sys_stats_sys_stats", |
| 1122 | ":perfetto_src_tracing_client_api", |
| 1123 | ":perfetto_src_tracing_client_api_integrationtests", |
| 1124 | ":perfetto_src_tracing_common", |
| 1125 | ":perfetto_src_tracing_ipc", |
| 1126 | ":perfetto_src_tracing_platform_posix", |
| 1127 | ":perfetto_src_tracing_test_api_test_support", |
| 1128 | ":perfetto_src_tracing_tracing", |
| 1129 | ":perfetto_test_end_to_end_integrationtests", |
| 1130 | ":perfetto_test_task_runner_thread", |
| 1131 | ":perfetto_test_task_runner_thread_delegates", |
| 1132 | ":perfetto_test_test_helper", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 1133 | ], |
| 1134 | shared_libs: [ |
Florian Mayer | 4280249 | 2018-12-13 11:00:16 +0000 | [diff] [blame] | 1135 | "libbase", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 1136 | "liblog", |
Florian Mayer | 4280249 | 2018-12-13 11:00:16 +0000 | [diff] [blame] | 1137 | "libprocinfo", |
Florian Mayer | 4280249 | 2018-12-13 11:00:16 +0000 | [diff] [blame] | 1138 | "libunwindstack", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 1139 | ], |
| 1140 | static_libs: [ |
| 1141 | "libgmock", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 1142 | "libgtest", |
Primiano Tucci | 658e2d6 | 2019-06-14 10:03:32 +0100 | [diff] [blame] | 1143 | "libperfetto_client_experimental", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 1144 | ], |
| 1145 | generated_headers: [ |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1146 | "perfetto_protos_perfetto_common_cpp_gen_headers", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1147 | "perfetto_protos_perfetto_common_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1148 | "perfetto_protos_perfetto_config_android_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1149 | "perfetto_protos_perfetto_config_android_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1150 | "perfetto_protos_perfetto_config_cpp_gen_headers", |
| 1151 | "perfetto_protos_perfetto_config_ftrace_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1152 | "perfetto_protos_perfetto_config_ftrace_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1153 | "perfetto_protos_perfetto_config_gpu_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1154 | "perfetto_protos_perfetto_config_gpu_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1155 | "perfetto_protos_perfetto_config_inode_file_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1156 | "perfetto_protos_perfetto_config_inode_file_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1157 | "perfetto_protos_perfetto_config_power_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1158 | "perfetto_protos_perfetto_config_power_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1159 | "perfetto_protos_perfetto_config_process_stats_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1160 | "perfetto_protos_perfetto_config_process_stats_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1161 | "perfetto_protos_perfetto_config_profiling_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1162 | "perfetto_protos_perfetto_config_profiling_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1163 | "perfetto_protos_perfetto_config_sys_stats_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1164 | "perfetto_protos_perfetto_config_sys_stats_zero_gen_headers", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1165 | "perfetto_protos_perfetto_config_zero_gen_headers", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 1166 | "perfetto_protos_perfetto_ipc_cpp_gen_headers", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 1167 | "perfetto_protos_perfetto_ipc_ipc_gen_headers", |
Primiano Tucci | b3e08d0 | 2019-11-19 11:10:11 +0000 | [diff] [blame] | 1168 | "perfetto_protos_perfetto_ipc_wire_protocol_cpp_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 1169 | "perfetto_protos_perfetto_trace_android_cpp_gen_headers", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1170 | "perfetto_protos_perfetto_trace_android_zero_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 1171 | "perfetto_protos_perfetto_trace_chrome_cpp_gen_headers", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 1172 | "perfetto_protos_perfetto_trace_chrome_zero_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 1173 | "perfetto_protos_perfetto_trace_filesystem_cpp_gen_headers", |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 1174 | "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 1175 | "perfetto_protos_perfetto_trace_ftrace_cpp_gen_headers", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 1176 | "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 1177 | "perfetto_protos_perfetto_trace_gpu_cpp_gen_headers", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 1178 | "perfetto_protos_perfetto_trace_gpu_zero_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 1179 | "perfetto_protos_perfetto_trace_interned_data_cpp_gen_headers", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 1180 | "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 1181 | "perfetto_protos_perfetto_trace_minimal_cpp_gen_headers", |
Primiano Tucci | 75ae50e | 2019-08-28 13:09:55 +0200 | [diff] [blame] | 1182 | "perfetto_protos_perfetto_trace_minimal_zero_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 1183 | "perfetto_protos_perfetto_trace_non_minimal_cpp_gen_headers", |
Primiano Tucci | 75ae50e | 2019-08-28 13:09:55 +0200 | [diff] [blame] | 1184 | "perfetto_protos_perfetto_trace_non_minimal_zero_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 1185 | "perfetto_protos_perfetto_trace_perfetto_cpp_gen_headers", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 1186 | "perfetto_protos_perfetto_trace_perfetto_zero_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 1187 | "perfetto_protos_perfetto_trace_power_cpp_gen_headers", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 1188 | "perfetto_protos_perfetto_trace_power_zero_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 1189 | "perfetto_protos_perfetto_trace_profiling_cpp_gen_headers", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 1190 | "perfetto_protos_perfetto_trace_profiling_zero_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 1191 | "perfetto_protos_perfetto_trace_ps_cpp_gen_headers", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 1192 | "perfetto_protos_perfetto_trace_ps_zero_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 1193 | "perfetto_protos_perfetto_trace_sys_stats_cpp_gen_headers", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1194 | "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 1195 | "perfetto_protos_perfetto_trace_track_event_cpp_gen_headers", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 1196 | "perfetto_protos_perfetto_trace_track_event_zero_gen_headers", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 1197 | ], |
| 1198 | defaults: [ |
| 1199 | "perfetto_defaults", |
| 1200 | ], |
| 1201 | cflags: [ |
| 1202 | "-DGOOGLE_PROTOBUF_NO_RTTI", |
| 1203 | "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 1204 | ], |
| 1205 | } |
| 1206 | |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1207 | // GN: //protos/perfetto/common:cpp |
| 1208 | genrule { |
| 1209 | name: "perfetto_protos_perfetto_common_cpp_gen", |
| 1210 | srcs: [ |
| 1211 | "protos/perfetto/common/android_log_constants.proto", |
| 1212 | "protos/perfetto/common/commit_data_request.proto", |
| 1213 | "protos/perfetto/common/data_source_descriptor.proto", |
| 1214 | "protos/perfetto/common/descriptor.proto", |
| 1215 | "protos/perfetto/common/gpu_counter_descriptor.proto", |
| 1216 | "protos/perfetto/common/observable_events.proto", |
| 1217 | "protos/perfetto/common/sys_stats_counters.proto", |
| 1218 | "protos/perfetto/common/trace_stats.proto", |
| 1219 | "protos/perfetto/common/tracing_service_state.proto", |
| 1220 | "protos/perfetto/common/track_event_descriptor.proto", |
| 1221 | ], |
| 1222 | tools: [ |
| 1223 | "aprotoc", |
| 1224 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 1225 | ], |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 1226 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1227 | out: [ |
| 1228 | "external/perfetto/protos/perfetto/common/android_log_constants.gen.cc", |
| 1229 | "external/perfetto/protos/perfetto/common/commit_data_request.gen.cc", |
| 1230 | "external/perfetto/protos/perfetto/common/data_source_descriptor.gen.cc", |
| 1231 | "external/perfetto/protos/perfetto/common/descriptor.gen.cc", |
| 1232 | "external/perfetto/protos/perfetto/common/gpu_counter_descriptor.gen.cc", |
| 1233 | "external/perfetto/protos/perfetto/common/observable_events.gen.cc", |
| 1234 | "external/perfetto/protos/perfetto/common/sys_stats_counters.gen.cc", |
| 1235 | "external/perfetto/protos/perfetto/common/trace_stats.gen.cc", |
| 1236 | "external/perfetto/protos/perfetto/common/tracing_service_state.gen.cc", |
| 1237 | "external/perfetto/protos/perfetto/common/track_event_descriptor.gen.cc", |
| 1238 | ], |
| 1239 | } |
| 1240 | |
| 1241 | // GN: //protos/perfetto/common:cpp |
| 1242 | genrule { |
| 1243 | name: "perfetto_protos_perfetto_common_cpp_gen_headers", |
| 1244 | srcs: [ |
| 1245 | "protos/perfetto/common/android_log_constants.proto", |
| 1246 | "protos/perfetto/common/commit_data_request.proto", |
| 1247 | "protos/perfetto/common/data_source_descriptor.proto", |
| 1248 | "protos/perfetto/common/descriptor.proto", |
| 1249 | "protos/perfetto/common/gpu_counter_descriptor.proto", |
| 1250 | "protos/perfetto/common/observable_events.proto", |
| 1251 | "protos/perfetto/common/sys_stats_counters.proto", |
| 1252 | "protos/perfetto/common/trace_stats.proto", |
| 1253 | "protos/perfetto/common/tracing_service_state.proto", |
| 1254 | "protos/perfetto/common/track_event_descriptor.proto", |
| 1255 | ], |
| 1256 | tools: [ |
| 1257 | "aprotoc", |
| 1258 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 1259 | ], |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 1260 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1261 | out: [ |
| 1262 | "external/perfetto/protos/perfetto/common/android_log_constants.gen.h", |
| 1263 | "external/perfetto/protos/perfetto/common/commit_data_request.gen.h", |
| 1264 | "external/perfetto/protos/perfetto/common/data_source_descriptor.gen.h", |
| 1265 | "external/perfetto/protos/perfetto/common/descriptor.gen.h", |
| 1266 | "external/perfetto/protos/perfetto/common/gpu_counter_descriptor.gen.h", |
| 1267 | "external/perfetto/protos/perfetto/common/observable_events.gen.h", |
| 1268 | "external/perfetto/protos/perfetto/common/sys_stats_counters.gen.h", |
| 1269 | "external/perfetto/protos/perfetto/common/trace_stats.gen.h", |
| 1270 | "external/perfetto/protos/perfetto/common/tracing_service_state.gen.h", |
| 1271 | "external/perfetto/protos/perfetto/common/track_event_descriptor.gen.h", |
| 1272 | ], |
| 1273 | export_include_dirs: [ |
| 1274 | ".", |
| 1275 | "protos", |
| 1276 | ], |
| 1277 | } |
| 1278 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 1279 | // GN: //protos/perfetto/common:lite |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 1280 | genrule { |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1281 | name: "perfetto_protos_perfetto_common_lite_gen", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 1282 | srcs: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1283 | "protos/perfetto/common/android_log_constants.proto", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 1284 | "protos/perfetto/common/commit_data_request.proto", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 1285 | "protos/perfetto/common/data_source_descriptor.proto", |
Lalit Maganti | eb1bf21 | 2019-05-08 15:07:16 +0100 | [diff] [blame] | 1286 | "protos/perfetto/common/descriptor.proto", |
Raymond Chiu | 303ed40 | 2019-06-20 12:50:04 -0700 | [diff] [blame] | 1287 | "protos/perfetto/common/gpu_counter_descriptor.proto", |
Eric Seckler | 7b0c945 | 2019-03-18 13:14:36 +0000 | [diff] [blame] | 1288 | "protos/perfetto/common/observable_events.proto", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1289 | "protos/perfetto/common/sys_stats_counters.proto", |
Eric Seckler | eaf29ed | 2019-01-23 09:53:55 +0000 | [diff] [blame] | 1290 | "protos/perfetto/common/trace_stats.proto", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 1291 | "protos/perfetto/common/tracing_service_state.proto", |
Nicolò Mazzucato | 51c3c95 | 2019-09-03 14:29:44 +0100 | [diff] [blame] | 1292 | "protos/perfetto/common/track_event_descriptor.proto", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 1293 | ], |
| 1294 | tools: [ |
| 1295 | "aprotoc", |
| 1296 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 1297 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 1298 | out: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1299 | "external/perfetto/protos/perfetto/common/android_log_constants.pb.cc", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 1300 | "external/perfetto/protos/perfetto/common/commit_data_request.pb.cc", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 1301 | "external/perfetto/protos/perfetto/common/data_source_descriptor.pb.cc", |
Lalit Maganti | eb1bf21 | 2019-05-08 15:07:16 +0100 | [diff] [blame] | 1302 | "external/perfetto/protos/perfetto/common/descriptor.pb.cc", |
Raymond Chiu | 303ed40 | 2019-06-20 12:50:04 -0700 | [diff] [blame] | 1303 | "external/perfetto/protos/perfetto/common/gpu_counter_descriptor.pb.cc", |
Eric Seckler | 7b0c945 | 2019-03-18 13:14:36 +0000 | [diff] [blame] | 1304 | "external/perfetto/protos/perfetto/common/observable_events.pb.cc", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1305 | "external/perfetto/protos/perfetto/common/sys_stats_counters.pb.cc", |
Eric Seckler | eaf29ed | 2019-01-23 09:53:55 +0000 | [diff] [blame] | 1306 | "external/perfetto/protos/perfetto/common/trace_stats.pb.cc", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 1307 | "external/perfetto/protos/perfetto/common/tracing_service_state.pb.cc", |
Nicolò Mazzucato | 51c3c95 | 2019-09-03 14:29:44 +0100 | [diff] [blame] | 1308 | "external/perfetto/protos/perfetto/common/track_event_descriptor.pb.cc", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 1309 | ], |
| 1310 | } |
| 1311 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 1312 | // GN: //protos/perfetto/common:lite |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 1313 | genrule { |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1314 | name: "perfetto_protos_perfetto_common_lite_gen_headers", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 1315 | srcs: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1316 | "protos/perfetto/common/android_log_constants.proto", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 1317 | "protos/perfetto/common/commit_data_request.proto", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 1318 | "protos/perfetto/common/data_source_descriptor.proto", |
Lalit Maganti | eb1bf21 | 2019-05-08 15:07:16 +0100 | [diff] [blame] | 1319 | "protos/perfetto/common/descriptor.proto", |
Raymond Chiu | 303ed40 | 2019-06-20 12:50:04 -0700 | [diff] [blame] | 1320 | "protos/perfetto/common/gpu_counter_descriptor.proto", |
Eric Seckler | 7b0c945 | 2019-03-18 13:14:36 +0000 | [diff] [blame] | 1321 | "protos/perfetto/common/observable_events.proto", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1322 | "protos/perfetto/common/sys_stats_counters.proto", |
Eric Seckler | eaf29ed | 2019-01-23 09:53:55 +0000 | [diff] [blame] | 1323 | "protos/perfetto/common/trace_stats.proto", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 1324 | "protos/perfetto/common/tracing_service_state.proto", |
Nicolò Mazzucato | 51c3c95 | 2019-09-03 14:29:44 +0100 | [diff] [blame] | 1325 | "protos/perfetto/common/track_event_descriptor.proto", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 1326 | ], |
| 1327 | tools: [ |
| 1328 | "aprotoc", |
| 1329 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 1330 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 1331 | out: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1332 | "external/perfetto/protos/perfetto/common/android_log_constants.pb.h", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 1333 | "external/perfetto/protos/perfetto/common/commit_data_request.pb.h", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 1334 | "external/perfetto/protos/perfetto/common/data_source_descriptor.pb.h", |
Lalit Maganti | eb1bf21 | 2019-05-08 15:07:16 +0100 | [diff] [blame] | 1335 | "external/perfetto/protos/perfetto/common/descriptor.pb.h", |
Raymond Chiu | 303ed40 | 2019-06-20 12:50:04 -0700 | [diff] [blame] | 1336 | "external/perfetto/protos/perfetto/common/gpu_counter_descriptor.pb.h", |
Eric Seckler | 7b0c945 | 2019-03-18 13:14:36 +0000 | [diff] [blame] | 1337 | "external/perfetto/protos/perfetto/common/observable_events.pb.h", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1338 | "external/perfetto/protos/perfetto/common/sys_stats_counters.pb.h", |
Eric Seckler | eaf29ed | 2019-01-23 09:53:55 +0000 | [diff] [blame] | 1339 | "external/perfetto/protos/perfetto/common/trace_stats.pb.h", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 1340 | "external/perfetto/protos/perfetto/common/tracing_service_state.pb.h", |
Nicolò Mazzucato | 51c3c95 | 2019-09-03 14:29:44 +0100 | [diff] [blame] | 1341 | "external/perfetto/protos/perfetto/common/track_event_descriptor.pb.h", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 1342 | ], |
| 1343 | export_include_dirs: [ |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 1344 | ".", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 1345 | "protos", |
| 1346 | ], |
| 1347 | } |
| 1348 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 1349 | // GN: //protos/perfetto/common:zero |
Sami Kyostila | 71625d7 | 2017-12-18 10:29:49 +0000 | [diff] [blame] | 1350 | genrule { |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1351 | name: "perfetto_protos_perfetto_common_zero_gen", |
| 1352 | srcs: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1353 | "protos/perfetto/common/android_log_constants.proto", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1354 | "protos/perfetto/common/commit_data_request.proto", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 1355 | "protos/perfetto/common/data_source_descriptor.proto", |
Lalit Maganti | eb1bf21 | 2019-05-08 15:07:16 +0100 | [diff] [blame] | 1356 | "protos/perfetto/common/descriptor.proto", |
Raymond Chiu | 303ed40 | 2019-06-20 12:50:04 -0700 | [diff] [blame] | 1357 | "protos/perfetto/common/gpu_counter_descriptor.proto", |
Eric Seckler | 7b0c945 | 2019-03-18 13:14:36 +0000 | [diff] [blame] | 1358 | "protos/perfetto/common/observable_events.proto", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1359 | "protos/perfetto/common/sys_stats_counters.proto", |
Eric Seckler | eaf29ed | 2019-01-23 09:53:55 +0000 | [diff] [blame] | 1360 | "protos/perfetto/common/trace_stats.proto", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 1361 | "protos/perfetto/common/tracing_service_state.proto", |
Nicolò Mazzucato | 51c3c95 | 2019-09-03 14:29:44 +0100 | [diff] [blame] | 1362 | "protos/perfetto/common/track_event_descriptor.proto", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1363 | ], |
| 1364 | tools: [ |
| 1365 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 1366 | "protozero_plugin", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1367 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 1368 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1369 | out: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1370 | "external/perfetto/protos/perfetto/common/android_log_constants.pbzero.cc", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1371 | "external/perfetto/protos/perfetto/common/commit_data_request.pbzero.cc", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 1372 | "external/perfetto/protos/perfetto/common/data_source_descriptor.pbzero.cc", |
Lalit Maganti | eb1bf21 | 2019-05-08 15:07:16 +0100 | [diff] [blame] | 1373 | "external/perfetto/protos/perfetto/common/descriptor.pbzero.cc", |
Raymond Chiu | 303ed40 | 2019-06-20 12:50:04 -0700 | [diff] [blame] | 1374 | "external/perfetto/protos/perfetto/common/gpu_counter_descriptor.pbzero.cc", |
Eric Seckler | 7b0c945 | 2019-03-18 13:14:36 +0000 | [diff] [blame] | 1375 | "external/perfetto/protos/perfetto/common/observable_events.pbzero.cc", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1376 | "external/perfetto/protos/perfetto/common/sys_stats_counters.pbzero.cc", |
Eric Seckler | eaf29ed | 2019-01-23 09:53:55 +0000 | [diff] [blame] | 1377 | "external/perfetto/protos/perfetto/common/trace_stats.pbzero.cc", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 1378 | "external/perfetto/protos/perfetto/common/tracing_service_state.pbzero.cc", |
Nicolò Mazzucato | 51c3c95 | 2019-09-03 14:29:44 +0100 | [diff] [blame] | 1379 | "external/perfetto/protos/perfetto/common/track_event_descriptor.pbzero.cc", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1380 | ], |
| 1381 | } |
| 1382 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 1383 | // GN: //protos/perfetto/common:zero |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1384 | genrule { |
| 1385 | name: "perfetto_protos_perfetto_common_zero_gen_headers", |
| 1386 | srcs: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1387 | "protos/perfetto/common/android_log_constants.proto", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1388 | "protos/perfetto/common/commit_data_request.proto", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 1389 | "protos/perfetto/common/data_source_descriptor.proto", |
Lalit Maganti | eb1bf21 | 2019-05-08 15:07:16 +0100 | [diff] [blame] | 1390 | "protos/perfetto/common/descriptor.proto", |
Raymond Chiu | 303ed40 | 2019-06-20 12:50:04 -0700 | [diff] [blame] | 1391 | "protos/perfetto/common/gpu_counter_descriptor.proto", |
Eric Seckler | 7b0c945 | 2019-03-18 13:14:36 +0000 | [diff] [blame] | 1392 | "protos/perfetto/common/observable_events.proto", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1393 | "protos/perfetto/common/sys_stats_counters.proto", |
Eric Seckler | eaf29ed | 2019-01-23 09:53:55 +0000 | [diff] [blame] | 1394 | "protos/perfetto/common/trace_stats.proto", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 1395 | "protos/perfetto/common/tracing_service_state.proto", |
Nicolò Mazzucato | 51c3c95 | 2019-09-03 14:29:44 +0100 | [diff] [blame] | 1396 | "protos/perfetto/common/track_event_descriptor.proto", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1397 | ], |
| 1398 | tools: [ |
| 1399 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 1400 | "protozero_plugin", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1401 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 1402 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1403 | out: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1404 | "external/perfetto/protos/perfetto/common/android_log_constants.pbzero.h", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1405 | "external/perfetto/protos/perfetto/common/commit_data_request.pbzero.h", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 1406 | "external/perfetto/protos/perfetto/common/data_source_descriptor.pbzero.h", |
Lalit Maganti | eb1bf21 | 2019-05-08 15:07:16 +0100 | [diff] [blame] | 1407 | "external/perfetto/protos/perfetto/common/descriptor.pbzero.h", |
Raymond Chiu | 303ed40 | 2019-06-20 12:50:04 -0700 | [diff] [blame] | 1408 | "external/perfetto/protos/perfetto/common/gpu_counter_descriptor.pbzero.h", |
Eric Seckler | 7b0c945 | 2019-03-18 13:14:36 +0000 | [diff] [blame] | 1409 | "external/perfetto/protos/perfetto/common/observable_events.pbzero.h", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1410 | "external/perfetto/protos/perfetto/common/sys_stats_counters.pbzero.h", |
Eric Seckler | eaf29ed | 2019-01-23 09:53:55 +0000 | [diff] [blame] | 1411 | "external/perfetto/protos/perfetto/common/trace_stats.pbzero.h", |
Primiano Tucci | 2854a0a | 2019-06-03 14:51:18 +0100 | [diff] [blame] | 1412 | "external/perfetto/protos/perfetto/common/tracing_service_state.pbzero.h", |
Nicolò Mazzucato | 51c3c95 | 2019-09-03 14:29:44 +0100 | [diff] [blame] | 1413 | "external/perfetto/protos/perfetto/common/track_event_descriptor.pbzero.h", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1414 | ], |
| 1415 | export_include_dirs: [ |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 1416 | ".", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1417 | "protos", |
| 1418 | ], |
| 1419 | } |
| 1420 | |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1421 | // GN: //protos/perfetto/config/android:cpp |
| 1422 | genrule { |
| 1423 | name: "perfetto_protos_perfetto_config_android_cpp_gen", |
| 1424 | srcs: [ |
| 1425 | "protos/perfetto/config/android/android_log_config.proto", |
| 1426 | "protos/perfetto/config/android/packages_list_config.proto", |
| 1427 | ], |
| 1428 | tools: [ |
| 1429 | "aprotoc", |
| 1430 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 1431 | ], |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 1432 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1433 | out: [ |
| 1434 | "external/perfetto/protos/perfetto/config/android/android_log_config.gen.cc", |
| 1435 | "external/perfetto/protos/perfetto/config/android/packages_list_config.gen.cc", |
| 1436 | ], |
| 1437 | } |
| 1438 | |
| 1439 | // GN: //protos/perfetto/config/android:cpp |
| 1440 | genrule { |
| 1441 | name: "perfetto_protos_perfetto_config_android_cpp_gen_headers", |
| 1442 | srcs: [ |
| 1443 | "protos/perfetto/config/android/android_log_config.proto", |
| 1444 | "protos/perfetto/config/android/packages_list_config.proto", |
| 1445 | ], |
| 1446 | tools: [ |
| 1447 | "aprotoc", |
| 1448 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 1449 | ], |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 1450 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1451 | out: [ |
| 1452 | "external/perfetto/protos/perfetto/config/android/android_log_config.gen.h", |
| 1453 | "external/perfetto/protos/perfetto/config/android/packages_list_config.gen.h", |
| 1454 | ], |
| 1455 | export_include_dirs: [ |
| 1456 | ".", |
| 1457 | "protos", |
| 1458 | ], |
| 1459 | } |
| 1460 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 1461 | // GN: //protos/perfetto/config/android:lite |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1462 | genrule { |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1463 | name: "perfetto_protos_perfetto_config_android_lite_gen", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 1464 | srcs: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1465 | "protos/perfetto/config/android/android_log_config.proto", |
Ryan Savitski | fde4ae6 | 2019-06-14 16:02:52 +0100 | [diff] [blame] | 1466 | "protos/perfetto/config/android/packages_list_config.proto", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 1467 | ], |
| 1468 | tools: [ |
| 1469 | "aprotoc", |
| 1470 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 1471 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=$(genDir)/external/perfetto/ $(in)", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 1472 | out: [ |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 1473 | "external/perfetto/protos/perfetto/config/android/android_log_config.pb.cc", |
Ryan Savitski | fde4ae6 | 2019-06-14 16:02:52 +0100 | [diff] [blame] | 1474 | "external/perfetto/protos/perfetto/config/android/packages_list_config.pb.cc", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1475 | ], |
| 1476 | } |
| 1477 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 1478 | // GN: //protos/perfetto/config/android:lite |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1479 | genrule { |
| 1480 | name: "perfetto_protos_perfetto_config_android_lite_gen_headers", |
| 1481 | srcs: [ |
| 1482 | "protos/perfetto/config/android/android_log_config.proto", |
| 1483 | "protos/perfetto/config/android/packages_list_config.proto", |
| 1484 | ], |
| 1485 | tools: [ |
| 1486 | "aprotoc", |
| 1487 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 1488 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1489 | out: [ |
| 1490 | "external/perfetto/protos/perfetto/config/android/android_log_config.pb.h", |
| 1491 | "external/perfetto/protos/perfetto/config/android/packages_list_config.pb.h", |
| 1492 | ], |
| 1493 | export_include_dirs: [ |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 1494 | ".", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1495 | "protos", |
| 1496 | ], |
| 1497 | } |
| 1498 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 1499 | // GN: //protos/perfetto/config/android:zero |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1500 | genrule { |
| 1501 | name: "perfetto_protos_perfetto_config_android_zero_gen", |
| 1502 | srcs: [ |
| 1503 | "protos/perfetto/config/android/android_log_config.proto", |
| 1504 | "protos/perfetto/config/android/packages_list_config.proto", |
| 1505 | ], |
| 1506 | tools: [ |
| 1507 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 1508 | "protozero_plugin", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1509 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 1510 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1511 | out: [ |
| 1512 | "external/perfetto/protos/perfetto/config/android/android_log_config.pbzero.cc", |
| 1513 | "external/perfetto/protos/perfetto/config/android/packages_list_config.pbzero.cc", |
| 1514 | ], |
| 1515 | } |
| 1516 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 1517 | // GN: //protos/perfetto/config/android:zero |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1518 | genrule { |
| 1519 | name: "perfetto_protos_perfetto_config_android_zero_gen_headers", |
| 1520 | srcs: [ |
| 1521 | "protos/perfetto/config/android/android_log_config.proto", |
| 1522 | "protos/perfetto/config/android/packages_list_config.proto", |
| 1523 | ], |
| 1524 | tools: [ |
| 1525 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 1526 | "protozero_plugin", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1527 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 1528 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1529 | out: [ |
| 1530 | "external/perfetto/protos/perfetto/config/android/android_log_config.pbzero.h", |
| 1531 | "external/perfetto/protos/perfetto/config/android/packages_list_config.pbzero.h", |
| 1532 | ], |
| 1533 | export_include_dirs: [ |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 1534 | ".", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1535 | "protos", |
| 1536 | ], |
| 1537 | } |
| 1538 | |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1539 | // GN: //protos/perfetto/config:cpp |
| 1540 | genrule { |
| 1541 | name: "perfetto_protos_perfetto_config_cpp_gen", |
| 1542 | srcs: [ |
| 1543 | "protos/perfetto/config/chrome/chrome_config.proto", |
| 1544 | "protos/perfetto/config/data_source_config.proto", |
| 1545 | "protos/perfetto/config/test_config.proto", |
| 1546 | "protos/perfetto/config/trace_config.proto", |
| 1547 | ], |
| 1548 | tools: [ |
| 1549 | "aprotoc", |
| 1550 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 1551 | ], |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 1552 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1553 | out: [ |
| 1554 | "external/perfetto/protos/perfetto/config/chrome/chrome_config.gen.cc", |
| 1555 | "external/perfetto/protos/perfetto/config/data_source_config.gen.cc", |
| 1556 | "external/perfetto/protos/perfetto/config/test_config.gen.cc", |
| 1557 | "external/perfetto/protos/perfetto/config/trace_config.gen.cc", |
| 1558 | ], |
| 1559 | } |
| 1560 | |
| 1561 | // GN: //protos/perfetto/config:cpp |
| 1562 | genrule { |
| 1563 | name: "perfetto_protos_perfetto_config_cpp_gen_headers", |
| 1564 | srcs: [ |
| 1565 | "protos/perfetto/config/chrome/chrome_config.proto", |
| 1566 | "protos/perfetto/config/data_source_config.proto", |
| 1567 | "protos/perfetto/config/test_config.proto", |
| 1568 | "protos/perfetto/config/trace_config.proto", |
| 1569 | ], |
| 1570 | tools: [ |
| 1571 | "aprotoc", |
| 1572 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 1573 | ], |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 1574 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1575 | out: [ |
| 1576 | "external/perfetto/protos/perfetto/config/chrome/chrome_config.gen.h", |
| 1577 | "external/perfetto/protos/perfetto/config/data_source_config.gen.h", |
| 1578 | "external/perfetto/protos/perfetto/config/test_config.gen.h", |
| 1579 | "external/perfetto/protos/perfetto/config/trace_config.gen.h", |
| 1580 | ], |
| 1581 | export_include_dirs: [ |
| 1582 | ".", |
| 1583 | "protos", |
| 1584 | ], |
| 1585 | } |
| 1586 | |
| 1587 | // GN: //protos/perfetto/config/ftrace:cpp |
| 1588 | genrule { |
| 1589 | name: "perfetto_protos_perfetto_config_ftrace_cpp_gen", |
| 1590 | srcs: [ |
| 1591 | "protos/perfetto/config/ftrace/ftrace_config.proto", |
| 1592 | ], |
| 1593 | tools: [ |
| 1594 | "aprotoc", |
| 1595 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 1596 | ], |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 1597 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1598 | out: [ |
| 1599 | "external/perfetto/protos/perfetto/config/ftrace/ftrace_config.gen.cc", |
| 1600 | ], |
| 1601 | } |
| 1602 | |
| 1603 | // GN: //protos/perfetto/config/ftrace:cpp |
| 1604 | genrule { |
| 1605 | name: "perfetto_protos_perfetto_config_ftrace_cpp_gen_headers", |
| 1606 | srcs: [ |
| 1607 | "protos/perfetto/config/ftrace/ftrace_config.proto", |
| 1608 | ], |
| 1609 | tools: [ |
| 1610 | "aprotoc", |
| 1611 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 1612 | ], |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 1613 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1614 | out: [ |
| 1615 | "external/perfetto/protos/perfetto/config/ftrace/ftrace_config.gen.h", |
| 1616 | ], |
| 1617 | export_include_dirs: [ |
| 1618 | ".", |
| 1619 | "protos", |
| 1620 | ], |
| 1621 | } |
| 1622 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 1623 | // GN: //protos/perfetto/config/ftrace:lite |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1624 | genrule { |
| 1625 | name: "perfetto_protos_perfetto_config_ftrace_lite_gen", |
| 1626 | srcs: [ |
| 1627 | "protos/perfetto/config/ftrace/ftrace_config.proto", |
| 1628 | ], |
| 1629 | tools: [ |
| 1630 | "aprotoc", |
| 1631 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 1632 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1633 | out: [ |
| 1634 | "external/perfetto/protos/perfetto/config/ftrace/ftrace_config.pb.cc", |
| 1635 | ], |
| 1636 | } |
| 1637 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 1638 | // GN: //protos/perfetto/config/ftrace:lite |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1639 | genrule { |
| 1640 | name: "perfetto_protos_perfetto_config_ftrace_lite_gen_headers", |
| 1641 | srcs: [ |
| 1642 | "protos/perfetto/config/ftrace/ftrace_config.proto", |
| 1643 | ], |
| 1644 | tools: [ |
| 1645 | "aprotoc", |
| 1646 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 1647 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1648 | out: [ |
| 1649 | "external/perfetto/protos/perfetto/config/ftrace/ftrace_config.pb.h", |
| 1650 | ], |
| 1651 | export_include_dirs: [ |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 1652 | ".", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1653 | "protos", |
| 1654 | ], |
| 1655 | } |
| 1656 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 1657 | // GN: //protos/perfetto/config/ftrace:zero |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1658 | genrule { |
| 1659 | name: "perfetto_protos_perfetto_config_ftrace_zero_gen", |
| 1660 | srcs: [ |
| 1661 | "protos/perfetto/config/ftrace/ftrace_config.proto", |
| 1662 | ], |
| 1663 | tools: [ |
| 1664 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 1665 | "protozero_plugin", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1666 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 1667 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1668 | out: [ |
| 1669 | "external/perfetto/protos/perfetto/config/ftrace/ftrace_config.pbzero.cc", |
| 1670 | ], |
| 1671 | } |
| 1672 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 1673 | // GN: //protos/perfetto/config/ftrace:zero |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1674 | genrule { |
| 1675 | name: "perfetto_protos_perfetto_config_ftrace_zero_gen_headers", |
| 1676 | srcs: [ |
| 1677 | "protos/perfetto/config/ftrace/ftrace_config.proto", |
| 1678 | ], |
| 1679 | tools: [ |
| 1680 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 1681 | "protozero_plugin", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1682 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 1683 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1684 | out: [ |
| 1685 | "external/perfetto/protos/perfetto/config/ftrace/ftrace_config.pbzero.h", |
| 1686 | ], |
| 1687 | export_include_dirs: [ |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 1688 | ".", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1689 | "protos", |
| 1690 | ], |
| 1691 | } |
| 1692 | |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1693 | // GN: //protos/perfetto/config/gpu:cpp |
| 1694 | genrule { |
| 1695 | name: "perfetto_protos_perfetto_config_gpu_cpp_gen", |
| 1696 | srcs: [ |
| 1697 | "protos/perfetto/config/gpu/gpu_counter_config.proto", |
Mohammad Reza Zakerinasab | d9a209c | 2019-11-28 14:12:55 -0500 | [diff] [blame] | 1698 | "protos/perfetto/config/gpu/vulkan_memory_config.proto", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1699 | ], |
| 1700 | tools: [ |
| 1701 | "aprotoc", |
| 1702 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 1703 | ], |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 1704 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1705 | out: [ |
| 1706 | "external/perfetto/protos/perfetto/config/gpu/gpu_counter_config.gen.cc", |
Mohammad Reza Zakerinasab | d9a209c | 2019-11-28 14:12:55 -0500 | [diff] [blame] | 1707 | "external/perfetto/protos/perfetto/config/gpu/vulkan_memory_config.gen.cc", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1708 | ], |
| 1709 | } |
| 1710 | |
| 1711 | // GN: //protos/perfetto/config/gpu:cpp |
| 1712 | genrule { |
| 1713 | name: "perfetto_protos_perfetto_config_gpu_cpp_gen_headers", |
| 1714 | srcs: [ |
| 1715 | "protos/perfetto/config/gpu/gpu_counter_config.proto", |
Mohammad Reza Zakerinasab | d9a209c | 2019-11-28 14:12:55 -0500 | [diff] [blame] | 1716 | "protos/perfetto/config/gpu/vulkan_memory_config.proto", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1717 | ], |
| 1718 | tools: [ |
| 1719 | "aprotoc", |
| 1720 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 1721 | ], |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 1722 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1723 | out: [ |
| 1724 | "external/perfetto/protos/perfetto/config/gpu/gpu_counter_config.gen.h", |
Mohammad Reza Zakerinasab | d9a209c | 2019-11-28 14:12:55 -0500 | [diff] [blame] | 1725 | "external/perfetto/protos/perfetto/config/gpu/vulkan_memory_config.gen.h", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1726 | ], |
| 1727 | export_include_dirs: [ |
| 1728 | ".", |
| 1729 | "protos", |
| 1730 | ], |
| 1731 | } |
| 1732 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 1733 | // GN: //protos/perfetto/config/gpu:lite |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1734 | genrule { |
| 1735 | name: "perfetto_protos_perfetto_config_gpu_lite_gen", |
| 1736 | srcs: [ |
| 1737 | "protos/perfetto/config/gpu/gpu_counter_config.proto", |
Mohammad Reza Zakerinasab | d9a209c | 2019-11-28 14:12:55 -0500 | [diff] [blame] | 1738 | "protos/perfetto/config/gpu/vulkan_memory_config.proto", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1739 | ], |
| 1740 | tools: [ |
| 1741 | "aprotoc", |
| 1742 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 1743 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1744 | out: [ |
| 1745 | "external/perfetto/protos/perfetto/config/gpu/gpu_counter_config.pb.cc", |
Mohammad Reza Zakerinasab | d9a209c | 2019-11-28 14:12:55 -0500 | [diff] [blame] | 1746 | "external/perfetto/protos/perfetto/config/gpu/vulkan_memory_config.pb.cc", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1747 | ], |
| 1748 | } |
| 1749 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 1750 | // GN: //protos/perfetto/config/gpu:lite |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1751 | genrule { |
| 1752 | name: "perfetto_protos_perfetto_config_gpu_lite_gen_headers", |
| 1753 | srcs: [ |
| 1754 | "protos/perfetto/config/gpu/gpu_counter_config.proto", |
Mohammad Reza Zakerinasab | d9a209c | 2019-11-28 14:12:55 -0500 | [diff] [blame] | 1755 | "protos/perfetto/config/gpu/vulkan_memory_config.proto", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1756 | ], |
| 1757 | tools: [ |
| 1758 | "aprotoc", |
| 1759 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 1760 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1761 | out: [ |
| 1762 | "external/perfetto/protos/perfetto/config/gpu/gpu_counter_config.pb.h", |
Mohammad Reza Zakerinasab | d9a209c | 2019-11-28 14:12:55 -0500 | [diff] [blame] | 1763 | "external/perfetto/protos/perfetto/config/gpu/vulkan_memory_config.pb.h", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1764 | ], |
| 1765 | export_include_dirs: [ |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 1766 | ".", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1767 | "protos", |
| 1768 | ], |
| 1769 | } |
| 1770 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 1771 | // GN: //protos/perfetto/config/gpu:zero |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1772 | genrule { |
| 1773 | name: "perfetto_protos_perfetto_config_gpu_zero_gen", |
| 1774 | srcs: [ |
| 1775 | "protos/perfetto/config/gpu/gpu_counter_config.proto", |
Mohammad Reza Zakerinasab | d9a209c | 2019-11-28 14:12:55 -0500 | [diff] [blame] | 1776 | "protos/perfetto/config/gpu/vulkan_memory_config.proto", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1777 | ], |
| 1778 | tools: [ |
| 1779 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 1780 | "protozero_plugin", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1781 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 1782 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1783 | out: [ |
| 1784 | "external/perfetto/protos/perfetto/config/gpu/gpu_counter_config.pbzero.cc", |
Mohammad Reza Zakerinasab | d9a209c | 2019-11-28 14:12:55 -0500 | [diff] [blame] | 1785 | "external/perfetto/protos/perfetto/config/gpu/vulkan_memory_config.pbzero.cc", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1786 | ], |
| 1787 | } |
| 1788 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 1789 | // GN: //protos/perfetto/config/gpu:zero |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1790 | genrule { |
| 1791 | name: "perfetto_protos_perfetto_config_gpu_zero_gen_headers", |
| 1792 | srcs: [ |
| 1793 | "protos/perfetto/config/gpu/gpu_counter_config.proto", |
Mohammad Reza Zakerinasab | d9a209c | 2019-11-28 14:12:55 -0500 | [diff] [blame] | 1794 | "protos/perfetto/config/gpu/vulkan_memory_config.proto", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1795 | ], |
| 1796 | tools: [ |
| 1797 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 1798 | "protozero_plugin", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1799 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 1800 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1801 | out: [ |
| 1802 | "external/perfetto/protos/perfetto/config/gpu/gpu_counter_config.pbzero.h", |
Mohammad Reza Zakerinasab | d9a209c | 2019-11-28 14:12:55 -0500 | [diff] [blame] | 1803 | "external/perfetto/protos/perfetto/config/gpu/vulkan_memory_config.pbzero.h", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1804 | ], |
| 1805 | export_include_dirs: [ |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 1806 | ".", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1807 | "protos", |
| 1808 | ], |
| 1809 | } |
| 1810 | |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1811 | // GN: //protos/perfetto/config/inode_file:cpp |
| 1812 | genrule { |
| 1813 | name: "perfetto_protos_perfetto_config_inode_file_cpp_gen", |
| 1814 | srcs: [ |
| 1815 | "protos/perfetto/config/inode_file/inode_file_config.proto", |
| 1816 | ], |
| 1817 | tools: [ |
| 1818 | "aprotoc", |
| 1819 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 1820 | ], |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 1821 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1822 | out: [ |
| 1823 | "external/perfetto/protos/perfetto/config/inode_file/inode_file_config.gen.cc", |
| 1824 | ], |
| 1825 | } |
| 1826 | |
| 1827 | // GN: //protos/perfetto/config/inode_file:cpp |
| 1828 | genrule { |
| 1829 | name: "perfetto_protos_perfetto_config_inode_file_cpp_gen_headers", |
| 1830 | srcs: [ |
| 1831 | "protos/perfetto/config/inode_file/inode_file_config.proto", |
| 1832 | ], |
| 1833 | tools: [ |
| 1834 | "aprotoc", |
| 1835 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 1836 | ], |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 1837 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1838 | out: [ |
| 1839 | "external/perfetto/protos/perfetto/config/inode_file/inode_file_config.gen.h", |
| 1840 | ], |
| 1841 | export_include_dirs: [ |
| 1842 | ".", |
| 1843 | "protos", |
| 1844 | ], |
| 1845 | } |
| 1846 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 1847 | // GN: //protos/perfetto/config/inode_file:lite |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1848 | genrule { |
| 1849 | name: "perfetto_protos_perfetto_config_inode_file_lite_gen", |
| 1850 | srcs: [ |
| 1851 | "protos/perfetto/config/inode_file/inode_file_config.proto", |
| 1852 | ], |
| 1853 | tools: [ |
| 1854 | "aprotoc", |
| 1855 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 1856 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1857 | out: [ |
| 1858 | "external/perfetto/protos/perfetto/config/inode_file/inode_file_config.pb.cc", |
| 1859 | ], |
| 1860 | } |
| 1861 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 1862 | // GN: //protos/perfetto/config/inode_file:lite |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1863 | genrule { |
| 1864 | name: "perfetto_protos_perfetto_config_inode_file_lite_gen_headers", |
| 1865 | srcs: [ |
| 1866 | "protos/perfetto/config/inode_file/inode_file_config.proto", |
| 1867 | ], |
| 1868 | tools: [ |
| 1869 | "aprotoc", |
| 1870 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 1871 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1872 | out: [ |
| 1873 | "external/perfetto/protos/perfetto/config/inode_file/inode_file_config.pb.h", |
| 1874 | ], |
| 1875 | export_include_dirs: [ |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 1876 | ".", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1877 | "protos", |
| 1878 | ], |
| 1879 | } |
| 1880 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 1881 | // GN: //protos/perfetto/config/inode_file:zero |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1882 | genrule { |
| 1883 | name: "perfetto_protos_perfetto_config_inode_file_zero_gen", |
| 1884 | srcs: [ |
| 1885 | "protos/perfetto/config/inode_file/inode_file_config.proto", |
| 1886 | ], |
| 1887 | tools: [ |
| 1888 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 1889 | "protozero_plugin", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1890 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 1891 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1892 | out: [ |
| 1893 | "external/perfetto/protos/perfetto/config/inode_file/inode_file_config.pbzero.cc", |
| 1894 | ], |
| 1895 | } |
| 1896 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 1897 | // GN: //protos/perfetto/config/inode_file:zero |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1898 | genrule { |
| 1899 | name: "perfetto_protos_perfetto_config_inode_file_zero_gen_headers", |
| 1900 | srcs: [ |
| 1901 | "protos/perfetto/config/inode_file/inode_file_config.proto", |
| 1902 | ], |
| 1903 | tools: [ |
| 1904 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 1905 | "protozero_plugin", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1906 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 1907 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1908 | out: [ |
| 1909 | "external/perfetto/protos/perfetto/config/inode_file/inode_file_config.pbzero.h", |
| 1910 | ], |
| 1911 | export_include_dirs: [ |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 1912 | ".", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1913 | "protos", |
| 1914 | ], |
| 1915 | } |
| 1916 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 1917 | // GN: //protos/perfetto/config:lite |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1918 | genrule { |
| 1919 | name: "perfetto_protos_perfetto_config_lite_gen", |
| 1920 | srcs: [ |
| 1921 | "protos/perfetto/config/chrome/chrome_config.proto", |
| 1922 | "protos/perfetto/config/data_source_config.proto", |
| 1923 | "protos/perfetto/config/test_config.proto", |
| 1924 | "protos/perfetto/config/trace_config.proto", |
| 1925 | ], |
| 1926 | tools: [ |
| 1927 | "aprotoc", |
| 1928 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 1929 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 1930 | out: [ |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 1931 | "external/perfetto/protos/perfetto/config/chrome/chrome_config.pb.cc", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1932 | "external/perfetto/protos/perfetto/config/data_source_config.pb.cc", |
Lalit Maganti | 3f5705c | 2018-03-09 12:09:44 +0000 | [diff] [blame] | 1933 | "external/perfetto/protos/perfetto/config/test_config.pb.cc", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1934 | "external/perfetto/protos/perfetto/config/trace_config.pb.cc", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 1935 | ], |
| 1936 | } |
| 1937 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 1938 | // GN: //protos/perfetto/config:lite |
Primiano Tucci | d7b59c4 | 2017-12-19 01:43:07 +0100 | [diff] [blame] | 1939 | genrule { |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 1940 | name: "perfetto_protos_perfetto_config_lite_gen_headers", |
Primiano Tucci | d7b59c4 | 2017-12-19 01:43:07 +0100 | [diff] [blame] | 1941 | srcs: [ |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 1942 | "protos/perfetto/config/chrome/chrome_config.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1943 | "protos/perfetto/config/data_source_config.proto", |
Lalit Maganti | 3f5705c | 2018-03-09 12:09:44 +0000 | [diff] [blame] | 1944 | "protos/perfetto/config/test_config.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1945 | "protos/perfetto/config/trace_config.proto", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 1946 | ], |
| 1947 | tools: [ |
| 1948 | "aprotoc", |
| 1949 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 1950 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=$(genDir)/external/perfetto/ $(in)", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 1951 | out: [ |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 1952 | "external/perfetto/protos/perfetto/config/chrome/chrome_config.pb.h", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1953 | "external/perfetto/protos/perfetto/config/data_source_config.pb.h", |
Lalit Maganti | 3f5705c | 2018-03-09 12:09:44 +0000 | [diff] [blame] | 1954 | "external/perfetto/protos/perfetto/config/test_config.pb.h", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1955 | "external/perfetto/protos/perfetto/config/trace_config.pb.h", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 1956 | ], |
| 1957 | export_include_dirs: [ |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 1958 | ".", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 1959 | "protos", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 1960 | ], |
| 1961 | } |
| 1962 | |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1963 | // GN: //protos/perfetto/config/power:cpp |
| 1964 | genrule { |
| 1965 | name: "perfetto_protos_perfetto_config_power_cpp_gen", |
| 1966 | srcs: [ |
| 1967 | "protos/perfetto/config/power/android_power_config.proto", |
| 1968 | ], |
| 1969 | tools: [ |
| 1970 | "aprotoc", |
| 1971 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 1972 | ], |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 1973 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1974 | out: [ |
| 1975 | "external/perfetto/protos/perfetto/config/power/android_power_config.gen.cc", |
| 1976 | ], |
| 1977 | } |
| 1978 | |
| 1979 | // GN: //protos/perfetto/config/power:cpp |
| 1980 | genrule { |
| 1981 | name: "perfetto_protos_perfetto_config_power_cpp_gen_headers", |
| 1982 | srcs: [ |
| 1983 | "protos/perfetto/config/power/android_power_config.proto", |
| 1984 | ], |
| 1985 | tools: [ |
| 1986 | "aprotoc", |
| 1987 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 1988 | ], |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 1989 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 1990 | out: [ |
| 1991 | "external/perfetto/protos/perfetto/config/power/android_power_config.gen.h", |
| 1992 | ], |
| 1993 | export_include_dirs: [ |
| 1994 | ".", |
| 1995 | "protos", |
| 1996 | ], |
| 1997 | } |
| 1998 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 1999 | // GN: //protos/perfetto/config/power:lite |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 2000 | genrule { |
| 2001 | name: "perfetto_protos_perfetto_config_power_lite_gen", |
| 2002 | srcs: [ |
| 2003 | "protos/perfetto/config/power/android_power_config.proto", |
| 2004 | ], |
| 2005 | tools: [ |
| 2006 | "aprotoc", |
| 2007 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 2008 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 2009 | out: [ |
| 2010 | "external/perfetto/protos/perfetto/config/power/android_power_config.pb.cc", |
| 2011 | ], |
| 2012 | } |
| 2013 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 2014 | // GN: //protos/perfetto/config/power:lite |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 2015 | genrule { |
| 2016 | name: "perfetto_protos_perfetto_config_power_lite_gen_headers", |
| 2017 | srcs: [ |
| 2018 | "protos/perfetto/config/power/android_power_config.proto", |
| 2019 | ], |
| 2020 | tools: [ |
| 2021 | "aprotoc", |
| 2022 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 2023 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 2024 | out: [ |
| 2025 | "external/perfetto/protos/perfetto/config/power/android_power_config.pb.h", |
| 2026 | ], |
| 2027 | export_include_dirs: [ |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 2028 | ".", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 2029 | "protos", |
| 2030 | ], |
| 2031 | } |
| 2032 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 2033 | // GN: //protos/perfetto/config/power:zero |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 2034 | genrule { |
| 2035 | name: "perfetto_protos_perfetto_config_power_zero_gen", |
| 2036 | srcs: [ |
| 2037 | "protos/perfetto/config/power/android_power_config.proto", |
| 2038 | ], |
| 2039 | tools: [ |
| 2040 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 2041 | "protozero_plugin", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 2042 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 2043 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 2044 | out: [ |
| 2045 | "external/perfetto/protos/perfetto/config/power/android_power_config.pbzero.cc", |
| 2046 | ], |
| 2047 | } |
| 2048 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 2049 | // GN: //protos/perfetto/config/power:zero |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 2050 | genrule { |
| 2051 | name: "perfetto_protos_perfetto_config_power_zero_gen_headers", |
| 2052 | srcs: [ |
| 2053 | "protos/perfetto/config/power/android_power_config.proto", |
| 2054 | ], |
| 2055 | tools: [ |
| 2056 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 2057 | "protozero_plugin", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 2058 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 2059 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 2060 | out: [ |
| 2061 | "external/perfetto/protos/perfetto/config/power/android_power_config.pbzero.h", |
| 2062 | ], |
| 2063 | export_include_dirs: [ |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 2064 | ".", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 2065 | "protos", |
| 2066 | ], |
| 2067 | } |
| 2068 | |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2069 | // GN: //protos/perfetto/config/process_stats:cpp |
| 2070 | genrule { |
| 2071 | name: "perfetto_protos_perfetto_config_process_stats_cpp_gen", |
| 2072 | srcs: [ |
| 2073 | "protos/perfetto/config/process_stats/process_stats_config.proto", |
| 2074 | ], |
| 2075 | tools: [ |
| 2076 | "aprotoc", |
| 2077 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 2078 | ], |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 2079 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2080 | out: [ |
| 2081 | "external/perfetto/protos/perfetto/config/process_stats/process_stats_config.gen.cc", |
| 2082 | ], |
| 2083 | } |
| 2084 | |
| 2085 | // GN: //protos/perfetto/config/process_stats:cpp |
| 2086 | genrule { |
| 2087 | name: "perfetto_protos_perfetto_config_process_stats_cpp_gen_headers", |
| 2088 | srcs: [ |
| 2089 | "protos/perfetto/config/process_stats/process_stats_config.proto", |
| 2090 | ], |
| 2091 | tools: [ |
| 2092 | "aprotoc", |
| 2093 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 2094 | ], |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 2095 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2096 | out: [ |
| 2097 | "external/perfetto/protos/perfetto/config/process_stats/process_stats_config.gen.h", |
| 2098 | ], |
| 2099 | export_include_dirs: [ |
| 2100 | ".", |
| 2101 | "protos", |
| 2102 | ], |
| 2103 | } |
| 2104 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 2105 | // GN: //protos/perfetto/config/process_stats:lite |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 2106 | genrule { |
| 2107 | name: "perfetto_protos_perfetto_config_process_stats_lite_gen", |
| 2108 | srcs: [ |
| 2109 | "protos/perfetto/config/process_stats/process_stats_config.proto", |
| 2110 | ], |
| 2111 | tools: [ |
| 2112 | "aprotoc", |
| 2113 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 2114 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 2115 | out: [ |
| 2116 | "external/perfetto/protos/perfetto/config/process_stats/process_stats_config.pb.cc", |
| 2117 | ], |
| 2118 | } |
| 2119 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 2120 | // GN: //protos/perfetto/config/process_stats:lite |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 2121 | genrule { |
| 2122 | name: "perfetto_protos_perfetto_config_process_stats_lite_gen_headers", |
| 2123 | srcs: [ |
| 2124 | "protos/perfetto/config/process_stats/process_stats_config.proto", |
| 2125 | ], |
| 2126 | tools: [ |
| 2127 | "aprotoc", |
| 2128 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 2129 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 2130 | out: [ |
| 2131 | "external/perfetto/protos/perfetto/config/process_stats/process_stats_config.pb.h", |
| 2132 | ], |
| 2133 | export_include_dirs: [ |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 2134 | ".", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 2135 | "protos", |
| 2136 | ], |
| 2137 | } |
| 2138 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 2139 | // GN: //protos/perfetto/config/process_stats:zero |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 2140 | genrule { |
| 2141 | name: "perfetto_protos_perfetto_config_process_stats_zero_gen", |
| 2142 | srcs: [ |
| 2143 | "protos/perfetto/config/process_stats/process_stats_config.proto", |
| 2144 | ], |
| 2145 | tools: [ |
| 2146 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 2147 | "protozero_plugin", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 2148 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 2149 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 2150 | out: [ |
| 2151 | "external/perfetto/protos/perfetto/config/process_stats/process_stats_config.pbzero.cc", |
| 2152 | ], |
| 2153 | } |
| 2154 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 2155 | // GN: //protos/perfetto/config/process_stats:zero |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 2156 | genrule { |
| 2157 | name: "perfetto_protos_perfetto_config_process_stats_zero_gen_headers", |
| 2158 | srcs: [ |
| 2159 | "protos/perfetto/config/process_stats/process_stats_config.proto", |
| 2160 | ], |
| 2161 | tools: [ |
| 2162 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 2163 | "protozero_plugin", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 2164 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 2165 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 2166 | out: [ |
| 2167 | "external/perfetto/protos/perfetto/config/process_stats/process_stats_config.pbzero.h", |
| 2168 | ], |
| 2169 | export_include_dirs: [ |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 2170 | ".", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 2171 | "protos", |
| 2172 | ], |
| 2173 | } |
| 2174 | |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2175 | // GN: //protos/perfetto/config/profiling:cpp |
| 2176 | genrule { |
| 2177 | name: "perfetto_protos_perfetto_config_profiling_cpp_gen", |
| 2178 | srcs: [ |
| 2179 | "protos/perfetto/config/profiling/heapprofd_config.proto", |
| 2180 | "protos/perfetto/config/profiling/java_hprof_config.proto", |
Ryan Savitski | 09ff3b2 | 2019-11-20 15:20:16 +0000 | [diff] [blame] | 2181 | "protos/perfetto/config/profiling/perf_event_config.proto", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2182 | ], |
| 2183 | tools: [ |
| 2184 | "aprotoc", |
| 2185 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 2186 | ], |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 2187 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2188 | out: [ |
| 2189 | "external/perfetto/protos/perfetto/config/profiling/heapprofd_config.gen.cc", |
| 2190 | "external/perfetto/protos/perfetto/config/profiling/java_hprof_config.gen.cc", |
Ryan Savitski | 09ff3b2 | 2019-11-20 15:20:16 +0000 | [diff] [blame] | 2191 | "external/perfetto/protos/perfetto/config/profiling/perf_event_config.gen.cc", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2192 | ], |
| 2193 | } |
| 2194 | |
| 2195 | // GN: //protos/perfetto/config/profiling:cpp |
| 2196 | genrule { |
| 2197 | name: "perfetto_protos_perfetto_config_profiling_cpp_gen_headers", |
| 2198 | srcs: [ |
| 2199 | "protos/perfetto/config/profiling/heapprofd_config.proto", |
| 2200 | "protos/perfetto/config/profiling/java_hprof_config.proto", |
Ryan Savitski | 09ff3b2 | 2019-11-20 15:20:16 +0000 | [diff] [blame] | 2201 | "protos/perfetto/config/profiling/perf_event_config.proto", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2202 | ], |
| 2203 | tools: [ |
| 2204 | "aprotoc", |
| 2205 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 2206 | ], |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 2207 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2208 | out: [ |
| 2209 | "external/perfetto/protos/perfetto/config/profiling/heapprofd_config.gen.h", |
| 2210 | "external/perfetto/protos/perfetto/config/profiling/java_hprof_config.gen.h", |
Ryan Savitski | 09ff3b2 | 2019-11-20 15:20:16 +0000 | [diff] [blame] | 2211 | "external/perfetto/protos/perfetto/config/profiling/perf_event_config.gen.h", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2212 | ], |
| 2213 | export_include_dirs: [ |
| 2214 | ".", |
| 2215 | "protos", |
| 2216 | ], |
| 2217 | } |
| 2218 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 2219 | // GN: //protos/perfetto/config/profiling:lite |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 2220 | genrule { |
| 2221 | name: "perfetto_protos_perfetto_config_profiling_lite_gen", |
| 2222 | srcs: [ |
| 2223 | "protos/perfetto/config/profiling/heapprofd_config.proto", |
Florian Mayer | 98965ba | 2019-09-13 15:32:36 +0100 | [diff] [blame] | 2224 | "protos/perfetto/config/profiling/java_hprof_config.proto", |
Ryan Savitski | 09ff3b2 | 2019-11-20 15:20:16 +0000 | [diff] [blame] | 2225 | "protos/perfetto/config/profiling/perf_event_config.proto", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 2226 | ], |
| 2227 | tools: [ |
| 2228 | "aprotoc", |
| 2229 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 2230 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 2231 | out: [ |
| 2232 | "external/perfetto/protos/perfetto/config/profiling/heapprofd_config.pb.cc", |
Florian Mayer | 98965ba | 2019-09-13 15:32:36 +0100 | [diff] [blame] | 2233 | "external/perfetto/protos/perfetto/config/profiling/java_hprof_config.pb.cc", |
Ryan Savitski | 09ff3b2 | 2019-11-20 15:20:16 +0000 | [diff] [blame] | 2234 | "external/perfetto/protos/perfetto/config/profiling/perf_event_config.pb.cc", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 2235 | ], |
| 2236 | } |
| 2237 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 2238 | // GN: //protos/perfetto/config/profiling:lite |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 2239 | genrule { |
| 2240 | name: "perfetto_protos_perfetto_config_profiling_lite_gen_headers", |
| 2241 | srcs: [ |
| 2242 | "protos/perfetto/config/profiling/heapprofd_config.proto", |
Florian Mayer | 98965ba | 2019-09-13 15:32:36 +0100 | [diff] [blame] | 2243 | "protos/perfetto/config/profiling/java_hprof_config.proto", |
Ryan Savitski | 09ff3b2 | 2019-11-20 15:20:16 +0000 | [diff] [blame] | 2244 | "protos/perfetto/config/profiling/perf_event_config.proto", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 2245 | ], |
| 2246 | tools: [ |
| 2247 | "aprotoc", |
| 2248 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 2249 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 2250 | out: [ |
| 2251 | "external/perfetto/protos/perfetto/config/profiling/heapprofd_config.pb.h", |
Florian Mayer | 98965ba | 2019-09-13 15:32:36 +0100 | [diff] [blame] | 2252 | "external/perfetto/protos/perfetto/config/profiling/java_hprof_config.pb.h", |
Ryan Savitski | 09ff3b2 | 2019-11-20 15:20:16 +0000 | [diff] [blame] | 2253 | "external/perfetto/protos/perfetto/config/profiling/perf_event_config.pb.h", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 2254 | ], |
| 2255 | export_include_dirs: [ |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 2256 | ".", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 2257 | "protos", |
| 2258 | ], |
| 2259 | } |
| 2260 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 2261 | // GN: //protos/perfetto/config/profiling:zero |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 2262 | genrule { |
| 2263 | name: "perfetto_protos_perfetto_config_profiling_zero_gen", |
| 2264 | srcs: [ |
| 2265 | "protos/perfetto/config/profiling/heapprofd_config.proto", |
Florian Mayer | 98965ba | 2019-09-13 15:32:36 +0100 | [diff] [blame] | 2266 | "protos/perfetto/config/profiling/java_hprof_config.proto", |
Ryan Savitski | 09ff3b2 | 2019-11-20 15:20:16 +0000 | [diff] [blame] | 2267 | "protos/perfetto/config/profiling/perf_event_config.proto", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 2268 | ], |
| 2269 | tools: [ |
| 2270 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 2271 | "protozero_plugin", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 2272 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 2273 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 2274 | out: [ |
| 2275 | "external/perfetto/protos/perfetto/config/profiling/heapprofd_config.pbzero.cc", |
Florian Mayer | 98965ba | 2019-09-13 15:32:36 +0100 | [diff] [blame] | 2276 | "external/perfetto/protos/perfetto/config/profiling/java_hprof_config.pbzero.cc", |
Ryan Savitski | 09ff3b2 | 2019-11-20 15:20:16 +0000 | [diff] [blame] | 2277 | "external/perfetto/protos/perfetto/config/profiling/perf_event_config.pbzero.cc", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 2278 | ], |
| 2279 | } |
| 2280 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 2281 | // GN: //protos/perfetto/config/profiling:zero |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 2282 | genrule { |
| 2283 | name: "perfetto_protos_perfetto_config_profiling_zero_gen_headers", |
| 2284 | srcs: [ |
| 2285 | "protos/perfetto/config/profiling/heapprofd_config.proto", |
Florian Mayer | 98965ba | 2019-09-13 15:32:36 +0100 | [diff] [blame] | 2286 | "protos/perfetto/config/profiling/java_hprof_config.proto", |
Ryan Savitski | 09ff3b2 | 2019-11-20 15:20:16 +0000 | [diff] [blame] | 2287 | "protos/perfetto/config/profiling/perf_event_config.proto", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 2288 | ], |
| 2289 | tools: [ |
| 2290 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 2291 | "protozero_plugin", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 2292 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 2293 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 2294 | out: [ |
| 2295 | "external/perfetto/protos/perfetto/config/profiling/heapprofd_config.pbzero.h", |
Florian Mayer | 98965ba | 2019-09-13 15:32:36 +0100 | [diff] [blame] | 2296 | "external/perfetto/protos/perfetto/config/profiling/java_hprof_config.pbzero.h", |
Ryan Savitski | 09ff3b2 | 2019-11-20 15:20:16 +0000 | [diff] [blame] | 2297 | "external/perfetto/protos/perfetto/config/profiling/perf_event_config.pbzero.h", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 2298 | ], |
| 2299 | export_include_dirs: [ |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 2300 | ".", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 2301 | "protos", |
| 2302 | ], |
| 2303 | } |
| 2304 | |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2305 | // GN: //protos/perfetto/config/sys_stats:cpp |
| 2306 | genrule { |
| 2307 | name: "perfetto_protos_perfetto_config_sys_stats_cpp_gen", |
| 2308 | srcs: [ |
| 2309 | "protos/perfetto/config/sys_stats/sys_stats_config.proto", |
| 2310 | ], |
| 2311 | tools: [ |
| 2312 | "aprotoc", |
| 2313 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 2314 | ], |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 2315 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2316 | out: [ |
| 2317 | "external/perfetto/protos/perfetto/config/sys_stats/sys_stats_config.gen.cc", |
| 2318 | ], |
| 2319 | } |
| 2320 | |
| 2321 | // GN: //protos/perfetto/config/sys_stats:cpp |
| 2322 | genrule { |
| 2323 | name: "perfetto_protos_perfetto_config_sys_stats_cpp_gen_headers", |
| 2324 | srcs: [ |
| 2325 | "protos/perfetto/config/sys_stats/sys_stats_config.proto", |
| 2326 | ], |
| 2327 | tools: [ |
| 2328 | "aprotoc", |
| 2329 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 2330 | ], |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 2331 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 2332 | out: [ |
| 2333 | "external/perfetto/protos/perfetto/config/sys_stats/sys_stats_config.gen.h", |
| 2334 | ], |
| 2335 | export_include_dirs: [ |
| 2336 | ".", |
| 2337 | "protos", |
| 2338 | ], |
| 2339 | } |
| 2340 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 2341 | // GN: //protos/perfetto/config/sys_stats:lite |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 2342 | genrule { |
| 2343 | name: "perfetto_protos_perfetto_config_sys_stats_lite_gen", |
| 2344 | srcs: [ |
| 2345 | "protos/perfetto/config/sys_stats/sys_stats_config.proto", |
| 2346 | ], |
| 2347 | tools: [ |
| 2348 | "aprotoc", |
| 2349 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 2350 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 2351 | out: [ |
| 2352 | "external/perfetto/protos/perfetto/config/sys_stats/sys_stats_config.pb.cc", |
| 2353 | ], |
| 2354 | } |
| 2355 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 2356 | // GN: //protos/perfetto/config/sys_stats:lite |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 2357 | genrule { |
| 2358 | name: "perfetto_protos_perfetto_config_sys_stats_lite_gen_headers", |
| 2359 | srcs: [ |
| 2360 | "protos/perfetto/config/sys_stats/sys_stats_config.proto", |
| 2361 | ], |
| 2362 | tools: [ |
| 2363 | "aprotoc", |
| 2364 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 2365 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 2366 | out: [ |
| 2367 | "external/perfetto/protos/perfetto/config/sys_stats/sys_stats_config.pb.h", |
| 2368 | ], |
| 2369 | export_include_dirs: [ |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 2370 | ".", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 2371 | "protos", |
| 2372 | ], |
| 2373 | } |
| 2374 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 2375 | // GN: //protos/perfetto/config/sys_stats:zero |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 2376 | genrule { |
| 2377 | name: "perfetto_protos_perfetto_config_sys_stats_zero_gen", |
| 2378 | srcs: [ |
| 2379 | "protos/perfetto/config/sys_stats/sys_stats_config.proto", |
| 2380 | ], |
| 2381 | tools: [ |
| 2382 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 2383 | "protozero_plugin", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 2384 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 2385 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 2386 | out: [ |
| 2387 | "external/perfetto/protos/perfetto/config/sys_stats/sys_stats_config.pbzero.cc", |
| 2388 | ], |
| 2389 | } |
| 2390 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 2391 | // GN: //protos/perfetto/config/sys_stats:zero |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 2392 | genrule { |
| 2393 | name: "perfetto_protos_perfetto_config_sys_stats_zero_gen_headers", |
| 2394 | srcs: [ |
| 2395 | "protos/perfetto/config/sys_stats/sys_stats_config.proto", |
| 2396 | ], |
| 2397 | tools: [ |
| 2398 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 2399 | "protozero_plugin", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 2400 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 2401 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 2402 | out: [ |
| 2403 | "external/perfetto/protos/perfetto/config/sys_stats/sys_stats_config.pbzero.h", |
| 2404 | ], |
| 2405 | export_include_dirs: [ |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 2406 | ".", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 2407 | "protos", |
| 2408 | ], |
| 2409 | } |
| 2410 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 2411 | // GN: //protos/perfetto/config:zero |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 2412 | genrule { |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 2413 | name: "perfetto_protos_perfetto_config_zero_gen", |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 2414 | srcs: [ |
| 2415 | "protos/perfetto/config/chrome/chrome_config.proto", |
| 2416 | "protos/perfetto/config/data_source_config.proto", |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 2417 | "protos/perfetto/config/test_config.proto", |
| 2418 | "protos/perfetto/config/trace_config.proto", |
| 2419 | ], |
| 2420 | tools: [ |
| 2421 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 2422 | "protozero_plugin", |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 2423 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 2424 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 2425 | out: [ |
| 2426 | "external/perfetto/protos/perfetto/config/chrome/chrome_config.pbzero.cc", |
| 2427 | "external/perfetto/protos/perfetto/config/data_source_config.pbzero.cc", |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 2428 | "external/perfetto/protos/perfetto/config/test_config.pbzero.cc", |
| 2429 | "external/perfetto/protos/perfetto/config/trace_config.pbzero.cc", |
| 2430 | ], |
| 2431 | } |
| 2432 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 2433 | // GN: //protos/perfetto/config:zero |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 2434 | genrule { |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 2435 | name: "perfetto_protos_perfetto_config_zero_gen_headers", |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 2436 | srcs: [ |
| 2437 | "protos/perfetto/config/chrome/chrome_config.proto", |
| 2438 | "protos/perfetto/config/data_source_config.proto", |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 2439 | "protos/perfetto/config/test_config.proto", |
| 2440 | "protos/perfetto/config/trace_config.proto", |
| 2441 | ], |
| 2442 | tools: [ |
| 2443 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 2444 | "protozero_plugin", |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 2445 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 2446 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 2447 | out: [ |
| 2448 | "external/perfetto/protos/perfetto/config/chrome/chrome_config.pbzero.h", |
| 2449 | "external/perfetto/protos/perfetto/config/data_source_config.pbzero.h", |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 2450 | "external/perfetto/protos/perfetto/config/test_config.pbzero.h", |
| 2451 | "external/perfetto/protos/perfetto/config/trace_config.pbzero.h", |
| 2452 | ], |
| 2453 | export_include_dirs: [ |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 2454 | ".", |
Sami Kyostila | 200bd2e | 2018-03-26 12:24:10 +0100 | [diff] [blame] | 2455 | "protos", |
| 2456 | ], |
| 2457 | } |
| 2458 | |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 2459 | // GN: //protos/perfetto/ipc:cpp |
| 2460 | genrule { |
| 2461 | name: "perfetto_protos_perfetto_ipc_cpp_gen", |
| 2462 | srcs: [ |
| 2463 | "protos/perfetto/ipc/consumer_port.proto", |
| 2464 | "protos/perfetto/ipc/producer_port.proto", |
| 2465 | ], |
| 2466 | tools: [ |
| 2467 | "aprotoc", |
| 2468 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 2469 | ], |
| 2470 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
| 2471 | out: [ |
| 2472 | "external/perfetto/protos/perfetto/ipc/consumer_port.gen.cc", |
| 2473 | "external/perfetto/protos/perfetto/ipc/producer_port.gen.cc", |
| 2474 | ], |
| 2475 | } |
| 2476 | |
| 2477 | // GN: //protos/perfetto/ipc:cpp |
| 2478 | genrule { |
| 2479 | name: "perfetto_protos_perfetto_ipc_cpp_gen_headers", |
| 2480 | srcs: [ |
| 2481 | "protos/perfetto/ipc/consumer_port.proto", |
| 2482 | "protos/perfetto/ipc/producer_port.proto", |
| 2483 | ], |
| 2484 | tools: [ |
| 2485 | "aprotoc", |
| 2486 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 2487 | ], |
| 2488 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
| 2489 | out: [ |
| 2490 | "external/perfetto/protos/perfetto/ipc/consumer_port.gen.h", |
| 2491 | "external/perfetto/protos/perfetto/ipc/producer_port.gen.h", |
| 2492 | ], |
| 2493 | export_include_dirs: [ |
| 2494 | ".", |
| 2495 | "protos", |
| 2496 | ], |
| 2497 | } |
| 2498 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 2499 | // GN: //protos/perfetto/ipc:ipc |
Sami Kyostila | 71625d7 | 2017-12-18 10:29:49 +0000 | [diff] [blame] | 2500 | genrule { |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2501 | name: "perfetto_protos_perfetto_ipc_ipc_gen", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 2502 | srcs: [ |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2503 | "protos/perfetto/ipc/consumer_port.proto", |
| 2504 | "protos/perfetto/ipc/producer_port.proto", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2505 | ], |
| 2506 | tools: [ |
| 2507 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 2508 | "ipc_plugin", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2509 | ], |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 2510 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location ipc_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2511 | out: [ |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2512 | "external/perfetto/protos/perfetto/ipc/consumer_port.ipc.cc", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2513 | "external/perfetto/protos/perfetto/ipc/producer_port.ipc.cc", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2514 | ], |
| 2515 | } |
| 2516 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 2517 | // GN: //protos/perfetto/ipc:ipc |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2518 | genrule { |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2519 | name: "perfetto_protos_perfetto_ipc_ipc_gen_headers", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2520 | srcs: [ |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2521 | "protos/perfetto/ipc/consumer_port.proto", |
| 2522 | "protos/perfetto/ipc/producer_port.proto", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2523 | ], |
| 2524 | tools: [ |
| 2525 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 2526 | "ipc_plugin", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2527 | ], |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 2528 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location ipc_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 2529 | out: [ |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2530 | "external/perfetto/protos/perfetto/ipc/consumer_port.ipc.h", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 2531 | "external/perfetto/protos/perfetto/ipc/producer_port.ipc.h", |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 2532 | ], |
| 2533 | export_include_dirs: [ |
| 2534 | ".", |
| 2535 | "protos", |
| 2536 | ], |
| 2537 | } |
| 2538 | |
Primiano Tucci | b3e08d0 | 2019-11-19 11:10:11 +0000 | [diff] [blame] | 2539 | // GN: //protos/perfetto/ipc:wire_protocol_cpp |
Primiano Tucci | 879cafd | 2019-09-08 07:44:56 -0700 | [diff] [blame] | 2540 | genrule { |
Primiano Tucci | b3e08d0 | 2019-11-19 11:10:11 +0000 | [diff] [blame] | 2541 | name: "perfetto_protos_perfetto_ipc_wire_protocol_cpp_gen", |
Primiano Tucci | 879cafd | 2019-09-08 07:44:56 -0700 | [diff] [blame] | 2542 | srcs: [ |
| 2543 | "protos/perfetto/ipc/wire_protocol.proto", |
| 2544 | ], |
| 2545 | tools: [ |
| 2546 | "aprotoc", |
Primiano Tucci | b3e08d0 | 2019-11-19 11:10:11 +0000 | [diff] [blame] | 2547 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
Primiano Tucci | 879cafd | 2019-09-08 07:44:56 -0700 | [diff] [blame] | 2548 | ], |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 2549 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 879cafd | 2019-09-08 07:44:56 -0700 | [diff] [blame] | 2550 | out: [ |
Primiano Tucci | b3e08d0 | 2019-11-19 11:10:11 +0000 | [diff] [blame] | 2551 | "external/perfetto/protos/perfetto/ipc/wire_protocol.gen.cc", |
Primiano Tucci | 879cafd | 2019-09-08 07:44:56 -0700 | [diff] [blame] | 2552 | ], |
| 2553 | } |
| 2554 | |
Primiano Tucci | b3e08d0 | 2019-11-19 11:10:11 +0000 | [diff] [blame] | 2555 | // GN: //protos/perfetto/ipc:wire_protocol_cpp |
Primiano Tucci | 879cafd | 2019-09-08 07:44:56 -0700 | [diff] [blame] | 2556 | genrule { |
Primiano Tucci | b3e08d0 | 2019-11-19 11:10:11 +0000 | [diff] [blame] | 2557 | name: "perfetto_protos_perfetto_ipc_wire_protocol_cpp_gen_headers", |
Primiano Tucci | 879cafd | 2019-09-08 07:44:56 -0700 | [diff] [blame] | 2558 | srcs: [ |
| 2559 | "protos/perfetto/ipc/wire_protocol.proto", |
| 2560 | ], |
| 2561 | tools: [ |
| 2562 | "aprotoc", |
Primiano Tucci | b3e08d0 | 2019-11-19 11:10:11 +0000 | [diff] [blame] | 2563 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
Primiano Tucci | 879cafd | 2019-09-08 07:44:56 -0700 | [diff] [blame] | 2564 | ], |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 2565 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 879cafd | 2019-09-08 07:44:56 -0700 | [diff] [blame] | 2566 | out: [ |
Primiano Tucci | b3e08d0 | 2019-11-19 11:10:11 +0000 | [diff] [blame] | 2567 | "external/perfetto/protos/perfetto/ipc/wire_protocol.gen.h", |
| 2568 | ], |
| 2569 | export_include_dirs: [ |
| 2570 | ".", |
| 2571 | "protos", |
| 2572 | ], |
| 2573 | } |
| 2574 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 2575 | // GN: //protos/perfetto/metrics/android:zero |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 2576 | genrule { |
| 2577 | name: "perfetto_protos_perfetto_metrics_android_zero_gen", |
| 2578 | srcs: [ |
Silvia Vinyes | b39c77f | 2019-06-04 10:46:12 +0100 | [diff] [blame] | 2579 | "protos/perfetto/metrics/android/batt_metric.proto", |
Silvia Vinyes | 2e6a731 | 2019-06-04 11:15:59 +0100 | [diff] [blame] | 2580 | "protos/perfetto/metrics/android/cpu_metric.proto", |
Ioannis Ilkos | 73f2cd0 | 2019-10-08 22:49:02 +0100 | [diff] [blame] | 2581 | "protos/perfetto/metrics/android/heap_profile_callsites.proto", |
Ioannis Ilkos | db8b1cb | 2019-06-25 17:05:32 +0100 | [diff] [blame] | 2582 | "protos/perfetto/metrics/android/ion_metric.proto", |
Ioannis Ilkos | 2c832dc | 2019-11-08 11:35:03 +0000 | [diff] [blame] | 2583 | "protos/perfetto/metrics/android/java_heap_stats.proto", |
Ioannis Ilkos | 3e5b915 | 2019-06-17 19:09:58 +0100 | [diff] [blame] | 2584 | "protos/perfetto/metrics/android/lmk_metric.proto", |
Rafal Slawik | 88ffa44 | 2019-11-27 14:42:06 +0000 | [diff] [blame] | 2585 | "protos/perfetto/metrics/android/lmk_reason_metric.proto", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 2586 | "protos/perfetto/metrics/android/mem_metric.proto", |
Lalit Maganti | a316d6e | 2019-07-09 19:01:01 +0100 | [diff] [blame] | 2587 | "protos/perfetto/metrics/android/mem_unagg_metric.proto", |
Ioannis Ilkos | f1835e3 | 2019-07-11 14:11:48 +0100 | [diff] [blame] | 2588 | "protos/perfetto/metrics/android/package_list.proto", |
Ioannis Ilkos | 3e5b915 | 2019-06-17 19:09:58 +0100 | [diff] [blame] | 2589 | "protos/perfetto/metrics/android/powrails_metric.proto", |
Ioannis Ilkos | cfcd7f8 | 2019-11-19 14:43:24 +0000 | [diff] [blame] | 2590 | "protos/perfetto/metrics/android/process_metadata.proto", |
Ioannis Ilkos | 20d5e8b | 2019-05-16 15:43:26 +0100 | [diff] [blame] | 2591 | "protos/perfetto/metrics/android/startup_metric.proto", |
Ioannis Ilkos | ed80390 | 2019-09-24 11:58:56 +0100 | [diff] [blame] | 2592 | "protos/perfetto/metrics/android/unsymbolized_frames.proto", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 2593 | ], |
| 2594 | tools: [ |
| 2595 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 2596 | "protozero_plugin", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 2597 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 2598 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 2599 | out: [ |
Silvia Vinyes | b39c77f | 2019-06-04 10:46:12 +0100 | [diff] [blame] | 2600 | "external/perfetto/protos/perfetto/metrics/android/batt_metric.pbzero.cc", |
Silvia Vinyes | 2e6a731 | 2019-06-04 11:15:59 +0100 | [diff] [blame] | 2601 | "external/perfetto/protos/perfetto/metrics/android/cpu_metric.pbzero.cc", |
Ioannis Ilkos | 73f2cd0 | 2019-10-08 22:49:02 +0100 | [diff] [blame] | 2602 | "external/perfetto/protos/perfetto/metrics/android/heap_profile_callsites.pbzero.cc", |
Ioannis Ilkos | db8b1cb | 2019-06-25 17:05:32 +0100 | [diff] [blame] | 2603 | "external/perfetto/protos/perfetto/metrics/android/ion_metric.pbzero.cc", |
Ioannis Ilkos | 2c832dc | 2019-11-08 11:35:03 +0000 | [diff] [blame] | 2604 | "external/perfetto/protos/perfetto/metrics/android/java_heap_stats.pbzero.cc", |
Ioannis Ilkos | 3e5b915 | 2019-06-17 19:09:58 +0100 | [diff] [blame] | 2605 | "external/perfetto/protos/perfetto/metrics/android/lmk_metric.pbzero.cc", |
Rafal Slawik | 88ffa44 | 2019-11-27 14:42:06 +0000 | [diff] [blame] | 2606 | "external/perfetto/protos/perfetto/metrics/android/lmk_reason_metric.pbzero.cc", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 2607 | "external/perfetto/protos/perfetto/metrics/android/mem_metric.pbzero.cc", |
Lalit Maganti | a316d6e | 2019-07-09 19:01:01 +0100 | [diff] [blame] | 2608 | "external/perfetto/protos/perfetto/metrics/android/mem_unagg_metric.pbzero.cc", |
Ioannis Ilkos | f1835e3 | 2019-07-11 14:11:48 +0100 | [diff] [blame] | 2609 | "external/perfetto/protos/perfetto/metrics/android/package_list.pbzero.cc", |
Ioannis Ilkos | 3e5b915 | 2019-06-17 19:09:58 +0100 | [diff] [blame] | 2610 | "external/perfetto/protos/perfetto/metrics/android/powrails_metric.pbzero.cc", |
Ioannis Ilkos | cfcd7f8 | 2019-11-19 14:43:24 +0000 | [diff] [blame] | 2611 | "external/perfetto/protos/perfetto/metrics/android/process_metadata.pbzero.cc", |
Ioannis Ilkos | 20d5e8b | 2019-05-16 15:43:26 +0100 | [diff] [blame] | 2612 | "external/perfetto/protos/perfetto/metrics/android/startup_metric.pbzero.cc", |
Ioannis Ilkos | ed80390 | 2019-09-24 11:58:56 +0100 | [diff] [blame] | 2613 | "external/perfetto/protos/perfetto/metrics/android/unsymbolized_frames.pbzero.cc", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 2614 | ], |
| 2615 | } |
| 2616 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 2617 | // GN: //protos/perfetto/metrics/android:zero |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 2618 | genrule { |
| 2619 | name: "perfetto_protos_perfetto_metrics_android_zero_gen_headers", |
| 2620 | srcs: [ |
Silvia Vinyes | b39c77f | 2019-06-04 10:46:12 +0100 | [diff] [blame] | 2621 | "protos/perfetto/metrics/android/batt_metric.proto", |
Silvia Vinyes | 2e6a731 | 2019-06-04 11:15:59 +0100 | [diff] [blame] | 2622 | "protos/perfetto/metrics/android/cpu_metric.proto", |
Ioannis Ilkos | 73f2cd0 | 2019-10-08 22:49:02 +0100 | [diff] [blame] | 2623 | "protos/perfetto/metrics/android/heap_profile_callsites.proto", |
Ioannis Ilkos | db8b1cb | 2019-06-25 17:05:32 +0100 | [diff] [blame] | 2624 | "protos/perfetto/metrics/android/ion_metric.proto", |
Ioannis Ilkos | 2c832dc | 2019-11-08 11:35:03 +0000 | [diff] [blame] | 2625 | "protos/perfetto/metrics/android/java_heap_stats.proto", |
Ioannis Ilkos | 3e5b915 | 2019-06-17 19:09:58 +0100 | [diff] [blame] | 2626 | "protos/perfetto/metrics/android/lmk_metric.proto", |
Rafal Slawik | 88ffa44 | 2019-11-27 14:42:06 +0000 | [diff] [blame] | 2627 | "protos/perfetto/metrics/android/lmk_reason_metric.proto", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 2628 | "protos/perfetto/metrics/android/mem_metric.proto", |
Lalit Maganti | a316d6e | 2019-07-09 19:01:01 +0100 | [diff] [blame] | 2629 | "protos/perfetto/metrics/android/mem_unagg_metric.proto", |
Ioannis Ilkos | f1835e3 | 2019-07-11 14:11:48 +0100 | [diff] [blame] | 2630 | "protos/perfetto/metrics/android/package_list.proto", |
Ioannis Ilkos | 3e5b915 | 2019-06-17 19:09:58 +0100 | [diff] [blame] | 2631 | "protos/perfetto/metrics/android/powrails_metric.proto", |
Ioannis Ilkos | cfcd7f8 | 2019-11-19 14:43:24 +0000 | [diff] [blame] | 2632 | "protos/perfetto/metrics/android/process_metadata.proto", |
Ioannis Ilkos | 20d5e8b | 2019-05-16 15:43:26 +0100 | [diff] [blame] | 2633 | "protos/perfetto/metrics/android/startup_metric.proto", |
Ioannis Ilkos | ed80390 | 2019-09-24 11:58:56 +0100 | [diff] [blame] | 2634 | "protos/perfetto/metrics/android/unsymbolized_frames.proto", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 2635 | ], |
| 2636 | tools: [ |
| 2637 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 2638 | "protozero_plugin", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 2639 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 2640 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 2641 | out: [ |
Silvia Vinyes | b39c77f | 2019-06-04 10:46:12 +0100 | [diff] [blame] | 2642 | "external/perfetto/protos/perfetto/metrics/android/batt_metric.pbzero.h", |
Silvia Vinyes | 2e6a731 | 2019-06-04 11:15:59 +0100 | [diff] [blame] | 2643 | "external/perfetto/protos/perfetto/metrics/android/cpu_metric.pbzero.h", |
Ioannis Ilkos | 73f2cd0 | 2019-10-08 22:49:02 +0100 | [diff] [blame] | 2644 | "external/perfetto/protos/perfetto/metrics/android/heap_profile_callsites.pbzero.h", |
Ioannis Ilkos | db8b1cb | 2019-06-25 17:05:32 +0100 | [diff] [blame] | 2645 | "external/perfetto/protos/perfetto/metrics/android/ion_metric.pbzero.h", |
Ioannis Ilkos | 2c832dc | 2019-11-08 11:35:03 +0000 | [diff] [blame] | 2646 | "external/perfetto/protos/perfetto/metrics/android/java_heap_stats.pbzero.h", |
Ioannis Ilkos | 3e5b915 | 2019-06-17 19:09:58 +0100 | [diff] [blame] | 2647 | "external/perfetto/protos/perfetto/metrics/android/lmk_metric.pbzero.h", |
Rafal Slawik | 88ffa44 | 2019-11-27 14:42:06 +0000 | [diff] [blame] | 2648 | "external/perfetto/protos/perfetto/metrics/android/lmk_reason_metric.pbzero.h", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 2649 | "external/perfetto/protos/perfetto/metrics/android/mem_metric.pbzero.h", |
Lalit Maganti | a316d6e | 2019-07-09 19:01:01 +0100 | [diff] [blame] | 2650 | "external/perfetto/protos/perfetto/metrics/android/mem_unagg_metric.pbzero.h", |
Ioannis Ilkos | f1835e3 | 2019-07-11 14:11:48 +0100 | [diff] [blame] | 2651 | "external/perfetto/protos/perfetto/metrics/android/package_list.pbzero.h", |
Ioannis Ilkos | 3e5b915 | 2019-06-17 19:09:58 +0100 | [diff] [blame] | 2652 | "external/perfetto/protos/perfetto/metrics/android/powrails_metric.pbzero.h", |
Ioannis Ilkos | cfcd7f8 | 2019-11-19 14:43:24 +0000 | [diff] [blame] | 2653 | "external/perfetto/protos/perfetto/metrics/android/process_metadata.pbzero.h", |
Ioannis Ilkos | 20d5e8b | 2019-05-16 15:43:26 +0100 | [diff] [blame] | 2654 | "external/perfetto/protos/perfetto/metrics/android/startup_metric.pbzero.h", |
Ioannis Ilkos | ed80390 | 2019-09-24 11:58:56 +0100 | [diff] [blame] | 2655 | "external/perfetto/protos/perfetto/metrics/android/unsymbolized_frames.pbzero.h", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 2656 | ], |
| 2657 | export_include_dirs: [ |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 2658 | ".", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 2659 | "protos", |
| 2660 | ], |
| 2661 | } |
| 2662 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 2663 | // GN: //protos/perfetto/metrics:zero |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 2664 | genrule { |
| 2665 | name: "perfetto_protos_perfetto_metrics_zero_gen", |
| 2666 | srcs: [ |
| 2667 | "protos/perfetto/metrics/metrics.proto", |
| 2668 | ], |
| 2669 | tools: [ |
| 2670 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 2671 | "protozero_plugin", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 2672 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 2673 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 2674 | out: [ |
| 2675 | "external/perfetto/protos/perfetto/metrics/metrics.pbzero.cc", |
| 2676 | ], |
| 2677 | } |
| 2678 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 2679 | // GN: //protos/perfetto/metrics:zero |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 2680 | genrule { |
| 2681 | name: "perfetto_protos_perfetto_metrics_zero_gen_headers", |
| 2682 | srcs: [ |
| 2683 | "protos/perfetto/metrics/metrics.proto", |
| 2684 | ], |
| 2685 | tools: [ |
| 2686 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 2687 | "protozero_plugin", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 2688 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 2689 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 2690 | out: [ |
| 2691 | "external/perfetto/protos/perfetto/metrics/metrics.pbzero.h", |
| 2692 | ], |
| 2693 | export_include_dirs: [ |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 2694 | ".", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 2695 | "protos", |
| 2696 | ], |
| 2697 | } |
| 2698 | |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 2699 | // GN: //protos/perfetto/trace/android:cpp |
| 2700 | genrule { |
| 2701 | name: "perfetto_protos_perfetto_trace_android_cpp_gen", |
| 2702 | srcs: [ |
| 2703 | "protos/perfetto/trace/android/android_log.proto", |
| 2704 | "protos/perfetto/trace/android/graphics_frame_event.proto", |
| 2705 | "protos/perfetto/trace/android/packages_list.proto", |
| 2706 | ], |
| 2707 | tools: [ |
| 2708 | "aprotoc", |
| 2709 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 2710 | ], |
| 2711 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
| 2712 | out: [ |
| 2713 | "external/perfetto/protos/perfetto/trace/android/android_log.gen.cc", |
| 2714 | "external/perfetto/protos/perfetto/trace/android/graphics_frame_event.gen.cc", |
| 2715 | "external/perfetto/protos/perfetto/trace/android/packages_list.gen.cc", |
| 2716 | ], |
| 2717 | } |
| 2718 | |
| 2719 | // GN: //protos/perfetto/trace/android:cpp |
| 2720 | genrule { |
| 2721 | name: "perfetto_protos_perfetto_trace_android_cpp_gen_headers", |
| 2722 | srcs: [ |
| 2723 | "protos/perfetto/trace/android/android_log.proto", |
| 2724 | "protos/perfetto/trace/android/graphics_frame_event.proto", |
| 2725 | "protos/perfetto/trace/android/packages_list.proto", |
| 2726 | ], |
| 2727 | tools: [ |
| 2728 | "aprotoc", |
| 2729 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 2730 | ], |
| 2731 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
| 2732 | out: [ |
| 2733 | "external/perfetto/protos/perfetto/trace/android/android_log.gen.h", |
| 2734 | "external/perfetto/protos/perfetto/trace/android/graphics_frame_event.gen.h", |
| 2735 | "external/perfetto/protos/perfetto/trace/android/packages_list.gen.h", |
| 2736 | ], |
| 2737 | export_include_dirs: [ |
| 2738 | ".", |
| 2739 | "protos", |
| 2740 | ], |
| 2741 | } |
| 2742 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 2743 | // GN: //protos/perfetto/trace/android:lite |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 2744 | genrule { |
| 2745 | name: "perfetto_protos_perfetto_trace_android_lite_gen", |
| 2746 | srcs: [ |
| 2747 | "protos/perfetto/trace/android/android_log.proto", |
Mikael Pessa | 625a091 | 2019-07-24 15:28:16 -0700 | [diff] [blame] | 2748 | "protos/perfetto/trace/android/graphics_frame_event.proto", |
Florian Mayer | 12f0f8e | 2019-04-02 12:31:13 +0100 | [diff] [blame] | 2749 | "protos/perfetto/trace/android/packages_list.proto", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 2750 | ], |
| 2751 | tools: [ |
| 2752 | "aprotoc", |
| 2753 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 2754 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 2755 | out: [ |
| 2756 | "external/perfetto/protos/perfetto/trace/android/android_log.pb.cc", |
Mikael Pessa | 625a091 | 2019-07-24 15:28:16 -0700 | [diff] [blame] | 2757 | "external/perfetto/protos/perfetto/trace/android/graphics_frame_event.pb.cc", |
Florian Mayer | 12f0f8e | 2019-04-02 12:31:13 +0100 | [diff] [blame] | 2758 | "external/perfetto/protos/perfetto/trace/android/packages_list.pb.cc", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 2759 | ], |
| 2760 | } |
| 2761 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 2762 | // GN: //protos/perfetto/trace/android:lite |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 2763 | genrule { |
| 2764 | name: "perfetto_protos_perfetto_trace_android_lite_gen_headers", |
| 2765 | srcs: [ |
| 2766 | "protos/perfetto/trace/android/android_log.proto", |
Mikael Pessa | 625a091 | 2019-07-24 15:28:16 -0700 | [diff] [blame] | 2767 | "protos/perfetto/trace/android/graphics_frame_event.proto", |
Florian Mayer | 12f0f8e | 2019-04-02 12:31:13 +0100 | [diff] [blame] | 2768 | "protos/perfetto/trace/android/packages_list.proto", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 2769 | ], |
| 2770 | tools: [ |
| 2771 | "aprotoc", |
| 2772 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 2773 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 2774 | out: [ |
| 2775 | "external/perfetto/protos/perfetto/trace/android/android_log.pb.h", |
Mikael Pessa | 625a091 | 2019-07-24 15:28:16 -0700 | [diff] [blame] | 2776 | "external/perfetto/protos/perfetto/trace/android/graphics_frame_event.pb.h", |
Florian Mayer | 12f0f8e | 2019-04-02 12:31:13 +0100 | [diff] [blame] | 2777 | "external/perfetto/protos/perfetto/trace/android/packages_list.pb.h", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 2778 | ], |
| 2779 | export_include_dirs: [ |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 2780 | ".", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 2781 | "protos", |
| 2782 | ], |
| 2783 | } |
| 2784 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 2785 | // GN: //protos/perfetto/trace/android:zero |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 2786 | genrule { |
| 2787 | name: "perfetto_protos_perfetto_trace_android_zero_gen", |
| 2788 | srcs: [ |
| 2789 | "protos/perfetto/trace/android/android_log.proto", |
Mikael Pessa | 625a091 | 2019-07-24 15:28:16 -0700 | [diff] [blame] | 2790 | "protos/perfetto/trace/android/graphics_frame_event.proto", |
Florian Mayer | 12f0f8e | 2019-04-02 12:31:13 +0100 | [diff] [blame] | 2791 | "protos/perfetto/trace/android/packages_list.proto", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 2792 | ], |
| 2793 | tools: [ |
| 2794 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 2795 | "protozero_plugin", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 2796 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 2797 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 2798 | out: [ |
| 2799 | "external/perfetto/protos/perfetto/trace/android/android_log.pbzero.cc", |
Mikael Pessa | 625a091 | 2019-07-24 15:28:16 -0700 | [diff] [blame] | 2800 | "external/perfetto/protos/perfetto/trace/android/graphics_frame_event.pbzero.cc", |
Florian Mayer | 12f0f8e | 2019-04-02 12:31:13 +0100 | [diff] [blame] | 2801 | "external/perfetto/protos/perfetto/trace/android/packages_list.pbzero.cc", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 2802 | ], |
| 2803 | } |
| 2804 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 2805 | // GN: //protos/perfetto/trace/android:zero |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 2806 | genrule { |
| 2807 | name: "perfetto_protos_perfetto_trace_android_zero_gen_headers", |
| 2808 | srcs: [ |
| 2809 | "protos/perfetto/trace/android/android_log.proto", |
Mikael Pessa | 625a091 | 2019-07-24 15:28:16 -0700 | [diff] [blame] | 2810 | "protos/perfetto/trace/android/graphics_frame_event.proto", |
Florian Mayer | 12f0f8e | 2019-04-02 12:31:13 +0100 | [diff] [blame] | 2811 | "protos/perfetto/trace/android/packages_list.proto", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 2812 | ], |
| 2813 | tools: [ |
| 2814 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 2815 | "protozero_plugin", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 2816 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 2817 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 2818 | out: [ |
| 2819 | "external/perfetto/protos/perfetto/trace/android/android_log.pbzero.h", |
Mikael Pessa | 625a091 | 2019-07-24 15:28:16 -0700 | [diff] [blame] | 2820 | "external/perfetto/protos/perfetto/trace/android/graphics_frame_event.pbzero.h", |
Florian Mayer | 12f0f8e | 2019-04-02 12:31:13 +0100 | [diff] [blame] | 2821 | "external/perfetto/protos/perfetto/trace/android/packages_list.pbzero.h", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 2822 | ], |
| 2823 | export_include_dirs: [ |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 2824 | ".", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 2825 | "protos", |
| 2826 | ], |
| 2827 | } |
| 2828 | |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 2829 | // GN: //protos/perfetto/trace/chrome:cpp |
| 2830 | genrule { |
| 2831 | name: "perfetto_protos_perfetto_trace_chrome_cpp_gen", |
| 2832 | srcs: [ |
| 2833 | "protos/perfetto/trace/chrome/chrome_benchmark_metadata.proto", |
| 2834 | "protos/perfetto/trace/chrome/chrome_metadata.proto", |
| 2835 | "protos/perfetto/trace/chrome/chrome_trace_event.proto", |
| 2836 | ], |
| 2837 | tools: [ |
| 2838 | "aprotoc", |
| 2839 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 2840 | ], |
| 2841 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
| 2842 | out: [ |
| 2843 | "external/perfetto/protos/perfetto/trace/chrome/chrome_benchmark_metadata.gen.cc", |
| 2844 | "external/perfetto/protos/perfetto/trace/chrome/chrome_metadata.gen.cc", |
| 2845 | "external/perfetto/protos/perfetto/trace/chrome/chrome_trace_event.gen.cc", |
| 2846 | ], |
| 2847 | } |
| 2848 | |
| 2849 | // GN: //protos/perfetto/trace/chrome:cpp |
| 2850 | genrule { |
| 2851 | name: "perfetto_protos_perfetto_trace_chrome_cpp_gen_headers", |
| 2852 | srcs: [ |
| 2853 | "protos/perfetto/trace/chrome/chrome_benchmark_metadata.proto", |
| 2854 | "protos/perfetto/trace/chrome/chrome_metadata.proto", |
| 2855 | "protos/perfetto/trace/chrome/chrome_trace_event.proto", |
| 2856 | ], |
| 2857 | tools: [ |
| 2858 | "aprotoc", |
| 2859 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 2860 | ], |
| 2861 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
| 2862 | out: [ |
| 2863 | "external/perfetto/protos/perfetto/trace/chrome/chrome_benchmark_metadata.gen.h", |
| 2864 | "external/perfetto/protos/perfetto/trace/chrome/chrome_metadata.gen.h", |
| 2865 | "external/perfetto/protos/perfetto/trace/chrome/chrome_trace_event.gen.h", |
| 2866 | ], |
| 2867 | export_include_dirs: [ |
| 2868 | ".", |
| 2869 | "protos", |
| 2870 | ], |
| 2871 | } |
| 2872 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 2873 | // GN: //protos/perfetto/trace/chrome:lite |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 2874 | genrule { |
| 2875 | name: "perfetto_protos_perfetto_trace_chrome_lite_gen", |
| 2876 | srcs: [ |
Mikhail Khokhlov | 5b60af5 | 2019-05-15 10:09:34 +0100 | [diff] [blame] | 2877 | "protos/perfetto/trace/chrome/chrome_benchmark_metadata.proto", |
Siddhartha S | 1239fb3 | 2019-06-06 11:17:13 -0700 | [diff] [blame] | 2878 | "protos/perfetto/trace/chrome/chrome_metadata.proto", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 2879 | "protos/perfetto/trace/chrome/chrome_trace_event.proto", |
| 2880 | ], |
| 2881 | tools: [ |
| 2882 | "aprotoc", |
| 2883 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 2884 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=$(genDir)/external/perfetto/ $(in)", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 2885 | out: [ |
Mikhail Khokhlov | 5b60af5 | 2019-05-15 10:09:34 +0100 | [diff] [blame] | 2886 | "external/perfetto/protos/perfetto/trace/chrome/chrome_benchmark_metadata.pb.cc", |
Siddhartha S | 1239fb3 | 2019-06-06 11:17:13 -0700 | [diff] [blame] | 2887 | "external/perfetto/protos/perfetto/trace/chrome/chrome_metadata.pb.cc", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 2888 | "external/perfetto/protos/perfetto/trace/chrome/chrome_trace_event.pb.cc", |
| 2889 | ], |
| 2890 | } |
| 2891 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 2892 | // GN: //protos/perfetto/trace/chrome:lite |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 2893 | genrule { |
| 2894 | name: "perfetto_protos_perfetto_trace_chrome_lite_gen_headers", |
| 2895 | srcs: [ |
Mikhail Khokhlov | 5b60af5 | 2019-05-15 10:09:34 +0100 | [diff] [blame] | 2896 | "protos/perfetto/trace/chrome/chrome_benchmark_metadata.proto", |
Siddhartha S | 1239fb3 | 2019-06-06 11:17:13 -0700 | [diff] [blame] | 2897 | "protos/perfetto/trace/chrome/chrome_metadata.proto", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 2898 | "protos/perfetto/trace/chrome/chrome_trace_event.proto", |
| 2899 | ], |
| 2900 | tools: [ |
| 2901 | "aprotoc", |
| 2902 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 2903 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=$(genDir)/external/perfetto/ $(in)", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 2904 | out: [ |
Mikhail Khokhlov | 5b60af5 | 2019-05-15 10:09:34 +0100 | [diff] [blame] | 2905 | "external/perfetto/protos/perfetto/trace/chrome/chrome_benchmark_metadata.pb.h", |
Siddhartha S | 1239fb3 | 2019-06-06 11:17:13 -0700 | [diff] [blame] | 2906 | "external/perfetto/protos/perfetto/trace/chrome/chrome_metadata.pb.h", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 2907 | "external/perfetto/protos/perfetto/trace/chrome/chrome_trace_event.pb.h", |
| 2908 | ], |
| 2909 | export_include_dirs: [ |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 2910 | ".", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 2911 | "protos", |
| 2912 | ], |
| 2913 | } |
| 2914 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 2915 | // GN: //protos/perfetto/trace/chrome:zero |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 2916 | genrule { |
| 2917 | name: "perfetto_protos_perfetto_trace_chrome_zero_gen", |
| 2918 | srcs: [ |
Mikhail Khokhlov | 5b60af5 | 2019-05-15 10:09:34 +0100 | [diff] [blame] | 2919 | "protos/perfetto/trace/chrome/chrome_benchmark_metadata.proto", |
Siddhartha S | 1239fb3 | 2019-06-06 11:17:13 -0700 | [diff] [blame] | 2920 | "protos/perfetto/trace/chrome/chrome_metadata.proto", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 2921 | "protos/perfetto/trace/chrome/chrome_trace_event.proto", |
| 2922 | ], |
| 2923 | tools: [ |
| 2924 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 2925 | "protozero_plugin", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 2926 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 2927 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 2928 | out: [ |
Mikhail Khokhlov | 5b60af5 | 2019-05-15 10:09:34 +0100 | [diff] [blame] | 2929 | "external/perfetto/protos/perfetto/trace/chrome/chrome_benchmark_metadata.pbzero.cc", |
Siddhartha S | 1239fb3 | 2019-06-06 11:17:13 -0700 | [diff] [blame] | 2930 | "external/perfetto/protos/perfetto/trace/chrome/chrome_metadata.pbzero.cc", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 2931 | "external/perfetto/protos/perfetto/trace/chrome/chrome_trace_event.pbzero.cc", |
| 2932 | ], |
| 2933 | } |
| 2934 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 2935 | // GN: //protos/perfetto/trace/chrome:zero |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 2936 | genrule { |
| 2937 | name: "perfetto_protos_perfetto_trace_chrome_zero_gen_headers", |
| 2938 | srcs: [ |
Mikhail Khokhlov | 5b60af5 | 2019-05-15 10:09:34 +0100 | [diff] [blame] | 2939 | "protos/perfetto/trace/chrome/chrome_benchmark_metadata.proto", |
Siddhartha S | 1239fb3 | 2019-06-06 11:17:13 -0700 | [diff] [blame] | 2940 | "protos/perfetto/trace/chrome/chrome_metadata.proto", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 2941 | "protos/perfetto/trace/chrome/chrome_trace_event.proto", |
| 2942 | ], |
| 2943 | tools: [ |
| 2944 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 2945 | "protozero_plugin", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 2946 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 2947 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 2948 | out: [ |
Mikhail Khokhlov | 5b60af5 | 2019-05-15 10:09:34 +0100 | [diff] [blame] | 2949 | "external/perfetto/protos/perfetto/trace/chrome/chrome_benchmark_metadata.pbzero.h", |
Siddhartha S | 1239fb3 | 2019-06-06 11:17:13 -0700 | [diff] [blame] | 2950 | "external/perfetto/protos/perfetto/trace/chrome/chrome_metadata.pbzero.h", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 2951 | "external/perfetto/protos/perfetto/trace/chrome/chrome_trace_event.pbzero.h", |
| 2952 | ], |
| 2953 | export_include_dirs: [ |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 2954 | ".", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 2955 | "protos", |
| 2956 | ], |
| 2957 | } |
| 2958 | |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 2959 | // GN: //protos/perfetto/trace/filesystem:cpp |
| 2960 | genrule { |
| 2961 | name: "perfetto_protos_perfetto_trace_filesystem_cpp_gen", |
| 2962 | srcs: [ |
| 2963 | "protos/perfetto/trace/filesystem/inode_file_map.proto", |
| 2964 | ], |
| 2965 | tools: [ |
| 2966 | "aprotoc", |
| 2967 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 2968 | ], |
| 2969 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
| 2970 | out: [ |
| 2971 | "external/perfetto/protos/perfetto/trace/filesystem/inode_file_map.gen.cc", |
| 2972 | ], |
| 2973 | } |
| 2974 | |
| 2975 | // GN: //protos/perfetto/trace/filesystem:cpp |
| 2976 | genrule { |
| 2977 | name: "perfetto_protos_perfetto_trace_filesystem_cpp_gen_headers", |
| 2978 | srcs: [ |
| 2979 | "protos/perfetto/trace/filesystem/inode_file_map.proto", |
| 2980 | ], |
| 2981 | tools: [ |
| 2982 | "aprotoc", |
| 2983 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 2984 | ], |
| 2985 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
| 2986 | out: [ |
| 2987 | "external/perfetto/protos/perfetto/trace/filesystem/inode_file_map.gen.h", |
| 2988 | ], |
| 2989 | export_include_dirs: [ |
| 2990 | ".", |
| 2991 | "protos", |
| 2992 | ], |
| 2993 | } |
| 2994 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 2995 | // GN: //protos/perfetto/trace/filesystem:lite |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 2996 | genrule { |
| 2997 | name: "perfetto_protos_perfetto_trace_filesystem_lite_gen", |
| 2998 | srcs: [ |
| 2999 | "protos/perfetto/trace/filesystem/inode_file_map.proto", |
| 3000 | ], |
| 3001 | tools: [ |
| 3002 | "aprotoc", |
| 3003 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 3004 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=$(genDir)/external/perfetto/ $(in)", |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 3005 | out: [ |
| 3006 | "external/perfetto/protos/perfetto/trace/filesystem/inode_file_map.pb.cc", |
| 3007 | ], |
| 3008 | } |
| 3009 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 3010 | // GN: //protos/perfetto/trace/filesystem:lite |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 3011 | genrule { |
| 3012 | name: "perfetto_protos_perfetto_trace_filesystem_lite_gen_headers", |
| 3013 | srcs: [ |
| 3014 | "protos/perfetto/trace/filesystem/inode_file_map.proto", |
| 3015 | ], |
| 3016 | tools: [ |
| 3017 | "aprotoc", |
| 3018 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 3019 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=$(genDir)/external/perfetto/ $(in)", |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 3020 | out: [ |
| 3021 | "external/perfetto/protos/perfetto/trace/filesystem/inode_file_map.pb.h", |
| 3022 | ], |
| 3023 | export_include_dirs: [ |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 3024 | ".", |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 3025 | "protos", |
| 3026 | ], |
| 3027 | } |
| 3028 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 3029 | // GN: //protos/perfetto/trace/filesystem:zero |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 3030 | genrule { |
| 3031 | name: "perfetto_protos_perfetto_trace_filesystem_zero_gen", |
| 3032 | srcs: [ |
| 3033 | "protos/perfetto/trace/filesystem/inode_file_map.proto", |
| 3034 | ], |
| 3035 | tools: [ |
| 3036 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 3037 | "protozero_plugin", |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 3038 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 3039 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 3040 | out: [ |
| 3041 | "external/perfetto/protos/perfetto/trace/filesystem/inode_file_map.pbzero.cc", |
| 3042 | ], |
| 3043 | } |
| 3044 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 3045 | // GN: //protos/perfetto/trace/filesystem:zero |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 3046 | genrule { |
| 3047 | name: "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers", |
| 3048 | srcs: [ |
| 3049 | "protos/perfetto/trace/filesystem/inode_file_map.proto", |
| 3050 | ], |
| 3051 | tools: [ |
| 3052 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 3053 | "protozero_plugin", |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 3054 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 3055 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 3056 | out: [ |
| 3057 | "external/perfetto/protos/perfetto/trace/filesystem/inode_file_map.pbzero.h", |
| 3058 | ], |
| 3059 | export_include_dirs: [ |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 3060 | ".", |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 3061 | "protos", |
| 3062 | ], |
| 3063 | } |
| 3064 | |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 3065 | // GN: //protos/perfetto/trace/ftrace:cpp |
| 3066 | genrule { |
| 3067 | name: "perfetto_protos_perfetto_trace_ftrace_cpp_gen", |
| 3068 | srcs: [ |
| 3069 | "protos/perfetto/trace/ftrace/binder.proto", |
| 3070 | "protos/perfetto/trace/ftrace/block.proto", |
| 3071 | "protos/perfetto/trace/ftrace/cgroup.proto", |
| 3072 | "protos/perfetto/trace/ftrace/clk.proto", |
| 3073 | "protos/perfetto/trace/ftrace/compaction.proto", |
| 3074 | "protos/perfetto/trace/ftrace/ext4.proto", |
| 3075 | "protos/perfetto/trace/ftrace/f2fs.proto", |
| 3076 | "protos/perfetto/trace/ftrace/fence.proto", |
| 3077 | "protos/perfetto/trace/ftrace/filemap.proto", |
| 3078 | "protos/perfetto/trace/ftrace/ftrace.proto", |
| 3079 | "protos/perfetto/trace/ftrace/ftrace_event.proto", |
| 3080 | "protos/perfetto/trace/ftrace/ftrace_event_bundle.proto", |
| 3081 | "protos/perfetto/trace/ftrace/ftrace_stats.proto", |
| 3082 | "protos/perfetto/trace/ftrace/generic.proto", |
| 3083 | "protos/perfetto/trace/ftrace/i2c.proto", |
| 3084 | "protos/perfetto/trace/ftrace/ipi.proto", |
| 3085 | "protos/perfetto/trace/ftrace/irq.proto", |
| 3086 | "protos/perfetto/trace/ftrace/kmem.proto", |
| 3087 | "protos/perfetto/trace/ftrace/lowmemorykiller.proto", |
| 3088 | "protos/perfetto/trace/ftrace/mdss.proto", |
| 3089 | "protos/perfetto/trace/ftrace/mm_event.proto", |
| 3090 | "protos/perfetto/trace/ftrace/oom.proto", |
| 3091 | "protos/perfetto/trace/ftrace/power.proto", |
| 3092 | "protos/perfetto/trace/ftrace/raw_syscalls.proto", |
| 3093 | "protos/perfetto/trace/ftrace/regulator.proto", |
| 3094 | "protos/perfetto/trace/ftrace/sched.proto", |
| 3095 | "protos/perfetto/trace/ftrace/sde.proto", |
| 3096 | "protos/perfetto/trace/ftrace/signal.proto", |
| 3097 | "protos/perfetto/trace/ftrace/sync.proto", |
| 3098 | "protos/perfetto/trace/ftrace/systrace.proto", |
| 3099 | "protos/perfetto/trace/ftrace/task.proto", |
| 3100 | "protos/perfetto/trace/ftrace/test_bundle_wrapper.proto", |
| 3101 | "protos/perfetto/trace/ftrace/vmscan.proto", |
| 3102 | "protos/perfetto/trace/ftrace/workqueue.proto", |
| 3103 | ], |
| 3104 | tools: [ |
| 3105 | "aprotoc", |
| 3106 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 3107 | ], |
| 3108 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
| 3109 | out: [ |
| 3110 | "external/perfetto/protos/perfetto/trace/ftrace/binder.gen.cc", |
| 3111 | "external/perfetto/protos/perfetto/trace/ftrace/block.gen.cc", |
| 3112 | "external/perfetto/protos/perfetto/trace/ftrace/cgroup.gen.cc", |
| 3113 | "external/perfetto/protos/perfetto/trace/ftrace/clk.gen.cc", |
| 3114 | "external/perfetto/protos/perfetto/trace/ftrace/compaction.gen.cc", |
| 3115 | "external/perfetto/protos/perfetto/trace/ftrace/ext4.gen.cc", |
| 3116 | "external/perfetto/protos/perfetto/trace/ftrace/f2fs.gen.cc", |
| 3117 | "external/perfetto/protos/perfetto/trace/ftrace/fence.gen.cc", |
| 3118 | "external/perfetto/protos/perfetto/trace/ftrace/filemap.gen.cc", |
| 3119 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace.gen.cc", |
| 3120 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace_event.gen.cc", |
| 3121 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace_event_bundle.gen.cc", |
| 3122 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace_stats.gen.cc", |
| 3123 | "external/perfetto/protos/perfetto/trace/ftrace/generic.gen.cc", |
| 3124 | "external/perfetto/protos/perfetto/trace/ftrace/i2c.gen.cc", |
| 3125 | "external/perfetto/protos/perfetto/trace/ftrace/ipi.gen.cc", |
| 3126 | "external/perfetto/protos/perfetto/trace/ftrace/irq.gen.cc", |
| 3127 | "external/perfetto/protos/perfetto/trace/ftrace/kmem.gen.cc", |
| 3128 | "external/perfetto/protos/perfetto/trace/ftrace/lowmemorykiller.gen.cc", |
| 3129 | "external/perfetto/protos/perfetto/trace/ftrace/mdss.gen.cc", |
| 3130 | "external/perfetto/protos/perfetto/trace/ftrace/mm_event.gen.cc", |
| 3131 | "external/perfetto/protos/perfetto/trace/ftrace/oom.gen.cc", |
| 3132 | "external/perfetto/protos/perfetto/trace/ftrace/power.gen.cc", |
| 3133 | "external/perfetto/protos/perfetto/trace/ftrace/raw_syscalls.gen.cc", |
| 3134 | "external/perfetto/protos/perfetto/trace/ftrace/regulator.gen.cc", |
| 3135 | "external/perfetto/protos/perfetto/trace/ftrace/sched.gen.cc", |
| 3136 | "external/perfetto/protos/perfetto/trace/ftrace/sde.gen.cc", |
| 3137 | "external/perfetto/protos/perfetto/trace/ftrace/signal.gen.cc", |
| 3138 | "external/perfetto/protos/perfetto/trace/ftrace/sync.gen.cc", |
| 3139 | "external/perfetto/protos/perfetto/trace/ftrace/systrace.gen.cc", |
| 3140 | "external/perfetto/protos/perfetto/trace/ftrace/task.gen.cc", |
| 3141 | "external/perfetto/protos/perfetto/trace/ftrace/test_bundle_wrapper.gen.cc", |
| 3142 | "external/perfetto/protos/perfetto/trace/ftrace/vmscan.gen.cc", |
| 3143 | "external/perfetto/protos/perfetto/trace/ftrace/workqueue.gen.cc", |
| 3144 | ], |
| 3145 | } |
| 3146 | |
| 3147 | // GN: //protos/perfetto/trace/ftrace:cpp |
| 3148 | genrule { |
| 3149 | name: "perfetto_protos_perfetto_trace_ftrace_cpp_gen_headers", |
| 3150 | srcs: [ |
| 3151 | "protos/perfetto/trace/ftrace/binder.proto", |
| 3152 | "protos/perfetto/trace/ftrace/block.proto", |
| 3153 | "protos/perfetto/trace/ftrace/cgroup.proto", |
| 3154 | "protos/perfetto/trace/ftrace/clk.proto", |
| 3155 | "protos/perfetto/trace/ftrace/compaction.proto", |
| 3156 | "protos/perfetto/trace/ftrace/ext4.proto", |
| 3157 | "protos/perfetto/trace/ftrace/f2fs.proto", |
| 3158 | "protos/perfetto/trace/ftrace/fence.proto", |
| 3159 | "protos/perfetto/trace/ftrace/filemap.proto", |
| 3160 | "protos/perfetto/trace/ftrace/ftrace.proto", |
| 3161 | "protos/perfetto/trace/ftrace/ftrace_event.proto", |
| 3162 | "protos/perfetto/trace/ftrace/ftrace_event_bundle.proto", |
| 3163 | "protos/perfetto/trace/ftrace/ftrace_stats.proto", |
| 3164 | "protos/perfetto/trace/ftrace/generic.proto", |
| 3165 | "protos/perfetto/trace/ftrace/i2c.proto", |
| 3166 | "protos/perfetto/trace/ftrace/ipi.proto", |
| 3167 | "protos/perfetto/trace/ftrace/irq.proto", |
| 3168 | "protos/perfetto/trace/ftrace/kmem.proto", |
| 3169 | "protos/perfetto/trace/ftrace/lowmemorykiller.proto", |
| 3170 | "protos/perfetto/trace/ftrace/mdss.proto", |
| 3171 | "protos/perfetto/trace/ftrace/mm_event.proto", |
| 3172 | "protos/perfetto/trace/ftrace/oom.proto", |
| 3173 | "protos/perfetto/trace/ftrace/power.proto", |
| 3174 | "protos/perfetto/trace/ftrace/raw_syscalls.proto", |
| 3175 | "protos/perfetto/trace/ftrace/regulator.proto", |
| 3176 | "protos/perfetto/trace/ftrace/sched.proto", |
| 3177 | "protos/perfetto/trace/ftrace/sde.proto", |
| 3178 | "protos/perfetto/trace/ftrace/signal.proto", |
| 3179 | "protos/perfetto/trace/ftrace/sync.proto", |
| 3180 | "protos/perfetto/trace/ftrace/systrace.proto", |
| 3181 | "protos/perfetto/trace/ftrace/task.proto", |
| 3182 | "protos/perfetto/trace/ftrace/test_bundle_wrapper.proto", |
| 3183 | "protos/perfetto/trace/ftrace/vmscan.proto", |
| 3184 | "protos/perfetto/trace/ftrace/workqueue.proto", |
| 3185 | ], |
| 3186 | tools: [ |
| 3187 | "aprotoc", |
| 3188 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 3189 | ], |
| 3190 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
| 3191 | out: [ |
| 3192 | "external/perfetto/protos/perfetto/trace/ftrace/binder.gen.h", |
| 3193 | "external/perfetto/protos/perfetto/trace/ftrace/block.gen.h", |
| 3194 | "external/perfetto/protos/perfetto/trace/ftrace/cgroup.gen.h", |
| 3195 | "external/perfetto/protos/perfetto/trace/ftrace/clk.gen.h", |
| 3196 | "external/perfetto/protos/perfetto/trace/ftrace/compaction.gen.h", |
| 3197 | "external/perfetto/protos/perfetto/trace/ftrace/ext4.gen.h", |
| 3198 | "external/perfetto/protos/perfetto/trace/ftrace/f2fs.gen.h", |
| 3199 | "external/perfetto/protos/perfetto/trace/ftrace/fence.gen.h", |
| 3200 | "external/perfetto/protos/perfetto/trace/ftrace/filemap.gen.h", |
| 3201 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace.gen.h", |
| 3202 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace_event.gen.h", |
| 3203 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace_event_bundle.gen.h", |
| 3204 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace_stats.gen.h", |
| 3205 | "external/perfetto/protos/perfetto/trace/ftrace/generic.gen.h", |
| 3206 | "external/perfetto/protos/perfetto/trace/ftrace/i2c.gen.h", |
| 3207 | "external/perfetto/protos/perfetto/trace/ftrace/ipi.gen.h", |
| 3208 | "external/perfetto/protos/perfetto/trace/ftrace/irq.gen.h", |
| 3209 | "external/perfetto/protos/perfetto/trace/ftrace/kmem.gen.h", |
| 3210 | "external/perfetto/protos/perfetto/trace/ftrace/lowmemorykiller.gen.h", |
| 3211 | "external/perfetto/protos/perfetto/trace/ftrace/mdss.gen.h", |
| 3212 | "external/perfetto/protos/perfetto/trace/ftrace/mm_event.gen.h", |
| 3213 | "external/perfetto/protos/perfetto/trace/ftrace/oom.gen.h", |
| 3214 | "external/perfetto/protos/perfetto/trace/ftrace/power.gen.h", |
| 3215 | "external/perfetto/protos/perfetto/trace/ftrace/raw_syscalls.gen.h", |
| 3216 | "external/perfetto/protos/perfetto/trace/ftrace/regulator.gen.h", |
| 3217 | "external/perfetto/protos/perfetto/trace/ftrace/sched.gen.h", |
| 3218 | "external/perfetto/protos/perfetto/trace/ftrace/sde.gen.h", |
| 3219 | "external/perfetto/protos/perfetto/trace/ftrace/signal.gen.h", |
| 3220 | "external/perfetto/protos/perfetto/trace/ftrace/sync.gen.h", |
| 3221 | "external/perfetto/protos/perfetto/trace/ftrace/systrace.gen.h", |
| 3222 | "external/perfetto/protos/perfetto/trace/ftrace/task.gen.h", |
| 3223 | "external/perfetto/protos/perfetto/trace/ftrace/test_bundle_wrapper.gen.h", |
| 3224 | "external/perfetto/protos/perfetto/trace/ftrace/vmscan.gen.h", |
| 3225 | "external/perfetto/protos/perfetto/trace/ftrace/workqueue.gen.h", |
| 3226 | ], |
| 3227 | export_include_dirs: [ |
| 3228 | ".", |
| 3229 | "protos", |
| 3230 | ], |
| 3231 | } |
| 3232 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 3233 | // GN: //protos/perfetto/trace/ftrace:lite |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 3234 | genrule { |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3235 | name: "perfetto_protos_perfetto_trace_ftrace_lite_gen", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 3236 | srcs: [ |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 3237 | "protos/perfetto/trace/ftrace/binder.proto", |
| 3238 | "protos/perfetto/trace/ftrace/block.proto", |
| 3239 | "protos/perfetto/trace/ftrace/cgroup.proto", |
| 3240 | "protos/perfetto/trace/ftrace/clk.proto", |
| 3241 | "protos/perfetto/trace/ftrace/compaction.proto", |
| 3242 | "protos/perfetto/trace/ftrace/ext4.proto", |
| 3243 | "protos/perfetto/trace/ftrace/f2fs.proto", |
| 3244 | "protos/perfetto/trace/ftrace/fence.proto", |
| 3245 | "protos/perfetto/trace/ftrace/filemap.proto", |
| 3246 | "protos/perfetto/trace/ftrace/ftrace.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3247 | "protos/perfetto/trace/ftrace/ftrace_event.proto", |
| 3248 | "protos/perfetto/trace/ftrace/ftrace_event_bundle.proto", |
Hector Dearman | 3afb1e0 | 2018-04-27 16:46:52 +0100 | [diff] [blame] | 3249 | "protos/perfetto/trace/ftrace/ftrace_stats.proto", |
Isabelle Taylor | 98e560d | 2018-11-22 11:59:12 +0000 | [diff] [blame] | 3250 | "protos/perfetto/trace/ftrace/generic.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 3251 | "protos/perfetto/trace/ftrace/i2c.proto", |
| 3252 | "protos/perfetto/trace/ftrace/ipi.proto", |
| 3253 | "protos/perfetto/trace/ftrace/irq.proto", |
| 3254 | "protos/perfetto/trace/ftrace/kmem.proto", |
| 3255 | "protos/perfetto/trace/ftrace/lowmemorykiller.proto", |
| 3256 | "protos/perfetto/trace/ftrace/mdss.proto", |
Lalit Maganti | 3bd67ef | 2019-01-18 17:44:09 +0000 | [diff] [blame] | 3257 | "protos/perfetto/trace/ftrace/mm_event.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 3258 | "protos/perfetto/trace/ftrace/oom.proto", |
| 3259 | "protos/perfetto/trace/ftrace/power.proto", |
Lalit Maganti | a73a725 | 2019-01-25 10:32:40 +0000 | [diff] [blame] | 3260 | "protos/perfetto/trace/ftrace/raw_syscalls.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 3261 | "protos/perfetto/trace/ftrace/regulator.proto", |
| 3262 | "protos/perfetto/trace/ftrace/sched.proto", |
Hector Dearman | 3cd7cd5 | 2019-12-04 16:07:16 +0000 | [diff] [blame] | 3263 | "protos/perfetto/trace/ftrace/sde.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 3264 | "protos/perfetto/trace/ftrace/signal.proto", |
| 3265 | "protos/perfetto/trace/ftrace/sync.proto", |
Hector Dearman | bfc2411 | 2019-06-04 19:35:51 +0100 | [diff] [blame] | 3266 | "protos/perfetto/trace/ftrace/systrace.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 3267 | "protos/perfetto/trace/ftrace/task.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3268 | "protos/perfetto/trace/ftrace/test_bundle_wrapper.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 3269 | "protos/perfetto/trace/ftrace/vmscan.proto", |
| 3270 | "protos/perfetto/trace/ftrace/workqueue.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3271 | ], |
| 3272 | tools: [ |
| 3273 | "aprotoc", |
| 3274 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 3275 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3276 | out: [ |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 3277 | "external/perfetto/protos/perfetto/trace/ftrace/binder.pb.cc", |
| 3278 | "external/perfetto/protos/perfetto/trace/ftrace/block.pb.cc", |
| 3279 | "external/perfetto/protos/perfetto/trace/ftrace/cgroup.pb.cc", |
| 3280 | "external/perfetto/protos/perfetto/trace/ftrace/clk.pb.cc", |
| 3281 | "external/perfetto/protos/perfetto/trace/ftrace/compaction.pb.cc", |
| 3282 | "external/perfetto/protos/perfetto/trace/ftrace/ext4.pb.cc", |
| 3283 | "external/perfetto/protos/perfetto/trace/ftrace/f2fs.pb.cc", |
| 3284 | "external/perfetto/protos/perfetto/trace/ftrace/fence.pb.cc", |
| 3285 | "external/perfetto/protos/perfetto/trace/ftrace/filemap.pb.cc", |
| 3286 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace.pb.cc", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3287 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace_event.pb.cc", |
| 3288 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace_event_bundle.pb.cc", |
Hector Dearman | 3afb1e0 | 2018-04-27 16:46:52 +0100 | [diff] [blame] | 3289 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace_stats.pb.cc", |
Isabelle Taylor | 98e560d | 2018-11-22 11:59:12 +0000 | [diff] [blame] | 3290 | "external/perfetto/protos/perfetto/trace/ftrace/generic.pb.cc", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 3291 | "external/perfetto/protos/perfetto/trace/ftrace/i2c.pb.cc", |
| 3292 | "external/perfetto/protos/perfetto/trace/ftrace/ipi.pb.cc", |
| 3293 | "external/perfetto/protos/perfetto/trace/ftrace/irq.pb.cc", |
| 3294 | "external/perfetto/protos/perfetto/trace/ftrace/kmem.pb.cc", |
| 3295 | "external/perfetto/protos/perfetto/trace/ftrace/lowmemorykiller.pb.cc", |
| 3296 | "external/perfetto/protos/perfetto/trace/ftrace/mdss.pb.cc", |
Lalit Maganti | 3bd67ef | 2019-01-18 17:44:09 +0000 | [diff] [blame] | 3297 | "external/perfetto/protos/perfetto/trace/ftrace/mm_event.pb.cc", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 3298 | "external/perfetto/protos/perfetto/trace/ftrace/oom.pb.cc", |
| 3299 | "external/perfetto/protos/perfetto/trace/ftrace/power.pb.cc", |
Lalit Maganti | a73a725 | 2019-01-25 10:32:40 +0000 | [diff] [blame] | 3300 | "external/perfetto/protos/perfetto/trace/ftrace/raw_syscalls.pb.cc", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 3301 | "external/perfetto/protos/perfetto/trace/ftrace/regulator.pb.cc", |
| 3302 | "external/perfetto/protos/perfetto/trace/ftrace/sched.pb.cc", |
Hector Dearman | 3cd7cd5 | 2019-12-04 16:07:16 +0000 | [diff] [blame] | 3303 | "external/perfetto/protos/perfetto/trace/ftrace/sde.pb.cc", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 3304 | "external/perfetto/protos/perfetto/trace/ftrace/signal.pb.cc", |
| 3305 | "external/perfetto/protos/perfetto/trace/ftrace/sync.pb.cc", |
Hector Dearman | bfc2411 | 2019-06-04 19:35:51 +0100 | [diff] [blame] | 3306 | "external/perfetto/protos/perfetto/trace/ftrace/systrace.pb.cc", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 3307 | "external/perfetto/protos/perfetto/trace/ftrace/task.pb.cc", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3308 | "external/perfetto/protos/perfetto/trace/ftrace/test_bundle_wrapper.pb.cc", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 3309 | "external/perfetto/protos/perfetto/trace/ftrace/vmscan.pb.cc", |
| 3310 | "external/perfetto/protos/perfetto/trace/ftrace/workqueue.pb.cc", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3311 | ], |
| 3312 | } |
| 3313 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 3314 | // GN: //protos/perfetto/trace/ftrace:lite |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3315 | genrule { |
| 3316 | name: "perfetto_protos_perfetto_trace_ftrace_lite_gen_headers", |
| 3317 | srcs: [ |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 3318 | "protos/perfetto/trace/ftrace/binder.proto", |
| 3319 | "protos/perfetto/trace/ftrace/block.proto", |
| 3320 | "protos/perfetto/trace/ftrace/cgroup.proto", |
| 3321 | "protos/perfetto/trace/ftrace/clk.proto", |
| 3322 | "protos/perfetto/trace/ftrace/compaction.proto", |
| 3323 | "protos/perfetto/trace/ftrace/ext4.proto", |
| 3324 | "protos/perfetto/trace/ftrace/f2fs.proto", |
| 3325 | "protos/perfetto/trace/ftrace/fence.proto", |
| 3326 | "protos/perfetto/trace/ftrace/filemap.proto", |
| 3327 | "protos/perfetto/trace/ftrace/ftrace.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3328 | "protos/perfetto/trace/ftrace/ftrace_event.proto", |
| 3329 | "protos/perfetto/trace/ftrace/ftrace_event_bundle.proto", |
Hector Dearman | 3afb1e0 | 2018-04-27 16:46:52 +0100 | [diff] [blame] | 3330 | "protos/perfetto/trace/ftrace/ftrace_stats.proto", |
Isabelle Taylor | 98e560d | 2018-11-22 11:59:12 +0000 | [diff] [blame] | 3331 | "protos/perfetto/trace/ftrace/generic.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 3332 | "protos/perfetto/trace/ftrace/i2c.proto", |
| 3333 | "protos/perfetto/trace/ftrace/ipi.proto", |
| 3334 | "protos/perfetto/trace/ftrace/irq.proto", |
| 3335 | "protos/perfetto/trace/ftrace/kmem.proto", |
| 3336 | "protos/perfetto/trace/ftrace/lowmemorykiller.proto", |
| 3337 | "protos/perfetto/trace/ftrace/mdss.proto", |
Lalit Maganti | 3bd67ef | 2019-01-18 17:44:09 +0000 | [diff] [blame] | 3338 | "protos/perfetto/trace/ftrace/mm_event.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 3339 | "protos/perfetto/trace/ftrace/oom.proto", |
| 3340 | "protos/perfetto/trace/ftrace/power.proto", |
Lalit Maganti | a73a725 | 2019-01-25 10:32:40 +0000 | [diff] [blame] | 3341 | "protos/perfetto/trace/ftrace/raw_syscalls.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 3342 | "protos/perfetto/trace/ftrace/regulator.proto", |
| 3343 | "protos/perfetto/trace/ftrace/sched.proto", |
Hector Dearman | 3cd7cd5 | 2019-12-04 16:07:16 +0000 | [diff] [blame] | 3344 | "protos/perfetto/trace/ftrace/sde.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 3345 | "protos/perfetto/trace/ftrace/signal.proto", |
| 3346 | "protos/perfetto/trace/ftrace/sync.proto", |
Hector Dearman | bfc2411 | 2019-06-04 19:35:51 +0100 | [diff] [blame] | 3347 | "protos/perfetto/trace/ftrace/systrace.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 3348 | "protos/perfetto/trace/ftrace/task.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3349 | "protos/perfetto/trace/ftrace/test_bundle_wrapper.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 3350 | "protos/perfetto/trace/ftrace/vmscan.proto", |
| 3351 | "protos/perfetto/trace/ftrace/workqueue.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3352 | ], |
| 3353 | tools: [ |
| 3354 | "aprotoc", |
| 3355 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 3356 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3357 | out: [ |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 3358 | "external/perfetto/protos/perfetto/trace/ftrace/binder.pb.h", |
| 3359 | "external/perfetto/protos/perfetto/trace/ftrace/block.pb.h", |
| 3360 | "external/perfetto/protos/perfetto/trace/ftrace/cgroup.pb.h", |
| 3361 | "external/perfetto/protos/perfetto/trace/ftrace/clk.pb.h", |
| 3362 | "external/perfetto/protos/perfetto/trace/ftrace/compaction.pb.h", |
| 3363 | "external/perfetto/protos/perfetto/trace/ftrace/ext4.pb.h", |
| 3364 | "external/perfetto/protos/perfetto/trace/ftrace/f2fs.pb.h", |
| 3365 | "external/perfetto/protos/perfetto/trace/ftrace/fence.pb.h", |
| 3366 | "external/perfetto/protos/perfetto/trace/ftrace/filemap.pb.h", |
| 3367 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace.pb.h", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3368 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace_event.pb.h", |
| 3369 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace_event_bundle.pb.h", |
Hector Dearman | 3afb1e0 | 2018-04-27 16:46:52 +0100 | [diff] [blame] | 3370 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace_stats.pb.h", |
Isabelle Taylor | 98e560d | 2018-11-22 11:59:12 +0000 | [diff] [blame] | 3371 | "external/perfetto/protos/perfetto/trace/ftrace/generic.pb.h", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 3372 | "external/perfetto/protos/perfetto/trace/ftrace/i2c.pb.h", |
| 3373 | "external/perfetto/protos/perfetto/trace/ftrace/ipi.pb.h", |
| 3374 | "external/perfetto/protos/perfetto/trace/ftrace/irq.pb.h", |
| 3375 | "external/perfetto/protos/perfetto/trace/ftrace/kmem.pb.h", |
| 3376 | "external/perfetto/protos/perfetto/trace/ftrace/lowmemorykiller.pb.h", |
| 3377 | "external/perfetto/protos/perfetto/trace/ftrace/mdss.pb.h", |
Lalit Maganti | 3bd67ef | 2019-01-18 17:44:09 +0000 | [diff] [blame] | 3378 | "external/perfetto/protos/perfetto/trace/ftrace/mm_event.pb.h", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 3379 | "external/perfetto/protos/perfetto/trace/ftrace/oom.pb.h", |
| 3380 | "external/perfetto/protos/perfetto/trace/ftrace/power.pb.h", |
Lalit Maganti | a73a725 | 2019-01-25 10:32:40 +0000 | [diff] [blame] | 3381 | "external/perfetto/protos/perfetto/trace/ftrace/raw_syscalls.pb.h", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 3382 | "external/perfetto/protos/perfetto/trace/ftrace/regulator.pb.h", |
| 3383 | "external/perfetto/protos/perfetto/trace/ftrace/sched.pb.h", |
Hector Dearman | 3cd7cd5 | 2019-12-04 16:07:16 +0000 | [diff] [blame] | 3384 | "external/perfetto/protos/perfetto/trace/ftrace/sde.pb.h", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 3385 | "external/perfetto/protos/perfetto/trace/ftrace/signal.pb.h", |
| 3386 | "external/perfetto/protos/perfetto/trace/ftrace/sync.pb.h", |
Hector Dearman | bfc2411 | 2019-06-04 19:35:51 +0100 | [diff] [blame] | 3387 | "external/perfetto/protos/perfetto/trace/ftrace/systrace.pb.h", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 3388 | "external/perfetto/protos/perfetto/trace/ftrace/task.pb.h", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3389 | "external/perfetto/protos/perfetto/trace/ftrace/test_bundle_wrapper.pb.h", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 3390 | "external/perfetto/protos/perfetto/trace/ftrace/vmscan.pb.h", |
| 3391 | "external/perfetto/protos/perfetto/trace/ftrace/workqueue.pb.h", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3392 | ], |
| 3393 | export_include_dirs: [ |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 3394 | ".", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3395 | "protos", |
| 3396 | ], |
| 3397 | } |
| 3398 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 3399 | // GN: //protos/perfetto/trace/ftrace:zero |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3400 | genrule { |
| 3401 | name: "perfetto_protos_perfetto_trace_ftrace_zero_gen", |
| 3402 | srcs: [ |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 3403 | "protos/perfetto/trace/ftrace/binder.proto", |
| 3404 | "protos/perfetto/trace/ftrace/block.proto", |
| 3405 | "protos/perfetto/trace/ftrace/cgroup.proto", |
| 3406 | "protos/perfetto/trace/ftrace/clk.proto", |
| 3407 | "protos/perfetto/trace/ftrace/compaction.proto", |
| 3408 | "protos/perfetto/trace/ftrace/ext4.proto", |
| 3409 | "protos/perfetto/trace/ftrace/f2fs.proto", |
| 3410 | "protos/perfetto/trace/ftrace/fence.proto", |
| 3411 | "protos/perfetto/trace/ftrace/filemap.proto", |
| 3412 | "protos/perfetto/trace/ftrace/ftrace.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3413 | "protos/perfetto/trace/ftrace/ftrace_event.proto", |
| 3414 | "protos/perfetto/trace/ftrace/ftrace_event_bundle.proto", |
Hector Dearman | 3afb1e0 | 2018-04-27 16:46:52 +0100 | [diff] [blame] | 3415 | "protos/perfetto/trace/ftrace/ftrace_stats.proto", |
Isabelle Taylor | 98e560d | 2018-11-22 11:59:12 +0000 | [diff] [blame] | 3416 | "protos/perfetto/trace/ftrace/generic.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 3417 | "protos/perfetto/trace/ftrace/i2c.proto", |
| 3418 | "protos/perfetto/trace/ftrace/ipi.proto", |
| 3419 | "protos/perfetto/trace/ftrace/irq.proto", |
| 3420 | "protos/perfetto/trace/ftrace/kmem.proto", |
| 3421 | "protos/perfetto/trace/ftrace/lowmemorykiller.proto", |
| 3422 | "protos/perfetto/trace/ftrace/mdss.proto", |
Lalit Maganti | 3bd67ef | 2019-01-18 17:44:09 +0000 | [diff] [blame] | 3423 | "protos/perfetto/trace/ftrace/mm_event.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 3424 | "protos/perfetto/trace/ftrace/oom.proto", |
| 3425 | "protos/perfetto/trace/ftrace/power.proto", |
Lalit Maganti | a73a725 | 2019-01-25 10:32:40 +0000 | [diff] [blame] | 3426 | "protos/perfetto/trace/ftrace/raw_syscalls.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 3427 | "protos/perfetto/trace/ftrace/regulator.proto", |
| 3428 | "protos/perfetto/trace/ftrace/sched.proto", |
Hector Dearman | 3cd7cd5 | 2019-12-04 16:07:16 +0000 | [diff] [blame] | 3429 | "protos/perfetto/trace/ftrace/sde.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 3430 | "protos/perfetto/trace/ftrace/signal.proto", |
| 3431 | "protos/perfetto/trace/ftrace/sync.proto", |
Hector Dearman | bfc2411 | 2019-06-04 19:35:51 +0100 | [diff] [blame] | 3432 | "protos/perfetto/trace/ftrace/systrace.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 3433 | "protos/perfetto/trace/ftrace/task.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3434 | "protos/perfetto/trace/ftrace/test_bundle_wrapper.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 3435 | "protos/perfetto/trace/ftrace/vmscan.proto", |
| 3436 | "protos/perfetto/trace/ftrace/workqueue.proto", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 3437 | ], |
| 3438 | tools: [ |
| 3439 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 3440 | "protozero_plugin", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 3441 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 3442 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 3443 | out: [ |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 3444 | "external/perfetto/protos/perfetto/trace/ftrace/binder.pbzero.cc", |
| 3445 | "external/perfetto/protos/perfetto/trace/ftrace/block.pbzero.cc", |
| 3446 | "external/perfetto/protos/perfetto/trace/ftrace/cgroup.pbzero.cc", |
| 3447 | "external/perfetto/protos/perfetto/trace/ftrace/clk.pbzero.cc", |
| 3448 | "external/perfetto/protos/perfetto/trace/ftrace/compaction.pbzero.cc", |
| 3449 | "external/perfetto/protos/perfetto/trace/ftrace/ext4.pbzero.cc", |
| 3450 | "external/perfetto/protos/perfetto/trace/ftrace/f2fs.pbzero.cc", |
| 3451 | "external/perfetto/protos/perfetto/trace/ftrace/fence.pbzero.cc", |
| 3452 | "external/perfetto/protos/perfetto/trace/ftrace/filemap.pbzero.cc", |
| 3453 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace.pbzero.cc", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3454 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace_event.pbzero.cc", |
| 3455 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace_event_bundle.pbzero.cc", |
Hector Dearman | 3afb1e0 | 2018-04-27 16:46:52 +0100 | [diff] [blame] | 3456 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace_stats.pbzero.cc", |
Isabelle Taylor | 98e560d | 2018-11-22 11:59:12 +0000 | [diff] [blame] | 3457 | "external/perfetto/protos/perfetto/trace/ftrace/generic.pbzero.cc", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 3458 | "external/perfetto/protos/perfetto/trace/ftrace/i2c.pbzero.cc", |
| 3459 | "external/perfetto/protos/perfetto/trace/ftrace/ipi.pbzero.cc", |
| 3460 | "external/perfetto/protos/perfetto/trace/ftrace/irq.pbzero.cc", |
| 3461 | "external/perfetto/protos/perfetto/trace/ftrace/kmem.pbzero.cc", |
| 3462 | "external/perfetto/protos/perfetto/trace/ftrace/lowmemorykiller.pbzero.cc", |
| 3463 | "external/perfetto/protos/perfetto/trace/ftrace/mdss.pbzero.cc", |
Lalit Maganti | 3bd67ef | 2019-01-18 17:44:09 +0000 | [diff] [blame] | 3464 | "external/perfetto/protos/perfetto/trace/ftrace/mm_event.pbzero.cc", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 3465 | "external/perfetto/protos/perfetto/trace/ftrace/oom.pbzero.cc", |
| 3466 | "external/perfetto/protos/perfetto/trace/ftrace/power.pbzero.cc", |
Lalit Maganti | a73a725 | 2019-01-25 10:32:40 +0000 | [diff] [blame] | 3467 | "external/perfetto/protos/perfetto/trace/ftrace/raw_syscalls.pbzero.cc", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 3468 | "external/perfetto/protos/perfetto/trace/ftrace/regulator.pbzero.cc", |
| 3469 | "external/perfetto/protos/perfetto/trace/ftrace/sched.pbzero.cc", |
Hector Dearman | 3cd7cd5 | 2019-12-04 16:07:16 +0000 | [diff] [blame] | 3470 | "external/perfetto/protos/perfetto/trace/ftrace/sde.pbzero.cc", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 3471 | "external/perfetto/protos/perfetto/trace/ftrace/signal.pbzero.cc", |
| 3472 | "external/perfetto/protos/perfetto/trace/ftrace/sync.pbzero.cc", |
Hector Dearman | bfc2411 | 2019-06-04 19:35:51 +0100 | [diff] [blame] | 3473 | "external/perfetto/protos/perfetto/trace/ftrace/systrace.pbzero.cc", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 3474 | "external/perfetto/protos/perfetto/trace/ftrace/task.pbzero.cc", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3475 | "external/perfetto/protos/perfetto/trace/ftrace/test_bundle_wrapper.pbzero.cc", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 3476 | "external/perfetto/protos/perfetto/trace/ftrace/vmscan.pbzero.cc", |
| 3477 | "external/perfetto/protos/perfetto/trace/ftrace/workqueue.pbzero.cc", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 3478 | ], |
| 3479 | } |
| 3480 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 3481 | // GN: //protos/perfetto/trace/ftrace:zero |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 3482 | genrule { |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3483 | name: "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 3484 | srcs: [ |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 3485 | "protos/perfetto/trace/ftrace/binder.proto", |
| 3486 | "protos/perfetto/trace/ftrace/block.proto", |
| 3487 | "protos/perfetto/trace/ftrace/cgroup.proto", |
| 3488 | "protos/perfetto/trace/ftrace/clk.proto", |
| 3489 | "protos/perfetto/trace/ftrace/compaction.proto", |
| 3490 | "protos/perfetto/trace/ftrace/ext4.proto", |
| 3491 | "protos/perfetto/trace/ftrace/f2fs.proto", |
| 3492 | "protos/perfetto/trace/ftrace/fence.proto", |
| 3493 | "protos/perfetto/trace/ftrace/filemap.proto", |
| 3494 | "protos/perfetto/trace/ftrace/ftrace.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3495 | "protos/perfetto/trace/ftrace/ftrace_event.proto", |
| 3496 | "protos/perfetto/trace/ftrace/ftrace_event_bundle.proto", |
Hector Dearman | 3afb1e0 | 2018-04-27 16:46:52 +0100 | [diff] [blame] | 3497 | "protos/perfetto/trace/ftrace/ftrace_stats.proto", |
Isabelle Taylor | 98e560d | 2018-11-22 11:59:12 +0000 | [diff] [blame] | 3498 | "protos/perfetto/trace/ftrace/generic.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 3499 | "protos/perfetto/trace/ftrace/i2c.proto", |
| 3500 | "protos/perfetto/trace/ftrace/ipi.proto", |
| 3501 | "protos/perfetto/trace/ftrace/irq.proto", |
| 3502 | "protos/perfetto/trace/ftrace/kmem.proto", |
| 3503 | "protos/perfetto/trace/ftrace/lowmemorykiller.proto", |
| 3504 | "protos/perfetto/trace/ftrace/mdss.proto", |
Lalit Maganti | 3bd67ef | 2019-01-18 17:44:09 +0000 | [diff] [blame] | 3505 | "protos/perfetto/trace/ftrace/mm_event.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 3506 | "protos/perfetto/trace/ftrace/oom.proto", |
| 3507 | "protos/perfetto/trace/ftrace/power.proto", |
Lalit Maganti | a73a725 | 2019-01-25 10:32:40 +0000 | [diff] [blame] | 3508 | "protos/perfetto/trace/ftrace/raw_syscalls.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 3509 | "protos/perfetto/trace/ftrace/regulator.proto", |
| 3510 | "protos/perfetto/trace/ftrace/sched.proto", |
Hector Dearman | 3cd7cd5 | 2019-12-04 16:07:16 +0000 | [diff] [blame] | 3511 | "protos/perfetto/trace/ftrace/sde.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 3512 | "protos/perfetto/trace/ftrace/signal.proto", |
| 3513 | "protos/perfetto/trace/ftrace/sync.proto", |
Hector Dearman | bfc2411 | 2019-06-04 19:35:51 +0100 | [diff] [blame] | 3514 | "protos/perfetto/trace/ftrace/systrace.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 3515 | "protos/perfetto/trace/ftrace/task.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3516 | "protos/perfetto/trace/ftrace/test_bundle_wrapper.proto", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 3517 | "protos/perfetto/trace/ftrace/vmscan.proto", |
| 3518 | "protos/perfetto/trace/ftrace/workqueue.proto", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 3519 | ], |
| 3520 | tools: [ |
| 3521 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 3522 | "protozero_plugin", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 3523 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 3524 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 3525 | out: [ |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 3526 | "external/perfetto/protos/perfetto/trace/ftrace/binder.pbzero.h", |
| 3527 | "external/perfetto/protos/perfetto/trace/ftrace/block.pbzero.h", |
| 3528 | "external/perfetto/protos/perfetto/trace/ftrace/cgroup.pbzero.h", |
| 3529 | "external/perfetto/protos/perfetto/trace/ftrace/clk.pbzero.h", |
| 3530 | "external/perfetto/protos/perfetto/trace/ftrace/compaction.pbzero.h", |
| 3531 | "external/perfetto/protos/perfetto/trace/ftrace/ext4.pbzero.h", |
| 3532 | "external/perfetto/protos/perfetto/trace/ftrace/f2fs.pbzero.h", |
| 3533 | "external/perfetto/protos/perfetto/trace/ftrace/fence.pbzero.h", |
| 3534 | "external/perfetto/protos/perfetto/trace/ftrace/filemap.pbzero.h", |
| 3535 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace.pbzero.h", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3536 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace_event.pbzero.h", |
| 3537 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace_event_bundle.pbzero.h", |
Hector Dearman | 3afb1e0 | 2018-04-27 16:46:52 +0100 | [diff] [blame] | 3538 | "external/perfetto/protos/perfetto/trace/ftrace/ftrace_stats.pbzero.h", |
Isabelle Taylor | 98e560d | 2018-11-22 11:59:12 +0000 | [diff] [blame] | 3539 | "external/perfetto/protos/perfetto/trace/ftrace/generic.pbzero.h", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 3540 | "external/perfetto/protos/perfetto/trace/ftrace/i2c.pbzero.h", |
| 3541 | "external/perfetto/protos/perfetto/trace/ftrace/ipi.pbzero.h", |
| 3542 | "external/perfetto/protos/perfetto/trace/ftrace/irq.pbzero.h", |
| 3543 | "external/perfetto/protos/perfetto/trace/ftrace/kmem.pbzero.h", |
| 3544 | "external/perfetto/protos/perfetto/trace/ftrace/lowmemorykiller.pbzero.h", |
| 3545 | "external/perfetto/protos/perfetto/trace/ftrace/mdss.pbzero.h", |
Lalit Maganti | 3bd67ef | 2019-01-18 17:44:09 +0000 | [diff] [blame] | 3546 | "external/perfetto/protos/perfetto/trace/ftrace/mm_event.pbzero.h", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 3547 | "external/perfetto/protos/perfetto/trace/ftrace/oom.pbzero.h", |
| 3548 | "external/perfetto/protos/perfetto/trace/ftrace/power.pbzero.h", |
Lalit Maganti | a73a725 | 2019-01-25 10:32:40 +0000 | [diff] [blame] | 3549 | "external/perfetto/protos/perfetto/trace/ftrace/raw_syscalls.pbzero.h", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 3550 | "external/perfetto/protos/perfetto/trace/ftrace/regulator.pbzero.h", |
| 3551 | "external/perfetto/protos/perfetto/trace/ftrace/sched.pbzero.h", |
Hector Dearman | 3cd7cd5 | 2019-12-04 16:07:16 +0000 | [diff] [blame] | 3552 | "external/perfetto/protos/perfetto/trace/ftrace/sde.pbzero.h", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 3553 | "external/perfetto/protos/perfetto/trace/ftrace/signal.pbzero.h", |
| 3554 | "external/perfetto/protos/perfetto/trace/ftrace/sync.pbzero.h", |
Hector Dearman | bfc2411 | 2019-06-04 19:35:51 +0100 | [diff] [blame] | 3555 | "external/perfetto/protos/perfetto/trace/ftrace/systrace.pbzero.h", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 3556 | "external/perfetto/protos/perfetto/trace/ftrace/task.pbzero.h", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3557 | "external/perfetto/protos/perfetto/trace/ftrace/test_bundle_wrapper.pbzero.h", |
Hector Dearman | e0e5780 | 2018-11-21 16:09:56 +0000 | [diff] [blame] | 3558 | "external/perfetto/protos/perfetto/trace/ftrace/vmscan.pbzero.h", |
| 3559 | "external/perfetto/protos/perfetto/trace/ftrace/workqueue.pbzero.h", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 3560 | ], |
| 3561 | export_include_dirs: [ |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 3562 | ".", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3563 | "protos", |
| 3564 | ], |
| 3565 | } |
| 3566 | |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 3567 | // GN: //protos/perfetto/trace/gpu:cpp |
| 3568 | genrule { |
| 3569 | name: "perfetto_protos_perfetto_trace_gpu_cpp_gen", |
| 3570 | srcs: [ |
| 3571 | "protos/perfetto/trace/gpu/gpu_counter_event.proto", |
| 3572 | "protos/perfetto/trace/gpu/gpu_log.proto", |
| 3573 | "protos/perfetto/trace/gpu/gpu_render_stage_event.proto", |
| 3574 | "protos/perfetto/trace/gpu/vulkan_api_event.proto", |
| 3575 | "protos/perfetto/trace/gpu/vulkan_memory_event.proto", |
| 3576 | ], |
| 3577 | tools: [ |
| 3578 | "aprotoc", |
| 3579 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 3580 | ], |
| 3581 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
| 3582 | out: [ |
| 3583 | "external/perfetto/protos/perfetto/trace/gpu/gpu_counter_event.gen.cc", |
| 3584 | "external/perfetto/protos/perfetto/trace/gpu/gpu_log.gen.cc", |
| 3585 | "external/perfetto/protos/perfetto/trace/gpu/gpu_render_stage_event.gen.cc", |
| 3586 | "external/perfetto/protos/perfetto/trace/gpu/vulkan_api_event.gen.cc", |
| 3587 | "external/perfetto/protos/perfetto/trace/gpu/vulkan_memory_event.gen.cc", |
| 3588 | ], |
| 3589 | } |
| 3590 | |
| 3591 | // GN: //protos/perfetto/trace/gpu:cpp |
| 3592 | genrule { |
| 3593 | name: "perfetto_protos_perfetto_trace_gpu_cpp_gen_headers", |
| 3594 | srcs: [ |
| 3595 | "protos/perfetto/trace/gpu/gpu_counter_event.proto", |
| 3596 | "protos/perfetto/trace/gpu/gpu_log.proto", |
| 3597 | "protos/perfetto/trace/gpu/gpu_render_stage_event.proto", |
| 3598 | "protos/perfetto/trace/gpu/vulkan_api_event.proto", |
| 3599 | "protos/perfetto/trace/gpu/vulkan_memory_event.proto", |
| 3600 | ], |
| 3601 | tools: [ |
| 3602 | "aprotoc", |
| 3603 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 3604 | ], |
| 3605 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
| 3606 | out: [ |
| 3607 | "external/perfetto/protos/perfetto/trace/gpu/gpu_counter_event.gen.h", |
| 3608 | "external/perfetto/protos/perfetto/trace/gpu/gpu_log.gen.h", |
| 3609 | "external/perfetto/protos/perfetto/trace/gpu/gpu_render_stage_event.gen.h", |
| 3610 | "external/perfetto/protos/perfetto/trace/gpu/vulkan_api_event.gen.h", |
| 3611 | "external/perfetto/protos/perfetto/trace/gpu/vulkan_memory_event.gen.h", |
| 3612 | ], |
| 3613 | export_include_dirs: [ |
| 3614 | ".", |
| 3615 | "protos", |
| 3616 | ], |
| 3617 | } |
| 3618 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 3619 | // GN: //protos/perfetto/trace/gpu:lite |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 3620 | genrule { |
| 3621 | name: "perfetto_protos_perfetto_trace_gpu_lite_gen", |
| 3622 | srcs: [ |
| 3623 | "protos/perfetto/trace/gpu/gpu_counter_event.proto", |
Raymond Chiu | c612b7f | 2019-09-18 14:53:28 -0700 | [diff] [blame] | 3624 | "protos/perfetto/trace/gpu/gpu_log.proto", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 3625 | "protos/perfetto/trace/gpu/gpu_render_stage_event.proto", |
Raymond Chiu | 5d526b8 | 2019-11-22 14:18:51 -0800 | [diff] [blame] | 3626 | "protos/perfetto/trace/gpu/vulkan_api_event.proto", |
Mohammad Reza Zakerinasab | b06d185 | 2019-09-11 14:41:36 -0400 | [diff] [blame] | 3627 | "protos/perfetto/trace/gpu/vulkan_memory_event.proto", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 3628 | ], |
| 3629 | tools: [ |
| 3630 | "aprotoc", |
| 3631 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 3632 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=$(genDir)/external/perfetto/ $(in)", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 3633 | out: [ |
| 3634 | "external/perfetto/protos/perfetto/trace/gpu/gpu_counter_event.pb.cc", |
Raymond Chiu | c612b7f | 2019-09-18 14:53:28 -0700 | [diff] [blame] | 3635 | "external/perfetto/protos/perfetto/trace/gpu/gpu_log.pb.cc", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 3636 | "external/perfetto/protos/perfetto/trace/gpu/gpu_render_stage_event.pb.cc", |
Raymond Chiu | 5d526b8 | 2019-11-22 14:18:51 -0800 | [diff] [blame] | 3637 | "external/perfetto/protos/perfetto/trace/gpu/vulkan_api_event.pb.cc", |
Mohammad Reza Zakerinasab | b06d185 | 2019-09-11 14:41:36 -0400 | [diff] [blame] | 3638 | "external/perfetto/protos/perfetto/trace/gpu/vulkan_memory_event.pb.cc", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 3639 | ], |
| 3640 | } |
| 3641 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 3642 | // GN: //protos/perfetto/trace/gpu:lite |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 3643 | genrule { |
| 3644 | name: "perfetto_protos_perfetto_trace_gpu_lite_gen_headers", |
| 3645 | srcs: [ |
| 3646 | "protos/perfetto/trace/gpu/gpu_counter_event.proto", |
Raymond Chiu | c612b7f | 2019-09-18 14:53:28 -0700 | [diff] [blame] | 3647 | "protos/perfetto/trace/gpu/gpu_log.proto", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 3648 | "protos/perfetto/trace/gpu/gpu_render_stage_event.proto", |
Raymond Chiu | 5d526b8 | 2019-11-22 14:18:51 -0800 | [diff] [blame] | 3649 | "protos/perfetto/trace/gpu/vulkan_api_event.proto", |
Mohammad Reza Zakerinasab | b06d185 | 2019-09-11 14:41:36 -0400 | [diff] [blame] | 3650 | "protos/perfetto/trace/gpu/vulkan_memory_event.proto", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 3651 | ], |
| 3652 | tools: [ |
| 3653 | "aprotoc", |
| 3654 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 3655 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=$(genDir)/external/perfetto/ $(in)", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 3656 | out: [ |
| 3657 | "external/perfetto/protos/perfetto/trace/gpu/gpu_counter_event.pb.h", |
Raymond Chiu | c612b7f | 2019-09-18 14:53:28 -0700 | [diff] [blame] | 3658 | "external/perfetto/protos/perfetto/trace/gpu/gpu_log.pb.h", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 3659 | "external/perfetto/protos/perfetto/trace/gpu/gpu_render_stage_event.pb.h", |
Raymond Chiu | 5d526b8 | 2019-11-22 14:18:51 -0800 | [diff] [blame] | 3660 | "external/perfetto/protos/perfetto/trace/gpu/vulkan_api_event.pb.h", |
Mohammad Reza Zakerinasab | b06d185 | 2019-09-11 14:41:36 -0400 | [diff] [blame] | 3661 | "external/perfetto/protos/perfetto/trace/gpu/vulkan_memory_event.pb.h", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 3662 | ], |
| 3663 | export_include_dirs: [ |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 3664 | ".", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 3665 | "protos", |
| 3666 | ], |
| 3667 | } |
| 3668 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 3669 | // GN: //protos/perfetto/trace/gpu:zero |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 3670 | genrule { |
| 3671 | name: "perfetto_protos_perfetto_trace_gpu_zero_gen", |
| 3672 | srcs: [ |
| 3673 | "protos/perfetto/trace/gpu/gpu_counter_event.proto", |
Raymond Chiu | c612b7f | 2019-09-18 14:53:28 -0700 | [diff] [blame] | 3674 | "protos/perfetto/trace/gpu/gpu_log.proto", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 3675 | "protos/perfetto/trace/gpu/gpu_render_stage_event.proto", |
Raymond Chiu | 5d526b8 | 2019-11-22 14:18:51 -0800 | [diff] [blame] | 3676 | "protos/perfetto/trace/gpu/vulkan_api_event.proto", |
Mohammad Reza Zakerinasab | b06d185 | 2019-09-11 14:41:36 -0400 | [diff] [blame] | 3677 | "protos/perfetto/trace/gpu/vulkan_memory_event.proto", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 3678 | ], |
| 3679 | tools: [ |
| 3680 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 3681 | "protozero_plugin", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 3682 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 3683 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 3684 | out: [ |
| 3685 | "external/perfetto/protos/perfetto/trace/gpu/gpu_counter_event.pbzero.cc", |
Raymond Chiu | c612b7f | 2019-09-18 14:53:28 -0700 | [diff] [blame] | 3686 | "external/perfetto/protos/perfetto/trace/gpu/gpu_log.pbzero.cc", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 3687 | "external/perfetto/protos/perfetto/trace/gpu/gpu_render_stage_event.pbzero.cc", |
Raymond Chiu | 5d526b8 | 2019-11-22 14:18:51 -0800 | [diff] [blame] | 3688 | "external/perfetto/protos/perfetto/trace/gpu/vulkan_api_event.pbzero.cc", |
Mohammad Reza Zakerinasab | b06d185 | 2019-09-11 14:41:36 -0400 | [diff] [blame] | 3689 | "external/perfetto/protos/perfetto/trace/gpu/vulkan_memory_event.pbzero.cc", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 3690 | ], |
| 3691 | } |
| 3692 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 3693 | // GN: //protos/perfetto/trace/gpu:zero |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 3694 | genrule { |
| 3695 | name: "perfetto_protos_perfetto_trace_gpu_zero_gen_headers", |
| 3696 | srcs: [ |
| 3697 | "protos/perfetto/trace/gpu/gpu_counter_event.proto", |
Raymond Chiu | c612b7f | 2019-09-18 14:53:28 -0700 | [diff] [blame] | 3698 | "protos/perfetto/trace/gpu/gpu_log.proto", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 3699 | "protos/perfetto/trace/gpu/gpu_render_stage_event.proto", |
Raymond Chiu | 5d526b8 | 2019-11-22 14:18:51 -0800 | [diff] [blame] | 3700 | "protos/perfetto/trace/gpu/vulkan_api_event.proto", |
Mohammad Reza Zakerinasab | b06d185 | 2019-09-11 14:41:36 -0400 | [diff] [blame] | 3701 | "protos/perfetto/trace/gpu/vulkan_memory_event.proto", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 3702 | ], |
| 3703 | tools: [ |
| 3704 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 3705 | "protozero_plugin", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 3706 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 3707 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 3708 | out: [ |
| 3709 | "external/perfetto/protos/perfetto/trace/gpu/gpu_counter_event.pbzero.h", |
Raymond Chiu | c612b7f | 2019-09-18 14:53:28 -0700 | [diff] [blame] | 3710 | "external/perfetto/protos/perfetto/trace/gpu/gpu_log.pbzero.h", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 3711 | "external/perfetto/protos/perfetto/trace/gpu/gpu_render_stage_event.pbzero.h", |
Raymond Chiu | 5d526b8 | 2019-11-22 14:18:51 -0800 | [diff] [blame] | 3712 | "external/perfetto/protos/perfetto/trace/gpu/vulkan_api_event.pbzero.h", |
Mohammad Reza Zakerinasab | b06d185 | 2019-09-11 14:41:36 -0400 | [diff] [blame] | 3713 | "external/perfetto/protos/perfetto/trace/gpu/vulkan_memory_event.pbzero.h", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 3714 | ], |
| 3715 | export_include_dirs: [ |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 3716 | ".", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 3717 | "protos", |
| 3718 | ], |
| 3719 | } |
| 3720 | |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 3721 | // GN: //protos/perfetto/trace/interned_data:cpp |
| 3722 | genrule { |
| 3723 | name: "perfetto_protos_perfetto_trace_interned_data_cpp_gen", |
| 3724 | srcs: [ |
| 3725 | "protos/perfetto/trace/interned_data/interned_data.proto", |
| 3726 | ], |
| 3727 | tools: [ |
| 3728 | "aprotoc", |
| 3729 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 3730 | ], |
| 3731 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
| 3732 | out: [ |
| 3733 | "external/perfetto/protos/perfetto/trace/interned_data/interned_data.gen.cc", |
| 3734 | ], |
| 3735 | } |
| 3736 | |
| 3737 | // GN: //protos/perfetto/trace/interned_data:cpp |
| 3738 | genrule { |
| 3739 | name: "perfetto_protos_perfetto_trace_interned_data_cpp_gen_headers", |
| 3740 | srcs: [ |
| 3741 | "protos/perfetto/trace/interned_data/interned_data.proto", |
| 3742 | ], |
| 3743 | tools: [ |
| 3744 | "aprotoc", |
| 3745 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 3746 | ], |
| 3747 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
| 3748 | out: [ |
| 3749 | "external/perfetto/protos/perfetto/trace/interned_data/interned_data.gen.h", |
| 3750 | ], |
| 3751 | export_include_dirs: [ |
| 3752 | ".", |
| 3753 | "protos", |
| 3754 | ], |
| 3755 | } |
| 3756 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 3757 | // GN: //protos/perfetto/trace/interned_data:lite |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 3758 | genrule { |
| 3759 | name: "perfetto_protos_perfetto_trace_interned_data_lite_gen", |
| 3760 | srcs: [ |
| 3761 | "protos/perfetto/trace/interned_data/interned_data.proto", |
| 3762 | ], |
| 3763 | tools: [ |
| 3764 | "aprotoc", |
| 3765 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 3766 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=$(genDir)/external/perfetto/ $(in)", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 3767 | out: [ |
| 3768 | "external/perfetto/protos/perfetto/trace/interned_data/interned_data.pb.cc", |
| 3769 | ], |
| 3770 | } |
| 3771 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 3772 | // GN: //protos/perfetto/trace/interned_data:lite |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 3773 | genrule { |
| 3774 | name: "perfetto_protos_perfetto_trace_interned_data_lite_gen_headers", |
| 3775 | srcs: [ |
| 3776 | "protos/perfetto/trace/interned_data/interned_data.proto", |
| 3777 | ], |
| 3778 | tools: [ |
| 3779 | "aprotoc", |
| 3780 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 3781 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=$(genDir)/external/perfetto/ $(in)", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 3782 | out: [ |
| 3783 | "external/perfetto/protos/perfetto/trace/interned_data/interned_data.pb.h", |
| 3784 | ], |
| 3785 | export_include_dirs: [ |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 3786 | ".", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 3787 | "protos", |
| 3788 | ], |
| 3789 | } |
| 3790 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 3791 | // GN: //protos/perfetto/trace/interned_data:zero |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 3792 | genrule { |
| 3793 | name: "perfetto_protos_perfetto_trace_interned_data_zero_gen", |
| 3794 | srcs: [ |
| 3795 | "protos/perfetto/trace/interned_data/interned_data.proto", |
| 3796 | ], |
| 3797 | tools: [ |
| 3798 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 3799 | "protozero_plugin", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 3800 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 3801 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 3802 | out: [ |
| 3803 | "external/perfetto/protos/perfetto/trace/interned_data/interned_data.pbzero.cc", |
| 3804 | ], |
| 3805 | } |
| 3806 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 3807 | // GN: //protos/perfetto/trace/interned_data:zero |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 3808 | genrule { |
| 3809 | name: "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers", |
| 3810 | srcs: [ |
| 3811 | "protos/perfetto/trace/interned_data/interned_data.proto", |
| 3812 | ], |
| 3813 | tools: [ |
| 3814 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 3815 | "protozero_plugin", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 3816 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 3817 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 3818 | out: [ |
| 3819 | "external/perfetto/protos/perfetto/trace/interned_data/interned_data.pbzero.h", |
| 3820 | ], |
| 3821 | export_include_dirs: [ |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 3822 | ".", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 3823 | "protos", |
| 3824 | ], |
| 3825 | } |
| 3826 | |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 3827 | // GN: //protos/perfetto/trace:minimal_cpp |
| 3828 | genrule { |
| 3829 | name: "perfetto_protos_perfetto_trace_minimal_cpp_gen", |
| 3830 | srcs: [ |
| 3831 | "protos/perfetto/trace/clock_snapshot.proto", |
| 3832 | "protos/perfetto/trace/system_info.proto", |
| 3833 | "protos/perfetto/trace/trigger.proto", |
| 3834 | ], |
| 3835 | tools: [ |
| 3836 | "aprotoc", |
| 3837 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 3838 | ], |
| 3839 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
| 3840 | out: [ |
| 3841 | "external/perfetto/protos/perfetto/trace/clock_snapshot.gen.cc", |
| 3842 | "external/perfetto/protos/perfetto/trace/system_info.gen.cc", |
| 3843 | "external/perfetto/protos/perfetto/trace/trigger.gen.cc", |
| 3844 | ], |
| 3845 | } |
| 3846 | |
| 3847 | // GN: //protos/perfetto/trace:minimal_cpp |
| 3848 | genrule { |
| 3849 | name: "perfetto_protos_perfetto_trace_minimal_cpp_gen_headers", |
| 3850 | srcs: [ |
| 3851 | "protos/perfetto/trace/clock_snapshot.proto", |
| 3852 | "protos/perfetto/trace/system_info.proto", |
| 3853 | "protos/perfetto/trace/trigger.proto", |
| 3854 | ], |
| 3855 | tools: [ |
| 3856 | "aprotoc", |
| 3857 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 3858 | ], |
| 3859 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
| 3860 | out: [ |
| 3861 | "external/perfetto/protos/perfetto/trace/clock_snapshot.gen.h", |
| 3862 | "external/perfetto/protos/perfetto/trace/system_info.gen.h", |
| 3863 | "external/perfetto/protos/perfetto/trace/trigger.gen.h", |
| 3864 | ], |
| 3865 | export_include_dirs: [ |
| 3866 | ".", |
| 3867 | "protos", |
| 3868 | ], |
| 3869 | } |
| 3870 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 3871 | // GN: //protos/perfetto/trace:minimal_lite |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 3872 | genrule { |
| 3873 | name: "perfetto_protos_perfetto_trace_minimal_lite_gen", |
| 3874 | srcs: [ |
| 3875 | "protos/perfetto/trace/clock_snapshot.proto", |
Hector Dearman | 685f752 | 2019-03-12 14:28:56 +0000 | [diff] [blame] | 3876 | "protos/perfetto/trace/system_info.proto", |
Stephen Nusko | 70ea330 | 2019-04-01 19:44:40 +0100 | [diff] [blame] | 3877 | "protos/perfetto/trace/trigger.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3878 | ], |
| 3879 | tools: [ |
| 3880 | "aprotoc", |
| 3881 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 3882 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3883 | out: [ |
Sami Kyostila | fbccb3c | 2018-03-21 14:00:47 +0000 | [diff] [blame] | 3884 | "external/perfetto/protos/perfetto/trace/clock_snapshot.pb.cc", |
Hector Dearman | 685f752 | 2019-03-12 14:28:56 +0000 | [diff] [blame] | 3885 | "external/perfetto/protos/perfetto/trace/system_info.pb.cc", |
Stephen Nusko | 70ea330 | 2019-04-01 19:44:40 +0100 | [diff] [blame] | 3886 | "external/perfetto/protos/perfetto/trace/trigger.pb.cc", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3887 | ], |
| 3888 | } |
| 3889 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 3890 | // GN: //protos/perfetto/trace:minimal_lite |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3891 | genrule { |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 3892 | name: "perfetto_protos_perfetto_trace_minimal_lite_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3893 | srcs: [ |
Sami Kyostila | fbccb3c | 2018-03-21 14:00:47 +0000 | [diff] [blame] | 3894 | "protos/perfetto/trace/clock_snapshot.proto", |
Hector Dearman | 685f752 | 2019-03-12 14:28:56 +0000 | [diff] [blame] | 3895 | "protos/perfetto/trace/system_info.proto", |
Stephen Nusko | 70ea330 | 2019-04-01 19:44:40 +0100 | [diff] [blame] | 3896 | "protos/perfetto/trace/trigger.proto", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3897 | ], |
| 3898 | tools: [ |
| 3899 | "aprotoc", |
| 3900 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 3901 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3902 | out: [ |
Sami Kyostila | fbccb3c | 2018-03-21 14:00:47 +0000 | [diff] [blame] | 3903 | "external/perfetto/protos/perfetto/trace/clock_snapshot.pb.h", |
Hector Dearman | 685f752 | 2019-03-12 14:28:56 +0000 | [diff] [blame] | 3904 | "external/perfetto/protos/perfetto/trace/system_info.pb.h", |
Stephen Nusko | 70ea330 | 2019-04-01 19:44:40 +0100 | [diff] [blame] | 3905 | "external/perfetto/protos/perfetto/trace/trigger.pb.h", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3906 | ], |
| 3907 | export_include_dirs: [ |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 3908 | ".", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 3909 | "protos", |
| 3910 | ], |
| 3911 | } |
| 3912 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 3913 | // GN: //protos/perfetto/trace:minimal_zero |
Primiano Tucci | 75ae50e | 2019-08-28 13:09:55 +0200 | [diff] [blame] | 3914 | genrule { |
| 3915 | name: "perfetto_protos_perfetto_trace_minimal_zero_gen", |
| 3916 | srcs: [ |
| 3917 | "protos/perfetto/trace/clock_snapshot.proto", |
| 3918 | "protos/perfetto/trace/system_info.proto", |
| 3919 | "protos/perfetto/trace/trigger.proto", |
| 3920 | ], |
| 3921 | tools: [ |
| 3922 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 3923 | "protozero_plugin", |
Primiano Tucci | 75ae50e | 2019-08-28 13:09:55 +0200 | [diff] [blame] | 3924 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 3925 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 75ae50e | 2019-08-28 13:09:55 +0200 | [diff] [blame] | 3926 | out: [ |
| 3927 | "external/perfetto/protos/perfetto/trace/clock_snapshot.pbzero.cc", |
| 3928 | "external/perfetto/protos/perfetto/trace/system_info.pbzero.cc", |
| 3929 | "external/perfetto/protos/perfetto/trace/trigger.pbzero.cc", |
| 3930 | ], |
| 3931 | } |
| 3932 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 3933 | // GN: //protos/perfetto/trace:minimal_zero |
Primiano Tucci | 75ae50e | 2019-08-28 13:09:55 +0200 | [diff] [blame] | 3934 | genrule { |
| 3935 | name: "perfetto_protos_perfetto_trace_minimal_zero_gen_headers", |
| 3936 | srcs: [ |
| 3937 | "protos/perfetto/trace/clock_snapshot.proto", |
| 3938 | "protos/perfetto/trace/system_info.proto", |
| 3939 | "protos/perfetto/trace/trigger.proto", |
| 3940 | ], |
| 3941 | tools: [ |
| 3942 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 3943 | "protozero_plugin", |
Primiano Tucci | 75ae50e | 2019-08-28 13:09:55 +0200 | [diff] [blame] | 3944 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 3945 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 75ae50e | 2019-08-28 13:09:55 +0200 | [diff] [blame] | 3946 | out: [ |
| 3947 | "external/perfetto/protos/perfetto/trace/clock_snapshot.pbzero.h", |
| 3948 | "external/perfetto/protos/perfetto/trace/system_info.pbzero.h", |
| 3949 | "external/perfetto/protos/perfetto/trace/trigger.pbzero.h", |
| 3950 | ], |
| 3951 | export_include_dirs: [ |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 3952 | ".", |
Primiano Tucci | 75ae50e | 2019-08-28 13:09:55 +0200 | [diff] [blame] | 3953 | "protos", |
| 3954 | ], |
| 3955 | } |
| 3956 | |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 3957 | // GN: //protos/perfetto/trace:non_minimal_cpp |
| 3958 | genrule { |
| 3959 | name: "perfetto_protos_perfetto_trace_non_minimal_cpp_gen", |
| 3960 | srcs: [ |
| 3961 | "protos/perfetto/trace/test_event.proto", |
| 3962 | "protos/perfetto/trace/trace.proto", |
| 3963 | "protos/perfetto/trace/trace_packet.proto", |
| 3964 | "protos/perfetto/trace/trace_packet_defaults.proto", |
| 3965 | ], |
| 3966 | tools: [ |
| 3967 | "aprotoc", |
| 3968 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 3969 | ], |
| 3970 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
| 3971 | out: [ |
| 3972 | "external/perfetto/protos/perfetto/trace/test_event.gen.cc", |
| 3973 | "external/perfetto/protos/perfetto/trace/trace.gen.cc", |
| 3974 | "external/perfetto/protos/perfetto/trace/trace_packet.gen.cc", |
| 3975 | "external/perfetto/protos/perfetto/trace/trace_packet_defaults.gen.cc", |
| 3976 | ], |
| 3977 | } |
| 3978 | |
| 3979 | // GN: //protos/perfetto/trace:non_minimal_cpp |
| 3980 | genrule { |
| 3981 | name: "perfetto_protos_perfetto_trace_non_minimal_cpp_gen_headers", |
| 3982 | srcs: [ |
| 3983 | "protos/perfetto/trace/test_event.proto", |
| 3984 | "protos/perfetto/trace/trace.proto", |
| 3985 | "protos/perfetto/trace/trace_packet.proto", |
| 3986 | "protos/perfetto/trace/trace_packet_defaults.proto", |
| 3987 | ], |
| 3988 | tools: [ |
| 3989 | "aprotoc", |
| 3990 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 3991 | ], |
| 3992 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
| 3993 | out: [ |
| 3994 | "external/perfetto/protos/perfetto/trace/test_event.gen.h", |
| 3995 | "external/perfetto/protos/perfetto/trace/trace.gen.h", |
| 3996 | "external/perfetto/protos/perfetto/trace/trace_packet.gen.h", |
| 3997 | "external/perfetto/protos/perfetto/trace/trace_packet_defaults.gen.h", |
| 3998 | ], |
| 3999 | export_include_dirs: [ |
| 4000 | ".", |
| 4001 | "protos", |
| 4002 | ], |
| 4003 | } |
| 4004 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 4005 | // GN: //protos/perfetto/trace:non_minimal_lite |
Primiano Tucci | 75ae50e | 2019-08-28 13:09:55 +0200 | [diff] [blame] | 4006 | genrule { |
| 4007 | name: "perfetto_protos_perfetto_trace_non_minimal_lite_gen", |
| 4008 | srcs: [ |
| 4009 | "protos/perfetto/trace/test_event.proto", |
| 4010 | "protos/perfetto/trace/trace.proto", |
| 4011 | "protos/perfetto/trace/trace_packet.proto", |
| 4012 | "protos/perfetto/trace/trace_packet_defaults.proto", |
| 4013 | ], |
| 4014 | tools: [ |
| 4015 | "aprotoc", |
| 4016 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 4017 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 75ae50e | 2019-08-28 13:09:55 +0200 | [diff] [blame] | 4018 | out: [ |
| 4019 | "external/perfetto/protos/perfetto/trace/test_event.pb.cc", |
| 4020 | "external/perfetto/protos/perfetto/trace/trace.pb.cc", |
| 4021 | "external/perfetto/protos/perfetto/trace/trace_packet.pb.cc", |
| 4022 | "external/perfetto/protos/perfetto/trace/trace_packet_defaults.pb.cc", |
| 4023 | ], |
| 4024 | } |
| 4025 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 4026 | // GN: //protos/perfetto/trace:non_minimal_lite |
Primiano Tucci | 75ae50e | 2019-08-28 13:09:55 +0200 | [diff] [blame] | 4027 | genrule { |
| 4028 | name: "perfetto_protos_perfetto_trace_non_minimal_lite_gen_headers", |
| 4029 | srcs: [ |
| 4030 | "protos/perfetto/trace/test_event.proto", |
| 4031 | "protos/perfetto/trace/trace.proto", |
| 4032 | "protos/perfetto/trace/trace_packet.proto", |
| 4033 | "protos/perfetto/trace/trace_packet_defaults.proto", |
| 4034 | ], |
| 4035 | tools: [ |
| 4036 | "aprotoc", |
| 4037 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 4038 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 75ae50e | 2019-08-28 13:09:55 +0200 | [diff] [blame] | 4039 | out: [ |
| 4040 | "external/perfetto/protos/perfetto/trace/test_event.pb.h", |
| 4041 | "external/perfetto/protos/perfetto/trace/trace.pb.h", |
| 4042 | "external/perfetto/protos/perfetto/trace/trace_packet.pb.h", |
| 4043 | "external/perfetto/protos/perfetto/trace/trace_packet_defaults.pb.h", |
| 4044 | ], |
| 4045 | export_include_dirs: [ |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 4046 | ".", |
Primiano Tucci | 75ae50e | 2019-08-28 13:09:55 +0200 | [diff] [blame] | 4047 | "protos", |
| 4048 | ], |
| 4049 | } |
| 4050 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 4051 | // GN: //protos/perfetto/trace:non_minimal_zero |
Primiano Tucci | 75ae50e | 2019-08-28 13:09:55 +0200 | [diff] [blame] | 4052 | genrule { |
| 4053 | name: "perfetto_protos_perfetto_trace_non_minimal_zero_gen", |
| 4054 | srcs: [ |
| 4055 | "protos/perfetto/trace/test_event.proto", |
| 4056 | "protos/perfetto/trace/trace.proto", |
| 4057 | "protos/perfetto/trace/trace_packet.proto", |
| 4058 | "protos/perfetto/trace/trace_packet_defaults.proto", |
| 4059 | ], |
| 4060 | tools: [ |
| 4061 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 4062 | "protozero_plugin", |
Primiano Tucci | 75ae50e | 2019-08-28 13:09:55 +0200 | [diff] [blame] | 4063 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 4064 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 75ae50e | 2019-08-28 13:09:55 +0200 | [diff] [blame] | 4065 | out: [ |
| 4066 | "external/perfetto/protos/perfetto/trace/test_event.pbzero.cc", |
| 4067 | "external/perfetto/protos/perfetto/trace/trace.pbzero.cc", |
| 4068 | "external/perfetto/protos/perfetto/trace/trace_packet.pbzero.cc", |
| 4069 | "external/perfetto/protos/perfetto/trace/trace_packet_defaults.pbzero.cc", |
| 4070 | ], |
| 4071 | } |
| 4072 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 4073 | // GN: //protos/perfetto/trace:non_minimal_zero |
Primiano Tucci | 75ae50e | 2019-08-28 13:09:55 +0200 | [diff] [blame] | 4074 | genrule { |
| 4075 | name: "perfetto_protos_perfetto_trace_non_minimal_zero_gen_headers", |
| 4076 | srcs: [ |
| 4077 | "protos/perfetto/trace/test_event.proto", |
| 4078 | "protos/perfetto/trace/trace.proto", |
| 4079 | "protos/perfetto/trace/trace_packet.proto", |
| 4080 | "protos/perfetto/trace/trace_packet_defaults.proto", |
| 4081 | ], |
| 4082 | tools: [ |
| 4083 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 4084 | "protozero_plugin", |
Primiano Tucci | 75ae50e | 2019-08-28 13:09:55 +0200 | [diff] [blame] | 4085 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 4086 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 75ae50e | 2019-08-28 13:09:55 +0200 | [diff] [blame] | 4087 | out: [ |
| 4088 | "external/perfetto/protos/perfetto/trace/test_event.pbzero.h", |
| 4089 | "external/perfetto/protos/perfetto/trace/trace.pbzero.h", |
| 4090 | "external/perfetto/protos/perfetto/trace/trace_packet.pbzero.h", |
| 4091 | "external/perfetto/protos/perfetto/trace/trace_packet_defaults.pbzero.h", |
| 4092 | ], |
| 4093 | export_include_dirs: [ |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 4094 | ".", |
Primiano Tucci | 75ae50e | 2019-08-28 13:09:55 +0200 | [diff] [blame] | 4095 | "protos", |
| 4096 | ], |
| 4097 | } |
| 4098 | |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 4099 | // GN: //protos/perfetto/trace/perfetto:cpp |
| 4100 | genrule { |
| 4101 | name: "perfetto_protos_perfetto_trace_perfetto_cpp_gen", |
| 4102 | srcs: [ |
| 4103 | "protos/perfetto/trace/perfetto/perfetto_metatrace.proto", |
| 4104 | ], |
| 4105 | tools: [ |
| 4106 | "aprotoc", |
| 4107 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 4108 | ], |
| 4109 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
| 4110 | out: [ |
| 4111 | "external/perfetto/protos/perfetto/trace/perfetto/perfetto_metatrace.gen.cc", |
| 4112 | ], |
| 4113 | } |
| 4114 | |
| 4115 | // GN: //protos/perfetto/trace/perfetto:cpp |
| 4116 | genrule { |
| 4117 | name: "perfetto_protos_perfetto_trace_perfetto_cpp_gen_headers", |
| 4118 | srcs: [ |
| 4119 | "protos/perfetto/trace/perfetto/perfetto_metatrace.proto", |
| 4120 | ], |
| 4121 | tools: [ |
| 4122 | "aprotoc", |
| 4123 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 4124 | ], |
| 4125 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
| 4126 | out: [ |
| 4127 | "external/perfetto/protos/perfetto/trace/perfetto/perfetto_metatrace.gen.h", |
| 4128 | ], |
| 4129 | export_include_dirs: [ |
| 4130 | ".", |
| 4131 | "protos", |
| 4132 | ], |
| 4133 | } |
| 4134 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 4135 | // GN: //protos/perfetto/trace/perfetto:lite |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 4136 | genrule { |
| 4137 | name: "perfetto_protos_perfetto_trace_perfetto_lite_gen", |
| 4138 | srcs: [ |
| 4139 | "protos/perfetto/trace/perfetto/perfetto_metatrace.proto", |
| 4140 | ], |
| 4141 | tools: [ |
| 4142 | "aprotoc", |
| 4143 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 4144 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 4145 | out: [ |
| 4146 | "external/perfetto/protos/perfetto/trace/perfetto/perfetto_metatrace.pb.cc", |
| 4147 | ], |
| 4148 | } |
| 4149 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 4150 | // GN: //protos/perfetto/trace/perfetto:lite |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 4151 | genrule { |
| 4152 | name: "perfetto_protos_perfetto_trace_perfetto_lite_gen_headers", |
| 4153 | srcs: [ |
| 4154 | "protos/perfetto/trace/perfetto/perfetto_metatrace.proto", |
| 4155 | ], |
| 4156 | tools: [ |
| 4157 | "aprotoc", |
| 4158 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 4159 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 4160 | out: [ |
| 4161 | "external/perfetto/protos/perfetto/trace/perfetto/perfetto_metatrace.pb.h", |
| 4162 | ], |
| 4163 | export_include_dirs: [ |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 4164 | ".", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 4165 | "protos", |
| 4166 | ], |
| 4167 | } |
| 4168 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 4169 | // GN: //protos/perfetto/trace/perfetto:zero |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 4170 | genrule { |
| 4171 | name: "perfetto_protos_perfetto_trace_perfetto_zero_gen", |
| 4172 | srcs: [ |
| 4173 | "protos/perfetto/trace/perfetto/perfetto_metatrace.proto", |
| 4174 | ], |
| 4175 | tools: [ |
| 4176 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 4177 | "protozero_plugin", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 4178 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 4179 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 4180 | out: [ |
| 4181 | "external/perfetto/protos/perfetto/trace/perfetto/perfetto_metatrace.pbzero.cc", |
| 4182 | ], |
| 4183 | } |
| 4184 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 4185 | // GN: //protos/perfetto/trace/perfetto:zero |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 4186 | genrule { |
| 4187 | name: "perfetto_protos_perfetto_trace_perfetto_zero_gen_headers", |
| 4188 | srcs: [ |
| 4189 | "protos/perfetto/trace/perfetto/perfetto_metatrace.proto", |
| 4190 | ], |
| 4191 | tools: [ |
| 4192 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 4193 | "protozero_plugin", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 4194 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 4195 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 4196 | out: [ |
| 4197 | "external/perfetto/protos/perfetto/trace/perfetto/perfetto_metatrace.pbzero.h", |
| 4198 | ], |
| 4199 | export_include_dirs: [ |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 4200 | ".", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 4201 | "protos", |
| 4202 | ], |
| 4203 | } |
| 4204 | |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 4205 | // GN: //protos/perfetto/trace/power:cpp |
| 4206 | genrule { |
| 4207 | name: "perfetto_protos_perfetto_trace_power_cpp_gen", |
| 4208 | srcs: [ |
| 4209 | "protos/perfetto/trace/power/battery_counters.proto", |
| 4210 | "protos/perfetto/trace/power/power_rails.proto", |
| 4211 | ], |
| 4212 | tools: [ |
| 4213 | "aprotoc", |
| 4214 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 4215 | ], |
| 4216 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
| 4217 | out: [ |
| 4218 | "external/perfetto/protos/perfetto/trace/power/battery_counters.gen.cc", |
| 4219 | "external/perfetto/protos/perfetto/trace/power/power_rails.gen.cc", |
| 4220 | ], |
| 4221 | } |
| 4222 | |
| 4223 | // GN: //protos/perfetto/trace/power:cpp |
| 4224 | genrule { |
| 4225 | name: "perfetto_protos_perfetto_trace_power_cpp_gen_headers", |
| 4226 | srcs: [ |
| 4227 | "protos/perfetto/trace/power/battery_counters.proto", |
| 4228 | "protos/perfetto/trace/power/power_rails.proto", |
| 4229 | ], |
| 4230 | tools: [ |
| 4231 | "aprotoc", |
| 4232 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 4233 | ], |
| 4234 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
| 4235 | out: [ |
| 4236 | "external/perfetto/protos/perfetto/trace/power/battery_counters.gen.h", |
| 4237 | "external/perfetto/protos/perfetto/trace/power/power_rails.gen.h", |
| 4238 | ], |
| 4239 | export_include_dirs: [ |
| 4240 | ".", |
| 4241 | "protos", |
| 4242 | ], |
| 4243 | } |
| 4244 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 4245 | // GN: //protos/perfetto/trace/power:lite |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 4246 | genrule { |
| 4247 | name: "perfetto_protos_perfetto_trace_power_lite_gen", |
| 4248 | srcs: [ |
| 4249 | "protos/perfetto/trace/power/battery_counters.proto", |
Esteban Talavera | 7714cec | 2019-01-31 15:53:34 +0000 | [diff] [blame] | 4250 | "protos/perfetto/trace/power/power_rails.proto", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 4251 | ], |
| 4252 | tools: [ |
| 4253 | "aprotoc", |
| 4254 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 4255 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 4256 | out: [ |
| 4257 | "external/perfetto/protos/perfetto/trace/power/battery_counters.pb.cc", |
Esteban Talavera | 7714cec | 2019-01-31 15:53:34 +0000 | [diff] [blame] | 4258 | "external/perfetto/protos/perfetto/trace/power/power_rails.pb.cc", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 4259 | ], |
| 4260 | } |
| 4261 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 4262 | // GN: //protos/perfetto/trace/power:lite |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 4263 | genrule { |
| 4264 | name: "perfetto_protos_perfetto_trace_power_lite_gen_headers", |
| 4265 | srcs: [ |
| 4266 | "protos/perfetto/trace/power/battery_counters.proto", |
Esteban Talavera | 7714cec | 2019-01-31 15:53:34 +0000 | [diff] [blame] | 4267 | "protos/perfetto/trace/power/power_rails.proto", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 4268 | ], |
| 4269 | tools: [ |
| 4270 | "aprotoc", |
| 4271 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 4272 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 4273 | out: [ |
| 4274 | "external/perfetto/protos/perfetto/trace/power/battery_counters.pb.h", |
Esteban Talavera | 7714cec | 2019-01-31 15:53:34 +0000 | [diff] [blame] | 4275 | "external/perfetto/protos/perfetto/trace/power/power_rails.pb.h", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 4276 | ], |
| 4277 | export_include_dirs: [ |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 4278 | ".", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 4279 | "protos", |
| 4280 | ], |
| 4281 | } |
| 4282 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 4283 | // GN: //protos/perfetto/trace/power:zero |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 4284 | genrule { |
| 4285 | name: "perfetto_protos_perfetto_trace_power_zero_gen", |
| 4286 | srcs: [ |
| 4287 | "protos/perfetto/trace/power/battery_counters.proto", |
Esteban Talavera | 7714cec | 2019-01-31 15:53:34 +0000 | [diff] [blame] | 4288 | "protos/perfetto/trace/power/power_rails.proto", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 4289 | ], |
| 4290 | tools: [ |
| 4291 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 4292 | "protozero_plugin", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 4293 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 4294 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 4295 | out: [ |
| 4296 | "external/perfetto/protos/perfetto/trace/power/battery_counters.pbzero.cc", |
Esteban Talavera | 7714cec | 2019-01-31 15:53:34 +0000 | [diff] [blame] | 4297 | "external/perfetto/protos/perfetto/trace/power/power_rails.pbzero.cc", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 4298 | ], |
| 4299 | } |
| 4300 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 4301 | // GN: //protos/perfetto/trace/power:zero |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 4302 | genrule { |
| 4303 | name: "perfetto_protos_perfetto_trace_power_zero_gen_headers", |
| 4304 | srcs: [ |
| 4305 | "protos/perfetto/trace/power/battery_counters.proto", |
Esteban Talavera | 7714cec | 2019-01-31 15:53:34 +0000 | [diff] [blame] | 4306 | "protos/perfetto/trace/power/power_rails.proto", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 4307 | ], |
| 4308 | tools: [ |
| 4309 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 4310 | "protozero_plugin", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 4311 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 4312 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 4313 | out: [ |
| 4314 | "external/perfetto/protos/perfetto/trace/power/battery_counters.pbzero.h", |
Esteban Talavera | 7714cec | 2019-01-31 15:53:34 +0000 | [diff] [blame] | 4315 | "external/perfetto/protos/perfetto/trace/power/power_rails.pbzero.h", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 4316 | ], |
| 4317 | export_include_dirs: [ |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 4318 | ".", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 4319 | "protos", |
| 4320 | ], |
| 4321 | } |
| 4322 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 4323 | // GN: //protos/perfetto/trace_processor:metrics_impl_zero |
Lalit Maganti | e59293b | 2019-05-22 15:07:39 +0100 | [diff] [blame] | 4324 | genrule { |
| 4325 | name: "perfetto_protos_perfetto_trace_processor_metrics_impl_zero_gen", |
| 4326 | srcs: [ |
| 4327 | "protos/perfetto/trace_processor/metrics_impl.proto", |
| 4328 | ], |
| 4329 | tools: [ |
| 4330 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 4331 | "protozero_plugin", |
Lalit Maganti | e59293b | 2019-05-22 15:07:39 +0100 | [diff] [blame] | 4332 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 4333 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Lalit Maganti | e59293b | 2019-05-22 15:07:39 +0100 | [diff] [blame] | 4334 | out: [ |
| 4335 | "external/perfetto/protos/perfetto/trace_processor/metrics_impl.pbzero.cc", |
| 4336 | ], |
| 4337 | } |
| 4338 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 4339 | // GN: //protos/perfetto/trace_processor:metrics_impl_zero |
Lalit Maganti | e59293b | 2019-05-22 15:07:39 +0100 | [diff] [blame] | 4340 | genrule { |
| 4341 | name: "perfetto_protos_perfetto_trace_processor_metrics_impl_zero_gen_headers", |
| 4342 | srcs: [ |
| 4343 | "protos/perfetto/trace_processor/metrics_impl.proto", |
| 4344 | ], |
| 4345 | tools: [ |
| 4346 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 4347 | "protozero_plugin", |
Lalit Maganti | e59293b | 2019-05-22 15:07:39 +0100 | [diff] [blame] | 4348 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 4349 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Lalit Maganti | e59293b | 2019-05-22 15:07:39 +0100 | [diff] [blame] | 4350 | out: [ |
| 4351 | "external/perfetto/protos/perfetto/trace_processor/metrics_impl.pbzero.h", |
| 4352 | ], |
| 4353 | export_include_dirs: [ |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 4354 | ".", |
Lalit Maganti | e59293b | 2019-05-22 15:07:39 +0100 | [diff] [blame] | 4355 | "protos", |
| 4356 | ], |
| 4357 | } |
| 4358 | |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 4359 | // GN: //protos/perfetto/trace/profiling:cpp |
| 4360 | genrule { |
| 4361 | name: "perfetto_protos_perfetto_trace_profiling_cpp_gen", |
| 4362 | srcs: [ |
| 4363 | "protos/perfetto/trace/profiling/heap_graph.proto", |
| 4364 | "protos/perfetto/trace/profiling/profile_common.proto", |
| 4365 | "protos/perfetto/trace/profiling/profile_packet.proto", |
| 4366 | ], |
| 4367 | tools: [ |
| 4368 | "aprotoc", |
| 4369 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 4370 | ], |
| 4371 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
| 4372 | out: [ |
| 4373 | "external/perfetto/protos/perfetto/trace/profiling/heap_graph.gen.cc", |
| 4374 | "external/perfetto/protos/perfetto/trace/profiling/profile_common.gen.cc", |
| 4375 | "external/perfetto/protos/perfetto/trace/profiling/profile_packet.gen.cc", |
| 4376 | ], |
| 4377 | } |
| 4378 | |
| 4379 | // GN: //protos/perfetto/trace/profiling:cpp |
| 4380 | genrule { |
| 4381 | name: "perfetto_protos_perfetto_trace_profiling_cpp_gen_headers", |
| 4382 | srcs: [ |
| 4383 | "protos/perfetto/trace/profiling/heap_graph.proto", |
| 4384 | "protos/perfetto/trace/profiling/profile_common.proto", |
| 4385 | "protos/perfetto/trace/profiling/profile_packet.proto", |
| 4386 | ], |
| 4387 | tools: [ |
| 4388 | "aprotoc", |
| 4389 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 4390 | ], |
| 4391 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
| 4392 | out: [ |
| 4393 | "external/perfetto/protos/perfetto/trace/profiling/heap_graph.gen.h", |
| 4394 | "external/perfetto/protos/perfetto/trace/profiling/profile_common.gen.h", |
| 4395 | "external/perfetto/protos/perfetto/trace/profiling/profile_packet.gen.h", |
| 4396 | ], |
| 4397 | export_include_dirs: [ |
| 4398 | ".", |
| 4399 | "protos", |
| 4400 | ], |
| 4401 | } |
| 4402 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 4403 | // GN: //protos/perfetto/trace/profiling:lite |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 4404 | genrule { |
| 4405 | name: "perfetto_protos_perfetto_trace_profiling_lite_gen", |
| 4406 | srcs: [ |
Florian Mayer | 06264b4 | 2019-07-30 12:09:30 +0100 | [diff] [blame] | 4407 | "protos/perfetto/trace/profiling/heap_graph.proto", |
Florian Mayer | 93d16ec | 2019-06-05 09:51:58 +0100 | [diff] [blame] | 4408 | "protos/perfetto/trace/profiling/profile_common.proto", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 4409 | "protos/perfetto/trace/profiling/profile_packet.proto", |
| 4410 | ], |
| 4411 | tools: [ |
| 4412 | "aprotoc", |
| 4413 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 4414 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=$(genDir)/external/perfetto/ $(in)", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 4415 | out: [ |
Florian Mayer | 06264b4 | 2019-07-30 12:09:30 +0100 | [diff] [blame] | 4416 | "external/perfetto/protos/perfetto/trace/profiling/heap_graph.pb.cc", |
Florian Mayer | 93d16ec | 2019-06-05 09:51:58 +0100 | [diff] [blame] | 4417 | "external/perfetto/protos/perfetto/trace/profiling/profile_common.pb.cc", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 4418 | "external/perfetto/protos/perfetto/trace/profiling/profile_packet.pb.cc", |
| 4419 | ], |
| 4420 | } |
| 4421 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 4422 | // GN: //protos/perfetto/trace/profiling:lite |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 4423 | genrule { |
| 4424 | name: "perfetto_protos_perfetto_trace_profiling_lite_gen_headers", |
| 4425 | srcs: [ |
Florian Mayer | 06264b4 | 2019-07-30 12:09:30 +0100 | [diff] [blame] | 4426 | "protos/perfetto/trace/profiling/heap_graph.proto", |
Florian Mayer | 93d16ec | 2019-06-05 09:51:58 +0100 | [diff] [blame] | 4427 | "protos/perfetto/trace/profiling/profile_common.proto", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 4428 | "protos/perfetto/trace/profiling/profile_packet.proto", |
| 4429 | ], |
| 4430 | tools: [ |
| 4431 | "aprotoc", |
| 4432 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 4433 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=$(genDir)/external/perfetto/ $(in)", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 4434 | out: [ |
Florian Mayer | 06264b4 | 2019-07-30 12:09:30 +0100 | [diff] [blame] | 4435 | "external/perfetto/protos/perfetto/trace/profiling/heap_graph.pb.h", |
Florian Mayer | 93d16ec | 2019-06-05 09:51:58 +0100 | [diff] [blame] | 4436 | "external/perfetto/protos/perfetto/trace/profiling/profile_common.pb.h", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 4437 | "external/perfetto/protos/perfetto/trace/profiling/profile_packet.pb.h", |
| 4438 | ], |
| 4439 | export_include_dirs: [ |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 4440 | ".", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 4441 | "protos", |
| 4442 | ], |
| 4443 | } |
| 4444 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 4445 | // GN: //protos/perfetto/trace/profiling:zero |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 4446 | genrule { |
| 4447 | name: "perfetto_protos_perfetto_trace_profiling_zero_gen", |
| 4448 | srcs: [ |
Florian Mayer | 06264b4 | 2019-07-30 12:09:30 +0100 | [diff] [blame] | 4449 | "protos/perfetto/trace/profiling/heap_graph.proto", |
Florian Mayer | 93d16ec | 2019-06-05 09:51:58 +0100 | [diff] [blame] | 4450 | "protos/perfetto/trace/profiling/profile_common.proto", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 4451 | "protos/perfetto/trace/profiling/profile_packet.proto", |
| 4452 | ], |
| 4453 | tools: [ |
| 4454 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 4455 | "protozero_plugin", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 4456 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 4457 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 4458 | out: [ |
Florian Mayer | 06264b4 | 2019-07-30 12:09:30 +0100 | [diff] [blame] | 4459 | "external/perfetto/protos/perfetto/trace/profiling/heap_graph.pbzero.cc", |
Florian Mayer | 93d16ec | 2019-06-05 09:51:58 +0100 | [diff] [blame] | 4460 | "external/perfetto/protos/perfetto/trace/profiling/profile_common.pbzero.cc", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 4461 | "external/perfetto/protos/perfetto/trace/profiling/profile_packet.pbzero.cc", |
| 4462 | ], |
| 4463 | } |
| 4464 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 4465 | // GN: //protos/perfetto/trace/profiling:zero |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 4466 | genrule { |
| 4467 | name: "perfetto_protos_perfetto_trace_profiling_zero_gen_headers", |
| 4468 | srcs: [ |
Florian Mayer | 06264b4 | 2019-07-30 12:09:30 +0100 | [diff] [blame] | 4469 | "protos/perfetto/trace/profiling/heap_graph.proto", |
Florian Mayer | 93d16ec | 2019-06-05 09:51:58 +0100 | [diff] [blame] | 4470 | "protos/perfetto/trace/profiling/profile_common.proto", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 4471 | "protos/perfetto/trace/profiling/profile_packet.proto", |
| 4472 | ], |
| 4473 | tools: [ |
| 4474 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 4475 | "protozero_plugin", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 4476 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 4477 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 4478 | out: [ |
Florian Mayer | 06264b4 | 2019-07-30 12:09:30 +0100 | [diff] [blame] | 4479 | "external/perfetto/protos/perfetto/trace/profiling/heap_graph.pbzero.h", |
Florian Mayer | 93d16ec | 2019-06-05 09:51:58 +0100 | [diff] [blame] | 4480 | "external/perfetto/protos/perfetto/trace/profiling/profile_common.pbzero.h", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 4481 | "external/perfetto/protos/perfetto/trace/profiling/profile_packet.pbzero.h", |
| 4482 | ], |
| 4483 | export_include_dirs: [ |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 4484 | ".", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 4485 | "protos", |
| 4486 | ], |
| 4487 | } |
| 4488 | |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 4489 | // GN: //protos/perfetto/trace/ps:cpp |
| 4490 | genrule { |
| 4491 | name: "perfetto_protos_perfetto_trace_ps_cpp_gen", |
| 4492 | srcs: [ |
| 4493 | "protos/perfetto/trace/ps/process_stats.proto", |
| 4494 | "protos/perfetto/trace/ps/process_tree.proto", |
| 4495 | ], |
| 4496 | tools: [ |
| 4497 | "aprotoc", |
| 4498 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 4499 | ], |
| 4500 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
| 4501 | out: [ |
| 4502 | "external/perfetto/protos/perfetto/trace/ps/process_stats.gen.cc", |
| 4503 | "external/perfetto/protos/perfetto/trace/ps/process_tree.gen.cc", |
| 4504 | ], |
| 4505 | } |
| 4506 | |
| 4507 | // GN: //protos/perfetto/trace/ps:cpp |
| 4508 | genrule { |
| 4509 | name: "perfetto_protos_perfetto_trace_ps_cpp_gen_headers", |
| 4510 | srcs: [ |
| 4511 | "protos/perfetto/trace/ps/process_stats.proto", |
| 4512 | "protos/perfetto/trace/ps/process_tree.proto", |
| 4513 | ], |
| 4514 | tools: [ |
| 4515 | "aprotoc", |
| 4516 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 4517 | ], |
| 4518 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
| 4519 | out: [ |
| 4520 | "external/perfetto/protos/perfetto/trace/ps/process_stats.gen.h", |
| 4521 | "external/perfetto/protos/perfetto/trace/ps/process_tree.gen.h", |
| 4522 | ], |
| 4523 | export_include_dirs: [ |
| 4524 | ".", |
| 4525 | "protos", |
| 4526 | ], |
| 4527 | } |
| 4528 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 4529 | // GN: //protos/perfetto/trace/ps:lite |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 4530 | genrule { |
| 4531 | name: "perfetto_protos_perfetto_trace_ps_lite_gen", |
| 4532 | srcs: [ |
Primiano Tucci | c9d4a8b | 2018-10-30 20:19:01 -0700 | [diff] [blame] | 4533 | "protos/perfetto/trace/ps/process_stats.proto", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 4534 | "protos/perfetto/trace/ps/process_tree.proto", |
| 4535 | ], |
| 4536 | tools: [ |
| 4537 | "aprotoc", |
| 4538 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 4539 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=$(genDir)/external/perfetto/ $(in)", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 4540 | out: [ |
Primiano Tucci | c9d4a8b | 2018-10-30 20:19:01 -0700 | [diff] [blame] | 4541 | "external/perfetto/protos/perfetto/trace/ps/process_stats.pb.cc", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 4542 | "external/perfetto/protos/perfetto/trace/ps/process_tree.pb.cc", |
| 4543 | ], |
| 4544 | } |
| 4545 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 4546 | // GN: //protos/perfetto/trace/ps:lite |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 4547 | genrule { |
| 4548 | name: "perfetto_protos_perfetto_trace_ps_lite_gen_headers", |
| 4549 | srcs: [ |
Primiano Tucci | c9d4a8b | 2018-10-30 20:19:01 -0700 | [diff] [blame] | 4550 | "protos/perfetto/trace/ps/process_stats.proto", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 4551 | "protos/perfetto/trace/ps/process_tree.proto", |
| 4552 | ], |
| 4553 | tools: [ |
| 4554 | "aprotoc", |
| 4555 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 4556 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=$(genDir)/external/perfetto/ $(in)", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 4557 | out: [ |
Primiano Tucci | c9d4a8b | 2018-10-30 20:19:01 -0700 | [diff] [blame] | 4558 | "external/perfetto/protos/perfetto/trace/ps/process_stats.pb.h", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 4559 | "external/perfetto/protos/perfetto/trace/ps/process_tree.pb.h", |
| 4560 | ], |
| 4561 | export_include_dirs: [ |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 4562 | ".", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 4563 | "protos", |
| 4564 | ], |
| 4565 | } |
| 4566 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 4567 | // GN: //protos/perfetto/trace/ps:zero |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 4568 | genrule { |
| 4569 | name: "perfetto_protos_perfetto_trace_ps_zero_gen", |
| 4570 | srcs: [ |
Primiano Tucci | c9d4a8b | 2018-10-30 20:19:01 -0700 | [diff] [blame] | 4571 | "protos/perfetto/trace/ps/process_stats.proto", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 4572 | "protos/perfetto/trace/ps/process_tree.proto", |
| 4573 | ], |
| 4574 | tools: [ |
| 4575 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 4576 | "protozero_plugin", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 4577 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 4578 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 4579 | out: [ |
Primiano Tucci | c9d4a8b | 2018-10-30 20:19:01 -0700 | [diff] [blame] | 4580 | "external/perfetto/protos/perfetto/trace/ps/process_stats.pbzero.cc", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 4581 | "external/perfetto/protos/perfetto/trace/ps/process_tree.pbzero.cc", |
| 4582 | ], |
| 4583 | } |
| 4584 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 4585 | // GN: //protos/perfetto/trace/ps:zero |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 4586 | genrule { |
| 4587 | name: "perfetto_protos_perfetto_trace_ps_zero_gen_headers", |
| 4588 | srcs: [ |
Primiano Tucci | c9d4a8b | 2018-10-30 20:19:01 -0700 | [diff] [blame] | 4589 | "protos/perfetto/trace/ps/process_stats.proto", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 4590 | "protos/perfetto/trace/ps/process_tree.proto", |
| 4591 | ], |
| 4592 | tools: [ |
| 4593 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 4594 | "protozero_plugin", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 4595 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 4596 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 4597 | out: [ |
Primiano Tucci | c9d4a8b | 2018-10-30 20:19:01 -0700 | [diff] [blame] | 4598 | "external/perfetto/protos/perfetto/trace/ps/process_stats.pbzero.h", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 4599 | "external/perfetto/protos/perfetto/trace/ps/process_tree.pbzero.h", |
| 4600 | ], |
| 4601 | export_include_dirs: [ |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 4602 | ".", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 4603 | "protos", |
| 4604 | ], |
| 4605 | } |
| 4606 | |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 4607 | // GN: //protos/perfetto/trace/sys_stats:cpp |
| 4608 | genrule { |
| 4609 | name: "perfetto_protos_perfetto_trace_sys_stats_cpp_gen", |
| 4610 | srcs: [ |
| 4611 | "protos/perfetto/trace/sys_stats/sys_stats.proto", |
| 4612 | ], |
| 4613 | tools: [ |
| 4614 | "aprotoc", |
| 4615 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 4616 | ], |
| 4617 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
| 4618 | out: [ |
| 4619 | "external/perfetto/protos/perfetto/trace/sys_stats/sys_stats.gen.cc", |
| 4620 | ], |
| 4621 | } |
| 4622 | |
| 4623 | // GN: //protos/perfetto/trace/sys_stats:cpp |
| 4624 | genrule { |
| 4625 | name: "perfetto_protos_perfetto_trace_sys_stats_cpp_gen_headers", |
| 4626 | srcs: [ |
| 4627 | "protos/perfetto/trace/sys_stats/sys_stats.proto", |
| 4628 | ], |
| 4629 | tools: [ |
| 4630 | "aprotoc", |
| 4631 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 4632 | ], |
| 4633 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
| 4634 | out: [ |
| 4635 | "external/perfetto/protos/perfetto/trace/sys_stats/sys_stats.gen.h", |
| 4636 | ], |
| 4637 | export_include_dirs: [ |
| 4638 | ".", |
| 4639 | "protos", |
| 4640 | ], |
| 4641 | } |
| 4642 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 4643 | // GN: //protos/perfetto/trace/sys_stats:lite |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 4644 | genrule { |
| 4645 | name: "perfetto_protos_perfetto_trace_sys_stats_lite_gen", |
| 4646 | srcs: [ |
| 4647 | "protos/perfetto/trace/sys_stats/sys_stats.proto", |
| 4648 | ], |
| 4649 | tools: [ |
| 4650 | "aprotoc", |
| 4651 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 4652 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 4653 | out: [ |
| 4654 | "external/perfetto/protos/perfetto/trace/sys_stats/sys_stats.pb.cc", |
| 4655 | ], |
| 4656 | } |
| 4657 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 4658 | // GN: //protos/perfetto/trace/sys_stats:lite |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 4659 | genrule { |
| 4660 | name: "perfetto_protos_perfetto_trace_sys_stats_lite_gen_headers", |
| 4661 | srcs: [ |
| 4662 | "protos/perfetto/trace/sys_stats/sys_stats.proto", |
| 4663 | ], |
| 4664 | tools: [ |
| 4665 | "aprotoc", |
| 4666 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 4667 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 4668 | out: [ |
| 4669 | "external/perfetto/protos/perfetto/trace/sys_stats/sys_stats.pb.h", |
| 4670 | ], |
| 4671 | export_include_dirs: [ |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 4672 | ".", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 4673 | "protos", |
| 4674 | ], |
| 4675 | } |
| 4676 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 4677 | // GN: //protos/perfetto/trace/sys_stats:zero |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 4678 | genrule { |
| 4679 | name: "perfetto_protos_perfetto_trace_sys_stats_zero_gen", |
| 4680 | srcs: [ |
| 4681 | "protos/perfetto/trace/sys_stats/sys_stats.proto", |
| 4682 | ], |
| 4683 | tools: [ |
| 4684 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 4685 | "protozero_plugin", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 4686 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 4687 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 4688 | out: [ |
| 4689 | "external/perfetto/protos/perfetto/trace/sys_stats/sys_stats.pbzero.cc", |
| 4690 | ], |
| 4691 | } |
| 4692 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 4693 | // GN: //protos/perfetto/trace/sys_stats:zero |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 4694 | genrule { |
| 4695 | name: "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers", |
| 4696 | srcs: [ |
| 4697 | "protos/perfetto/trace/sys_stats/sys_stats.proto", |
| 4698 | ], |
| 4699 | tools: [ |
| 4700 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 4701 | "protozero_plugin", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 4702 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 4703 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 4704 | out: [ |
| 4705 | "external/perfetto/protos/perfetto/trace/sys_stats/sys_stats.pbzero.h", |
| 4706 | ], |
| 4707 | export_include_dirs: [ |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 4708 | ".", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 4709 | "protos", |
| 4710 | ], |
| 4711 | } |
| 4712 | |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 4713 | // GN: //protos/perfetto/trace/track_event:cpp |
| 4714 | genrule { |
| 4715 | name: "perfetto_protos_perfetto_trace_track_event_cpp_gen", |
| 4716 | srcs: [ |
| 4717 | "protos/perfetto/trace/track_event/chrome_compositor_scheduler_state.proto", |
| 4718 | "protos/perfetto/trace/track_event/chrome_histogram_sample.proto", |
| 4719 | "protos/perfetto/trace/track_event/chrome_keyed_service.proto", |
| 4720 | "protos/perfetto/trace/track_event/chrome_legacy_ipc.proto", |
| 4721 | "protos/perfetto/trace/track_event/chrome_user_event.proto", |
| 4722 | "protos/perfetto/trace/track_event/debug_annotation.proto", |
| 4723 | "protos/perfetto/trace/track_event/log_message.proto", |
| 4724 | "protos/perfetto/trace/track_event/process_descriptor.proto", |
| 4725 | "protos/perfetto/trace/track_event/source_location.proto", |
| 4726 | "protos/perfetto/trace/track_event/task_execution.proto", |
| 4727 | "protos/perfetto/trace/track_event/thread_descriptor.proto", |
| 4728 | "protos/perfetto/trace/track_event/track_descriptor.proto", |
| 4729 | "protos/perfetto/trace/track_event/track_event.proto", |
| 4730 | ], |
| 4731 | tools: [ |
| 4732 | "aprotoc", |
| 4733 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 4734 | ], |
| 4735 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
| 4736 | out: [ |
| 4737 | "external/perfetto/protos/perfetto/trace/track_event/chrome_compositor_scheduler_state.gen.cc", |
| 4738 | "external/perfetto/protos/perfetto/trace/track_event/chrome_histogram_sample.gen.cc", |
| 4739 | "external/perfetto/protos/perfetto/trace/track_event/chrome_keyed_service.gen.cc", |
| 4740 | "external/perfetto/protos/perfetto/trace/track_event/chrome_legacy_ipc.gen.cc", |
| 4741 | "external/perfetto/protos/perfetto/trace/track_event/chrome_user_event.gen.cc", |
| 4742 | "external/perfetto/protos/perfetto/trace/track_event/debug_annotation.gen.cc", |
| 4743 | "external/perfetto/protos/perfetto/trace/track_event/log_message.gen.cc", |
| 4744 | "external/perfetto/protos/perfetto/trace/track_event/process_descriptor.gen.cc", |
| 4745 | "external/perfetto/protos/perfetto/trace/track_event/source_location.gen.cc", |
| 4746 | "external/perfetto/protos/perfetto/trace/track_event/task_execution.gen.cc", |
| 4747 | "external/perfetto/protos/perfetto/trace/track_event/thread_descriptor.gen.cc", |
| 4748 | "external/perfetto/protos/perfetto/trace/track_event/track_descriptor.gen.cc", |
| 4749 | "external/perfetto/protos/perfetto/trace/track_event/track_event.gen.cc", |
| 4750 | ], |
| 4751 | } |
| 4752 | |
| 4753 | // GN: //protos/perfetto/trace/track_event:cpp |
| 4754 | genrule { |
| 4755 | name: "perfetto_protos_perfetto_trace_track_event_cpp_gen_headers", |
| 4756 | srcs: [ |
| 4757 | "protos/perfetto/trace/track_event/chrome_compositor_scheduler_state.proto", |
| 4758 | "protos/perfetto/trace/track_event/chrome_histogram_sample.proto", |
| 4759 | "protos/perfetto/trace/track_event/chrome_keyed_service.proto", |
| 4760 | "protos/perfetto/trace/track_event/chrome_legacy_ipc.proto", |
| 4761 | "protos/perfetto/trace/track_event/chrome_user_event.proto", |
| 4762 | "protos/perfetto/trace/track_event/debug_annotation.proto", |
| 4763 | "protos/perfetto/trace/track_event/log_message.proto", |
| 4764 | "protos/perfetto/trace/track_event/process_descriptor.proto", |
| 4765 | "protos/perfetto/trace/track_event/source_location.proto", |
| 4766 | "protos/perfetto/trace/track_event/task_execution.proto", |
| 4767 | "protos/perfetto/trace/track_event/thread_descriptor.proto", |
| 4768 | "protos/perfetto/trace/track_event/track_descriptor.proto", |
| 4769 | "protos/perfetto/trace/track_event/track_event.proto", |
| 4770 | ], |
| 4771 | tools: [ |
| 4772 | "aprotoc", |
| 4773 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 4774 | ], |
| 4775 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
| 4776 | out: [ |
| 4777 | "external/perfetto/protos/perfetto/trace/track_event/chrome_compositor_scheduler_state.gen.h", |
| 4778 | "external/perfetto/protos/perfetto/trace/track_event/chrome_histogram_sample.gen.h", |
| 4779 | "external/perfetto/protos/perfetto/trace/track_event/chrome_keyed_service.gen.h", |
| 4780 | "external/perfetto/protos/perfetto/trace/track_event/chrome_legacy_ipc.gen.h", |
| 4781 | "external/perfetto/protos/perfetto/trace/track_event/chrome_user_event.gen.h", |
| 4782 | "external/perfetto/protos/perfetto/trace/track_event/debug_annotation.gen.h", |
| 4783 | "external/perfetto/protos/perfetto/trace/track_event/log_message.gen.h", |
| 4784 | "external/perfetto/protos/perfetto/trace/track_event/process_descriptor.gen.h", |
| 4785 | "external/perfetto/protos/perfetto/trace/track_event/source_location.gen.h", |
| 4786 | "external/perfetto/protos/perfetto/trace/track_event/task_execution.gen.h", |
| 4787 | "external/perfetto/protos/perfetto/trace/track_event/thread_descriptor.gen.h", |
| 4788 | "external/perfetto/protos/perfetto/trace/track_event/track_descriptor.gen.h", |
| 4789 | "external/perfetto/protos/perfetto/trace/track_event/track_event.gen.h", |
| 4790 | ], |
| 4791 | export_include_dirs: [ |
| 4792 | ".", |
| 4793 | "protos", |
| 4794 | ], |
| 4795 | } |
| 4796 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 4797 | // GN: //protos/perfetto/trace/track_event:lite |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 4798 | genrule { |
| 4799 | name: "perfetto_protos_perfetto_trace_track_event_lite_gen", |
| 4800 | srcs: [ |
Stephen Nusko | 3db31c8 | 2019-11-27 16:32:01 +0000 | [diff] [blame] | 4801 | "protos/perfetto/trace/track_event/chrome_compositor_scheduler_state.proto", |
Oystein Eftevaag | be533b2 | 2019-12-05 11:01:05 -0800 | [diff] [blame] | 4802 | "protos/perfetto/trace/track_event/chrome_histogram_sample.proto", |
Eric Seckler | e1e8ff4 | 2019-12-04 11:05:43 +0000 | [diff] [blame] | 4803 | "protos/perfetto/trace/track_event/chrome_keyed_service.proto", |
| 4804 | "protos/perfetto/trace/track_event/chrome_legacy_ipc.proto", |
| 4805 | "protos/perfetto/trace/track_event/chrome_user_event.proto", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 4806 | "protos/perfetto/trace/track_event/debug_annotation.proto", |
Nicolò Mazzucato | 85940b7 | 2019-07-18 10:32:39 +0100 | [diff] [blame] | 4807 | "protos/perfetto/trace/track_event/log_message.proto", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 4808 | "protos/perfetto/trace/track_event/process_descriptor.proto", |
Nicolò Mazzucato | 85940b7 | 2019-07-18 10:32:39 +0100 | [diff] [blame] | 4809 | "protos/perfetto/trace/track_event/source_location.proto", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 4810 | "protos/perfetto/trace/track_event/task_execution.proto", |
| 4811 | "protos/perfetto/trace/track_event/thread_descriptor.proto", |
Eric Seckler | 9ad16d5 | 2019-09-05 10:28:43 +0100 | [diff] [blame] | 4812 | "protos/perfetto/trace/track_event/track_descriptor.proto", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 4813 | "protos/perfetto/trace/track_event/track_event.proto", |
| 4814 | ], |
| 4815 | tools: [ |
| 4816 | "aprotoc", |
| 4817 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 4818 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=$(genDir)/external/perfetto/ $(in)", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 4819 | out: [ |
Stephen Nusko | 3db31c8 | 2019-11-27 16:32:01 +0000 | [diff] [blame] | 4820 | "external/perfetto/protos/perfetto/trace/track_event/chrome_compositor_scheduler_state.pb.cc", |
Oystein Eftevaag | be533b2 | 2019-12-05 11:01:05 -0800 | [diff] [blame] | 4821 | "external/perfetto/protos/perfetto/trace/track_event/chrome_histogram_sample.pb.cc", |
Eric Seckler | e1e8ff4 | 2019-12-04 11:05:43 +0000 | [diff] [blame] | 4822 | "external/perfetto/protos/perfetto/trace/track_event/chrome_keyed_service.pb.cc", |
| 4823 | "external/perfetto/protos/perfetto/trace/track_event/chrome_legacy_ipc.pb.cc", |
| 4824 | "external/perfetto/protos/perfetto/trace/track_event/chrome_user_event.pb.cc", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 4825 | "external/perfetto/protos/perfetto/trace/track_event/debug_annotation.pb.cc", |
Nicolò Mazzucato | 85940b7 | 2019-07-18 10:32:39 +0100 | [diff] [blame] | 4826 | "external/perfetto/protos/perfetto/trace/track_event/log_message.pb.cc", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 4827 | "external/perfetto/protos/perfetto/trace/track_event/process_descriptor.pb.cc", |
Nicolò Mazzucato | 85940b7 | 2019-07-18 10:32:39 +0100 | [diff] [blame] | 4828 | "external/perfetto/protos/perfetto/trace/track_event/source_location.pb.cc", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 4829 | "external/perfetto/protos/perfetto/trace/track_event/task_execution.pb.cc", |
| 4830 | "external/perfetto/protos/perfetto/trace/track_event/thread_descriptor.pb.cc", |
Eric Seckler | 9ad16d5 | 2019-09-05 10:28:43 +0100 | [diff] [blame] | 4831 | "external/perfetto/protos/perfetto/trace/track_event/track_descriptor.pb.cc", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 4832 | "external/perfetto/protos/perfetto/trace/track_event/track_event.pb.cc", |
| 4833 | ], |
| 4834 | } |
| 4835 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 4836 | // GN: //protos/perfetto/trace/track_event:lite |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 4837 | genrule { |
| 4838 | name: "perfetto_protos_perfetto_trace_track_event_lite_gen_headers", |
| 4839 | srcs: [ |
Stephen Nusko | 3db31c8 | 2019-11-27 16:32:01 +0000 | [diff] [blame] | 4840 | "protos/perfetto/trace/track_event/chrome_compositor_scheduler_state.proto", |
Oystein Eftevaag | be533b2 | 2019-12-05 11:01:05 -0800 | [diff] [blame] | 4841 | "protos/perfetto/trace/track_event/chrome_histogram_sample.proto", |
Eric Seckler | e1e8ff4 | 2019-12-04 11:05:43 +0000 | [diff] [blame] | 4842 | "protos/perfetto/trace/track_event/chrome_keyed_service.proto", |
| 4843 | "protos/perfetto/trace/track_event/chrome_legacy_ipc.proto", |
| 4844 | "protos/perfetto/trace/track_event/chrome_user_event.proto", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 4845 | "protos/perfetto/trace/track_event/debug_annotation.proto", |
Nicolò Mazzucato | 85940b7 | 2019-07-18 10:32:39 +0100 | [diff] [blame] | 4846 | "protos/perfetto/trace/track_event/log_message.proto", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 4847 | "protos/perfetto/trace/track_event/process_descriptor.proto", |
Nicolò Mazzucato | 85940b7 | 2019-07-18 10:32:39 +0100 | [diff] [blame] | 4848 | "protos/perfetto/trace/track_event/source_location.proto", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 4849 | "protos/perfetto/trace/track_event/task_execution.proto", |
| 4850 | "protos/perfetto/trace/track_event/thread_descriptor.proto", |
Eric Seckler | 9ad16d5 | 2019-09-05 10:28:43 +0100 | [diff] [blame] | 4851 | "protos/perfetto/trace/track_event/track_descriptor.proto", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 4852 | "protos/perfetto/trace/track_event/track_event.proto", |
| 4853 | ], |
| 4854 | tools: [ |
| 4855 | "aprotoc", |
| 4856 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 4857 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=$(genDir)/external/perfetto/ $(in)", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 4858 | out: [ |
Stephen Nusko | 3db31c8 | 2019-11-27 16:32:01 +0000 | [diff] [blame] | 4859 | "external/perfetto/protos/perfetto/trace/track_event/chrome_compositor_scheduler_state.pb.h", |
Oystein Eftevaag | be533b2 | 2019-12-05 11:01:05 -0800 | [diff] [blame] | 4860 | "external/perfetto/protos/perfetto/trace/track_event/chrome_histogram_sample.pb.h", |
Eric Seckler | e1e8ff4 | 2019-12-04 11:05:43 +0000 | [diff] [blame] | 4861 | "external/perfetto/protos/perfetto/trace/track_event/chrome_keyed_service.pb.h", |
| 4862 | "external/perfetto/protos/perfetto/trace/track_event/chrome_legacy_ipc.pb.h", |
| 4863 | "external/perfetto/protos/perfetto/trace/track_event/chrome_user_event.pb.h", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 4864 | "external/perfetto/protos/perfetto/trace/track_event/debug_annotation.pb.h", |
Nicolò Mazzucato | 85940b7 | 2019-07-18 10:32:39 +0100 | [diff] [blame] | 4865 | "external/perfetto/protos/perfetto/trace/track_event/log_message.pb.h", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 4866 | "external/perfetto/protos/perfetto/trace/track_event/process_descriptor.pb.h", |
Nicolò Mazzucato | 85940b7 | 2019-07-18 10:32:39 +0100 | [diff] [blame] | 4867 | "external/perfetto/protos/perfetto/trace/track_event/source_location.pb.h", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 4868 | "external/perfetto/protos/perfetto/trace/track_event/task_execution.pb.h", |
| 4869 | "external/perfetto/protos/perfetto/trace/track_event/thread_descriptor.pb.h", |
Eric Seckler | 9ad16d5 | 2019-09-05 10:28:43 +0100 | [diff] [blame] | 4870 | "external/perfetto/protos/perfetto/trace/track_event/track_descriptor.pb.h", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 4871 | "external/perfetto/protos/perfetto/trace/track_event/track_event.pb.h", |
| 4872 | ], |
| 4873 | export_include_dirs: [ |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 4874 | ".", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 4875 | "protos", |
| 4876 | ], |
| 4877 | } |
| 4878 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 4879 | // GN: //protos/perfetto/trace/track_event:zero |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 4880 | genrule { |
| 4881 | name: "perfetto_protos_perfetto_trace_track_event_zero_gen", |
| 4882 | srcs: [ |
Stephen Nusko | 3db31c8 | 2019-11-27 16:32:01 +0000 | [diff] [blame] | 4883 | "protos/perfetto/trace/track_event/chrome_compositor_scheduler_state.proto", |
Oystein Eftevaag | be533b2 | 2019-12-05 11:01:05 -0800 | [diff] [blame] | 4884 | "protos/perfetto/trace/track_event/chrome_histogram_sample.proto", |
Eric Seckler | e1e8ff4 | 2019-12-04 11:05:43 +0000 | [diff] [blame] | 4885 | "protos/perfetto/trace/track_event/chrome_keyed_service.proto", |
| 4886 | "protos/perfetto/trace/track_event/chrome_legacy_ipc.proto", |
| 4887 | "protos/perfetto/trace/track_event/chrome_user_event.proto", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 4888 | "protos/perfetto/trace/track_event/debug_annotation.proto", |
Nicolò Mazzucato | 85940b7 | 2019-07-18 10:32:39 +0100 | [diff] [blame] | 4889 | "protos/perfetto/trace/track_event/log_message.proto", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 4890 | "protos/perfetto/trace/track_event/process_descriptor.proto", |
Nicolò Mazzucato | 85940b7 | 2019-07-18 10:32:39 +0100 | [diff] [blame] | 4891 | "protos/perfetto/trace/track_event/source_location.proto", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 4892 | "protos/perfetto/trace/track_event/task_execution.proto", |
| 4893 | "protos/perfetto/trace/track_event/thread_descriptor.proto", |
Eric Seckler | 9ad16d5 | 2019-09-05 10:28:43 +0100 | [diff] [blame] | 4894 | "protos/perfetto/trace/track_event/track_descriptor.proto", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 4895 | "protos/perfetto/trace/track_event/track_event.proto", |
| 4896 | ], |
| 4897 | tools: [ |
| 4898 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 4899 | "protozero_plugin", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 4900 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 4901 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 4902 | out: [ |
Stephen Nusko | 3db31c8 | 2019-11-27 16:32:01 +0000 | [diff] [blame] | 4903 | "external/perfetto/protos/perfetto/trace/track_event/chrome_compositor_scheduler_state.pbzero.cc", |
Oystein Eftevaag | be533b2 | 2019-12-05 11:01:05 -0800 | [diff] [blame] | 4904 | "external/perfetto/protos/perfetto/trace/track_event/chrome_histogram_sample.pbzero.cc", |
Eric Seckler | e1e8ff4 | 2019-12-04 11:05:43 +0000 | [diff] [blame] | 4905 | "external/perfetto/protos/perfetto/trace/track_event/chrome_keyed_service.pbzero.cc", |
| 4906 | "external/perfetto/protos/perfetto/trace/track_event/chrome_legacy_ipc.pbzero.cc", |
| 4907 | "external/perfetto/protos/perfetto/trace/track_event/chrome_user_event.pbzero.cc", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 4908 | "external/perfetto/protos/perfetto/trace/track_event/debug_annotation.pbzero.cc", |
Nicolò Mazzucato | 85940b7 | 2019-07-18 10:32:39 +0100 | [diff] [blame] | 4909 | "external/perfetto/protos/perfetto/trace/track_event/log_message.pbzero.cc", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 4910 | "external/perfetto/protos/perfetto/trace/track_event/process_descriptor.pbzero.cc", |
Nicolò Mazzucato | 85940b7 | 2019-07-18 10:32:39 +0100 | [diff] [blame] | 4911 | "external/perfetto/protos/perfetto/trace/track_event/source_location.pbzero.cc", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 4912 | "external/perfetto/protos/perfetto/trace/track_event/task_execution.pbzero.cc", |
| 4913 | "external/perfetto/protos/perfetto/trace/track_event/thread_descriptor.pbzero.cc", |
Eric Seckler | 9ad16d5 | 2019-09-05 10:28:43 +0100 | [diff] [blame] | 4914 | "external/perfetto/protos/perfetto/trace/track_event/track_descriptor.pbzero.cc", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 4915 | "external/perfetto/protos/perfetto/trace/track_event/track_event.pbzero.cc", |
| 4916 | ], |
| 4917 | } |
| 4918 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 4919 | // GN: //protos/perfetto/trace/track_event:zero |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 4920 | genrule { |
| 4921 | name: "perfetto_protos_perfetto_trace_track_event_zero_gen_headers", |
| 4922 | srcs: [ |
Stephen Nusko | 3db31c8 | 2019-11-27 16:32:01 +0000 | [diff] [blame] | 4923 | "protos/perfetto/trace/track_event/chrome_compositor_scheduler_state.proto", |
Oystein Eftevaag | be533b2 | 2019-12-05 11:01:05 -0800 | [diff] [blame] | 4924 | "protos/perfetto/trace/track_event/chrome_histogram_sample.proto", |
Eric Seckler | e1e8ff4 | 2019-12-04 11:05:43 +0000 | [diff] [blame] | 4925 | "protos/perfetto/trace/track_event/chrome_keyed_service.proto", |
| 4926 | "protos/perfetto/trace/track_event/chrome_legacy_ipc.proto", |
| 4927 | "protos/perfetto/trace/track_event/chrome_user_event.proto", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 4928 | "protos/perfetto/trace/track_event/debug_annotation.proto", |
Nicolò Mazzucato | 85940b7 | 2019-07-18 10:32:39 +0100 | [diff] [blame] | 4929 | "protos/perfetto/trace/track_event/log_message.proto", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 4930 | "protos/perfetto/trace/track_event/process_descriptor.proto", |
Nicolò Mazzucato | 85940b7 | 2019-07-18 10:32:39 +0100 | [diff] [blame] | 4931 | "protos/perfetto/trace/track_event/source_location.proto", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 4932 | "protos/perfetto/trace/track_event/task_execution.proto", |
| 4933 | "protos/perfetto/trace/track_event/thread_descriptor.proto", |
Eric Seckler | 9ad16d5 | 2019-09-05 10:28:43 +0100 | [diff] [blame] | 4934 | "protos/perfetto/trace/track_event/track_descriptor.proto", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 4935 | "protos/perfetto/trace/track_event/track_event.proto", |
| 4936 | ], |
| 4937 | tools: [ |
| 4938 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 4939 | "protozero_plugin", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 4940 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 4941 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 4942 | out: [ |
Stephen Nusko | 3db31c8 | 2019-11-27 16:32:01 +0000 | [diff] [blame] | 4943 | "external/perfetto/protos/perfetto/trace/track_event/chrome_compositor_scheduler_state.pbzero.h", |
Oystein Eftevaag | be533b2 | 2019-12-05 11:01:05 -0800 | [diff] [blame] | 4944 | "external/perfetto/protos/perfetto/trace/track_event/chrome_histogram_sample.pbzero.h", |
Eric Seckler | e1e8ff4 | 2019-12-04 11:05:43 +0000 | [diff] [blame] | 4945 | "external/perfetto/protos/perfetto/trace/track_event/chrome_keyed_service.pbzero.h", |
| 4946 | "external/perfetto/protos/perfetto/trace/track_event/chrome_legacy_ipc.pbzero.h", |
| 4947 | "external/perfetto/protos/perfetto/trace/track_event/chrome_user_event.pbzero.h", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 4948 | "external/perfetto/protos/perfetto/trace/track_event/debug_annotation.pbzero.h", |
Nicolò Mazzucato | 85940b7 | 2019-07-18 10:32:39 +0100 | [diff] [blame] | 4949 | "external/perfetto/protos/perfetto/trace/track_event/log_message.pbzero.h", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 4950 | "external/perfetto/protos/perfetto/trace/track_event/process_descriptor.pbzero.h", |
Nicolò Mazzucato | 85940b7 | 2019-07-18 10:32:39 +0100 | [diff] [blame] | 4951 | "external/perfetto/protos/perfetto/trace/track_event/source_location.pbzero.h", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 4952 | "external/perfetto/protos/perfetto/trace/track_event/task_execution.pbzero.h", |
| 4953 | "external/perfetto/protos/perfetto/trace/track_event/thread_descriptor.pbzero.h", |
Eric Seckler | 9ad16d5 | 2019-09-05 10:28:43 +0100 | [diff] [blame] | 4954 | "external/perfetto/protos/perfetto/trace/track_event/track_descriptor.pbzero.h", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 4955 | "external/perfetto/protos/perfetto/trace/track_event/track_event.pbzero.h", |
| 4956 | ], |
| 4957 | export_include_dirs: [ |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 4958 | ".", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 4959 | "protos", |
| 4960 | ], |
| 4961 | } |
| 4962 | |
Primiano Tucci | 2d813fd | 2019-11-26 17:27:07 +0000 | [diff] [blame] | 4963 | // GN: //protos/third_party/pprof:zero |
Florian Mayer | 0ca7fb4 | 2018-11-15 21:13:42 +0000 | [diff] [blame] | 4964 | genrule { |
Primiano Tucci | 2d813fd | 2019-11-26 17:27:07 +0000 | [diff] [blame] | 4965 | name: "perfetto_protos_third_party_pprof_zero_gen", |
Florian Mayer | 0ca7fb4 | 2018-11-15 21:13:42 +0000 | [diff] [blame] | 4966 | srcs: [ |
| 4967 | "protos/third_party/pprof/profile.proto", |
| 4968 | ], |
| 4969 | tools: [ |
| 4970 | "aprotoc", |
Primiano Tucci | 2d813fd | 2019-11-26 17:27:07 +0000 | [diff] [blame] | 4971 | "protozero_plugin", |
Florian Mayer | 0ca7fb4 | 2018-11-15 21:13:42 +0000 | [diff] [blame] | 4972 | ], |
Primiano Tucci | 2d813fd | 2019-11-26 17:27:07 +0000 | [diff] [blame] | 4973 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Florian Mayer | 0ca7fb4 | 2018-11-15 21:13:42 +0000 | [diff] [blame] | 4974 | out: [ |
Primiano Tucci | 2d813fd | 2019-11-26 17:27:07 +0000 | [diff] [blame] | 4975 | "external/perfetto/protos/third_party/pprof/profile.pbzero.cc", |
Florian Mayer | 0ca7fb4 | 2018-11-15 21:13:42 +0000 | [diff] [blame] | 4976 | ], |
| 4977 | } |
| 4978 | |
Primiano Tucci | 2d813fd | 2019-11-26 17:27:07 +0000 | [diff] [blame] | 4979 | // GN: //protos/third_party/pprof:zero |
Florian Mayer | 0ca7fb4 | 2018-11-15 21:13:42 +0000 | [diff] [blame] | 4980 | genrule { |
Primiano Tucci | 2d813fd | 2019-11-26 17:27:07 +0000 | [diff] [blame] | 4981 | name: "perfetto_protos_third_party_pprof_zero_gen_headers", |
Florian Mayer | 0ca7fb4 | 2018-11-15 21:13:42 +0000 | [diff] [blame] | 4982 | srcs: [ |
| 4983 | "protos/third_party/pprof/profile.proto", |
| 4984 | ], |
| 4985 | tools: [ |
| 4986 | "aprotoc", |
Primiano Tucci | 2d813fd | 2019-11-26 17:27:07 +0000 | [diff] [blame] | 4987 | "protozero_plugin", |
Florian Mayer | 0ca7fb4 | 2018-11-15 21:13:42 +0000 | [diff] [blame] | 4988 | ], |
Primiano Tucci | 2d813fd | 2019-11-26 17:27:07 +0000 | [diff] [blame] | 4989 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Florian Mayer | 0ca7fb4 | 2018-11-15 21:13:42 +0000 | [diff] [blame] | 4990 | out: [ |
Primiano Tucci | 2d813fd | 2019-11-26 17:27:07 +0000 | [diff] [blame] | 4991 | "external/perfetto/protos/third_party/pprof/profile.pbzero.h", |
Florian Mayer | 0ca7fb4 | 2018-11-15 21:13:42 +0000 | [diff] [blame] | 4992 | ], |
| 4993 | export_include_dirs: [ |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 4994 | ".", |
Florian Mayer | 0ca7fb4 | 2018-11-15 21:13:42 +0000 | [diff] [blame] | 4995 | "protos", |
| 4996 | ], |
| 4997 | } |
| 4998 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 4999 | // GN: //src/android_internal:android_internal |
| 5000 | filegroup { |
| 5001 | name: "perfetto_src_android_internal_android_internal", |
| 5002 | srcs: [ |
| 5003 | "src/android_internal/atrace_hal.cc", |
| 5004 | "src/android_internal/dropbox_service.cc", |
| 5005 | "src/android_internal/health_hal.cc", |
| 5006 | "src/android_internal/incident_service.cc", |
| 5007 | "src/android_internal/power_stats_hal.cc", |
Hector Dearman | 92d7d11 | 2019-12-05 15:19:57 +0000 | [diff] [blame] | 5008 | "src/android_internal/statsd_logging.cc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 5009 | ], |
| 5010 | } |
| 5011 | |
| 5012 | // GN: //src/android_internal:headers |
| 5013 | filegroup { |
| 5014 | name: "perfetto_src_android_internal_headers", |
| 5015 | } |
| 5016 | |
| 5017 | // GN: //src/android_internal:lazy_library_loader |
| 5018 | filegroup { |
| 5019 | name: "perfetto_src_android_internal_lazy_library_loader", |
| 5020 | srcs: [ |
| 5021 | "src/android_internal/lazy_library_loader.cc", |
| 5022 | ], |
| 5023 | } |
| 5024 | |
| 5025 | // GN: //src/base:base |
| 5026 | filegroup { |
| 5027 | name: "perfetto_src_base_base", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 5028 | srcs: [ |
Primiano Tucci | 14e7dd6 | 2019-09-08 22:47:58 -0700 | [diff] [blame] | 5029 | "src/base/event_fd.cc", |
| 5030 | "src/base/file_utils.cc", |
Primiano Tucci | c64b05f | 2019-12-05 10:30:52 +0000 | [diff] [blame] | 5031 | "src/base/logging.cc", |
Primiano Tucci | 14e7dd6 | 2019-09-08 22:47:58 -0700 | [diff] [blame] | 5032 | "src/base/metatrace.cc", |
| 5033 | "src/base/paged_memory.cc", |
| 5034 | "src/base/pipe.cc", |
| 5035 | "src/base/string_splitter.cc", |
| 5036 | "src/base/string_utils.cc", |
| 5037 | "src/base/string_view.cc", |
| 5038 | "src/base/temp_file.cc", |
| 5039 | "src/base/thread_checker.cc", |
| 5040 | "src/base/thread_task_runner.cc", |
| 5041 | "src/base/time.cc", |
| 5042 | "src/base/unix_task_runner.cc", |
| 5043 | "src/base/uuid.cc", |
| 5044 | "src/base/virtual_destructors.cc", |
| 5045 | "src/base/waitable_event.cc", |
| 5046 | "src/base/watchdog_posix.cc", |
Florian Mayer | 3d5e7e6 | 2018-01-19 15:22:46 +0000 | [diff] [blame] | 5047 | ], |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 5048 | } |
| 5049 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 5050 | // GN: //src/base:test_support |
| 5051 | filegroup { |
| 5052 | name: "perfetto_src_base_test_support", |
| 5053 | srcs: [ |
| 5054 | "src/base/test/test_task_runner.cc", |
| 5055 | "src/base/test/utils.cc", |
| 5056 | "src/base/test/vm_test_utils.cc", |
| 5057 | ], |
| 5058 | } |
| 5059 | |
| 5060 | // GN: //src/base:unittests |
| 5061 | filegroup { |
| 5062 | name: "perfetto_src_base_unittests", |
| 5063 | srcs: [ |
| 5064 | "src/base/circular_queue_unittest.cc", |
Primiano Tucci | 79dd3bc | 2019-12-05 13:17:37 +0000 | [diff] [blame] | 5065 | "src/base/flat_set_unittest.cc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 5066 | "src/base/metatrace_unittest.cc", |
| 5067 | "src/base/no_destructor_unittest.cc", |
| 5068 | "src/base/optional_unittest.cc", |
| 5069 | "src/base/paged_memory_unittest.cc", |
| 5070 | "src/base/scoped_file_unittest.cc", |
| 5071 | "src/base/string_splitter_unittest.cc", |
| 5072 | "src/base/string_utils_unittest.cc", |
| 5073 | "src/base/string_view_unittest.cc", |
| 5074 | "src/base/string_writer_unittest.cc", |
| 5075 | "src/base/task_runner_unittest.cc", |
| 5076 | "src/base/temp_file_unittest.cc", |
| 5077 | "src/base/thread_checker_unittest.cc", |
| 5078 | "src/base/thread_task_runner_unittest.cc", |
| 5079 | "src/base/time_unittest.cc", |
| 5080 | "src/base/unix_socket_unittest.cc", |
| 5081 | "src/base/utils_unittest.cc", |
| 5082 | "src/base/uuid_unittest.cc", |
| 5083 | "src/base/watchdog_unittest.cc", |
| 5084 | "src/base/weak_ptr_unittest.cc", |
| 5085 | ], |
| 5086 | } |
| 5087 | |
| 5088 | // GN: //src/base:unix_socket |
| 5089 | filegroup { |
| 5090 | name: "perfetto_src_base_unix_socket", |
| 5091 | srcs: [ |
| 5092 | "src/base/unix_socket.cc", |
| 5093 | ], |
| 5094 | } |
| 5095 | |
| 5096 | // GN: //src/ipc:ipc |
| 5097 | filegroup { |
| 5098 | name: "perfetto_src_ipc_ipc", |
| 5099 | srcs: [ |
| 5100 | "src/ipc/buffered_frame_deserializer.cc", |
| 5101 | "src/ipc/client_impl.cc", |
| 5102 | "src/ipc/deferred.cc", |
| 5103 | "src/ipc/host_impl.cc", |
| 5104 | "src/ipc/service_proxy.cc", |
| 5105 | "src/ipc/virtual_destructors.cc", |
| 5106 | ], |
| 5107 | } |
| 5108 | |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 5109 | // GN: //src/ipc:test_messages_cpp |
| 5110 | genrule { |
| 5111 | name: "perfetto_src_ipc_test_messages_cpp_gen", |
| 5112 | srcs: [ |
| 5113 | "src/ipc/test/client_unittest_messages.proto", |
| 5114 | "src/ipc/test/deferred_unittest_messages.proto", |
| 5115 | "src/ipc/test/greeter_service.proto", |
| 5116 | ], |
| 5117 | tools: [ |
| 5118 | "aprotoc", |
| 5119 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 5120 | ], |
| 5121 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
| 5122 | out: [ |
| 5123 | "external/perfetto/src/ipc/test/client_unittest_messages.gen.cc", |
| 5124 | "external/perfetto/src/ipc/test/deferred_unittest_messages.gen.cc", |
| 5125 | "external/perfetto/src/ipc/test/greeter_service.gen.cc", |
| 5126 | ], |
| 5127 | } |
| 5128 | |
| 5129 | // GN: //src/ipc:test_messages_cpp |
| 5130 | genrule { |
| 5131 | name: "perfetto_src_ipc_test_messages_cpp_gen_headers", |
| 5132 | srcs: [ |
| 5133 | "src/ipc/test/client_unittest_messages.proto", |
| 5134 | "src/ipc/test/deferred_unittest_messages.proto", |
| 5135 | "src/ipc/test/greeter_service.proto", |
| 5136 | ], |
| 5137 | tools: [ |
| 5138 | "aprotoc", |
| 5139 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 5140 | ], |
| 5141 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
| 5142 | out: [ |
| 5143 | "external/perfetto/src/ipc/test/client_unittest_messages.gen.h", |
| 5144 | "external/perfetto/src/ipc/test/deferred_unittest_messages.gen.h", |
| 5145 | "external/perfetto/src/ipc/test/greeter_service.gen.h", |
| 5146 | ], |
| 5147 | export_include_dirs: [ |
| 5148 | ".", |
| 5149 | "protos", |
| 5150 | ], |
| 5151 | } |
| 5152 | |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 5153 | // GN: //src/ipc:test_messages_ipc |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 5154 | genrule { |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 5155 | name: "perfetto_src_ipc_test_messages_ipc_gen", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 5156 | srcs: [ |
| 5157 | "src/ipc/test/client_unittest_messages.proto", |
| 5158 | "src/ipc/test/deferred_unittest_messages.proto", |
| 5159 | "src/ipc/test/greeter_service.proto", |
| 5160 | ], |
| 5161 | tools: [ |
| 5162 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 5163 | "ipc_plugin", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 5164 | ], |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 5165 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location ipc_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 5166 | out: [ |
| 5167 | "external/perfetto/src/ipc/test/client_unittest_messages.ipc.cc", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 5168 | "external/perfetto/src/ipc/test/deferred_unittest_messages.ipc.cc", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 5169 | "external/perfetto/src/ipc/test/greeter_service.ipc.cc", |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 5170 | ], |
| 5171 | } |
| 5172 | |
| 5173 | // GN: //src/ipc:test_messages_ipc |
| 5174 | genrule { |
| 5175 | name: "perfetto_src_ipc_test_messages_ipc_gen_headers", |
| 5176 | srcs: [ |
| 5177 | "src/ipc/test/client_unittest_messages.proto", |
| 5178 | "src/ipc/test/deferred_unittest_messages.proto", |
| 5179 | "src/ipc/test/greeter_service.proto", |
| 5180 | ], |
| 5181 | tools: [ |
| 5182 | "aprotoc", |
| 5183 | "ipc_plugin", |
| 5184 | ], |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 5185 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location ipc_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 5186 | out: [ |
| 5187 | "external/perfetto/src/ipc/test/client_unittest_messages.ipc.h", |
| 5188 | "external/perfetto/src/ipc/test/deferred_unittest_messages.ipc.h", |
| 5189 | "external/perfetto/src/ipc/test/greeter_service.ipc.h", |
| 5190 | ], |
| 5191 | export_include_dirs: [ |
| 5192 | ".", |
| 5193 | "protos", |
| 5194 | ], |
| 5195 | } |
| 5196 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 5197 | // GN: //src/ipc:unittests |
| 5198 | filegroup { |
| 5199 | name: "perfetto_src_ipc_unittests", |
| 5200 | srcs: [ |
| 5201 | "src/ipc/buffered_frame_deserializer_unittest.cc", |
| 5202 | "src/ipc/client_impl_unittest.cc", |
| 5203 | "src/ipc/deferred_unittest.cc", |
| 5204 | "src/ipc/host_impl_unittest.cc", |
| 5205 | "src/ipc/test/ipc_integrationtest.cc", |
| 5206 | ], |
| 5207 | } |
| 5208 | |
Hector Dearman | 92d7d11 | 2019-12-05 15:19:57 +0000 | [diff] [blame] | 5209 | // GN: //src/perfetto_cmd:perfetto_atoms |
| 5210 | filegroup { |
| 5211 | name: "perfetto_src_perfetto_cmd_perfetto_atoms", |
| 5212 | } |
| 5213 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 5214 | // GN: //src/perfetto_cmd:perfetto_cmd |
| 5215 | filegroup { |
| 5216 | name: "perfetto_src_perfetto_cmd_perfetto_cmd", |
| 5217 | srcs: [ |
| 5218 | "src/perfetto_cmd/config.cc", |
| 5219 | "src/perfetto_cmd/packet_writer.cc", |
| 5220 | "src/perfetto_cmd/pbtxt_to_pb.cc", |
| 5221 | "src/perfetto_cmd/perfetto_cmd.cc", |
| 5222 | "src/perfetto_cmd/perfetto_cmd_android.cc", |
| 5223 | "src/perfetto_cmd/rate_limiter.cc", |
| 5224 | ], |
| 5225 | } |
| 5226 | |
| 5227 | // GN: //src/perfetto_cmd:protos |
Hector Dearman | 86cfbe1 | 2018-03-22 11:58:42 +0000 | [diff] [blame] | 5228 | genrule { |
| 5229 | name: "perfetto_src_perfetto_cmd_protos_gen", |
| 5230 | srcs: [ |
| 5231 | "src/perfetto_cmd/perfetto_cmd_state.proto", |
| 5232 | ], |
| 5233 | tools: [ |
| 5234 | "aprotoc", |
Hector Dearman | 040f958 | 2019-12-03 18:06:33 +0000 | [diff] [blame] | 5235 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
Hector Dearman | 86cfbe1 | 2018-03-22 11:58:42 +0000 | [diff] [blame] | 5236 | ], |
Hector Dearman | 040f958 | 2019-12-03 18:06:33 +0000 | [diff] [blame] | 5237 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
Hector Dearman | 86cfbe1 | 2018-03-22 11:58:42 +0000 | [diff] [blame] | 5238 | out: [ |
Hector Dearman | 040f958 | 2019-12-03 18:06:33 +0000 | [diff] [blame] | 5239 | "external/perfetto/src/perfetto_cmd/perfetto_cmd_state.gen.cc", |
Hector Dearman | 86cfbe1 | 2018-03-22 11:58:42 +0000 | [diff] [blame] | 5240 | ], |
| 5241 | } |
| 5242 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 5243 | // GN: //src/perfetto_cmd:protos |
Hector Dearman | 86cfbe1 | 2018-03-22 11:58:42 +0000 | [diff] [blame] | 5244 | genrule { |
| 5245 | name: "perfetto_src_perfetto_cmd_protos_gen_headers", |
| 5246 | srcs: [ |
| 5247 | "src/perfetto_cmd/perfetto_cmd_state.proto", |
| 5248 | ], |
| 5249 | tools: [ |
| 5250 | "aprotoc", |
Hector Dearman | 040f958 | 2019-12-03 18:06:33 +0000 | [diff] [blame] | 5251 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
Hector Dearman | 86cfbe1 | 2018-03-22 11:58:42 +0000 | [diff] [blame] | 5252 | ], |
Hector Dearman | 040f958 | 2019-12-03 18:06:33 +0000 | [diff] [blame] | 5253 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
Hector Dearman | 86cfbe1 | 2018-03-22 11:58:42 +0000 | [diff] [blame] | 5254 | out: [ |
Hector Dearman | 040f958 | 2019-12-03 18:06:33 +0000 | [diff] [blame] | 5255 | "external/perfetto/src/perfetto_cmd/perfetto_cmd_state.gen.h", |
Hector Dearman | 86cfbe1 | 2018-03-22 11:58:42 +0000 | [diff] [blame] | 5256 | ], |
| 5257 | export_include_dirs: [ |
| 5258 | ".", |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 5259 | "protos", |
Hector Dearman | 86cfbe1 | 2018-03-22 11:58:42 +0000 | [diff] [blame] | 5260 | ], |
| 5261 | } |
| 5262 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 5263 | // GN: //src/perfetto_cmd:trigger_perfetto_cmd |
| 5264 | filegroup { |
| 5265 | name: "perfetto_src_perfetto_cmd_trigger_perfetto_cmd", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 5266 | srcs: [ |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 5267 | "src/perfetto_cmd/trigger_perfetto.cc", |
Florian Mayer | 3d5e7e6 | 2018-01-19 15:22:46 +0000 | [diff] [blame] | 5268 | ], |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 5269 | } |
| 5270 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 5271 | // GN: //src/perfetto_cmd:trigger_producer |
| 5272 | filegroup { |
| 5273 | name: "perfetto_src_perfetto_cmd_trigger_producer", |
| 5274 | srcs: [ |
| 5275 | "src/perfetto_cmd/trigger_producer.cc", |
| 5276 | ], |
| 5277 | } |
| 5278 | |
| 5279 | // GN: //src/perfetto_cmd:unittests |
| 5280 | filegroup { |
| 5281 | name: "perfetto_src_perfetto_cmd_unittests", |
| 5282 | srcs: [ |
| 5283 | "src/perfetto_cmd/config_unittest.cc", |
| 5284 | "src/perfetto_cmd/packet_writer_unittest.cc", |
| 5285 | "src/perfetto_cmd/pbtxt_to_pb_unittest.cc", |
| 5286 | "src/perfetto_cmd/rate_limiter_unittest.cc", |
| 5287 | ], |
| 5288 | } |
| 5289 | |
Florian Mayer | 8237596 | 2019-11-20 16:45:28 +0000 | [diff] [blame] | 5290 | // GN: //src/profiling:deobfuscator |
| 5291 | filegroup { |
| 5292 | name: "perfetto_src_profiling_deobfuscator", |
| 5293 | srcs: [ |
| 5294 | "src/profiling/deobfuscator.cc", |
| 5295 | ], |
| 5296 | } |
| 5297 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 5298 | // GN: //src/profiling/memory:client |
| 5299 | filegroup { |
| 5300 | name: "perfetto_src_profiling_memory_client", |
| 5301 | srcs: [ |
| 5302 | "src/profiling/memory/client.cc", |
| 5303 | ], |
| 5304 | } |
| 5305 | |
| 5306 | // GN: //src/profiling/memory:daemon |
| 5307 | filegroup { |
| 5308 | name: "perfetto_src_profiling_memory_daemon", |
| 5309 | srcs: [ |
| 5310 | "src/profiling/memory/bookkeeping.cc", |
| 5311 | "src/profiling/memory/bookkeeping_dump.cc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 5312 | "src/profiling/memory/heapprofd_producer.cc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 5313 | "src/profiling/memory/java_hprof_producer.cc", |
| 5314 | "src/profiling/memory/page_idle_checker.cc", |
| 5315 | "src/profiling/memory/system_property.cc", |
| 5316 | "src/profiling/memory/unwinding.cc", |
| 5317 | "src/profiling/memory/utils.cc", |
| 5318 | ], |
| 5319 | } |
| 5320 | |
| 5321 | // GN: //src/profiling/memory:end_to_end_tests |
| 5322 | filegroup { |
| 5323 | name: "perfetto_src_profiling_memory_end_to_end_tests", |
| 5324 | srcs: [ |
| 5325 | "src/profiling/memory/heapprofd_end_to_end_test.cc", |
| 5326 | ], |
| 5327 | } |
| 5328 | |
| 5329 | // GN: //src/profiling/memory:malloc_hooks |
| 5330 | filegroup { |
| 5331 | name: "perfetto_src_profiling_memory_malloc_hooks", |
| 5332 | srcs: [ |
| 5333 | "src/profiling/memory/malloc_hooks.cc", |
| 5334 | ], |
| 5335 | } |
| 5336 | |
| 5337 | // GN: //src/profiling/memory:proc_utils |
| 5338 | filegroup { |
| 5339 | name: "perfetto_src_profiling_memory_proc_utils", |
| 5340 | srcs: [ |
| 5341 | "src/profiling/memory/proc_utils.cc", |
| 5342 | ], |
| 5343 | } |
| 5344 | |
| 5345 | // GN: //src/profiling/memory:ring_buffer |
| 5346 | filegroup { |
| 5347 | name: "perfetto_src_profiling_memory_ring_buffer", |
| 5348 | srcs: [ |
| 5349 | "src/profiling/memory/shared_ring_buffer.cc", |
| 5350 | ], |
| 5351 | } |
| 5352 | |
| 5353 | // GN: //src/profiling/memory:ring_buffer_unittests |
| 5354 | filegroup { |
| 5355 | name: "perfetto_src_profiling_memory_ring_buffer_unittests", |
| 5356 | srcs: [ |
| 5357 | "src/profiling/memory/shared_ring_buffer_unittest.cc", |
| 5358 | ], |
| 5359 | } |
| 5360 | |
| 5361 | // GN: //src/profiling/memory:scoped_spinlock |
| 5362 | filegroup { |
| 5363 | name: "perfetto_src_profiling_memory_scoped_spinlock", |
| 5364 | srcs: [ |
| 5365 | "src/profiling/memory/scoped_spinlock.cc", |
| 5366 | ], |
| 5367 | } |
| 5368 | |
| 5369 | // GN: //src/profiling/memory:unittests |
| 5370 | filegroup { |
| 5371 | name: "perfetto_src_profiling_memory_unittests", |
| 5372 | srcs: [ |
| 5373 | "src/profiling/memory/bookkeeping_unittest.cc", |
| 5374 | "src/profiling/memory/client_unittest.cc", |
| 5375 | "src/profiling/memory/heapprofd_producer_unittest.cc", |
| 5376 | "src/profiling/memory/interner_unittest.cc", |
| 5377 | "src/profiling/memory/page_idle_checker_unittest.cc", |
| 5378 | "src/profiling/memory/proc_utils_unittest.cc", |
| 5379 | "src/profiling/memory/sampler_unittest.cc", |
| 5380 | "src/profiling/memory/system_property_unittest.cc", |
| 5381 | "src/profiling/memory/unwinding_unittest.cc", |
| 5382 | "src/profiling/memory/wire_protocol_unittest.cc", |
| 5383 | ], |
| 5384 | } |
| 5385 | |
| 5386 | // GN: //src/profiling/memory:wire_protocol |
| 5387 | filegroup { |
| 5388 | name: "perfetto_src_profiling_memory_wire_protocol", |
| 5389 | srcs: [ |
| 5390 | "src/profiling/memory/wire_protocol.cc", |
| 5391 | ], |
| 5392 | } |
| 5393 | |
Ryan Savitski | 462b5db | 2019-11-20 19:06:46 +0000 | [diff] [blame] | 5394 | // GN: //src/profiling/perf:producer |
| 5395 | filegroup { |
| 5396 | name: "perfetto_src_profiling_perf_producer", |
| 5397 | srcs: [ |
| 5398 | "src/profiling/perf/event_reader.cc", |
| 5399 | "src/profiling/perf/perf_producer.cc", |
| 5400 | ], |
| 5401 | } |
| 5402 | |
| 5403 | // GN: //src/profiling/perf:producer_unittests |
| 5404 | filegroup { |
| 5405 | name: "perfetto_src_profiling_perf_producer_unittests", |
| 5406 | srcs: [ |
| 5407 | "src/profiling/perf/event_config_unittest.cc", |
| 5408 | ], |
| 5409 | } |
| 5410 | |
| 5411 | // GN: //src/profiling/perf:traced_perf_main |
| 5412 | filegroup { |
| 5413 | name: "perfetto_src_profiling_perf_traced_perf_main", |
| 5414 | srcs: [ |
| 5415 | "src/profiling/perf/traced_perf.cc", |
| 5416 | ], |
| 5417 | } |
| 5418 | |
Florian Mayer | 8237596 | 2019-11-20 16:45:28 +0000 | [diff] [blame] | 5419 | // GN: //src/profiling:unittests |
| 5420 | filegroup { |
| 5421 | name: "perfetto_src_profiling_unittests", |
| 5422 | srcs: [ |
| 5423 | "src/profiling/deobfuscator_unittest.cc", |
| 5424 | ], |
| 5425 | } |
| 5426 | |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 5427 | // GN: //src/protozero/protoc_plugin:cppgen_plugin |
| 5428 | cc_binary_host { |
| 5429 | name: "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 5430 | srcs: [ |
| 5431 | ":perfetto_include_perfetto_base_base", |
| 5432 | ":perfetto_include_perfetto_ext_base_base", |
| 5433 | ":perfetto_src_base_base", |
| 5434 | "src/protozero/protoc_plugin/cppgen_plugin.cc", |
| 5435 | ], |
Lalit Maganti | 3d415ec | 2019-10-23 17:53:17 +0100 | [diff] [blame] | 5436 | static_libs: [ |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 5437 | "libprotoc", |
| 5438 | ], |
| 5439 | defaults: [ |
| 5440 | "perfetto_defaults", |
| 5441 | ], |
| 5442 | cflags: [ |
| 5443 | "-DGOOGLE_PROTOBUF_NO_RTTI", |
| 5444 | "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
| 5445 | ], |
| 5446 | } |
| 5447 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 5448 | // GN: //src/protozero:protozero |
| 5449 | filegroup { |
| 5450 | name: "perfetto_src_protozero_protozero", |
| 5451 | srcs: [ |
Primiano Tucci | 6a7813d | 2019-11-19 11:08:50 +0000 | [diff] [blame] | 5452 | "src/protozero/field.cc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 5453 | "src/protozero/message.cc", |
| 5454 | "src/protozero/message_handle.cc", |
Primiano Tucci | 03ac833 | 2019-11-06 13:30:36 +0000 | [diff] [blame] | 5455 | "src/protozero/packed_repeated_fields.cc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 5456 | "src/protozero/proto_decoder.cc", |
| 5457 | "src/protozero/scattered_heap_buffer.cc", |
| 5458 | "src/protozero/scattered_stream_null_delegate.cc", |
| 5459 | "src/protozero/scattered_stream_writer.cc", |
Primiano Tucci | 6a7fa5f | 2019-11-19 11:09:20 +0000 | [diff] [blame] | 5460 | "src/protozero/static_buffer.cc", |
Primiano Tucci | cb8cea2 | 2019-11-22 11:05:35 +0000 | [diff] [blame] | 5461 | "src/protozero/virtual_destructors.cc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 5462 | ], |
| 5463 | } |
| 5464 | |
Primiano Tucci | 6a7813d | 2019-11-19 11:08:50 +0000 | [diff] [blame] | 5465 | // GN: //src/protozero:testing_messages_cpp |
| 5466 | genrule { |
| 5467 | name: "perfetto_src_protozero_testing_messages_cpp_gen", |
| 5468 | srcs: [ |
| 5469 | "src/protozero/test/example_proto/library.proto", |
| 5470 | "src/protozero/test/example_proto/library_internals/galaxies.proto", |
| 5471 | "src/protozero/test/example_proto/test_messages.proto", |
| 5472 | "src/protozero/test/example_proto/upper_import.proto", |
| 5473 | ], |
| 5474 | tools: [ |
| 5475 | "aprotoc", |
| 5476 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 5477 | ], |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 5478 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 6a7813d | 2019-11-19 11:08:50 +0000 | [diff] [blame] | 5479 | out: [ |
| 5480 | "external/perfetto/src/protozero/test/example_proto/library.gen.cc", |
| 5481 | "external/perfetto/src/protozero/test/example_proto/library_internals/galaxies.gen.cc", |
| 5482 | "external/perfetto/src/protozero/test/example_proto/test_messages.gen.cc", |
| 5483 | "external/perfetto/src/protozero/test/example_proto/upper_import.gen.cc", |
| 5484 | ], |
| 5485 | } |
| 5486 | |
| 5487 | // GN: //src/protozero:testing_messages_cpp |
| 5488 | genrule { |
| 5489 | name: "perfetto_src_protozero_testing_messages_cpp_gen_headers", |
| 5490 | srcs: [ |
| 5491 | "src/protozero/test/example_proto/library.proto", |
| 5492 | "src/protozero/test/example_proto/library_internals/galaxies.proto", |
| 5493 | "src/protozero/test/example_proto/test_messages.proto", |
| 5494 | "src/protozero/test/example_proto/upper_import.proto", |
| 5495 | ], |
| 5496 | tools: [ |
| 5497 | "aprotoc", |
| 5498 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 5499 | ], |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 5500 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | 6a7813d | 2019-11-19 11:08:50 +0000 | [diff] [blame] | 5501 | out: [ |
| 5502 | "external/perfetto/src/protozero/test/example_proto/library.gen.h", |
| 5503 | "external/perfetto/src/protozero/test/example_proto/library_internals/galaxies.gen.h", |
| 5504 | "external/perfetto/src/protozero/test/example_proto/test_messages.gen.h", |
| 5505 | "external/perfetto/src/protozero/test/example_proto/upper_import.gen.h", |
| 5506 | ], |
| 5507 | export_include_dirs: [ |
| 5508 | ".", |
| 5509 | "protos", |
| 5510 | ], |
| 5511 | } |
| 5512 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 5513 | // GN: //src/protozero:testing_messages_lite |
Sami Kyostila | 71625d7 | 2017-12-18 10:29:49 +0000 | [diff] [blame] | 5514 | genrule { |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 5515 | name: "perfetto_src_protozero_testing_messages_lite_gen", |
| 5516 | srcs: [ |
| 5517 | "src/protozero/test/example_proto/library.proto", |
| 5518 | "src/protozero/test/example_proto/library_internals/galaxies.proto", |
| 5519 | "src/protozero/test/example_proto/test_messages.proto", |
| 5520 | "src/protozero/test/example_proto/upper_import.proto", |
| 5521 | ], |
| 5522 | tools: [ |
| 5523 | "aprotoc", |
| 5524 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 5525 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=$(genDir)/external/perfetto/ $(in)", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 5526 | out: [ |
| 5527 | "external/perfetto/src/protozero/test/example_proto/library.pb.cc", |
| 5528 | "external/perfetto/src/protozero/test/example_proto/library_internals/galaxies.pb.cc", |
| 5529 | "external/perfetto/src/protozero/test/example_proto/test_messages.pb.cc", |
| 5530 | "external/perfetto/src/protozero/test/example_proto/upper_import.pb.cc", |
| 5531 | ], |
| 5532 | } |
| 5533 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 5534 | // GN: //src/protozero:testing_messages_lite |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 5535 | genrule { |
| 5536 | name: "perfetto_src_protozero_testing_messages_lite_gen_headers", |
| 5537 | srcs: [ |
| 5538 | "src/protozero/test/example_proto/library.proto", |
| 5539 | "src/protozero/test/example_proto/library_internals/galaxies.proto", |
| 5540 | "src/protozero/test/example_proto/test_messages.proto", |
| 5541 | "src/protozero/test/example_proto/upper_import.proto", |
| 5542 | ], |
| 5543 | tools: [ |
| 5544 | "aprotoc", |
| 5545 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 5546 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=$(genDir)/external/perfetto/ $(in)", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 5547 | out: [ |
| 5548 | "external/perfetto/src/protozero/test/example_proto/library.pb.h", |
| 5549 | "external/perfetto/src/protozero/test/example_proto/library_internals/galaxies.pb.h", |
| 5550 | "external/perfetto/src/protozero/test/example_proto/test_messages.pb.h", |
| 5551 | "external/perfetto/src/protozero/test/example_proto/upper_import.pb.h", |
| 5552 | ], |
| 5553 | export_include_dirs: [ |
| 5554 | ".", |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 5555 | "protos", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 5556 | ], |
| 5557 | } |
| 5558 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 5559 | // GN: //src/protozero:testing_messages_zero |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 5560 | genrule { |
| 5561 | name: "perfetto_src_protozero_testing_messages_zero_gen", |
| 5562 | srcs: [ |
| 5563 | "src/protozero/test/example_proto/library.proto", |
| 5564 | "src/protozero/test/example_proto/library_internals/galaxies.proto", |
| 5565 | "src/protozero/test/example_proto/test_messages.proto", |
| 5566 | "src/protozero/test/example_proto/upper_import.proto", |
| 5567 | ], |
| 5568 | tools: [ |
| 5569 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 5570 | "protozero_plugin", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 5571 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 5572 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 5573 | out: [ |
| 5574 | "external/perfetto/src/protozero/test/example_proto/library.pbzero.cc", |
| 5575 | "external/perfetto/src/protozero/test/example_proto/library_internals/galaxies.pbzero.cc", |
| 5576 | "external/perfetto/src/protozero/test/example_proto/test_messages.pbzero.cc", |
| 5577 | "external/perfetto/src/protozero/test/example_proto/upper_import.pbzero.cc", |
| 5578 | ], |
| 5579 | } |
| 5580 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 5581 | // GN: //src/protozero:testing_messages_zero |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 5582 | genrule { |
| 5583 | name: "perfetto_src_protozero_testing_messages_zero_gen_headers", |
| 5584 | srcs: [ |
| 5585 | "src/protozero/test/example_proto/library.proto", |
| 5586 | "src/protozero/test/example_proto/library_internals/galaxies.proto", |
| 5587 | "src/protozero/test/example_proto/test_messages.proto", |
| 5588 | "src/protozero/test/example_proto/upper_import.proto", |
| 5589 | ], |
| 5590 | tools: [ |
| 5591 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 5592 | "protozero_plugin", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 5593 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 5594 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 5595 | out: [ |
| 5596 | "external/perfetto/src/protozero/test/example_proto/library.pbzero.h", |
| 5597 | "external/perfetto/src/protozero/test/example_proto/library_internals/galaxies.pbzero.h", |
| 5598 | "external/perfetto/src/protozero/test/example_proto/test_messages.pbzero.h", |
| 5599 | "external/perfetto/src/protozero/test/example_proto/upper_import.pbzero.h", |
| 5600 | ], |
| 5601 | export_include_dirs: [ |
| 5602 | ".", |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 5603 | "protos", |
Sami Kyostila | ebba0fe | 2017-12-19 14:01:52 +0000 | [diff] [blame] | 5604 | ], |
| 5605 | } |
| 5606 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 5607 | // GN: //src/protozero:unittests |
| 5608 | filegroup { |
| 5609 | name: "perfetto_src_protozero_unittests", |
| 5610 | srcs: [ |
Primiano Tucci | e4144b7 | 2019-11-07 16:10:19 +0000 | [diff] [blame] | 5611 | "src/protozero/copyable_ptr_unittest.cc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 5612 | "src/protozero/message_handle_unittest.cc", |
| 5613 | "src/protozero/message_unittest.cc", |
| 5614 | "src/protozero/proto_decoder_unittest.cc", |
| 5615 | "src/protozero/proto_utils_unittest.cc", |
| 5616 | "src/protozero/scattered_stream_writer_unittest.cc", |
Primiano Tucci | 6a7813d | 2019-11-19 11:08:50 +0000 | [diff] [blame] | 5617 | "src/protozero/test/cppgen_conformance_unittest.cc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 5618 | "src/protozero/test/fake_scattered_buffer.cc", |
| 5619 | "src/protozero/test/protozero_conformance_unittest.cc", |
| 5620 | ], |
| 5621 | } |
| 5622 | |
| 5623 | // GN: //src/trace_processor:common |
| 5624 | filegroup { |
| 5625 | name: "perfetto_src_trace_processor_common", |
| 5626 | srcs: [ |
| 5627 | "src/trace_processor/string_pool.cc", |
| 5628 | ], |
| 5629 | } |
| 5630 | |
| 5631 | // GN: //src/trace_processor/db:lib |
| 5632 | filegroup { |
| 5633 | name: "perfetto_src_trace_processor_db_lib", |
| 5634 | srcs: [ |
| 5635 | "src/trace_processor/db/bit_vector.cc", |
Lalit Maganti | 7ed308f | 2019-10-17 11:38:24 +0100 | [diff] [blame] | 5636 | "src/trace_processor/db/bit_vector_iterators.cc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 5637 | "src/trace_processor/db/column.cc", |
| 5638 | "src/trace_processor/db/row_map.cc", |
| 5639 | "src/trace_processor/db/table.cc", |
| 5640 | ], |
| 5641 | } |
| 5642 | |
| 5643 | // GN: //src/trace_processor/db:unittests |
| 5644 | filegroup { |
| 5645 | name: "perfetto_src_trace_processor_db_unittests", |
| 5646 | srcs: [ |
| 5647 | "src/trace_processor/db/bit_vector_unittest.cc", |
Lalit Maganti | 42a5dd9 | 2019-12-12 13:28:00 +0000 | [diff] [blame] | 5648 | "src/trace_processor/db/compare_unittest.cc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 5649 | "src/trace_processor/db/row_map_unittest.cc", |
| 5650 | "src/trace_processor/db/sparse_vector_unittest.cc", |
| 5651 | ], |
| 5652 | } |
| 5653 | |
Stephen Nusko | bc76a6c | 2019-12-03 11:55:27 +0000 | [diff] [blame] | 5654 | // GN: //src/trace_processor:descriptors |
| 5655 | filegroup { |
| 5656 | name: "perfetto_src_trace_processor_descriptors", |
| 5657 | srcs: [ |
| 5658 | "src/trace_processor/descriptors.cc", |
| 5659 | ], |
| 5660 | } |
| 5661 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 5662 | // GN: //src/trace_processor:lib |
| 5663 | filegroup { |
| 5664 | name: "perfetto_src_trace_processor_lib", |
| 5665 | srcs: [ |
| 5666 | "src/trace_processor/android_logs_table.cc", |
| 5667 | "src/trace_processor/args_table.cc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 5668 | "src/trace_processor/cpu_profile_stack_sample_table.cc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 5669 | "src/trace_processor/filtered_row_index.cc", |
Isabelle Taylor | 13a7585 | 2019-11-20 10:29:40 +0000 | [diff] [blame] | 5670 | "src/trace_processor/gfp_flags.cc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 5671 | "src/trace_processor/heap_profile_allocation_table.cc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 5672 | "src/trace_processor/instants_table.cc", |
| 5673 | "src/trace_processor/metadata_table.cc", |
| 5674 | "src/trace_processor/process_table.cc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 5675 | "src/trace_processor/raw_table.cc", |
Eric Seckler | 8f70bbf | 2019-10-09 09:37:43 +0100 | [diff] [blame] | 5676 | "src/trace_processor/read_trace.cc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 5677 | "src/trace_processor/row_iterators.cc", |
| 5678 | "src/trace_processor/sched_slice_table.cc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 5679 | "src/trace_processor/span_join_operator_table.cc", |
| 5680 | "src/trace_processor/sql_stats_table.cc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 5681 | "src/trace_processor/stack_profile_frame_table.cc", |
| 5682 | "src/trace_processor/stack_profile_mapping_table.cc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 5683 | "src/trace_processor/stats_table.cc", |
| 5684 | "src/trace_processor/storage_columns.cc", |
| 5685 | "src/trace_processor/storage_schema.cc", |
| 5686 | "src/trace_processor/storage_table.cc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 5687 | "src/trace_processor/thread_table.cc", |
| 5688 | "src/trace_processor/trace_processor.cc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 5689 | "src/trace_processor/trace_processor_impl.cc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 5690 | "src/trace_processor/window_operator_table.cc", |
| 5691 | ], |
| 5692 | } |
| 5693 | |
| 5694 | // GN: //src/trace_processor/metrics:lib |
| 5695 | filegroup { |
| 5696 | name: "perfetto_src_trace_processor_metrics_lib", |
| 5697 | srcs: [ |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 5698 | "src/trace_processor/metrics/metrics.cc", |
| 5699 | ], |
| 5700 | } |
| 5701 | |
| 5702 | // GN: //src/trace_processor/metrics:unittests |
| 5703 | filegroup { |
| 5704 | name: "perfetto_src_trace_processor_metrics_unittests", |
| 5705 | srcs: [ |
| 5706 | "src/trace_processor/metrics/metrics_unittest.cc", |
| 5707 | ], |
| 5708 | } |
| 5709 | |
Stephen Nusko | 279fb0e | 2019-12-12 16:51:55 +0000 | [diff] [blame] | 5710 | // GN: //src/trace_processor:protozero_to_text |
| 5711 | filegroup { |
| 5712 | name: "perfetto_src_trace_processor_protozero_to_text", |
| 5713 | srcs: [ |
| 5714 | "src/trace_processor/protozero_to_text.cc", |
| 5715 | ], |
| 5716 | } |
| 5717 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 5718 | // GN: //src/trace_processor/sqlite:sqlite |
| 5719 | filegroup { |
| 5720 | name: "perfetto_src_trace_processor_sqlite_sqlite", |
| 5721 | srcs: [ |
| 5722 | "src/trace_processor/sqlite/db_sqlite_table.cc", |
| 5723 | "src/trace_processor/sqlite/query_constraints.cc", |
| 5724 | "src/trace_processor/sqlite/sqlite3_str_split.cc", |
| 5725 | "src/trace_processor/sqlite/sqlite_table.cc", |
| 5726 | ], |
| 5727 | } |
| 5728 | |
| 5729 | // GN: //src/trace_processor/sqlite:unittests |
| 5730 | filegroup { |
| 5731 | name: "perfetto_src_trace_processor_sqlite_unittests", |
| 5732 | srcs: [ |
Lalit Maganti | 6585224 | 2019-11-22 17:33:23 +0000 | [diff] [blame] | 5733 | "src/trace_processor/sqlite/db_sqlite_table_unittest.cc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 5734 | "src/trace_processor/sqlite/query_constraints_unittest.cc", |
| 5735 | "src/trace_processor/sqlite/sqlite3_str_split_unittest.cc", |
| 5736 | ], |
| 5737 | } |
| 5738 | |
Mikhail Khokhlov | 692087e | 2019-12-11 10:53:45 +0000 | [diff] [blame] | 5739 | // GN: //src/trace_processor:storage_full |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 5740 | filegroup { |
Mikhail Khokhlov | 692087e | 2019-12-11 10:53:45 +0000 | [diff] [blame] | 5741 | name: "perfetto_src_trace_processor_storage_full", |
| 5742 | srcs: [ |
| 5743 | "src/trace_processor/importers/proto/graphics_event_module.cc", |
| 5744 | "src/trace_processor/importers/proto/graphics_event_parser.cc", |
| 5745 | "src/trace_processor/importers/proto/vulkan_memory_tracker.cc", |
| 5746 | "src/trace_processor/register_additional_modules.cc", |
| 5747 | ], |
| 5748 | } |
| 5749 | |
| 5750 | // GN: //src/trace_processor:storage_minimal |
| 5751 | filegroup { |
| 5752 | name: "perfetto_src_trace_processor_storage_minimal", |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 5753 | srcs: [ |
| 5754 | "src/trace_processor/args_tracker.cc", |
| 5755 | "src/trace_processor/binder_tracker.cc", |
| 5756 | "src/trace_processor/clock_tracker.cc", |
| 5757 | "src/trace_processor/event_tracker.cc", |
| 5758 | "src/trace_processor/forwarding_trace_parser.cc", |
| 5759 | "src/trace_processor/ftrace_utils.cc", |
| 5760 | "src/trace_processor/gzip_trace_parser.cc", |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 5761 | "src/trace_processor/heap_profile_tracker.cc", |
| 5762 | "src/trace_processor/importers/ftrace/ftrace_descriptors.cc", |
Mikhail Khokhlov | dd1db00 | 2019-12-09 16:34:07 +0000 | [diff] [blame] | 5763 | "src/trace_processor/importers/ftrace/ftrace_module.cc", |
| 5764 | "src/trace_processor/importers/ftrace/ftrace_module_impl.cc", |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 5765 | "src/trace_processor/importers/ftrace/ftrace_parser.cc", |
| 5766 | "src/trace_processor/importers/ftrace/ftrace_tokenizer.cc", |
| 5767 | "src/trace_processor/importers/ftrace/sched_event_tracker.cc", |
| 5768 | "src/trace_processor/importers/fuchsia/fuchsia_provider_view.cc", |
| 5769 | "src/trace_processor/importers/fuchsia/fuchsia_trace_parser.cc", |
| 5770 | "src/trace_processor/importers/fuchsia/fuchsia_trace_tokenizer.cc", |
| 5771 | "src/trace_processor/importers/fuchsia/fuchsia_trace_utils.cc", |
Mikhail Khokhlov | 96248ff | 2019-12-09 11:05:49 +0000 | [diff] [blame] | 5772 | "src/trace_processor/importers/proto/android_probes_module.cc", |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 5773 | "src/trace_processor/importers/proto/android_probes_parser.cc", |
Stephen Nusko | bc76a6c | 2019-12-03 11:55:27 +0000 | [diff] [blame] | 5774 | "src/trace_processor/importers/proto/args_table_utils.cc", |
Eric Seckler | c165b87 | 2019-11-04 14:26:25 +0000 | [diff] [blame] | 5775 | "src/trace_processor/importers/proto/heap_graph_module.cc", |
| 5776 | "src/trace_processor/importers/proto/heap_graph_tracker.cc", |
| 5777 | "src/trace_processor/importers/proto/heap_graph_walker.cc", |
Mikhail Khokhlov | 785af54 | 2019-12-06 13:45:10 +0000 | [diff] [blame] | 5778 | "src/trace_processor/importers/proto/proto_importer_module.cc", |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 5779 | "src/trace_processor/importers/proto/proto_trace_parser.cc", |
| 5780 | "src/trace_processor/importers/proto/proto_trace_tokenizer.cc", |
Mikhail Khokhlov | 71822c7 | 2019-12-09 11:04:11 +0000 | [diff] [blame] | 5781 | "src/trace_processor/importers/proto/system_probes_module.cc", |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 5782 | "src/trace_processor/importers/proto/system_probes_parser.cc", |
Mikhail Khokhlov | 4b5de1a | 2019-12-06 16:33:56 +0000 | [diff] [blame] | 5783 | "src/trace_processor/importers/proto/track_event_module.cc", |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 5784 | "src/trace_processor/importers/proto/track_event_parser.cc", |
| 5785 | "src/trace_processor/importers/proto/track_event_tokenizer.cc", |
| 5786 | "src/trace_processor/importers/systrace/systrace_parser.cc", |
| 5787 | "src/trace_processor/importers/systrace/systrace_trace_parser.cc", |
| 5788 | "src/trace_processor/process_tracker.cc", |
| 5789 | "src/trace_processor/slice_tracker.cc", |
| 5790 | "src/trace_processor/stack_profile_tracker.cc", |
| 5791 | "src/trace_processor/syscall_tracker.cc", |
| 5792 | "src/trace_processor/trace_processor_context.cc", |
| 5793 | "src/trace_processor/trace_processor_storage.cc", |
| 5794 | "src/trace_processor/trace_processor_storage_impl.cc", |
| 5795 | "src/trace_processor/trace_sorter.cc", |
| 5796 | "src/trace_processor/trace_storage.cc", |
| 5797 | "src/trace_processor/track_tracker.cc", |
| 5798 | "src/trace_processor/virtual_destructors.cc", |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 5799 | ], |
| 5800 | } |
| 5801 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 5802 | // GN: //src/trace_processor/tables:tables |
| 5803 | filegroup { |
| 5804 | name: "perfetto_src_trace_processor_tables_tables", |
| 5805 | } |
| 5806 | |
| 5807 | // GN: //src/trace_processor/tables:unittests |
| 5808 | filegroup { |
| 5809 | name: "perfetto_src_trace_processor_tables_unittests", |
| 5810 | srcs: [ |
| 5811 | "src/trace_processor/tables/macros_unittest.cc", |
| 5812 | ], |
| 5813 | } |
| 5814 | |
| 5815 | // GN: //src/trace_processor:unittests |
| 5816 | filegroup { |
| 5817 | name: "perfetto_src_trace_processor_unittests", |
| 5818 | srcs: [ |
| 5819 | "src/trace_processor/args_table_unittest.cc", |
| 5820 | "src/trace_processor/clock_tracker_unittest.cc", |
| 5821 | "src/trace_processor/event_tracker_unittest.cc", |
| 5822 | "src/trace_processor/filtered_row_index_unittest.cc", |
| 5823 | "src/trace_processor/forwarding_trace_parser_unittest.cc", |
| 5824 | "src/trace_processor/ftrace_utils_unittest.cc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 5825 | "src/trace_processor/heap_profile_tracker_unittest.cc", |
Eric Seckler | d8b5208 | 2019-10-17 15:58:38 +0100 | [diff] [blame] | 5826 | "src/trace_processor/importers/fuchsia/fuchsia_trace_utils_unittest.cc", |
Stephen Nusko | bc76a6c | 2019-12-03 11:55:27 +0000 | [diff] [blame] | 5827 | "src/trace_processor/importers/proto/args_table_utils_unittest.cc", |
Eric Seckler | c165b87 | 2019-11-04 14:26:25 +0000 | [diff] [blame] | 5828 | "src/trace_processor/importers/proto/heap_graph_walker_unittest.cc", |
Eric Seckler | 137a467 | 2019-10-24 08:51:14 +0100 | [diff] [blame] | 5829 | "src/trace_processor/importers/proto/proto_trace_parser_unittest.cc", |
Eric Seckler | d8b5208 | 2019-10-17 15:58:38 +0100 | [diff] [blame] | 5830 | "src/trace_processor/importers/systrace/systrace_parser_unittest.cc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 5831 | "src/trace_processor/metadata_table_unittest.cc", |
| 5832 | "src/trace_processor/null_term_string_view_unittest.cc", |
| 5833 | "src/trace_processor/process_table_unittest.cc", |
| 5834 | "src/trace_processor/process_tracker_unittest.cc", |
Stephen Nusko | 279fb0e | 2019-12-12 16:51:55 +0000 | [diff] [blame] | 5835 | "src/trace_processor/protozero_to_text_unittests.cc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 5836 | "src/trace_processor/sched_slice_table_unittest.cc", |
| 5837 | "src/trace_processor/slice_tracker_unittest.cc", |
| 5838 | "src/trace_processor/span_join_operator_table_unittest.cc", |
| 5839 | "src/trace_processor/string_pool_unittest.cc", |
| 5840 | "src/trace_processor/syscall_tracker_unittest.cc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 5841 | "src/trace_processor/thread_table_unittest.cc", |
| 5842 | "src/trace_processor/trace_sorter_unittest.cc", |
| 5843 | ], |
| 5844 | } |
| 5845 | |
| 5846 | // GN: //src/traced/probes/android_log:android_log |
| 5847 | filegroup { |
| 5848 | name: "perfetto_src_traced_probes_android_log_android_log", |
| 5849 | srcs: [ |
| 5850 | "src/traced/probes/android_log/android_log_data_source.cc", |
| 5851 | ], |
| 5852 | } |
| 5853 | |
| 5854 | // GN: //src/traced/probes/android_log:unittests |
| 5855 | filegroup { |
| 5856 | name: "perfetto_src_traced_probes_android_log_unittests", |
| 5857 | srcs: [ |
| 5858 | "src/traced/probes/android_log/android_log_data_source_unittest.cc", |
| 5859 | ], |
| 5860 | } |
| 5861 | |
| 5862 | // GN: //src/traced/probes:data_source |
| 5863 | filegroup { |
| 5864 | name: "perfetto_src_traced_probes_data_source", |
| 5865 | srcs: [ |
| 5866 | "src/traced/probes/probes_data_source.cc", |
| 5867 | ], |
| 5868 | } |
| 5869 | |
| 5870 | // GN: //src/traced/probes/filesystem:filesystem |
| 5871 | filegroup { |
| 5872 | name: "perfetto_src_traced_probes_filesystem_filesystem", |
| 5873 | srcs: [ |
| 5874 | "src/traced/probes/filesystem/file_scanner.cc", |
| 5875 | "src/traced/probes/filesystem/fs_mount.cc", |
| 5876 | "src/traced/probes/filesystem/inode_file_data_source.cc", |
| 5877 | "src/traced/probes/filesystem/lru_inode_cache.cc", |
| 5878 | "src/traced/probes/filesystem/prefix_finder.cc", |
| 5879 | "src/traced/probes/filesystem/range_tree.cc", |
| 5880 | ], |
| 5881 | } |
| 5882 | |
| 5883 | // GN: //src/traced/probes/filesystem:unittests |
| 5884 | filegroup { |
| 5885 | name: "perfetto_src_traced_probes_filesystem_unittests", |
| 5886 | srcs: [ |
| 5887 | "src/traced/probes/filesystem/file_scanner_unittest.cc", |
| 5888 | "src/traced/probes/filesystem/fs_mount_unittest.cc", |
| 5889 | "src/traced/probes/filesystem/inode_file_data_source_unittest.cc", |
| 5890 | "src/traced/probes/filesystem/lru_inode_cache_unittest.cc", |
| 5891 | "src/traced/probes/filesystem/prefix_finder_unittest.cc", |
| 5892 | "src/traced/probes/filesystem/range_tree_unittest.cc", |
| 5893 | ], |
| 5894 | } |
| 5895 | |
| 5896 | // GN: //src/traced/probes/ftrace:format_parser |
| 5897 | filegroup { |
| 5898 | name: "perfetto_src_traced_probes_ftrace_format_parser", |
| 5899 | srcs: [ |
| 5900 | "src/traced/probes/ftrace/format_parser.cc", |
| 5901 | ], |
| 5902 | } |
| 5903 | |
| 5904 | // GN: //src/traced/probes/ftrace:ftrace |
| 5905 | filegroup { |
| 5906 | name: "perfetto_src_traced_probes_ftrace_ftrace", |
| 5907 | srcs: [ |
| 5908 | "src/traced/probes/ftrace/atrace_hal_wrapper.cc", |
| 5909 | "src/traced/probes/ftrace/atrace_wrapper.cc", |
| 5910 | "src/traced/probes/ftrace/compact_sched.cc", |
| 5911 | "src/traced/probes/ftrace/cpu_reader.cc", |
| 5912 | "src/traced/probes/ftrace/cpu_stats_parser.cc", |
| 5913 | "src/traced/probes/ftrace/event_info.cc", |
| 5914 | "src/traced/probes/ftrace/event_info_constants.cc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 5915 | "src/traced/probes/ftrace/ftrace_config_muxer.cc", |
| 5916 | "src/traced/probes/ftrace/ftrace_config_utils.cc", |
| 5917 | "src/traced/probes/ftrace/ftrace_controller.cc", |
| 5918 | "src/traced/probes/ftrace/ftrace_data_source.cc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 5919 | "src/traced/probes/ftrace/ftrace_procfs.cc", |
| 5920 | "src/traced/probes/ftrace/ftrace_stats.cc", |
| 5921 | "src/traced/probes/ftrace/proto_translation_table.cc", |
| 5922 | ], |
| 5923 | } |
| 5924 | |
| 5925 | // GN: //src/traced/probes/ftrace:integrationtests |
| 5926 | filegroup { |
| 5927 | name: "perfetto_src_traced_probes_ftrace_integrationtests", |
| 5928 | srcs: [ |
| 5929 | "src/traced/probes/ftrace/ftrace_procfs_integrationtest.cc", |
| 5930 | ], |
| 5931 | } |
| 5932 | |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 5933 | // GN: //src/traced/probes/ftrace:test_messages_cpp |
| 5934 | genrule { |
| 5935 | name: "perfetto_src_traced_probes_ftrace_test_messages_cpp_gen", |
| 5936 | srcs: [ |
| 5937 | "src/traced/probes/ftrace/test/test_messages.proto", |
| 5938 | ], |
| 5939 | tools: [ |
| 5940 | "aprotoc", |
| 5941 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 5942 | ], |
| 5943 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
| 5944 | out: [ |
| 5945 | "external/perfetto/src/traced/probes/ftrace/test/test_messages.gen.cc", |
| 5946 | ], |
| 5947 | } |
| 5948 | |
| 5949 | // GN: //src/traced/probes/ftrace:test_messages_cpp |
| 5950 | genrule { |
| 5951 | name: "perfetto_src_traced_probes_ftrace_test_messages_cpp_gen_headers", |
| 5952 | srcs: [ |
| 5953 | "src/traced/probes/ftrace/test/test_messages.proto", |
| 5954 | ], |
| 5955 | tools: [ |
| 5956 | "aprotoc", |
| 5957 | "perfetto_src_protozero_protoc_plugin_cppgen_plugin", |
| 5958 | ], |
| 5959 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_cppgen_plugin) --plugin_out=wrapper_namespace=gen:$(genDir)/external/perfetto/ $(in)", |
| 5960 | out: [ |
| 5961 | "external/perfetto/src/traced/probes/ftrace/test/test_messages.gen.h", |
| 5962 | ], |
| 5963 | export_include_dirs: [ |
| 5964 | ".", |
| 5965 | "protos", |
| 5966 | ], |
| 5967 | } |
| 5968 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 5969 | // GN: //src/traced/probes/ftrace:test_messages_lite |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 5970 | genrule { |
| 5971 | name: "perfetto_src_traced_probes_ftrace_test_messages_lite_gen", |
| 5972 | srcs: [ |
| 5973 | "src/traced/probes/ftrace/test/test_messages.proto", |
| 5974 | ], |
| 5975 | tools: [ |
| 5976 | "aprotoc", |
| 5977 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 5978 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 5979 | out: [ |
| 5980 | "external/perfetto/src/traced/probes/ftrace/test/test_messages.pb.cc", |
| 5981 | ], |
| 5982 | } |
| 5983 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 5984 | // GN: //src/traced/probes/ftrace:test_messages_lite |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 5985 | genrule { |
| 5986 | name: "perfetto_src_traced_probes_ftrace_test_messages_lite_gen_headers", |
| 5987 | srcs: [ |
| 5988 | "src/traced/probes/ftrace/test/test_messages.proto", |
| 5989 | ], |
| 5990 | tools: [ |
| 5991 | "aprotoc", |
| 5992 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 5993 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --cpp_out=$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 5994 | out: [ |
| 5995 | "external/perfetto/src/traced/probes/ftrace/test/test_messages.pb.h", |
| 5996 | ], |
| 5997 | export_include_dirs: [ |
| 5998 | ".", |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 5999 | "protos", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 6000 | ], |
| 6001 | } |
| 6002 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 6003 | // GN: //src/traced/probes/ftrace:test_messages_zero |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 6004 | genrule { |
| 6005 | name: "perfetto_src_traced_probes_ftrace_test_messages_zero_gen", |
| 6006 | srcs: [ |
| 6007 | "src/traced/probes/ftrace/test/test_messages.proto", |
| 6008 | ], |
| 6009 | tools: [ |
| 6010 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 6011 | "protozero_plugin", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 6012 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 6013 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 6014 | out: [ |
| 6015 | "external/perfetto/src/traced/probes/ftrace/test/test_messages.pbzero.cc", |
| 6016 | ], |
| 6017 | } |
| 6018 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 6019 | // GN: //src/traced/probes/ftrace:test_messages_zero |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 6020 | genrule { |
| 6021 | name: "perfetto_src_traced_probes_ftrace_test_messages_zero_gen_headers", |
| 6022 | srcs: [ |
| 6023 | "src/traced/probes/ftrace/test/test_messages.proto", |
| 6024 | ], |
| 6025 | tools: [ |
| 6026 | "aprotoc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 6027 | "protozero_plugin", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 6028 | ], |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 6029 | cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(in)", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 6030 | out: [ |
| 6031 | "external/perfetto/src/traced/probes/ftrace/test/test_messages.pbzero.h", |
| 6032 | ], |
| 6033 | export_include_dirs: [ |
| 6034 | ".", |
Primiano Tucci | 355b8c8 | 2019-08-29 08:37:51 +0200 | [diff] [blame] | 6035 | "protos", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 6036 | ], |
| 6037 | } |
| 6038 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 6039 | // GN: //src/traced/probes/ftrace:test_support |
| 6040 | filegroup { |
| 6041 | name: "perfetto_src_traced_probes_ftrace_test_support", |
| 6042 | srcs: [ |
| 6043 | "src/traced/probes/ftrace/test/cpu_reader_support.cc", |
| 6044 | ], |
| 6045 | } |
| 6046 | |
| 6047 | // GN: //src/traced/probes/ftrace:unittests |
| 6048 | filegroup { |
| 6049 | name: "perfetto_src_traced_probes_ftrace_unittests", |
| 6050 | srcs: [ |
| 6051 | "src/traced/probes/ftrace/cpu_reader_unittest.cc", |
| 6052 | "src/traced/probes/ftrace/cpu_stats_parser_unittest.cc", |
| 6053 | "src/traced/probes/ftrace/event_info_unittest.cc", |
| 6054 | "src/traced/probes/ftrace/format_parser_unittest.cc", |
| 6055 | "src/traced/probes/ftrace/ftrace_config_muxer_unittest.cc", |
| 6056 | "src/traced/probes/ftrace/ftrace_config_unittest.cc", |
| 6057 | "src/traced/probes/ftrace/ftrace_controller_unittest.cc", |
| 6058 | "src/traced/probes/ftrace/ftrace_procfs_unittest.cc", |
| 6059 | "src/traced/probes/ftrace/proto_translation_table_unittest.cc", |
| 6060 | ], |
| 6061 | } |
| 6062 | |
| 6063 | // GN: //src/traced/probes/metatrace:metatrace |
| 6064 | filegroup { |
| 6065 | name: "perfetto_src_traced_probes_metatrace_metatrace", |
| 6066 | srcs: [ |
| 6067 | "src/traced/probes/metatrace/metatrace_data_source.cc", |
| 6068 | ], |
| 6069 | } |
| 6070 | |
| 6071 | // GN: //src/traced/probes/packages_list:packages_list |
| 6072 | filegroup { |
| 6073 | name: "perfetto_src_traced_probes_packages_list_packages_list", |
| 6074 | srcs: [ |
| 6075 | "src/traced/probes/packages_list/packages_list_data_source.cc", |
| 6076 | ], |
| 6077 | } |
| 6078 | |
| 6079 | // GN: //src/traced/probes/packages_list:unittests |
| 6080 | filegroup { |
| 6081 | name: "perfetto_src_traced_probes_packages_list_unittests", |
| 6082 | srcs: [ |
| 6083 | "src/traced/probes/packages_list/packages_list_data_source_unittest.cc", |
| 6084 | ], |
| 6085 | } |
| 6086 | |
| 6087 | // GN: //src/traced/probes/power:power |
| 6088 | filegroup { |
| 6089 | name: "perfetto_src_traced_probes_power_power", |
| 6090 | srcs: [ |
| 6091 | "src/traced/probes/power/android_power_data_source.cc", |
| 6092 | ], |
| 6093 | } |
| 6094 | |
| 6095 | // GN: //src/traced/probes:probes |
| 6096 | filegroup { |
| 6097 | name: "perfetto_src_traced_probes_probes", |
| 6098 | srcs: [ |
| 6099 | "src/traced/probes/probes.cc", |
| 6100 | ], |
| 6101 | } |
| 6102 | |
| 6103 | // GN: //src/traced/probes:probes_src |
| 6104 | filegroup { |
| 6105 | name: "perfetto_src_traced_probes_probes_src", |
| 6106 | srcs: [ |
| 6107 | "src/traced/probes/probes_producer.cc", |
| 6108 | ], |
| 6109 | } |
| 6110 | |
| 6111 | // GN: //src/traced/probes/ps:ps |
| 6112 | filegroup { |
| 6113 | name: "perfetto_src_traced_probes_ps_ps", |
| 6114 | srcs: [ |
| 6115 | "src/traced/probes/ps/process_stats_data_source.cc", |
| 6116 | ], |
| 6117 | } |
| 6118 | |
| 6119 | // GN: //src/traced/probes/ps:unittests |
| 6120 | filegroup { |
| 6121 | name: "perfetto_src_traced_probes_ps_unittests", |
| 6122 | srcs: [ |
| 6123 | "src/traced/probes/ps/process_stats_data_source_unittest.cc", |
| 6124 | ], |
| 6125 | } |
| 6126 | |
| 6127 | // GN: //src/traced/probes/sys_stats:sys_stats |
| 6128 | filegroup { |
| 6129 | name: "perfetto_src_traced_probes_sys_stats_sys_stats", |
| 6130 | srcs: [ |
| 6131 | "src/traced/probes/sys_stats/sys_stats_data_source.cc", |
| 6132 | ], |
| 6133 | } |
| 6134 | |
| 6135 | // GN: //src/traced/probes/sys_stats:unittests |
| 6136 | filegroup { |
| 6137 | name: "perfetto_src_traced_probes_sys_stats_unittests", |
| 6138 | srcs: [ |
| 6139 | "src/traced/probes/sys_stats/sys_stats_data_source_unittest.cc", |
| 6140 | ], |
| 6141 | } |
| 6142 | |
| 6143 | // GN: //src/traced/probes:unittests |
| 6144 | filegroup { |
| 6145 | name: "perfetto_src_traced_probes_unittests", |
| 6146 | } |
| 6147 | |
| 6148 | // GN: //src/traced/service:service |
| 6149 | filegroup { |
| 6150 | name: "perfetto_src_traced_service_service", |
| 6151 | srcs: [ |
| 6152 | "src/traced/service/builtin_producer.cc", |
| 6153 | "src/traced/service/service.cc", |
| 6154 | ], |
| 6155 | } |
| 6156 | |
| 6157 | // GN: //src/traced/service:unittests |
| 6158 | filegroup { |
| 6159 | name: "perfetto_src_traced_service_unittests", |
| 6160 | srcs: [ |
| 6161 | "src/traced/service/builtin_producer_unittest.cc", |
| 6162 | ], |
| 6163 | } |
| 6164 | |
| 6165 | // GN: //src/tracing:client_api |
| 6166 | filegroup { |
| 6167 | name: "perfetto_src_tracing_client_api", |
| 6168 | srcs: [ |
| 6169 | "src/tracing/data_source.cc", |
Sami Kyostila | 29ff844 | 2019-11-26 16:05:13 +0000 | [diff] [blame] | 6170 | "src/tracing/debug_annotation.cc", |
Sami Kyostila | 10b270a | 2019-11-19 19:12:03 +0000 | [diff] [blame] | 6171 | "src/tracing/event_context.cc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 6172 | "src/tracing/internal/in_process_tracing_backend.cc", |
| 6173 | "src/tracing/internal/system_tracing_backend.cc", |
| 6174 | "src/tracing/internal/tracing_muxer_impl.cc", |
Sami Kyostila | 1eebf5e | 2019-10-24 17:36:15 +0100 | [diff] [blame] | 6175 | "src/tracing/internal/track_event_internal.cc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 6176 | "src/tracing/platform.cc", |
| 6177 | "src/tracing/tracing.cc", |
Sami Kyostila | 1eebf5e | 2019-10-24 17:36:15 +0100 | [diff] [blame] | 6178 | "src/tracing/track_event_category_registry.cc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 6179 | "src/tracing/virtual_destructors.cc", |
| 6180 | ], |
| 6181 | } |
| 6182 | |
| 6183 | // GN: //src/tracing:client_api_integrationtests |
| 6184 | filegroup { |
| 6185 | name: "perfetto_src_tracing_client_api_integrationtests", |
| 6186 | srcs: [ |
| 6187 | "src/tracing/api_integrationtest.cc", |
Sami Kyostila | 1eebf5e | 2019-10-24 17:36:15 +0100 | [diff] [blame] | 6188 | "src/tracing/test/tracing_module.cc", |
| 6189 | "src/tracing/test/tracing_module2.cc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 6190 | ], |
| 6191 | } |
| 6192 | |
| 6193 | // GN: //src/tracing:common |
| 6194 | filegroup { |
| 6195 | name: "perfetto_src_tracing_common", |
| 6196 | srcs: [ |
| 6197 | "src/tracing/trace_writer_base.cc", |
| 6198 | ], |
| 6199 | } |
| 6200 | |
| 6201 | // GN: //src/tracing:consumer_api_deprecated |
| 6202 | filegroup { |
| 6203 | name: "perfetto_src_tracing_consumer_api_deprecated", |
| 6204 | srcs: [ |
| 6205 | "src/tracing/api_impl/consumer_api.cc", |
| 6206 | ], |
| 6207 | } |
| 6208 | |
| 6209 | // GN: //src/tracing:ipc |
| 6210 | filegroup { |
| 6211 | name: "perfetto_src_tracing_ipc", |
| 6212 | srcs: [ |
| 6213 | "src/tracing/ipc/consumer/consumer_ipc_client_impl.cc", |
| 6214 | "src/tracing/ipc/default_socket.cc", |
| 6215 | "src/tracing/ipc/posix_shared_memory.cc", |
| 6216 | "src/tracing/ipc/producer/producer_ipc_client_impl.cc", |
| 6217 | "src/tracing/ipc/service/consumer_ipc_service.cc", |
| 6218 | "src/tracing/ipc/service/producer_ipc_service.cc", |
| 6219 | "src/tracing/ipc/service/service_ipc_host_impl.cc", |
| 6220 | ], |
| 6221 | } |
| 6222 | |
| 6223 | // GN: //src/tracing:platform_posix |
| 6224 | filegroup { |
| 6225 | name: "perfetto_src_tracing_platform_posix", |
| 6226 | srcs: [ |
| 6227 | "src/tracing/platform_posix.cc", |
| 6228 | ], |
| 6229 | } |
| 6230 | |
Primiano Tucci | ba784e5 | 2019-11-13 07:04:52 -0800 | [diff] [blame] | 6231 | // GN: //src/tracing:sliced_protobuf_input_stream |
| 6232 | filegroup { |
| 6233 | name: "perfetto_src_tracing_sliced_protobuf_input_stream", |
| 6234 | srcs: [ |
| 6235 | "src/tracing/core/sliced_protobuf_input_stream.cc", |
| 6236 | ], |
| 6237 | } |
| 6238 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 6239 | // GN: //src/tracing/test:api_test_support |
| 6240 | filegroup { |
| 6241 | name: "perfetto_src_tracing_test_api_test_support", |
| 6242 | srcs: [ |
| 6243 | "src/tracing/test/api_test_support.cc", |
| 6244 | ], |
| 6245 | } |
| 6246 | |
| 6247 | // GN: //src/tracing:test_support |
| 6248 | filegroup { |
| 6249 | name: "perfetto_src_tracing_test_support", |
| 6250 | srcs: [ |
| 6251 | "src/tracing/core/trace_writer_for_testing.cc", |
| 6252 | ], |
| 6253 | } |
| 6254 | |
| 6255 | // GN: //src/tracing:tracing |
| 6256 | filegroup { |
| 6257 | name: "perfetto_src_tracing_tracing", |
| 6258 | srcs: [ |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 6259 | "src/tracing/core/id_allocator.cc", |
| 6260 | "src/tracing/core/metatrace_writer.cc", |
| 6261 | "src/tracing/core/null_trace_writer.cc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 6262 | "src/tracing/core/packet_stream_validator.cc", |
| 6263 | "src/tracing/core/shared_memory_abi.cc", |
| 6264 | "src/tracing/core/shared_memory_arbiter_impl.cc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 6265 | "src/tracing/core/startup_trace_writer.cc", |
| 6266 | "src/tracing/core/startup_trace_writer_registry.cc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 6267 | "src/tracing/core/trace_buffer.cc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 6268 | "src/tracing/core/trace_packet.cc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 6269 | "src/tracing/core/trace_writer_impl.cc", |
| 6270 | "src/tracing/core/tracing_service_impl.cc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 6271 | "src/tracing/core/virtual_destructors.cc", |
| 6272 | ], |
| 6273 | } |
| 6274 | |
| 6275 | // GN: //src/tracing:unittests |
| 6276 | filegroup { |
| 6277 | name: "perfetto_src_tracing_unittests", |
| 6278 | srcs: [ |
| 6279 | "src/tracing/core/id_allocator_unittest.cc", |
| 6280 | "src/tracing/core/null_trace_writer_unittest.cc", |
| 6281 | "src/tracing/core/packet_stream_validator_unittest.cc", |
| 6282 | "src/tracing/core/patch_list_unittest.cc", |
| 6283 | "src/tracing/core/shared_memory_abi_unittest.cc", |
| 6284 | "src/tracing/core/shared_memory_arbiter_impl_unittest.cc", |
| 6285 | "src/tracing/core/sliced_protobuf_input_stream_unittest.cc", |
| 6286 | "src/tracing/core/startup_trace_writer_unittest.cc", |
| 6287 | "src/tracing/core/trace_buffer_unittest.cc", |
| 6288 | "src/tracing/core/trace_packet_unittest.cc", |
| 6289 | "src/tracing/core/trace_writer_impl_unittest.cc", |
| 6290 | "src/tracing/core/tracing_service_impl_unittest.cc", |
| 6291 | "src/tracing/ipc/posix_shared_memory_unittest.cc", |
| 6292 | "src/tracing/test/aligned_buffer_test.cc", |
| 6293 | "src/tracing/test/fake_packet.cc", |
| 6294 | "src/tracing/test/mock_consumer.cc", |
| 6295 | "src/tracing/test/mock_producer.cc", |
| 6296 | "src/tracing/test/test_shared_memory.cc", |
| 6297 | "src/tracing/test/tracing_integration_test.cc", |
| 6298 | ], |
| 6299 | } |
| 6300 | |
| 6301 | // GN: //test:end_to_end_integrationtests |
| 6302 | filegroup { |
| 6303 | name: "perfetto_test_end_to_end_integrationtests", |
| 6304 | srcs: [ |
| 6305 | "test/end_to_end_integrationtest.cc", |
| 6306 | ], |
| 6307 | } |
| 6308 | |
| 6309 | // GN: //test:task_runner_thread |
| 6310 | filegroup { |
| 6311 | name: "perfetto_test_task_runner_thread", |
| 6312 | srcs: [ |
| 6313 | "test/task_runner_thread.cc", |
| 6314 | ], |
| 6315 | } |
| 6316 | |
| 6317 | // GN: //test:task_runner_thread_delegates |
| 6318 | filegroup { |
| 6319 | name: "perfetto_test_task_runner_thread_delegates", |
| 6320 | srcs: [ |
| 6321 | "test/fake_producer.cc", |
| 6322 | "test/task_runner_thread_delegates.cc", |
| 6323 | ], |
| 6324 | } |
| 6325 | |
| 6326 | // GN: //test:test_helper |
| 6327 | filegroup { |
| 6328 | name: "perfetto_test_test_helper", |
| 6329 | srcs: [ |
| 6330 | "test/test_helper.cc", |
| 6331 | ], |
| 6332 | } |
| 6333 | |
| 6334 | // GN: //tools/sanitizers_unittests:sanitizers_unittests |
| 6335 | filegroup { |
| 6336 | name: "perfetto_tools_sanitizers_unittests_sanitizers_unittests", |
| 6337 | srcs: [ |
| 6338 | "tools/sanitizers_unittests/sanitizers_unittest.cc", |
| 6339 | ], |
| 6340 | } |
| 6341 | |
| 6342 | // GN: //tools/trace_to_text:common |
| 6343 | filegroup { |
| 6344 | name: "perfetto_tools_trace_to_text_common", |
| 6345 | srcs: [ |
Florian Mayer | 3be55fb | 2019-11-22 13:08:47 +0000 | [diff] [blame] | 6346 | "tools/trace_to_text/deobfuscate_profile.cc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 6347 | "tools/trace_to_text/main.cc", |
| 6348 | "tools/trace_to_text/symbolize_profile.cc", |
Eric Seckler | a60a6b4 | 2019-10-07 10:35:48 +0100 | [diff] [blame] | 6349 | "tools/trace_to_text/trace_to_json.cc", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 6350 | "tools/trace_to_text/trace_to_profile.cc", |
| 6351 | "tools/trace_to_text/trace_to_systrace.cc", |
| 6352 | ], |
| 6353 | } |
| 6354 | |
| 6355 | // GN: //tools/trace_to_text:full |
| 6356 | filegroup { |
| 6357 | name: "perfetto_tools_trace_to_text_full", |
| 6358 | srcs: [ |
| 6359 | "tools/trace_to_text/proto_full_utils.cc", |
| 6360 | "tools/trace_to_text/trace_to_text.cc", |
| 6361 | ], |
| 6362 | } |
| 6363 | |
| 6364 | // GN: //tools/trace_to_text:local_symbolizer |
| 6365 | filegroup { |
| 6366 | name: "perfetto_tools_trace_to_text_local_symbolizer", |
| 6367 | srcs: [ |
| 6368 | "tools/trace_to_text/local_symbolizer.cc", |
| 6369 | ], |
| 6370 | } |
| 6371 | |
| 6372 | // GN: //tools/trace_to_text:pprofbuilder |
| 6373 | filegroup { |
| 6374 | name: "perfetto_tools_trace_to_text_pprofbuilder", |
| 6375 | srcs: [ |
| 6376 | "tools/trace_to_text/pprof_builder.cc", |
| 6377 | ], |
| 6378 | } |
| 6379 | |
| 6380 | // GN: //tools/trace_to_text:symbolizer |
| 6381 | filegroup { |
| 6382 | name: "perfetto_tools_trace_to_text_symbolizer", |
| 6383 | srcs: [ |
| 6384 | "tools/trace_to_text/symbolizer.cc", |
| 6385 | ], |
| 6386 | } |
| 6387 | |
| 6388 | // GN: //tools/trace_to_text:utils |
| 6389 | filegroup { |
| 6390 | name: "perfetto_tools_trace_to_text_utils", |
| 6391 | srcs: [ |
| 6392 | "tools/trace_to_text/utils.cc", |
| 6393 | ], |
| 6394 | } |
| 6395 | |
| 6396 | // GN: //protos/perfetto/trace:perfetto_trace_protos |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 6397 | cc_library_static { |
| 6398 | name: "perfetto_trace_protos", |
| 6399 | srcs: [ |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 6400 | ":perfetto_protos_perfetto_common_lite_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 6401 | ":perfetto_protos_perfetto_config_android_lite_gen", |
| 6402 | ":perfetto_protos_perfetto_config_ftrace_lite_gen", |
| 6403 | ":perfetto_protos_perfetto_config_gpu_lite_gen", |
| 6404 | ":perfetto_protos_perfetto_config_inode_file_lite_gen", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 6405 | ":perfetto_protos_perfetto_config_lite_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 6406 | ":perfetto_protos_perfetto_config_power_lite_gen", |
| 6407 | ":perfetto_protos_perfetto_config_process_stats_lite_gen", |
| 6408 | ":perfetto_protos_perfetto_config_profiling_lite_gen", |
| 6409 | ":perfetto_protos_perfetto_config_sys_stats_lite_gen", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 6410 | ":perfetto_protos_perfetto_trace_android_lite_gen", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 6411 | ":perfetto_protos_perfetto_trace_chrome_lite_gen", |
| 6412 | ":perfetto_protos_perfetto_trace_filesystem_lite_gen", |
| 6413 | ":perfetto_protos_perfetto_trace_ftrace_lite_gen", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 6414 | ":perfetto_protos_perfetto_trace_gpu_lite_gen", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 6415 | ":perfetto_protos_perfetto_trace_interned_data_lite_gen", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 6416 | ":perfetto_protos_perfetto_trace_minimal_lite_gen", |
Primiano Tucci | 75ae50e | 2019-08-28 13:09:55 +0200 | [diff] [blame] | 6417 | ":perfetto_protos_perfetto_trace_non_minimal_lite_gen", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 6418 | ":perfetto_protos_perfetto_trace_perfetto_lite_gen", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 6419 | ":perfetto_protos_perfetto_trace_power_lite_gen", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 6420 | ":perfetto_protos_perfetto_trace_profiling_lite_gen", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 6421 | ":perfetto_protos_perfetto_trace_ps_lite_gen", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 6422 | ":perfetto_protos_perfetto_trace_sys_stats_lite_gen", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 6423 | ":perfetto_protos_perfetto_trace_track_event_lite_gen", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 6424 | ], |
| 6425 | shared_libs: [ |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 6426 | "libprotobuf-cpp-lite", |
| 6427 | ], |
| 6428 | host_supported: true, |
| 6429 | export_include_dirs: [ |
| 6430 | "include", |
Primiano Tucci | 8e62744 | 2019-08-28 07:58:38 +0200 | [diff] [blame] | 6431 | "include/perfetto/base/build_configs/android_tree", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 6432 | ], |
| 6433 | generated_headers: [ |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 6434 | "perfetto_protos_perfetto_common_lite_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 6435 | "perfetto_protos_perfetto_config_android_lite_gen_headers", |
| 6436 | "perfetto_protos_perfetto_config_ftrace_lite_gen_headers", |
| 6437 | "perfetto_protos_perfetto_config_gpu_lite_gen_headers", |
| 6438 | "perfetto_protos_perfetto_config_inode_file_lite_gen_headers", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 6439 | "perfetto_protos_perfetto_config_lite_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 6440 | "perfetto_protos_perfetto_config_power_lite_gen_headers", |
| 6441 | "perfetto_protos_perfetto_config_process_stats_lite_gen_headers", |
| 6442 | "perfetto_protos_perfetto_config_profiling_lite_gen_headers", |
| 6443 | "perfetto_protos_perfetto_config_sys_stats_lite_gen_headers", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 6444 | "perfetto_protos_perfetto_trace_android_lite_gen_headers", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 6445 | "perfetto_protos_perfetto_trace_chrome_lite_gen_headers", |
| 6446 | "perfetto_protos_perfetto_trace_filesystem_lite_gen_headers", |
| 6447 | "perfetto_protos_perfetto_trace_ftrace_lite_gen_headers", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 6448 | "perfetto_protos_perfetto_trace_gpu_lite_gen_headers", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 6449 | "perfetto_protos_perfetto_trace_interned_data_lite_gen_headers", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 6450 | "perfetto_protos_perfetto_trace_minimal_lite_gen_headers", |
Primiano Tucci | 75ae50e | 2019-08-28 13:09:55 +0200 | [diff] [blame] | 6451 | "perfetto_protos_perfetto_trace_non_minimal_lite_gen_headers", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 6452 | "perfetto_protos_perfetto_trace_perfetto_lite_gen_headers", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 6453 | "perfetto_protos_perfetto_trace_power_lite_gen_headers", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 6454 | "perfetto_protos_perfetto_trace_profiling_lite_gen_headers", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 6455 | "perfetto_protos_perfetto_trace_ps_lite_gen_headers", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 6456 | "perfetto_protos_perfetto_trace_sys_stats_lite_gen_headers", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 6457 | "perfetto_protos_perfetto_trace_track_event_lite_gen_headers", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 6458 | ], |
| 6459 | export_generated_headers: [ |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 6460 | "perfetto_protos_perfetto_common_lite_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 6461 | "perfetto_protos_perfetto_config_android_lite_gen_headers", |
| 6462 | "perfetto_protos_perfetto_config_ftrace_lite_gen_headers", |
| 6463 | "perfetto_protos_perfetto_config_gpu_lite_gen_headers", |
| 6464 | "perfetto_protos_perfetto_config_inode_file_lite_gen_headers", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 6465 | "perfetto_protos_perfetto_config_lite_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 6466 | "perfetto_protos_perfetto_config_power_lite_gen_headers", |
| 6467 | "perfetto_protos_perfetto_config_process_stats_lite_gen_headers", |
| 6468 | "perfetto_protos_perfetto_config_profiling_lite_gen_headers", |
| 6469 | "perfetto_protos_perfetto_config_sys_stats_lite_gen_headers", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 6470 | "perfetto_protos_perfetto_trace_android_lite_gen_headers", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 6471 | "perfetto_protos_perfetto_trace_chrome_lite_gen_headers", |
| 6472 | "perfetto_protos_perfetto_trace_filesystem_lite_gen_headers", |
| 6473 | "perfetto_protos_perfetto_trace_ftrace_lite_gen_headers", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 6474 | "perfetto_protos_perfetto_trace_gpu_lite_gen_headers", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 6475 | "perfetto_protos_perfetto_trace_interned_data_lite_gen_headers", |
Primiano Tucci | 07e104d | 2018-04-03 20:45:35 +0200 | [diff] [blame] | 6476 | "perfetto_protos_perfetto_trace_minimal_lite_gen_headers", |
Primiano Tucci | 75ae50e | 2019-08-28 13:09:55 +0200 | [diff] [blame] | 6477 | "perfetto_protos_perfetto_trace_non_minimal_lite_gen_headers", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 6478 | "perfetto_protos_perfetto_trace_perfetto_lite_gen_headers", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 6479 | "perfetto_protos_perfetto_trace_power_lite_gen_headers", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 6480 | "perfetto_protos_perfetto_trace_profiling_lite_gen_headers", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 6481 | "perfetto_protos_perfetto_trace_ps_lite_gen_headers", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 6482 | "perfetto_protos_perfetto_trace_sys_stats_lite_gen_headers", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 6483 | "perfetto_protos_perfetto_trace_track_event_lite_gen_headers", |
Primiano Tucci | 6aa7557 | 2018-03-21 05:33:14 -0700 | [diff] [blame] | 6484 | ], |
| 6485 | defaults: [ |
| 6486 | "perfetto_defaults", |
| 6487 | ], |
| 6488 | cflags: [ |
| 6489 | "-DGOOGLE_PROTOBUF_NO_RTTI", |
| 6490 | "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
| 6491 | ], |
| 6492 | } |
| 6493 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 6494 | // GN: //:perfetto_unittests |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 6495 | cc_test { |
Lalit Maganti | 79f2d7b | 2018-01-23 18:27:33 +0000 | [diff] [blame] | 6496 | name: "perfetto_unittests", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 6497 | srcs: [ |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 6498 | ":perfetto_include_perfetto_base_base", |
| 6499 | ":perfetto_include_perfetto_ext_base_base", |
| 6500 | ":perfetto_include_perfetto_ext_ipc_ipc", |
| 6501 | ":perfetto_include_perfetto_ext_traced_sys_stats_counters", |
| 6502 | ":perfetto_include_perfetto_ext_traced_traced", |
| 6503 | ":perfetto_include_perfetto_ext_tracing_core_core", |
| 6504 | ":perfetto_include_perfetto_ext_tracing_ipc_ipc", |
Florian Mayer | 8237596 | 2019-11-20 16:45:28 +0000 | [diff] [blame] | 6505 | ":perfetto_include_perfetto_profiling_deobfuscator", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 6506 | ":perfetto_include_perfetto_profiling_normalize", |
| 6507 | ":perfetto_include_perfetto_protozero_protozero", |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 6508 | ":perfetto_include_perfetto_trace_processor_basic_types", |
| 6509 | ":perfetto_include_perfetto_trace_processor_storage", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 6510 | ":perfetto_include_perfetto_trace_processor_trace_processor", |
| 6511 | ":perfetto_include_perfetto_tracing_core_core", |
Primiano Tucci | cb8cea2 | 2019-11-22 11:05:35 +0000 | [diff] [blame] | 6512 | ":perfetto_include_perfetto_tracing_core_forward_decls", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 6513 | ":perfetto_include_perfetto_tracing_tracing", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 6514 | ":perfetto_protos_perfetto_common_cpp_gen", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 6515 | ":perfetto_protos_perfetto_common_zero_gen", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 6516 | ":perfetto_protos_perfetto_config_android_cpp_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 6517 | ":perfetto_protos_perfetto_config_android_zero_gen", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 6518 | ":perfetto_protos_perfetto_config_cpp_gen", |
| 6519 | ":perfetto_protos_perfetto_config_ftrace_cpp_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 6520 | ":perfetto_protos_perfetto_config_ftrace_zero_gen", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 6521 | ":perfetto_protos_perfetto_config_gpu_cpp_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 6522 | ":perfetto_protos_perfetto_config_gpu_zero_gen", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 6523 | ":perfetto_protos_perfetto_config_inode_file_cpp_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 6524 | ":perfetto_protos_perfetto_config_inode_file_zero_gen", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 6525 | ":perfetto_protos_perfetto_config_power_cpp_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 6526 | ":perfetto_protos_perfetto_config_power_zero_gen", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 6527 | ":perfetto_protos_perfetto_config_process_stats_cpp_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 6528 | ":perfetto_protos_perfetto_config_process_stats_zero_gen", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 6529 | ":perfetto_protos_perfetto_config_profiling_cpp_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 6530 | ":perfetto_protos_perfetto_config_profiling_zero_gen", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 6531 | ":perfetto_protos_perfetto_config_sys_stats_cpp_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 6532 | ":perfetto_protos_perfetto_config_sys_stats_zero_gen", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 6533 | ":perfetto_protos_perfetto_config_zero_gen", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 6534 | ":perfetto_protos_perfetto_ipc_cpp_gen", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 6535 | ":perfetto_protos_perfetto_ipc_ipc_gen", |
Primiano Tucci | b3e08d0 | 2019-11-19 11:10:11 +0000 | [diff] [blame] | 6536 | ":perfetto_protos_perfetto_ipc_wire_protocol_cpp_gen", |
Primiano Tucci | 02c1176 | 2019-08-30 00:57:59 +0200 | [diff] [blame] | 6537 | ":perfetto_protos_perfetto_metrics_android_zero_gen", |
| 6538 | ":perfetto_protos_perfetto_metrics_zero_gen", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 6539 | ":perfetto_protos_perfetto_trace_android_cpp_gen", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 6540 | ":perfetto_protos_perfetto_trace_android_zero_gen", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 6541 | ":perfetto_protos_perfetto_trace_chrome_cpp_gen", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 6542 | ":perfetto_protos_perfetto_trace_chrome_zero_gen", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 6543 | ":perfetto_protos_perfetto_trace_filesystem_cpp_gen", |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 6544 | ":perfetto_protos_perfetto_trace_filesystem_zero_gen", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 6545 | ":perfetto_protos_perfetto_trace_ftrace_cpp_gen", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 6546 | ":perfetto_protos_perfetto_trace_ftrace_zero_gen", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 6547 | ":perfetto_protos_perfetto_trace_gpu_cpp_gen", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 6548 | ":perfetto_protos_perfetto_trace_gpu_zero_gen", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 6549 | ":perfetto_protos_perfetto_trace_interned_data_cpp_gen", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 6550 | ":perfetto_protos_perfetto_trace_interned_data_zero_gen", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 6551 | ":perfetto_protos_perfetto_trace_minimal_cpp_gen", |
Primiano Tucci | 75ae50e | 2019-08-28 13:09:55 +0200 | [diff] [blame] | 6552 | ":perfetto_protos_perfetto_trace_minimal_zero_gen", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 6553 | ":perfetto_protos_perfetto_trace_non_minimal_cpp_gen", |
Primiano Tucci | 75ae50e | 2019-08-28 13:09:55 +0200 | [diff] [blame] | 6554 | ":perfetto_protos_perfetto_trace_non_minimal_zero_gen", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 6555 | ":perfetto_protos_perfetto_trace_perfetto_cpp_gen", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 6556 | ":perfetto_protos_perfetto_trace_perfetto_zero_gen", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 6557 | ":perfetto_protos_perfetto_trace_power_cpp_gen", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 6558 | ":perfetto_protos_perfetto_trace_power_zero_gen", |
Primiano Tucci | 02c1176 | 2019-08-30 00:57:59 +0200 | [diff] [blame] | 6559 | ":perfetto_protos_perfetto_trace_processor_metrics_impl_zero_gen", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 6560 | ":perfetto_protos_perfetto_trace_profiling_cpp_gen", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 6561 | ":perfetto_protos_perfetto_trace_profiling_zero_gen", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 6562 | ":perfetto_protos_perfetto_trace_ps_cpp_gen", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 6563 | ":perfetto_protos_perfetto_trace_ps_zero_gen", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 6564 | ":perfetto_protos_perfetto_trace_sys_stats_cpp_gen", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 6565 | ":perfetto_protos_perfetto_trace_sys_stats_zero_gen", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 6566 | ":perfetto_protos_perfetto_trace_track_event_cpp_gen", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 6567 | ":perfetto_protos_perfetto_trace_track_event_zero_gen", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 6568 | ":perfetto_src_android_internal_headers", |
| 6569 | ":perfetto_src_android_internal_lazy_library_loader", |
| 6570 | ":perfetto_src_base_base", |
| 6571 | ":perfetto_src_base_test_support", |
| 6572 | ":perfetto_src_base_unittests", |
| 6573 | ":perfetto_src_base_unix_socket", |
| 6574 | ":perfetto_src_ipc_ipc", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 6575 | ":perfetto_src_ipc_test_messages_cpp_gen", |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 6576 | ":perfetto_src_ipc_test_messages_ipc_gen", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 6577 | ":perfetto_src_ipc_unittests", |
Hector Dearman | 92d7d11 | 2019-12-05 15:19:57 +0000 | [diff] [blame] | 6578 | ":perfetto_src_perfetto_cmd_perfetto_atoms", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 6579 | ":perfetto_src_perfetto_cmd_perfetto_cmd", |
Hector Dearman | 86cfbe1 | 2018-03-22 11:58:42 +0000 | [diff] [blame] | 6580 | ":perfetto_src_perfetto_cmd_protos_gen", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 6581 | ":perfetto_src_perfetto_cmd_trigger_producer", |
| 6582 | ":perfetto_src_perfetto_cmd_unittests", |
Florian Mayer | 8237596 | 2019-11-20 16:45:28 +0000 | [diff] [blame] | 6583 | ":perfetto_src_profiling_deobfuscator", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 6584 | ":perfetto_src_profiling_memory_client", |
| 6585 | ":perfetto_src_profiling_memory_daemon", |
| 6586 | ":perfetto_src_profiling_memory_proc_utils", |
| 6587 | ":perfetto_src_profiling_memory_ring_buffer", |
| 6588 | ":perfetto_src_profiling_memory_ring_buffer_unittests", |
| 6589 | ":perfetto_src_profiling_memory_scoped_spinlock", |
| 6590 | ":perfetto_src_profiling_memory_unittests", |
| 6591 | ":perfetto_src_profiling_memory_wire_protocol", |
Ryan Savitski | 462b5db | 2019-11-20 19:06:46 +0000 | [diff] [blame] | 6592 | ":perfetto_src_profiling_perf_producer", |
| 6593 | ":perfetto_src_profiling_perf_producer_unittests", |
Florian Mayer | 8237596 | 2019-11-20 16:45:28 +0000 | [diff] [blame] | 6594 | ":perfetto_src_profiling_unittests", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 6595 | ":perfetto_src_protozero_protozero", |
Primiano Tucci | 6a7813d | 2019-11-19 11:08:50 +0000 | [diff] [blame] | 6596 | ":perfetto_src_protozero_testing_messages_cpp_gen", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 6597 | ":perfetto_src_protozero_testing_messages_lite_gen", |
| 6598 | ":perfetto_src_protozero_testing_messages_zero_gen", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 6599 | ":perfetto_src_protozero_unittests", |
| 6600 | ":perfetto_src_trace_processor_common", |
| 6601 | ":perfetto_src_trace_processor_db_lib", |
| 6602 | ":perfetto_src_trace_processor_db_unittests", |
Stephen Nusko | bc76a6c | 2019-12-03 11:55:27 +0000 | [diff] [blame] | 6603 | ":perfetto_src_trace_processor_descriptors", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 6604 | ":perfetto_src_trace_processor_lib", |
| 6605 | ":perfetto_src_trace_processor_metrics_lib", |
| 6606 | ":perfetto_src_trace_processor_metrics_unittests", |
Stephen Nusko | 279fb0e | 2019-12-12 16:51:55 +0000 | [diff] [blame] | 6607 | ":perfetto_src_trace_processor_protozero_to_text", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 6608 | ":perfetto_src_trace_processor_sqlite_sqlite", |
| 6609 | ":perfetto_src_trace_processor_sqlite_unittests", |
Mikhail Khokhlov | 692087e | 2019-12-11 10:53:45 +0000 | [diff] [blame] | 6610 | ":perfetto_src_trace_processor_storage_full", |
| 6611 | ":perfetto_src_trace_processor_storage_minimal", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 6612 | ":perfetto_src_trace_processor_tables_tables", |
| 6613 | ":perfetto_src_trace_processor_tables_unittests", |
| 6614 | ":perfetto_src_trace_processor_unittests", |
| 6615 | ":perfetto_src_traced_probes_android_log_android_log", |
| 6616 | ":perfetto_src_traced_probes_android_log_unittests", |
| 6617 | ":perfetto_src_traced_probes_data_source", |
| 6618 | ":perfetto_src_traced_probes_filesystem_filesystem", |
| 6619 | ":perfetto_src_traced_probes_filesystem_unittests", |
| 6620 | ":perfetto_src_traced_probes_ftrace_format_parser", |
| 6621 | ":perfetto_src_traced_probes_ftrace_ftrace", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 6622 | ":perfetto_src_traced_probes_ftrace_test_messages_cpp_gen", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 6623 | ":perfetto_src_traced_probes_ftrace_test_messages_lite_gen", |
| 6624 | ":perfetto_src_traced_probes_ftrace_test_messages_zero_gen", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 6625 | ":perfetto_src_traced_probes_ftrace_test_support", |
| 6626 | ":perfetto_src_traced_probes_ftrace_unittests", |
| 6627 | ":perfetto_src_traced_probes_metatrace_metatrace", |
| 6628 | ":perfetto_src_traced_probes_packages_list_packages_list", |
| 6629 | ":perfetto_src_traced_probes_packages_list_unittests", |
| 6630 | ":perfetto_src_traced_probes_power_power", |
| 6631 | ":perfetto_src_traced_probes_probes_src", |
| 6632 | ":perfetto_src_traced_probes_ps_ps", |
| 6633 | ":perfetto_src_traced_probes_ps_unittests", |
| 6634 | ":perfetto_src_traced_probes_sys_stats_sys_stats", |
| 6635 | ":perfetto_src_traced_probes_sys_stats_unittests", |
| 6636 | ":perfetto_src_traced_probes_unittests", |
| 6637 | ":perfetto_src_traced_service_service", |
| 6638 | ":perfetto_src_traced_service_unittests", |
| 6639 | ":perfetto_src_tracing_common", |
| 6640 | ":perfetto_src_tracing_ipc", |
Primiano Tucci | ba784e5 | 2019-11-13 07:04:52 -0800 | [diff] [blame] | 6641 | ":perfetto_src_tracing_sliced_protobuf_input_stream", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 6642 | ":perfetto_src_tracing_test_support", |
| 6643 | ":perfetto_src_tracing_tracing", |
| 6644 | ":perfetto_src_tracing_unittests", |
| 6645 | ":perfetto_tools_sanitizers_unittests_sanitizers_unittests", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 6646 | ], |
| 6647 | shared_libs: [ |
Florian Mayer | a2fae26 | 2018-08-31 12:10:01 -0700 | [diff] [blame] | 6648 | "libbase", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 6649 | "liblog", |
Florian Mayer | a2fae26 | 2018-08-31 12:10:01 -0700 | [diff] [blame] | 6650 | "libprocinfo", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 6651 | "libprotobuf-cpp-lite", |
Florian Mayer | a2fae26 | 2018-08-31 12:10:01 -0700 | [diff] [blame] | 6652 | "libunwindstack", |
Hector Dearman | e0b993f | 2019-05-24 18:48:16 +0100 | [diff] [blame] | 6653 | "libz", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 6654 | ], |
| 6655 | static_libs: [ |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 6656 | "libgmock", |
Primiano Tucci | fbf4a73 | 2019-12-11 00:32:15 +0000 | [diff] [blame] | 6657 | "libgtest", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 6658 | ], |
| 6659 | generated_headers: [ |
Primiano Tucci | 02c1176 | 2019-08-30 00:57:59 +0200 | [diff] [blame] | 6660 | "gen_merged_sql_metrics", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 6661 | "perfetto_protos_perfetto_common_cpp_gen_headers", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 6662 | "perfetto_protos_perfetto_common_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 6663 | "perfetto_protos_perfetto_config_android_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 6664 | "perfetto_protos_perfetto_config_android_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 6665 | "perfetto_protos_perfetto_config_cpp_gen_headers", |
| 6666 | "perfetto_protos_perfetto_config_ftrace_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 6667 | "perfetto_protos_perfetto_config_ftrace_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 6668 | "perfetto_protos_perfetto_config_gpu_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 6669 | "perfetto_protos_perfetto_config_gpu_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 6670 | "perfetto_protos_perfetto_config_inode_file_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 6671 | "perfetto_protos_perfetto_config_inode_file_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 6672 | "perfetto_protos_perfetto_config_power_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 6673 | "perfetto_protos_perfetto_config_power_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 6674 | "perfetto_protos_perfetto_config_process_stats_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 6675 | "perfetto_protos_perfetto_config_process_stats_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 6676 | "perfetto_protos_perfetto_config_profiling_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 6677 | "perfetto_protos_perfetto_config_profiling_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 6678 | "perfetto_protos_perfetto_config_sys_stats_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 6679 | "perfetto_protos_perfetto_config_sys_stats_zero_gen_headers", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 6680 | "perfetto_protos_perfetto_config_zero_gen_headers", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 6681 | "perfetto_protos_perfetto_ipc_cpp_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 6682 | "perfetto_protos_perfetto_ipc_ipc_gen_headers", |
Primiano Tucci | b3e08d0 | 2019-11-19 11:10:11 +0000 | [diff] [blame] | 6683 | "perfetto_protos_perfetto_ipc_wire_protocol_cpp_gen_headers", |
Primiano Tucci | 02c1176 | 2019-08-30 00:57:59 +0200 | [diff] [blame] | 6684 | "perfetto_protos_perfetto_metrics_android_zero_gen_headers", |
| 6685 | "perfetto_protos_perfetto_metrics_zero_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 6686 | "perfetto_protos_perfetto_trace_android_cpp_gen_headers", |
Primiano Tucci | 64df2ca | 2019-01-03 22:26:47 +0000 | [diff] [blame] | 6687 | "perfetto_protos_perfetto_trace_android_zero_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 6688 | "perfetto_protos_perfetto_trace_chrome_cpp_gen_headers", |
Oystein Eftevaag | ab3b1b2 | 2018-03-08 16:27:06 -0800 | [diff] [blame] | 6689 | "perfetto_protos_perfetto_trace_chrome_zero_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 6690 | "perfetto_protos_perfetto_trace_filesystem_cpp_gen_headers", |
Anna Zappone | ed55ebf | 2018-03-02 12:12:15 +0000 | [diff] [blame] | 6691 | "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 6692 | "perfetto_protos_perfetto_trace_ftrace_cpp_gen_headers", |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 6693 | "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 6694 | "perfetto_protos_perfetto_trace_gpu_cpp_gen_headers", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 6695 | "perfetto_protos_perfetto_trace_gpu_zero_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 6696 | "perfetto_protos_perfetto_trace_interned_data_cpp_gen_headers", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 6697 | "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 6698 | "perfetto_protos_perfetto_trace_minimal_cpp_gen_headers", |
Primiano Tucci | 75ae50e | 2019-08-28 13:09:55 +0200 | [diff] [blame] | 6699 | "perfetto_protos_perfetto_trace_minimal_zero_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 6700 | "perfetto_protos_perfetto_trace_non_minimal_cpp_gen_headers", |
Primiano Tucci | 75ae50e | 2019-08-28 13:09:55 +0200 | [diff] [blame] | 6701 | "perfetto_protos_perfetto_trace_non_minimal_zero_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 6702 | "perfetto_protos_perfetto_trace_perfetto_cpp_gen_headers", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 6703 | "perfetto_protos_perfetto_trace_perfetto_zero_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 6704 | "perfetto_protos_perfetto_trace_power_cpp_gen_headers", |
Primiano Tucci | b86e9ca | 2018-12-03 20:20:11 +0100 | [diff] [blame] | 6705 | "perfetto_protos_perfetto_trace_power_zero_gen_headers", |
Primiano Tucci | 02c1176 | 2019-08-30 00:57:59 +0200 | [diff] [blame] | 6706 | "perfetto_protos_perfetto_trace_processor_metrics_impl_zero_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 6707 | "perfetto_protos_perfetto_trace_profiling_cpp_gen_headers", |
Florian Mayer | 4afdd64 | 2018-11-13 11:11:04 +0000 | [diff] [blame] | 6708 | "perfetto_protos_perfetto_trace_profiling_zero_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 6709 | "perfetto_protos_perfetto_trace_ps_cpp_gen_headers", |
Lalit Maganti | 65b28a1 | 2018-02-14 18:27:14 +0000 | [diff] [blame] | 6710 | "perfetto_protos_perfetto_trace_ps_zero_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 6711 | "perfetto_protos_perfetto_trace_sys_stats_cpp_gen_headers", |
Primiano Tucci | 82a8bfd | 2018-09-19 11:33:04 +0100 | [diff] [blame] | 6712 | "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 6713 | "perfetto_protos_perfetto_trace_track_event_cpp_gen_headers", |
Eric Seckler | c73ef06 | 2019-02-25 12:30:35 +0000 | [diff] [blame] | 6714 | "perfetto_protos_perfetto_trace_track_event_zero_gen_headers", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 6715 | "perfetto_src_ipc_test_messages_cpp_gen_headers", |
Primiano Tucci | 3aa027d | 2019-11-22 21:43:43 +0000 | [diff] [blame] | 6716 | "perfetto_src_ipc_test_messages_ipc_gen_headers", |
Hector Dearman | 86cfbe1 | 2018-03-22 11:58:42 +0000 | [diff] [blame] | 6717 | "perfetto_src_perfetto_cmd_protos_gen_headers", |
Primiano Tucci | 6a7813d | 2019-11-19 11:08:50 +0000 | [diff] [blame] | 6718 | "perfetto_src_protozero_testing_messages_cpp_gen_headers", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 6719 | "perfetto_src_protozero_testing_messages_lite_gen_headers", |
| 6720 | "perfetto_src_protozero_testing_messages_zero_gen_headers", |
Primiano Tucci | fe502c4 | 2019-12-11 01:00:27 +0000 | [diff] [blame] | 6721 | "perfetto_src_traced_probes_ftrace_test_messages_cpp_gen_headers", |
Primiano Tucci | de82dae | 2018-06-04 16:17:49 +0200 | [diff] [blame] | 6722 | "perfetto_src_traced_probes_ftrace_test_messages_lite_gen_headers", |
| 6723 | "perfetto_src_traced_probes_ftrace_test_messages_zero_gen_headers", |
Sami Kyostila | b27619f | 2017-12-13 19:22:16 +0000 | [diff] [blame] | 6724 | ], |
| 6725 | defaults: [ |
| 6726 | "perfetto_defaults", |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 6727 | ], |
Florian Mayer | 3d5e7e6 | 2018-01-19 15:22:46 +0000 | [diff] [blame] | 6728 | cflags: [ |
| 6729 | "-DGOOGLE_PROTOBUF_NO_RTTI", |
| 6730 | "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
Hector Dearman | 554627f | 2019-06-04 17:58:22 +0100 | [diff] [blame] | 6731 | "-DHAVE_HIDDEN", |
Florian Mayer | 3d5e7e6 | 2018-01-19 15:22:46 +0000 | [diff] [blame] | 6732 | ], |
Florian Mayer | 246c142 | 2019-09-18 15:40:38 +0100 | [diff] [blame] | 6733 | data: [ |
| 6734 | "src/traced/probes/filesystem/testdata/**/*", |
| 6735 | "src/traced/probes/ftrace/test/data/**/*", |
| 6736 | ], |
Primiano Tucci | 02c1176 | 2019-08-30 00:57:59 +0200 | [diff] [blame] | 6737 | target: { |
| 6738 | android: { |
| 6739 | shared_libs: [ |
| 6740 | "libandroidicu", |
| 6741 | "liblog", |
| 6742 | "libsqlite", |
| 6743 | "libutils", |
| 6744 | ], |
| 6745 | }, |
| 6746 | host: { |
| 6747 | static_libs: [ |
| 6748 | "libsqlite", |
| 6749 | ], |
| 6750 | }, |
| 6751 | }, |
Sami Kyostila | 2357b03 | 2017-12-06 18:38:17 +0000 | [diff] [blame] | 6752 | } |
Primiano Tucci | 4e49c02 | 2017-12-21 18:22:44 +0100 | [diff] [blame] | 6753 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 6754 | // GN: //src/protozero/protoc_plugin:protozero_plugin |
| 6755 | cc_binary_host { |
| 6756 | name: "protozero_plugin", |
| 6757 | srcs: [ |
| 6758 | ":perfetto_include_perfetto_base_base", |
| 6759 | ":perfetto_include_perfetto_ext_base_base", |
| 6760 | ":perfetto_src_base_base", |
| 6761 | "src/protozero/protoc_plugin/protozero_plugin.cc", |
| 6762 | ], |
Lalit Maganti | 3d415ec | 2019-10-23 17:53:17 +0100 | [diff] [blame] | 6763 | static_libs: [ |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 6764 | "libprotoc", |
| 6765 | ], |
| 6766 | defaults: [ |
| 6767 | "perfetto_defaults", |
| 6768 | ], |
| 6769 | cflags: [ |
| 6770 | "-DGOOGLE_PROTOBUF_NO_RTTI", |
| 6771 | "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
| 6772 | ], |
| 6773 | } |
| 6774 | |
| 6775 | // GN: //src/trace_processor:trace_processor_shell |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 6776 | cc_binary_host { |
Lalit Maganti | edace41 | 2019-06-18 13:28:28 +0100 | [diff] [blame] | 6777 | name: "trace_processor_shell", |
| 6778 | srcs: [ |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 6779 | ":perfetto_include_perfetto_base_base", |
| 6780 | ":perfetto_include_perfetto_ext_base_base", |
| 6781 | ":perfetto_include_perfetto_ext_traced_sys_stats_counters", |
| 6782 | ":perfetto_include_perfetto_protozero_protozero", |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 6783 | ":perfetto_include_perfetto_trace_processor_basic_types", |
| 6784 | ":perfetto_include_perfetto_trace_processor_storage", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 6785 | ":perfetto_include_perfetto_trace_processor_trace_processor", |
Lalit Maganti | edace41 | 2019-06-18 13:28:28 +0100 | [diff] [blame] | 6786 | ":perfetto_protos_perfetto_common_zero_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 6787 | ":perfetto_protos_perfetto_config_android_zero_gen", |
| 6788 | ":perfetto_protos_perfetto_config_ftrace_zero_gen", |
| 6789 | ":perfetto_protos_perfetto_config_gpu_zero_gen", |
| 6790 | ":perfetto_protos_perfetto_config_inode_file_zero_gen", |
| 6791 | ":perfetto_protos_perfetto_config_power_zero_gen", |
| 6792 | ":perfetto_protos_perfetto_config_process_stats_zero_gen", |
| 6793 | ":perfetto_protos_perfetto_config_profiling_zero_gen", |
| 6794 | ":perfetto_protos_perfetto_config_sys_stats_zero_gen", |
Lalit Maganti | edace41 | 2019-06-18 13:28:28 +0100 | [diff] [blame] | 6795 | ":perfetto_protos_perfetto_config_zero_gen", |
| 6796 | ":perfetto_protos_perfetto_metrics_android_zero_gen", |
| 6797 | ":perfetto_protos_perfetto_metrics_zero_gen", |
| 6798 | ":perfetto_protos_perfetto_trace_android_zero_gen", |
| 6799 | ":perfetto_protos_perfetto_trace_chrome_zero_gen", |
| 6800 | ":perfetto_protos_perfetto_trace_filesystem_zero_gen", |
| 6801 | ":perfetto_protos_perfetto_trace_ftrace_zero_gen", |
| 6802 | ":perfetto_protos_perfetto_trace_gpu_zero_gen", |
| 6803 | ":perfetto_protos_perfetto_trace_interned_data_zero_gen", |
Primiano Tucci | 75ae50e | 2019-08-28 13:09:55 +0200 | [diff] [blame] | 6804 | ":perfetto_protos_perfetto_trace_minimal_zero_gen", |
| 6805 | ":perfetto_protos_perfetto_trace_non_minimal_zero_gen", |
Lalit Maganti | edace41 | 2019-06-18 13:28:28 +0100 | [diff] [blame] | 6806 | ":perfetto_protos_perfetto_trace_perfetto_zero_gen", |
| 6807 | ":perfetto_protos_perfetto_trace_power_zero_gen", |
| 6808 | ":perfetto_protos_perfetto_trace_processor_metrics_impl_zero_gen", |
| 6809 | ":perfetto_protos_perfetto_trace_profiling_zero_gen", |
| 6810 | ":perfetto_protos_perfetto_trace_ps_zero_gen", |
| 6811 | ":perfetto_protos_perfetto_trace_sys_stats_zero_gen", |
| 6812 | ":perfetto_protos_perfetto_trace_track_event_zero_gen", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 6813 | ":perfetto_src_base_base", |
| 6814 | ":perfetto_src_protozero_protozero", |
| 6815 | ":perfetto_src_trace_processor_common", |
| 6816 | ":perfetto_src_trace_processor_db_lib", |
Stephen Nusko | bc76a6c | 2019-12-03 11:55:27 +0000 | [diff] [blame] | 6817 | ":perfetto_src_trace_processor_descriptors", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 6818 | ":perfetto_src_trace_processor_lib", |
| 6819 | ":perfetto_src_trace_processor_metrics_lib", |
| 6820 | ":perfetto_src_trace_processor_sqlite_sqlite", |
Mikhail Khokhlov | 692087e | 2019-12-11 10:53:45 +0000 | [diff] [blame] | 6821 | ":perfetto_src_trace_processor_storage_full", |
| 6822 | ":perfetto_src_trace_processor_storage_minimal", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 6823 | ":perfetto_src_trace_processor_tables_tables", |
Lalit Maganti | 25863f7 | 2019-08-28 22:14:25 +0100 | [diff] [blame] | 6824 | "src/trace_processor/proto_to_json.cc", |
Lalit Maganti | edace41 | 2019-06-18 13:28:28 +0100 | [diff] [blame] | 6825 | "src/trace_processor/trace_processor_shell.cc", |
Lalit Maganti | edace41 | 2019-06-18 13:28:28 +0100 | [diff] [blame] | 6826 | ], |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 6827 | static_libs: [ |
Lalit Maganti | 3d415ec | 2019-10-23 17:53:17 +0100 | [diff] [blame] | 6828 | "libprotoc", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 6829 | "libsqlite", |
Lalit Maganti | 3d415ec | 2019-10-23 17:53:17 +0100 | [diff] [blame] | 6830 | "libz", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 6831 | ], |
Lalit Maganti | edace41 | 2019-06-18 13:28:28 +0100 | [diff] [blame] | 6832 | generated_headers: [ |
| 6833 | "gen_merged_sql_metrics", |
| 6834 | "perfetto_protos_perfetto_common_zero_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 6835 | "perfetto_protos_perfetto_config_android_zero_gen_headers", |
| 6836 | "perfetto_protos_perfetto_config_ftrace_zero_gen_headers", |
| 6837 | "perfetto_protos_perfetto_config_gpu_zero_gen_headers", |
| 6838 | "perfetto_protos_perfetto_config_inode_file_zero_gen_headers", |
| 6839 | "perfetto_protos_perfetto_config_power_zero_gen_headers", |
| 6840 | "perfetto_protos_perfetto_config_process_stats_zero_gen_headers", |
| 6841 | "perfetto_protos_perfetto_config_profiling_zero_gen_headers", |
| 6842 | "perfetto_protos_perfetto_config_sys_stats_zero_gen_headers", |
Lalit Maganti | edace41 | 2019-06-18 13:28:28 +0100 | [diff] [blame] | 6843 | "perfetto_protos_perfetto_config_zero_gen_headers", |
| 6844 | "perfetto_protos_perfetto_metrics_android_zero_gen_headers", |
| 6845 | "perfetto_protos_perfetto_metrics_zero_gen_headers", |
| 6846 | "perfetto_protos_perfetto_trace_android_zero_gen_headers", |
| 6847 | "perfetto_protos_perfetto_trace_chrome_zero_gen_headers", |
| 6848 | "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers", |
| 6849 | "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers", |
| 6850 | "perfetto_protos_perfetto_trace_gpu_zero_gen_headers", |
| 6851 | "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers", |
Primiano Tucci | 75ae50e | 2019-08-28 13:09:55 +0200 | [diff] [blame] | 6852 | "perfetto_protos_perfetto_trace_minimal_zero_gen_headers", |
| 6853 | "perfetto_protos_perfetto_trace_non_minimal_zero_gen_headers", |
Lalit Maganti | edace41 | 2019-06-18 13:28:28 +0100 | [diff] [blame] | 6854 | "perfetto_protos_perfetto_trace_perfetto_zero_gen_headers", |
| 6855 | "perfetto_protos_perfetto_trace_power_zero_gen_headers", |
| 6856 | "perfetto_protos_perfetto_trace_processor_metrics_impl_zero_gen_headers", |
| 6857 | "perfetto_protos_perfetto_trace_profiling_zero_gen_headers", |
| 6858 | "perfetto_protos_perfetto_trace_ps_zero_gen_headers", |
| 6859 | "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers", |
| 6860 | "perfetto_protos_perfetto_trace_track_event_zero_gen_headers", |
Lalit Maganti | edace41 | 2019-06-18 13:28:28 +0100 | [diff] [blame] | 6861 | ], |
| 6862 | defaults: [ |
| 6863 | "perfetto_defaults", |
| 6864 | ], |
| 6865 | cflags: [ |
| 6866 | "-DGOOGLE_PROTOBUF_NO_RTTI", |
| 6867 | "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
| 6868 | "-DHAVE_HIDDEN", |
Lalit Maganti | edace41 | 2019-06-18 13:28:28 +0100 | [diff] [blame] | 6869 | ], |
Lalit Maganti | cdda911 | 2019-11-27 14:19:49 +0000 | [diff] [blame] | 6870 | dist: { |
| 6871 | targets: [ |
| 6872 | "sdk_repo", |
| 6873 | ], |
| 6874 | }, |
| 6875 | stl: "libc++_static", |
Lalit Maganti | edace41 | 2019-06-18 13:28:28 +0100 | [diff] [blame] | 6876 | } |
| 6877 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 6878 | // GN: //tools/trace_to_text:trace_to_text |
Primiano Tucci | 21c19d8 | 2018-03-29 12:35:08 +0100 | [diff] [blame] | 6879 | cc_binary_host { |
| 6880 | name: "trace_to_text", |
| 6881 | srcs: [ |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 6882 | ":perfetto_include_perfetto_base_base", |
| 6883 | ":perfetto_include_perfetto_ext_base_base", |
| 6884 | ":perfetto_include_perfetto_ext_traced_sys_stats_counters", |
Florian Mayer | 3be55fb | 2019-11-22 13:08:47 +0000 | [diff] [blame] | 6885 | ":perfetto_include_perfetto_profiling_deobfuscator", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 6886 | ":perfetto_include_perfetto_profiling_symbolizer", |
| 6887 | ":perfetto_include_perfetto_protozero_protozero", |
Eric Seckler | a7870e6 | 2019-11-01 10:11:58 +0000 | [diff] [blame] | 6888 | ":perfetto_include_perfetto_trace_processor_basic_types", |
| 6889 | ":perfetto_include_perfetto_trace_processor_storage", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 6890 | ":perfetto_include_perfetto_trace_processor_trace_processor", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 6891 | ":perfetto_protos_perfetto_common_zero_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 6892 | ":perfetto_protos_perfetto_config_android_zero_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 6893 | ":perfetto_protos_perfetto_config_ftrace_zero_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 6894 | ":perfetto_protos_perfetto_config_gpu_zero_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 6895 | ":perfetto_protos_perfetto_config_inode_file_zero_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 6896 | ":perfetto_protos_perfetto_config_power_zero_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 6897 | ":perfetto_protos_perfetto_config_process_stats_zero_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 6898 | ":perfetto_protos_perfetto_config_profiling_zero_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 6899 | ":perfetto_protos_perfetto_config_sys_stats_zero_gen", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 6900 | ":perfetto_protos_perfetto_config_zero_gen", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 6901 | ":perfetto_protos_perfetto_metrics_android_zero_gen", |
| 6902 | ":perfetto_protos_perfetto_metrics_zero_gen", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 6903 | ":perfetto_protos_perfetto_trace_android_zero_gen", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 6904 | ":perfetto_protos_perfetto_trace_chrome_zero_gen", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 6905 | ":perfetto_protos_perfetto_trace_filesystem_zero_gen", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 6906 | ":perfetto_protos_perfetto_trace_ftrace_zero_gen", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 6907 | ":perfetto_protos_perfetto_trace_gpu_zero_gen", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 6908 | ":perfetto_protos_perfetto_trace_interned_data_zero_gen", |
Primiano Tucci | 75ae50e | 2019-08-28 13:09:55 +0200 | [diff] [blame] | 6909 | ":perfetto_protos_perfetto_trace_minimal_zero_gen", |
Primiano Tucci | 75ae50e | 2019-08-28 13:09:55 +0200 | [diff] [blame] | 6910 | ":perfetto_protos_perfetto_trace_non_minimal_zero_gen", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 6911 | ":perfetto_protos_perfetto_trace_perfetto_zero_gen", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 6912 | ":perfetto_protos_perfetto_trace_power_zero_gen", |
Lalit Maganti | e59293b | 2019-05-22 15:07:39 +0100 | [diff] [blame] | 6913 | ":perfetto_protos_perfetto_trace_processor_metrics_impl_zero_gen", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 6914 | ":perfetto_protos_perfetto_trace_profiling_zero_gen", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 6915 | ":perfetto_protos_perfetto_trace_ps_zero_gen", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 6916 | ":perfetto_protos_perfetto_trace_sys_stats_zero_gen", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 6917 | ":perfetto_protos_perfetto_trace_track_event_zero_gen", |
Primiano Tucci | 2d813fd | 2019-11-26 17:27:07 +0000 | [diff] [blame] | 6918 | ":perfetto_protos_third_party_pprof_zero_gen", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 6919 | ":perfetto_src_base_base", |
Florian Mayer | 3be55fb | 2019-11-22 13:08:47 +0000 | [diff] [blame] | 6920 | ":perfetto_src_profiling_deobfuscator", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 6921 | ":perfetto_src_protozero_protozero", |
| 6922 | ":perfetto_src_trace_processor_common", |
| 6923 | ":perfetto_src_trace_processor_db_lib", |
Stephen Nusko | bc76a6c | 2019-12-03 11:55:27 +0000 | [diff] [blame] | 6924 | ":perfetto_src_trace_processor_descriptors", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 6925 | ":perfetto_src_trace_processor_lib", |
| 6926 | ":perfetto_src_trace_processor_metrics_lib", |
| 6927 | ":perfetto_src_trace_processor_sqlite_sqlite", |
Mikhail Khokhlov | 692087e | 2019-12-11 10:53:45 +0000 | [diff] [blame] | 6928 | ":perfetto_src_trace_processor_storage_full", |
| 6929 | ":perfetto_src_trace_processor_storage_minimal", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 6930 | ":perfetto_src_trace_processor_tables_tables", |
| 6931 | ":perfetto_tools_trace_to_text_common", |
| 6932 | ":perfetto_tools_trace_to_text_full", |
| 6933 | ":perfetto_tools_trace_to_text_local_symbolizer", |
| 6934 | ":perfetto_tools_trace_to_text_pprofbuilder", |
| 6935 | ":perfetto_tools_trace_to_text_symbolizer", |
| 6936 | ":perfetto_tools_trace_to_text_utils", |
Primiano Tucci | 21c19d8 | 2018-03-29 12:35:08 +0100 | [diff] [blame] | 6937 | ], |
| 6938 | shared_libs: [ |
Primiano Tucci | 21c19d8 | 2018-03-29 12:35:08 +0100 | [diff] [blame] | 6939 | "libprotobuf-cpp-full", |
Primiano Tucci | 21c19d8 | 2018-03-29 12:35:08 +0100 | [diff] [blame] | 6940 | ], |
Eric Seckler | 57c89d9 | 2018-10-26 15:11:55 +0100 | [diff] [blame] | 6941 | static_libs: [ |
Lalit Maganti | 17aa273 | 2019-02-08 15:47:26 +0000 | [diff] [blame] | 6942 | "libsqlite", |
Lalit Maganti | 3d415ec | 2019-10-23 17:53:17 +0100 | [diff] [blame] | 6943 | "libz", |
Eric Seckler | 57c89d9 | 2018-10-26 15:11:55 +0100 | [diff] [blame] | 6944 | ], |
Primiano Tucci | 21c19d8 | 2018-03-29 12:35:08 +0100 | [diff] [blame] | 6945 | generated_headers: [ |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 6946 | "gen_merged_sql_metrics", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 6947 | "perfetto_protos_perfetto_common_zero_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 6948 | "perfetto_protos_perfetto_config_android_zero_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 6949 | "perfetto_protos_perfetto_config_ftrace_zero_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 6950 | "perfetto_protos_perfetto_config_gpu_zero_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 6951 | "perfetto_protos_perfetto_config_inode_file_zero_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 6952 | "perfetto_protos_perfetto_config_power_zero_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 6953 | "perfetto_protos_perfetto_config_process_stats_zero_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 6954 | "perfetto_protos_perfetto_config_profiling_zero_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 6955 | "perfetto_protos_perfetto_config_sys_stats_zero_gen_headers", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 6956 | "perfetto_protos_perfetto_config_zero_gen_headers", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 6957 | "perfetto_protos_perfetto_metrics_android_zero_gen_headers", |
| 6958 | "perfetto_protos_perfetto_metrics_zero_gen_headers", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 6959 | "perfetto_protos_perfetto_trace_android_zero_gen_headers", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 6960 | "perfetto_protos_perfetto_trace_chrome_zero_gen_headers", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 6961 | "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 6962 | "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 6963 | "perfetto_protos_perfetto_trace_gpu_zero_gen_headers", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 6964 | "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers", |
Primiano Tucci | 75ae50e | 2019-08-28 13:09:55 +0200 | [diff] [blame] | 6965 | "perfetto_protos_perfetto_trace_minimal_zero_gen_headers", |
Primiano Tucci | 75ae50e | 2019-08-28 13:09:55 +0200 | [diff] [blame] | 6966 | "perfetto_protos_perfetto_trace_non_minimal_zero_gen_headers", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 6967 | "perfetto_protos_perfetto_trace_perfetto_zero_gen_headers", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 6968 | "perfetto_protos_perfetto_trace_power_zero_gen_headers", |
Lalit Maganti | e59293b | 2019-05-22 15:07:39 +0100 | [diff] [blame] | 6969 | "perfetto_protos_perfetto_trace_processor_metrics_impl_zero_gen_headers", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 6970 | "perfetto_protos_perfetto_trace_profiling_zero_gen_headers", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 6971 | "perfetto_protos_perfetto_trace_ps_zero_gen_headers", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 6972 | "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers", |
Primiano Tucci | c167887 | 2019-03-20 11:30:54 +0000 | [diff] [blame] | 6973 | "perfetto_protos_perfetto_trace_track_event_zero_gen_headers", |
Primiano Tucci | 2d813fd | 2019-11-26 17:27:07 +0000 | [diff] [blame] | 6974 | "perfetto_protos_third_party_pprof_zero_gen_headers", |
Primiano Tucci | 21c19d8 | 2018-03-29 12:35:08 +0100 | [diff] [blame] | 6975 | ], |
| 6976 | defaults: [ |
| 6977 | "perfetto_defaults", |
| 6978 | ], |
| 6979 | cflags: [ |
| 6980 | "-DGOOGLE_PROTOBUF_NO_RTTI", |
| 6981 | "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
Hector Dearman | 22f1de5 | 2019-06-04 18:11:45 +0100 | [diff] [blame] | 6982 | "-DHAVE_HIDDEN", |
Primiano Tucci | 21c19d8 | 2018-03-29 12:35:08 +0100 | [diff] [blame] | 6983 | ], |
| 6984 | } |
| 6985 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 6986 | // GN: //src/traced/service:traced |
Primiano Tucci | 4e49c02 | 2017-12-21 18:22:44 +0100 | [diff] [blame] | 6987 | cc_binary { |
| 6988 | name: "traced", |
| 6989 | srcs: [ |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 6990 | ":perfetto_include_perfetto_ext_traced_traced", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 6991 | "src/traced/service/main.cc", |
Primiano Tucci | 4e49c02 | 2017-12-21 18:22:44 +0100 | [diff] [blame] | 6992 | ], |
| 6993 | shared_libs: [ |
Primiano Tucci | 4e49c02 | 2017-12-21 18:22:44 +0100 | [diff] [blame] | 6994 | "liblog", |
Primiano Tucci | bdb2a59 | 2018-10-11 15:59:29 +0100 | [diff] [blame] | 6995 | "libperfetto", |
Primiano Tucci | 4e49c02 | 2017-12-21 18:22:44 +0100 | [diff] [blame] | 6996 | ], |
Primiano Tucci | 5a30453 | 2018-01-09 14:15:43 +0000 | [diff] [blame] | 6997 | init_rc: [ |
| 6998 | "perfetto.rc", |
| 6999 | ], |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 7000 | defaults: [ |
| 7001 | "perfetto_defaults", |
Primiano Tucci | 4e49c02 | 2017-12-21 18:22:44 +0100 | [diff] [blame] | 7002 | ], |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 7003 | } |
| 7004 | |
Ryan Savitski | 462b5db | 2019-11-20 19:06:46 +0000 | [diff] [blame] | 7005 | // GN: //src/profiling/perf:traced_perf |
| 7006 | cc_binary { |
| 7007 | name: "traced_perf", |
| 7008 | srcs: [ |
| 7009 | ":perfetto_include_perfetto_base_base", |
| 7010 | ":perfetto_include_perfetto_ext_base_base", |
| 7011 | ":perfetto_include_perfetto_ext_ipc_ipc", |
| 7012 | ":perfetto_include_perfetto_ext_tracing_core_core", |
| 7013 | ":perfetto_include_perfetto_ext_tracing_ipc_ipc", |
| 7014 | ":perfetto_include_perfetto_protozero_protozero", |
| 7015 | ":perfetto_include_perfetto_tracing_core_core", |
Primiano Tucci | d0dd906 | 2019-11-25 22:46:53 +0000 | [diff] [blame] | 7016 | ":perfetto_include_perfetto_tracing_core_forward_decls", |
Ryan Savitski | 462b5db | 2019-11-20 19:06:46 +0000 | [diff] [blame] | 7017 | ":perfetto_include_perfetto_tracing_tracing", |
| 7018 | ":perfetto_protos_perfetto_common_cpp_gen", |
Ryan Savitski | 462b5db | 2019-11-20 19:06:46 +0000 | [diff] [blame] | 7019 | ":perfetto_protos_perfetto_common_zero_gen", |
| 7020 | ":perfetto_protos_perfetto_config_android_cpp_gen", |
Ryan Savitski | 462b5db | 2019-11-20 19:06:46 +0000 | [diff] [blame] | 7021 | ":perfetto_protos_perfetto_config_android_zero_gen", |
| 7022 | ":perfetto_protos_perfetto_config_cpp_gen", |
| 7023 | ":perfetto_protos_perfetto_config_ftrace_cpp_gen", |
Ryan Savitski | 462b5db | 2019-11-20 19:06:46 +0000 | [diff] [blame] | 7024 | ":perfetto_protos_perfetto_config_ftrace_zero_gen", |
| 7025 | ":perfetto_protos_perfetto_config_gpu_cpp_gen", |
Ryan Savitski | 462b5db | 2019-11-20 19:06:46 +0000 | [diff] [blame] | 7026 | ":perfetto_protos_perfetto_config_gpu_zero_gen", |
| 7027 | ":perfetto_protos_perfetto_config_inode_file_cpp_gen", |
Ryan Savitski | 462b5db | 2019-11-20 19:06:46 +0000 | [diff] [blame] | 7028 | ":perfetto_protos_perfetto_config_inode_file_zero_gen", |
Ryan Savitski | 462b5db | 2019-11-20 19:06:46 +0000 | [diff] [blame] | 7029 | ":perfetto_protos_perfetto_config_power_cpp_gen", |
Ryan Savitski | 462b5db | 2019-11-20 19:06:46 +0000 | [diff] [blame] | 7030 | ":perfetto_protos_perfetto_config_power_zero_gen", |
| 7031 | ":perfetto_protos_perfetto_config_process_stats_cpp_gen", |
Ryan Savitski | 462b5db | 2019-11-20 19:06:46 +0000 | [diff] [blame] | 7032 | ":perfetto_protos_perfetto_config_process_stats_zero_gen", |
| 7033 | ":perfetto_protos_perfetto_config_profiling_cpp_gen", |
Ryan Savitski | 462b5db | 2019-11-20 19:06:46 +0000 | [diff] [blame] | 7034 | ":perfetto_protos_perfetto_config_profiling_zero_gen", |
| 7035 | ":perfetto_protos_perfetto_config_sys_stats_cpp_gen", |
Ryan Savitski | 462b5db | 2019-11-20 19:06:46 +0000 | [diff] [blame] | 7036 | ":perfetto_protos_perfetto_config_sys_stats_zero_gen", |
| 7037 | ":perfetto_protos_perfetto_config_zero_gen", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 7038 | ":perfetto_protos_perfetto_ipc_cpp_gen", |
Ryan Savitski | 462b5db | 2019-11-20 19:06:46 +0000 | [diff] [blame] | 7039 | ":perfetto_protos_perfetto_ipc_ipc_gen", |
| 7040 | ":perfetto_protos_perfetto_ipc_wire_protocol_cpp_gen", |
Ryan Savitski | 462b5db | 2019-11-20 19:06:46 +0000 | [diff] [blame] | 7041 | ":perfetto_protos_perfetto_trace_android_zero_gen", |
| 7042 | ":perfetto_protos_perfetto_trace_chrome_zero_gen", |
| 7043 | ":perfetto_protos_perfetto_trace_filesystem_zero_gen", |
| 7044 | ":perfetto_protos_perfetto_trace_ftrace_zero_gen", |
| 7045 | ":perfetto_protos_perfetto_trace_gpu_zero_gen", |
| 7046 | ":perfetto_protos_perfetto_trace_interned_data_zero_gen", |
| 7047 | ":perfetto_protos_perfetto_trace_minimal_zero_gen", |
| 7048 | ":perfetto_protos_perfetto_trace_non_minimal_zero_gen", |
| 7049 | ":perfetto_protos_perfetto_trace_perfetto_zero_gen", |
| 7050 | ":perfetto_protos_perfetto_trace_power_zero_gen", |
| 7051 | ":perfetto_protos_perfetto_trace_profiling_zero_gen", |
| 7052 | ":perfetto_protos_perfetto_trace_ps_zero_gen", |
| 7053 | ":perfetto_protos_perfetto_trace_sys_stats_zero_gen", |
| 7054 | ":perfetto_protos_perfetto_trace_track_event_zero_gen", |
| 7055 | ":perfetto_src_base_base", |
| 7056 | ":perfetto_src_base_unix_socket", |
| 7057 | ":perfetto_src_ipc_ipc", |
| 7058 | ":perfetto_src_profiling_perf_producer", |
| 7059 | ":perfetto_src_profiling_perf_traced_perf_main", |
| 7060 | ":perfetto_src_protozero_protozero", |
| 7061 | ":perfetto_src_tracing_common", |
| 7062 | ":perfetto_src_tracing_ipc", |
| 7063 | ":perfetto_src_tracing_tracing", |
| 7064 | "src/profiling/perf/main.cc", |
| 7065 | ], |
| 7066 | shared_libs: [ |
| 7067 | "liblog", |
Ryan Savitski | 462b5db | 2019-11-20 19:06:46 +0000 | [diff] [blame] | 7068 | ], |
| 7069 | generated_headers: [ |
| 7070 | "perfetto_protos_perfetto_common_cpp_gen_headers", |
Ryan Savitski | 462b5db | 2019-11-20 19:06:46 +0000 | [diff] [blame] | 7071 | "perfetto_protos_perfetto_common_zero_gen_headers", |
| 7072 | "perfetto_protos_perfetto_config_android_cpp_gen_headers", |
Ryan Savitski | 462b5db | 2019-11-20 19:06:46 +0000 | [diff] [blame] | 7073 | "perfetto_protos_perfetto_config_android_zero_gen_headers", |
| 7074 | "perfetto_protos_perfetto_config_cpp_gen_headers", |
| 7075 | "perfetto_protos_perfetto_config_ftrace_cpp_gen_headers", |
Ryan Savitski | 462b5db | 2019-11-20 19:06:46 +0000 | [diff] [blame] | 7076 | "perfetto_protos_perfetto_config_ftrace_zero_gen_headers", |
| 7077 | "perfetto_protos_perfetto_config_gpu_cpp_gen_headers", |
Ryan Savitski | 462b5db | 2019-11-20 19:06:46 +0000 | [diff] [blame] | 7078 | "perfetto_protos_perfetto_config_gpu_zero_gen_headers", |
| 7079 | "perfetto_protos_perfetto_config_inode_file_cpp_gen_headers", |
Ryan Savitski | 462b5db | 2019-11-20 19:06:46 +0000 | [diff] [blame] | 7080 | "perfetto_protos_perfetto_config_inode_file_zero_gen_headers", |
Ryan Savitski | 462b5db | 2019-11-20 19:06:46 +0000 | [diff] [blame] | 7081 | "perfetto_protos_perfetto_config_power_cpp_gen_headers", |
Ryan Savitski | 462b5db | 2019-11-20 19:06:46 +0000 | [diff] [blame] | 7082 | "perfetto_protos_perfetto_config_power_zero_gen_headers", |
| 7083 | "perfetto_protos_perfetto_config_process_stats_cpp_gen_headers", |
Ryan Savitski | 462b5db | 2019-11-20 19:06:46 +0000 | [diff] [blame] | 7084 | "perfetto_protos_perfetto_config_process_stats_zero_gen_headers", |
| 7085 | "perfetto_protos_perfetto_config_profiling_cpp_gen_headers", |
Ryan Savitski | 462b5db | 2019-11-20 19:06:46 +0000 | [diff] [blame] | 7086 | "perfetto_protos_perfetto_config_profiling_zero_gen_headers", |
| 7087 | "perfetto_protos_perfetto_config_sys_stats_cpp_gen_headers", |
Ryan Savitski | 462b5db | 2019-11-20 19:06:46 +0000 | [diff] [blame] | 7088 | "perfetto_protos_perfetto_config_sys_stats_zero_gen_headers", |
| 7089 | "perfetto_protos_perfetto_config_zero_gen_headers", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 7090 | "perfetto_protos_perfetto_ipc_cpp_gen_headers", |
Ryan Savitski | 462b5db | 2019-11-20 19:06:46 +0000 | [diff] [blame] | 7091 | "perfetto_protos_perfetto_ipc_ipc_gen_headers", |
| 7092 | "perfetto_protos_perfetto_ipc_wire_protocol_cpp_gen_headers", |
Ryan Savitski | 462b5db | 2019-11-20 19:06:46 +0000 | [diff] [blame] | 7093 | "perfetto_protos_perfetto_trace_android_zero_gen_headers", |
| 7094 | "perfetto_protos_perfetto_trace_chrome_zero_gen_headers", |
| 7095 | "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers", |
| 7096 | "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers", |
| 7097 | "perfetto_protos_perfetto_trace_gpu_zero_gen_headers", |
| 7098 | "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers", |
| 7099 | "perfetto_protos_perfetto_trace_minimal_zero_gen_headers", |
| 7100 | "perfetto_protos_perfetto_trace_non_minimal_zero_gen_headers", |
| 7101 | "perfetto_protos_perfetto_trace_perfetto_zero_gen_headers", |
| 7102 | "perfetto_protos_perfetto_trace_power_zero_gen_headers", |
| 7103 | "perfetto_protos_perfetto_trace_profiling_zero_gen_headers", |
| 7104 | "perfetto_protos_perfetto_trace_ps_zero_gen_headers", |
| 7105 | "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers", |
| 7106 | "perfetto_protos_perfetto_trace_track_event_zero_gen_headers", |
| 7107 | ], |
| 7108 | defaults: [ |
| 7109 | "perfetto_defaults", |
| 7110 | ], |
| 7111 | cflags: [ |
| 7112 | "-DGOOGLE_PROTOBUF_NO_RTTI", |
| 7113 | "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
| 7114 | ], |
| 7115 | } |
| 7116 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 7117 | // GN: //src/traced/probes:traced_probes |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 7118 | cc_binary { |
| 7119 | name: "traced_probes", |
| 7120 | srcs: [ |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 7121 | ":perfetto_include_perfetto_ext_traced_traced", |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 7122 | "src/traced/probes/main.cc", |
| 7123 | ], |
| 7124 | shared_libs: [ |
Primiano Tucci | 6067e73 | 2018-01-08 16:19:40 +0000 | [diff] [blame] | 7125 | "liblog", |
Primiano Tucci | bdb2a59 | 2018-10-11 15:59:29 +0100 | [diff] [blame] | 7126 | "libperfetto", |
Primiano Tucci | 4e49c02 | 2017-12-21 18:22:44 +0100 | [diff] [blame] | 7127 | ], |
| 7128 | defaults: [ |
| 7129 | "perfetto_defaults", |
| 7130 | ], |
Primiano Tucci | 676f0cc | 2018-12-03 20:03:26 +0100 | [diff] [blame] | 7131 | required: [ |
| 7132 | "libperfetto_android_internal", |
Hector Dearman | 696ff77 | 2019-04-23 18:38:53 +0100 | [diff] [blame] | 7133 | "trigger_perfetto", |
| 7134 | ], |
| 7135 | } |
| 7136 | |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 7137 | // GN: //src/perfetto_cmd:trigger_perfetto |
Hector Dearman | 696ff77 | 2019-04-23 18:38:53 +0100 | [diff] [blame] | 7138 | cc_binary { |
| 7139 | name: "trigger_perfetto", |
| 7140 | srcs: [ |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 7141 | ":perfetto_include_perfetto_base_base", |
| 7142 | ":perfetto_include_perfetto_ext_base_base", |
| 7143 | ":perfetto_include_perfetto_ext_ipc_ipc", |
| 7144 | ":perfetto_include_perfetto_ext_traced_traced", |
| 7145 | ":perfetto_include_perfetto_ext_tracing_core_core", |
| 7146 | ":perfetto_include_perfetto_ext_tracing_ipc_ipc", |
| 7147 | ":perfetto_include_perfetto_protozero_protozero", |
| 7148 | ":perfetto_include_perfetto_tracing_core_core", |
Primiano Tucci | cb8cea2 | 2019-11-22 11:05:35 +0000 | [diff] [blame] | 7149 | ":perfetto_include_perfetto_tracing_core_forward_decls", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 7150 | ":perfetto_include_perfetto_tracing_tracing", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 7151 | ":perfetto_protos_perfetto_common_cpp_gen", |
Hector Dearman | 696ff77 | 2019-04-23 18:38:53 +0100 | [diff] [blame] | 7152 | ":perfetto_protos_perfetto_common_zero_gen", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 7153 | ":perfetto_protos_perfetto_config_android_cpp_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 7154 | ":perfetto_protos_perfetto_config_android_zero_gen", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 7155 | ":perfetto_protos_perfetto_config_cpp_gen", |
| 7156 | ":perfetto_protos_perfetto_config_ftrace_cpp_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 7157 | ":perfetto_protos_perfetto_config_ftrace_zero_gen", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 7158 | ":perfetto_protos_perfetto_config_gpu_cpp_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 7159 | ":perfetto_protos_perfetto_config_gpu_zero_gen", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 7160 | ":perfetto_protos_perfetto_config_inode_file_cpp_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 7161 | ":perfetto_protos_perfetto_config_inode_file_zero_gen", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 7162 | ":perfetto_protos_perfetto_config_power_cpp_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 7163 | ":perfetto_protos_perfetto_config_power_zero_gen", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 7164 | ":perfetto_protos_perfetto_config_process_stats_cpp_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 7165 | ":perfetto_protos_perfetto_config_process_stats_zero_gen", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 7166 | ":perfetto_protos_perfetto_config_profiling_cpp_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 7167 | ":perfetto_protos_perfetto_config_profiling_zero_gen", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 7168 | ":perfetto_protos_perfetto_config_sys_stats_cpp_gen", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 7169 | ":perfetto_protos_perfetto_config_sys_stats_zero_gen", |
Hector Dearman | 696ff77 | 2019-04-23 18:38:53 +0100 | [diff] [blame] | 7170 | ":perfetto_protos_perfetto_config_zero_gen", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 7171 | ":perfetto_protos_perfetto_ipc_cpp_gen", |
Hector Dearman | 696ff77 | 2019-04-23 18:38:53 +0100 | [diff] [blame] | 7172 | ":perfetto_protos_perfetto_ipc_ipc_gen", |
Primiano Tucci | b3e08d0 | 2019-11-19 11:10:11 +0000 | [diff] [blame] | 7173 | ":perfetto_protos_perfetto_ipc_wire_protocol_cpp_gen", |
Hector Dearman | 696ff77 | 2019-04-23 18:38:53 +0100 | [diff] [blame] | 7174 | ":perfetto_protos_perfetto_trace_android_zero_gen", |
| 7175 | ":perfetto_protos_perfetto_trace_chrome_zero_gen", |
| 7176 | ":perfetto_protos_perfetto_trace_filesystem_zero_gen", |
| 7177 | ":perfetto_protos_perfetto_trace_ftrace_zero_gen", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 7178 | ":perfetto_protos_perfetto_trace_gpu_zero_gen", |
Hector Dearman | 696ff77 | 2019-04-23 18:38:53 +0100 | [diff] [blame] | 7179 | ":perfetto_protos_perfetto_trace_interned_data_zero_gen", |
Primiano Tucci | 75ae50e | 2019-08-28 13:09:55 +0200 | [diff] [blame] | 7180 | ":perfetto_protos_perfetto_trace_minimal_zero_gen", |
| 7181 | ":perfetto_protos_perfetto_trace_non_minimal_zero_gen", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 7182 | ":perfetto_protos_perfetto_trace_perfetto_zero_gen", |
Hector Dearman | 696ff77 | 2019-04-23 18:38:53 +0100 | [diff] [blame] | 7183 | ":perfetto_protos_perfetto_trace_power_zero_gen", |
| 7184 | ":perfetto_protos_perfetto_trace_profiling_zero_gen", |
| 7185 | ":perfetto_protos_perfetto_trace_ps_zero_gen", |
| 7186 | ":perfetto_protos_perfetto_trace_sys_stats_zero_gen", |
| 7187 | ":perfetto_protos_perfetto_trace_track_event_zero_gen", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 7188 | ":perfetto_src_base_base", |
| 7189 | ":perfetto_src_base_unix_socket", |
| 7190 | ":perfetto_src_ipc_ipc", |
Hector Dearman | 696ff77 | 2019-04-23 18:38:53 +0100 | [diff] [blame] | 7191 | ":perfetto_src_perfetto_cmd_protos_gen", |
Primiano Tucci | f0d7ef8 | 2019-10-04 15:35:24 +0100 | [diff] [blame] | 7192 | ":perfetto_src_perfetto_cmd_trigger_perfetto_cmd", |
| 7193 | ":perfetto_src_perfetto_cmd_trigger_producer", |
| 7194 | ":perfetto_src_protozero_protozero", |
| 7195 | ":perfetto_src_tracing_common", |
| 7196 | ":perfetto_src_tracing_ipc", |
| 7197 | ":perfetto_src_tracing_tracing", |
Hector Dearman | 696ff77 | 2019-04-23 18:38:53 +0100 | [diff] [blame] | 7198 | "src/perfetto_cmd/trigger_perfetto_main.cc", |
Hector Dearman | 696ff77 | 2019-04-23 18:38:53 +0100 | [diff] [blame] | 7199 | ], |
| 7200 | shared_libs: [ |
| 7201 | "liblog", |
Hector Dearman | 696ff77 | 2019-04-23 18:38:53 +0100 | [diff] [blame] | 7202 | ], |
Hector Dearman | 696ff77 | 2019-04-23 18:38:53 +0100 | [diff] [blame] | 7203 | generated_headers: [ |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 7204 | "perfetto_protos_perfetto_common_cpp_gen_headers", |
Hector Dearman | 696ff77 | 2019-04-23 18:38:53 +0100 | [diff] [blame] | 7205 | "perfetto_protos_perfetto_common_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 7206 | "perfetto_protos_perfetto_config_android_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 7207 | "perfetto_protos_perfetto_config_android_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 7208 | "perfetto_protos_perfetto_config_cpp_gen_headers", |
| 7209 | "perfetto_protos_perfetto_config_ftrace_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 7210 | "perfetto_protos_perfetto_config_ftrace_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 7211 | "perfetto_protos_perfetto_config_gpu_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 7212 | "perfetto_protos_perfetto_config_gpu_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 7213 | "perfetto_protos_perfetto_config_inode_file_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 7214 | "perfetto_protos_perfetto_config_inode_file_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 7215 | "perfetto_protos_perfetto_config_power_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 7216 | "perfetto_protos_perfetto_config_power_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 7217 | "perfetto_protos_perfetto_config_process_stats_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 7218 | "perfetto_protos_perfetto_config_process_stats_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 7219 | "perfetto_protos_perfetto_config_profiling_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 7220 | "perfetto_protos_perfetto_config_profiling_zero_gen_headers", |
Primiano Tucci | 57dd66b | 2019-10-15 23:09:04 +0100 | [diff] [blame] | 7221 | "perfetto_protos_perfetto_config_sys_stats_cpp_gen_headers", |
Primiano Tucci | 7043100 | 2019-08-22 17:13:10 +0200 | [diff] [blame] | 7222 | "perfetto_protos_perfetto_config_sys_stats_zero_gen_headers", |
Hector Dearman | 696ff77 | 2019-04-23 18:38:53 +0100 | [diff] [blame] | 7223 | "perfetto_protos_perfetto_config_zero_gen_headers", |
Primiano Tucci | e8020f9 | 2019-11-26 13:24:01 +0000 | [diff] [blame] | 7224 | "perfetto_protos_perfetto_ipc_cpp_gen_headers", |
Hector Dearman | 696ff77 | 2019-04-23 18:38:53 +0100 | [diff] [blame] | 7225 | "perfetto_protos_perfetto_ipc_ipc_gen_headers", |
Primiano Tucci | b3e08d0 | 2019-11-19 11:10:11 +0000 | [diff] [blame] | 7226 | "perfetto_protos_perfetto_ipc_wire_protocol_cpp_gen_headers", |
Hector Dearman | 696ff77 | 2019-04-23 18:38:53 +0100 | [diff] [blame] | 7227 | "perfetto_protos_perfetto_trace_android_zero_gen_headers", |
| 7228 | "perfetto_protos_perfetto_trace_chrome_zero_gen_headers", |
| 7229 | "perfetto_protos_perfetto_trace_filesystem_zero_gen_headers", |
| 7230 | "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 7231 | "perfetto_protos_perfetto_trace_gpu_zero_gen_headers", |
Hector Dearman | 696ff77 | 2019-04-23 18:38:53 +0100 | [diff] [blame] | 7232 | "perfetto_protos_perfetto_trace_interned_data_zero_gen_headers", |
Primiano Tucci | 75ae50e | 2019-08-28 13:09:55 +0200 | [diff] [blame] | 7233 | "perfetto_protos_perfetto_trace_minimal_zero_gen_headers", |
| 7234 | "perfetto_protos_perfetto_trace_non_minimal_zero_gen_headers", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 7235 | "perfetto_protos_perfetto_trace_perfetto_zero_gen_headers", |
Hector Dearman | 696ff77 | 2019-04-23 18:38:53 +0100 | [diff] [blame] | 7236 | "perfetto_protos_perfetto_trace_power_zero_gen_headers", |
| 7237 | "perfetto_protos_perfetto_trace_profiling_zero_gen_headers", |
| 7238 | "perfetto_protos_perfetto_trace_ps_zero_gen_headers", |
| 7239 | "perfetto_protos_perfetto_trace_sys_stats_zero_gen_headers", |
| 7240 | "perfetto_protos_perfetto_trace_track_event_zero_gen_headers", |
Hector Dearman | 696ff77 | 2019-04-23 18:38:53 +0100 | [diff] [blame] | 7241 | "perfetto_src_perfetto_cmd_protos_gen_headers", |
| 7242 | ], |
| 7243 | defaults: [ |
| 7244 | "perfetto_defaults", |
| 7245 | ], |
| 7246 | cflags: [ |
| 7247 | "-DGOOGLE_PROTOBUF_NO_RTTI", |
| 7248 | "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
Primiano Tucci | 676f0cc | 2018-12-03 20:03:26 +0100 | [diff] [blame] | 7249 | ], |
Primiano Tucci | 4e49c02 | 2017-12-21 18:22:44 +0100 | [diff] [blame] | 7250 | } |
Lalit Maganti | 83e712a | 2018-02-05 15:48:00 +0000 | [diff] [blame] | 7251 | |
| 7252 | // These targets are appended to the autogenerated Android.bp by tools/gen_android_bp. |
Primiano Tucci | f955198 | 2019-09-06 13:48:01 +0100 | [diff] [blame] | 7253 | |
Lalit Maganti | a88807d | 2018-03-05 18:21:38 +0000 | [diff] [blame] | 7254 | cc_library_static { |
Lalit Maganti | a88807d | 2018-03-05 18:21:38 +0000 | [diff] [blame] | 7255 | name: "perfetto_cts_jni_deps", |
Lalit Maganti | 83e712a | 2018-02-05 15:48:00 +0000 | [diff] [blame] | 7256 | srcs: [ |
Lalit Maganti | 83e712a | 2018-02-05 15:48:00 +0000 | [diff] [blame] | 7257 | "src/base/test/test_task_runner.cc", |
| 7258 | "test/fake_producer.cc", |
Primiano Tucci | 008cdb9 | 2019-07-19 19:52:41 +0100 | [diff] [blame] | 7259 | "test/task_runner_thread_delegates.cc", |
Lalit Maganti | 83e712a | 2018-02-05 15:48:00 +0000 | [diff] [blame] | 7260 | ], |
| 7261 | shared_libs: [ |
Lalit Maganti | a88807d | 2018-03-05 18:21:38 +0000 | [diff] [blame] | 7262 | "libprotobuf-cpp-lite", |
Lalit Maganti | 83e712a | 2018-02-05 15:48:00 +0000 | [diff] [blame] | 7263 | ], |
Lalit Maganti | a88807d | 2018-03-05 18:21:38 +0000 | [diff] [blame] | 7264 | static_libs: [ |
Lalit Maganti | 6168188 | 2018-03-14 15:29:01 +0000 | [diff] [blame] | 7265 | "libgtest", |
Primiano Tucci | f955198 | 2019-09-06 13:48:01 +0100 | [diff] [blame] | 7266 | "libperfetto_client_experimental", |
Lalit Maganti | a88807d | 2018-03-05 18:21:38 +0000 | [diff] [blame] | 7267 | ], |
Primiano Tucci | 8e62744 | 2019-08-28 07:58:38 +0200 | [diff] [blame] | 7268 | defaults: [ |
| 7269 | "perfetto_defaults", |
Lalit Maganti | b34c7a2 | 2018-03-07 11:53:20 +0000 | [diff] [blame] | 7270 | ], |
Lalit Maganti | 6820cb6 | 2018-10-05 13:34:22 +0100 | [diff] [blame] | 7271 | } |
| 7272 | |
Lalit Maganti | f5d666d | 2018-10-23 14:23:24 +0100 | [diff] [blame] | 7273 | java_library_host { |
| 7274 | name: "perfetto_config-full", |
Lalit Maganti | 6820cb6 | 2018-10-05 13:34:22 +0100 | [diff] [blame] | 7275 | proto: { |
Lalit Maganti | f5d666d | 2018-10-23 14:23:24 +0100 | [diff] [blame] | 7276 | type: "full", |
Lalit Maganti | 6820cb6 | 2018-10-05 13:34:22 +0100 | [diff] [blame] | 7277 | }, |
| 7278 | srcs: [ |
| 7279 | "protos/perfetto/config/perfetto_config.proto", |
| 7280 | ], |
Primiano Tucci | 0b651b8 | 2019-06-03 17:16:23 +0100 | [diff] [blame] | 7281 | } |
| 7282 | |
| 7283 | // This sample target shows how to use the perfetto client API from within the |
| 7284 | // Android tree. |
| 7285 | cc_binary { |
| 7286 | name: "libperfetto_client_example", |
| 7287 | srcs: [ |
Primiano Tucci | dd5ebc9 | 2019-07-25 01:09:37 +0100 | [diff] [blame] | 7288 | "test/client_api_example.cc", |
Primiano Tucci | 0b651b8 | 2019-06-03 17:16:23 +0100 | [diff] [blame] | 7289 | ], |
| 7290 | static_libs: [ |
| 7291 | "libperfetto_client_experimental", |
Primiano Tucci | 0b651b8 | 2019-06-03 17:16:23 +0100 | [diff] [blame] | 7292 | "perfetto_trace_protos", |
| 7293 | ], |
| 7294 | shared_libs: [ |
| 7295 | "libprotobuf-cpp-lite", |
| 7296 | "liblog", |
| 7297 | ], |
Primiano Tucci | 0b651b8 | 2019-06-03 17:16:23 +0100 | [diff] [blame] | 7298 | cflags: [ |
| 7299 | "-DGOOGLE_PROTOBUF_NO_RTTI", |
| 7300 | "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", |
Primiano Tucci | 8e62744 | 2019-08-28 07:58:38 +0200 | [diff] [blame] | 7301 | ], |
| 7302 | defaults: [ |
| 7303 | "perfetto_defaults", |
Primiano Tucci | 0b651b8 | 2019-06-03 17:16:23 +0100 | [diff] [blame] | 7304 | ], |
Hector Dearman | 92d7d11 | 2019-12-05 15:19:57 +0000 | [diff] [blame] | 7305 | } |
| 7306 | |
| 7307 | cc_library_static { |
| 7308 | name: "libstatslog_perfetto", |
| 7309 | generated_sources: ["statslog_perfetto.cpp"], |
| 7310 | generated_headers: ["statslog_perfetto.h"], |
| 7311 | cflags: [ |
| 7312 | "-Wall", |
| 7313 | "-Werror", |
| 7314 | ], |
| 7315 | export_generated_headers: ["statslog_perfetto.h"], |
| 7316 | shared_libs: [ |
| 7317 | "libcutils", |
| 7318 | "liblog", |
| 7319 | "libstatssocket", |
| 7320 | "libutils", |
| 7321 | ], |
| 7322 | } |
| 7323 | |
| 7324 | genrule { |
| 7325 | name: "statslog_perfetto.h", |
| 7326 | tools: ["stats-log-api-gen"], |
| 7327 | cmd: "$(location stats-log-api-gen) --header $(genDir)/statslog_perfetto.h --module perfetto --namespace perfetto,android_internal", |
| 7328 | out: [ |
| 7329 | "statslog_perfetto.h", |
| 7330 | ], |
| 7331 | } |
| 7332 | |
| 7333 | genrule { |
| 7334 | name: "statslog_perfetto.cpp", |
| 7335 | tools: ["stats-log-api-gen"], |
| 7336 | cmd: "$(location stats-log-api-gen) --cpp $(genDir)/statslog_perfetto.cpp --module perfetto --namespace perfetto,android_internal --importHeader statslog_perfetto.h", |
| 7337 | out: [ |
| 7338 | "statslog_perfetto.cpp", |
| 7339 | ], |
Florian Mayer | 813f1f5 | 2019-09-18 13:05:03 +0100 | [diff] [blame] | 7340 | } |