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

Unified Diff: tools/cr/cr/actions/linux.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/installer.py ('k') | tools/cr/cr/actions/ninja.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/cr/cr/actions/linux.py
diff --git a/tools/cr/cr/actions/linux.py b/tools/cr/cr/actions/linux.py
index adcdb31abd69f8a8a4b81e339af262e1ec944ba6..b56c797b355c93dcdb237578415b283b3feece0f 100644
--- a/tools/cr/cr/actions/linux.py
+++ b/tools/cr/cr/actions/linux.py
@@ -17,15 +17,15 @@ class LinuxRunner(cr.Runner):
def enabled(self):
return cr.LinuxPlatform.GetInstance().is_active
- def Kill(self, context, targets, arguments):
+ def Kill(self, targets, arguments):
# TODO(iancottrell): Think about how to implement this, or even if we should
print '**WARNING** Kill not yet implemented on linux'
- def Run(self, context, target, arguments):
+ def Run(self, target, arguments):
cr.Host.Execute(target, '{CR_BINARY}', '{CR_RUN_ARGUMENTS}', *arguments)
- def Test(self, context, target, arguments):
- self.Run(context, target, arguments)
+ def Test(self, target, arguments):
+ self.Run(target, arguments)
class LinuxInstaller(cr.Installer):
@@ -39,12 +39,12 @@ class LinuxInstaller(cr.Installer):
def enabled(self):
return cr.LinuxPlatform.GetInstance().is_active
- def Uninstall(self, context, targets, arguments):
+ def Uninstall(self, targets, arguments):
pass
- def Install(self, context, targets, arguments):
+ def Install(self, targets, arguments):
pass
- def Reinstall(self, context, targets, arguments):
+ def Reinstall(self, targets, arguments):
pass
« no previous file with comments | « tools/cr/cr/actions/installer.py ('k') | tools/cr/cr/actions/ninja.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698