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

Side by Side Diff: ports/gdb/build.sh

Issue 1417223003: Switch from using 'nacl_main' to 'main' entry point (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@master
Patch Set: Created 5 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
« no previous file with comments | « ports/gcc/nacl.patch ('k') | ports/gdb/nacl.patch » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Native Client Authors. All rights reserved. 1 # Copyright (c) 2012 The Native Client Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 NACLPORTS_LIBS+=" -lncurses ${NACL_CLI_MAIN_LIB} -lm" 5 EnableCliMain
6 NACLPORTS_CPPFLAGS+=" -Dmain=nacl_main" 6 EnableGlibcCompat
7 7
8 EnableGlibcCompat 8 NACLPORTS_LIBS+=" -lncurses -lm"
9 9
10 if [ "${NACL_LIBC}" = "newlib" ]; then 10 if [ "${NACL_LIBC}" = "newlib" ]; then
11 # Since the final link is done with -lnacl_io and not -lglibc-compat 11 # Since the final link is done with -lnacl_io and not -lglibc-compat
12 # we disable getrlimit and setrlimit. TODO(sbc): add these back if/when 12 # we disable getrlimit and setrlimit. TODO(sbc): add these back if/when
13 # nacl_io evolves to include these functions. 13 # nacl_io evolves to include these functions.
14 export ac_cv_func_getrlimit=no 14 export ac_cv_func_getrlimit=no
15 export ac_cv_func_setrlimit=no 15 export ac_cv_func_setrlimit=no
16 fi 16 fi
17 17
18 ConfigureStep() { 18 ConfigureStep() {
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 return 131 return
132 if [[ ${OS_NAME} == Darwin && ${NACL_ARCH} == x86_64 ]]; then 132 if [[ ${OS_NAME} == Darwin && ${NACL_ARCH} == x86_64 ]]; then
133 echo "Skipping gdb/debug tests on unsupported mac + x86_64 configuration." 133 echo "Skipping gdb/debug tests on unsupported mac + x86_64 configuration."
134 elif [[ ${NACL_ARCH} == arm ]]; then 134 elif [[ ${NACL_ARCH} == arm ]]; then
135 echo "Skipping gdb/debug tests on arm for now." 135 echo "Skipping gdb/debug tests on arm for now."
136 else 136 else
137 LogExecute python ${START_DIR}/gdb_test.py -x -vv -a ${NACL_ARCH} 137 LogExecute python ${START_DIR}/gdb_test.py -x -vv -a ${NACL_ARCH}
138 LogExecute python ${START_DIR}/debugger_test.py -x -vv -a ${NACL_ARCH} 138 LogExecute python ${START_DIR}/debugger_test.py -x -vv -a ${NACL_ARCH}
139 fi 139 fi
140 } 140 }
OLDNEW
« no previous file with comments | « ports/gcc/nacl.patch ('k') | ports/gdb/nacl.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698