From e32599d2e7e3047a8649d424d2f650e7bba71eb9 Mon Sep 17 00:00:00 2001 From: yangzk Date: Fri, 21 Apr 2023 17:04:22 +0800 Subject: [PATCH] =?UTF-8?q?Description:=20=E4=BF=AE=E6=AD=A3LITEOS=5FM?= =?UTF-8?q?=E4=B8=8A=E7=9A=84=E5=AE=8F=E5=BC=80=E5=85=B3=20IssueNo:=20#I6X?= =?UTF-8?q?LE2=20Sig:=20SIG=5FApplicationFramework=20Feature=20or=20Bugfix?= =?UTF-8?q?:=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: I135ed4311b12edb1c81d8658f0c977deeebd079f --- bundle_framework_lite.gni | 17 +++++++++++++++++ services/bundlemgr_lite/BUILD.gn | 7 ++----- 2 files changed, 19 insertions(+), 5 deletions(-) create mode 100644 bundle_framework_lite.gni diff --git a/bundle_framework_lite.gni b/bundle_framework_lite.gni new file mode 100644 index 0000000..c01b278 --- /dev/null +++ b/bundle_framework_lite.gni @@ -0,0 +1,17 @@ +# Copyright (c) 2023 Huawei Device Co., Ltd. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +declare_args() { + enable_ohos_bundle_manager_service = false + enable_ohos_bundle_manager_service_permission = false +} diff --git a/services/bundlemgr_lite/BUILD.gn b/services/bundlemgr_lite/BUILD.gn index e1cee49..3fb0ae6 100644 --- a/services/bundlemgr_lite/BUILD.gn +++ b/services/bundlemgr_lite/BUILD.gn @@ -11,17 +11,14 @@ # See the License for the specific language governing permissions and # limitations under the License. import("//build/lite/config/component/lite_component.gni") +import( + "//foundation/bundlemanager/bundle_framework_lite/bundle_framework_lite.gni") config("bundle_config") { defines = [ "OHOS_APPEXECFWK_BMS_BUNDLEMANAGER" ] cflags_cc = [ "-std=c++14" ] } -declare_args() { - enable_ohos_bundle_manager_service = false - enable_ohos_bundle_manager_service_permission = false -} - if (ohos_kernel_type == "liteos_m") { static_library("bundlems") { sources = [ -- Gitee