diff options
Diffstat (limited to 'tools/adbs')
-rwxr-xr-x | tools/adbs | 10 |
1 files changed, 3 insertions, 7 deletions
@@ -137,11 +137,7 @@ def SetupToolsPath(): uname = os.uname()[0] if uname == "Darwin": - proc = os.uname()[-1] - if proc == "i386": - uname = "darwin-x86" - else: - uname = "darwin-ppc" + uname = "darwin-x86" elif uname == "Linux": uname = "linux-x86" prefix = "./prebuilts/gcc/" + uname + "/arm/arm-linux-androideabi-4.6/bin/" @@ -149,8 +145,8 @@ def SetupToolsPath(): if (not os.path.exists(addr2line_cmd)): try: - prefix = os.environ['ANDROID_BUILD_TOP'] + "/prebuilts/gcc/" + uname + \ - "/arm/arm-linux-androideabi-4.6/bin/" + prefix = os.environ['ANDROID_BUILD_TOP'] + "/prebuilts/gcc/" + \ + uname + "/arm/arm-linux-androideabi-4.6/bin/" except: prefix = ""; |