提交 92d5da0f 编写于 作者: H harry-john

add permission

Signed-off-by: Nharry-john <zhanghanlin9@huawei.com>
Change-Id: Ie6eb284b8812980dfa928a4fd7ee870419ffe5cd
上级 f5e8797d
......@@ -18,11 +18,11 @@ group("security") {
if (is_standard_system) {
deps = [
# "authentication_standard/deviceauth_p2p:DeviceauthP2PFunctionCPPTest",
"dataprotect/huks_standard_adapter:huks_std_function_test",
"deviceauth/deviceauth_function:DeviceAuthFunctionTest",
"permission/permissionkitcpp:PermissionKitFunctionCPPTest",
"permission/permissionkitcpp:PermissionKitPerformanceCPPTest",
"permission/permissionkitcpp:PermissionKitReliabilityCPPTest",
"dataprotect/huks_standard_adapter:huks_std_function_test",
"deviceauth/deviceauth_function:DeviceAuthFunctionTest",
]
} else {
deps =
......
......@@ -14,68 +14,64 @@
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"
]
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
ohos_moduletest_suite("PermissionKitFunctionCPPTest") {
subsystem_name = "hits"
part_name = "permission_standard"
module_out_path = subsystem_name + "/" + part_name
configs = [ ":module_private_config" ]
configs = [ ":module_private_config" ]
cflags_cc = ["-DHILOG_ENABLE"]
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",
]
sources = [ "src/PermissionKitFunctionCPPTest.cpp" ]
deps = [
"//base/security/permission/frameworks/permission_standard/permissioninfrastructure:permission_standard_infrastructure_cxx",
"//base/security/permission/interfaces/innerkits/permission_standard/permissionsdk:libpermissionsdk_standard",
"//utils/native/base:utils",
]
}
##################################################################################
ohos_moduletest_suite("PermissionKitPerformanceCPPTest"){
subsystem_name = "hits"
part_name = "permission_standard"
module_out_path = subsystem_name + "/" + part_name
ohos_moduletest_suite("PermissionKitPerformanceCPPTest") {
subsystem_name = "hits"
part_name = "permission_standard"
module_out_path = subsystem_name + "/" + part_name
configs = [ ":module_private_config" ]
configs = [ ":module_private_config" ]
cflags_cc = ["-DHILOG_ENABLE"]
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",
]
sources = [ "src/PermissionKitPerformanceCPPTest.cpp" ]
deps = [
"//base/security/permission/frameworks/permission_standard/permissioninfrastructure:permission_standard_infrastructure_cxx",
"//base/security/permission/interfaces/innerkits/permission_standard/permissionsdk:libpermissionsdk_standard",
"//utils/native/base:utils",
]
}
##################################################################################
ohos_moduletest_suite("PermissionKitReliabilityCPPTest"){
subsystem_name = "hits"
part_name = "permission_standard"
module_out_path = subsystem_name + "/" + part_name
ohos_moduletest_suite("PermissionKitReliabilityCPPTest") {
subsystem_name = "hits"
part_name = "permission_standard"
module_out_path = subsystem_name + "/" + part_name
configs = [ ":module_private_config" ]
configs = [ ":module_private_config" ]
cflags_cc = ["-DHILOG_ENABLE"]
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",
]
}
\ No newline at end of file
sources = [ "src/PermissionKitReliabilityCPPTest.cpp" ]
deps = [
"//base/security/permission/frameworks/permission_standard/permissioninfrastructure:permission_standard_infrastructure_cxx",
"//base/security/permission/interfaces/innerkits/permission_standard/permissionsdk:libpermissionsdk_standard",
"//utils/native/base:utils",
]
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册