| OLD | NEW |
| 1 #!/bin/bash | 1 #!/bin/bash |
| 2 | 2 |
| 3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 4 # Use of this source code is governed by a BSD-style license that can be | 4 # Use of this source code is governed by a BSD-style license that can be |
| 5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
| 6 | 6 |
| 7 # This script runs gyp with the configuration required to build WebView in the | 7 # This script runs gyp with the configuration required to build WebView in the |
| 8 # Android build system. It is not necessary to source build/android/envsetup.sh | 8 # Android build system. It is not necessary to source build/android/envsetup.sh |
| 9 # before running this script. | 9 # before running this script. |
| 10 | 10 |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 fi | 74 fi |
| 75 if [ "$PLATFORM" == "${host_platform}-x86" -o "$PLATFORM" == "all" ]; then | 75 if [ "$PLATFORM" == "${host_platform}-x86" -o "$PLATFORM" == "all" ]; then |
| 76 ${GYP} --suffix .${host_platform}-x86 ${EFLAGS} -Dtarget_arch=ia32 | 76 ${GYP} --suffix .${host_platform}-x86 ${EFLAGS} -Dtarget_arch=ia32 |
| 77 fi | 77 fi |
| 78 if [ "$PLATFORM" == "${host_platform}-x86_64" -o "$PLATFORM" == "all" ]; then | 78 if [ "$PLATFORM" == "${host_platform}-x86_64" -o "$PLATFORM" == "all" ]; then |
| 79 ${GYP} --suffix .${host_platform}-x86_64 ${EFLAGS} -Dtarget_arch=x64 | 79 ${GYP} --suffix .${host_platform}-x86_64 ${EFLAGS} -Dtarget_arch=x64 |
| 80 fi | 80 fi |
| 81 if [ "$PLATFORM" == "${host_platform}-mips" -o "$PLATFORM" == "all" ]; then | 81 if [ "$PLATFORM" == "${host_platform}-mips" -o "$PLATFORM" == "all" ]; then |
| 82 ${GYP} --suffix .${host_platform}-mips ${EFLAGS} -Dtarget_arch=mipsel | 82 ${GYP} --suffix .${host_platform}-mips ${EFLAGS} -Dtarget_arch=mipsel |
| 83 fi | 83 fi |
| 84 if [ "$PLATFORM" == "${host_platform}-mips64" -o "$PLATFORM" == "all" ]; then |
| 85 ${GYP} --suffix .${host_platform}-mips64 ${EFLAGS} -Dtarget_arch=mips64el |
| 86 fi |
| 84 done | 87 done |
| OLD | NEW |