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

Side by Side Diff: ports/gimp/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/gforth/build.sh ('k') | ports/git/build.sh » ('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) 2015 The Native Client Authors. All rights reserved. 1 # Copyright (c) 2015 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 ConfigureStep() { 5 ConfigureStep() {
6 EXTRA_CONFIGURE_ARGS+=" --disable-python --without-dbus --without-webkit" 6 EXTRA_CONFIGURE_ARGS+=" --disable-python --without-dbus --without-webkit"
7 EXTRA_CONFIGURE_ARGS+=" --with-gnu-ld" 7 EXTRA_CONFIGURE_ARGS+=" --with-gnu-ld"
8 NACLPORTS_CPPFLAGS+=" -Dmain=nacl_main" 8 EnableCliMain
9 NACLPORTS_LDFLAGS+=" ${NACL_CLI_MAIN_LIB}"
10
11 DefaultConfigureStep 9 DefaultConfigureStep
12 } 10 }
13 11
14 PublishStep() { 12 PublishStep() {
15 MakeDir ${PUBLISH_DIR} 13 MakeDir ${PUBLISH_DIR}
16 local APP_DIR="${PUBLISH_DIR}/${NACL_ARCH}" 14 local APP_DIR="${PUBLISH_DIR}/${NACL_ARCH}"
17 local TAR_ROOT="${APP_DIR}/root" 15 local TAR_ROOT="${APP_DIR}/root"
18 MakeDir ${TAR_ROOT} 16 MakeDir ${TAR_ROOT}
19 MakeDir ${APP_DIR} 17 MakeDir ${APP_DIR}
20 ChangeDir ${APP_DIR} 18 ChangeDir ${APP_DIR}
(...skipping 18 matching lines...) Expand all
39 ./naclports-dummydir/etc 37 ./naclports-dummydir/etc
40 LogExecute cp -rf ${INSTALL_DIR}/naclports-dummydir/share/*\ 38 LogExecute cp -rf ${INSTALL_DIR}/naclports-dummydir/share/*\
41 ./naclports-dummydir/share 39 ./naclports-dummydir/share
42 LogExecute rm -Rf ./naclports-dummydir/share/man 40 LogExecute rm -Rf ./naclports-dummydir/share/man
43 41
44 LogExecute tar -cvf gimp.tar * 42 LogExecute tar -cvf gimp.tar *
45 LogExecute cp gimp.tar ${APP_DIR}/gimp.tar 43 LogExecute cp gimp.tar ${APP_DIR}/gimp.tar
46 shasum ${APP_DIR}/gimp.tar > ${APP_DIR}/gimp.tar.hash 44 shasum ${APP_DIR}/gimp.tar > ${APP_DIR}/gimp.tar.hash
47 LogExecute rm -rf ${TAR_ROOT} 45 LogExecute rm -rf ${TAR_ROOT}
48 } 46 }
OLDNEW
« no previous file with comments | « ports/gforth/build.sh ('k') | ports/git/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698