Description: 修正LITEOS_M上的宏开关

IssueNo: #I6XLE2
Sig: SIG_ApplicationFramework
Feature or Bugfix: Bugfix
Binary Source: No

Signed-off-by: yangzk <yangzhongkai@huawei.com>
Change-Id: I135ed4311b12edb1c81d8658f0c977deeebd079f
This commit is contained in:
yangzk
2023-04-21 17:04:22 +08:00
parent 41008cf04a
commit a88a1ff509
2 changed files with 19 additions and 5 deletions
+17
View File
@@ -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
}
+2 -5
View File
@@ -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 = [