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

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

Issue 1285953002: Switch devenv to use pkg packages (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@toolchain_install
Patch Set: Created 5 years, 4 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/tree/build.sh ('k') | ports/xeyes/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) 2014 The Native Client Authors. All rights reserved. 1 # Copyright (c) 2014 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 EXECUTABLES="twm${NACL_EXEEXT}" 5 EXECUTABLES="twm${NACL_EXEEXT}"
6 NACLPORTS_CPPFLAGS+=" -Dmain=nacl_main" 6 NACLPORTS_CPPFLAGS+=" -Dmain=nacl_main"
7 7
8 export LIBS="\ 8 export LIBS="\
9 -lXext -lXmu -lSM -lICE -lXt -lX11 -lxcb -lXau ${NACL_CLI_MAIN_LIB}" 9 -lXext -lXmu -lSM -lICE -lXt -lX11 -lxcb -lXau ${NACL_CLI_MAIN_LIB}"
10 10
(...skipping 18 matching lines...) Expand all
29 LogExecute flex ${SRC_DIR}/lex.l 29 LogExecute flex ${SRC_DIR}/lex.l
30 LogExecute bison --defines=gram.h ${SRC_DIR}/gram.y 30 LogExecute bison --defines=gram.h ${SRC_DIR}/gram.y
31 SetupCrossEnvironment 31 SetupCrossEnvironment
32 LogExecute ${CC} ${CPPFLAGS} ${CFLAGS} -o twm ${SRC_DIR}/*.c *.c -I. \ 32 LogExecute ${CC} ${CPPFLAGS} ${CFLAGS} -o twm ${SRC_DIR}/*.c *.c -I. \
33 -I${SRC_DIR} ${LDFLAGS} ${LIBS} 33 -I${SRC_DIR} ${LDFLAGS} ${LIBS}
34 LogExecute ${CC} ${CPPFLAGS} ${CFLAGS} -o twm${NACL_EXEEXT} ${SRC_DIR}/*.c\ 34 LogExecute ${CC} ${CPPFLAGS} ${CFLAGS} -o twm${NACL_EXEEXT} ${SRC_DIR}/*.c\
35 *.c -I. -I${SRC_DIR} ${LDFLAGS} ${LIBS} 35 *.c -I. -I${SRC_DIR} ${LDFLAGS} ${LIBS}
36 } 36 }
37 37
38 InstallStep() { 38 InstallStep() {
39 return 39 MakeDir ${DESTDIR_BIN}
40 LogExecute cp -f ${BUILD_DIR}/twm${NACL_EXEEXT} ${DESTDIR_BIN}/twm
40 } 41 }
41 42
42 PublishStep() { 43 PublishStep() {
43 PublishByArchForDevEnv 44 MakeDir ${PUBLISH_DIR}
44 ChangeDir ${PUBLISH_DIR} 45 ChangeDir ${PUBLISH_DIR}
45 LogExecute cp -f ${BUILD_DIR}/twm${NACL_EXEEXT} twm_${NACL_ARCH}${NACL_EXEEXT} 46 LogExecute cp -f ${BUILD_DIR}/twm${NACL_EXEEXT} twm_${NACL_ARCH}${NACL_EXEEXT}
46 LogExecute python ${NACL_SDK_ROOT}/tools/create_nmf.py\ 47 LogExecute python ${NACL_SDK_ROOT}/tools/create_nmf.py\
47 twm_*${NACL_EXEEXT} -s . -o twm.nmf 48 twm_*${NACL_EXEEXT} -s . -o twm.nmf
48 LogExecute python ${TOOLS_DIR}/create_term.py -n twm twm.nmf 49 LogExecute python ${TOOLS_DIR}/create_term.py -n twm twm.nmf
49 InstallNaClTerm . 50 InstallNaClTerm .
50 LogExecute cp -f ${START_DIR}/*.js . 51 LogExecute cp -f ${START_DIR}/*.js .
51 } 52 }
OLDNEW
« no previous file with comments | « ports/tree/build.sh ('k') | ports/xeyes/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698