diff --git a/bundle_framework_lite.gni b/bundle_framework_lite.gni new file mode 100644 index 0000000000000000000000000000000000000000..c01b2787ba0c57d0b34ef9ccb19209cf5afa5ba0 --- /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 e1cee49a69f02057ee31f4506458a8af12ca7a8a..3fb0ae6d21367310747fb13c42e9f84affea342b 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 = [