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

Side by Side Diff: ports/jpeg8d/build.sh

Issue 132343007: Add top level build script for building packages. (Closed) Base URL: https://naclports.googlecode.com/svn/trunk/src
Patch Set: Created 6 years, 11 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 | « ports/jpeg6b/build.sh ('k') | ports/jsoncpp/build.sh » ('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 # 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 source pkg_info
7 source ../../build_tools/common.sh
8 6
9 if [ ${NACL_GLIBC} = "1" ]; then 7 if [ ${NACL_GLIBC} = "1" ]; then
10 EXECUTABLES="rdjpgcom${NACL_EXEEXT} wrjpgcom${NACL_EXEEXT} \ 8 EXECUTABLES="rdjpgcom${NACL_EXEEXT} wrjpgcom${NACL_EXEEXT} \
11 .libs/cjpeg${NACL_EXEEXT} .libs/djpeg${NACL_EXEEXT} \ 9 .libs/cjpeg${NACL_EXEEXT} .libs/djpeg${NACL_EXEEXT} \
12 .libs/jpegtran${NACL_EXEEXT}" 10 .libs/jpegtran${NACL_EXEEXT}"
13 else 11 else
14 EXECUTABLES="rdjpgcom${NACL_EXEEXT} wrjpgcom${NACL_EXEEXT} \ 12 EXECUTABLES="rdjpgcom${NACL_EXEEXT} wrjpgcom${NACL_EXEEXT} \
15 cjpeg${NACL_EXEEXT} djpeg${NACL_EXEEXT} jpegtran${NACL_EXEEXT}" 13 cjpeg${NACL_EXEEXT} djpeg${NACL_EXEEXT} jpegtran${NACL_EXEEXT}"
16 fi 14 fi
17 15
(...skipping 12 matching lines...) Expand all
30 if [ ${NACL_GLIBC} = "1" ]; then 28 if [ ${NACL_GLIBC} = "1" ]; then
31 local script=$(basename ${exe%.*}) 29 local script=$(basename ${exe%.*})
32 else 30 else
33 local script=${exe%.*} 31 local script=${exe%.*}
34 fi 32 fi
35 WriteSelLdrScript ${script} ${exe} 33 WriteSelLdrScript ${script} ${exe}
36 done 34 done
37 make test 35 make test
38 fi 36 fi
39 } 37 }
40
41 DefaultPackageInstall
42 exit 0
OLDNEW
« no previous file with comments | « ports/jpeg6b/build.sh ('k') | ports/jsoncpp/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698