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("//test/xts/tools/lite/build/suite_lite.gni") 15 16hcpptest_suite("ActsPMSTest") { 17 suite_name = "acts" 18 sources = [ 19 "src/ActsPMSCheckTest.cpp", 20 "src/ActsPMSDeleteTest.cpp", 21 "src/ActsPMSGrantRuntimeTest.cpp", 22 "src/ActsPMSGrantTest.cpp", 23 "src/ActsPMSLoadTest.cpp", 24 "src/ActsPMSRevokeTest.cpp", 25 "src/ActsPMSSaveTest.cpp", 26 "src/ActsPMSTest.h", 27 "src/ActsPMSUnloadTest.cpp", 28 "src/ActsPMSUpdatePermissionTest.cpp", 29 ] 30 31 include_dirs = [ 32 "src", 33 "include", 34 "//commonlibrary/utils_lite/include", 35 "//foundation/systemabilitymgr/samgr_lite/interfaces/kits/samgr", 36 "//foundation/systemabilitymgr/samgr_lite/interfaces/kits/communication/broadcast", 37 "//base/security/permission_lite/interfaces/innerkits", 38 "//base/security/permission_lite/interfaces/kits", 39 "//base/security/permission_lite/services/pms_base/include", 40 "//base/security/permission_lite/services/pms/include", 41 "//base/security/permission_lite/services/ipc_auth/include", 42 "//third_party/bounds_checking_function/include/", 43 ] 44 45 deps = [ 46 "${appexecfwk_lite_path}/frameworks/bundle_lite:bundle", 47 "//base/security/permission_lite/services:permission_lite", 48 "//build/lite/config/component/cJSON:cjson_shared", 49 "//foundation/systemabilitymgr/samgr_lite/communication/broadcast", 50 "//foundation/systemabilitymgr/samgr_lite/samgr:samgr", 51 "//third_party/bounds_checking_function:libsec_shared", 52 ] 53 54 cflags = [ "-Wno-error" ] 55} 56