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

Side by Side Diff: native_client_sdk/src/build_tools/nacl-mono-runtime.sh

Issue 23576014: NaCl: Update revision in DEPS, r12098 -> r12120 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 | Annotate | Revision Log
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 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 if [[ $# -ne 3 ]]; then 9 if [[ $# -ne 3 ]]; then
10 echo "Usage: $0 [path_to_mono] [build_dir] [install_dir]" 10 echo "Usage: $0 [path_to_mono] [build_dir] [install_dir]"
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 -D__ARM_ARCH_7__ \ 68 -D__ARM_ARCH_7__ \
69 -Dtimezone=_timezone \ 69 -Dtimezone=_timezone \
70 -DDISABLE_SOCKETS \ 70 -DDISABLE_SOCKETS \
71 -DDISABLE_ATTACH \ 71 -DDISABLE_ATTACH \
72 " 72 "
73 readonly CUSTOM_LDFLAGS="" 73 readonly CUSTOM_LDFLAGS=""
74 ;; 74 ;;
75 arm-pnacl) 75 arm-pnacl)
76 readonly USE_PNACL=1 76 readonly USE_PNACL=1
77 readonly USE_NEWLIB=1 77 readonly USE_NEWLIB=1
78 readonly TC_FLAVOUR=linux_x86_pnacl/newlib 78 readonly TC_FLAVOUR=linux_pnacl/newlib
79 readonly NACL_CROSS_PREFIX_DASH=pnacl- 79 readonly NACL_CROSS_PREFIX_DASH=pnacl-
80 readonly PNACL_LINK_ARGS="-arch armv7 -O2" 80 readonly PNACL_LINK_ARGS="-arch armv7 -O2"
81 CONFIG_OPTS="--host=armv7l-unknown-linux-gnueabi \ 81 CONFIG_OPTS="--host=armv7l-unknown-linux-gnueabi \
82 --build=x86_64-pc-linux-gnu \ 82 --build=x86_64-pc-linux-gnu \
83 --target=armv7l-unknown-linux-gnueabi \ 83 --target=armv7l-unknown-linux-gnueabi \
84 --with-jumptables=yes" 84 --with-jumptables=yes"
85 readonly LIBDIR=libarm 85 readonly LIBDIR=libarm
86 # TODO(olonho): move it to Mono's configure, once nacl target implemented. 86 # TODO(olonho): move it to Mono's configure, once nacl target implemented.
87 CUSTOM_CFLAGS="\ 87 CUSTOM_CFLAGS="\
88 -D__arm__ \ 88 -D__arm__ \
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 --with-static-mono=no 183 --with-static-mono=no
184 184
185 if [ ${USE_NEWLIB} == 1 ]; then 185 if [ ${USE_NEWLIB} == 1 ]; then
186 # Newlib build doesn't support building shared libs, and unfortunately, this 186 # Newlib build doesn't support building shared libs, and unfortunately, this
187 # leads to libmonoruntime.la no being built as well, unless we'll do that 187 # leads to libmonoruntime.la no being built as well, unless we'll do that
188 # explicitly. 188 # explicitly.
189 make ${JOBS} -C mono/metadata libmonoruntime.la 189 make ${JOBS} -C mono/metadata libmonoruntime.la
190 fi 190 fi
191 make ${JOBS} 191 make ${JOBS}
192 make ${JOBS} install 192 make ${JOBS} install
OLDNEW
« no previous file with comments | « native_client_sdk/src/build_tools/build_sdk.py ('k') | native_client_sdk/src/build_tools/sdk_files.list » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698