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

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

Issue 1071783003: Add root certificate bundle to curl package, and improve git default setup. (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@master
Patch Set: Created 5 years, 8 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 | « no previous file | ports/devenv/bashrc » ('j') | ports/devenv/bashrc » ('J')
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 export ac_cv_func_gethostbyname=yes 5 export ac_cv_func_gethostbyname=yes
6 export ac_cv_func_getaddrinfo=no 6 export ac_cv_func_getaddrinfo=no
7 export ac_cv_func_connect=yes 7 export ac_cv_func_connect=yes
8 export LIBS="-lnacl_io -pthread -l${NACL_CXX_LIB}" 8 export LIBS="-lnacl_io -pthread -l${NACL_CXX_LIB}"
9 9
10 if [ "${NACL_LIBC}" = "newlib" ]; then 10 if [ "${NACL_LIBC}" = "newlib" ]; then
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 MakeDir ${PUBLISH_DIR} 60 MakeDir ${PUBLISH_DIR}
61 61
62 local exe=${PUBLISH_DIR}/curl_ppapi_${NACL_ARCH}${NACL_EXEEXT} 62 local exe=${PUBLISH_DIR}/curl_ppapi_${NACL_ARCH}${NACL_EXEEXT}
63 63
64 LogExecute mv src/${EXECUTABLE_DIR}/curl_ppapi${NACL_EXEEXT} ${exe} 64 LogExecute mv src/${EXECUTABLE_DIR}/curl_ppapi${NACL_EXEEXT} ${exe}
65 if [ "${NACL_ARCH}" = "pnacl" ]; then 65 if [ "${NACL_ARCH}" = "pnacl" ]; then
66 LogExecute ${PNACLFINALIZE} ${exe} 66 LogExecute ${PNACLFINALIZE} ${exe}
67 fi 67 fi
68 68
69 pushd ${PUBLISH_DIR} 69 pushd ${PUBLISH_DIR}
70 ${SRC_DIR}/lib/mk-ca-bundle.pl
Sam Clegg 2015/04/08 23:34:59 So we require perl in the build environment? I gu
bradn 2015/04/09 00:07:21 Yep, on the perl. I think we have that a few other
70 LogExecute python ${NACL_SDK_ROOT}/tools/create_nmf.py \ 71 LogExecute python ${NACL_SDK_ROOT}/tools/create_nmf.py \
71 ${PUBLISH_DIR}/curl_ppapi*${NACL_EXEEXT} \ 72 ${PUBLISH_DIR}/curl_ppapi*${NACL_EXEEXT} \
72 -L${DESTDIR_LIB} \ 73 -L${DESTDIR_LIB} \
73 -s . \ 74 -s . \
74 -o curl.nmf 75 -o curl.nmf
75 popd 76 popd
76 77
77 InstallNaClTerm ${PUBLISH_DIR} 78 InstallNaClTerm ${PUBLISH_DIR}
78 LogExecute cp ${START_DIR}/index.html ${PUBLISH_DIR} 79 LogExecute cp ${START_DIR}/index.html ${PUBLISH_DIR}
79 LogExecute cp ${START_DIR}/curl.js ${PUBLISH_DIR} 80 LogExecute cp ${START_DIR}/curl.js ${PUBLISH_DIR}
80 } 81 }
OLDNEW
« no previous file with comments | « no previous file | ports/devenv/bashrc » ('j') | ports/devenv/bashrc » ('J')

Powered by Google App Engine
This is Rietveld 408576698