13d0407baSopenharmony_ci#
23d0407baSopenharmony_ci# Copyright (c) 2022 FuZhou Lockzhiner Electronic Co., Ltd. All rights reserved.
33d0407baSopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
43d0407baSopenharmony_ci# you may not use this file except in compliance with the License.
53d0407baSopenharmony_ci# You may obtain a copy of the License at
63d0407baSopenharmony_ci#
73d0407baSopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
83d0407baSopenharmony_ci#
93d0407baSopenharmony_ci# Unless required by applicable law or agreed to in writing, software
103d0407baSopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
113d0407baSopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
123d0407baSopenharmony_ci# See the License for the specific language governing permissions and
133d0407baSopenharmony_ci# limitations under the License.
143d0407baSopenharmony_ci#
153d0407baSopenharmony_ci
163d0407baSopenharmony_ciif (ohos_kernel_type == "liteos_m") {
173d0407baSopenharmony_ci  import("//kernel/liteos_m/liteos.gni")
183d0407baSopenharmony_ci  module_name = get_path_info(rebase_path("."), "name")
193d0407baSopenharmony_ci  module_group(module_name) {
203d0407baSopenharmony_ci    modules = []
213d0407baSopenharmony_ci    if (defined(LOSCFG_SOC_SERIES_RK22XX)) {
223d0407baSopenharmony_ci      modules += [ "rk2206" ]
233d0407baSopenharmony_ci    }
243d0407baSopenharmony_ci  }
253d0407baSopenharmony_ci}
26