1a339c2d4Sopenharmony_ci# Copyright (c) 2023-2024 Huawei Device Co., Ltd. 2a339c2d4Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 3a339c2d4Sopenharmony_ci# you may not use this file except in compliance with the License. 4a339c2d4Sopenharmony_ci# You may obtain a copy of the License at 5a339c2d4Sopenharmony_ci# 6a339c2d4Sopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 7a339c2d4Sopenharmony_ci# 8a339c2d4Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software 9a339c2d4Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 10a339c2d4Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11a339c2d4Sopenharmony_ci# See the License for the specific language governing permissions and 12a339c2d4Sopenharmony_ci# limitations under the License. 13a339c2d4Sopenharmony_ci 14a339c2d4Sopenharmony_cideclare_args() { 15a339c2d4Sopenharmony_ci sensors_miscdevice_enable = true 16a339c2d4Sopenharmony_ci customization_enterprise_device_management_enable = true 17a339c2d4Sopenharmony_ci if (defined(global_parts_info)) { 18a339c2d4Sopenharmony_ci if (!defined(global_parts_info.sensors_miscdevice)) { 19a339c2d4Sopenharmony_ci sensors_miscdevice_enable = false 20a339c2d4Sopenharmony_ci } 21a339c2d4Sopenharmony_ci if (!defined(global_parts_info.customization_enterprise_device_management)) { 22a339c2d4Sopenharmony_ci customization_enterprise_device_management_enable = false 23a339c2d4Sopenharmony_ci } 24a339c2d4Sopenharmony_ci } 25a339c2d4Sopenharmony_ci} 26