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

Unified Diff: build/scripts/slave/recipe_modules/base_android/api.py

Issue 170783015: recipes: Stop passing --target-arch to envsetup now that it's ignored. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/
Patch Set: Created 6 years, 10 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 | « no previous file | build/scripts/slave/recipe_modules/chromium_android/api.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/scripts/slave/recipe_modules/base_android/api.py
===================================================================
--- build/scripts/slave/recipe_modules/base_android/api.py (revision 252098)
+++ build/scripts/slave/recipe_modules/base_android/api.py (working copy)
@@ -17,8 +17,6 @@
with settings in the chromium recipe module config.
"""
envsetup_cmd = [self.m.path.checkout('build', 'android', 'envsetup.sh')]
- if self.target_arch:
- envsetup_cmd += ['--target-arch=%s' % self.target_arch]
cmd = ([self.m.path.build('scripts', 'slave', 'env_dump.py'),
'--output-json', self.m.json.output()] + envsetup_cmd)
@@ -28,15 +26,6 @@
self._env.update((k, v) for k, v in env_diff.iteritems()
if not k.startswith('GYP_'))
- @property
- def target_arch(self):
- """Convert from recipe arch to Android architecture string."""
- return {
- 'intel': 'x86',
- 'arm': 'arm',
- 'mips': 'mips',
- }.get(self.m.chromium.c.TARGET_ARCH, '')
-
def runhooks(self):
return self.m.chromium.runhooks(env=self._env)
« no previous file with comments | « no previous file | build/scripts/slave/recipe_modules/chromium_android/api.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698