# Copyright (C) 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/build/suite.gni") ################################################################################## config("module_private_config"){ visibility = [ ":*" ] include_dirs = [ "//utils/native/base/include", "//base/security/permission/interfaces/innerkits/permission_standard/permissionsdk/main/cpp/include/permission" ] } ################################################################################## ohos_moduletest_suite("PermissionKitFunctionCPPTest"){ subsystem_name = "hits" part_name = "permission_standard" module_out_path = subsystem_name + "/" + part_name configs = [ ":module_private_config" ] cflags_cc = ["-DHILOG_ENABLE"] sources = [ "src/PermissionKitFunctionCPPTest.cpp" ] deps = [ "//utils/native/base:utils", "//base/security/permission/interfaces/innerkits/permission_standard/permissionsdk:libpermissionsdk_standard", "//base/security/permission/frameworks/permission_standard/permissioninfrastructure:permission_standard_infrastructure_cxx", ] } ################################################################################## ohos_moduletest_suite("PermissionKitPerformanceCPPTest"){ subsystem_name = "hits" part_name = "permission_standard" module_out_path = subsystem_name + "/" + part_name configs = [ ":module_private_config" ] cflags_cc = ["-DHILOG_ENABLE"] sources = [ "src/PermissionKitPerformanceCPPTest.cpp" ] deps = [ "//utils/native/base:utils", "//base/security/permission/interfaces/innerkits/permission_standard/permissionsdk:libpermissionsdk_standard", "//base/security/permission/frameworks/permission_standard/permissioninfrastructure:permission_standard_infrastructure_cxx", ] } ################################################################################## ohos_moduletest_suite("PermissionKitReliabilityCPPTest"){ subsystem_name = "hits" part_name = "permission_standard" module_out_path = subsystem_name + "/" + part_name configs = [ ":module_private_config" ] cflags_cc = ["-DHILOG_ENABLE"] sources = [ "src/PermissionKitReliabilityCPPTest.cpp" ] deps = [ "//utils/native/base:utils", "//base/security/permission/interfaces/innerkits/permission_standard/permissionsdk:libpermissionsdk_standard", "//base/security/permission/frameworks/permission_standard/permissioninfrastructure:permission_standard_infrastructure_cxx", ] }