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 "//third_party/bounds_checking_function/include", 23 "//third_party/musl/porting/linux/user/include", 24 ] 25} 26 27######################################################## 28ohos_moduletest_suite("ActsToolChainTest") { 29 configs = [ ":module_private_config" ] 30 cflags_cc = [ "-DHILOG_ENABLE" ] 31 defines = [ "_STANDARD_SYSTEM_" ] 32 33 sources = [ 34 "include/getfiles.cpp", 35 "include/setrlim.cpp", 36 "src/toolchaintest.cpp", 37 ] 38 39 include_dirs = [ 40 "//third_party/bounds_checking_function/include", 41 "//third_party/musl/porting/linux/user/include/", 42 "//third_party/musl/porting/linux/user/src/sched", 43 "/third_party/musl/libc-test/src/commom", 44 "./include", 45 ] 46 47 external_deps = [ "c_utils:utils" ] 48 deps = [ "//third_party/bounds_checking_function:libsec_static" ] 49 50 part_name = "toolchain" 51 subsystem_name = "arkcompiler" 52} 53