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': [ |
(...skipping 16 matching lines...) Expand all Loading... |
27 'sources': [ '<@(boringssl_linux_arm_sources)' ], | 27 'sources': [ '<@(boringssl_linux_arm_sources)' ], |
28 }], | 28 }], |
29 ['target_arch == "ia32"', { | 29 ['target_arch == "ia32"', { |
30 'conditions': [ | 30 'conditions': [ |
31 ['OS == "mac"', { | 31 ['OS == "mac"', { |
32 'sources': [ '<@(boringssl_mac_x86_sources)' ], | 32 'sources': [ '<@(boringssl_mac_x86_sources)' ], |
33 }], | 33 }], |
34 ['OS == "linux" or OS == "android"', { | 34 ['OS == "linux" or OS == "android"', { |
35 'sources': [ '<@(boringssl_linux_x86_sources)' ], | 35 'sources': [ '<@(boringssl_linux_x86_sources)' ], |
36 }], | 36 }], |
37 ['OS != "mac" and OS != "linux" and OS != "android"', { | 37 ['OS == "win"', { |
| 38 'sources': [ '<@(boringssl_win_x86_sources)' ], |
| 39 # Win32 is built with Yasm. The other ports use the platform |
| 40 # assembler. |
| 41 'variables': { |
| 42 'yasm_output_path': '<(SHARED_INTERMEDIATE_DIR)/third_party/bori
ngssl', |
| 43 }, |
| 44 'includes': [ |
| 45 '../yasm/yasm_compile.gypi', |
| 46 ], |
| 47 }], |
| 48 ['OS != "mac" and OS != "linux" and OS != "win" and OS != "android"'
, { |
38 'defines': [ 'OPENSSL_NO_ASM' ], | 49 'defines': [ 'OPENSSL_NO_ASM' ], |
39 }], | 50 }], |
40 ] | 51 ] |
41 }], | 52 }], |
42 ['target_arch == "x64"', { | 53 ['target_arch == "x64"', { |
43 'conditions': [ | 54 'conditions': [ |
44 ['OS == "mac"', { | 55 ['OS == "mac"', { |
45 'sources': [ '<@(boringssl_mac_x86_64_sources)' ], | 56 'sources': [ '<@(boringssl_mac_x86_64_sources)' ], |
46 }], | 57 }], |
47 ['OS == "linux" or OS == "android"', { | 58 ['OS == "linux" or OS == "android"', { |
(...skipping 26 matching lines...) Expand all Loading... |
74 ['component == "shared_library"', { | 85 ['component == "shared_library"', { |
75 'defines': [ | 86 'defines': [ |
76 'BORINGSSL_SHARED_LIBRARY', | 87 'BORINGSSL_SHARED_LIBRARY', |
77 ], | 88 ], |
78 }], | 89 }], |
79 ], | 90 ], |
80 }, | 91 }, |
81 }, | 92 }, |
82 ], | 93 ], |
83 } | 94 } |
OLD | NEW |