1 Star 0 Fork 102

丁陈陈/device_hisilicon_hardware

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
BUILD.gn 3.20 KB
一键复制 编辑 原始数据 按行查看 历史
yuan.w.hong 提交于 2021-05-17 16:21 . build gn modify for L2
# Copyright (c) Hisilicon Technologies Co., Ltd. 2021-2021. All rights reserved.
if (defined(ohos_lite)) {
import("//build/lite/config/component/lite_component.gni")
} else {
import("//build/ohos.gni")
}
if (defined(ohos_lite)) {
if (board_name == "hi3516dv300" || board_name == "hispark_taurus" ||
board_name == "aegis_hi3516dv300") {
board = "hi3516dv300"
} else if (board_name == "hi3518ev300" || board_name == "hispark_aries") {
board = "hi3518ev300"
}
build_ext_component("hardware_media_sdk") {
exec_path = rebase_path(".", root_build_dir)
outdir = rebase_path("$root_out_dir")
command = "./build.sh ${outdir} ${board} ${ohos_kernel_type} ${ohos_build_compiler} ${storage_type}"
}
} else {
group("hardware_group") {
deps = [
":adec",
":aenc",
":audio_hw",
":camera_hw_platform",
":codec",
":format_hw",
":hiaacdec",
":input",
":media_hal_common",
":output",
":plugin_muxer_recorder",
":vdec",
":venc",
]
}
ohos_prebuilt_shared_library("audio_hw") {
source = "media/hal/audio/hi3516dv300/llvm/ext/libs/libaudio_hw.so"
subsystem_name = "hisilicon_products"
}
ohos_prebuilt_shared_library("input") {
source = "media/hal/audio/hi3516dv300/llvm/ext/libs/libaudio_input_port.so"
subsystem_name = "hisilicon_products"
}
ohos_prebuilt_shared_library("output") {
source = "media/hal/audio/hi3516dv300/llvm/ext/libs/libaudio_output_port.so"
subsystem_name = "hisilicon_products"
}
ohos_prebuilt_shared_library("camera_hw_platform") {
source = "media/hal/camera/hi3516dv300/libs/libcamera_hw_platform.so"
subsystem_name = "hisilicon_products"
}
ohos_prebuilt_shared_library("codec") {
source = "media/hal/codec/hi3516dv300/llvm/ext/libs/libcodec.so"
subsystem_name = "hisilicon_products"
}
ohos_prebuilt_shared_library("hiaacdec") {
source = "media/hal/codec/hi3516dv300/llvm/ext/libs/libhiaacdec.so"
subsystem_name = "hisilicon_products"
}
ohos_prebuilt_shared_library("adec") {
source = "media/hal/codec/hi3516dv300/llvm/ext/libs/libplugin_adec_35xx.so"
subsystem_name = "hisilicon_products"
}
ohos_prebuilt_shared_library("aenc") {
source = "media/hal/codec/hi3516dv300/llvm/ext/libs/libplugin_aenc_35xx.so"
subsystem_name = "hisilicon_products"
}
ohos_prebuilt_shared_library("vdec") {
source = "media/hal/codec/hi3516dv300/llvm/ext/libs/libplugin_vdec_3516D.so"
subsystem_name = "hisilicon_products"
}
ohos_prebuilt_shared_library("venc") {
source = "media/hal/codec/hi3516dv300/llvm/ext/libs/libplugin_venc_35xx.so"
subsystem_name = "hisilicon_products"
}
ohos_prebuilt_shared_library("media_hal_common") {
source =
"media/hal/common/hi3516dv300/llvm/ohos/libs/libmedia_hal_common.so"
subsystem_name = "hisilicon_products"
}
ohos_prebuilt_shared_library("format_hw") {
source = "media/hal/format/hi3516dv300/llvm/ext/libs/libformat_hw.so"
subsystem_name = "hisilicon_products"
}
ohos_prebuilt_shared_library("plugin_muxer_recorder") {
source =
"media/hal/format/hi3516dv300/llvm/ext/libs/libplugin_muxer_recorder.so"
subsystem_name = "hisilicon_products"
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ding-chenchen/device_hisilicon_hardware.git
git@gitee.com:ding-chenchen/device_hisilicon_hardware.git
ding-chenchen
device_hisilicon_hardware
device_hisilicon_hardware
master

搜索帮助