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) |