XComponent ArkUI Cross-platfrom

Signed-off-by: keerecles <lee_shao@126.com>
Change-Id: I8320f35c3777ba9fe3d58cf46677267261ed7c8a
This commit is contained in:
keerecles
2022-04-24 16:21:25 +08:00
parent 00256aa976
commit 8bf43db5ff
+10 -10
View File
@@ -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
}