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 |