bundlemanager_bundle_framework/appexecfwk.gni

50 lines
1.7 KiB
Plaintext
Raw Normal View History

2021-06-01 16:05:29 +00:00
# Copyright (c) 2021 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.
aafwk_path = "//foundation/aafwk/standard"
appexecfwk_path = "//foundation/appexecfwk/standard"
libs_path = "${appexecfwk_path}/libs"
common_path = "${appexecfwk_path}/common"
services_path = "${appexecfwk_path}/services"
kits_path = "${appexecfwk_path}/kits"
innerkits_path = "${appexecfwk_path}/interfaces/innerkits"
tools_path = "${appexecfwk_path}/tools"
declare_args() {
bundle_framework_graphics = true
device_manager_enable = true
hicollie_enable = true
if (defined(global_parts_info) &&
!defined(global_parts_info.hiviewdfx_hicollie_native)) {
hicollie_enable = false
}
if (defined(global_parts_info) &&
!defined(global_parts_info.distributedhardware_device_manager_base)) {
device_manager_enable = false
}
print("bundle_framework_graphics = " + "$bundle_framework_graphics")
print("device_manager_enable = " + "$device_manager_enable")
print("hicollie_enable = " + "$hicollie_enable")
print("support_jsapi = " + "$support_jsapi")
}
configpolicy_enable = true
if (defined(global_parts_info) &&
!defined(global_parts_info.customization_config_policy)) {
configpolicy_enable = false
}