152 Star 679 Fork 532

OpenHarmony / kernel_liteos_m

 / 详情

kernel_liteos_m/components/BUILD.gn third_party 库使用

已完成
任务
创建于  
2020-09-11 12:14

该问题是怎么引起的?

在GN里不应该把third_party库的source file一个个加到source_set里, 看了一下这个库有一个正常的gn target可以用 https://gitee.com/openharmony/third_party_bounds_checking_function/blob/master/BUILD.gn#L66

完全可以加到deps里:

source_set("sec") {
  sources = [
    "cmsis/cmsis_liteos.c",
  ]
  
  deps = [
    "//third_party/bounds_checking_function:libsec_static",
  ]

重现步骤

GN style 问题

报错信息

N/A

评论 (1)

氯甲烷 创建了任务
展开全部操作日志

liteos-m架构已经整改,该问题已经不存在,感谢您的issue。

SimonLi 任务状态待办的 修改为已完成

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
7920580 kkup180 1616642860
C
1
https://gitee.com/openharmony/kernel_liteos_m.git
git@gitee.com:openharmony/kernel_liteos_m.git
openharmony
kernel_liteos_m
kernel_liteos_m

搜索帮助