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() |