Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(458)

Unified Diff: android_webview/tools/gyp_webview

Issue 153623011: android envsetup: Remove --host-os flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ios! Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | build/android/envsetup_functions.sh » ('j') | build/android/envsetup_functions.sh » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/tools/gyp_webview
diff --git a/android_webview/tools/gyp_webview b/android_webview/tools/gyp_webview
index b44bfed36e68f9870a948c95043b6a08e6764246..880d8450c1129608dbe2409058cdabf580203521 100755
--- a/android_webview/tools/gyp_webview
+++ b/android_webview/tools/gyp_webview
@@ -21,26 +21,26 @@ FLAGS="-f android -Gdefault_target=All -Glimit_to_target_all=1 "\
"${CHROME_SRC}/android_webview/all_webview.gyp"
if [ "$PLATFORM" == "linux-arm" -o "$PLATFORM" == "all" ]; then
- ( . $CHROME_SRC/build/android/envsetup.sh --target-arch=arm --host-os=linux \
- && android_gyp --suffix .linux-arm ${FLAGS} )
+ ( . $CHROME_SRC/build/android/envsetup.sh --target-arch=arm \
+ && android_gyp --suffix .linux-arm ${FLAGS} -Dhost_os=linux )
fi
if [ "$PLATFORM" == "linux-x86" -o "$PLATFORM" == "all" ]; then
- ( . $CHROME_SRC/build/android/envsetup.sh --target-arch=x86 --host-os=linux \
- && android_gyp --suffix .linux-x86 ${FLAGS} )
+ ( . $CHROME_SRC/build/android/envsetup.sh --target-arch=x86 \
+ && android_gyp --suffix .linux-x86 ${FLAGS} -Dhost_os=linux )
fi
if [ "$PLATFORM" == "linux-mips" -o "$PLATFORM" == "all" ]; then
- ( . $CHROME_SRC/build/android/envsetup.sh --target-arch=mips --host-os=linux \
- && android_gyp --suffix .linux-mips ${FLAGS} )
+ ( . $CHROME_SRC/build/android/envsetup.sh --target-arch=mips \
+ && android_gyp --suffix .linux-mips ${FLAGS} -Dhost_os=linux )
fi
if [ "$PLATFORM" == "darwin-arm" -o "$PLATFORM" == "all" ]; then
- ( . $CHROME_SRC/build/android/envsetup.sh --target-arch=arm --host-os=mac \
- && android_gyp --suffix .darwin-arm ${FLAGS} )
+ ( . $CHROME_SRC/build/android/envsetup.sh --target-arch=arm \
+ && android_gyp --suffix .darwin-arm ${FLAGS} -Dhost_os=mac )
fi
if [ "$PLATFORM" == "darwin-x86" -o "$PLATFORM" == "all" ]; then
- ( . $CHROME_SRC/build/android/envsetup.sh --target-arch=x86 --host-os=mac \
- && android_gyp --suffix .darwin-x86 ${FLAGS} )
+ ( . $CHROME_SRC/build/android/envsetup.sh --target-arch=x86 \
+ && android_gyp --suffix .darwin-x86 ${FLAGS} -Dhost_os=mac )
fi
if [ "$PLATFORM" == "darwin-mips" -o "$PLATFORM" == "all" ]; then
- ( . $CHROME_SRC/build/android/envsetup.sh --target-arch=mips --host-os=mac \
- && android_gyp --suffix .darwin-mips ${FLAGS} )
+ ( . $CHROME_SRC/build/android/envsetup.sh --target-arch=mips \
+ && android_gyp --suffix .darwin-mips ${FLAGS} -Dhost_os=mac )
fi
« no previous file with comments | « no previous file | build/android/envsetup_functions.sh » ('j') | build/android/envsetup_functions.sh » ('J')

Powered by Google App Engine
This is Rietveld 408576698