| Index: net/net.gyp
|
| diff --git a/net/net.gyp b/net/net.gyp
|
| index 31afc1747f8095f28be821bc1bd7798e4237c12f..abfd10333dafbb8ab9f847add434aaf6bcd5876c 100644
|
| --- a/net/net.gyp
|
| +++ b/net/net.gyp
|
| @@ -9,7 +9,6 @@
|
| 'targets': [
|
| {
|
| 'target_name': 'net',
|
| - 'type': '<(component)',
|
| 'dependencies': [
|
| '../base/base.gyp:base',
|
| '../base/base.gyp:base_i18n',
|
| @@ -794,6 +793,7 @@
|
| },
|
| ],
|
| [ 'OS == "win"', {
|
| + 'type': '<(component)',
|
| 'sources!': [
|
| 'http/http_auth_handler_ntlm_portable.cc',
|
| 'socket/tcp_client_socket_libevent.cc',
|
| @@ -810,6 +810,7 @@
|
| 'tld_cleanup',
|
| ],
|
| }, { # else: OS != "win"
|
| + 'type': 'static_library',
|
| 'sources!': [
|
| 'base/winsock_init.cc',
|
| 'base/winsock_init.h',
|
| @@ -820,7 +821,7 @@
|
| ],
|
| },
|
| ],
|
| - [ 'component == "shared_library"', {
|
| + [ 'OS == "win" and component == "shared_library"', {
|
| 'defines': [
|
| 'NET_IMPLEMENTATION',
|
| ],
|
|
|