summaryrefslogtreecommitdiffstats
path: root/android_webview/tools/gyp_webview
diff options
context:
space:
mode:
authortorne@chromium.org <torne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-26 14:37:54 +0000
committertorne@chromium.org <torne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-26 14:37:54 +0000
commitdcaaaab14b6273f384a4d30bab6b09d0cddf290a (patch)
tree19134c1ce1f630fccc1ed181dcec85ffbe52090a /android_webview/tools/gyp_webview
parenta3e6a641d107c523434802774e74ee7900f0c9e3 (diff)
downloadchromium_src-dcaaaab14b6273f384a4d30bab6b09d0cddf290a.zip
chromium_src-dcaaaab14b6273f384a4d30bab6b09d0cddf290a.tar.gz
chromium_src-dcaaaab14b6273f384a4d30bab6b09d0cddf290a.tar.bz2
Android WebView: generate more makefiles.
Generate makefiles for all combinations of {linux,mac} host and {arm,x86} target, to cover the supported Android system build targets. Use a subshell for each so they don't contaminate the environment. BUG= NOTRY=true Review URL: https://chromiumcodereview.appspot.com/12316122 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184649 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'android_webview/tools/gyp_webview')
-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 )