mirror of
https://github.com/openharmony/ace_ace_engine.git
synced 2026-07-19 14:43:36 -04:00
XComponent ArkUI Cross-platfrom
Signed-off-by: keerecles <lee_shao@126.com> Change-Id: I8320f35c3777ba9fe3d58cf46677267261ed7c8a
This commit is contained in:
+10
-10
@@ -35,26 +35,26 @@ ohos_shared_library("ace_ndk") {
|
||||
]
|
||||
|
||||
sources = [
|
||||
"$ace_root/adapter/ohos/osal/log_wrapper.cpp",
|
||||
"//foundation/ace/ace_engine/frameworks/core/components/xcomponent/native_interface_xcomponent_impl.cpp",
|
||||
"native_interface_xcomponent.cpp",
|
||||
]
|
||||
|
||||
deps = [
|
||||
":libace_ndk",
|
||||
"//utils/native/base:utilsecurec",
|
||||
]
|
||||
deps = [ "//utils/native/base:utilsecurec" ]
|
||||
|
||||
cflags_cc = [ "-Wno-missing-braces" ]
|
||||
|
||||
if (is_standard_system) {
|
||||
if (target_os == "ohos") {
|
||||
sources += [ "$ace_root/adapter/ohos/osal/log_wrapper.cpp" ]
|
||||
deps += [ ":libace_ndk" ]
|
||||
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
|
||||
} else {
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
version_script =
|
||||
get_label_info(":libace_ndk", "target_gen_dir") + "/" +
|
||||
get_label_info(":libace_ndk", "name") + version_script_suffix
|
||||
} else if (target_os == "android") {
|
||||
sources += [ "$ace_root/adapter/android/osal/log_wrapper.cpp" ]
|
||||
aosp_deps = [ "shared_library:liblog" ]
|
||||
}
|
||||
|
||||
version_script = get_label_info(":libace_ndk", "target_gen_dir") + "/" +
|
||||
get_label_info(":libace_ndk", "name") + version_script_suffix
|
||||
subsystem_name = "ace"
|
||||
part_name = ace_engine_part
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user