OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 'includes': [ | 6 'includes': [ |
7 'boringssl.gypi', | 7 'boringssl.gypi', |
8 ], | 8 ], |
| 9 'target_defaults': { |
| 10 'conditions': [ |
| 11 ['os_posix == 1', { |
| 12 'cflags_c': [ '-std=c99' ], |
| 13 'defines': [ '_XOPEN_SOURCE=700' ], |
| 14 }], |
| 15 ], |
| 16 }, |
9 'targets': [ | 17 'targets': [ |
10 { | 18 { |
11 'target_name': 'boringssl_nacl_win64', | 19 'target_name': 'boringssl_nacl_win64', |
12 'type': '<(component)', | 20 'type': '<(component)', |
13 'sources': [ | 21 'sources': [ |
14 '<@(boringssl_crypto_sources)', | 22 '<@(boringssl_crypto_sources)', |
15 ], | 23 ], |
16 'defines': [ | 24 'defines': [ |
17 'BORINGSSL_IMPLEMENTATION', | 25 'BORINGSSL_IMPLEMENTATION', |
18 'BORINGSSL_NO_STATIC_INITIALIZER', | 26 'BORINGSSL_NO_STATIC_INITIALIZER', |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 }], | 194 }], |
187 ['msan == 1 or (target_arch != "arm" and target_arch != "ia32" and targe
t_arch != "x64" and target_arch != "arm64")', { | 195 ['msan == 1 or (target_arch != "arm" and target_arch != "ia32" and targe
t_arch != "x64" and target_arch != "arm64")', { |
188 'direct_dependent_settings': { | 196 'direct_dependent_settings': { |
189 'defines': [ 'OPENSSL_NO_ASM' ], | 197 'defines': [ 'OPENSSL_NO_ASM' ], |
190 }, | 198 }, |
191 }], | 199 }], |
192 ], | 200 ], |
193 }, | 201 }, |
194 ], | 202 ], |
195 } | 203 } |
OLD | NEW |