| OLD | NEW |
| 1 #!/bin/bash | 1 #!/bin/bash |
| 2 # Copyright (c) 2011 The Native Client Authors. All rights reserved. | 2 # Copyright (c) 2011 The Native Client Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 # | 5 # |
| 6 | 6 |
| 7 # nacl-install-windows-ports-1.sh | 7 # nacl-install-windows-ports-1.sh |
| 8 # | 8 # |
| 9 # usage: nacl-install-windows-ports-1.sh | 9 # usage: nacl-install-windows-ports-1.sh |
| 10 # | 10 # |
| 11 # This script builds the packages for Native Client that are designated to | 11 # This script builds the packages for Native Client that are designated to |
| 12 # the bot named windows-ports-1. | 12 # the bot named windows-ports-1. |
| 13 # | 13 # |
| 14 | 14 |
| 15 source ../bot_common.sh | 15 source ../bot_common.sh |
| 16 | 16 |
| 17 SCRIPT_DIR="$(cd $(dirname $0) && pwd)" | 17 SCRIPT_DIR="$(cd $(dirname $0) && pwd)" |
| 18 cd ${SCRIPT_DIR}/../../.. | 18 cd ${SCRIPT_DIR}/../../.. |
| 19 make clean | 19 make clean |
| 20 | 20 |
| 21 # cairo also builds png, zlib, freetype, fontconfig, expat, and pixman | 21 # cairo also builds png, zlib, freetype, fontconfig, expat, and pixman |
| 22 BuildPackage cairo | 22 BuildPackage cairo |
| 23 BuildPackage agg | 23 BuildPackage agg |
| 24 BuildPackage imagemagick | 24 BuildPackage imagemagick |
| 25 | 25 |
| 26 echo "@@@BUILD_STEP ${NACL_PACKAGES_BITSIZE}-bit Summary@@@" | 26 echo "@@@BUILD_STEP ${NACL_ARCH} Summary@@@" |
| 27 if [[ $RESULT != 0 ]] ; then | 27 if [[ $RESULT != 0 ]] ; then |
| 28 echo "@@@STEP_FAILURE@@@" | 28 echo "@@@STEP_FAILURE@@@" |
| 29 fi | 29 fi |
| 30 | 30 |
| 31 echo -e "$MESSAGES" | 31 echo -e "$MESSAGES" |
| 32 | 32 |
| 33 exit $RESULT | 33 exit $RESULT |
| OLD | NEW |