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

Unified Diff: android_webview/tools/gyp_webview

Issue 194023002: Add support of x64 to generate .mk files (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Make sure gyp_webview enough to generate makefiles Created 6 years, 9 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/common.gypi » ('j') | build/common.gypi » ('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 ff39f6005e11d52415caf2e8863896f28dacf891..3714e0a2c0c349ea138e8fc4ff5dfb61304ee4d3 100755
--- a/android_webview/tools/gyp_webview
+++ b/android_webview/tools/gyp_webview
@@ -36,6 +36,8 @@ android_sdk=$(python -c \
'${ANDROID_BUILD_TOP}')")
DEFINES+=" android_src=\$(PWD)"
DEFINES+=" android_ndk_root=ndk_root_unused_in_webview_build"
+DEFINES+=" android_ndk_sysroot=ndk_sysroot_unused_in_webview_build"
+DEFINES+=" android_gdbserver=gdbserver_unused_in_webview_build"
Yang Gu 2014/03/13 10:07:29 We don't need to define them in common.gypi for th
Torne 2014/03/13 11:04:46 We don't define them for the other architectures,
Yang Gu 2014/03/13 16:06:07 For 1st comment (take android_ndk_sysroot as examp
Torne 2014/03/17 15:28:14 If other architectures define these variables, the
DEFINES+=" android_sdk=\$(PWD)/${android_sdk}"
DEFINES+=" android_sdk_root=\$(PWD)/${android_sdk}"
DEFINES+=" android_sdk_version=sdk_version_unused_in_webview_build"
@@ -68,6 +70,9 @@ for host_os in linux mac; do
if [ "$PLATFORM" == "${host_platform}-x86" -o "$PLATFORM" == "all" ]; then
${GYP} --suffix .${host_platform}-x86 ${EFLAGS} -Dtarget_arch=ia32
fi
+ if [ "$PLATFORM" == "${host_platform}-x86_64" -o "$PLATFORM" == "all" ]; then
+ ${GYP} --suffix .${host_platform}-x86_64 ${EFLAGS} -Dtarget_arch=x64
+ fi
if [ "$PLATFORM" == "${host_platform}-mips" -o "$PLATFORM" == "all" ]; then
${GYP} --suffix .${host_platform}-mips ${EFLAGS} -Dtarget_arch=mipsel
fi
« no previous file with comments | « no previous file | build/common.gypi » ('j') | build/common.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698