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

Side by Side 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: Refine patch based on upstream change 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 unified diff | Download patch
« no previous file with comments | « no previous file | build/common.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 2
3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 # This script runs gyp with the configuration required to build WebView in the 7 # This script runs gyp with the configuration required to build WebView in the
8 # Android build system. It is not necessary to source build/android/envsetup.sh 8 # Android build system. It is not necessary to source build/android/envsetup.sh
9 # before running this script. 9 # before running this script.
10 10
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 '${ANDROID_BUILD_TOP}')") 61 '${ANDROID_BUILD_TOP}')")
62 EFLAGS=\ 62 EFLAGS=\
63 "${FLAGS} -Dhost_os=${host_os} -Dandroid_sdk_tools=\$(PWD)/${android_sdk_tools}" 63 "${FLAGS} -Dhost_os=${host_os} -Dandroid_sdk_tools=\$(PWD)/${android_sdk_tools}"
64 64
65 if [ "$PLATFORM" == "${host_platform}-arm" -o "$PLATFORM" == "all" ]; then 65 if [ "$PLATFORM" == "${host_platform}-arm" -o "$PLATFORM" == "all" ]; then
66 ${GYP} --suffix .${host_platform}-arm ${EFLAGS} -Dtarget_arch=arm 66 ${GYP} --suffix .${host_platform}-arm ${EFLAGS} -Dtarget_arch=arm
67 fi 67 fi
68 if [ "$PLATFORM" == "${host_platform}-x86" -o "$PLATFORM" == "all" ]; then 68 if [ "$PLATFORM" == "${host_platform}-x86" -o "$PLATFORM" == "all" ]; then
69 ${GYP} --suffix .${host_platform}-x86 ${EFLAGS} -Dtarget_arch=ia32 69 ${GYP} --suffix .${host_platform}-x86 ${EFLAGS} -Dtarget_arch=ia32
70 fi 70 fi
71 if [ "$PLATFORM" == "${host_platform}-x86_64" -o "$PLATFORM" == "all" ]; then
72 ${GYP} --suffix .${host_platform}-x86_64 ${EFLAGS} -Dtarget_arch=x64
73 fi
71 if [ "$PLATFORM" == "${host_platform}-mips" -o "$PLATFORM" == "all" ]; then 74 if [ "$PLATFORM" == "${host_platform}-mips" -o "$PLATFORM" == "all" ]; then
72 ${GYP} --suffix .${host_platform}-mips ${EFLAGS} -Dtarget_arch=mipsel 75 ${GYP} --suffix .${host_platform}-mips ${EFLAGS} -Dtarget_arch=mipsel
73 fi 76 fi
74 done 77 done
OLDNEW
« no previous file with comments | « no previous file | build/common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698