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

Side by Side Diff: ports/git/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/geturl/Makefile ('k') | ports/grep/nacl.patch » ('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 EXECUTABLES="git git-remote-http" 5 EXECUTABLES="git git-remote-http"
6 6
7 BUILD_DIR=${SRC_DIR} 7 BUILD_DIR=${SRC_DIR}
8 export EXTLIBS+="${NACL_CLI_MAIN_LIB} \ 8 export EXTLIBS+="${NACL_CLI_MAIN_LIB} \
9 -lppapi_simple -lnacl_spawn -lnacl_io -lppapi -lppapi_cpp -l${NACL_CPP_LIB}" 9 -lppapi_simple -lnacl_io -lppapi -lppapi_cpp -l${NACL_CPP_LIB}"
10 10
11 if [ "${NACL_SHARED}" != "1" ]; then 11 if [ "${NACL_SHARED}" != "1" ]; then
12 # These are needed so that the configure can detect libcurl when statically 12 # These are needed so that the configure can detect libcurl when statically
13 # linked. 13 # linked.
14 export LIBS="-lcurl -lssl -lcrypto -lz" 14 export LIBS="-lcurl -lssl -lcrypto -lz"
15 EXTLIBS+=" -lglibc-compat" 15 EXTLIBS+=" -lglibc-compat"
16 fi 16 fi
17 17
18 if [ ${OS_NAME} = "Darwin" ]; then 18 if [ ${OS_NAME} = "Darwin" ]; then
19 # gettext (msgfmt) doesn't exist on darwin by default. homebrew installs 19 # gettext (msgfmt) doesn't exist on darwin by default. homebrew installs
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 DefaultBuildStep 52 DefaultBuildStep
53 } 53 }
54 54
55 InstallStep() { 55 InstallStep() {
56 return 56 return
57 } 57 }
58 58
59 PublishStep() { 59 PublishStep() {
60 PublishByArchForDevEnv 60 PublishByArchForDevEnv
61 } 61 }
OLDNEW
« no previous file with comments | « ports/geturl/Makefile ('k') | ports/grep/nacl.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698