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

Side by Side Diff: build-nacl.sh

Issue 14694016: [NaCl] Add support for building using glibc toolchain. (Closed) Base URL: git@github.com:sbc100/cocos2d-x.git@nacl_changes2
Patch Set: Created 7 years, 7 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 unified diff | Download patch
« no previous file with comments | « no previous file | cocos2dx/proj.nacl/cocos2dx.mk » ('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 # Build script to build all components for Native Client. 2 # Build script to build all components for Native Client.
3 # 3 #
4 # By default this script will only build debug versions. 4 # By default this script will only build debug versions.
5 # Pass "all" as an argument to build clean and also build 5 # Pass "all" as an argument to build clean and also build
6 # release config. 6 # release config.
7 # 7 #
8 # Before running this script you need to set NACL_SDK_ROOT 8 # Before running this script you need to set NACL_SDK_ROOT
9 # and add the NaCl compiler bin folder to your path. 9 # and add the NaCl compiler bin folder to your path.
10 # 10 #
(...skipping 21 matching lines...) Expand all
32 mkdir -p $OUTPUT_RELEASE 32 mkdir -p $OUTPUT_RELEASE
33 33
34 export MAKEFLAGS="-j10 PLATFORM=nacl" 34 export MAKEFLAGS="-j10 PLATFORM=nacl"
35 35
36 if [ "$1" = "clean" ]; then 36 if [ "$1" = "clean" ]; then
37 make DEBUG=1 clean 37 make DEBUG=1 clean
38 make DEBUG=0 clean 38 make DEBUG=0 clean
39 exit 0 39 exit 0
40 fi 40 fi
41 41
42 make NACL_ARCH=x86_64 DEBUG=1 all 42 make NACL_ARCH=x86_64 DEBUG=1 $*
43 make NACL_ARCH=x86_64 DEBUG=0 all 43 make NACL_ARCH=x86_64 DEBUG=0 $*
44 44
45 make NACL_ARCH=i686 DEBUG=1 all 45 make NACL_ARCH=i686 DEBUG=1 $*
46 make NACL_ARCH=i686 DEBUG=0 all 46 make NACL_ARCH=i686 DEBUG=0 $*
47 47
48 make NACL_ARCH=arm DEBUG=1 all 48 if [ "${NACL_GLIBC:-}" != "1" ]; then
49 make NACL_ARCH=arm DEBUG=0 all 49 make NACL_ARCH=arm DEBUG=1 $*
50 make NACL_ARCH=arm DEBUG=0 $*
51 fi
OLDNEW
« no previous file with comments | « no previous file | cocos2dx/proj.nacl/cocos2dx.mk » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698