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

Unified Diff: build/android/gyp/lint.py

Issue 2558183002: Fix system env being overriden with empty env in lint.py (Closed)
Patch Set: Fix Created 4 years 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698