Browse Source

MIPS64: Add support for depot_tools on mips64.

BUG= 865294

R= tandrii@chromium.org

Change-Id: I8ad56887882b897d605dc92e0e61c17de0a74967
Reviewed-on: https://chromium-review.googlesource.com/1141563
Reviewed-by: Robbie Iannucci <iannucci@chromium.org>
Commit-Queue: Robbie Iannucci <iannucci@chromium.org>
Wang Qing 7 years ago
parent
commit
254538b955
3 changed files with 6 additions and 0 deletions
  1. 3 0
      cipd
  2. 2 0
      detect_host_arch.py
  3. 1 0
      gclient.py

+ 3 - 0
cipd

@@ -58,6 +58,9 @@ case $UNAME in
   *86)
     ARCH=386
     ;;
+  mips*)
+    ARCH=$UNAME
+    ;;
   *)
     echo "UNKNOWN Machine architecture: $UNAME"
     exit 1

+ 2 - 0
detect_host_arch.py

@@ -23,6 +23,8 @@ def HostArch():
     host_arch = 'arm'
   elif host_arch.startswith('aarch64'):
     host_arch = 'arm64'
+  elif host_arch.startswith('mips64'):
+    host_arch = 'mips64'
   elif host_arch.startswith('mips'):
     host_arch = 'mips'
   elif host_arch.startswith('ppc'):

+ 1 - 0
gclient.py

@@ -1185,6 +1185,7 @@ class Dependency(gclient_utils.WorkItem, DependencySettings):
         'checkout_arm64': 'arm64' in self.target_cpu,
         'checkout_x86': 'x86' in self.target_cpu,
         'checkout_mips': 'mips' in self.target_cpu,
+        'checkout_mips64': 'mips64' in self.target_cpu,
         'checkout_ppc': 'ppc' in self.target_cpu,
         'checkout_s390': 's390' in self.target_cpu,
         'checkout_x64': 'x64' in self.target_cpu,