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

Unified Diff: ports/lua_ppapi/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/lua5.2/build.sh ('k') | ports/make/build.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ports/lua_ppapi/build.sh
diff --git a/ports/lua_ppapi/build.sh b/ports/lua_ppapi/build.sh
old mode 100755
new mode 100644
index e2ec0d01698318458ef7c4f6d0eb29a5192324f9..b9fcf8a3f01c8fda37e95ab1326f9872be0c02df
--- a/ports/lua_ppapi/build.sh
+++ b/ports/lua_ppapi/build.sh
@@ -3,17 +3,14 @@
# 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
-
+BUILD_DIR=${START_DIR}
BuildStep() {
# The sample is built using the NaCl SDK common.mk system.
# We override $(OUTBASE) to force the build system to put
# all its artifacts in ${NACL_PACKAGES_REPOSITORY} rather
# than alongside the Makefile.
- export OUTBASE=${NACL_PACKAGES_REPOSITORY}/${PACKAGE_DIR}
- export OUTBASE=${NACL_PACKAGES_REPOSITORY}/${PACKAGE_DIR}
+ export OUTBASE=${SRC_DIR}
export NACLPORTS_INCLUDE
export NACLPORTS_PREFIX
export NACL_PACKAGES_PUBLISH
@@ -36,7 +33,6 @@ BuildStep() {
MAKEFLAGS+=" NACL_ARCH=${NACL_ARCH_ALT}"
fi
export MAKEFLAGS
- ChangeDir ${START_DIR}
DefaultBuildStep
}
@@ -46,7 +42,3 @@ PackageInstall() {
BuildStep
InstallStep
}
-
-
-PackageInstall
-exit 0
« no previous file with comments | « ports/lua5.2/build.sh ('k') | ports/make/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698