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

Unified Diff: libraries/nacl-mounts/nacl-nacl-mounts.sh

Issue 10392070: Socket subsystem implementation (Closed) Base URL: http://naclports.googlecode.com/svn/trunk/src/
Patch Set: Created 8 years, 7 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
Index: libraries/nacl-mounts/nacl-nacl-mounts.sh
===================================================================
--- libraries/nacl-mounts/nacl-nacl-mounts.sh (revision 594)
+++ libraries/nacl-mounts/nacl-nacl-mounts.sh (working copy)
@@ -60,6 +60,9 @@
ChangeDir ${PACKAGE_DIR}
set -x
export CXXCMD="${NACLCC} -I${START_DIR}"
+ ${CXXCMD} -c ${START_DIR}/net/TcpSocket.cc
+ ${CXXCMD} -c ${START_DIR}/net/TcpServerSocket.cc
+ ${CXXCMD} -c ${START_DIR}/net/SocketSubSystem.cc
${CXXCMD} -c ${START_DIR}/buffer/BufferMount.cc
${CXXCMD} -c ${START_DIR}/http2/HTTP2Mount.cc
${CXXCMD} -c ${START_DIR}/http2/HTTP2FSOpenJob.cc
@@ -118,6 +121,9 @@
ConsoleMount.o \
JSPipeMount.o \
JSPostMessageBridge.o \
+ TcpSocket.o \
+ TcpServerSocket.o \
+ SocketSubSystem.o \
BufferMount.o
${NACLRANLIB} libnacl-mounts.a
@@ -132,20 +138,20 @@
cp ${START_DIR}/console/console.js ${NACL_SDK_USR_LIB}/nacl-mounts
cp ${START_DIR}/http2/genfs.py ${NACL_SDK_USR_LIB}/nacl-mounts/util
- # GLibC toolcahin has termio.h so don't copy stub header.
+ # GLibC toolchain has termio.h so don't copy stub header.
if [[ $NACL_GLIBC == 0 ]]; then
cp ${START_DIR}/console/termio.h ${NACL_SDK_USR_INCLUDE}
fi
mkdir -p ${NACL_SDK_USR_INCLUDE}/nacl-mounts
- for DIR in console base util memory http2 AppEngine pepper buffer; do
+ for DIR in console base util memory net http2 AppEngine pepper buffer; do
mkdir -p ${NACL_SDK_USR_INCLUDE}/nacl-mounts/${DIR}
cp ${START_DIR}/${DIR}/*.h ${NACL_SDK_USR_INCLUDE}/nacl-mounts/${DIR}
done
}
CustomPackageInstall() {
- RunTests
+# RunTests
DefaultPreInstallStep
CustomBuildStep
CustomInstallStep

Powered by Google App Engine
This is Rietveld 408576698