Chromium Code Reviews| 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"', { |
|
davidben
2015/04/06 21:15:02
Why only arm64? Is iOS only 64-bit? (I'm not famil
tkchin
2015/04/06 21:35:01
The reason is actually because the various gyp fil
davidben
2015/04/06 21:54:39
Huh, interesting. Yeah, doing codesearch I see a l
| |
| 30 'sources': [ '<@(boringssl_linux_arm_sources)' ], | 30 'sources': [ '<@(boringssl_linux_arm_sources)' ], |
| 31 }], | 31 }], |
| 32 ['target_arch == "arm64"', { | 32 ['target_arch == "arm64"', { |
| 33 'sources': [ '<@(boringssl_linux_aarch64_sources)' ], | 33 'conditions': [ |
| 34 ['OS == "linux" or OS == "android"', { | |
| 35 'sources': [ '<@(boringssl_linux_aarch64_sources)' ], | |
| 36 }, { | |
| 37 'defines': [ 'OPENSSL_NO_ASM' ], | |
| 38 }], | |
| 39 ], | |
| 34 }], | 40 }], |
| 35 ['target_arch == "ia32"', { | 41 ['target_arch == "ia32"', { |
| 36 'conditions': [ | 42 'conditions': [ |
| 37 ['OS == "mac"', { | 43 ['OS == "mac"', { |
| 38 'sources': [ '<@(boringssl_mac_x86_sources)' ], | 44 'sources': [ '<@(boringssl_mac_x86_sources)' ], |
| 39 }], | 45 }], |
| 40 ['OS == "linux" or OS == "android"', { | 46 ['OS == "linux" or OS == "android"', { |
| 41 'sources': [ '<@(boringssl_linux_x86_sources)' ], | 47 'sources': [ '<@(boringssl_linux_x86_sources)' ], |
| 42 }], | 48 }], |
| 43 ['OS == "win"', { | 49 ['OS == "win"', { |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 99 ['component == "shared_library"', { | 105 ['component == "shared_library"', { |
| 100 'defines': [ | 106 'defines': [ |
| 101 'BORINGSSL_SHARED_LIBRARY', | 107 'BORINGSSL_SHARED_LIBRARY', |
| 102 ], | 108 ], |
| 103 }], | 109 }], |
| 104 ], | 110 ], |
| 105 }, | 111 }, |
| 106 }, | 112 }, |
| 107 ], | 113 ], |
| 108 } | 114 } |
| OLD | NEW |