OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'includes': [ | 9 'includes': [ |
10 'crypto.gypi', | 10 'crypto.gypi', |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 ], | 73 ], |
74 }, | 74 }, |
75 }, { # OS != "mac" | 75 }, { # OS != "mac" |
76 'sources!': [ | 76 'sources!': [ |
77 'cssm_init.cc', | 77 'cssm_init.cc', |
78 'cssm_init.h', | 78 'cssm_init.h', |
79 'mac_security_services_lock.cc', | 79 'mac_security_services_lock.cc', |
80 'mac_security_services_lock.h', | 80 'mac_security_services_lock.h', |
81 ], | 81 ], |
82 }], | 82 }], |
83 [ 'OS == "mac" or OS == "ios" or OS == "win"', { | 83 [ 'use_openssl == 0 and (OS == "mac" or OS == "ios" or OS == "win")', { |
84 'dependencies': [ | 84 'dependencies': [ |
85 '../third_party/nss/nss.gyp:nspr', | 85 '../third_party/nss/nss.gyp:nspr', |
86 '../third_party/nss/nss.gyp:nss', | 86 '../third_party/nss/nss.gyp:nss', |
87 ], | 87 ], |
88 'export_dependent_settings': [ | 88 'export_dependent_settings': [ |
89 '../third_party/nss/nss.gyp:nspr', | 89 '../third_party/nss/nss.gyp:nspr', |
90 '../third_party/nss/nss.gyp:nss', | 90 '../third_party/nss/nss.gyp:nss', |
91 ], | 91 ], |
92 }], | 92 }], |
93 [ 'OS != "win"', { | 93 [ 'OS != "win"', { |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 ], | 194 ], |
195 'dependencies': [ | 195 'dependencies': [ |
196 '../build/linux/system.gyp:ssl', | 196 '../build/linux/system.gyp:ssl', |
197 ], | 197 ], |
198 }, { # os_posix != 1 or OS == "mac" or OS == "android" or OS == "ios" | 198 }, { # os_posix != 1 or OS == "mac" or OS == "android" or OS == "ios" |
199 'sources!': [ | 199 'sources!': [ |
200 'rsa_private_key_nss_unittest.cc', | 200 'rsa_private_key_nss_unittest.cc', |
201 'openpgp_symmetric_encryption_unittest.cc', | 201 'openpgp_symmetric_encryption_unittest.cc', |
202 ] | 202 ] |
203 }], | 203 }], |
204 [ 'OS == "mac" or OS == "ios" or OS == "win"', { | 204 [ 'use_openssl == 0 and (OS == "mac" or OS == "ios" or OS == "win")', { |
205 'dependencies': [ | |
206 '../third_party/nss/nss.gyp:nss', | |
207 ], | |
208 }], | |
209 [ 'OS == "mac"', { | |
210 'dependencies': [ | 205 'dependencies': [ |
211 '../third_party/nss/nss.gyp:nspr', | 206 '../third_party/nss/nss.gyp:nspr', |
212 ], | 207 ], |
213 }], | 208 }], |
214 [ 'OS == "win"', { | 209 [ 'OS == "win"', { |
215 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 210 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
216 'msvs_disabled_warnings': [4267, ], | 211 'msvs_disabled_warnings': [4267, ], |
217 }], | 212 }], |
218 [ 'use_openssl==1', { | 213 [ 'use_openssl==1', { |
219 'sources!': [ | 214 'sources!': [ |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 'configurations': { | 246 'configurations': { |
252 'Common_Base': { | 247 'Common_Base': { |
253 'msvs_target_platform': 'x64', | 248 'msvs_target_platform': 'x64', |
254 }, | 249 }, |
255 }, | 250 }, |
256 }, | 251 }, |
257 ], | 252 ], |
258 }], | 253 }], |
259 ], | 254 ], |
260 } | 255 } |
OLD | NEW |