Bug 1596227 - Fix Android platform_guess for x86_64 and aarch64. r=chmanchester
authorJesse Schwartzentruber <truber@mozilla.com>
Thu, 14 Nov 2019 01:58:51 +0000
changeset 501897 6a2d40014464a2bb1489921bd152d229e273d14d
parent 501896 6514e3ddd69bd92dad544554768b5fa3c4960613
child 501898 d87213b99f4685022650253877f90a6c6bcb3aa9
push id114172
push userdluca@mozilla.com
push dateTue, 19 Nov 2019 11:31:10 +0000
treeherdermozilla-inbound@b5c5ba07d3db [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerschmanchester
bugs1596227
milestone72.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1596227 - Fix Android platform_guess for x86_64 and aarch64. r=chmanchester Differential Revision: https://phabricator.services.mozilla.com/D52909
python/mozbuild/mozbuild/mozinfo.py
--- a/python/mozbuild/mozbuild/mozinfo.py
+++ b/python/mozbuild/mozbuild/mozinfo.py
@@ -112,16 +112,20 @@ def build_dict(config, env=os.environ):
             if d['asan']:
                 p = '{}-asan'.format(p)
 
             return p
 
         if d['buildapp'] == 'mobile/android':
             if d['processor'] == 'x86':
                 return 'android-x86'
+            if d['processor'] == 'x86_64':
+                return 'android-x86_64'
+            if d['processor'] == 'aarch64':
+                return 'android-aarch64'
             return 'android-arm'
 
     def guess_buildtype():
         if d['debug']:
             return 'debug'
         if d['pgo']:
             return 'pgo'
         return 'opt'