Description[infra] Fix copy_tree.py to avoid extra rebuilding in Fuchsia
This CL computes the correct input and output in the copy_tree GN template by
modifying tools/copy_tree.py to perform a dry-run that lists the files to be copied.
Also, shutil.copytree uses shutil.copy2 to copy files and their metadata, but copying
the metadata appears to confuse ninja dependency tracking.
To do the dry run and to use shutil.copy instead of shutil.copy2, copy_tree.py now
uses its own CopyTree function instead of shutil.copytree.
R=whesse@google.com
Committed: https://github.com/dart-lang/sdk/commit/5ec18fc68e993167ea54d5e9949b338622de19d6
Patch Set 1 #Patch Set 2 : Format #
Messages
Total messages: 7 (3 generated)
|