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 'targets': [ | 9 'targets': [ |
10 { | 10 { |
| 11 'target_name': 'boringssl_nacl_win64', |
| 12 'type': '<(component)', |
| 13 'sources': [ |
| 14 '<@(boringssl_crypto_sources)', |
| 15 ], |
| 16 'defines': [ |
| 17 'BORINGSSL_IMPLEMENTATION', |
| 18 'BORINGSSL_NO_STATIC_INITIALIZER', |
| 19 'OPENSSL_NO_ASM', |
| 20 'OPENSSL_SMALL', |
| 21 ], |
| 22 'configurations': { |
| 23 'Common_Base': { |
| 24 'msvs_target_platform': 'x64', |
| 25 }, |
| 26 }, |
| 27 # TODO(davidben): Fix size_t truncations in BoringSSL. |
| 28 # https://crbug.com/429039 |
| 29 'msvs_disabled_warnings': [ 4267, ], |
| 30 'conditions': [ |
| 31 ['component == "shared_library"', { |
| 32 'defines': [ |
| 33 'BORINGSSL_SHARED_LIBRARY', |
| 34 ], |
| 35 }], |
| 36 ], |
| 37 'include_dirs': [ |
| 38 'src/include', |
| 39 ], |
| 40 'direct_dependent_settings': { |
| 41 'include_dirs': [ |
| 42 'src/include', |
| 43 ], |
| 44 'conditions': [ |
| 45 ['component == "shared_library"', { |
| 46 'defines': [ |
| 47 'BORINGSSL_SHARED_LIBRARY', |
| 48 ], |
| 49 }], |
| 50 ], |
| 51 }, |
| 52 }, |
| 53 { |
11 'target_name': 'boringssl', | 54 'target_name': 'boringssl', |
12 'type': '<(component)', | 55 'type': '<(component)', |
13 'sources': [ | 56 'sources': [ |
14 '<@(boringssl_crypto_sources)', | 57 '<@(boringssl_crypto_sources)', |
15 '<@(boringssl_ssl_sources)', | 58 '<@(boringssl_ssl_sources)', |
16 ], | 59 ], |
17 'defines': [ | 60 'defines': [ |
18 'BORINGSSL_IMPLEMENTATION', | 61 'BORINGSSL_IMPLEMENTATION', |
19 'BORINGSSL_NO_STATIC_INITIALIZER', | 62 'BORINGSSL_NO_STATIC_INITIALIZER', |
20 'OPENSSL_SMALL', | 63 'OPENSSL_SMALL', |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 }], | 186 }], |
144 ['msan == 1 or (target_arch != "arm" and target_arch != "ia32" and targe
t_arch != "x64" and target_arch != "arm64")', { | 187 ['msan == 1 or (target_arch != "arm" and target_arch != "ia32" and targe
t_arch != "x64" and target_arch != "arm64")', { |
145 'direct_dependent_settings': { | 188 'direct_dependent_settings': { |
146 'defines': [ 'OPENSSL_NO_ASM' ], | 189 'defines': [ 'OPENSSL_NO_ASM' ], |
147 }, | 190 }, |
148 }], | 191 }], |
149 ], | 192 ], |
150 }, | 193 }, |
151 ], | 194 ], |
152 } | 195 } |
OLD | NEW |