Make adbs work again on Darwin x86.
We don't support building on Darwin PPC so let's always assume x86. Change-Id: I079a4040f1c0a144d4cdd1e2b3d2a183c00bf7b0
This commit is contained in:
parent
cd1b924e37
commit
aaf01f48ee
|
@ -137,11 +137,7 @@ def SetupToolsPath():
|
||||||
|
|
||||||
uname = os.uname()[0]
|
uname = os.uname()[0]
|
||||||
if uname == "Darwin":
|
if uname == "Darwin":
|
||||||
proc = os.uname()[-1]
|
uname = "darwin-x86"
|
||||||
if proc == "i386":
|
|
||||||
uname = "darwin-x86"
|
|
||||||
else:
|
|
||||||
uname = "darwin-ppc"
|
|
||||||
elif uname == "Linux":
|
elif uname == "Linux":
|
||||||
uname = "linux-x86"
|
uname = "linux-x86"
|
||||||
prefix = "./prebuilt/" + uname + "/toolchain/arm-linux-androideabi-4.4.x/bin/"
|
prefix = "./prebuilt/" + uname + "/toolchain/arm-linux-androideabi-4.4.x/bin/"
|
||||||
|
|
Loading…
Reference in New Issue