1# Copyright (c) 2022-2025 Huawei Device Co., Ltd. 2# Licensed under the Apache License, Version 2.0 (the "License"); 3# you may not use this file except in compliance with the License. 4# You may obtain a copy of the License at 5# 6# http://www.apache.org/licenses/LICENSE-2.0 7# 8# Unless required by applicable law or agreed to in writing, software 9# distributed under the License is distributed on an "AS IS" BASIS, 10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11# See the License for the specific language governing permissions and 12# limitations under the License. 13 14import("scene_board_enable.gni") 15 16ability_runtime_path = "//foundation/ability/ability_runtime" 17ability_runtime_inner_api_path = "${ability_runtime_path}/interfaces/inner_api" 18ability_runtime_kits_path = "${ability_runtime_path}/frameworks/kits" 19ability_runtime_services_path = "${ability_runtime_path}/services" 20ability_runtime_napi_path = "${ability_runtime_path}/frameworks/js/napi" 21arkui_path = "//foundation/arkui" 22hilog_path = "//base/hiviewdfx/hilog" 23window_base_path = "//foundation/window/window_manager" 24graphic_base_path = "//foundation/graphic" 25ide_previewer_external_path = "//ide/tools/previewer/jsapp/rich/external" 26resourceschedule_path = "//foundation/resourceschedule" 27multimedia_path = "//foundation/multimedia/image_framework" 28multimodalinput_path = "//foundation/multimodalinput" 29sensor_path = "//base/sensors/sensor" 30accessibility_path = "//foundation/barrierfree/accessibility" 31dmserver_gen_path = "${root_gen_dir}/foundation/window/window_manager/dmserver" 32 33declare_args() { 34 device_status_enable = true 35 window_manager_feature_subscribe_motion = false 36 window_manager_feature_tp_enable = false 37 window_manager_fold_ability = true 38 window_manager_feature_screen_active_mode = true 39 window_manager_feature_screen_color_gamut = true 40 window_manager_feature_screen_hdr_format = true 41 window_manager_feature_screen_color_space = true 42 window_manager_feature_multi_screen = true 43 window_manager_feature_multi_screen_frame_ctl = true 44 window_manager_feature_cam_mode = true 45 window_manager_feature_multi_usr = true 46 window_manager_feature_screenless = false 47 48 # Set atomicservice basic engine so path 49 window_manager_feature_asbng_path = "" 50 51 if (defined(global_parts_info) && 52 !defined(global_parts_info.msdp_device_status)) { 53 device_status_enable = false 54 } 55} 56 57if (window_manager_feature_asbng_path == "") { 58 window_manager_feature_asbng_path_enable = false 59} else { 60 window_manager_feature_asbng_path_enable = true 61} 62 63print( 64 "window_manager_feature_subscribe_motion = ${window_manager_feature_subscribe_motion}") 65