mirror of
https://gitee.com/openharmony/graphic_graphic_2d
synced 2024-11-23 23:20:32 +00:00
fix ios hilog compile
Signed-off-by: lee <liwei576@huawei.com>
This commit is contained in:
parent
afb4790638
commit
59bde8a6a5
@ -69,6 +69,8 @@ ohos_source_set("impl_eventhandler") {
|
||||
ohos_source_set("hilog") {
|
||||
if (current_os == "android") {
|
||||
public_deps = [ "$appframework_root/graphic_2d:log" ]
|
||||
} else if (current_os == "ios") {
|
||||
public_deps = hilog_deps
|
||||
} else {
|
||||
external_deps = [ "hilog:libhilog" ]
|
||||
}
|
||||
|
@ -29,6 +29,10 @@ if (platform == "ohos") {
|
||||
"//foundation/multimedia/image_framework/interfaces/innerkits:image_native",
|
||||
]
|
||||
utils_deps = [ "//commonlibrary/c_utils/base:utils" ]
|
||||
} else {
|
||||
hilog_deps = [
|
||||
"//base/hiviewdfx/hilog/interfaces/native/innerkits:libhilog_$platform",
|
||||
]
|
||||
}
|
||||
|
||||
appframework_root = "//foundation/appframework"
|
||||
|
Loading…
Reference in New Issue
Block a user