Skip to content
This repository was archived by the owner on Oct 25, 2024. It is now read-only.

Commit 05f9ac7

Browse files
committed
Update target name and add new line
1 parent 995aa87 commit 05f9ac7

File tree

8 files changed

+9
-10
lines changed

8 files changed

+9
-10
lines changed

build-gn.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ index c2f0a78..7927d78 100644
2727
}
2828

2929
if (!is_ios) {
30-
+ shared_library("testquic") {
30+
+ shared_library("rawquic") {
3131
+ sources = [
3232
+ "tools/quic/raw/wrapper/quic_raw_lib.cc",
3333
+ "tools/quic/raw/wrapper/quic_raw_lib.h",

example/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ CXX ?= "g++"
33
all: echo_client echo_server
44
echo_client: QuicEchoClient.cc
55
$(CXX) -std=c++11 -I../src/wrapper -c -o QuicEchoClient.o QuicEchoClient.cc && \
6-
$(CXX) -o echo_client QuicEchoClient.o -L/home/user/work/quic/qlib -ltestquic
6+
$(CXX) -o echo_client QuicEchoClient.o -L../lib -lrawquic
77
echo_server: QuicEchoServer.cc
88
$(CXX) -std=c++11 -I../src/wrapper -c -o QuicEchoServer.o QuicEchoServer.cc && \
9-
$(CXX) -o echo_server QuicEchoServer.o -L/home/user/work/quic/qlib -ltestquic
9+
$(CXX) -o echo_server QuicEchoServer.o -L../lib -lrawquic
1010
clean:
1111
rm *.o echo_*

src/quic_raw_client_session.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,5 +179,4 @@ void QuicRawClientSession::OnCryptoHandshakeEvent(
179179
QuicSession::OnCryptoHandshakeEvent(event);
180180
}
181181

182-
183-
} // namespace quic
182+
} // namespace quic

src/quic_raw_client_session.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,4 +105,4 @@ class QuicRawClientSession
105105

106106
} // namespace quic
107107

108-
#endif // NET_TOOLS_QUIC_RAW_QUIC_RAW_CLIENT_SESSION_H_
108+
#endif // NET_TOOLS_QUIC_RAW_QUIC_RAW_CLIENT_SESSION_H_

src/quic_raw_server_session.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,4 +220,4 @@ bool QuicRawServerSession::ShouldBufferIncomingStream(QuicStreamId id) const {
220220
return false;
221221
}
222222

223-
} // namespace quic
223+
} // namespace quic

src/quic_raw_server_session.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,4 +133,4 @@ class QUIC_EXPORT_PRIVATE QuicRawServerSession
133133

134134
} // namespace quic
135135

136-
#endif // QUICHE_QUIC_CORE_HTTP_QUIC_SPDY_SESSION_H_
136+
#endif // QUICHE_QUIC_CORE_HTTP_QUIC_SPDY_SESSION_H_

src/wrapper/quic_raw_lib.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,4 +494,4 @@ RQuicServerInterface* RQuicFactory::createQuicServer(const char* cert_file, cons
494494
return server;
495495
}
496496

497-
} //namespace net
497+
} //namespace net

src/wrapper/quic_raw_lib.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@ class RQuicFactory {
5454

5555
} // namespace net
5656

57-
#endif
57+
#endif

0 commit comments

Comments
 (0)