!249 修正LITEOS_M上的宏开关

Merge pull request !249 from yangzk/master
This commit is contained in:
openharmony_ci
2023-04-23 09:28:16 +00:00
committed by Gitee
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 = [