From c6278b10d5e081233687e51d2b8fdceb88ec7336 Mon Sep 17 00:00:00 2001 From: yangzk Date: Mon, 28 Nov 2022 20:58:45 +0800 Subject: [PATCH] =?UTF-8?q?IssueNo:=20#I63KV6=20Description:=20=E9=80=82?= =?UTF-8?q?=E9=85=8Dlog=20hash=20Sig:=20SIG=5FApplicationFramework=20Featu?= =?UTF-8?q?re=20or=20Bugfix:=20Bugfix=20Binary=20Source:=20No?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: yangzk Change-Id: I555e76ccc65f7f78daaf061a0e5633adc32de447 --- frameworks/ability_lite/BUILD.gn | 5 +++++ frameworks/abilitymgr_lite/BUILD.gn | 5 +++++ frameworks/want_lite/BUILD.gn | 2 ++ services/abilitymgr_lite/BUILD.gn | 5 +++++ 4 files changed, 17 insertions(+) diff --git a/frameworks/ability_lite/BUILD.gn b/frameworks/ability_lite/BUILD.gn index 8d15c22..d61d603 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 d59cc3b..e3e7480 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 755a5a1..72adf3f 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 189152d..a8cf167 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") { -- Gitee