1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00

[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.
This commit is contained in:
Nico Weber 2021-04-22 08:40:48 -04:00
parent 5c2f53e58f
commit 78b7018813

View File

@ -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),
]
}