| 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 'targets': [ | 6 'targets': [ |
| 7 { | 7 { |
| 8 'target_name': 'boringssl', | 8 'target_name': 'boringssl', |
| 9 'type': '<(component)', | 9 'type': '<(component)', |
| 10 'includes': [ | 10 'includes': [ |
| 11 'boringssl.gypi', | 11 'boringssl.gypi', |
| 12 ], | 12 ], |
| 13 'sources': [ | 13 'sources': [ |
| 14 '<@(boringssl_lib_sources)', | 14 '<@(boringssl_lib_sources)', |
| 15 ], | 15 ], |
| 16 'defines': [ | 16 'defines': [ |
| 17 'BORINGSSL_IMPLEMENTATION', | 17 'BORINGSSL_IMPLEMENTATION', |
| 18 'BORINGSSL_NO_STATIC_INITIALIZER', | 18 'BORINGSSL_NO_STATIC_INITIALIZER', |
| 19 ], | 19 ], |
| 20 # TODO(davidben): Fix size_t truncations in BoringSSL. |
| 21 # https://crbug.com/429039 |
| 22 'msvs_disabled_warnings': [ 4267, ], |
| 20 'conditions': [ | 23 'conditions': [ |
| 21 ['component == "shared_library"', { | 24 ['component == "shared_library"', { |
| 22 'defines': [ | 25 'defines': [ |
| 23 'BORINGSSL_SHARED_LIBRARY', | 26 'BORINGSSL_SHARED_LIBRARY', |
| 24 ], | 27 ], |
| 25 }], | 28 }], |
| 26 ['target_arch == "arm"', { | 29 ['target_arch == "arm"', { |
| 27 'sources': [ '<@(boringssl_linux_arm_sources)' ], | 30 'sources': [ '<@(boringssl_linux_arm_sources)' ], |
| 28 }], | 31 }], |
| 29 ['target_arch == "ia32"', { | 32 ['target_arch == "ia32"', { |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 ['component == "shared_library"', { | 88 ['component == "shared_library"', { |
| 86 'defines': [ | 89 'defines': [ |
| 87 'BORINGSSL_SHARED_LIBRARY', | 90 'BORINGSSL_SHARED_LIBRARY', |
| 88 ], | 91 ], |
| 89 }], | 92 }], |
| 90 ], | 93 ], |
| 91 }, | 94 }, |
| 92 }, | 95 }, |
| 93 ], | 96 ], |
| 94 } | 97 } |
| OLD | NEW |