Initial the websocket implementation.
Not yet running on other threads, but can read/write to a websocket from a browser.
This commit is contained in:
2
third_party/gflags.gypi
vendored
2
third_party/gflags.gypi
vendored
@@ -3,7 +3,7 @@
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'gflags',
|
||||
'type': 'static_library',
|
||||
'type': '<(library)',
|
||||
|
||||
'direct_dependent_settings': {
|
||||
'conditions': [
|
||||
|
||||
1
third_party/openssl
vendored
Submodule
1
third_party/openssl
vendored
Submodule
Submodule third_party/openssl added at d1b1f821ba
2
third_party/sparsehash.gypi
vendored
2
third_party/sparsehash.gypi
vendored
@@ -3,7 +3,7 @@
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'sparsehash',
|
||||
'type': 'static_library',
|
||||
'type': '<(library)',
|
||||
|
||||
'direct_dependent_settings': {
|
||||
'include_dirs': [
|
||||
|
||||
1
third_party/wslay
vendored
Submodule
1
third_party/wslay
vendored
Submodule
Submodule third_party/wslay added at d2caaf13db
52
third_party/wslay.gypi
vendored
Normal file
52
third_party/wslay.gypi
vendored
Normal file
@@ -0,0 +1,52 @@
|
||||
# Copyright 2013 Ben Vanik. All Rights Reserved.
|
||||
{
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'wslay',
|
||||
'type': '<(library)',
|
||||
|
||||
'direct_dependent_settings': {
|
||||
'include_dirs': [
|
||||
'wslay/lib/includes/',
|
||||
],
|
||||
|
||||
'defines': [
|
||||
'WSLAY_VERSION=1',
|
||||
],
|
||||
|
||||
# libraries: ws2_32 on windows
|
||||
},
|
||||
|
||||
'defines': [
|
||||
'WSLAY_VERSION="1"',
|
||||
],
|
||||
|
||||
'conditions': [
|
||||
['OS != "win"', {
|
||||
'defines': [
|
||||
'HAVE_ARPA_INET_H=1',
|
||||
'HAVE_NETINET_IN_H=1',
|
||||
],
|
||||
}],
|
||||
['OS == "win"', {
|
||||
'defines': [
|
||||
'HAVE_WINSOCK2_H=1',
|
||||
],
|
||||
}],
|
||||
],
|
||||
|
||||
'include_dirs': [
|
||||
'wslay/lib/',
|
||||
'wslay/lib/includes/',
|
||||
],
|
||||
|
||||
'sources': [
|
||||
'wslay/lib/wslay_event.c',
|
||||
'wslay/lib/wslay_frame.c',
|
||||
'wslay/lib/wslay_net.c',
|
||||
'wslay/lib/wslay_queue.c',
|
||||
'wslay/lib/wslay_stack.c',
|
||||
],
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user