mirror of
https://github.com/openharmony/bundlemanager_bundle_framework_lite.git
synced 2026-07-20 23:55:24 -04:00
update services/bundlemgr_lite/BUILD.gn.
Signed-off-by: shilei91 <shilei91@huawei.com>
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user