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

Side by Side Diff: ports/lua5.2/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
OLDNEW
1 # Copyright (c) 2011 The Native Client Authors. All rights reserved. 1 # Copyright (c) 2011 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 BUILD_DIR=${SRC_DIR} 5 BUILD_DIR=${SRC_DIR}
6 EXECUTABLES="src/lua${NACL_EXEEXT} src/luac${NACL_EXEEXT}" 6 EXECUTABLES="src/lua${NACL_EXEEXT} src/luac${NACL_EXEEXT}"
7 7
8 NACLPORTS_CPPFLAGS+=" -Dmain=nacl_main" 8 NACLPORTS_CPPFLAGS+=" -Dmain=nacl_main"
9 NACLPORTS_LDFLAGS+=" ${NACL_CLI_MAIN_LIB}" 9 NACLPORTS_LDFLAGS+=" ${NACL_CLI_MAIN_LIB}"
10 10
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 LogExecute tar zxf ${NACL_PACKAGES_CACHE}/${TEST_FILE} 58 LogExecute tar zxf ${NACL_PACKAGES_CACHE}/${TEST_FILE}
59 ChangeDir lua-5.2.2-tests 59 ChangeDir lua-5.2.2-tests
60 LogExecute patch -p1 < ${START_DIR}/lua_tests.patch 60 LogExecute patch -p1 < ${START_DIR}/lua_tests.patch
61 LogExecute ../src/lua -e"_U=true" all.lua 61 LogExecute ../src/lua -e"_U=true" all.lua
62 } 62 }
63 63
64 InstallStep() { 64 InstallStep() {
65 LogExecute make PLAT=${PLAT} EXEEXT=${NACL_EXEEXT} \ 65 LogExecute make PLAT=${PLAT} EXEEXT=${NACL_EXEEXT} \
66 INSTALL_TOP=${DESTDIR}/${PREFIX} install 66 INSTALL_TOP=${DESTDIR}/${PREFIX} install
67 } 67 }
68
69 PublishStep() {
70 PublishByArchForDevEnv
71 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698