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': [ 'BORINGSSL_IMPLEMENTATION' ], | 16 'defines': [ |
| 17 'BORINGSSL_IMPLEMENTATION', |
| 18 'BORINGSSL_NO_STATIC_INITIALIZER', |
| 19 ], |
17 'conditions': [ | 20 'conditions': [ |
18 ['component == "shared_library"', { | 21 ['component == "shared_library"', { |
19 'defines': [ | 22 'defines': [ |
20 'BORINGSSL_SHARED_LIBRARY', | 23 'BORINGSSL_SHARED_LIBRARY', |
21 ], | 24 ], |
22 }], | 25 }], |
23 ['target_arch == "arm"', { | 26 ['target_arch == "arm"', { |
24 'sources': [ '<@(boringssl_linux_arm_sources)' ], | 27 'sources': [ '<@(boringssl_linux_arm_sources)' ], |
25 }], | 28 }], |
26 ['target_arch == "ia32"', { | 29 ['target_arch == "ia32"', { |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 ['component == "shared_library"', { | 74 ['component == "shared_library"', { |
72 'defines': [ | 75 'defines': [ |
73 'BORINGSSL_SHARED_LIBRARY', | 76 'BORINGSSL_SHARED_LIBRARY', |
74 ], | 77 ], |
75 }], | 78 }], |
76 ], | 79 ], |
77 }, | 80 }, |
78 }, | 81 }, |
79 ], | 82 ], |
80 } | 83 } |
OLD | NEW |