update services/bundlemgr_lite/BUILD.gn.

Signed-off-by: shilei91 <shilei91@huawei.com>
This commit is contained in:
shilei91
2022-11-21 14:07:44 +00:00
committed by Gitee
parent 73454edcd1
commit 09b0df7599
+7
View File
@@ -17,6 +17,10 @@ config("bundle_config") {
cflags_cc = [ "-std=c++14" ]
}
declare_args() {
enable_ohos_bundle_manager_service = false
}
if (ohos_kernel_type == "liteos_m") {
static_library("bundlems") {
sources = [
@@ -32,6 +36,9 @@ if (ohos_kernel_type == "liteos_m") {
]
defines = ["JERRY_FOR_IAR_CONFIG"]
if (enable_ohos_bundle_manager_service == true) {
defines += [ "_MINI_BMS_" ]
}
deps = [
"${appexecfwk_lite_path}/frameworks/bundle_lite:bundle",