diff --git a/bundle.json b/bundle.json index e848a80bd33ae3b3d948812028bc3b4583445afc..6edb53b06cae6b88b26fd1f8007c8f65d65bf043 100644 --- a/bundle.json +++ b/bundle.json @@ -16,19 +16,20 @@ "name": "faceauth", "subsystem": "useriam", "adapted_system_type": [ "standard" ], - "syscap": ["SystemCapability.UserIAM.UserAuth.BiometricAuth.Faceauth"], + "syscap": ["SystemCapability.UserIAM.UserAuth.FaceAuth"], "features": [], - "rom": "10000KB", + "rom": "1000KB", "ram": "16000KB", "deps": { "components": [ - "hiviewdfx_hilog_native", - "ipc", - "aafwk_standard", - "safwk", - "samgr_standard" + "hiviewdfx_hilog_native", + "ipc", + "aafwk_standard", + "safwk", + "samgr_standard" ], "third_party": [ + "openssl" ] }, "build": { diff --git a/services/BUILD.gn b/services/BUILD.gn index 1c8e5931e7c6b1112c98aa4e3802f8538b6fdf43..a791ac5ab914b7c1b1d56a9420d0cd8eb78b3847 100755 --- a/services/BUILD.gn +++ b/services/BUILD.gn @@ -15,7 +15,6 @@ import("//base/user_iam/face_auth/useriam.gni") import("//build/ohos.gni") ohos_shared_library("face_auth_service") { - include_dirs = [ "//base/user_iam/face_auth/services/faceauth/include", "//base/user_iam/face_auth/services/common/include", @@ -32,43 +31,45 @@ ohos_shared_library("face_auth_service") { "//foundation/multimedia/camera_standard/services/camera_service/binder/client/include", "//foundation/multimedia/camera_standard/services/camera_service/binder/server/include", "//foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/adapter/include/autils", - "//utils/native/base/include" - ] + "//utils/native/base/include", + "//third_party/openssl/include", + ] - sources = [ - "//base/user_iam/face_auth/services/faceauth/src/face_auth_query_callback.cpp", - "//base/user_iam/face_auth/services/faceauth/src/face_auth_executor_callback.cpp", - "//base/user_iam/face_auth/services/faceauth/src/face_auth_camera_buffer_listener.cpp", + sources = [ + "//base/user_iam/face_auth/services/common/src/constant.cpp", "//base/user_iam/face_auth/services/faceauth/src/face_auth_camera.cpp", - "//base/user_iam/face_auth/services/faceauth/src/face_auth_event_handler.cpp", + "//base/user_iam/face_auth/services/faceauth/src/face_auth_camera_buffer_listener.cpp", "//base/user_iam/face_auth/services/faceauth/src/face_auth_event.cpp", + "//base/user_iam/face_auth/services/faceauth/src/face_auth_event_handler.cpp", + "//base/user_iam/face_auth/services/faceauth/src/face_auth_executor_callback.cpp", "//base/user_iam/face_auth/services/faceauth/src/face_auth_manager.cpp", + "//base/user_iam/face_auth/services/faceauth/src/face_auth_query_callback.cpp", + "//base/user_iam/face_auth/services/faceauth/src/face_auth_req.cpp", "//base/user_iam/face_auth/services/faceauth/src/face_auth_service.cpp", "//base/user_iam/face_auth/services/faceauth/src/face_auth_thread_pool.cpp", - "//base/user_iam/face_auth/services/faceauth/src/face_auth_req.cpp", - "//base/user_iam/face_auth/services/common/src/constant.cpp", - "//base/user_iam/face_auth/services/temp/src/face_auth_ca.cpp", "//base/user_iam/face_auth/services/temp/src/adaptor_algorithm.cpp", "//base/user_iam/face_auth/services/temp/src/adaptor_memory.cpp", "//base/user_iam/face_auth/services/temp/src/buffer.cpp", - "//base/user_iam/face_auth/services/temp/src/face_auth_func.cpp" + "//base/user_iam/face_auth/services/temp/src/face_auth_ca.cpp", + "//base/user_iam/face_auth/services/temp/src/face_auth_func.cpp", ] - deps = [ + deps = [ "//base/user_iam/auth_executor_mgr/interfaces/innerkits:coauth_framework", "//base/user_iam/auth_executor_mgr/services:coauthservice", - "//utils/native/base:utils", - "//foundation/appexecfwk/standard/interfaces/innerkits/libeventhandler:libeventhandler", - "//foundation/distributedschedule/samgr/interfaces/innerkits/samgr_proxy", + "//foundation/appexecfwk/standard/interfaces/innerkits/libeventhandler:libeventhandler", "//foundation/distributedschedule/safwk/interfaces/innerkits/safwk:system_ability_fwk", + "//foundation/distributedschedule/samgr/interfaces/innerkits/samgr_proxy", + "//foundation/graphic/standard:libsurface", "//foundation/multimedia/camera_standard/frameworks/innerkitsimpl/camera:camera_framework", - "//foundation/multimedia/camera_standard/services/camera_service:camera_service", "//foundation/multimedia/camera_standard/frameworks/innerkitsimpl/metadata:metadata", - "//foundation/graphic/standard:libsurface" + "//foundation/multimedia/camera_standard/services/camera_service:camera_service", + "//third_party/openssl:libcrypto_static", + "//utils/native/base:utils", ] external_deps = [ "hiviewdfx_hilog_native:libhilog", - "ipc:ipc_core" + "ipc:ipc_core", ] subsystem_name = "useriam" part_name = "face_auth"