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

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

Issue 907563002: Simplify cli_main (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « ports/tcl/build.sh ('k') | ports/toybox/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) 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 SCHEME="small" 5 SCHEME="small"
6 6
7 NACLPORTS_CFLAGS+=" -I${NACLPORTS_INCLUDE}" 7 NACLPORTS_CFLAGS+=" -I${NACLPORTS_INCLUDE}"
8 NACLPORTS_CXXFLAGS+=" -I${NACLPORTS_INCLUDE}" 8 NACLPORTS_CXXFLAGS+=" -I${NACLPORTS_INCLUDE}"
9 9
10 EXTRA_CONFIGURE_ARGS="--disable-native-texlive-build \ 10 EXTRA_CONFIGURE_ARGS="--disable-native-texlive-build \
11 --enable-cxx-runtime-hack \ 11 --enable-cxx-runtime-hack \
12 --disable-ipc \ 12 --disable-ipc \
13 --disable-lcdf-typetools \ 13 --disable-lcdf-typetools \
14 --disable-luajittex \ 14 --disable-luajittex \
15 --disable-mktexmf-default \ 15 --disable-mktexmf-default \
16 --disable-mktexpk-default \ 16 --disable-mktexpk-default \
17 --disable-mktextfm-default \ 17 --disable-mktextfm-default \
18 --disable-mkocp-default \ 18 --disable-mkocp-default \
19 --disable-mktexfmt-default \ 19 --disable-mktexfmt-default \
20 --disable-dependency-tracking \ 20 --disable-dependency-tracking \
21 --disable-linked-scripts \ 21 --disable-linked-scripts \
22 --disable-shared \ 22 --disable-shared \
23 --disable-largefile \ 23 --disable-largefile \
24 --with-banner-add=/NaCl \ 24 --with-banner-add=/NaCl \
25 --without-x" 25 --without-x"
26 26
27 export EXTRA_LIBS="${NACL_CLI_MAIN_LIB} -ltar -lppapi_simple -lnacl_spawn \ 27 export EXTRA_LIBS="${NACL_CLI_MAIN_LIB} -ltar -lppapi_simple \
28 -lnacl_io -lppapi -lppapi_cpp -l${NACL_CPP_LIB}" 28 -lnacl_io -lppapi -lppapi_cpp -l${NACL_CPP_LIB}"
29 29
30 if [ "${NACL_LIBC}" = "newlib" ]; then 30 if [ "${NACL_LIBC}" = "newlib" ]; then
31 NACLPORTS_CFLAGS+=" -I${NACLPORTS_INCLUDE}/glibc-compat" 31 NACLPORTS_CFLAGS+=" -I${NACLPORTS_INCLUDE}/glibc-compat"
32 NACLPORTS_CXXFLAGS+=" -I${NACLPORTS_INCLUDE}/glibc-compat" 32 NACLPORTS_CXXFLAGS+=" -I${NACLPORTS_INCLUDE}/glibc-compat"
33 export LIBS="-lglibc-compat" 33 export LIBS="-lglibc-compat"
34 fi 34 fi
35 35
36 ConfigureStep() { 36 ConfigureStep() {
37 # TODO(phosek): we should be able to run reautoconf at this point, but 37 # TODO(phosek): we should be able to run reautoconf at this point, but
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 popd 130 popd
131 fi 131 fi
132 fi 132 fi
133 done 133 done
134 done 134 done
135 135
136 ChangeDir ${ARCH_DIR} 136 ChangeDir ${ARCH_DIR}
137 LogExecute rm -f ${ARCH_DIR}.zip 137 LogExecute rm -f ${ARCH_DIR}.zip
138 LogExecute zip -r ${ARCH_DIR}.zip . 138 LogExecute zip -r ${ARCH_DIR}.zip .
139 } 139 }
OLDNEW
« no previous file with comments | « ports/tcl/build.sh ('k') | ports/toybox/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698