summaryrefslogtreecommitdiff
path: root/tools/fileslist_util.py
diff options
context:
space:
mode:
author Dan Willemsen <dwillemsen@google.com> 2016-09-16 10:03:22 -0700
committer Dan Willemsen <dwillemsen@google.com> 2016-09-16 13:17:08 -0700
commit2cfbdf460d90b781bb9ceff84bc8e9567c22836e (patch)
treeb5dd6f34649de1f60f95ac4d8f37a3bbfef7ff64 /tools/fileslist_util.py
parentda7d25f2d1f21875e64fd2096199f00f20856351 (diff)
Only update previous product config when changed
I'm working on removing the --ignore_dirty=$(OUT_DIR)/% argument from Kati. If we're always writing to a file that we're also reading, then with that flag removed, we'll always reparse all the makefiles. So instead, use the method from the generated java file cleanup where we read from a "previous" file, write to a "current" file, then use a cmp || mv to overwrite the "previous" file if necessary. When the flag is removed, this will cause Kati to need to run twice any time this changes, but it's better than forever. Bug: 30947985 Test: Switch between aosp_arm-eng and full-eng Change-Id: Id2d1445809b60ce26700bb2aca765df3b5c2b360
Diffstat (limited to 'tools/fileslist_util.py')
0 files changed, 0 insertions, 0 deletions