[llvm] 7f5b811 - [gn build] don't repeat arm header targets twice. no behavior change.

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 15 15:22:07 PDT 2020


Author: Nico Weber
Date: 2020-03-15T18:20:26-04:00
New Revision: 7f5b8115acbadff2460e6ca7713b12964df3d693

URL: https://github.com/llvm/llvm-project/commit/7f5b8115acbadff2460e6ca7713b12964df3d693
DIFF: https://github.com/llvm/llvm-project/commit/7f5b8115acbadff2460e6ca7713b12964df3d693.diff

LOG: [gn build] don't repeat arm header targets twice. no behavior change.

Added: 
    

Modified: 
    llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn

Removed: 
    


################################################################################
diff  --git a/llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn b/llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn
index ff0734c6346d..aa1fc8fbb39b 100644
--- a/llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn
@@ -45,9 +45,10 @@ copy("arm_headers") {
     ":arm_neon",
     ":arm_sve",
   ]
-  sources = get_target_outputs(":arm_neon") + get_target_outputs(":arm_fp16") +
-            get_target_outputs(":arm_mve") + get_target_outputs(":arm_cde") +
-            get_target_outputs(":arm_sve")
+  sources = []
+  foreach (dep, deps) {
+    sources += get_target_outputs(dep)
+  }
   outputs = [ "$clang_resource_dir/include/{{source_file_part}}" ]
 }
 


        


More information about the llvm-commits mailing list