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

Unified Diff: ports/SDL/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/Regal/build.sh ('k') | ports/SDL_image/build.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ports/SDL/build.sh
diff --git a/ports/SDL/build.sh b/ports/SDL/build.sh
old mode 100755
new mode 100644
index ef36b4f47caae59701849bf12d4b590a44e5dd0f..27f5efd5ff0a8c89d1cc8ed521f629b4a709bd86
--- a/ports/SDL/build.sh
+++ b/ports/SDL/build.sh
@@ -3,8 +3,6 @@
# 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
AutogenStep() {
ChangeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME}
@@ -43,9 +41,9 @@ ConfigureTests() {
conf_host="nacl"
fi
- ChangeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME}
- MakeDir ${NACL_BUILD_SUBDIR}-test
- ChangeDir ${NACL_BUILD_SUBDIR}-test
+ BUILD_DIR=${BUILD_DIR}-test
+ MakeDir ${BUILD_DIR}
+ ChangeDir ${BUILD_DIR}
LIBS="$LDFLAGS" LogExecute ../test/configure \
--host=${conf_host} \
@@ -82,8 +80,8 @@ ConfigureStep() {
conf_host="nacl-pnacl"
fi
- MakeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME}/${NACL_BUILD_SUBDIR}
- ChangeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME}/${NACL_BUILD_SUBDIR}
+ MakeDir ${BUILD_DIR}
+ ChangeDir ${BUILD_DIR}
LogExecute ../configure \
--host=${conf_host} \
@@ -128,7 +126,3 @@ PackageInstall() {
BuildStep
PublishStep
}
-
-
-PackageInstall
-exit 0
« no previous file with comments | « ports/Regal/build.sh ('k') | ports/SDL_image/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698