| 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', | 11 'target_name': 'boringssl', |
| 12 'type': '<(component)', | 12 'type': '<(component)', |
| 13 'sources': [ | 13 'sources': [ |
| 14 '<@(boringssl_crypto_sources)', | 14 '<@(boringssl_crypto_sources)', |
| 15 '<@(boringssl_ssl_sources)', | 15 '<@(boringssl_ssl_sources)', |
| 16 ], | 16 ], |
| 17 'defines': [ | 17 'defines': [ |
| 18 'BORINGSSL_IMPLEMENTATION', | 18 'BORINGSSL_IMPLEMENTATION', |
| 19 'BORINGSSL_NO_STATIC_INITIALIZER', | 19 'BORINGSSL_NO_STATIC_INITIALIZER', |
| 20 'OPENSSL_SMALL', |
| 20 ], | 21 ], |
| 21 'dependencies': [ 'boringssl_asm' ], | 22 'dependencies': [ 'boringssl_asm' ], |
| 22 # TODO(davidben): Fix size_t truncations in BoringSSL. | 23 # TODO(davidben): Fix size_t truncations in BoringSSL. |
| 23 # https://crbug.com/429039 | 24 # https://crbug.com/429039 |
| 24 'msvs_disabled_warnings': [ 4267, ], | 25 'msvs_disabled_warnings': [ 4267, ], |
| 25 'conditions': [ | 26 'conditions': [ |
| 26 ['component == "shared_library"', { | 27 ['component == "shared_library"', { |
| 27 'defines': [ | 28 'defines': [ |
| 28 'BORINGSSL_SHARED_LIBRARY', | 29 'BORINGSSL_SHARED_LIBRARY', |
| 29 ], | 30 ], |
| 30 }], | 31 }], |
| 31 ], | 32 ], |
| 32 'include_dirs': [ | 33 'include_dirs': [ |
| 33 'src/include', | 34 'src/include', |
| 34 ], | 35 ], |
| 35 'direct_dependent_settings': { | 36 'direct_dependent_settings': { |
| 36 'defines': [ | |
| 37 'OPENSSL_SMALL', | |
| 38 ], | |
| 39 'include_dirs': [ | 37 'include_dirs': [ |
| 40 'src/include', | 38 'src/include', |
| 41 ], | 39 ], |
| 42 'conditions': [ | 40 'conditions': [ |
| 43 ['component == "shared_library"', { | 41 ['component == "shared_library"', { |
| 44 'defines': [ | 42 'defines': [ |
| 45 'BORINGSSL_SHARED_LIBRARY', | 43 'BORINGSSL_SHARED_LIBRARY', |
| 46 ], | 44 ], |
| 47 }], | 45 }], |
| 48 ], | 46 ], |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 }], | 143 }], |
| 146 ['msan == 1 or (target_arch != "arm" and target_arch != "ia32" and targe
t_arch != "x64" and target_arch != "arm64")', { | 144 ['msan == 1 or (target_arch != "arm" and target_arch != "ia32" and targe
t_arch != "x64" and target_arch != "arm64")', { |
| 147 'direct_dependent_settings': { | 145 'direct_dependent_settings': { |
| 148 'defines': [ 'OPENSSL_NO_ASM' ], | 146 'defines': [ 'OPENSSL_NO_ASM' ], |
| 149 }, | 147 }, |
| 150 }], | 148 }], |
| 151 ], | 149 ], |
| 152 }, | 150 }, |
| 153 ], | 151 ], |
| 154 } | 152 } |
| OLD | NEW |