1# Copyright (C) 2022 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/test.gni") 16 17source_set("minimal") { 18 sources = [ 19 "etw_module.cc", 20 "etw_module.h", 21 ] 22 deps = [ 23 "../../../../gn:default_deps", 24 "../common:parser_types", 25 "../common:trace_parser_hdr", 26 "../proto:proto_importer_module", 27 ] 28} 29 30source_set("full") { 31 sources = [ 32 "etw_module_impl.cc", 33 "etw_module_impl.h", 34 "etw_parser.cc", 35 "etw_parser.h", 36 "etw_tokenizer.cc", 37 "etw_tokenizer.h", 38 ] 39 deps = [ 40 ":minimal", 41 "../../../../gn:default_deps", 42 "../../../../protos/perfetto/common:zero", 43 "../../../../protos/perfetto/trace:zero", 44 "../../../../protos/perfetto/trace/etw:zero", 45 "../../../../protos/perfetto/trace/interned_data:zero", 46 "../../../protozero", 47 "../../sorter", 48 "../../storage", 49 "../../types", 50 "../common", 51 "../common:parser_types", 52 "../i2c:full", 53 "../proto:minimal", 54 "../proto:packet_sequence_state_generation_hdr", 55 "../syscalls:full", 56 ] 57} 58