1# Copyright (C) 2021 HiHope Open Source Organization . 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 14import("//build/ohos.gni") 15import("//device/soc/rockchip/rk3568/hardware/omx_il/rk_omx.gni") 16import("//drivers/hdf_core/adapter/uhdf2/uhdf.gni") 17 18ohos_shared_library("libOMX_Core") { 19 sources = [ 20 "Rockchip_OMX_Component_Register.c", 21 "Rockchip_OMX_Core.c", 22 ] 23 include_dirs = [ 24 ".", 25 "//device/soc/rockchip/rk3568/hardware/omx_il/osal", 26 "//device/soc/rockchip/rk3568/hardware/omx_il/include/rockchip", 27 "//device/soc/rockchip/rk3568/hardware/omx_il/include/khronos", 28 "//device/soc/rockchip/rk3568/hardware/omx_il/component/common", 29 "//third_party/openmax/api/1.1.2", 30 ] 31 32 cflags = [ 33 "-Wall", 34 "-Wextra", 35 "-Werror", 36 ] 37 38 deps = [ 39 "//device/soc/rockchip/rk3568/hardware/omx_il/component/common:RkOMX_Basecomponent", 40 "//device/soc/rockchip/rk3568/hardware/omx_il/component/common:libRkOMX_Resourcemanager", 41 ] 42 external_deps = [ "hilog:libhilog" ] 43 innerapi_tags = [ "passthrough_indirect" ] 44 install_images = [ chipset_base_dir ] 45 subsystem_name = "hdf" 46 part_name = "rockchip_products" 47} 48