18c77b71bSopenharmony_ci# Copyright (C) 2023 Huawei Device Co., Ltd. 28c77b71bSopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 38c77b71bSopenharmony_ci# you may not use this file except in compliance with the License. 48c77b71bSopenharmony_ci# You may obtain a copy of the License at 58c77b71bSopenharmony_ci# 68c77b71bSopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 78c77b71bSopenharmony_ci# 88c77b71bSopenharmony_ci# Unless required by applicable law or agreed to in writing, software 98c77b71bSopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 108c77b71bSopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 118c77b71bSopenharmony_ci# See the License for the specific language governing permissions and 128c77b71bSopenharmony_ci# limitations under the License. 138c77b71bSopenharmony_ci 148c77b71bSopenharmony_cideclare_args() { 158c77b71bSopenharmony_ci if (!defined(global_parts_info) || 168c77b71bSopenharmony_ci defined(global_parts_info.multimedia_camera_lite)) { 178c77b71bSopenharmony_ci enable_multimedia_camera_lite = true 188c77b71bSopenharmony_ci } else { 198c77b71bSopenharmony_ci enable_multimedia_camera_lite = false 208c77b71bSopenharmony_ci } 218c77b71bSopenharmony_ci} 22