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

Side by Side Diff: ports/nano/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/nacl-spawn/nacl_spawn_test.cc ('k') | ports/netcat/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) 2013 The Native Client Authors. All rights reserved. 1 # Copyright (c) 2013 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" 5 NACLPORTS_LIBS+=" -lncurses"
6 EXECUTABLES=src/nano${NACL_EXEEXT} 6 EXECUTABLES=src/nano${NACL_EXEEXT}
7 7
8 EnableGlibcCompat 8 EnableGlibcCompat
9 9 EnableCliMain
10 NACLPORTS_LIBS+=" ${NACL_CLI_MAIN_LIB}"
11 NACLPORTS_CPPFLAGS+=" -Dmain=nacl_main"
12 10
13 if [ "${NACL_LIBC}" = "newlib" ]; then 11 if [ "${NACL_LIBC}" = "newlib" ]; then
14 EXTRA_CONFIGURE_ARGS="--enable-tiny" 12 EXTRA_CONFIGURE_ARGS="--enable-tiny"
15 fi 13 fi
16 14
17 InstallStep() { 15 InstallStep() {
18 DefaultInstallStep 16 DefaultInstallStep
19 # The nano build results in a dangling symlink (symlink doesn't honor the 17 # The nano build results in a dangling symlink (symlink doesn't honor the
20 # EXEEXT). We don't care about rnano anyway, so just remove it. 18 # EXEEXT). We don't care about rnano anyway, so just remove it.
21 LogExecute rm ${DESTDIR}${PREFIX}/bin/rnano 19 LogExecute rm ${DESTDIR}${PREFIX}/bin/rnano
(...skipping 22 matching lines...) Expand all
44 42
45 InstallNaClTerm ${PUBLISH_DIR} 43 InstallNaClTerm ${PUBLISH_DIR}
46 44
47 GenerateManifest ${START_DIR}/manifest.json ${PUBLISH_DIR} 45 GenerateManifest ${START_DIR}/manifest.json ${PUBLISH_DIR}
48 LogExecute cp ${START_DIR}/icon_16.png ${PUBLISH_DIR} 46 LogExecute cp ${START_DIR}/icon_16.png ${PUBLISH_DIR}
49 LogExecute cp ${START_DIR}/icon_48.png ${PUBLISH_DIR} 47 LogExecute cp ${START_DIR}/icon_48.png ${PUBLISH_DIR}
50 LogExecute cp ${START_DIR}/icon_128.png ${PUBLISH_DIR} 48 LogExecute cp ${START_DIR}/icon_128.png ${PUBLISH_DIR}
51 ChangeDir ${PUBLISH_DIR} 49 ChangeDir ${PUBLISH_DIR}
52 CreateWebStoreZip nano-${VERSION}.zip . 50 CreateWebStoreZip nano-${VERSION}.zip .
53 } 51 }
OLDNEW
« no previous file with comments | « ports/nacl-spawn/nacl_spawn_test.cc ('k') | ports/netcat/nacl.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698