修复pc端编译出libesim.so的问题

Signed-off-by: 郑晓晴 <zhaoxiaoqing17@h-partners.com>
This commit is contained in:
郑晓晴 2024-11-13 13:58:03 +08:00
parent 4a8566a23a
commit 4fb55981f5
2 changed files with 6 additions and 2 deletions

View File

@ -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",

View File

@ -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",