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

Unified Diff: ports/nacl-spawn/build.sh

Issue 627103003: Add shared library version of libcli_main Base URL: https://chromium.googlesource.com/external/naclports.git@master
Patch Set: Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ports/nacl-spawn/bsd_spawn.h ('k') | ports/nacl-spawn/elf_reader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ports/nacl-spawn/build.sh
diff --git a/ports/nacl-spawn/build.sh b/ports/nacl-spawn/build.sh
index 703cc808bc3eb3493b05114a8d26dc072026b162..7b238649b9cfaf2fb005eeab01ffa3a5ced56e28 100644
--- a/ports/nacl-spawn/build.sh
+++ b/ports/nacl-spawn/build.sh
@@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-NACLPORTS_CPPFLAGS+=" -I ${START_DIR}"
+NACLPORTS_CPPFLAGS+=" -I${START_DIR}/include -Wall -Werror"
ConfigureStep() {
MakeDir ${BUILD_DIR}
@@ -15,6 +15,7 @@ BuildStep() {
NACLPORTS_CFLAGS+=" -fPIC"
NACLPORTS_CXXFLAGS+=" -fPIC"
MAKE_TARGETS+=" libnacl_spawn.so"
+ MAKE_TARGETS+=" libcli_main.so"
fi
if [ "${NACL_LIBC}" = "glibc" ]; then
@@ -35,12 +36,13 @@ InstallStep() {
LogExecute cp libnacl_spawn.a ${DESTDIR_LIB}
if [ "${NACL_LIBC}" = "glibc" -o "${NACL_LIBC}" = "bionic" ]; then
LogExecute cp libnacl_spawn.so ${DESTDIR_LIB}
+ LogExecute cp libcli_main.so ${DESTDIR_LIB}
fi
LogExecute cp libcli_main.a ${DESTDIR_LIB}
MakeDir ${DESTDIR_INCLUDE}
- LogExecute cp -f ${START_DIR}/spawn.h ${DESTDIR_INCLUDE}/
- LogExecute cp -f ${START_DIR}/nacl_main.h ${DESTDIR_INCLUDE}/
+ LogExecute cp -f ${START_DIR}/include/spawn.h ${DESTDIR_INCLUDE}/
+ LogExecute cp -f ${START_DIR}/include/nacl_main.h ${DESTDIR_INCLUDE}/
if [ $TOOLCHAIN = bionic ]; then
- LogExecute cp -f ${START_DIR}/bsd_spawn.h ${DESTDIR_INCLUDE}/
+ LogExecute cp -f ${START_DIR}/include/bsd_spawn.h ${DESTDIR_INCLUDE}/
fi
}
« no previous file with comments | « ports/nacl-spawn/bsd_spawn.h ('k') | ports/nacl-spawn/elf_reader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698