2023-07-04 03:11:52 +00:00
|
|
|
# Copyright (c) 2022-2023 Huawei Device Co., Ltd.
|
2022-05-18 06:13:53 +00:00
|
|
|
# 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
|
2022-05-28 07:41:42 +00:00
|
|
|
# limitations under the License.
|
2022-05-18 06:13:53 +00:00
|
|
|
|
2023-12-29 09:21:05 +00:00
|
|
|
import("scene_board_enable.gni")
|
|
|
|
|
2022-06-20 08:51:15 +00:00
|
|
|
ability_runtime_path = "//foundation/ability/ability_runtime"
|
2022-06-28 06:46:44 +00:00
|
|
|
ability_runtime_inner_api_path = "${ability_runtime_path}/interfaces/inner_api"
|
2022-06-23 07:19:11 +00:00
|
|
|
ability_runtime_kits_path = "${ability_runtime_path}/frameworks/kits"
|
|
|
|
ability_runtime_services_path = "${ability_runtime_path}/services"
|
2022-07-05 02:41:08 +00:00
|
|
|
ability_runtime_napi_path = "${ability_runtime_path}/frameworks/js/napi"
|
2023-07-04 03:11:52 +00:00
|
|
|
arkui_path = "//foundation/arkui"
|
|
|
|
hilog_path = "//base/hiviewdfx/hilog"
|
2023-02-27 12:28:36 +00:00
|
|
|
window_base_path = "//foundation/window/window_manager"
|
|
|
|
graphic_base_path = "//foundation/graphic"
|
2023-07-04 03:11:52 +00:00
|
|
|
ide_previewer_external_path = "//ide/tools/previewer/jsapp/rich/external"
|
2023-07-26 12:27:06 +00:00
|
|
|
resourceschedule_path = "//foundation/resourceschedule"
|
2023-06-30 02:20:41 +00:00
|
|
|
multimedia_path = "//foundation/multimedia/image_framework"
|
2023-06-19 15:05:23 +00:00
|
|
|
multimodalinput_path = "//foundation/multimodalinput"
|
2023-08-27 09:12:10 +00:00
|
|
|
sensor_path = "//base/sensors/sensor"
|
2023-11-07 06:21:50 +00:00
|
|
|
accessibility_path = "//foundation/barrierfree/accessibility"
|
|
|
|
|
2022-06-22 09:01:48 +00:00
|
|
|
declare_args() {
|
2024-05-31 10:00:03 +00:00
|
|
|
device_status_enable = true
|
2022-12-23 08:51:48 +00:00
|
|
|
window_manager_feature_subscribe_motion = false
|
2023-09-26 11:54:00 +00:00
|
|
|
window_manager_feature_tp_enable = false
|
2022-12-23 08:51:48 +00:00
|
|
|
|
2024-05-31 10:00:03 +00:00
|
|
|
if (defined(global_parts_info) &&
|
|
|
|
!defined(global_parts_info.msdp_device_status)) {
|
|
|
|
device_status_enable = false
|
|
|
|
}
|
2022-07-08 08:10:50 +00:00
|
|
|
}
|
2022-12-23 08:51:48 +00:00
|
|
|
|
|
|
|
print(
|
|
|
|
"window_manager_feature_subscribe_motion = ${window_manager_feature_subscribe_motion}")
|