1 Star 0 Fork 236

HYH / msdp_device_status_2

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
device_status.gni 2.57 KB
一键复制 编辑 原始数据 按行查看 历史
耿凌霞 提交于 2023-12-13 19:44 . notify dfs close session
# Copyright (c) 2022-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.
import("//build/ohos.gni")
declare_args() {
fusion_intention_framework = false
fusion_rust_enabled = false
fusion_interaction_coordination = false
fusion_drag_enable_monitor = true
fusion_drag_enable_interceptor = false
device_status_sensor_enable = true
if (defined(global_parts_info)) {
if (!defined(global_parts_info.sensors_sensor)) {
device_status_sensor_enable = false
}
}
}
if (fusion_interaction_coordination) {
import("//base/msdp/motion/motion.gni")
}
ability_runtime_path = "//foundation/ability/ability_runtime"
ability_runtime_kits_path = "${ability_runtime_path}/frameworks/kits"
device_status_part_name = "device_status"
device_status_subsystem_name = "msdp"
device_status_root_path = "//base/msdp/device_status"
device_status_interfaces_path = "${device_status_root_path}/interfaces"
device_status_libs_path = "${device_status_root_path}/libs"
device_status_frameworks_path = "${device_status_root_path}/frameworks"
device_status_service_path = "${device_status_root_path}/services"
device_status_utils_path = "${device_status_root_path}/utils/common"
device_status_fuzz_output_path = "${device_status_part_name}/device_status"
intention_root_path = "//base/msdp/device_status/intention"
file_dfs_service_path = "//foundation/filemanagement/dfs_service"
device_status_default_defines = []
if (fusion_intention_framework) {
device_status_default_defines += [ "OHOS_BUILD_ENABLE_INTENTION_FRAMEWORK" ]
}
if (defined(fusion_interaction_motion_drag) && fusion_interaction_motion_drag) {
device_status_default_defines += [ "OHOS_BUILD_ENABLE_MOTION_DRAG" ]
}
if (fusion_rust_enabled) {
device_status_default_defines += [ "OHOS_BUILD_ENABLE_RUST_IMPL" ]
}
if (fusion_interaction_coordination) {
device_status_default_defines += [ "OHOS_BUILD_ENABLE_COORDINATION" ]
}
if (fusion_drag_enable_monitor) {
device_status_default_defines += [ "OHOS_DRAG_ENABLE_MONITOR" ]
}
if (fusion_drag_enable_interceptor) {
device_status_default_defines += [ "OHOS_DRAG_ENABLE_INTERCEPTOR" ]
}
1
https://gitee.com/hellohyh001/msdp_device_status_2.git
git@gitee.com:hellohyh001/msdp_device_status_2.git
hellohyh001
msdp_device_status_2
msdp_device_status_2
master

搜索帮助