OLD | NEW |
---|---|
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
11 'target_name': 'net', | 11 'target_name': 'net', |
12 'type': 'static_library', | |
13 'dependencies': [ | 12 'dependencies': [ |
14 '../base/base.gyp:base', | 13 '../base/base.gyp:base', |
15 '../base/base.gyp:base_i18n', | 14 '../base/base.gyp:base_i18n', |
16 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', | 15 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', |
17 '../build/temp_gyp/googleurl.gyp:googleurl', | 16 '../build/temp_gyp/googleurl.gyp:googleurl', |
18 '../crypto/crypto.gyp:crypto', | 17 '../crypto/crypto.gyp:crypto', |
19 '../sdch/sdch.gyp:sdch', | 18 '../sdch/sdch.gyp:sdch', |
20 '../third_party/icu/icu.gyp:icui18n', | 19 '../third_party/icu/icu.gyp:icui18n', |
21 '../third_party/icu/icu.gyp:icuuc', | 20 '../third_party/icu/icu.gyp:icuuc', |
22 '../third_party/zlib/zlib.gyp:zlib', | 21 '../third_party/zlib/zlib.gyp:zlib', |
(...skipping 758 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
781 'third_party/mozilla_security_manager/nsNSSCertificateDB.cpp', | 780 'third_party/mozilla_security_manager/nsNSSCertificateDB.cpp', |
782 'third_party/mozilla_security_manager/nsNSSCertificateDB.h', | 781 'third_party/mozilla_security_manager/nsNSSCertificateDB.h', |
783 'third_party/mozilla_security_manager/nsNSSCertTrust.cpp', | 782 'third_party/mozilla_security_manager/nsNSSCertTrust.cpp', |
784 'third_party/mozilla_security_manager/nsNSSCertTrust.h', | 783 'third_party/mozilla_security_manager/nsNSSCertTrust.h', |
785 'third_party/mozilla_security_manager/nsPKCS12Blob.cpp', | 784 'third_party/mozilla_security_manager/nsPKCS12Blob.cpp', |
786 'third_party/mozilla_security_manager/nsPKCS12Blob.h', | 785 'third_party/mozilla_security_manager/nsPKCS12Blob.h', |
787 ], | 786 ], |
788 }, | 787 }, |
789 ], | 788 ], |
790 [ 'OS == "win"', { | 789 [ 'OS == "win"', { |
790 'type': '<(component)', | |
791 'sources!': [ | 791 'sources!': [ |
792 'http/http_auth_handler_ntlm_portable.cc', | 792 'http/http_auth_handler_ntlm_portable.cc', |
793 'socket/tcp_client_socket_libevent.cc', | 793 'socket/tcp_client_socket_libevent.cc', |
794 'socket/tcp_client_socket_libevent.h', | 794 'socket/tcp_client_socket_libevent.h', |
795 'socket/tcp_server_socket_libevent.cc', | 795 'socket/tcp_server_socket_libevent.cc', |
796 'socket/tcp_server_socket_libevent.h', | 796 'socket/tcp_server_socket_libevent.h', |
797 'udp/udp_socket_libevent.cc', | 797 'udp/udp_socket_libevent.cc', |
798 'udp/udp_socket_libevent.h', | 798 'udp/udp_socket_libevent.h', |
799 ], | 799 ], |
800 'dependencies': [ | 800 'dependencies': [ |
801 '../third_party/nss/nss.gyp:nspr', | 801 '../third_party/nss/nss.gyp:nspr', |
802 '../third_party/nss/nss.gyp:nss', | 802 '../third_party/nss/nss.gyp:nss', |
803 'third_party/nss/ssl.gyp:ssl', | 803 'third_party/nss/ssl.gyp:ssl', |
804 'tld_cleanup', | 804 'tld_cleanup', |
805 ], | 805 ], |
806 }, | 806 }, { # else: OS != "win" |
807 { # else: OS != "win" | 807 'type': 'static_library', |
808 'sources!': [ | 808 'sources!': [ |
809 'base/winsock_init.cc', | 809 'base/winsock_init.cc', |
810 'base/winsock_init.h', | 810 'base/winsock_init.h', |
811 'base/winsock_util.cc', | 811 'base/winsock_util.cc', |
812 'base/winsock_util.h', | 812 'base/winsock_util.h', |
813 'proxy/proxy_resolver_winhttp.cc', | 813 'proxy/proxy_resolver_winhttp.cc', |
814 'proxy/proxy_resolver_winhttp.h', | 814 'proxy/proxy_resolver_winhttp.h', |
815 ], | 815 ], |
816 }, | 816 }, |
817 ], | 817 ], |
818 [ 'OS == "win" and component == "shared_library"', { | |
819 'defines': [ | |
820 'NET_DLL', | |
821 'NET_IMPLEMENTATION', | |
822 ], | |
823 'msvs_disabled_warnings': [ | |
824 4251, | |
wtc
2011/06/29 23:15:50
Would be nice to add a comment to note what this w
rvargas (doing something else)
2011/06/30 00:22:13
Done.
| |
825 ], | |
826 'direct_dependent_settings': { | |
827 'defines': [ | |
828 'NET_DLL', | |
829 ], | |
830 'msvs_disabled_warnings': [ | |
831 4251, | |
832 ], | |
833 }, | |
834 }], | |
818 [ 'OS == "mac"', { | 835 [ 'OS == "mac"', { |
819 'dependencies': [ | 836 'dependencies': [ |
820 '../third_party/nss/nss.gyp:nspr', | 837 '../third_party/nss/nss.gyp:nspr', |
821 '../third_party/nss/nss.gyp:nss', | 838 '../third_party/nss/nss.gyp:nss', |
822 'third_party/nss/ssl.gyp:ssl', | 839 'third_party/nss/ssl.gyp:ssl', |
823 ], | 840 ], |
824 'link_settings': { | 841 'link_settings': { |
825 'libraries': [ | 842 'libraries': [ |
826 '$(SDKROOT)/System/Library/Frameworks/Security.framework', | 843 '$(SDKROOT)/System/Library/Frameworks/Security.framework', |
827 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framew ork', | 844 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framew ork', |
(...skipping 627 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1455 ], | 1472 ], |
1456 }], | 1473 }], |
1457 ], | 1474 ], |
1458 } | 1475 } |
1459 | 1476 |
1460 # Local Variables: | 1477 # Local Variables: |
1461 # tab-width:2 | 1478 # tab-width:2 |
1462 # indent-tabs-mode:nil | 1479 # indent-tabs-mode:nil |
1463 # End: | 1480 # End: |
1464 # vim: set expandtab tabstop=2 shiftwidth=2: | 1481 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |