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 '<@(boringssl_ssl_sources)', | |
Ryan Sleevi
2016/04/28 21:06:58
This seems like a way bigger size hit to NaCl; we
svaldez
2016/04/28 21:14:50
I *think* that the static linker will just drop th
Ryan Sleevi
2016/04/28 21:29:59
Well, you're building as <(component), so it can't
davidben
2016/04/28 21:35:44
Only in the shared library build, right? The stati
Ryan Sleevi
2016/04/29 00:12:54
I believe the nacl helper is built as a DLL; but d
davidben
2016/04/29 00:43:15
Looks like it's built as an executable, unless the
| |
16 ], | |
17 'defines': [ | |
18 'BORINGSSL_IMPLEMENTATION', | |
19 'BORINGSSL_NO_STATIC_INITIALIZER', | |
20 'OPENSSL_NO_ASM', | |
21 'OPENSSL_SMALL', | |
22 ], | |
23 'configurations': { | |
24 'Common_Base': { | |
25 'msvs_target_platform': 'x64', | |
26 }, | |
27 }, | |
28 # TODO(davidben): Fix size_t truncations in BoringSSL. | |
29 # https://crbug.com/429039 | |
30 'msvs_disabled_warnings': [ 4267, ], | |
31 'conditions': [ | |
32 ['component == "shared_library"', { | |
33 'defines': [ | |
34 'BORINGSSL_SHARED_LIBRARY', | |
35 ], | |
36 }], | |
37 ], | |
38 'include_dirs': [ | |
39 'src/include', | |
40 ], | |
41 'direct_dependent_settings': { | |
42 'include_dirs': [ | |
43 'src/include', | |
44 ], | |
45 'conditions': [ | |
46 ['component == "shared_library"', { | |
47 'defines': [ | |
48 'BORINGSSL_SHARED_LIBRARY', | |
49 ], | |
50 }], | |
51 ], | |
52 }, | |
53 }, | |
54 { | |
11 'target_name': 'boringssl', | 55 'target_name': 'boringssl', |
12 'type': '<(component)', | 56 'type': '<(component)', |
13 'sources': [ | 57 'sources': [ |
14 '<@(boringssl_crypto_sources)', | 58 '<@(boringssl_crypto_sources)', |
15 '<@(boringssl_ssl_sources)', | 59 '<@(boringssl_ssl_sources)', |
16 ], | 60 ], |
17 'defines': [ | 61 'defines': [ |
18 'BORINGSSL_IMPLEMENTATION', | 62 'BORINGSSL_IMPLEMENTATION', |
19 'BORINGSSL_NO_STATIC_INITIALIZER', | 63 'BORINGSSL_NO_STATIC_INITIALIZER', |
20 'OPENSSL_SMALL', | 64 'OPENSSL_SMALL', |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
143 }], | 187 }], |
144 ['msan == 1 or (target_arch != "arm" and target_arch != "ia32" and targe t_arch != "x64" and target_arch != "arm64")', { | 188 ['msan == 1 or (target_arch != "arm" and target_arch != "ia32" and targe t_arch != "x64" and target_arch != "arm64")', { |
145 'direct_dependent_settings': { | 189 'direct_dependent_settings': { |
146 'defines': [ 'OPENSSL_NO_ASM' ], | 190 'defines': [ 'OPENSSL_NO_ASM' ], |
147 }, | 191 }, |
148 }], | 192 }], |
149 ], | 193 ], |
150 }, | 194 }, |
151 ], | 195 ], |
152 } | 196 } |
OLD | NEW |