137a09cd7Sopenharmony_ci# Copyright (c) 2021 Huawei Device Co., Ltd.
237a09cd7Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
337a09cd7Sopenharmony_ci# you may not use this file except in compliance with the License.
437a09cd7Sopenharmony_ci# You may obtain a copy of the License at
537a09cd7Sopenharmony_ci#
637a09cd7Sopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
737a09cd7Sopenharmony_ci#
837a09cd7Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
937a09cd7Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
1037a09cd7Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1137a09cd7Sopenharmony_ci# See the License for the specific language governing permissions and
1237a09cd7Sopenharmony_ci# limitations under the License.
1337a09cd7Sopenharmony_ci
1437a09cd7Sopenharmony_ciimport("//build/ohos.gni")
1537a09cd7Sopenharmony_ci
1637a09cd7Sopenharmony_cideclare_args() {
1737a09cd7Sopenharmony_ci  thermal_protector = false
1837a09cd7Sopenharmony_ci}
1937a09cd7Sopenharmony_cigroup("thermal_application") {
2037a09cd7Sopenharmony_ci  if (thermal_protector) {
2137a09cd7Sopenharmony_ci    deps = [
2237a09cd7Sopenharmony_ci      "init:thermal_protector.cfg",
2337a09cd7Sopenharmony_ci      "protector:thermal_protector_group",
2437a09cd7Sopenharmony_ci    ]
2537a09cd7Sopenharmony_ci  }
2637a09cd7Sopenharmony_ci}
27