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

Side by Side Diff: ports/leveldb/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/lcms/build.sh ('k') | ports/libav/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
9 BuildStep() { 6 BuildStep() {
10 export TARGET_OS=NaCl 7 export TARGET_OS=NaCl
11 LogExecute make clean 8 LogExecute make clean
12 LogExecute make -j${OS_JOBS} 9 LogExecute make -j${OS_JOBS}
13 LogExecute make -j${OS_JOBS} tests programs 10 LogExecute make -j${OS_JOBS} tests programs
14 } 11 }
15 12
16 InstallStep() { 13 InstallStep() {
17 LogExecute cp libleveldb.a ${NACLPORTS_LIBDIR} 14 LogExecute cp libleveldb.a ${NACLPORTS_LIBDIR}
18 LogExecute cp -r include/leveldb ${NACLPORTS_LIBDIR} 15 LogExecute cp -r include/leveldb ${NACLPORTS_LIBDIR}
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 version_set_test \ 49 version_set_test \
53 write_batch_test" 50 write_batch_test"
54 for test_binary in $TESTS; do 51 for test_binary in $TESTS; do
55 WriteSelLdrScript $test_binary.sh $test_binary 52 WriteSelLdrScript $test_binary.sh $test_binary
56 done 53 done
57 for test_binary in $TESTS; do 54 for test_binary in $TESTS; do
58 echo "***** Running $test_binary.sh"i 55 echo "***** Running $test_binary.sh"i
59 ./$test_binary.sh 56 ./$test_binary.sh
60 done 57 done
61 } 58 }
62
63 PackageInstall
64 exit 0
OLDNEW
« no previous file with comments | « ports/lcms/build.sh ('k') | ports/libav/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698