1# Copyright (C) 2021–2023 Beijing OSWare Technology Co., Ltd 2# This file contains confidential and proprietary information of 3# OSWare Technology Co., Ltd 4# 5# Licensed under the Apache License, Version 2.0 (the "License"); 6# you may not use this file except in compliance with the License. 7# You may obtain a copy of the License at 8# 9# http://www.apache.org/licenses/LICENSE-2.0 10# 11# Unless required by applicable law or agreed to in writing, software 12# distributed under the License is distributed on an "AS IS" BASIS, 13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14# See the License for the specific language governing permissions and 15# limitations under the License. 16 17soc_company = "nxp" 18soc_name = "imx8mm" 19 20import("//device/soc/${soc_company}/${soc_name}/soc.gni") 21 22import("//build/ohos.gni") 23if (!defined(defines)) { 24 defines = [] 25} 26 27product_config_path = "//vendor/${product_company}/${product_name}" 28board_camera_path = 29 "//device/board/${product_company}/${device_name}/drivers/camera" 30is_support_v4l2 = true 31if (is_support_v4l2) { 32 is_support_mpi = false 33 defines += [ "SUPPORT_V4L2" ] 34} 35