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_message_decoder.cc", 22 "protolog_message_decoder.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 "viewcapture_parser.cc", 36 "viewcapture_parser.h", 37 "winscope_module.cc", 38 "winscope_module.h", 39 ] 40 deps = [ 41 ":gen_cc_winscope_descriptor", 42 "../:proto_importer_module", 43 "../../../../../gn:default_deps", 44 "../../../../../protos/perfetto/trace:zero", 45 "../../../../../protos/perfetto/trace/android:winscope_common_zero", 46 "../../../../../protos/perfetto/trace/android:winscope_extensions_zero", 47 "../../../../../protos/perfetto/trace/android:winscope_regular_zero", 48 "../../../../../protos/perfetto/trace/android:zero", 49 "../../../../../protos/perfetto/trace/interned_data:zero", 50 "../../../../../protos/perfetto/trace/profiling:zero", 51 "../../../../protozero", 52 "../../../containers", 53 "../../../storage", 54 "../../../tables", 55 "../../../types", 56 "../../common", 57 "../../common:parser_types", 58 "../../proto:minimal", 59 "../../proto:packet_sequence_state_generation_hdr", 60 "../../../util:winscope_proto_mapping" 61 ] 62} 63 64perfetto_cc_proto_descriptor("gen_cc_winscope_descriptor") { 65 descriptor_name = "winscope.descriptor" 66 descriptor_target = 67 "../../../../../protos/perfetto/trace/android:winscope_descriptor" 68} 69