From 4fb55981f5f8c1f85c8c8f846bfdae6c8212853f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=91=E6=99=93=E6=99=B4?= Date: Wed, 13 Nov 2024 13:58:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dpc=E7=AB=AF=E7=BC=96=E8=AF=91?= =?UTF-8?q?=E5=87=BAlibesim.so=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 郑晓晴 --- bundle.json | 3 +-- frameworks/js/sim/BUILD.gn | 5 +++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/bundle.json b/bundle.json index 1362bcb17..3e762e0ae 100644 --- a/bundle.json +++ b/bundle.json @@ -89,8 +89,7 @@ "//base/telephony/core_service/frameworks/cj/telephony_sim:cj_sim_ffi", "//base/telephony/core_service/frameworks/js/network_search:radio", "//base/telephony/core_service/frameworks/js/sim:sim", - "//base/telephony/core_service/frameworks/js/vcard:vcard", - "//base/telephony/core_service/frameworks/js/esim:esim" + "//base/telephony/core_service/frameworks/js/vcard:vcard" ], "service_group": [ "//base/telephony/core_service:tel_core_service", diff --git a/frameworks/js/sim/BUILD.gn b/frameworks/js/sim/BUILD.gn index 1746aba27..3d33e20fd 100755 --- a/frameworks/js/sim/BUILD.gn +++ b/frameworks/js/sim/BUILD.gn @@ -12,6 +12,7 @@ # limitations under the License. import("//build/ohos.gni") SUBSYSTEM_DIR = "../../../../" +import("$SUBSYSTEM_DIR/core_service/telephony_core_service.gni") ohos_shared_library("sim") { sanitize = { cfi = true @@ -38,6 +39,10 @@ ohos_shared_library("sim") { "$SUBSYSTEM_DIR/core_service/utils:libtel_common", ] + if (core_service_support_esim) { + deps += [ "$SUBSYSTEM_DIR/core_service/frameworks/js/esim:esim" ] + } + external_deps = [ "ability_runtime:abilitykit_native", "c_utils:utils",