1# Copyright (C) 2021-2022 Huawei Device Co., Ltd. 2# Licensed under the Apache License, Version 2.0 (the "License"); 3# you may not use this file except in compliance with the License. 4# You may obtain a copy of the License at 5# 6# http://www.apache.org/licenses/LICENSE-2.0 7# 8# Unless required by applicable law or agreed to in writing, software 9# distributed under the License is distributed on an "AS IS" BASIS, 10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11# See the License for the specific language governing permissions and 12# limitations under the License. 13 14import("//build/ohos_var.gni") 15import("//test/xts/hats/build.gni") 16import( 17 "open_posix_testsuite/conformance/interfaces_gn/posix_interface_config.gni") 18 19group("kernel") { 20 testonly = true 21 if (is_standard_system) { 22 if (xts_hats_rich == true) { 23 deps = [ 24 "accesstokenid:HatsAccesstokenidTest", 25 "memtracker:HatsMemoryTrackerTest", 26 "open_posix_testsuite/conformance/interfaces_gn:${posix_interface_module}", 27 "prctl:HatsPrctlTest", 28 "purgeableMem:HatsPurgeable", 29 ] 30 } else { 31 deps = [ 32 "accesstokenid:HatsAccesstokenidTest", 33 "freelist:HatsFreeListTest", 34 "memtracker:HatsMemoryTrackerTest", 35 "open_posix_testsuite/conformance/interfaces_gn:${posix_interface_module}", 36 "prctl:HatsPrctlTest", 37 "purgeableMem:HatsPurgeable", 38 ] 39 } 40 } 41} 42