13d0407baSopenharmony_ci# Copyright (C) 2021-2023 HiHope Open Source Organization . 23d0407baSopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 33d0407baSopenharmony_ci# you may not use this file except in compliance with the License. 43d0407baSopenharmony_ci# You may obtain a copy of the License at 53d0407baSopenharmony_ci# 63d0407baSopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 73d0407baSopenharmony_ci# 83d0407baSopenharmony_ci# Unless required by applicable law or agreed to in writing, software 93d0407baSopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 103d0407baSopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 113d0407baSopenharmony_ci# See the License for the specific language governing permissions and 123d0407baSopenharmony_ci# limitations under the License. 133d0407baSopenharmony_ci 143d0407baSopenharmony_ciimport("//build/ohos.gni") 153d0407baSopenharmony_ci 163d0407baSopenharmony_ciif (linux_kernel_version == "linux-6.6") { 173d0407baSopenharmony_ci ISP_VERSION_DIR = 183d0407baSopenharmony_ci "//device/soc/rockchip/rk3568/hardware/isp-$linux_kernel_version:isp" 193d0407baSopenharmony_ci} else { 203d0407baSopenharmony_ci ISP_VERSION_DIR = "//device/soc/rockchip/rk3568/hardware/isp:isp" 213d0407baSopenharmony_ci} 223d0407baSopenharmony_ci 233d0407baSopenharmony_cigroup("hardware_group") { 243d0407baSopenharmony_ci deps = [ 253d0407baSopenharmony_ci "//device/soc/rockchip/rk3568/hardware/gpu:mali-bifrost-g52-g7p0-ohos", 263d0407baSopenharmony_ci "//device/soc/rockchip/rk3568/hardware/mpp:mpp", 273d0407baSopenharmony_ci "//device/soc/rockchip/rk3568/hardware/wifi:ap6xxx", 283d0407baSopenharmony_ci ISP_VERSION_DIR, 293d0407baSopenharmony_ci ] 303d0407baSopenharmony_ci} 31