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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 ], | 193 ], |
194 'dependencies': [ | 194 'dependencies': [ |
195 '../build/linux/system.gyp:ssl', | 195 '../build/linux/system.gyp:ssl', |
196 ], | 196 ], |
197 }, { # os_posix != 1 or OS == "mac" or OS == "android" or OS == "ios" | 197 }, { # os_posix != 1 or OS == "mac" or OS == "android" or OS == "ios" |
198 'sources!': [ | 198 'sources!': [ |
199 'rsa_private_key_nss_unittest.cc', | 199 'rsa_private_key_nss_unittest.cc', |
200 'openpgp_symmetric_encryption_unittest.cc', | 200 'openpgp_symmetric_encryption_unittest.cc', |
201 ] | 201 ] |
202 }], | 202 }], |
203 [ 'OS == "mac" or OS == "ios" or OS == "win"', { | |
204 'dependencies': [ | |
205 '../third_party/nss/nss.gyp:nss', | |
206 ], | |
207 }], | |
208 [ 'OS == "mac"', { | |
209 'dependencies': [ | |
210 '../third_party/nss/nss.gyp:nspr', | |
211 ], | |
212 }], | |
213 [ 'OS == "win"', { | 203 [ 'OS == "win"', { |
214 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 204 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
215 'msvs_disabled_warnings': [4267, ], | 205 'msvs_disabled_warnings': [4267, ], |
216 }], | 206 }], |
217 [ 'use_openssl==1', { | 207 [ 'use_openssl==1', { |
218 'sources!': [ | 208 'sources!': [ |
219 'nss_util_unittest.cc', | 209 'nss_util_unittest.cc', |
220 'openpgp_symmetric_encryption_unittest.cc', | 210 'openpgp_symmetric_encryption_unittest.cc', |
221 'rsa_private_key_nss_unittest.cc', | 211 'rsa_private_key_nss_unittest.cc', |
222 ], | 212 ], |
(...skipping 27 matching lines...) Expand all Loading... |
250 'configurations': { | 240 'configurations': { |
251 'Common_Base': { | 241 'Common_Base': { |
252 'msvs_target_platform': 'x64', | 242 'msvs_target_platform': 'x64', |
253 }, | 243 }, |
254 }, | 244 }, |
255 }, | 245 }, |
256 ], | 246 ], |
257 }], | 247 }], |
258 ], | 248 ], |
259 } | 249 } |
OLD | NEW |