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

Unified Diff: tools/cr/cr/actions/gyp.py

Issue 142933004: [cr tool] Make context implicit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 9 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 | « tools/cr/cr/actions/gdb.py ('k') | tools/cr/cr/actions/installer.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/cr/cr/actions/gyp.py
diff --git a/tools/cr/cr/actions/gyp.py b/tools/cr/cr/actions/gyp.py
index b3492bbefd01f1a3169dcb85618a38909f93bda1..fc191e3ca317b048bcec4906a2925eab24d44697 100644
--- a/tools/cr/cr/actions/gyp.py
+++ b/tools/cr/cr/actions/gyp.py
@@ -15,11 +15,10 @@ class GypPrepareOut(cr.PrepareOut):
GYP_GENERATOR_FLAGS='output_dir={CR_OUT_BASE} config={CR_BUILDTYPE}',
)
- def Prepare(self, context):
- if context.verbose >= 1:
- print context.Substitute('Invoking gyp with {GYP_GENERATOR_FLAGS}')
+ def Prepare(self):
+ if cr.context.verbose >= 1:
+ print cr.context.Substitute('Invoking gyp with {GYP_GENERATOR_FLAGS}')
cr.Host.Execute(
- context,
'{CR_SRC}/build/gyp_chromium',
'--depth={CR_SRC}',
'--check'
« no previous file with comments | « tools/cr/cr/actions/gdb.py ('k') | tools/cr/cr/actions/installer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698