summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xandroid_webview/tools/gyp_webview10
1 files changed, 8 insertions, 2 deletions
diff --git a/android_webview/tools/gyp_webview b/android_webview/tools/gyp_webview
index 639a5bf..c6fa8ed 100755
--- a/android_webview/tools/gyp_webview
+++ b/android_webview/tools/gyp_webview
@@ -13,5 +13,11 @@ set -e
export CHROME_ANDROID_BUILD_WEBVIEW=1
export CHROME_SRC="$(readlink -f "$(dirname "$0")/../..")"
export PYTHONDONTWRITEBYTECODE=1
-. build/android/envsetup.sh --target-arch=arm
-android_gyp --suffix .linux-arm
+( . build/android/envsetup.sh --target-arch=arm --host-os=linux && \
+ android_gyp --suffix .linux-arm )
+( . build/android/envsetup.sh --target-arch=x86 --host-os=linux && \
+ android_gyp --suffix .linux-x86 )
+( . build/android/envsetup.sh --target-arch=arm --host-os=mac && \
+ android_gyp --suffix .mac-arm )
+( . build/android/envsetup.sh --target-arch=x86 --host-os=mac && \
+ android_gyp --suffix .mac-x86 )