llvm-project
cd986489 - [gn] use action() instead of copy() for libcxx headers (#195948)

Commit
86 days ago
[gn] use action() instead of copy() for libcxx headers (#195948) copy() doesn't handle file deletions. Use an action() that syncs the output directory with the input list via a response file, removing files that are no longer in the list. This works because if files are added or removed, ninja's command line tracking re-runs the script, and if contents of existing files change, ninja's input mtime checking reruns it. This also makes the remove_float_h workaround unnecessary. Motivated by all the recent header removals in libc++.
Author
Parents
Loading