180922886Sopenharmony_ci# Copyright (c) 2023 Huawei Device Co., Ltd.
280922886Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
380922886Sopenharmony_ci# you may not use this file except in compliance with the License.
480922886Sopenharmony_ci# You may obtain a copy of the License at
580922886Sopenharmony_ci#
680922886Sopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
780922886Sopenharmony_ci#
880922886Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
980922886Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
1080922886Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1180922886Sopenharmony_ci# See the License for the specific language governing permissions and
1280922886Sopenharmony_ci# limitations under the License.
1380922886Sopenharmony_ci
1480922886Sopenharmony_ciif (!defined(global_parts_info) ||
1580922886Sopenharmony_ci    defined(global_parts_info.castplus_cast_engine)) {
1680922886Sopenharmony_ci  castplus_cast_engine_enable = false
1780922886Sopenharmony_ci} else {
1880922886Sopenharmony_ci  castplus_cast_engine_enable = false
1980922886Sopenharmony_ci}
20