1# Copyright (c) 2023 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. 13graphic_surface_path = "//foundation/graphic/graphic_surface" 14graphic_2d_path = "//foundation/graphic/graphic_2d" 15multimedia_camera_framework_path = "//foundation/multimedia/camera_framework" 16multimedia_image_framework_path = "//foundation/multimedia/image_framework" 17multimedia_media_library_path = "//foundation/multimedia/media_library" 18driver_camera_path = "//drivers/interface/camera" 19third_party_path = "//third_party/googletest" 20driver_peripheral_path = "//drivers/peripheral/camera" 21base_security_path = "//base/security/access_token" 22driver_disply_path = "//drivers/peripheral/display" 23window_manager_path = "//foundation/window/window_manager" 24system_safwk_path = "//utils/system/safwk" 25 26use_sensor = false 27if (defined(global_parts_info) && defined(global_parts_info.sensors_sensor)) { 28 use_sensor = true 29} 30 31use_thermal_manager = false 32if (defined(global_parts_info) && 33 defined(global_parts_info.powermgr_thermal_manager)) { 34 use_thermal_manager = true 35} 36 37use_battery_manager = false 38if (defined(global_parts_info) && 39 defined(global_parts_info.powermgr_battery_manager)) { 40 use_battery_manager = true 41} 42 43use_power_manager = false 44if (defined(global_parts_info) && 45 defined(global_parts_info.powermgr_power_manager)) { 46 use_power_manager = true 47} 48 49gen_camera_picker = true 50hicollie_enable = true 51