| 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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 ], | 155 ], |
| 156 'defines!': [ | 156 'defines!': [ |
| 157 # Remove Chrome's WINVER defines to avoid redefinition warnings. | 157 # Remove Chrome's WINVER defines to avoid redefinition warnings. |
| 158 'WINVER=0x0603', | 158 'WINVER=0x0603', |
| 159 '_WIN32_WINNT=0x0603', | 159 '_WIN32_WINNT=0x0603', |
| 160 ], | 160 ], |
| 161 'cflags!': [ '/W3', '/WX' ], | 161 'cflags!': [ '/W3', '/WX' ], |
| 162 'cflags': [ '/w' ], | 162 'cflags': [ '/w' ], |
| 163 # TODO(ldixon) : Remove this disabling of warnings by pushing a | 163 # TODO(ldixon) : Remove this disabling of warnings by pushing a |
| 164 # fix upstream to usrsctp | 164 # fix upstream to usrsctp |
| 165 'msvs_disabled_warnings': [ 4002, 4013, 4018, 4133, 4267, 4313, 4700 ]
, | 165 'msvs_disabled_warnings': [ 4002, 4013, 4133, 4267, 4313, 4700 ], |
| 166 }, { # OS != "win", | 166 }, { # OS != "win", |
| 167 'defines': [ | 167 'defines': [ |
| 168 'NON_WINDOWS_DEFINE', | 168 'NON_WINDOWS_DEFINE', |
| 169 ], | 169 ], |
| 170 }], | 170 }], |
| 171 ], # conditions | 171 ], # conditions |
| 172 }, # target usrsctp | 172 }, # target usrsctp |
| 173 ], # targets | 173 ], # targets |
| 174 } | 174 } |
| OLD | NEW |