2 Star 2 Fork 5

umspark/CAN

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
BUILD.gn 1.88 KB
一键复制 编辑 原始数据 按行查看 历史
于敏杰 提交于 2022-12-16 02:16 . !1Initial commit can
# Copyright (c) 2022 Unionman Technology 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("warns") {
cflags = [
"-Wno-unused-value",
"-Wno-unused-variable",
"-Wno-implicit-function-declaration",
]
}
ohos_prebuilt_executable("ip") {
source = "prebuilts/bin/ip"
install_enable = true
install_images = [ "system" ]
part_name = "unionman_products"
}
ohos_prebuilt_executable("canconfig") {
source = "prebuilts/sbin/canconfig"
install_enable = true
install_images = [ "system" ]
part_name = "unionman_products"
}
ohos_prebuilt_executable("candump") {
source = "prebuilts/bin/candump"
install_enable = true
install_images = [ "system" ]
part_name = "unionman_products"
}
ohos_prebuilt_executable("canecho") {
source = "prebuilts/bin/canecho"
install_enable = true
install_images = [ "system" ]
part_name = "unionman_products"
}
ohos_prebuilt_executable("cansend") {
source = "prebuilts/bin/cansend"
install_enable = true
install_images = [ "system" ]
part_name = "unionman_products"
}
ohos_prebuilt_executable("cansequence") {
source = "prebuilts/bin/cansequence"
install_enable = true
install_images = [ "system" ]
part_name = "unionman_products"
}
group("can_test") {
deps = [
":ip",
":canconfig",
":candump",
":canecho",
":cansend",
":cansequence",
]
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/umspark/can.git
git@gitee.com:umspark/can.git
umspark
can
CAN
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385