1# Copyright (C) 2022 Hisilicon (Shanghai) Technologies Co., Ltd. All rights reserved. 2# Licensed under the Apache License, Version 2.0 (the "License"); 3# you may not use this file except in compliance with the License. 4# You may obtain a copy of the License at 5# 6# http://www.apache.org/licenses/LICENSE-2.0 7# 8# Unless required by applicable law or agreed to in writing, software 9# distributed under the License is distributed on an "AS IS" BASIS, 10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11# See the License for the specific language governing permissions and 12# limitations under the License. 13 14soc_company = "hisilicon" 15soc_name = "hi3516dv300" 16 17import("//device/soc/${soc_company}/${soc_name}/soc.gni") 18 19if (!defined(defines)) { 20 defines = [] 21} 22if (product_name == "ipcamera_hispark_taurus") { 23 product_config_path = "//vendor/hisilicon/hispark_taurus_standard" 24} else { 25 product_config_path = "//vendor/hisilicon/${product_name}" 26} 27board_camera_path = "//device/board/hisilicon/hispark_taurus/camera" 28is_support_mpi = true 29if (is_support_mpi) { 30 is_support_v4l2 = false 31 defines += [ "SUPPORT_MPI" ] 32 chipset_build_deps = "$board_camera_path:hispark_taurus_build" 33 camera_device_manager_deps = 34 "$board_camera_path/device_manager:camera_device_manager" 35 camera_pipeline_core_deps = 36 "$board_camera_path/pipeline_core:camera_pipeline_core" 37} 38