| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'variables': { | 5 'variables': { |
| 6 'libsctp_target_type%': 'static_library', | 6 'libsctp_target_type%': 'static_library', |
| 7 }, | 7 }, |
| 8 'target_defaults': { | 8 'target_defaults': { |
| 9 'defines': [ | 9 'defines': [ |
| 10 'SCTP_PROCESS_LEVEL_LOCKS', | 10 'SCTP_PROCESS_LEVEL_LOCKS', |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 'usrsctplib/', | 21 'usrsctplib/', |
| 22 'usrsctplib/netinet', | 22 'usrsctplib/netinet', |
| 23 ], | 23 ], |
| 24 }, | 24 }, |
| 25 'conditions': [ | 25 'conditions': [ |
| 26 ['use_openssl==1', { | 26 ['use_openssl==1', { |
| 27 'defines': [ | 27 'defines': [ |
| 28 'SCTP_USE_OPENSSL_SHA1', | 28 'SCTP_USE_OPENSSL_SHA1', |
| 29 ], | 29 ], |
| 30 'dependencies': [ | 30 'dependencies': [ |
| 31 '<(DEPTH)/third_party/openssl/openssl.gyp:openssl', | 31 '<(DEPTH)/third_party/boringssl/boringssl.gyp:boringssl', |
| 32 ], | 32 ], |
| 33 }, | 33 }, |
| 34 { # else use_openssl==0, use NSS. | 34 { # else use_openssl==0, use NSS. |
| 35 'defines' : [ | 35 'defines' : [ |
| 36 'SCTP_USE_NSS_SHA1', | 36 'SCTP_USE_NSS_SHA1', |
| 37 ], | 37 ], |
| 38 'conditions': [ | 38 'conditions': [ |
| 39 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"',
{ | 39 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"',
{ |
| 40 'dependencies': [ # The system.gyp:ssl dependency includes nss | 40 'dependencies': [ # The system.gyp:ssl dependency includes nss |
| 41 '<(DEPTH)/build/linux/system.gyp:ssl', | 41 '<(DEPTH)/build/linux/system.gyp:ssl', |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 'msvs_disabled_warnings': [ 4002, 4013, 4018, 4133, 4267, 4313, 4700 ]
, | 164 'msvs_disabled_warnings': [ 4002, 4013, 4018, 4133, 4267, 4313, 4700 ]
, |
| 165 }, { # OS != "win", | 165 }, { # OS != "win", |
| 166 'defines': [ | 166 'defines': [ |
| 167 'NON_WINDOWS_DEFINE', | 167 'NON_WINDOWS_DEFINE', |
| 168 ], | 168 ], |
| 169 }], | 169 }], |
| 170 ], # conditions | 170 ], # conditions |
| 171 }, # target usrsctp | 171 }, # target usrsctp |
| 172 ], # targets | 172 ], # targets |
| 173 } | 173 } |
| OLD | NEW |