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

Unified Diff: build/scripts/slave/recipe_modules/chromium_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
Index: build/scripts/slave/recipe_modules/chromium_android/api.py
===================================================================
--- build/scripts/slave/recipe_modules/chromium_android/api.py (revision 252098)
+++ build/scripts/slave/recipe_modules/chromium_android/api.py (working copy)
@@ -107,8 +107,6 @@
def envsetup(self):
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)
@@ -321,15 +319,6 @@
[self.m.path.checkout('build', 'android', 'asan_symbolize.py'),
'-l', log_file], always_run=True, env=self.get_env())
- @property
- def target_arch(self):
- """Convert from recipe arch to android arch."""
- return {
- 'intel': 'x86',
- 'arm': 'arm',
- 'mips': 'mips',
- }.get(self.m.chromium.c.TARGET_ARCH, '')
-
def test_report(self):
return self.m.python.inline(
'test_report',

Powered by Google App Engine
This is Rietveld 408576698