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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ports/libtomcrypt/build.sh ('k') | ports/libvorbis/build.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ports/libtommath/build.sh
diff --git a/ports/libtommath/build.sh b/ports/libtommath/build.sh
old mode 100755
new mode 100644
index e5a97acc89be3abf65eee98b7bcf3862c6cc6ee8..e9f5f8caa0a3e92171fa3b5904f48b9209da6d3c
--- a/ports/libtommath/build.sh
+++ b/ports/libtommath/build.sh
@@ -3,16 +3,10 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-source pkg_info
-source ../../build_tools/common.sh
-
-
-BuildStep() {
- MAKE_TARGETS=mtest
- export EXEEXT=${NACL_EXEEXT}
- DefaultBuildStep
-}
+BUILD_DIR=${SRC_DIR}
+MAKE_TARGETS=mtest
+export EXEEXT=${NACL_EXEEXT}
#TestStep() {
# To run tests, pipe mtest.nexe output into test.nexe input
@@ -22,14 +16,9 @@ BuildStep() {
#RunSelLdrCommand mtest/mtest.nexe | RunSelLdrCommand test.nexe
#}
-
InstallStep() {
Banner "Installing"
# copy libs and headers manually
LogExecute cp *.h ${NACLPORTS_INCLUDE}
LogExecute cp *.a ${NACLPORTS_LIBDIR}
}
-
-
-PackageInstall
-exit 0
« 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