1# Copyright (C) 2021 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/test.gni") 15import("//test/xts/tools/build/suite.gni") 16 17#module_output_path = "hits/huks_standard" 18######################################################## 19config("module_private_config") { 20 visibility = [ ":*" ] 21 include_dirs = [ 22 "//commonlibrary/c_utils/base/include", 23 "//third_party/bounds_checking_function/include", 24 "//third_party/musl/porting/linux/user/include", 25 "//test/xts/acts/security_lite/huks/common/include", 26 ] 27} 28 29######################################################## 30ohos_moduletest_suite("ActsToolChainTest") { 31 configs = [ ":module_private_config" ] 32 cflags_cc = [ "-DHILOG_ENABLE" ] 33 defines = [ "_STANDARD_SYSTEM_" ] 34 35 sources = [ 36 "include/getfiles.cpp", 37 "include/setrlim.cpp", 38 "src/toolchaintest.cpp", 39 ] 40 41 include_dirs = [ 42 "//commonlibrary/c_utils/base/include", 43 "//third_party/bounds_checking_function/include", 44 "//third_party/musl/porting/linux/user/include/", 45 "//third_party/musl/porting/linux/user/src/sched", 46 "/third_party/musl/libc-test/src/commom", 47 "./include", 48 ] 49 50 external_deps = [ "c_utils:utils" ] 51 deps = [ "//third_party/bounds_checking_function:libsec_static" ] 52 53 part_name = "toolchain" 54 subsystem_name = "arkcompiler" 55} 56