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

Side by Side Diff: runtime/embedders/openglui/build_skia.sh

Issue 14791003: Fix Android build. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | 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 function usage { 3 function usage {
4 echo "usage: $0 [ --help ] [ --android ] [ --arm | --x86] [ --debug ] [--clean ] [<Dart directory>]" 4 echo "usage: $0 [ --help ] [ --android ] [ --arm | --x86] [ --debug ] [--clean ] [<Dart directory>]"
5 echo 5 echo
6 echo "Sync up Skia and build" 6 echo "Sync up Skia and build"
7 echo 7 echo
8 echo " --android: Build for Android" 8 echo " --android: Build for Android"
9 echo " --x86 : Build for Intel" 9 echo " --x86 : Build for Intel"
10 echo " --arm : Cross-compile for ARM (implies --android)" 10 echo " --arm : Cross-compile for ARM (implies --android)"
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 gclient sync 65 gclient sync
66 66
67 export ANDROID_SDK_ROOT=`readlink -f ../android_tools/sdk` 67 export ANDROID_SDK_ROOT=`readlink -f ../android_tools/sdk`
68 68
69 cd trunk 69 cd trunk
70 70
71 echo "Using SDK ${ANDROID_SDK_ROOT}" 71 echo "Using SDK ${ANDROID_SDK_ROOT}"
72 if [ ${CLEAN} != 0 ] ; then 72 if [ ${CLEAN} != 0 ] ; then
73 ../android/bin/android_make -d $TARGET_ARCH -j clean 73 ../android/bin/android_make -d $TARGET_ARCH -j clean
74 else 74 else
75 env -i BUILDTYPE=$BUILD ANDROID_SDK_ROOT="${ANDROID_SDK_ROOT}" ../android/bi n/android_make BUILDTYPE=$BUILD -d $TARGET_ARCH -j --debug=j 75 env -i BUILDTYPE=$BUILD ANDROID_SDK_ROOT="${ANDROID_SDK_ROOT}" PATH="${PATH} :${DART_DIR}/third_party/gsutil" ../android/bin/android_make BUILDTYPE=$BUILD -d $TARGET_ARCH -j --debug=j
76 fi 76 fi
77 77
78 else 78 else
79 79
80 echo "Building for desktop in `pwd`" 80 echo "Building for desktop in `pwd`"
81 # Desktop build. Requires svn client and Python. 81 # Desktop build. Requires svn client and Python.
82 82
83 # Note that on Linux these packages should be installed first: 83 # Note that on Linux these packages should be installed first:
84 # 84 #
85 # libfreetype6 85 # libfreetype6
(...skipping 15 matching lines...) Expand all
101 fi 101 fi
102 cd .. 102 cd ..
103 103
104 fi 104 fi
105 105
106 popd 106 popd
107 # TODO(gram) We should really propogate the make exit code here. 107 # TODO(gram) We should really propogate the make exit code here.
108 exit 0 108 exit 0
109 109
110 110
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698