Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 1 | # Copyright (C) 2019 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 | # |
Sami Kyostila | 3c88a1d | 2019-05-22 18:29:42 +0100 | [diff] [blame] | 15 | # This file is automatically generated by tools/gen_bazel. Do not edit. |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 16 | |
| 17 | package(default_visibility = ["//visibility:public"]) |
| 18 | |
| 19 | licenses(["notice"]) # Apache 2.0 |
| 20 | |
| 21 | exports_files(["LICENSE"]) |
| 22 | |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 23 | # GN target: //src/trace_processor/metrics:gen_merged_sql_metrics |
| 24 | genrule( |
| 25 | name = "gen_merged_sql_metrics", |
| 26 | srcs = [ |
Silvia Vinyes | b39c77f | 2019-06-04 10:46:12 +0100 | [diff] [blame] | 27 | "src/trace_processor/metrics/android/android_batt.sql", |
Silvia Vinyes | 2e6a731 | 2019-06-04 11:15:59 +0100 | [diff] [blame] | 28 | "src/trace_processor/metrics/android/android_cpu.sql", |
| 29 | "src/trace_processor/metrics/android/android_cpu_agg.sql", |
Ioannis Ilkos | 3e5b915 | 2019-06-17 19:09:58 +0100 | [diff] [blame^] | 30 | "src/trace_processor/metrics/android/android_lmk.sql", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 31 | "src/trace_processor/metrics/android/android_mem.sql", |
Lalit Maganti | 5f3a018 | 2019-05-07 16:40:36 +0100 | [diff] [blame] | 32 | "src/trace_processor/metrics/android/android_mem_proc_counters.sql", |
Ioannis Ilkos | 3e5b915 | 2019-06-17 19:09:58 +0100 | [diff] [blame^] | 33 | "src/trace_processor/metrics/android/android_powrails.sql", |
Ioannis Ilkos | 20d5e8b | 2019-05-16 15:43:26 +0100 | [diff] [blame] | 34 | "src/trace_processor/metrics/android/android_startup.sql", |
Ioannis Ilkos | 1cbd228 | 2019-05-29 23:41:57 +0100 | [diff] [blame] | 35 | "src/trace_processor/metrics/android/android_startup_cpu.sql", |
Ioannis Ilkos | 20d5e8b | 2019-05-16 15:43:26 +0100 | [diff] [blame] | 36 | "src/trace_processor/metrics/android/android_startup_launches.sql", |
| 37 | "src/trace_processor/metrics/android/android_task_state.sql", |
Ioannis Ilkos | 05e211f | 2019-05-28 15:21:00 +0100 | [diff] [blame] | 38 | "src/trace_processor/metrics/android/heap_profile.sql", |
Ioannis Ilkos | 5e79b8a | 2019-05-23 18:09:54 +0100 | [diff] [blame] | 39 | "src/trace_processor/metrics/error_statistics.sql", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 40 | ], |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 41 | outs = [ |
| 42 | "src/trace_processor/metrics/sql_metrics.h", |
| 43 | ], |
Lalit Maganti | e667b0f | 2019-05-02 13:49:35 +0100 | [diff] [blame] | 44 | cmd = "$(location gen_merged_sql_metrics_py) --cpp_out=$@ $(SRCS)", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 45 | tools = [ |
| 46 | "gen_merged_sql_metrics_py", |
| 47 | ], |
| 48 | ) |
| 49 | |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 50 | # GN target: //src/protozero:libprotozero |
| 51 | cc_library( |
Lalit Maganti | 5e24247 | 2019-04-01 17:25:08 +0100 | [diff] [blame] | 52 | name = "libprotozero", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 53 | srcs = [ |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 54 | "src/protozero/message.cc", |
| 55 | "src/protozero/message_handle.cc", |
| 56 | "src/protozero/proto_decoder.cc", |
| 57 | "src/protozero/scattered_heap_buffer.cc", |
| 58 | "src/protozero/scattered_stream_null_delegate.cc", |
| 59 | "src/protozero/scattered_stream_writer.cc", |
| 60 | ], |
| 61 | hdrs = [ |
| 62 | "include/perfetto/base/build_config.h", |
Primiano Tucci | 2c5488f | 2019-06-01 03:27:28 +0100 | [diff] [blame] | 63 | "include/perfetto/base/compiler.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 64 | "include/perfetto/base/export.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 65 | "include/perfetto/base/logging.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 66 | "include/perfetto/base/task_runner.h", |
Primiano Tucci | 2c5488f | 2019-06-01 03:27:28 +0100 | [diff] [blame] | 67 | "include/perfetto/ext/base/circular_queue.h", |
| 68 | "include/perfetto/ext/base/container_annotations.h", |
| 69 | "include/perfetto/ext/base/event.h", |
| 70 | "include/perfetto/ext/base/file_utils.h", |
| 71 | "include/perfetto/ext/base/hash.h", |
| 72 | "include/perfetto/ext/base/metatrace.h", |
Lalit Maganti | 0dc9859 | 2019-06-05 14:59:55 +0100 | [diff] [blame] | 73 | "include/perfetto/ext/base/metatrace_events.h", |
Primiano Tucci | 2c5488f | 2019-06-01 03:27:28 +0100 | [diff] [blame] | 74 | "include/perfetto/ext/base/no_destructor.h", |
| 75 | "include/perfetto/ext/base/optional.h", |
| 76 | "include/perfetto/ext/base/paged_memory.h", |
| 77 | "include/perfetto/ext/base/pipe.h", |
| 78 | "include/perfetto/ext/base/scoped_file.h", |
| 79 | "include/perfetto/ext/base/small_set.h", |
| 80 | "include/perfetto/ext/base/string_splitter.h", |
| 81 | "include/perfetto/ext/base/string_utils.h", |
| 82 | "include/perfetto/ext/base/string_view.h", |
| 83 | "include/perfetto/ext/base/string_writer.h", |
| 84 | "include/perfetto/ext/base/temp_file.h", |
| 85 | "include/perfetto/ext/base/thread_annotations.h", |
| 86 | "include/perfetto/ext/base/thread_checker.h", |
| 87 | "include/perfetto/ext/base/thread_task_runner.h", |
| 88 | "include/perfetto/ext/base/thread_utils.h", |
| 89 | "include/perfetto/ext/base/time.h", |
| 90 | "include/perfetto/ext/base/unix_socket.h", |
| 91 | "include/perfetto/ext/base/unix_task_runner.h", |
| 92 | "include/perfetto/ext/base/utils.h", |
| 93 | "include/perfetto/ext/base/watchdog.h", |
| 94 | "include/perfetto/ext/base/watchdog_noop.h", |
| 95 | "include/perfetto/ext/base/watchdog_posix.h", |
| 96 | "include/perfetto/ext/base/weak_ptr.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 97 | "include/perfetto/protozero/contiguous_memory_range.h", |
| 98 | "include/perfetto/protozero/field.h", |
| 99 | "include/perfetto/protozero/message.h", |
| 100 | "include/perfetto/protozero/message_handle.h", |
| 101 | "include/perfetto/protozero/proto_decoder.h", |
| 102 | "include/perfetto/protozero/proto_utils.h", |
| 103 | "include/perfetto/protozero/scattered_heap_buffer.h", |
| 104 | "include/perfetto/protozero/scattered_stream_null_delegate.h", |
| 105 | "include/perfetto/protozero/scattered_stream_writer.h", |
| 106 | ], |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 107 | ) |
| 108 | |
Lalit Maganti | 5e24247 | 2019-04-01 17:25:08 +0100 | [diff] [blame] | 109 | # GN target: //src/protozero/protoc_plugin:protoc_plugin |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 110 | cc_binary( |
| 111 | name = "src_protozero_protoc_plugin_protoc_plugin", |
| 112 | srcs = [ |
| 113 | "src/protozero/protoc_plugin/protozero_generator.cc", |
| 114 | "src/protozero/protoc_plugin/protozero_generator.h", |
| 115 | "src/protozero/protoc_plugin/protozero_plugin.cc", |
| 116 | ], |
| 117 | deps = [ |
| 118 | "//third_party/protobuf", |
| 119 | "//third_party/protobuf:libprotoc", |
| 120 | ], |
| 121 | ) |
| 122 | |
| 123 | # GN target: //src/trace_processor:trace_processor |
| 124 | cc_library( |
Lalit Maganti | 5e24247 | 2019-04-01 17:25:08 +0100 | [diff] [blame] | 125 | name = "trace_processor", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 126 | srcs = [ |
| 127 | "src/base/event.cc", |
| 128 | "src/base/file_utils.cc", |
| 129 | "src/base/metatrace.cc", |
| 130 | "src/base/paged_memory.cc", |
| 131 | "src/base/pipe.cc", |
| 132 | "src/base/string_splitter.cc", |
| 133 | "src/base/string_utils.cc", |
| 134 | "src/base/string_view.cc", |
| 135 | "src/base/temp_file.cc", |
| 136 | "src/base/thread_checker.cc", |
| 137 | "src/base/thread_task_runner.cc", |
| 138 | "src/base/time.cc", |
| 139 | "src/base/unix_task_runner.cc", |
| 140 | "src/base/virtual_destructors.cc", |
| 141 | "src/base/watchdog_posix.cc", |
| 142 | "src/protozero/message.cc", |
| 143 | "src/protozero/message_handle.cc", |
| 144 | "src/protozero/proto_decoder.cc", |
| 145 | "src/protozero/scattered_heap_buffer.cc", |
| 146 | "src/protozero/scattered_stream_null_delegate.cc", |
| 147 | "src/protozero/scattered_stream_writer.cc", |
| 148 | "src/trace_processor/android_logs_table.cc", |
| 149 | "src/trace_processor/android_logs_table.h", |
| 150 | "src/trace_processor/args_table.cc", |
| 151 | "src/trace_processor/args_table.h", |
| 152 | "src/trace_processor/args_tracker.cc", |
| 153 | "src/trace_processor/args_tracker.h", |
| 154 | "src/trace_processor/chunked_trace_reader.h", |
| 155 | "src/trace_processor/clock_tracker.cc", |
| 156 | "src/trace_processor/clock_tracker.h", |
| 157 | "src/trace_processor/counter_definitions_table.cc", |
| 158 | "src/trace_processor/counter_definitions_table.h", |
| 159 | "src/trace_processor/counter_values_table.cc", |
| 160 | "src/trace_processor/counter_values_table.h", |
| 161 | "src/trace_processor/event_tracker.cc", |
| 162 | "src/trace_processor/event_tracker.h", |
Mikhail Khokhlov | a8d310d | 2019-05-07 17:34:21 +0100 | [diff] [blame] | 163 | "src/trace_processor/export_json.cc", |
| 164 | "src/trace_processor/export_json.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 165 | "src/trace_processor/filtered_row_index.cc", |
| 166 | "src/trace_processor/filtered_row_index.h", |
| 167 | "src/trace_processor/ftrace_descriptors.cc", |
| 168 | "src/trace_processor/ftrace_descriptors.h", |
| 169 | "src/trace_processor/ftrace_utils.cc", |
| 170 | "src/trace_processor/ftrace_utils.h", |
Brian Hamrick | d57e133 | 2019-04-24 11:25:36 -0700 | [diff] [blame] | 171 | "src/trace_processor/fuchsia_provider_view.cc", |
| 172 | "src/trace_processor/fuchsia_provider_view.h", |
| 173 | "src/trace_processor/fuchsia_trace_parser.cc", |
| 174 | "src/trace_processor/fuchsia_trace_parser.h", |
| 175 | "src/trace_processor/fuchsia_trace_tokenizer.cc", |
| 176 | "src/trace_processor/fuchsia_trace_tokenizer.h", |
| 177 | "src/trace_processor/fuchsia_trace_utils.cc", |
| 178 | "src/trace_processor/fuchsia_trace_utils.h", |
Hector Dearman | 22f1de5 | 2019-06-04 18:11:45 +0100 | [diff] [blame] | 179 | "src/trace_processor/gzip_trace_parser.cc", |
| 180 | "src/trace_processor/gzip_trace_parser.h", |
Lalit Maganti | 9b2d52b | 2019-05-07 14:32:15 +0100 | [diff] [blame] | 181 | "src/trace_processor/heap_profile_allocation_table.cc", |
| 182 | "src/trace_processor/heap_profile_allocation_table.h", |
| 183 | "src/trace_processor/heap_profile_callsite_table.cc", |
| 184 | "src/trace_processor/heap_profile_callsite_table.h", |
| 185 | "src/trace_processor/heap_profile_frame_table.cc", |
| 186 | "src/trace_processor/heap_profile_frame_table.h", |
| 187 | "src/trace_processor/heap_profile_mapping_table.cc", |
| 188 | "src/trace_processor/heap_profile_mapping_table.h", |
Florian Mayer | 438b5ab | 2019-05-02 11:18:06 +0100 | [diff] [blame] | 189 | "src/trace_processor/heap_profile_tracker.cc", |
| 190 | "src/trace_processor/heap_profile_tracker.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 191 | "src/trace_processor/instants_table.cc", |
| 192 | "src/trace_processor/instants_table.h", |
| 193 | "src/trace_processor/json_trace_parser.cc", |
| 194 | "src/trace_processor/json_trace_parser.h", |
Deepanjan Roy | 01994ca | 2019-04-02 11:05:34 -0700 | [diff] [blame] | 195 | "src/trace_processor/json_trace_tokenizer.cc", |
| 196 | "src/trace_processor/json_trace_tokenizer.h", |
| 197 | "src/trace_processor/json_trace_utils.cc", |
| 198 | "src/trace_processor/json_trace_utils.h", |
Mikhail Khokhlov | e466c00 | 2019-05-23 13:33:33 +0100 | [diff] [blame] | 199 | "src/trace_processor/metadata.h", |
| 200 | "src/trace_processor/metadata_table.cc", |
| 201 | "src/trace_processor/metadata_table.h", |
Lalit Maganti | 6221107 | 2019-05-10 14:09:58 +0100 | [diff] [blame] | 202 | "src/trace_processor/metrics/descriptors.cc", |
| 203 | "src/trace_processor/metrics/descriptors.h", |
Lalit Maganti | 622676a | 2019-04-30 14:15:37 +0100 | [diff] [blame] | 204 | "src/trace_processor/metrics/metrics.cc", |
Lalit Maganti | eb1bf21 | 2019-05-08 15:07:16 +0100 | [diff] [blame] | 205 | "src/trace_processor/metrics/metrics.descriptor.h", |
Lalit Maganti | 622676a | 2019-04-30 14:15:37 +0100 | [diff] [blame] | 206 | "src/trace_processor/metrics/metrics.h", |
Lalit Maganti | 697cc48 | 2019-05-01 14:39:11 +0100 | [diff] [blame] | 207 | "src/trace_processor/metrics/sql_metrics.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 208 | "src/trace_processor/null_term_string_view.h", |
| 209 | "src/trace_processor/process_table.cc", |
| 210 | "src/trace_processor/process_table.h", |
| 211 | "src/trace_processor/process_tracker.cc", |
| 212 | "src/trace_processor/process_tracker.h", |
Lalit Maganti | c50e142 | 2019-04-29 14:23:25 +0100 | [diff] [blame] | 213 | "src/trace_processor/proto_incremental_state.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 214 | "src/trace_processor/proto_trace_parser.cc", |
| 215 | "src/trace_processor/proto_trace_parser.h", |
| 216 | "src/trace_processor/proto_trace_tokenizer.cc", |
| 217 | "src/trace_processor/proto_trace_tokenizer.h", |
| 218 | "src/trace_processor/query_constraints.cc", |
| 219 | "src/trace_processor/query_constraints.h", |
| 220 | "src/trace_processor/raw_table.cc", |
| 221 | "src/trace_processor/raw_table.h", |
| 222 | "src/trace_processor/row_iterators.cc", |
| 223 | "src/trace_processor/row_iterators.h", |
| 224 | "src/trace_processor/sched_slice_table.cc", |
| 225 | "src/trace_processor/sched_slice_table.h", |
| 226 | "src/trace_processor/scoped_db.h", |
| 227 | "src/trace_processor/slice_table.cc", |
| 228 | "src/trace_processor/slice_table.h", |
| 229 | "src/trace_processor/slice_tracker.cc", |
| 230 | "src/trace_processor/slice_tracker.h", |
| 231 | "src/trace_processor/span_join_operator_table.cc", |
| 232 | "src/trace_processor/span_join_operator_table.h", |
| 233 | "src/trace_processor/sql_stats_table.cc", |
| 234 | "src/trace_processor/sql_stats_table.h", |
Lalit Maganti | c70cd21 | 2019-05-30 17:06:44 +0100 | [diff] [blame] | 235 | "src/trace_processor/sqlite.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 236 | "src/trace_processor/sqlite3_str_split.cc", |
| 237 | "src/trace_processor/sqlite3_str_split.h", |
| 238 | "src/trace_processor/sqlite_utils.h", |
| 239 | "src/trace_processor/stats.h", |
| 240 | "src/trace_processor/stats_table.cc", |
| 241 | "src/trace_processor/stats_table.h", |
| 242 | "src/trace_processor/storage_columns.cc", |
| 243 | "src/trace_processor/storage_columns.h", |
| 244 | "src/trace_processor/storage_schema.cc", |
| 245 | "src/trace_processor/storage_schema.h", |
| 246 | "src/trace_processor/storage_table.cc", |
| 247 | "src/trace_processor/storage_table.h", |
| 248 | "src/trace_processor/string_pool.cc", |
| 249 | "src/trace_processor/string_pool.h", |
| 250 | "src/trace_processor/string_table.cc", |
| 251 | "src/trace_processor/string_table.h", |
| 252 | "src/trace_processor/syscall_tracker.cc", |
| 253 | "src/trace_processor/syscall_tracker.h", |
Lalit Maganti | 5e60c65 | 2019-04-15 19:55:07 +0100 | [diff] [blame] | 254 | "src/trace_processor/syscalls_aarch32.h", |
| 255 | "src/trace_processor/syscalls_aarch64.h", |
| 256 | "src/trace_processor/syscalls_armeabi.h", |
| 257 | "src/trace_processor/syscalls_x86_64.h", |
Lalit Maganti | d33dc27 | 2019-06-06 14:51:45 +0100 | [diff] [blame] | 258 | "src/trace_processor/systrace_parser.cc", |
| 259 | "src/trace_processor/systrace_parser.h", |
Lalit Maganti | d54d752 | 2019-05-30 14:36:08 +0100 | [diff] [blame] | 260 | "src/trace_processor/systrace_trace_parser.cc", |
| 261 | "src/trace_processor/systrace_trace_parser.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 262 | "src/trace_processor/table.cc", |
| 263 | "src/trace_processor/table.h", |
| 264 | "src/trace_processor/thread_table.cc", |
| 265 | "src/trace_processor/thread_table.h", |
| 266 | "src/trace_processor/trace_blob_view.h", |
Deepanjan Roy | 01994ca | 2019-04-02 11:05:34 -0700 | [diff] [blame] | 267 | "src/trace_processor/trace_parser.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 268 | "src/trace_processor/trace_processor.cc", |
| 269 | "src/trace_processor/trace_processor_context.cc", |
| 270 | "src/trace_processor/trace_processor_context.h", |
| 271 | "src/trace_processor/trace_processor_impl.cc", |
| 272 | "src/trace_processor/trace_processor_impl.h", |
| 273 | "src/trace_processor/trace_sorter.cc", |
| 274 | "src/trace_processor/trace_sorter.h", |
| 275 | "src/trace_processor/trace_storage.cc", |
| 276 | "src/trace_processor/trace_storage.h", |
Mikhail Khokhlov | 85a0dd0 | 2019-05-17 14:22:28 +0100 | [diff] [blame] | 277 | "src/trace_processor/variadic.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 278 | "src/trace_processor/virtual_destructors.cc", |
| 279 | "src/trace_processor/window_operator_table.cc", |
| 280 | "src/trace_processor/window_operator_table.h", |
| 281 | ], |
| 282 | hdrs = [ |
| 283 | "include/perfetto/base/build_config.h", |
Primiano Tucci | 2c5488f | 2019-06-01 03:27:28 +0100 | [diff] [blame] | 284 | "include/perfetto/base/compiler.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 285 | "include/perfetto/base/export.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 286 | "include/perfetto/base/logging.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 287 | "include/perfetto/base/task_runner.h", |
Primiano Tucci | 2c5488f | 2019-06-01 03:27:28 +0100 | [diff] [blame] | 288 | "include/perfetto/ext/base/circular_queue.h", |
| 289 | "include/perfetto/ext/base/container_annotations.h", |
| 290 | "include/perfetto/ext/base/event.h", |
| 291 | "include/perfetto/ext/base/file_utils.h", |
| 292 | "include/perfetto/ext/base/hash.h", |
| 293 | "include/perfetto/ext/base/metatrace.h", |
Lalit Maganti | 0dc9859 | 2019-06-05 14:59:55 +0100 | [diff] [blame] | 294 | "include/perfetto/ext/base/metatrace_events.h", |
Primiano Tucci | 2c5488f | 2019-06-01 03:27:28 +0100 | [diff] [blame] | 295 | "include/perfetto/ext/base/no_destructor.h", |
| 296 | "include/perfetto/ext/base/optional.h", |
| 297 | "include/perfetto/ext/base/paged_memory.h", |
| 298 | "include/perfetto/ext/base/pipe.h", |
| 299 | "include/perfetto/ext/base/scoped_file.h", |
| 300 | "include/perfetto/ext/base/small_set.h", |
| 301 | "include/perfetto/ext/base/string_splitter.h", |
| 302 | "include/perfetto/ext/base/string_utils.h", |
| 303 | "include/perfetto/ext/base/string_view.h", |
| 304 | "include/perfetto/ext/base/string_writer.h", |
| 305 | "include/perfetto/ext/base/temp_file.h", |
| 306 | "include/perfetto/ext/base/thread_annotations.h", |
| 307 | "include/perfetto/ext/base/thread_checker.h", |
| 308 | "include/perfetto/ext/base/thread_task_runner.h", |
| 309 | "include/perfetto/ext/base/thread_utils.h", |
| 310 | "include/perfetto/ext/base/time.h", |
| 311 | "include/perfetto/ext/base/unix_socket.h", |
| 312 | "include/perfetto/ext/base/unix_task_runner.h", |
| 313 | "include/perfetto/ext/base/utils.h", |
| 314 | "include/perfetto/ext/base/watchdog.h", |
| 315 | "include/perfetto/ext/base/watchdog_noop.h", |
| 316 | "include/perfetto/ext/base/watchdog_posix.h", |
| 317 | "include/perfetto/ext/base/weak_ptr.h", |
| 318 | "include/perfetto/ext/traced/sys_stats_counters.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 319 | "include/perfetto/protozero/contiguous_memory_range.h", |
| 320 | "include/perfetto/protozero/field.h", |
| 321 | "include/perfetto/protozero/message.h", |
| 322 | "include/perfetto/protozero/message_handle.h", |
| 323 | "include/perfetto/protozero/proto_decoder.h", |
| 324 | "include/perfetto/protozero/proto_utils.h", |
| 325 | "include/perfetto/protozero/scattered_heap_buffer.h", |
| 326 | "include/perfetto/protozero/scattered_stream_null_delegate.h", |
| 327 | "include/perfetto/protozero/scattered_stream_writer.h", |
| 328 | "include/perfetto/trace_processor/basic_types.h", |
Primiano Tucci | 2c5488f | 2019-06-01 03:27:28 +0100 | [diff] [blame] | 329 | "include/perfetto/trace_processor/status.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 330 | "include/perfetto/trace_processor/trace_processor.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 331 | ], |
| 332 | deps = [ |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 333 | "//third_party/perfetto:gen_merged_sql_metrics", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 334 | "//third_party/perfetto/google:jsoncpp", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 335 | "//third_party/perfetto/protos:common_zero_cc_proto", |
| 336 | "//third_party/perfetto/protos:config_zero_cc_proto", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 337 | "//third_party/perfetto/protos:metrics_android_zero_cc_proto", |
| 338 | "//third_party/perfetto/protos:metrics_zero_cc_proto", |
Lalit Maganti | 98465e1 | 2019-04-04 14:08:40 +0100 | [diff] [blame] | 339 | "//third_party/perfetto/protos:trace_android_zero_cc_proto", |
| 340 | "//third_party/perfetto/protos:trace_chrome_zero_cc_proto", |
| 341 | "//third_party/perfetto/protos:trace_filesystem_zero_cc_proto", |
| 342 | "//third_party/perfetto/protos:trace_ftrace_zero_cc_proto", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 343 | "//third_party/perfetto/protos:trace_gpu_zero_cc_proto", |
Lalit Maganti | 98465e1 | 2019-04-04 14:08:40 +0100 | [diff] [blame] | 344 | "//third_party/perfetto/protos:trace_interned_data_zero_cc_proto", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 345 | "//third_party/perfetto/protos:trace_perfetto_zero_cc_proto", |
Lalit Maganti | 98465e1 | 2019-04-04 14:08:40 +0100 | [diff] [blame] | 346 | "//third_party/perfetto/protos:trace_power_zero_cc_proto", |
Lalit Maganti | e59293b | 2019-05-22 15:07:39 +0100 | [diff] [blame] | 347 | "//third_party/perfetto/protos:trace_processor_metrics_impl_zero_cc_proto", |
Lalit Maganti | 98465e1 | 2019-04-04 14:08:40 +0100 | [diff] [blame] | 348 | "//third_party/perfetto/protos:trace_profiling_zero_cc_proto", |
| 349 | "//third_party/perfetto/protos:trace_ps_zero_cc_proto", |
| 350 | "//third_party/perfetto/protos:trace_sys_stats_zero_cc_proto", |
| 351 | "//third_party/perfetto/protos:trace_track_event_zero_cc_proto", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 352 | "//third_party/perfetto/protos:trace_zero_cc_proto", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 353 | "//third_party/sqlite", |
| 354 | "//third_party/sqlite:sqlite_ext_percentile", |
Hector Dearman | 22f1de5 | 2019-06-04 18:11:45 +0100 | [diff] [blame] | 355 | "//third_party/zlib", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 356 | ], |
| 357 | ) |
| 358 | |
Lalit Maganti | 5e24247 | 2019-04-01 17:25:08 +0100 | [diff] [blame] | 359 | # GN target: //src/trace_processor:trace_processor_shell_host |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 360 | cc_binary( |
Lalit Maganti | 5e24247 | 2019-04-01 17:25:08 +0100 | [diff] [blame] | 361 | name = "trace_processor_shell", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 362 | srcs = [ |
| 363 | "include/perfetto/base/build_config.h", |
Primiano Tucci | 2c5488f | 2019-06-01 03:27:28 +0100 | [diff] [blame] | 364 | "include/perfetto/base/compiler.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 365 | "include/perfetto/base/export.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 366 | "include/perfetto/base/logging.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 367 | "include/perfetto/base/task_runner.h", |
Primiano Tucci | 2c5488f | 2019-06-01 03:27:28 +0100 | [diff] [blame] | 368 | "include/perfetto/ext/base/circular_queue.h", |
| 369 | "include/perfetto/ext/base/container_annotations.h", |
| 370 | "include/perfetto/ext/base/event.h", |
| 371 | "include/perfetto/ext/base/file_utils.h", |
| 372 | "include/perfetto/ext/base/hash.h", |
| 373 | "include/perfetto/ext/base/metatrace.h", |
Lalit Maganti | 0dc9859 | 2019-06-05 14:59:55 +0100 | [diff] [blame] | 374 | "include/perfetto/ext/base/metatrace_events.h", |
Primiano Tucci | 2c5488f | 2019-06-01 03:27:28 +0100 | [diff] [blame] | 375 | "include/perfetto/ext/base/no_destructor.h", |
| 376 | "include/perfetto/ext/base/optional.h", |
| 377 | "include/perfetto/ext/base/paged_memory.h", |
| 378 | "include/perfetto/ext/base/pipe.h", |
| 379 | "include/perfetto/ext/base/scoped_file.h", |
| 380 | "include/perfetto/ext/base/small_set.h", |
| 381 | "include/perfetto/ext/base/string_splitter.h", |
| 382 | "include/perfetto/ext/base/string_utils.h", |
| 383 | "include/perfetto/ext/base/string_view.h", |
| 384 | "include/perfetto/ext/base/string_writer.h", |
| 385 | "include/perfetto/ext/base/temp_file.h", |
| 386 | "include/perfetto/ext/base/thread_annotations.h", |
| 387 | "include/perfetto/ext/base/thread_checker.h", |
| 388 | "include/perfetto/ext/base/thread_task_runner.h", |
| 389 | "include/perfetto/ext/base/thread_utils.h", |
| 390 | "include/perfetto/ext/base/time.h", |
| 391 | "include/perfetto/ext/base/unix_socket.h", |
| 392 | "include/perfetto/ext/base/unix_task_runner.h", |
| 393 | "include/perfetto/ext/base/utils.h", |
| 394 | "include/perfetto/ext/base/watchdog.h", |
| 395 | "include/perfetto/ext/base/watchdog_noop.h", |
| 396 | "include/perfetto/ext/base/watchdog_posix.h", |
| 397 | "include/perfetto/ext/base/weak_ptr.h", |
| 398 | "include/perfetto/ext/traced/sys_stats_counters.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 399 | "include/perfetto/protozero/contiguous_memory_range.h", |
| 400 | "include/perfetto/protozero/field.h", |
| 401 | "include/perfetto/protozero/message.h", |
| 402 | "include/perfetto/protozero/message_handle.h", |
| 403 | "include/perfetto/protozero/proto_decoder.h", |
| 404 | "include/perfetto/protozero/proto_utils.h", |
| 405 | "include/perfetto/protozero/scattered_heap_buffer.h", |
| 406 | "include/perfetto/protozero/scattered_stream_null_delegate.h", |
| 407 | "include/perfetto/protozero/scattered_stream_writer.h", |
| 408 | "include/perfetto/trace_processor/basic_types.h", |
Primiano Tucci | 2c5488f | 2019-06-01 03:27:28 +0100 | [diff] [blame] | 409 | "include/perfetto/trace_processor/status.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 410 | "include/perfetto/trace_processor/trace_processor.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 411 | "src/base/event.cc", |
| 412 | "src/base/file_utils.cc", |
| 413 | "src/base/metatrace.cc", |
| 414 | "src/base/paged_memory.cc", |
| 415 | "src/base/pipe.cc", |
| 416 | "src/base/string_splitter.cc", |
| 417 | "src/base/string_utils.cc", |
| 418 | "src/base/string_view.cc", |
| 419 | "src/base/temp_file.cc", |
| 420 | "src/base/thread_checker.cc", |
| 421 | "src/base/thread_task_runner.cc", |
| 422 | "src/base/time.cc", |
| 423 | "src/base/unix_task_runner.cc", |
| 424 | "src/base/virtual_destructors.cc", |
| 425 | "src/base/watchdog_posix.cc", |
| 426 | "src/protozero/message.cc", |
| 427 | "src/protozero/message_handle.cc", |
| 428 | "src/protozero/proto_decoder.cc", |
| 429 | "src/protozero/scattered_heap_buffer.cc", |
| 430 | "src/protozero/scattered_stream_null_delegate.cc", |
| 431 | "src/protozero/scattered_stream_writer.cc", |
| 432 | "src/trace_processor/android_logs_table.cc", |
| 433 | "src/trace_processor/android_logs_table.h", |
| 434 | "src/trace_processor/args_table.cc", |
| 435 | "src/trace_processor/args_table.h", |
| 436 | "src/trace_processor/args_tracker.cc", |
| 437 | "src/trace_processor/args_tracker.h", |
| 438 | "src/trace_processor/chunked_trace_reader.h", |
| 439 | "src/trace_processor/clock_tracker.cc", |
| 440 | "src/trace_processor/clock_tracker.h", |
| 441 | "src/trace_processor/counter_definitions_table.cc", |
| 442 | "src/trace_processor/counter_definitions_table.h", |
| 443 | "src/trace_processor/counter_values_table.cc", |
| 444 | "src/trace_processor/counter_values_table.h", |
| 445 | "src/trace_processor/event_tracker.cc", |
| 446 | "src/trace_processor/event_tracker.h", |
Mikhail Khokhlov | a8d310d | 2019-05-07 17:34:21 +0100 | [diff] [blame] | 447 | "src/trace_processor/export_json.cc", |
| 448 | "src/trace_processor/export_json.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 449 | "src/trace_processor/filtered_row_index.cc", |
| 450 | "src/trace_processor/filtered_row_index.h", |
| 451 | "src/trace_processor/ftrace_descriptors.cc", |
| 452 | "src/trace_processor/ftrace_descriptors.h", |
| 453 | "src/trace_processor/ftrace_utils.cc", |
| 454 | "src/trace_processor/ftrace_utils.h", |
Brian Hamrick | d57e133 | 2019-04-24 11:25:36 -0700 | [diff] [blame] | 455 | "src/trace_processor/fuchsia_provider_view.cc", |
| 456 | "src/trace_processor/fuchsia_provider_view.h", |
| 457 | "src/trace_processor/fuchsia_trace_parser.cc", |
| 458 | "src/trace_processor/fuchsia_trace_parser.h", |
| 459 | "src/trace_processor/fuchsia_trace_tokenizer.cc", |
| 460 | "src/trace_processor/fuchsia_trace_tokenizer.h", |
| 461 | "src/trace_processor/fuchsia_trace_utils.cc", |
| 462 | "src/trace_processor/fuchsia_trace_utils.h", |
Hector Dearman | 22f1de5 | 2019-06-04 18:11:45 +0100 | [diff] [blame] | 463 | "src/trace_processor/gzip_trace_parser.cc", |
| 464 | "src/trace_processor/gzip_trace_parser.h", |
Lalit Maganti | 9b2d52b | 2019-05-07 14:32:15 +0100 | [diff] [blame] | 465 | "src/trace_processor/heap_profile_allocation_table.cc", |
| 466 | "src/trace_processor/heap_profile_allocation_table.h", |
| 467 | "src/trace_processor/heap_profile_callsite_table.cc", |
| 468 | "src/trace_processor/heap_profile_callsite_table.h", |
| 469 | "src/trace_processor/heap_profile_frame_table.cc", |
| 470 | "src/trace_processor/heap_profile_frame_table.h", |
| 471 | "src/trace_processor/heap_profile_mapping_table.cc", |
| 472 | "src/trace_processor/heap_profile_mapping_table.h", |
Florian Mayer | 438b5ab | 2019-05-02 11:18:06 +0100 | [diff] [blame] | 473 | "src/trace_processor/heap_profile_tracker.cc", |
| 474 | "src/trace_processor/heap_profile_tracker.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 475 | "src/trace_processor/instants_table.cc", |
| 476 | "src/trace_processor/instants_table.h", |
| 477 | "src/trace_processor/json_trace_parser.cc", |
| 478 | "src/trace_processor/json_trace_parser.h", |
Deepanjan Roy | 01994ca | 2019-04-02 11:05:34 -0700 | [diff] [blame] | 479 | "src/trace_processor/json_trace_tokenizer.cc", |
| 480 | "src/trace_processor/json_trace_tokenizer.h", |
| 481 | "src/trace_processor/json_trace_utils.cc", |
| 482 | "src/trace_processor/json_trace_utils.h", |
Mikhail Khokhlov | e466c00 | 2019-05-23 13:33:33 +0100 | [diff] [blame] | 483 | "src/trace_processor/metadata.h", |
| 484 | "src/trace_processor/metadata_table.cc", |
| 485 | "src/trace_processor/metadata_table.h", |
Lalit Maganti | 6221107 | 2019-05-10 14:09:58 +0100 | [diff] [blame] | 486 | "src/trace_processor/metrics/descriptors.cc", |
| 487 | "src/trace_processor/metrics/descriptors.h", |
Lalit Maganti | 622676a | 2019-04-30 14:15:37 +0100 | [diff] [blame] | 488 | "src/trace_processor/metrics/metrics.cc", |
Lalit Maganti | eb1bf21 | 2019-05-08 15:07:16 +0100 | [diff] [blame] | 489 | "src/trace_processor/metrics/metrics.descriptor.h", |
Lalit Maganti | 622676a | 2019-04-30 14:15:37 +0100 | [diff] [blame] | 490 | "src/trace_processor/metrics/metrics.h", |
Lalit Maganti | 697cc48 | 2019-05-01 14:39:11 +0100 | [diff] [blame] | 491 | "src/trace_processor/metrics/sql_metrics.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 492 | "src/trace_processor/null_term_string_view.h", |
| 493 | "src/trace_processor/process_table.cc", |
| 494 | "src/trace_processor/process_table.h", |
| 495 | "src/trace_processor/process_tracker.cc", |
| 496 | "src/trace_processor/process_tracker.h", |
Lalit Maganti | c50e142 | 2019-04-29 14:23:25 +0100 | [diff] [blame] | 497 | "src/trace_processor/proto_incremental_state.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 498 | "src/trace_processor/proto_trace_parser.cc", |
| 499 | "src/trace_processor/proto_trace_parser.h", |
| 500 | "src/trace_processor/proto_trace_tokenizer.cc", |
| 501 | "src/trace_processor/proto_trace_tokenizer.h", |
| 502 | "src/trace_processor/query_constraints.cc", |
| 503 | "src/trace_processor/query_constraints.h", |
| 504 | "src/trace_processor/raw_table.cc", |
| 505 | "src/trace_processor/raw_table.h", |
| 506 | "src/trace_processor/row_iterators.cc", |
| 507 | "src/trace_processor/row_iterators.h", |
| 508 | "src/trace_processor/sched_slice_table.cc", |
| 509 | "src/trace_processor/sched_slice_table.h", |
| 510 | "src/trace_processor/scoped_db.h", |
| 511 | "src/trace_processor/slice_table.cc", |
| 512 | "src/trace_processor/slice_table.h", |
| 513 | "src/trace_processor/slice_tracker.cc", |
| 514 | "src/trace_processor/slice_tracker.h", |
| 515 | "src/trace_processor/span_join_operator_table.cc", |
| 516 | "src/trace_processor/span_join_operator_table.h", |
| 517 | "src/trace_processor/sql_stats_table.cc", |
| 518 | "src/trace_processor/sql_stats_table.h", |
Lalit Maganti | c70cd21 | 2019-05-30 17:06:44 +0100 | [diff] [blame] | 519 | "src/trace_processor/sqlite.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 520 | "src/trace_processor/sqlite3_str_split.cc", |
| 521 | "src/trace_processor/sqlite3_str_split.h", |
| 522 | "src/trace_processor/sqlite_utils.h", |
| 523 | "src/trace_processor/stats.h", |
| 524 | "src/trace_processor/stats_table.cc", |
| 525 | "src/trace_processor/stats_table.h", |
| 526 | "src/trace_processor/storage_columns.cc", |
| 527 | "src/trace_processor/storage_columns.h", |
| 528 | "src/trace_processor/storage_schema.cc", |
| 529 | "src/trace_processor/storage_schema.h", |
| 530 | "src/trace_processor/storage_table.cc", |
| 531 | "src/trace_processor/storage_table.h", |
| 532 | "src/trace_processor/string_pool.cc", |
| 533 | "src/trace_processor/string_pool.h", |
| 534 | "src/trace_processor/string_table.cc", |
| 535 | "src/trace_processor/string_table.h", |
| 536 | "src/trace_processor/syscall_tracker.cc", |
| 537 | "src/trace_processor/syscall_tracker.h", |
Lalit Maganti | 5e60c65 | 2019-04-15 19:55:07 +0100 | [diff] [blame] | 538 | "src/trace_processor/syscalls_aarch32.h", |
| 539 | "src/trace_processor/syscalls_aarch64.h", |
| 540 | "src/trace_processor/syscalls_armeabi.h", |
| 541 | "src/trace_processor/syscalls_x86_64.h", |
Lalit Maganti | d33dc27 | 2019-06-06 14:51:45 +0100 | [diff] [blame] | 542 | "src/trace_processor/systrace_parser.cc", |
| 543 | "src/trace_processor/systrace_parser.h", |
Lalit Maganti | d54d752 | 2019-05-30 14:36:08 +0100 | [diff] [blame] | 544 | "src/trace_processor/systrace_trace_parser.cc", |
| 545 | "src/trace_processor/systrace_trace_parser.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 546 | "src/trace_processor/table.cc", |
| 547 | "src/trace_processor/table.h", |
| 548 | "src/trace_processor/thread_table.cc", |
| 549 | "src/trace_processor/thread_table.h", |
| 550 | "src/trace_processor/trace_blob_view.h", |
Deepanjan Roy | 01994ca | 2019-04-02 11:05:34 -0700 | [diff] [blame] | 551 | "src/trace_processor/trace_parser.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 552 | "src/trace_processor/trace_processor.cc", |
| 553 | "src/trace_processor/trace_processor_context.cc", |
| 554 | "src/trace_processor/trace_processor_context.h", |
| 555 | "src/trace_processor/trace_processor_impl.cc", |
| 556 | "src/trace_processor/trace_processor_impl.h", |
| 557 | "src/trace_processor/trace_processor_shell.cc", |
| 558 | "src/trace_processor/trace_sorter.cc", |
| 559 | "src/trace_processor/trace_sorter.h", |
| 560 | "src/trace_processor/trace_storage.cc", |
| 561 | "src/trace_processor/trace_storage.h", |
Mikhail Khokhlov | 85a0dd0 | 2019-05-17 14:22:28 +0100 | [diff] [blame] | 562 | "src/trace_processor/variadic.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 563 | "src/trace_processor/virtual_destructors.cc", |
| 564 | "src/trace_processor/window_operator_table.cc", |
| 565 | "src/trace_processor/window_operator_table.h", |
| 566 | ], |
| 567 | deps = [ |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 568 | "//third_party/perfetto:gen_merged_sql_metrics", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 569 | "//third_party/perfetto/google:jsoncpp", |
| 570 | "//third_party/perfetto/google:linenoise", |
| 571 | "//third_party/perfetto/google:perfetto_version", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 572 | "//third_party/perfetto/protos:common_zero_cc_proto", |
| 573 | "//third_party/perfetto/protos:config_zero_cc_proto", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 574 | "//third_party/perfetto/protos:metrics_android_zero_cc_proto", |
| 575 | "//third_party/perfetto/protos:metrics_zero_cc_proto", |
Lalit Maganti | 98465e1 | 2019-04-04 14:08:40 +0100 | [diff] [blame] | 576 | "//third_party/perfetto/protos:trace_android_zero_cc_proto", |
| 577 | "//third_party/perfetto/protos:trace_chrome_zero_cc_proto", |
| 578 | "//third_party/perfetto/protos:trace_filesystem_zero_cc_proto", |
| 579 | "//third_party/perfetto/protos:trace_ftrace_zero_cc_proto", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 580 | "//third_party/perfetto/protos:trace_gpu_zero_cc_proto", |
Lalit Maganti | 98465e1 | 2019-04-04 14:08:40 +0100 | [diff] [blame] | 581 | "//third_party/perfetto/protos:trace_interned_data_zero_cc_proto", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 582 | "//third_party/perfetto/protos:trace_perfetto_zero_cc_proto", |
Lalit Maganti | 98465e1 | 2019-04-04 14:08:40 +0100 | [diff] [blame] | 583 | "//third_party/perfetto/protos:trace_power_zero_cc_proto", |
Lalit Maganti | e59293b | 2019-05-22 15:07:39 +0100 | [diff] [blame] | 584 | "//third_party/perfetto/protos:trace_processor_metrics_impl_zero_cc_proto", |
Lalit Maganti | 98465e1 | 2019-04-04 14:08:40 +0100 | [diff] [blame] | 585 | "//third_party/perfetto/protos:trace_profiling_zero_cc_proto", |
| 586 | "//third_party/perfetto/protos:trace_ps_zero_cc_proto", |
| 587 | "//third_party/perfetto/protos:trace_sys_stats_zero_cc_proto", |
| 588 | "//third_party/perfetto/protos:trace_track_event_zero_cc_proto", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 589 | "//third_party/perfetto/protos:trace_zero_cc_proto", |
Lalit Maganti | ca4d514 | 2019-05-28 13:25:47 +0100 | [diff] [blame] | 590 | "//third_party/protobuf", |
| 591 | "//third_party/protobuf:libprotoc", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 592 | "//third_party/sqlite", |
| 593 | "//third_party/sqlite:sqlite_ext_percentile", |
Hector Dearman | 22f1de5 | 2019-06-04 18:11:45 +0100 | [diff] [blame] | 594 | "//third_party/zlib", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 595 | ], |
| 596 | ) |
| 597 | |
Lalit Maganti | 5e24247 | 2019-04-01 17:25:08 +0100 | [diff] [blame] | 598 | # GN target: //tools/trace_to_text:trace_to_text_host |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 599 | cc_binary( |
Lalit Maganti | 5e24247 | 2019-04-01 17:25:08 +0100 | [diff] [blame] | 600 | name = "trace_to_text", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 601 | srcs = [ |
| 602 | "include/perfetto/base/build_config.h", |
Primiano Tucci | 2c5488f | 2019-06-01 03:27:28 +0100 | [diff] [blame] | 603 | "include/perfetto/base/compiler.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 604 | "include/perfetto/base/export.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 605 | "include/perfetto/base/logging.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 606 | "include/perfetto/base/task_runner.h", |
Primiano Tucci | 2c5488f | 2019-06-01 03:27:28 +0100 | [diff] [blame] | 607 | "include/perfetto/ext/base/circular_queue.h", |
| 608 | "include/perfetto/ext/base/container_annotations.h", |
| 609 | "include/perfetto/ext/base/event.h", |
| 610 | "include/perfetto/ext/base/file_utils.h", |
| 611 | "include/perfetto/ext/base/hash.h", |
| 612 | "include/perfetto/ext/base/metatrace.h", |
Lalit Maganti | 0dc9859 | 2019-06-05 14:59:55 +0100 | [diff] [blame] | 613 | "include/perfetto/ext/base/metatrace_events.h", |
Primiano Tucci | 2c5488f | 2019-06-01 03:27:28 +0100 | [diff] [blame] | 614 | "include/perfetto/ext/base/no_destructor.h", |
| 615 | "include/perfetto/ext/base/optional.h", |
| 616 | "include/perfetto/ext/base/paged_memory.h", |
| 617 | "include/perfetto/ext/base/pipe.h", |
| 618 | "include/perfetto/ext/base/scoped_file.h", |
| 619 | "include/perfetto/ext/base/small_set.h", |
| 620 | "include/perfetto/ext/base/string_splitter.h", |
| 621 | "include/perfetto/ext/base/string_utils.h", |
| 622 | "include/perfetto/ext/base/string_view.h", |
| 623 | "include/perfetto/ext/base/string_writer.h", |
| 624 | "include/perfetto/ext/base/temp_file.h", |
| 625 | "include/perfetto/ext/base/thread_annotations.h", |
| 626 | "include/perfetto/ext/base/thread_checker.h", |
| 627 | "include/perfetto/ext/base/thread_task_runner.h", |
| 628 | "include/perfetto/ext/base/thread_utils.h", |
| 629 | "include/perfetto/ext/base/time.h", |
| 630 | "include/perfetto/ext/base/unix_socket.h", |
| 631 | "include/perfetto/ext/base/unix_task_runner.h", |
| 632 | "include/perfetto/ext/base/utils.h", |
| 633 | "include/perfetto/ext/base/watchdog.h", |
| 634 | "include/perfetto/ext/base/watchdog_noop.h", |
| 635 | "include/perfetto/ext/base/watchdog_posix.h", |
| 636 | "include/perfetto/ext/base/weak_ptr.h", |
| 637 | "include/perfetto/ext/traced/sys_stats_counters.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 638 | "include/perfetto/protozero/contiguous_memory_range.h", |
| 639 | "include/perfetto/protozero/field.h", |
| 640 | "include/perfetto/protozero/message.h", |
| 641 | "include/perfetto/protozero/message_handle.h", |
| 642 | "include/perfetto/protozero/proto_decoder.h", |
| 643 | "include/perfetto/protozero/proto_utils.h", |
| 644 | "include/perfetto/protozero/scattered_heap_buffer.h", |
| 645 | "include/perfetto/protozero/scattered_stream_null_delegate.h", |
| 646 | "include/perfetto/protozero/scattered_stream_writer.h", |
| 647 | "include/perfetto/trace_processor/basic_types.h", |
Primiano Tucci | 2c5488f | 2019-06-01 03:27:28 +0100 | [diff] [blame] | 648 | "include/perfetto/trace_processor/status.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 649 | "include/perfetto/trace_processor/trace_processor.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 650 | "src/base/event.cc", |
| 651 | "src/base/file_utils.cc", |
| 652 | "src/base/metatrace.cc", |
| 653 | "src/base/paged_memory.cc", |
| 654 | "src/base/pipe.cc", |
| 655 | "src/base/string_splitter.cc", |
| 656 | "src/base/string_utils.cc", |
| 657 | "src/base/string_view.cc", |
| 658 | "src/base/temp_file.cc", |
| 659 | "src/base/thread_checker.cc", |
| 660 | "src/base/thread_task_runner.cc", |
| 661 | "src/base/time.cc", |
| 662 | "src/base/unix_task_runner.cc", |
| 663 | "src/base/virtual_destructors.cc", |
| 664 | "src/base/watchdog_posix.cc", |
| 665 | "src/protozero/message.cc", |
| 666 | "src/protozero/message_handle.cc", |
| 667 | "src/protozero/proto_decoder.cc", |
| 668 | "src/protozero/scattered_heap_buffer.cc", |
| 669 | "src/protozero/scattered_stream_null_delegate.cc", |
| 670 | "src/protozero/scattered_stream_writer.cc", |
| 671 | "src/trace_processor/android_logs_table.cc", |
| 672 | "src/trace_processor/android_logs_table.h", |
| 673 | "src/trace_processor/args_table.cc", |
| 674 | "src/trace_processor/args_table.h", |
| 675 | "src/trace_processor/args_tracker.cc", |
| 676 | "src/trace_processor/args_tracker.h", |
| 677 | "src/trace_processor/chunked_trace_reader.h", |
| 678 | "src/trace_processor/clock_tracker.cc", |
| 679 | "src/trace_processor/clock_tracker.h", |
| 680 | "src/trace_processor/counter_definitions_table.cc", |
| 681 | "src/trace_processor/counter_definitions_table.h", |
| 682 | "src/trace_processor/counter_values_table.cc", |
| 683 | "src/trace_processor/counter_values_table.h", |
| 684 | "src/trace_processor/event_tracker.cc", |
| 685 | "src/trace_processor/event_tracker.h", |
Mikhail Khokhlov | a8d310d | 2019-05-07 17:34:21 +0100 | [diff] [blame] | 686 | "src/trace_processor/export_json.cc", |
| 687 | "src/trace_processor/export_json.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 688 | "src/trace_processor/filtered_row_index.cc", |
| 689 | "src/trace_processor/filtered_row_index.h", |
| 690 | "src/trace_processor/ftrace_descriptors.cc", |
| 691 | "src/trace_processor/ftrace_descriptors.h", |
| 692 | "src/trace_processor/ftrace_utils.cc", |
| 693 | "src/trace_processor/ftrace_utils.h", |
Brian Hamrick | d57e133 | 2019-04-24 11:25:36 -0700 | [diff] [blame] | 694 | "src/trace_processor/fuchsia_provider_view.cc", |
| 695 | "src/trace_processor/fuchsia_provider_view.h", |
| 696 | "src/trace_processor/fuchsia_trace_parser.cc", |
| 697 | "src/trace_processor/fuchsia_trace_parser.h", |
| 698 | "src/trace_processor/fuchsia_trace_tokenizer.cc", |
| 699 | "src/trace_processor/fuchsia_trace_tokenizer.h", |
| 700 | "src/trace_processor/fuchsia_trace_utils.cc", |
| 701 | "src/trace_processor/fuchsia_trace_utils.h", |
Hector Dearman | 22f1de5 | 2019-06-04 18:11:45 +0100 | [diff] [blame] | 702 | "src/trace_processor/gzip_trace_parser.cc", |
| 703 | "src/trace_processor/gzip_trace_parser.h", |
Lalit Maganti | 9b2d52b | 2019-05-07 14:32:15 +0100 | [diff] [blame] | 704 | "src/trace_processor/heap_profile_allocation_table.cc", |
| 705 | "src/trace_processor/heap_profile_allocation_table.h", |
| 706 | "src/trace_processor/heap_profile_callsite_table.cc", |
| 707 | "src/trace_processor/heap_profile_callsite_table.h", |
| 708 | "src/trace_processor/heap_profile_frame_table.cc", |
| 709 | "src/trace_processor/heap_profile_frame_table.h", |
| 710 | "src/trace_processor/heap_profile_mapping_table.cc", |
| 711 | "src/trace_processor/heap_profile_mapping_table.h", |
Florian Mayer | 438b5ab | 2019-05-02 11:18:06 +0100 | [diff] [blame] | 712 | "src/trace_processor/heap_profile_tracker.cc", |
| 713 | "src/trace_processor/heap_profile_tracker.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 714 | "src/trace_processor/instants_table.cc", |
| 715 | "src/trace_processor/instants_table.h", |
| 716 | "src/trace_processor/json_trace_parser.cc", |
| 717 | "src/trace_processor/json_trace_parser.h", |
Deepanjan Roy | 01994ca | 2019-04-02 11:05:34 -0700 | [diff] [blame] | 718 | "src/trace_processor/json_trace_tokenizer.cc", |
| 719 | "src/trace_processor/json_trace_tokenizer.h", |
| 720 | "src/trace_processor/json_trace_utils.cc", |
| 721 | "src/trace_processor/json_trace_utils.h", |
Mikhail Khokhlov | e466c00 | 2019-05-23 13:33:33 +0100 | [diff] [blame] | 722 | "src/trace_processor/metadata.h", |
| 723 | "src/trace_processor/metadata_table.cc", |
| 724 | "src/trace_processor/metadata_table.h", |
Lalit Maganti | 6221107 | 2019-05-10 14:09:58 +0100 | [diff] [blame] | 725 | "src/trace_processor/metrics/descriptors.cc", |
| 726 | "src/trace_processor/metrics/descriptors.h", |
Lalit Maganti | 622676a | 2019-04-30 14:15:37 +0100 | [diff] [blame] | 727 | "src/trace_processor/metrics/metrics.cc", |
Lalit Maganti | eb1bf21 | 2019-05-08 15:07:16 +0100 | [diff] [blame] | 728 | "src/trace_processor/metrics/metrics.descriptor.h", |
Lalit Maganti | 622676a | 2019-04-30 14:15:37 +0100 | [diff] [blame] | 729 | "src/trace_processor/metrics/metrics.h", |
Lalit Maganti | 697cc48 | 2019-05-01 14:39:11 +0100 | [diff] [blame] | 730 | "src/trace_processor/metrics/sql_metrics.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 731 | "src/trace_processor/null_term_string_view.h", |
| 732 | "src/trace_processor/process_table.cc", |
| 733 | "src/trace_processor/process_table.h", |
| 734 | "src/trace_processor/process_tracker.cc", |
| 735 | "src/trace_processor/process_tracker.h", |
Lalit Maganti | c50e142 | 2019-04-29 14:23:25 +0100 | [diff] [blame] | 736 | "src/trace_processor/proto_incremental_state.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 737 | "src/trace_processor/proto_trace_parser.cc", |
| 738 | "src/trace_processor/proto_trace_parser.h", |
| 739 | "src/trace_processor/proto_trace_tokenizer.cc", |
| 740 | "src/trace_processor/proto_trace_tokenizer.h", |
| 741 | "src/trace_processor/query_constraints.cc", |
| 742 | "src/trace_processor/query_constraints.h", |
| 743 | "src/trace_processor/raw_table.cc", |
| 744 | "src/trace_processor/raw_table.h", |
| 745 | "src/trace_processor/row_iterators.cc", |
| 746 | "src/trace_processor/row_iterators.h", |
| 747 | "src/trace_processor/sched_slice_table.cc", |
| 748 | "src/trace_processor/sched_slice_table.h", |
| 749 | "src/trace_processor/scoped_db.h", |
| 750 | "src/trace_processor/slice_table.cc", |
| 751 | "src/trace_processor/slice_table.h", |
| 752 | "src/trace_processor/slice_tracker.cc", |
| 753 | "src/trace_processor/slice_tracker.h", |
| 754 | "src/trace_processor/span_join_operator_table.cc", |
| 755 | "src/trace_processor/span_join_operator_table.h", |
| 756 | "src/trace_processor/sql_stats_table.cc", |
| 757 | "src/trace_processor/sql_stats_table.h", |
Lalit Maganti | c70cd21 | 2019-05-30 17:06:44 +0100 | [diff] [blame] | 758 | "src/trace_processor/sqlite.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 759 | "src/trace_processor/sqlite3_str_split.cc", |
| 760 | "src/trace_processor/sqlite3_str_split.h", |
| 761 | "src/trace_processor/sqlite_utils.h", |
| 762 | "src/trace_processor/stats.h", |
| 763 | "src/trace_processor/stats_table.cc", |
| 764 | "src/trace_processor/stats_table.h", |
| 765 | "src/trace_processor/storage_columns.cc", |
| 766 | "src/trace_processor/storage_columns.h", |
| 767 | "src/trace_processor/storage_schema.cc", |
| 768 | "src/trace_processor/storage_schema.h", |
| 769 | "src/trace_processor/storage_table.cc", |
| 770 | "src/trace_processor/storage_table.h", |
| 771 | "src/trace_processor/string_pool.cc", |
| 772 | "src/trace_processor/string_pool.h", |
| 773 | "src/trace_processor/string_table.cc", |
| 774 | "src/trace_processor/string_table.h", |
| 775 | "src/trace_processor/syscall_tracker.cc", |
| 776 | "src/trace_processor/syscall_tracker.h", |
Lalit Maganti | 5e60c65 | 2019-04-15 19:55:07 +0100 | [diff] [blame] | 777 | "src/trace_processor/syscalls_aarch32.h", |
| 778 | "src/trace_processor/syscalls_aarch64.h", |
| 779 | "src/trace_processor/syscalls_armeabi.h", |
| 780 | "src/trace_processor/syscalls_x86_64.h", |
Lalit Maganti | d33dc27 | 2019-06-06 14:51:45 +0100 | [diff] [blame] | 781 | "src/trace_processor/systrace_parser.cc", |
| 782 | "src/trace_processor/systrace_parser.h", |
Lalit Maganti | d54d752 | 2019-05-30 14:36:08 +0100 | [diff] [blame] | 783 | "src/trace_processor/systrace_trace_parser.cc", |
| 784 | "src/trace_processor/systrace_trace_parser.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 785 | "src/trace_processor/table.cc", |
| 786 | "src/trace_processor/table.h", |
| 787 | "src/trace_processor/thread_table.cc", |
| 788 | "src/trace_processor/thread_table.h", |
| 789 | "src/trace_processor/trace_blob_view.h", |
Deepanjan Roy | 01994ca | 2019-04-02 11:05:34 -0700 | [diff] [blame] | 790 | "src/trace_processor/trace_parser.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 791 | "src/trace_processor/trace_processor.cc", |
| 792 | "src/trace_processor/trace_processor_context.cc", |
| 793 | "src/trace_processor/trace_processor_context.h", |
| 794 | "src/trace_processor/trace_processor_impl.cc", |
| 795 | "src/trace_processor/trace_processor_impl.h", |
| 796 | "src/trace_processor/trace_sorter.cc", |
| 797 | "src/trace_processor/trace_sorter.h", |
| 798 | "src/trace_processor/trace_storage.cc", |
| 799 | "src/trace_processor/trace_storage.h", |
Mikhail Khokhlov | 85a0dd0 | 2019-05-17 14:22:28 +0100 | [diff] [blame] | 800 | "src/trace_processor/variadic.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 801 | "src/trace_processor/virtual_destructors.cc", |
| 802 | "src/trace_processor/window_operator_table.cc", |
| 803 | "src/trace_processor/window_operator_table.h", |
| 804 | "tools/trace_to_text/main.cc", |
| 805 | "tools/trace_to_text/proto_full_utils.cc", |
| 806 | "tools/trace_to_text/proto_full_utils.h", |
| 807 | "tools/trace_to_text/trace_to_profile.cc", |
| 808 | "tools/trace_to_text/trace_to_profile.h", |
| 809 | "tools/trace_to_text/trace_to_systrace.cc", |
| 810 | "tools/trace_to_text/trace_to_systrace.h", |
| 811 | "tools/trace_to_text/trace_to_text.cc", |
| 812 | "tools/trace_to_text/trace_to_text.h", |
| 813 | "tools/trace_to_text/utils.cc", |
| 814 | "tools/trace_to_text/utils.h", |
| 815 | ], |
| 816 | deps = [ |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 817 | "//third_party/perfetto:gen_merged_sql_metrics", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 818 | "//third_party/perfetto/google:jsoncpp", |
| 819 | "//third_party/perfetto/google:perfetto_version", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 820 | "//third_party/perfetto/protos:common_cc_proto", |
| 821 | "//third_party/perfetto/protos:common_zero_cc_proto", |
| 822 | "//third_party/perfetto/protos:config_cc_proto", |
| 823 | "//third_party/perfetto/protos:config_zero_cc_proto", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 824 | "//third_party/perfetto/protos:metrics_android_zero_cc_proto", |
| 825 | "//third_party/perfetto/protos:metrics_zero_cc_proto", |
Lalit Maganti | 98465e1 | 2019-04-04 14:08:40 +0100 | [diff] [blame] | 826 | "//third_party/perfetto/protos:protos_third_party_pprof_cc_proto", |
| 827 | "//third_party/perfetto/protos:trace_android_cc_proto", |
| 828 | "//third_party/perfetto/protos:trace_android_zero_cc_proto", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 829 | "//third_party/perfetto/protos:trace_cc_proto", |
Lalit Maganti | 98465e1 | 2019-04-04 14:08:40 +0100 | [diff] [blame] | 830 | "//third_party/perfetto/protos:trace_chrome_cc_proto", |
| 831 | "//third_party/perfetto/protos:trace_chrome_zero_cc_proto", |
| 832 | "//third_party/perfetto/protos:trace_filesystem_cc_proto", |
| 833 | "//third_party/perfetto/protos:trace_filesystem_zero_cc_proto", |
| 834 | "//third_party/perfetto/protos:trace_ftrace_cc_proto", |
| 835 | "//third_party/perfetto/protos:trace_ftrace_zero_cc_proto", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 836 | "//third_party/perfetto/protos:trace_gpu_cc_proto", |
| 837 | "//third_party/perfetto/protos:trace_gpu_zero_cc_proto", |
Lalit Maganti | 98465e1 | 2019-04-04 14:08:40 +0100 | [diff] [blame] | 838 | "//third_party/perfetto/protos:trace_interned_data_cc_proto", |
| 839 | "//third_party/perfetto/protos:trace_interned_data_zero_cc_proto", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 840 | "//third_party/perfetto/protos:trace_minimal_cc_proto", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 841 | "//third_party/perfetto/protos:trace_perfetto_cc_proto", |
| 842 | "//third_party/perfetto/protos:trace_perfetto_zero_cc_proto", |
Lalit Maganti | 98465e1 | 2019-04-04 14:08:40 +0100 | [diff] [blame] | 843 | "//third_party/perfetto/protos:trace_power_cc_proto", |
| 844 | "//third_party/perfetto/protos:trace_power_zero_cc_proto", |
Lalit Maganti | e59293b | 2019-05-22 15:07:39 +0100 | [diff] [blame] | 845 | "//third_party/perfetto/protos:trace_processor_metrics_impl_zero_cc_proto", |
Lalit Maganti | 98465e1 | 2019-04-04 14:08:40 +0100 | [diff] [blame] | 846 | "//third_party/perfetto/protos:trace_profiling_cc_proto", |
| 847 | "//third_party/perfetto/protos:trace_profiling_zero_cc_proto", |
| 848 | "//third_party/perfetto/protos:trace_ps_cc_proto", |
| 849 | "//third_party/perfetto/protos:trace_ps_zero_cc_proto", |
| 850 | "//third_party/perfetto/protos:trace_sys_stats_cc_proto", |
| 851 | "//third_party/perfetto/protos:trace_sys_stats_zero_cc_proto", |
| 852 | "//third_party/perfetto/protos:trace_track_event_cc_proto", |
| 853 | "//third_party/perfetto/protos:trace_track_event_zero_cc_proto", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 854 | "//third_party/perfetto/protos:trace_zero_cc_proto", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 855 | "//third_party/protobuf", |
| 856 | "//third_party/protobuf:libprotoc", |
| 857 | "//third_party/sqlite", |
| 858 | "//third_party/sqlite:sqlite_ext_percentile", |
Hector Dearman | 22f1de5 | 2019-06-04 18:11:45 +0100 | [diff] [blame] | 859 | "//third_party/zlib", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 860 | ], |
| 861 | ) |
| 862 | |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 863 | gensignature( |
Lalit Maganti | ef545da | 2019-05-02 14:05:40 +0100 | [diff] [blame] | 864 | name = "trace_processor_sig", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 865 | srcs = [ |
| 866 | ":trace_processor_shell", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 867 | ":trace_to_text", |
| 868 | ], |
Lalit Maganti | ef545da | 2019-05-02 14:05:40 +0100 | [diff] [blame] | 869 | tags = [ |
| 870 | "__TRACE_PROCESSOR_SIG_TAG1", |
| 871 | "__TRACE_PROCESSOR_SIG_TAG2", |
| 872 | ], |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 873 | ) |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 874 | |
| 875 | py_binary( |
Lalit Maganti | caac992 | 2019-05-01 10:40:53 +0100 | [diff] [blame] | 876 | name = "gen_merged_sql_metrics_py", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 877 | srcs = [ |
Lalit Maganti | ab619fa | 2019-05-02 12:56:37 +0100 | [diff] [blame] | 878 | "tools/gen_merged_sql_metrics.py", |
| 879 | ], |
| 880 | main = "tools/gen_merged_sql_metrics.py", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 881 | ) |
Florian Mayer | 41bca83 | 2019-05-09 17:30:26 +0100 | [diff] [blame] | 882 | |
| 883 | load("//security/fuzzing/blaze:cc_fuzz_target.bzl", "cc_fuzz_target") |
| 884 | |
| 885 | cc_fuzz_target( |
| 886 | name = "trace_parsing_fuzzer", |
| 887 | srcs = ["src/trace_processor/trace_parsing_fuzzer.cc"], |
| 888 | componentid = 323270, |
| 889 | deps = [ |
| 890 | ":trace_processor", |
| 891 | "//third_party/perfetto/protos:trace_processor_cc_proto", |
| 892 | ], |
| 893 | ) |
Florian Mayer | e09a797 | 2019-05-09 17:31:42 +0100 | [diff] [blame] | 894 | |
| 895 | cc_fuzz_target( |
| 896 | name = "proto_decoder_fuzzer", |
| 897 | srcs = ["src/protozero/proto_decoder_fuzzer.cc"], |
| 898 | componentid = 323270, |
| 899 | deps = [ |
| 900 | ":trace_processor", |
| 901 | ], |
| 902 | ) |