Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Build Lite
提交
51ecd13a
B
Build Lite
项目概览
OpenHarmony
/
Build Lite
10 个月 前同步成功
通知
22
Star
24
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
B
Build Lite
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
51ecd13a
编写于
7月 01, 2021
作者:
O
openharmony_ci
提交者:
Gitee
7月 01, 2021
浏览文件
操作
浏览文件
下载
差异文件
!168 将sysroot自动生成到out目录下
Merge pull request !168 from Caoruihong/sysroot_out
上级
d6e91a2e
0433631f
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
6 addition
and
7 deletion
+6
-7
config/BUILDCONFIG.gn
config/BUILDCONFIG.gn
+5
-6
ohos_var.gni
ohos_var.gni
+1
-1
未找到文件。
config/BUILDCONFIG.gn
浏览文件 @
51ecd13a
...
...
@@ -232,8 +232,7 @@ Variables_Action_Foreach = Variables_Action
Variables_Source_Set = Variables_Flags + Variables_Deps + Variables_Dependent_Configs + Variables_General
Variables_Executable = Variables_Source_Set + Variables_Rust_Variables
Variables_Shared_Library = Variables_Executable
Variables_Static_Library = Variables_Executable
Variables_Static_Library += [ "complete_static_lib" ]
Variables_Static_Library = Variables_Executable + [ "complete_static_lib" ]
template("executable") {
executable(target_name) {
...
...
@@ -243,8 +242,8 @@ template("executable") {
} else {
deps += [ "//build/lite:prebuilts" ]
}
configs = []
if (defined(invoker.configs)) {
configs = []
configs += invoker.configs
}
}
...
...
@@ -258,8 +257,8 @@ template("static_library") {
} else {
deps += [ "//build/lite:prebuilts" ]
}
configs = []
if (defined(invoker.configs)) {
configs = []
configs += invoker.configs
}
}
...
...
@@ -273,8 +272,8 @@ template("shared_library") {
} else {
deps += [ "//build/lite:prebuilts" ]
}
configs = []
if (defined(invoker.configs)) {
configs = []
configs += invoker.configs
}
}
...
...
@@ -288,8 +287,8 @@ template("source_set") {
} else {
deps += [ "//build/lite:prebuilts" ]
}
configs = []
if (defined(invoker.configs)) {
configs = []
configs += invoker.configs
}
}
...
...
ohos_var.gni
浏览文件 @
51ecd13a
...
...
@@ -50,7 +50,7 @@ declare_args() {
ohos_current_strip_command = ""
# Current sysroot path. E.g. "//prebuilts/lite/sysroot".
ohos_current_sysroot = "
//prebuilts/lite
/sysroot"
ohos_current_sysroot = "
$root_out_dir
/sysroot"
}
if (product_path != "") {
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录