• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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"
25declare_args() {
26  camera_framework_feature_camera_rotate_plugin = false
27}
28use_sensor = false
29if (defined(global_parts_info) && defined(global_parts_info.sensors_sensor)) {
30  use_sensor = true
31}
32
33use_thermal_manager = false
34if (defined(global_parts_info) &&
35    defined(global_parts_info.powermgr_thermal_manager)) {
36  use_thermal_manager = true
37}
38
39use_battery_manager = false
40if (defined(global_parts_info) &&
41    defined(global_parts_info.powermgr_battery_manager)) {
42  use_battery_manager = true
43}
44
45use_power_manager = false
46if (defined(global_parts_info) &&
47    defined(global_parts_info.powermgr_power_manager)) {
48  use_power_manager = true
49}
50
51config_policy_ext_enable = false
52if (defined(global_parts_info) &&
53    defined(global_parts_info.customization_config_policy_ext)) {
54  config_policy_ext_enable = true
55}
56
57gen_camera_picker = true
58hicollie_enable = true
59declare_args() {
60  fwk_no_hidden = false
61}
62