未验证 提交 350c516d 编写于 作者: O openharmony_ci 提交者: Gitee

!674 support gn

Merge pull request !674 from xxlight/support_gn
...@@ -293,7 +293,6 @@ template("musl_libs") { ...@@ -293,7 +293,6 @@ template("musl_libs") {
source_set("soft_musl_src") { source_set("soft_musl_src") {
sources_orig = [] sources_orig = []
sources = [] sources = []
set_sources_assignment_filter([])
sources_orig = musl_src_arch_file + musl_src_file sources_orig = musl_src_arch_file + musl_src_file
sources_orig -= musl_src_filterout sources_orig -= musl_src_filterout
......
...@@ -100,8 +100,8 @@ action_foreach("strip") { ...@@ -100,8 +100,8 @@ action_foreach("strip") {
no_default_deps = true no_default_deps = true
deps = [ ":build_sysroot" ] deps = [ ":build_sysroot" ]
script = "//build/lite/run_shell_cmd.py" script = "//build/lite/run_shell_cmd.py"
set_sources_assignment_filter([ "*.txt" ]) sources_raw = get_target_outputs(deps[0])
sources = get_target_outputs(deps[0]) sources = filter_exclude(sources_raw, [ "*.txt" ])
outputs = [ "$root_out_dir/libs/{{source_file_part}}" ] outputs = [ "$root_out_dir/libs/{{source_file_part}}" ]
args = [ args = [
"$ohos_current_strip_command", "$ohos_current_strip_command",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册