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

Unified Diff: examples/games/nethack/nacl-nethack.sh

Issue 14172016: Enable glibc shared library support for zlib. (Closed) Base URL: https://naclports.googlecode.com/svn/trunk/src
Patch Set: Created 7 years, 8 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 | « build_tools/common.sh ('k') | examples/games/snes9x/nacl-snes9x.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/games/nethack/nacl-nethack.sh
diff --git a/examples/games/nethack/nacl-nethack.sh b/examples/games/nethack/nacl-nethack.sh
index 1d4ca3f93b806213689b7284eadc1f5e5918953b..229a4da45ef5b4cadf7d7ff5aab52f5e8227d201 100755
--- a/examples/games/nethack/nacl-nethack.sh
+++ b/examples/games/nethack/nacl-nethack.sh
@@ -2,21 +2,13 @@
# Copyright (c) 2012 The Native Client Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-#
-
-# nacl-nethack-343.sh
-#
-# usage: nacl-nethack-343.sh
-#
-# this script downloads, patches, and builds nethack for Native Client
-#
source pkg_info
source ../../../build_tools/common.sh
-
set -x
+EXECUTABLES=src/nethack
CustomBuildStep() {
Banner "Building ${PACKAGE_NAME}"
@@ -79,18 +71,18 @@ CustomBuildStep() {
cp ${START_DIR}/icon_128.png ${ASSEMBLY_DIR}
ChangeDir ${PUBLISH_DIR}
zip -r nethack-3.4.3.zip nethack
+ ChangeDir ${PACKAGE_DIR}
}
+
CustomPackageInstall() {
DefaultPreInstallStep
DefaultDownloadStep
DefaultExtractStep
DefaultPatchStep
CustomBuildStep
- if [ ${NACL_ARCH} = "pnacl" ] ; then
- # NOTE: nethack does not use a build subdir
- DefaultTranslateStep ${PACKAGE_NAME} src/nethack
- fi
+ DefaultTranslateStep
+ DefaultValidateStep
DefaultTouchStep
DefaultCleanUpStep
}
« no previous file with comments | « build_tools/common.sh ('k') | examples/games/snes9x/nacl-snes9x.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698