# Copyright (c) 2020-2021 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. import("//test/xts/tools/lite/build/suite_lite.gni") hctest_suite("ActsSamgrTest") { suite_name = "acts" sources = [ "src/broadcast_publish_func_test.c", "src/broadcast_subscribe_func_test.c", "src/common_func_test.c", "src/defaultfeatureapi_func_test.c", "src/feature_func_test.c", "src/featureapi_func_test.c", "src/iunknown_func_test.c", "src/sendrequest_func_test.c", "src/sendresponse_func_test.c", "src/sendsharerequest_func_test.c", "src/service_func_test.c", "src/taskpool_notask_func_test.c", "src/taskpool_sharedtask_func_test.c", "src/taskpool_singletask_func_test.c", "src/taskpool_specifiedtask_func_test.c", "utils/samgr_maintenance.c", ] include_dirs = [ "//test/xts/tools/hctest/include", "//third_party/unity/src", "//kernel/liteos_m/kal", "//foundation/systemabilitymgr/samgr_lite/interfaces/kits/samgr", "//foundation/systemabilitymgr/samgr_lite/interfaces/kits/communication/broadcast", "//foundation/systemabilitymgr/samgr_lite/samgr/adapter", "//foundation/systemabilitymgr/samgr_lite/samgr/source", "src", "utils", ] public_deps = [ "//foundation/systemabilitymgr/samgr_lite/samgr/adapter:samgr_adapter" ] defines = [ "UNITY_INCLUDE_CONFIG_H" ] if (board_toolchain_type != "iccarm") { cflags = [ "-Wno-error" ] } }