Index: build/android/gyp/lint.py |
diff --git a/build/android/gyp/lint.py b/build/android/gyp/lint.py |
index 643ca9d56f00cb9c3c082a47b0b7060dfb7dfb97..d50263197e6ae0606bd57c89a26b5b1b4d86173e 100755 |
--- a/build/android/gyp/lint.py |
+++ b/build/android/gyp/lint.py |
@@ -170,7 +170,7 @@ def _OnStaleMd5(lint_path, config_path, processed_config_path, |
if os.path.exists(result_path): |
os.remove(result_path) |
- env = {} |
+ env = os.environ.copy() |
stderr_filter = None |
if cache_dir: |
env['_JAVA_OPTIONS'] = '-Duser.home=%s' % _RebasePath(cache_dir) |