diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/net.gyp | 244 |
1 files changed, 122 insertions, 122 deletions
diff --git a/net/net.gyp b/net/net.gyp index a3516d9..2ffb237 100644 --- a/net/net.gyp +++ b/net/net.gyp @@ -1764,129 +1764,129 @@ }, ], }], - ['os_posix == 1 and OS != "mac" and OS != "android"', { - 'targets': [ - { - 'target_name': 'flip_in_mem_edsm_server', - 'type': 'executable', - 'cflags': [ - '-Wno-deprecated', - ], - 'dependencies': [ - '../base/base.gyp:base', - 'net', - '../third_party/openssl/openssl.gyp:openssl', - ], - 'sources': [ - 'tools/dump_cache/url_to_filename_encoder.cc', - 'tools/dump_cache/url_to_filename_encoder.h', - 'tools/dump_cache/url_utilities.h', - 'tools/dump_cache/url_utilities.cc', + ['os_posix == 1 and OS != "mac" and OS != "android"', { + 'targets': [ + { + 'target_name': 'flip_in_mem_edsm_server', + 'type': 'executable', + 'cflags': [ + '-Wno-deprecated', + ], + 'dependencies': [ + '../base/base.gyp:base', + 'net', + '../third_party/openssl/openssl.gyp:openssl', + ], + 'sources': [ + 'tools/dump_cache/url_to_filename_encoder.cc', + 'tools/dump_cache/url_to_filename_encoder.h', + 'tools/dump_cache/url_utilities.h', + 'tools/dump_cache/url_utilities.cc', - 'tools/flip_server/acceptor_thread.h', - 'tools/flip_server/acceptor_thread.cc', - 'tools/flip_server/balsa_enums.h', - 'tools/flip_server/balsa_frame.cc', - 'tools/flip_server/balsa_frame.h', - 'tools/flip_server/balsa_headers.cc', - 'tools/flip_server/balsa_headers.h', - 'tools/flip_server/balsa_headers_token_utils.cc', - 'tools/flip_server/balsa_headers_token_utils.h', - 'tools/flip_server/balsa_visitor_interface.h', - 'tools/flip_server/buffer_interface.h', - 'tools/flip_server/constants.h', - 'tools/flip_server/create_listener.cc', - 'tools/flip_server/create_listener.h', - 'tools/flip_server/epoll_server.cc', - 'tools/flip_server/epoll_server.h', - 'tools/flip_server/flip_config.cc', - 'tools/flip_server/flip_config.h', - 'tools/flip_server/flip_in_mem_edsm_server.cc', - 'tools/flip_server/http_interface.cc', - 'tools/flip_server/http_interface.h', - 'tools/flip_server/http_message_constants.cc', - 'tools/flip_server/http_message_constants.h', - 'tools/flip_server/loadtime_measurement.h', - 'tools/flip_server/mem_cache.h', - 'tools/flip_server/mem_cache.cc', - 'tools/flip_server/output_ordering.cc', - 'tools/flip_server/output_ordering.h', - 'tools/flip_server/ring_buffer.cc', - 'tools/flip_server/ring_buffer.h', - 'tools/flip_server/simple_buffer.cc', - 'tools/flip_server/simple_buffer.h', - 'tools/flip_server/sm_connection.cc', - 'tools/flip_server/sm_connection.h', - 'tools/flip_server/sm_interface.h', - 'tools/flip_server/split.h', - 'tools/flip_server/split.cc', - 'tools/flip_server/spdy_ssl.cc', - 'tools/flip_server/spdy_ssl.h', - 'tools/flip_server/spdy_interface.cc', - 'tools/flip_server/spdy_interface.h', - 'tools/flip_server/spdy_util.cc', - 'tools/flip_server/spdy_util.h', - 'tools/flip_server/streamer_interface.cc', - 'tools/flip_server/streamer_interface.h', - 'tools/flip_server/string_piece_utils.h', - ], - }, - { - 'target_name': 'curvecp', - 'type': 'static_library', - 'variables': { 'enable_wexit_time_destructors': 1, }, - 'dependencies': [ - '../base/base.gyp:base', - 'net', - ], - 'sources': [ - 'curvecp/circular_buffer.cc', - 'curvecp/circular_buffer.h', - 'curvecp/client_packetizer.cc', - 'curvecp/client_packetizer.h', - 'curvecp/connection_key.cc', - 'curvecp/connection_key.h', - 'curvecp/curvecp_client_socket.cc', - 'curvecp/curvecp_client_socket.h', - 'curvecp/curvecp_server_socket.cc', - 'curvecp/curvecp_server_socket.h', - 'curvecp/messenger.h', - 'curvecp/messenger.cc', - 'curvecp/packetizer.h', - 'curvecp/protocol.cc', - 'curvecp/protocol.h', - 'curvecp/received_block_list.cc', - 'curvecp/received_block_list.h', - 'curvecp/rtt_and_send_rate_calculator.cc', - 'curvecp/rtt_and_send_rate_calculator.h', - 'curvecp/sent_block_list.cc', - 'curvecp/sent_block_list.h', - 'curvecp/server_messenger.cc', - 'curvecp/server_messenger.h', - 'curvecp/server_packetizer.cc', - 'curvecp/server_packetizer.h', - ], - }, - { - 'target_name': 'curvecp_unittests', - 'type': 'executable', - 'dependencies': [ - '../base/base.gyp:base', - 'curvecp', - 'net', - 'net_test_support', - '../testing/gmock.gyp:gmock', - '../testing/gtest.gyp:gtest', - '../third_party/zlib/zlib.gyp:zlib', - ], - 'sources': [ - 'curvecp/curvecp_transfer_unittest.cc', - 'curvecp/test_client.cc', - 'curvecp/test_server.cc', - ], - }, - ] - }], + 'tools/flip_server/acceptor_thread.h', + 'tools/flip_server/acceptor_thread.cc', + 'tools/flip_server/balsa_enums.h', + 'tools/flip_server/balsa_frame.cc', + 'tools/flip_server/balsa_frame.h', + 'tools/flip_server/balsa_headers.cc', + 'tools/flip_server/balsa_headers.h', + 'tools/flip_server/balsa_headers_token_utils.cc', + 'tools/flip_server/balsa_headers_token_utils.h', + 'tools/flip_server/balsa_visitor_interface.h', + 'tools/flip_server/buffer_interface.h', + 'tools/flip_server/constants.h', + 'tools/flip_server/create_listener.cc', + 'tools/flip_server/create_listener.h', + 'tools/flip_server/epoll_server.cc', + 'tools/flip_server/epoll_server.h', + 'tools/flip_server/flip_config.cc', + 'tools/flip_server/flip_config.h', + 'tools/flip_server/flip_in_mem_edsm_server.cc', + 'tools/flip_server/http_interface.cc', + 'tools/flip_server/http_interface.h', + 'tools/flip_server/http_message_constants.cc', + 'tools/flip_server/http_message_constants.h', + 'tools/flip_server/loadtime_measurement.h', + 'tools/flip_server/mem_cache.h', + 'tools/flip_server/mem_cache.cc', + 'tools/flip_server/output_ordering.cc', + 'tools/flip_server/output_ordering.h', + 'tools/flip_server/ring_buffer.cc', + 'tools/flip_server/ring_buffer.h', + 'tools/flip_server/simple_buffer.cc', + 'tools/flip_server/simple_buffer.h', + 'tools/flip_server/sm_connection.cc', + 'tools/flip_server/sm_connection.h', + 'tools/flip_server/sm_interface.h', + 'tools/flip_server/split.h', + 'tools/flip_server/split.cc', + 'tools/flip_server/spdy_ssl.cc', + 'tools/flip_server/spdy_ssl.h', + 'tools/flip_server/spdy_interface.cc', + 'tools/flip_server/spdy_interface.h', + 'tools/flip_server/spdy_util.cc', + 'tools/flip_server/spdy_util.h', + 'tools/flip_server/streamer_interface.cc', + 'tools/flip_server/streamer_interface.h', + 'tools/flip_server/string_piece_utils.h', + ], + }, + { + 'target_name': 'curvecp', + 'type': 'static_library', + 'variables': { 'enable_wexit_time_destructors': 1, }, + 'dependencies': [ + '../base/base.gyp:base', + 'net', + ], + 'sources': [ + 'curvecp/circular_buffer.cc', + 'curvecp/circular_buffer.h', + 'curvecp/client_packetizer.cc', + 'curvecp/client_packetizer.h', + 'curvecp/connection_key.cc', + 'curvecp/connection_key.h', + 'curvecp/curvecp_client_socket.cc', + 'curvecp/curvecp_client_socket.h', + 'curvecp/curvecp_server_socket.cc', + 'curvecp/curvecp_server_socket.h', + 'curvecp/messenger.h', + 'curvecp/messenger.cc', + 'curvecp/packetizer.h', + 'curvecp/protocol.cc', + 'curvecp/protocol.h', + 'curvecp/received_block_list.cc', + 'curvecp/received_block_list.h', + 'curvecp/rtt_and_send_rate_calculator.cc', + 'curvecp/rtt_and_send_rate_calculator.h', + 'curvecp/sent_block_list.cc', + 'curvecp/sent_block_list.h', + 'curvecp/server_messenger.cc', + 'curvecp/server_messenger.h', + 'curvecp/server_packetizer.cc', + 'curvecp/server_packetizer.h', + ], + }, + { + 'target_name': 'curvecp_unittests', + 'type': 'executable', + 'dependencies': [ + '../base/base.gyp:base', + 'curvecp', + 'net', + 'net_test_support', + '../testing/gmock.gyp:gmock', + '../testing/gtest.gyp:gtest', + '../third_party/zlib/zlib.gyp:zlib', + ], + 'sources': [ + 'curvecp/curvecp_transfer_unittest.cc', + 'curvecp/test_client.cc', + 'curvecp/test_server.cc', + ], + }, + ] + }], ['OS=="android"', { 'targets': [ { |