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. | 20 # TODO(davidben): Fix size_t truncations in BoringSSL. |
21 # https://crbug.com/429039 | 21 # https://crbug.com/429039 |
22 'msvs_disabled_warnings': [ 4267, ], | 22 'msvs_disabled_warnings': [ 4267, ], |
23 'conditions': [ | 23 'conditions': [ |
24 ['component == "shared_library"', { | 24 ['component == "shared_library"', { |
25 'defines': [ | 25 'defines': [ |
26 'BORINGSSL_SHARED_LIBRARY', | 26 'BORINGSSL_SHARED_LIBRARY', |
27 ], | 27 ], |
28 }], | 28 }], |
29 ['target_arch == "arm"', { | 29 ['target_arch == "arm"', { |
30 'sources': [ '<@(boringssl_linux_arm_sources)' ], | 30 'conditions': [ |
| 31 ['OS == "linux" or OS == "android"', { |
| 32 'sources': [ '<@(boringssl_linux_arm_sources)' ], |
| 33 }, { |
| 34 'defines': [ 'OPENSSL_NO_ASM' ], |
| 35 }], |
| 36 ], |
31 }], | 37 }], |
32 ['target_arch == "arm64"', { | 38 ['target_arch == "arm64"', { |
33 'sources': [ '<@(boringssl_linux_aarch64_sources)' ], | 39 'conditions': [ |
| 40 ['OS == "linux" or OS == "android"', { |
| 41 'sources': [ '<@(boringssl_linux_aarch64_sources)' ], |
| 42 }, { |
| 43 'defines': [ 'OPENSSL_NO_ASM' ], |
| 44 }], |
| 45 ], |
34 }], | 46 }], |
35 ['target_arch == "ia32"', { | 47 ['target_arch == "ia32"', { |
36 'conditions': [ | 48 'conditions': [ |
37 ['OS == "mac"', { | 49 ['OS == "mac"', { |
38 'sources': [ '<@(boringssl_mac_x86_sources)' ], | 50 'sources': [ '<@(boringssl_mac_x86_sources)' ], |
39 }], | 51 }], |
40 ['OS == "linux" or OS == "android"', { | 52 ['OS == "linux" or OS == "android"', { |
41 'sources': [ '<@(boringssl_linux_x86_sources)' ], | 53 'sources': [ '<@(boringssl_linux_x86_sources)' ], |
42 }], | 54 }], |
43 ['OS == "win"', { | 55 ['OS == "win"', { |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 ['component == "shared_library"', { | 111 ['component == "shared_library"', { |
100 'defines': [ | 112 'defines': [ |
101 'BORINGSSL_SHARED_LIBRARY', | 113 'BORINGSSL_SHARED_LIBRARY', |
102 ], | 114 ], |
103 }], | 115 }], |
104 ], | 116 ], |
105 }, | 117 }, |
106 }, | 118 }, |
107 ], | 119 ], |
108 } | 120 } |
OLD | NEW |