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

Side by Side Diff: ports/libsodium/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/libpng/build.sh ('k') | ports/libtar/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 EXTRA_CONFIGURE_ARGS="--disable-pie --disable-shared" 7 EXTRA_CONFIGURE_ARGS="--disable-pie --disable-shared"
10 8
11 RunTest() { 9 RunTest() {
12 naclport_test/crypto_box_test 10 naclport_test/crypto_box_test
13 } 11 }
14 12
15 TestStep() { 13 TestStep() {
16 Banner "Testing ${PACKAGE_NAME}" 14 Banner "Testing ${PACKAGE_NAME}"
17 MakeDir naclport_test/lib 15 MakeDir naclport_test/lib
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 TranslateAndWriteSelLdrScript ${pexe} x86-64 crypto_box_test.x86-64${EXT} c rypto_box_test) 50 TranslateAndWriteSelLdrScript ${pexe} x86-64 crypto_box_test.x86-64${EXT} c rypto_box_test)
53 RunTest 51 RunTest
54 echo "Tests OK" 52 echo "Tests OK"
55 # skip running tests on arm 53 # skip running tests on arm
56 elif [ `uname -m` == "${NACL_ARCH_ALT}" ]; then 54 elif [ `uname -m` == "${NACL_ARCH_ALT}" ]; then
57 WriteSelLdrScript naclport_test/crypto_box_test crypto_box_test${EXT} 55 WriteSelLdrScript naclport_test/crypto_box_test crypto_box_test${EXT}
58 RunTest 56 RunTest
59 echo "Tests OK" 57 echo "Tests OK"
60 fi 58 fi
61 } 59 }
62
63 PackageInstall
64 exit 0
OLDNEW
« no previous file with comments | « ports/libpng/build.sh ('k') | ports/libtar/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698