From 16a6d9b2ab8e5d337469c521a1046b6a012fa05b Mon Sep 17 00:00:00 2001 From: chenweijian Date: Tue, 8 Oct 2024 14:16:51 +0800 Subject: [PATCH] =?UTF-8?q?=E7=8B=AC=E7=AB=8B=E7=BC=96=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ib2add7f2de30cf6c3fd3850c4e277d6e8e23b38a Signed-off-by: chenweijian --- bundle.json | 5 +++-- frameworks/cj/user_auth/BUILD.gn | 5 ++++- .../js/napi/user_auth_extension/user_auth_extension/BUILD.gn | 2 +- frameworks/js/napi/user_auth_icon/BUILD.gn | 2 +- services/base/BUILD.gn | 1 + services/context/BUILD.gn | 1 + services/ipc/BUILD.gn | 1 + 7 files changed, 12 insertions(+), 5 deletions(-) diff --git a/bundle.json b/bundle.json index 3fb1d2c9e..a581de349 100644 --- a/bundle.json +++ b/bundle.json @@ -1,5 +1,5 @@ { - "name": "@openharmony/user_auth_framework", + "name": "@ohos/user_auth_framework", "version": "4.0", "description": "User Authentication capability", "homePage": "https://gitee.com/openharmony", @@ -49,7 +49,8 @@ "common_event_service", "window_manager", "device_manager", - "dsoftbus" + "dsoftbus", + "ets_frontend" ] }, "build": { diff --git a/frameworks/cj/user_auth/BUILD.gn b/frameworks/cj/user_auth/BUILD.gn index 0ce62d077..be9255bdc 100644 --- a/frameworks/cj/user_auth/BUILD.gn +++ b/frameworks/cj/user_auth/BUILD.gn @@ -39,7 +39,10 @@ ohos_shared_library("cj_userauth_ffi") { deps = [ "../../native/client:userauth_client" ] - external_deps = [ "napi:cj_bind_native" ] + external_deps = [ + "ipc:ipc_core", + "napi:cj_bind_native", + ] innerapi_tags = [ "platformsdk" ] subsystem_name = "useriam" diff --git a/frameworks/js/napi/user_auth_extension/user_auth_extension/BUILD.gn b/frameworks/js/napi/user_auth_extension/user_auth_extension/BUILD.gn index 47128d073..fc03ef195 100644 --- a/frameworks/js/napi/user_auth_extension/user_auth_extension/BUILD.gn +++ b/frameworks/js/napi/user_auth_extension/user_auth_extension/BUILD.gn @@ -11,7 +11,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -import("//arkcompiler/ets_frontend/es2panda/es2abc_config.gni") +import("//build/config/components/ets_frontend/es2abc_config.gni") import("//build/ohos.gni") es2abc_gen_abc("gen_user_auth_extension_ability_abc") { diff --git a/frameworks/js/napi/user_auth_icon/BUILD.gn b/frameworks/js/napi/user_auth_icon/BUILD.gn index 16f13075f..4ebc0dc85 100644 --- a/frameworks/js/napi/user_auth_icon/BUILD.gn +++ b/frameworks/js/napi/user_auth_icon/BUILD.gn @@ -11,7 +11,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -import("//arkcompiler/ets_frontend/es2panda/es2abc_config.gni") +import("//build/config/components/ets_frontend/es2abc_config.gni") import("//build/ohos.gni") es2abc_gen_abc("gen_user_auth_icon_abc") { diff --git a/services/base/BUILD.gn b/services/base/BUILD.gn index 25a5ecc09..948418e6a 100644 --- a/services/base/BUILD.gn +++ b/services/base/BUILD.gn @@ -50,6 +50,7 @@ ohos_source_set("userauth_service_base") { "init:libbegetutil", "ipc:ipc_core", "safwk:system_ability_fwk", + "samgr:samgr_proxy", ] public_configs = [ ":userauth_service_base_config" ] diff --git a/services/context/BUILD.gn b/services/context/BUILD.gn index 7f7c53f89..b306d4502 100644 --- a/services/context/BUILD.gn +++ b/services/context/BUILD.gn @@ -84,6 +84,7 @@ ohos_source_set("userauth_service_context") { "hitrace:hitrace_meter", "init:libbegetutil", "napi:ace_napi", + "samgr:samgr_proxy", ] public_configs = [ ":userauth_service_context_config" ] diff --git a/services/ipc/BUILD.gn b/services/ipc/BUILD.gn index 1d2071452..f8cf841f0 100644 --- a/services/ipc/BUILD.gn +++ b/services/ipc/BUILD.gn @@ -62,6 +62,7 @@ ohos_source_set("userauth_services_ipc") { "c_utils:utils", "device_manager:devicemanagersdk", "drivers_interface_user_auth:libuser_auth_proxy_2.0", + "dsoftbus:softbus_client", "hilog:libhilog", "hitrace:hitrace_meter", "init:libbeget_proxy",