diff --git a/frameworks/ability_lite/BUILD.gn b/frameworks/ability_lite/BUILD.gn index 8d15c22f3d7923b257fe2da7da8f3fae678ad047..d61d603fc2cdae5ee98dbded32e09ccf744862af 100644 --- a/frameworks/ability_lite/BUILD.gn +++ b/frameworks/ability_lite/BUILD.gn @@ -113,6 +113,11 @@ lite_library("ability") { "./", ] + if (ohos_kernel_type == "liteos_m") { + include_dirs += + [ "//base/hiviewdfx/hilog_lite/interfaces/native/kits/hilog_lite" ] + } + defines += [ "OPENHARMONY_FONT_PATH" ] if (enable_ohos_appexecfwk_feature_ability == true) { diff --git a/frameworks/abilitymgr_lite/BUILD.gn b/frameworks/abilitymgr_lite/BUILD.gn index d59cc3b207878ec2b05e449ccf39fb5d891786a8..e3e7480beb49a225ed855389fdf4e8eab67d74ee 100644 --- a/frameworks/abilitymgr_lite/BUILD.gn +++ b/frameworks/abilitymgr_lite/BUILD.gn @@ -72,6 +72,11 @@ lite_library("abilitymanager") { "./include", "./", ] + + if (ohos_kernel_type == "liteos_m") { + include_dirs += + [ "//base/hiviewdfx/hilog_lite/interfaces/native/kits/hilog_lite" ] + } } unittest("ability_manager_inner_test") { diff --git a/frameworks/want_lite/BUILD.gn b/frameworks/want_lite/BUILD.gn index 755a5a1b5579cbb34506f28a153603efbc00e0e6..72adf3f1c99357f574ae056ce7d5ea08ae976263 100644 --- a/frameworks/want_lite/BUILD.gn +++ b/frameworks/want_lite/BUILD.gn @@ -42,6 +42,8 @@ static_library("want") { if (ohos_kernel_type == "liteos_m") { deps = [ "//base/hiviewdfx/hilog_lite/frameworks/featured:hilog_static" ] + include_dirs += + [ "//base/hiviewdfx/hilog_lite/interfaces/native/kits/hilog_lite" ] } else { defines = [ "OHOS_APPEXECFWK_BMS_BUNDLEMANAGER" ] deps = [ "//base/hiviewdfx/hilog_lite/frameworks/featured:hilog_shared" ] diff --git a/services/abilitymgr_lite/BUILD.gn b/services/abilitymgr_lite/BUILD.gn index 189152db2b84df840d6275b0075779e514bf3daf..a8cf1676a32671b4d3a45a9961aa2a74a4f39568 100644 --- a/services/abilitymgr_lite/BUILD.gn +++ b/services/abilitymgr_lite/BUILD.gn @@ -148,6 +148,11 @@ lite_library("abilityms") { "include", "include/task", ] + + if (ohos_kernel_type == "liteos_m") { + include_dirs += + [ "//base/hiviewdfx/hilog_lite/interfaces/native/kits/hilog_lite" ] + } } generate_notice_file("abilityms_notice_file") {