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 'includes': [ | 6 'includes': [ |
7 'boringssl.gypi', | 7 'boringssl.gypi', |
8 ], | 8 ], |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 'cflags': [ '-march=armv8-a+crypto' ], | 127 'cflags': [ '-march=armv8-a+crypto' ], |
128 }, { | 128 }, { |
129 'direct_dependent_settings': { | 129 'direct_dependent_settings': { |
130 'defines': [ 'OPENSSL_NO_ASM' ], | 130 'defines': [ 'OPENSSL_NO_ASM' ], |
131 }, | 131 }, |
132 }], | 132 }], |
133 ], | 133 ], |
134 }], | 134 }], |
135 ['target_arch == "ia32" and msan == 0', { | 135 ['target_arch == "ia32" and msan == 0', { |
136 'conditions': [ | 136 'conditions': [ |
137 ['OS == "mac" or OS == "ios"', { | 137 ['OS == "mac"', { |
138 'sources': [ '<@(boringssl_mac_x86_sources)' ], | 138 'sources': [ '<@(boringssl_mac_x86_sources)' ], |
139 }], | 139 }], |
140 ['OS == "linux" or OS == "android"', { | 140 ['OS == "linux" or OS == "android"', { |
141 'sources': [ '<@(boringssl_linux_x86_sources)' ], | 141 'sources': [ '<@(boringssl_linux_x86_sources)' ], |
142 }], | 142 }], |
143 ['OS == "win"', { | 143 ['OS == "win"', { |
144 'sources': [ '<@(boringssl_win_x86_sources)' ], | 144 'sources': [ '<@(boringssl_win_x86_sources)' ], |
145 # Windows' assembly is built with Yasm. The other platforms use | 145 # Windows' assembly is built with Yasm. The other platforms use |
146 # the platform assembler. | 146 # the platform assembler. |
147 'variables': { | 147 'variables': { |
148 'yasm_output_path': '<(SHARED_INTERMEDIATE_DIR)/third_party/bori
ngssl', | 148 'yasm_output_path': '<(SHARED_INTERMEDIATE_DIR)/third_party/bori
ngssl', |
149 }, | 149 }, |
150 'includes': [ | 150 'includes': [ |
151 '../yasm/yasm_compile.gypi', | 151 '../yasm/yasm_compile.gypi', |
152 ], | 152 ], |
153 }], | 153 }], |
154 ['OS != "mac" and OS != "linux" and OS != "win" and OS != "android"'
, { | 154 ['OS != "mac" and OS != "linux" and OS != "win" and OS != "android"'
, { |
155 'direct_dependent_settings': { | 155 'direct_dependent_settings': { |
156 'defines': [ 'OPENSSL_NO_ASM' ], | 156 'defines': [ 'OPENSSL_NO_ASM' ], |
157 }, | 157 }, |
158 }], | 158 }], |
159 ] | 159 ] |
160 }], | 160 }], |
161 ['target_arch == "x64" and msan == 0', { | 161 ['target_arch == "x64" and msan == 0', { |
162 'conditions': [ | 162 'conditions': [ |
163 ['OS == "mac" or OS == "ios"', { | 163 ['OS == "mac"', { |
164 'sources': [ '<@(boringssl_mac_x86_64_sources)' ], | 164 'sources': [ '<@(boringssl_mac_x86_64_sources)' ], |
165 }], | 165 }], |
166 ['OS == "linux" or OS == "android"', { | 166 ['OS == "linux" or OS == "android"', { |
167 'sources': [ '<@(boringssl_linux_x86_64_sources)' ], | 167 'sources': [ '<@(boringssl_linux_x86_64_sources)' ], |
168 }], | 168 }], |
169 ['OS == "win"', { | 169 ['OS == "win"', { |
170 'sources': [ '<@(boringssl_win_x86_64_sources)' ], | 170 'sources': [ '<@(boringssl_win_x86_64_sources)' ], |
171 # Windows' assembly is built with Yasm. The other platforms use | 171 # Windows' assembly is built with Yasm. The other platforms use |
172 # the platform assembler. | 172 # the platform assembler. |
173 'variables': { | 173 'variables': { |
(...skipping 12 matching lines...) Expand all Loading... |
186 }], | 186 }], |
187 ['msan == 1 or (target_arch != "arm" and target_arch != "ia32" and targe
t_arch != "x64" and target_arch != "arm64")', { | 187 ['msan == 1 or (target_arch != "arm" and target_arch != "ia32" and targe
t_arch != "x64" and target_arch != "arm64")', { |
188 'direct_dependent_settings': { | 188 'direct_dependent_settings': { |
189 'defines': [ 'OPENSSL_NO_ASM' ], | 189 'defines': [ 'OPENSSL_NO_ASM' ], |
190 }, | 190 }, |
191 }], | 191 }], |
192 ], | 192 ], |
193 }, | 193 }, |
194 ], | 194 ], |
195 } | 195 } |
OLD | NEW |