1 Star 0 Fork 8

zhaohe/rk3588-librga

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
BUILD.gn 1.94 KB
一键复制 编辑 原始数据 按行查看 历史
Genan 提交于 2023-01-13 16:03 . init rk3588 librga
#Copyright (c) 2021 Huawei Device Co., Ltd.
#Licensed under the Apache License, Version 2.0 (the "License");
#you may not use this file except in compliance with the License.
#You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#Unless required by applicable law or agreed to in writing, software
#distributed under the License is distributed on an "AS IS" BASIS,
#WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#See the License for the specific language governing permissions and
#limitations under the License.
import("//build/ohos.gni")
import("//build/ohos/ndk/ndk.gni")
config("rga_config") {
include_dirs = [
"./",
"./include/",
"./im2d_api/",
"./core",
"./core/hardware",
"./core/utils",
"./core/3rdparty/libdrm/include/drm/",
"//prebuilts/gcc/linux-x86/aarch64/gcc-linaro-7.5.0-2019.12-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/libc/usr/include/",
]
cflags = [
"-Wno-incompatible-pointer-types",
"-Werror",
"-Wimplicit-function-declaration",
"-Wno-error=unused-variable",
"-Wno-implicit-fallthrough",
"-Wno-sign-compare",
"-Wno-unused-variable",
"-Wno-int-conversion",
"-Wno-unused-function",
"-Wno-return-type",
"-Wno-pragma-pack",
"-Wno-reorder",
"-fpermissive",
"-Wno-implicit-function-declaration",
]
}
ohos_executable("rga") {
install_enable = true
sources = [
"core/utils/android_utils/src/android_utils.cpp",
"core/RockchipRga.cpp",
"core/GrallocOps.cpp",
"core/NormalRgaApi.cpp",
"core/utils/drm_utils/src/drm_utils.cpp",
"core/utils/utils.cpp",
"core/NormalRga.cpp",
"core/RgaUtils.cpp",
"core/RgaApi.cpp",
"core/rga_sync.cpp",
"im2d_api/src/im2d_log.cpp",
"im2d_api/src/im2d_impl.cpp",
"im2d_api/src/im2d.cpp",
]
configs = [ ":rga_config" ]
part_name = "init"
install_images = [
"system",
"updater",
]
install_enable = true
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zhaohe1216/rk3588-librga.git
git@gitee.com:zhaohe1216/rk3588-librga.git
zhaohe1216
rk3588-librga
rk3588-librga
master

搜索帮助