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

Unified Diff: ports/drod/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/dreadthread/build.sh ('k') | ports/expat/build.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ports/drod/build.sh
diff --git a/ports/drod/build.sh b/ports/drod/build.sh
old mode 100755
new mode 100644
index 706296bc68a2f9d0af3dd0e94fe802c5bbdf0568..9fa4a9d4c8dc804d677a61524b33e096cb2597cc
--- a/ports/drod/build.sh
+++ b/ports/drod/build.sh
@@ -3,13 +3,11 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-source pkg_info
-
PACKAGE_DIR=drod-213fa477000429fb9a5f4a77673394d47cadbfac
-source ../../build_tools/common.sh
-
-export DESTDIR=${PUBLISH_DIR}/.data
EXECUTABLES=custom/bin/drod
+BUILD_DIR=${NACL_PACKAGES_REPOSITORY}/${PACKAGE_DIR}/Caravel/Master/Linux
+MAKE_TARGETS="drod-custom"
+export DESTDIR=${PUBLISH_DIR}/.data
ConfigureStep() {
export CC=${NACLCC}
@@ -23,12 +21,6 @@ ConfigureStep() {
-lvorbis -logg -lfreetype -lSDLmain -ltar -lnacl_io"
}
-BuildStep() {
- ChangeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_DIR}/Caravel/Master/Linux
- export MAKE_TARGETS="drod-custom"
- DefaultBuildStep
-}
-
InstallStep() {
DefaultInstallStep
@@ -47,6 +39,3 @@ InstallStep() {
sed -i.bak 's/x-nacl/x-pnacl/g' ${PUBLISH_DIR}/drod.html
fi
}
-
-PackageInstall
-exit 0
« no previous file with comments | « ports/dreadthread/build.sh ('k') | ports/expat/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698