[llvm] 46991ad - [gn build] (manually) port aee6c86c4d better
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 22 05:41:48 PDT 2021
Author: Nico Weber
Date: 2021-04-22T08:41:40-04:00
New Revision: 46991ad26616bc01d206f2659fdff465027b57fd
URL: https://github.com/llvm/llvm-project/commit/46991ad26616bc01d206f2659fdff465027b57fd
DIFF: https://github.com/llvm/llvm-project/commit/46991ad26616bc01d206f2659fdff465027b57fd.diff
LOG: [gn build] (manually) port aee6c86c4d better
"EmptyNodeIntrospection.inc.in" needs to be a source of the action,
so that ninja knows to rerun this action if that input changes.
Added:
Modified:
llvm/utils/gn/secondary/clang/lib/Tooling/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/clang/lib/Tooling/BUILD.gn b/llvm/utils/gn/secondary/clang/lib/Tooling/BUILD.gn
index 22f990f14864..2be7255ae8a9 100644
--- a/llvm/utils/gn/secondary/clang/lib/Tooling/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang/lib/Tooling/BUILD.gn
@@ -3,10 +3,10 @@
action("node_introspection_inc") {
script = "DumpTool/generate_cxx_src_locs.py"
outputs = [ "$target_gen_dir/clang/Tooling/NodeIntrospection.inc" ]
+ sources = [ "EmptyNodeIntrospection.inc.in" ]
args = [
"--use-empty-implementation=1",
- "--empty-implementation=" +
- rebase_path("EmptyNodeIntrospection.inc.in", root_build_dir),
+ "--empty-implementation=" + rebase_path(sources[0], root_build_dir),
"--output-file=" + rebase_path(outputs[0], root_build_dir),
]
}
More information about the llvm-commits
mailing list