12fe4e5f8Sopenharmony_ci# Copyright (C) 2022 Hisilicon (Shanghai) Technologies Co., Ltd. All rights reserved. 22fe4e5f8Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 32fe4e5f8Sopenharmony_ci# you may not use this file except in compliance with the License. 42fe4e5f8Sopenharmony_ci# You may obtain a copy of the License at 52fe4e5f8Sopenharmony_ci# 62fe4e5f8Sopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 72fe4e5f8Sopenharmony_ci# 82fe4e5f8Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software 92fe4e5f8Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 102fe4e5f8Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 112fe4e5f8Sopenharmony_ci# See the License for the specific language governing permissions and 122fe4e5f8Sopenharmony_ci# limitations under the License. 132fe4e5f8Sopenharmony_ci 142fe4e5f8Sopenharmony_cisoc_company = "hisilicon" 152fe4e5f8Sopenharmony_cisoc_name = "hi3516dv300" 162fe4e5f8Sopenharmony_ci 172fe4e5f8Sopenharmony_ciimport("//device/soc/${soc_company}/${soc_name}/soc.gni") 182fe4e5f8Sopenharmony_ci 192fe4e5f8Sopenharmony_ciif (!defined(defines)) { 202fe4e5f8Sopenharmony_ci defines = [] 212fe4e5f8Sopenharmony_ci} 222fe4e5f8Sopenharmony_ciif (product_name == "ipcamera_hispark_taurus") { 232fe4e5f8Sopenharmony_ci product_config_path = "//vendor/hisilicon/hispark_taurus_standard" 242fe4e5f8Sopenharmony_ci} else { 252fe4e5f8Sopenharmony_ci product_config_path = "//vendor/hisilicon/${product_name}" 262fe4e5f8Sopenharmony_ci} 272fe4e5f8Sopenharmony_ciboard_camera_path = "//device/board/hisilicon/hispark_taurus/camera" 282fe4e5f8Sopenharmony_ciis_support_mpi = true 292fe4e5f8Sopenharmony_ciif (is_support_mpi) { 302fe4e5f8Sopenharmony_ci is_support_v4l2 = false 312fe4e5f8Sopenharmony_ci defines += [ "SUPPORT_MPI" ] 322fe4e5f8Sopenharmony_ci chipset_build_deps = "$board_camera_path:hispark_taurus_build" 332fe4e5f8Sopenharmony_ci camera_device_manager_deps = 342fe4e5f8Sopenharmony_ci "$board_camera_path/device_manager:camera_device_manager" 352fe4e5f8Sopenharmony_ci camera_pipeline_core_deps = 362fe4e5f8Sopenharmony_ci "$board_camera_path/pipeline_core:camera_pipeline_core" 372fe4e5f8Sopenharmony_ci} 38