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

Unified Diff: build/detect_host_arch.py

Issue 2382883003: PPC/s390: [sysroot installer] Disable for host arch PPC/s390 (Closed)
Patch Set: addressed comments Created 4 years, 3 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 | « AUTHORS ('k') | build/linux/sysroot_scripts/install-sysroot.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/detect_host_arch.py
diff --git a/build/detect_host_arch.py b/build/detect_host_arch.py
index ccfbb6e5703641ba3255cb179717da8181ae79ef..8d6a1ba9177524cc0962ac5b4871ce169911a7ae 100755
--- a/build/detect_host_arch.py
+++ b/build/detect_host_arch.py
@@ -23,6 +23,11 @@ def HostArch():
host_arch = 'arm'
elif host_arch.startswith('mips'):
host_arch = 'mips'
+ elif host_arch.startswith('ppc'):
+ host_arch = 'ppc'
+ elif host_arch.startswith('s390'):
+ host_arch = 's390'
+
# platform.machine is based on running kernel. It's possible to use 64-bit
# kernel with 32-bit userland, e.g. to give linker slightly more memory.
« no previous file with comments | « AUTHORS ('k') | build/linux/sysroot_scripts/install-sysroot.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698