[llvm] d7b8c61 - [gn] use `sources` instead of `inputs` for libc++ header copy action (#206263)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Jun 27 09:28:27 PDT 2026
Author: Nico Weber
Date: 2026-06-27T18:28:22+02:00
New Revision: d7b8c61aa065b8bd0902275b65acd7e0f4e99bae
URL: https://github.com/llvm/llvm-project/commit/d7b8c61aa065b8bd0902275b65acd7e0f4e99bae
DIFF: https://github.com/llvm/llvm-project/commit/d7b8c61aa065b8bd0902275b65acd7e0f4e99bae.diff
LOG: [gn] use `sources` instead of `inputs` for libc++ header copy action (#206263)
`sources` and `inputs` have the same semantics for GN action targets,
but the sync script can only handle `sources`.
Follow-up to cd98648925531663.
Added:
Modified:
llvm/utils/gn/secondary/libcxx/include/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/libcxx/include/BUILD.gn b/llvm/utils/gn/secondary/libcxx/include/BUILD.gn
index 6c48714f8862c..20864a00e9463 100644
--- a/llvm/utils/gn/secondary/libcxx/include/BUILD.gn
+++ b/llvm/utils/gn/secondary/libcxx/include/BUILD.gn
@@ -77,7 +77,7 @@ if (current_toolchain == default_toolchain) {
action("copy_headers") {
script = "//llvm/utils/gn/build/sync_dir.py"
- inputs = [
+ sources = [
"__algorithm/adjacent_find.h",
"__algorithm/all_of.h",
"__algorithm/any_of.h",
@@ -1761,7 +1761,7 @@ if (current_toolchain == default_toolchain) {
"wchar.h",
"wctype.h",
]
- response_file_contents = inputs
+ response_file_contents = sources
outputs = [ "$target_gen_dir/copy_headers.stamp" ]
args = [
"--stamp",
More information about the llvm-commits
mailing list