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

Side by Side Diff: ports/lua5.1/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 src/luac" 6 EXECUTABLES="src/lua src/luac"
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 17 matching lines...) Expand all
28 InstallStep() { 28 InstallStep() {
29 LogExecute make "CC=${NACLCC}" "PLAT=generic" \ 29 LogExecute make "CC=${NACLCC}" "PLAT=generic" \
30 "INSTALL_TOP=${DESTDIR}/${PREFIX}" install 30 "INSTALL_TOP=${DESTDIR}/${PREFIX}" install
31 ChangeDir src 31 ChangeDir src
32 if [ "${NACL_ARCH}" = pnacl ]; then 32 if [ "${NACL_ARCH}" = pnacl ]; then
33 # Just do the x86-64 version for now. 33 # Just do the x86-64 version for now.
34 TranslateAndWriteLauncherScript lua x86-64 lua.x86-64.nexe lua.sh 34 TranslateAndWriteLauncherScript lua x86-64 lua.x86-64.nexe lua.sh
35 TranslateAndWriteLauncherScript luac x86-64 luac.x86-64.nexe luac.sh 35 TranslateAndWriteLauncherScript luac x86-64 luac.x86-64.nexe luac.sh
36 fi 36 fi
37 } 37 }
38
39 PublishStep() {
40 PublishByArchForDevEnv
41 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698