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

Unified Diff: infra/bots/recipe_modules/run/api.py

Issue 2352653002: GN: remove old Android recipe code. (Closed)
Patch Set: missing json Created 4 years, 3 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 | « infra/bots/recipe_modules/flavor/gn_android_flavor.py ('k') | infra/bots/recipes/swarm_compile.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: infra/bots/recipe_modules/run/api.py
diff --git a/infra/bots/recipe_modules/run/api.py b/infra/bots/recipe_modules/run/api.py
index eb0f8e679a1231a66b79abb1953d3253c2eae11b..ffcced19474b08b99f82b8ff4ea58f61e5cad35a 100644
--- a/infra/bots/recipe_modules/run/api.py
+++ b/infra/bots/recipe_modules/run/api.py
@@ -115,30 +115,3 @@ for pattern in build_products_whitelist:
''' % str(BUILD_PRODUCTS_ISOLATE_WHITELIST),
args=[src, dst],
infra_step=True)
-
- def ccache(self):
- if not self._checked_for_ccache:
- self._checked_for_ccache = True
- if not self.m.platform.is_win:
- result = self(
- self.m.python.inline,
- name='has ccache?',
- program='''import json
-import subprocess
-import sys
-
-ccache = None
-try:
- ccache = subprocess.check_output(['which', 'ccache']).rstrip()
-except:
- pass
-print json.dumps({'ccache': ccache})
-''',
- stdout=self.m.json.output(),
- infra_step=True,
- abort_on_failure=False,
- fail_build_on_failure=False)
- if result and result.stdout and result.stdout.get('ccache'):
- self._ccache = result.stdout['ccache']
-
- return self._ccache
« no previous file with comments | « infra/bots/recipe_modules/flavor/gn_android_flavor.py ('k') | infra/bots/recipes/swarm_compile.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698