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

Unified Diff: deps_utils.py

Issue 493483002: Retain original DEPS 'vars' in converted .DEPS.git. (Closed) Base URL: http://src.chromium.org/svn/trunk/tools/deps2git
Patch Set: Created 6 years, 4 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
« no previous file with comments | « deps2git.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: deps_utils.py
diff --git a/deps_utils.py b/deps_utils.py
index 9f95c0894890823ca4c743fe44160a87e4c7401c..9bb2f5f7ef653362b40a1e5235652d3f5f7af041 100644
--- a/deps_utils.py
+++ b/deps_utils.py
@@ -39,6 +39,7 @@ def GetDepsContent(deps_path):
'include_rules': [],
'skip_child_includes': [],
'hooks': [],
+ 'vars': {},
}
exec(content, global_scope, local_scope)
local_scope.setdefault('deps', {})
@@ -46,10 +47,11 @@ def GetDepsContent(deps_path):
local_scope.setdefault('include_rules', [])
local_scope.setdefault('skip_child_includes', [])
local_scope.setdefault('hooks', [])
+ local_scope.setdefault('vars', {})
return (local_scope['deps'], local_scope['deps_os'],
local_scope['include_rules'], local_scope['skip_child_includes'],
- local_scope['hooks'])
+ local_scope['hooks'], local_scope['vars'])
def PrettyDeps(deps, indent=0):
« no previous file with comments | « deps2git.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698