mirror of
https://github.com/openharmony/useriam_faceauth.git
synced 2026-06-30 21:47:55 -04:00
useriam部件化整改:部件名修改,目录修改
Signed-off-by: caohongfei2 <caohongfei2@huawei.com> Change-Id: I5e99a5adf76494f589dd778c76fc2cfc86d86bb1
This commit is contained in:
@@ -22,7 +22,7 @@ Note 1: The OpenHarmony open-source framework provides stub implementation of fa
|
||||
## Directory Structure
|
||||
|
||||
```
|
||||
//base/user_iam/face_auth
|
||||
//base/useriam/face_auth
|
||||
├── bundle.json # Module description file
|
||||
├── figures # Figures used in the README
|
||||
├── sa_profile # Service ability profile
|
||||
|
||||
+1
-1
@@ -25,7 +25,7 @@
|
||||
## 目录
|
||||
|
||||
```
|
||||
//base/user_iam/face_auth
|
||||
//base/useriam/face_auth
|
||||
├── bundle.json # 组件描述文件
|
||||
├── common # 组件公共文件
|
||||
├── figures # README使用的图片
|
||||
|
||||
+9
-9
@@ -8,7 +8,7 @@
|
||||
"license": "Apache License 2.0",
|
||||
"publishAs": "code-segment",
|
||||
"segment": {
|
||||
"destPath" : "base/user_iam/face_auth"
|
||||
"destPath" : "base/useriam/face_auth"
|
||||
},
|
||||
"dirs": {},
|
||||
"scripts": {},
|
||||
@@ -28,31 +28,31 @@
|
||||
"ipc:ipc_core",
|
||||
"safwk:system_ability_fwk",
|
||||
"samgr_standard:samgr_proxy",
|
||||
"user_auth:coauth_framework",
|
||||
"user_auth_framework:coauth_framework",
|
||||
"utils_base:utils"
|
||||
]
|
||||
},
|
||||
"build": {
|
||||
"sub_component": [
|
||||
"//base/user_iam/face_auth/services:faceauthservice",
|
||||
"//base/user_iam/face_auth/sa_profile:faceauth_sa_profile.init",
|
||||
"//base/user_iam/face_auth/sa_profile:faceauth_sa_profile"
|
||||
"//base/useriam/face_auth/services:faceauthservice",
|
||||
"//base/useriam/face_auth/sa_profile:faceauth_sa_profile.init",
|
||||
"//base/useriam/face_auth/sa_profile:faceauth_sa_profile"
|
||||
],
|
||||
"inner_kits": [
|
||||
{
|
||||
"type": "so",
|
||||
"name": "//base/user_iam/face_auth/frameworks/face_auth:faceauth_framework",
|
||||
"name": "//base/useriam/face_auth/frameworks/face_auth:faceauth_framework",
|
||||
"header": {
|
||||
"header_files": [
|
||||
"face_auth_innerkit.h"
|
||||
],
|
||||
"header_base": "//base/user_iam/face_auth/interfaces/inner_api/face_auth/"
|
||||
"header_base": "//base/useriam/face_auth/interfaces/inner_api/face_auth/"
|
||||
}
|
||||
}
|
||||
],
|
||||
"test": [
|
||||
"//base/user_iam/face_auth/test/fuzztest:fuzztest",
|
||||
"//base/user_iam/face_auth/test/unittest:unittest"
|
||||
"//base/useriam/face_auth/test/fuzztest:fuzztest",
|
||||
"//base/useriam/face_auth/test/unittest:unittest"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@ import("//foundation/ability/ability_runtime/aafwk.gni")
|
||||
|
||||
config("faceauth_framework_public_config") {
|
||||
include_dirs = [
|
||||
"//base/user_iam/face_auth/interfaces/inner_api/face_auth",
|
||||
"//base/useriam/face_auth/interfaces/inner_api/face_auth",
|
||||
"inc",
|
||||
]
|
||||
}
|
||||
@@ -31,11 +31,11 @@ ohos_shared_library("faceauth_framework") {
|
||||
|
||||
public_configs = [ ":faceauth_framework_public_config" ]
|
||||
|
||||
configs = [ "//base/user_iam/user_auth/common:iam_log_config" ]
|
||||
configs = [ "//base/useriam/user_auth_framework/common:iam_log_config" ]
|
||||
|
||||
include_dirs = [
|
||||
"//base/user_iam/user_auth/common/utils",
|
||||
"//base/user_iam/face_auth/common/inc",
|
||||
"//base/useriam/user_auth_framework/common/utils",
|
||||
"//base/useriam/face_auth/common/inc",
|
||||
]
|
||||
|
||||
if (ability_runtime_graphics) {
|
||||
|
||||
+6
-6
@@ -24,21 +24,21 @@ ohos_shared_library("faceauthservice") {
|
||||
]
|
||||
include_dirs = [
|
||||
"inc",
|
||||
"//base/user_iam/face_auth/common/inc",
|
||||
"//base/user_iam/user_auth/common/logs",
|
||||
"//base/user_iam/user_auth/common/utils",
|
||||
"//base/useriam/face_auth/common/inc",
|
||||
"//base/useriam/user_auth_framework/common/logs",
|
||||
"//base/useriam/user_auth_framework/common/utils",
|
||||
]
|
||||
|
||||
deps = [
|
||||
"//base/user_iam/face_auth/frameworks/face_auth:faceauth_framework",
|
||||
"//base/user_iam/user_auth/common/executors:userauth_executors",
|
||||
"//base/useriam/face_auth/frameworks/face_auth:faceauth_framework",
|
||||
"//base/useriam/user_auth_framework/common/executors:userauth_executors",
|
||||
]
|
||||
external_deps = [
|
||||
"face_auth_device_driver_interface:libface_auth_proxy_1.0",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
"safwk:system_ability_fwk",
|
||||
"samgr_standard:samgr_proxy",
|
||||
"user_auth:coauth_framework",
|
||||
"user_auth_framework:coauth_framework",
|
||||
"utils_base:utils",
|
||||
]
|
||||
remove_configs = [ "//build/config/compiler:no_exceptions" ]
|
||||
|
||||
@@ -18,7 +18,7 @@ import("//foundation/ability/ability_runtime/aafwk.gni")
|
||||
ohos_fuzztest("FaceAuthExecutorHdiFuzzTest") {
|
||||
module_out_path = "useriam/face_auth"
|
||||
fuzz_config_file =
|
||||
"//base/user_iam/face_auth/test/fuzztest/faceauthexecutorhdi_fuzzer"
|
||||
"//base/useriam/face_auth/test/fuzztest/faceauthexecutorhdi_fuzzer"
|
||||
cflags = [
|
||||
"-g",
|
||||
"-O0",
|
||||
@@ -26,25 +26,25 @@ ohos_fuzztest("FaceAuthExecutorHdiFuzzTest") {
|
||||
"-fno-omit-frame-pointer",
|
||||
]
|
||||
include_dirs = [
|
||||
"//base/user_iam/face_auth/common/inc",
|
||||
"//base/user_iam/user_auth/common/logs",
|
||||
"//base/user_iam/user_auth/common/utils",
|
||||
"//base/user_iam/face_auth/services/inc",
|
||||
"//base/useriam/face_auth/common/inc",
|
||||
"//base/useriam/user_auth_framework/common/logs",
|
||||
"//base/useriam/user_auth_framework/common/utils",
|
||||
"//base/useriam/face_auth/services/inc",
|
||||
]
|
||||
|
||||
sources = [ "face_auth_executor_hdi_fuzzer.cpp" ]
|
||||
|
||||
deps = [
|
||||
"//base/user_iam/face_auth/services:faceauthservice",
|
||||
"//base/user_iam/user_auth/common:iam_test",
|
||||
"//base/user_iam/user_auth/common/executors:userauth_executors",
|
||||
"//base/useriam/face_auth/services:faceauthservice",
|
||||
"//base/useriam/user_auth_framework/common:iam_test",
|
||||
"//base/useriam/user_auth_framework/common/executors:userauth_executors",
|
||||
]
|
||||
|
||||
external_deps = [
|
||||
"face_auth_device_driver_interface:libface_auth_proxy_1.0",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
"ipc:ipc_core",
|
||||
"user_auth:coauth_framework",
|
||||
"user_auth_framework:coauth_framework",
|
||||
]
|
||||
|
||||
remove_configs = [ "//build/config/compiler:no_exceptions" ]
|
||||
|
||||
@@ -18,7 +18,7 @@ import("//foundation/ability/ability_runtime/aafwk.gni")
|
||||
ohos_fuzztest("FaceAuthServiceFuzzTest") {
|
||||
module_out_path = "useriam/face_auth"
|
||||
fuzz_config_file =
|
||||
"//base/user_iam/face_auth/test/fuzztest/faceauthservice_fuzzer"
|
||||
"//base/useriam/face_auth/test/fuzztest/faceauthservice_fuzzer"
|
||||
cflags = [
|
||||
"-g",
|
||||
"-O0",
|
||||
@@ -27,18 +27,18 @@ ohos_fuzztest("FaceAuthServiceFuzzTest") {
|
||||
]
|
||||
|
||||
include_dirs = [
|
||||
"//base/user_iam/face_auth/common/inc",
|
||||
"//base/user_iam/user_auth/common/logs",
|
||||
"//base/user_iam/user_auth/common/utils",
|
||||
"//base/user_iam/face_auth/services/inc",
|
||||
"//base/useriam/face_auth/common/inc",
|
||||
"//base/useriam/user_auth_framework/common/logs",
|
||||
"//base/useriam/user_auth_framework/common/utils",
|
||||
"//base/useriam/face_auth/services/inc",
|
||||
]
|
||||
|
||||
sources = [ "face_auth_service_fuzzer.cpp" ]
|
||||
|
||||
deps = [
|
||||
"//base/user_iam/face_auth/frameworks/face_auth:faceauth_framework",
|
||||
"//base/user_iam/face_auth/services:faceauthservice",
|
||||
"//base/user_iam/user_auth/common:iam_test",
|
||||
"//base/useriam/face_auth/frameworks/face_auth:faceauth_framework",
|
||||
"//base/useriam/face_auth/services:faceauthservice",
|
||||
"//base/useriam/user_auth_framework/common:iam_test",
|
||||
]
|
||||
|
||||
external_deps = [ "safwk:system_ability_fwk" ]
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
import("//build/test.gni")
|
||||
|
||||
ohos_unittest("FaceAuthServiceUnitTest") {
|
||||
module_out_path = "user_iam/face_auth"
|
||||
module_out_path = "useriam/face_auth"
|
||||
|
||||
sources = [
|
||||
"face_auth_driver_hdi_unit_test.cpp",
|
||||
@@ -24,16 +24,16 @@ ohos_unittest("FaceAuthServiceUnitTest") {
|
||||
|
||||
include_dirs = [
|
||||
"mock",
|
||||
"//base/user_iam/user_auth/common/logs",
|
||||
"//base/user_iam/user_auth/common/utils",
|
||||
"//base/user_iam/user_auth/common/executors/include/public",
|
||||
"//base/user_iam/face_auth/common/inc",
|
||||
"//base/user_iam/face_auth/services/inc",
|
||||
"//base/user_iam/user_auth/interfaces/inner_api/co_auth/",
|
||||
"//base/useriam/user_auth_framework/common/logs",
|
||||
"//base/useriam/user_auth_framework/common/utils",
|
||||
"//base/useriam/user_auth_framework/common/executors/include/public",
|
||||
"//base/useriam/face_auth/common/inc",
|
||||
"//base/useriam/face_auth/services/inc",
|
||||
"//base/useriam/user_auth_framework/interfaces/inner_api/co_auth/",
|
||||
]
|
||||
|
||||
deps = [
|
||||
"//base/user_iam/face_auth/services:faceauthservice",
|
||||
"//base/useriam/face_auth/services:faceauthservice",
|
||||
"//third_party/googletest:gmock_main",
|
||||
"//third_party/googletest:gtest_main",
|
||||
]
|
||||
@@ -42,7 +42,7 @@ ohos_unittest("FaceAuthServiceUnitTest") {
|
||||
"face_auth_device_driver_interface:libface_auth_proxy_1.0",
|
||||
"hiviewdfx_hilog_native:libhilog",
|
||||
"ipc:ipc_core",
|
||||
"user_auth:coauth_framework",
|
||||
"user_auth_framework:coauth_framework",
|
||||
"utils_base:utils",
|
||||
]
|
||||
remove_configs = [ "//build/config/compiler:no_exceptions" ]
|
||||
|
||||
Reference in New Issue
Block a user