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" 17driver_camera_path = "//drivers/interface/camera" 18third_party_path = "//third_party/googletest" 19driver_peripheral_path = "//drivers/peripheral/camera" 20base_security_path = "//base/security/access_token" 21driver_disply_path = "//drivers/peripheral/display" 22window_manager_path = "//foundation/window/window_manager" 23system_safwk_path = "//utils/system/safwk" 24memmgr_root = "//foundation/resourceschedule/memmgr" 25memmgr_plugin_root = "//foundation/resourceschedule/memmgr_plugin" 26 27use_memmgr_plugin = false 28if (defined(global_parts_info) && 29 defined(global_parts_info.resourceschedule_memmgr_plugin)) { 30 use_memmgr_plugin = true 31} 32 33use_memmgr = false 34if (defined(global_parts_info) && 35 defined(global_parts_info.resourceschedule_memmgr)) { 36 use_memmgr = true 37} 38 39use_sensor = false 40if (defined(global_parts_info) && defined(global_parts_info.sensors_sensor)) { 41 use_sensor = true 42} 43 44use_thermal_manager = false 45if (defined(global_parts_info) && 46 defined(global_parts_info.powermgr_thermal_manager)) { 47 use_thermal_manager = true 48} 49 50gen_camera_picker = true 51