Chromium Code Reviews| Index: third_party/boringssl/boringssl.gyp |
| diff --git a/third_party/boringssl/boringssl.gyp b/third_party/boringssl/boringssl.gyp |
| index f1a9384da09d1ac7419541429d733d819f2f97bf..4b75d16037f4ee1864826067773223fe97ceef31 100644 |
| --- a/third_party/boringssl/boringssl.gyp |
| +++ b/third_party/boringssl/boringssl.gyp |
| @@ -8,6 +8,50 @@ |
| ], |
| 'targets': [ |
| { |
| + 'target_name': 'boringssl_nacl_win64', |
| + 'type': '<(component)', |
| + 'sources': [ |
| + '<@(boringssl_crypto_sources)', |
| + '<@(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
|
| + ], |
| + 'defines': [ |
| + 'BORINGSSL_IMPLEMENTATION', |
| + 'BORINGSSL_NO_STATIC_INITIALIZER', |
| + 'OPENSSL_NO_ASM', |
| + 'OPENSSL_SMALL', |
| + ], |
| + 'configurations': { |
| + 'Common_Base': { |
| + 'msvs_target_platform': 'x64', |
| + }, |
| + }, |
| + # TODO(davidben): Fix size_t truncations in BoringSSL. |
| + # https://crbug.com/429039 |
| + 'msvs_disabled_warnings': [ 4267, ], |
| + 'conditions': [ |
| + ['component == "shared_library"', { |
| + 'defines': [ |
| + 'BORINGSSL_SHARED_LIBRARY', |
| + ], |
| + }], |
| + ], |
| + 'include_dirs': [ |
| + 'src/include', |
| + ], |
| + 'direct_dependent_settings': { |
| + 'include_dirs': [ |
| + 'src/include', |
| + ], |
| + 'conditions': [ |
| + ['component == "shared_library"', { |
| + 'defines': [ |
| + 'BORINGSSL_SHARED_LIBRARY', |
| + ], |
| + }], |
| + ], |
| + }, |
| + }, |
| + { |
| 'target_name': 'boringssl', |
| 'type': '<(component)', |
| 'sources': [ |