Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1062)

Unified Diff: build/android/gyp/util/md5_check.py

Issue 1373443004: Improve javac.py --incremental logic by having it recompile more files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« build/android/gyp/javac.py ('K') | « build/android/gyp/javac.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/gyp/util/md5_check.py
diff --git a/build/android/gyp/util/md5_check.py b/build/android/gyp/util/md5_check.py
index 699d3bfe143b278ef55897b4cae46e38e46071c5..a2d799533a9ce71b4db95ecbb311271c7fabdd42 100644
--- a/build/android/gyp/util/md5_check.py
+++ b/build/android/gyp/util/md5_check.py
@@ -12,7 +12,7 @@ import zipfile
# When set and a difference is detected, a diff of what changed is printed.
-_PRINT_MD5_DIFFS = int(os.environ.get('PRINT_MD5_DIFFS', 0))
+PRINT_EXPLANATIONS = int(os.environ.get('PRINT_INCREMENTAL_EXPLANATIONS', 0))
def CallAndRecordIfStale(
@@ -26,7 +26,7 @@ def CallAndRecordIfStale(
- the contents of input_strings has changed.
To debug which files are out-of-date, set the environment variable:
- PRINT_MD5_DIFFS=1
+ PRINT_INCREMENTAL_EXPLANATIONS=1
Args:
function: The function to call.
@@ -73,7 +73,7 @@ def CallAndRecordIfStale(
if not changes.HasChanges():
return
- if _PRINT_MD5_DIFFS:
+ if PRINT_EXPLANATIONS:
print '=' * 80
print 'Target is stale: %s' % record_path
print changes.DescribeDifference()
« build/android/gyp/javac.py ('K') | « build/android/gyp/javac.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698