mirror of
https://gitee.com/openharmony/telephony_core_service
synced 2024-11-22 23:50:24 +00:00
修复pc端编译出libesim.so的问题
Signed-off-by: 郑晓晴 <zhaoxiaoqing17@h-partners.com>
This commit is contained in:
parent
4a8566a23a
commit
4fb55981f5
@ -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",
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user