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

Unified Diff: ports/yajl/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/xaos/build.sh ('k') | ports/zeromq/build.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ports/yajl/build.sh
diff --git a/ports/yajl/build.sh b/ports/yajl/build.sh
old mode 100755
new mode 100644
index caeadb882c274fe8cd83549afbb298800201b96d..de2bea0bd52c188625041ebf9059151f37f57382
--- a/ports/yajl/build.sh
+++ b/ports/yajl/build.sh
@@ -3,20 +3,18 @@
# 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
TestStep() {
Banner "Testing ${PACKAGE_NAME}"
if [ ${NACL_ARCH} == "pnacl" ]; then
local pexe=test/yajl_test
- local script=${NACL_BUILD_DIR}/yajl_test.sh
+ local script=${BUILD_DIR}/yajl_test.sh
TranslateAndWriteSelLdrScript ${pexe} x86-32 ${pexe}.x86-32.nexe ${script}
(cd ../test && ./run_tests.sh ${script})
TranslateAndWriteSelLdrScript ${pexe} x86-64 ${pexe}.x86-64.nexe ${script}
(cd ../test && ./run_tests.sh ${script})
else
- local script=${NACL_BUILD_DIR}/yajl_test.sh
+ local script=${BUILD_DIR}/yajl_test.sh
local nexe=test/yajl_test
WriteSelLdrScript ${script} ${nexe}
@@ -36,7 +34,3 @@ BuildStep() {
echo "Directory: $(pwd)"
make all -j${OS_JOBS}
}
-
-
-PackageInstall
-exit 0
« no previous file with comments | « ports/xaos/build.sh ('k') | ports/zeromq/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698