| OLD | NEW |
| 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 Loading... |
| 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 } |
| OLD | NEW |