From 8dd6b5c14bf43fe38f9ad03cf48cc6c5ee66c286 Mon Sep 17 00:00:00 2001 From: shilei Date: Mon, 21 Nov 2022 17:33:00 +0800 Subject: [PATCH] add Signed-off-by: shilei Change-Id: Iac548a8488c6fe3f188028a169a46fdef8b71ff7 --- services/bundlemgr_lite/BUILD.gn | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/services/bundlemgr_lite/BUILD.gn b/services/bundlemgr_lite/BUILD.gn index 7ba899e..39cd1fc 100644 --- a/services/bundlemgr_lite/BUILD.gn +++ b/services/bundlemgr_lite/BUILD.gn @@ -11,13 +11,16 @@ # See the License for the specific language governing permissions and # limitations under the License. import("//build/lite/config/component/lite_component.gni") -import("//build/lite/config/subsystem/aafwk/config.gni") config("bundle_config") { defines = [ "OHOS_APPEXECFWK_BMS_BUNDLEMANAGER" ] cflags_cc = [ "-std=c++14" ] } +declare_args() { + enable_ohos_bundle_manager_service = false +} + if (ohos_kernel_type == "liteos_m") { static_library("bundlems") { sources = [ @@ -33,8 +36,8 @@ if (ohos_kernel_type == "liteos_m") { ] defines = [ "JERRY_FOR_IAR_CONFIG" ] - if (enable_ohos_appexecfwk_feature_ability == true) { - defines += ["_MINI_BMS_"] + if (enable_ohos_bundle_manager_service == true) { + defines += [ "_MINI_BMS_" ] } deps = [