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

Side by Side Diff: ports/libtommath/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/libtomcrypt/build.sh ('k') | ports/libvorbis/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 7 BUILD_DIR=${SRC_DIR}
10 BuildStep() { 8 MAKE_TARGETS=mtest
11 MAKE_TARGETS=mtest 9 export EXEEXT=${NACL_EXEEXT}
12 export EXEEXT=${NACL_EXEEXT}
13 DefaultBuildStep
14 }
15
16 10
17 #TestStep() { 11 #TestStep() {
18 # To run tests, pipe mtest.nexe output into test.nexe input 12 # To run tests, pipe mtest.nexe output into test.nexe input
19 # mtest/mtest.exe | test.nexe 13 # mtest/mtest.exe | test.nexe
20 # However, this test is setup to run forever, so we don't run 14 # However, this test is setup to run forever, so we don't run
21 # it as part of the build. 15 # it as part of the build.
22 #RunSelLdrCommand mtest/mtest.nexe | RunSelLdrCommand test.nexe 16 #RunSelLdrCommand mtest/mtest.nexe | RunSelLdrCommand test.nexe
23 #} 17 #}
24 18
25
26 InstallStep() { 19 InstallStep() {
27 Banner "Installing" 20 Banner "Installing"
28 # copy libs and headers manually 21 # copy libs and headers manually
29 LogExecute cp *.h ${NACLPORTS_INCLUDE} 22 LogExecute cp *.h ${NACLPORTS_INCLUDE}
30 LogExecute cp *.a ${NACLPORTS_LIBDIR} 23 LogExecute cp *.a ${NACLPORTS_LIBDIR}
31 } 24 }
32
33
34 PackageInstall
35 exit 0
OLDNEW
« no previous file with comments | « ports/libtomcrypt/build.sh ('k') | ports/libvorbis/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698