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

Side by Side Diff: native_client_sdk/src/gonacl_appengine/src/smoothlife/build.sh

Issue 58573003: [NaCl SDK] Update SmoothLife demo to the most recent version. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | native_client_sdk/src/gonacl_appengine/static/pnacl-demo-smoothlife/example.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 set -o nounset 6 set -o nounset
7 set -o errexit 7 set -o errexit
8 8
9 SCRIPT_DIR="$(cd $(dirname $0) && pwd)" 9 SCRIPT_DIR="$(cd $(dirname $0) && pwd)"
10 cd ${SCRIPT_DIR} 10 cd ${SCRIPT_DIR}
11 11
12 OUT_DIR=out 12 OUT_DIR=out
13 SMOOTHLIFE_URL=https://github.com/binji/smoothnacl 13 SMOOTHLIFE_URL=https://github.com/binji/smoothnacl
14 SMOOTHLIFE_DIR=${OUT_DIR}/smoothlife 14 SMOOTHLIFE_DIR=${OUT_DIR}/smoothlife
15 SMOOTHLIFE_SHA=63f115f2393aa629aab1403948cbfb28acc54360 15 SMOOTHLIFE_SHA=11f22815f48a7f3044ed72a673d0e05cae343481
16 16
17 if [ -z "${NACL_SDK_ROOT:-}" ]; then 17 if [ -z "${NACL_SDK_ROOT:-}" ]; then
18 echo "-------------------------------------------------------------------" 18 echo "-------------------------------------------------------------------"
19 echo "NACL_SDK_ROOT is unset." 19 echo "NACL_SDK_ROOT is unset."
20 echo "This environment variable needs to be pointed at some version of" 20 echo "This environment variable needs to be pointed at some version of"
21 echo "the Native Client SDK (the directory containing toolchain/)." 21 echo "the Native Client SDK (the directory containing toolchain/)."
22 echo "NOTE: set this to an absolute path." 22 echo "NOTE: set this to an absolute path."
23 echo "-------------------------------------------------------------------" 23 echo "-------------------------------------------------------------------"
24 exit -1 24 exit -1
25 fi 25 fi
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 LogExecute make ports 74 LogExecute make ports
75 75
76 Banner Building smoothlife 76 Banner Building smoothlife
77 LogExecute make TOOLCHAIN=pnacl CONFIG=Release -j${OS_JOBS} 77 LogExecute make TOOLCHAIN=pnacl CONFIG=Release -j${OS_JOBS}
78 78
79 popd 79 popd
80 80
81 LogExecute cp ${SMOOTHLIFE_DIR}/pnacl/Release/smoothnacl.{pexe,nmf} ${OUT_DIR} 81 LogExecute cp ${SMOOTHLIFE_DIR}/pnacl/Release/smoothnacl.{pexe,nmf} ${OUT_DIR}
82 82
83 Banner Done! 83 Banner Done!
OLDNEW
« no previous file with comments | « no previous file | native_client_sdk/src/gonacl_appengine/static/pnacl-demo-smoothlife/example.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698