1 Star 0 Fork 41

huanglei/third_party_libdrm

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
BUILD.gn 826 Bytes
一键复制 编辑 原始数据 按行查看 历史
sunfanup 提交于 2021-08-04 21:38 . libdrm: gn format
import("//build/ohos.gni")
## Build libdrm.so {{{
config("libdrm_config") {
visibility = [ ":*" ]
include_dirs = []
cflags = [
"-Wno-deprecated-declarations",
"-Wno-enum-conversion",
"-DMAJOR_IN_SYSMACROS=1",
]
}
config("libdrm_public_config") {
include_dirs = [
".",
"include",
"include/drm",
]
cflags = []
}
ohos_shared_library("libdrm") {
output_prefix_override = true
output_name = "libdrm"
output_extension = "so"
sources = [
"xf86drm.c",
"xf86drmHash.c",
"xf86drmMode.c",
"xf86drmRandom.c",
]
configs = [ ":libdrm_config" ]
public_configs = [ ":libdrm_public_config" ]
deps = []
public_deps = []
install_images = [
"system",
"updater",
]
part_name = "graphic_standard"
subsystem_name = "graphic"
}
## Build libdrm.so }}}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/passded0704/third_party_libdrm.git
git@gitee.com:passded0704/third_party_libdrm.git
passded0704
third_party_libdrm
third_party_libdrm
master

搜索帮助