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 21 matching lines...) Expand all Loading... |
32 ['target_arch == "ia32"', { | 32 ['target_arch == "ia32"', { |
33 'conditions': [ | 33 'conditions': [ |
34 ['OS == "mac"', { | 34 ['OS == "mac"', { |
35 'sources': [ '<@(boringssl_mac_x86_sources)' ], | 35 'sources': [ '<@(boringssl_mac_x86_sources)' ], |
36 }], | 36 }], |
37 ['OS == "linux" or OS == "android"', { | 37 ['OS == "linux" or OS == "android"', { |
38 'sources': [ '<@(boringssl_linux_x86_sources)' ], | 38 'sources': [ '<@(boringssl_linux_x86_sources)' ], |
39 }], | 39 }], |
40 ['OS == "win"', { | 40 ['OS == "win"', { |
41 'sources': [ '<@(boringssl_win_x86_sources)' ], | 41 'sources': [ '<@(boringssl_win_x86_sources)' ], |
42 # Win32 is built with Yasm. The other ports use the platform | 42 # Windows' assembly is built with Yasm. The other platforms use |
43 # assembler. | 43 # the platform assembler. |
44 'variables': { | 44 'variables': { |
45 'yasm_output_path': '<(SHARED_INTERMEDIATE_DIR)/third_party/bori
ngssl', | 45 'yasm_output_path': '<(SHARED_INTERMEDIATE_DIR)/third_party/bori
ngssl', |
46 }, | 46 }, |
47 'includes': [ | 47 'includes': [ |
48 '../yasm/yasm_compile.gypi', | 48 '../yasm/yasm_compile.gypi', |
49 ], | 49 ], |
50 }], | 50 }], |
51 ['OS != "mac" and OS != "linux" and OS != "win" and OS != "android"'
, { | 51 ['OS != "mac" and OS != "linux" and OS != "win" and OS != "android"'
, { |
52 'defines': [ 'OPENSSL_NO_ASM' ], | 52 'defines': [ 'OPENSSL_NO_ASM' ], |
53 }], | 53 }], |
54 ] | 54 ] |
55 }], | 55 }], |
56 ['target_arch == "x64"', { | 56 ['target_arch == "x64"', { |
57 'conditions': [ | 57 'conditions': [ |
58 ['OS == "mac"', { | 58 ['OS == "mac"', { |
59 'sources': [ '<@(boringssl_mac_x86_64_sources)' ], | 59 'sources': [ '<@(boringssl_mac_x86_64_sources)' ], |
60 }], | 60 }], |
61 ['OS == "linux" or OS == "android"', { | 61 ['OS == "linux" or OS == "android"', { |
62 'sources': [ '<@(boringssl_linux_x86_64_sources)' ], | 62 'sources': [ '<@(boringssl_linux_x86_64_sources)' ], |
63 }], | 63 }], |
64 ['OS == "win"', { | 64 ['OS == "win"', { |
65 'sources': [ '<@(boringssl_win_x86_64_sources)' ], | 65 'sources': [ '<@(boringssl_win_x86_64_sources)' ], |
| 66 # Windows' assembly is built with Yasm. The other platforms use |
| 67 # the platform assembler. |
| 68 'variables': { |
| 69 'yasm_output_path': '<(SHARED_INTERMEDIATE_DIR)/third_party/bori
ngssl', |
| 70 }, |
| 71 'includes': [ |
| 72 '../yasm/yasm_compile.gypi', |
| 73 ], |
66 }], | 74 }], |
67 ['OS != "mac" and OS != "linux" and OS != "win" and OS != "android"'
, { | 75 ['OS != "mac" and OS != "linux" and OS != "win" and OS != "android"'
, { |
68 'defines': [ 'OPENSSL_NO_ASM' ], | 76 'defines': [ 'OPENSSL_NO_ASM' ], |
69 }], | 77 }], |
70 ] | 78 ] |
71 }], | 79 }], |
72 ['target_arch != "arm" and target_arch != "ia32" and target_arch != "x64
"', { | 80 ['target_arch != "arm" and target_arch != "ia32" and target_arch != "x64
"', { |
73 'defines': [ 'OPENSSL_NO_ASM' ], | 81 'defines': [ 'OPENSSL_NO_ASM' ], |
74 }], | 82 }], |
75 ], | 83 ], |
(...skipping 12 matching lines...) Expand all Loading... |
88 ['component == "shared_library"', { | 96 ['component == "shared_library"', { |
89 'defines': [ | 97 'defines': [ |
90 'BORINGSSL_SHARED_LIBRARY', | 98 'BORINGSSL_SHARED_LIBRARY', |
91 ], | 99 ], |
92 }], | 100 }], |
93 ], | 101 ], |
94 }, | 102 }, |
95 }, | 103 }, |
96 ], | 104 ], |
97 } | 105 } |
OLD | NEW |