1# Copyright (C) 2023 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 15import("../../../../../gn/perfetto_cc_proto_descriptor.gni") 16 17source_set("full") { 18 sources = [ 19 "android_input_event_parser.cc", 20 "android_input_event_parser.h", 21 "protolog_messages_tracker.cc", 22 "protolog_messages_tracker.h", 23 "protolog_parser.cc", 24 "protolog_parser.h", 25 "shell_transitions_parser.cc", 26 "shell_transitions_parser.h", 27 "shell_transitions_tracker.cc", 28 "shell_transitions_tracker.h", 29 "surfaceflinger_layers_parser.cc", 30 "surfaceflinger_layers_parser.h", 31 "surfaceflinger_transactions_parser.cc", 32 "surfaceflinger_transactions_parser.h", 33 "viewcapture_args_parser.cc", 34 "viewcapture_args_parser.h", 35 "winscope_module.cc", 36 "winscope_module.h", 37 ] 38 deps = [ 39 ":gen_cc_winscope_descriptor", 40 "../:proto_importer_module", 41 "../../../../../gn:default_deps", 42 "../../../../../protos/perfetto/trace:zero", 43 "../../../../../protos/perfetto/trace/android:winscope_common_zero", 44 "../../../../../protos/perfetto/trace/android:winscope_extensions_zero", 45 "../../../../../protos/perfetto/trace/android:winscope_regular_zero", 46 "../../../../../protos/perfetto/trace/android:zero", 47 "../../../../../protos/perfetto/trace/interned_data:zero", 48 "../../../../../protos/perfetto/trace/profiling:zero", 49 "../../../../protozero", 50 "../../../containers", 51 "../../../storage", 52 "../../../tables", 53 "../../../types", 54 "../../common", 55 "../../common:parser_types", 56 "../../proto:minimal", 57 "../../proto:packet_sequence_state_generation_hdr", 58 ] 59} 60 61perfetto_cc_proto_descriptor("gen_cc_winscope_descriptor") { 62 descriptor_name = "winscope.descriptor" 63 descriptor_target = 64 "../../../../../protos/perfetto/trace/android:winscope_descriptor" 65} 66