fix ios hilog compile

Signed-off-by: lee <liwei576@huawei.com>
This commit is contained in:
lee 2023-08-16 09:43:07 +08:00
parent afb4790638
commit 59bde8a6a5
2 changed files with 6 additions and 0 deletions

View File

@ -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" ]
}

View File

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