Chromium Code Reviews| 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 21 matching lines...) Expand all Loading... | |
| 32 'export_dependent_settings': [ | 32 'export_dependent_settings': [ |
| 33 '../build/linux/system.gyp:ssl', | 33 '../build/linux/system.gyp:ssl', |
| 34 ], | 34 ], |
| 35 'conditions': [ | 35 'conditions': [ |
| 36 [ 'chromeos==1', { | 36 [ 'chromeos==1', { |
| 37 'sources/': [ ['include', '_chromeos\\.cc$'] ] | 37 'sources/': [ ['include', '_chromeos\\.cc$'] ] |
| 38 }, | 38 }, |
| 39 ], | 39 ], |
| 40 ], | 40 ], |
| 41 }, { # os_posix != 1 or OS == "mac" or OS == "ios" or OS == "android" | 41 }, { # os_posix != 1 or OS == "mac" or OS == "ios" or OS == "android" |
| 42 'conditions': [ | |
| 43 [ 'use_openssl == 1', { | |
|
wtc
2014/03/20 21:14:56
1. The indentation level should be two spaces rath
mattm
2014/03/20 23:40:24
I agree (see https://codereview.chromium.org/20581
haavardm
2014/03/21 18:48:16
Right. I'll wait until your patch is committed, an
| |
| 44 'dependencies': [ | |
| 45 '../third_party/openssl/openssl.gyp:openssl' | |
| 46 ] | |
| 47 }], | |
| 48 ], | |
| 42 'sources!': [ | 49 'sources!': [ |
| 43 'hmac_win.cc', | 50 'hmac_win.cc', |
| 44 'openpgp_symmetric_encryption.cc', | 51 'openpgp_symmetric_encryption.cc', |
| 45 'openpgp_symmetric_encryption.h', | 52 'openpgp_symmetric_encryption.h', |
| 46 'symmetric_key_win.cc', | 53 'symmetric_key_win.cc', |
| 47 ], | 54 ], |
| 48 }], | 55 }], |
| 49 [ 'OS != "mac" and OS != "ios"', { | 56 [ 'OS != "mac" and OS != "ios"', { |
| 50 'sources!': [ | 57 'sources!': [ |
| 51 'apple_keychain.h', | 58 'apple_keychain.h', |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 84 ], | 91 ], |
| 85 }, | 92 }, |
| 86 }, { # OS != "mac" | 93 }, { # OS != "mac" |
| 87 'sources!': [ | 94 'sources!': [ |
| 88 'cssm_init.cc', | 95 'cssm_init.cc', |
| 89 'cssm_init.h', | 96 'cssm_init.h', |
| 90 'mac_security_services_lock.cc', | 97 'mac_security_services_lock.cc', |
| 91 'mac_security_services_lock.h', | 98 'mac_security_services_lock.h', |
| 92 ], | 99 ], |
| 93 }], | 100 }], |
| 94 [ 'OS == "mac" or OS == "ios" or OS == "win"', { | 101 [ 'use_openssl == 0 and (OS == "mac" or OS == "ios" or OS == "win")', { |
| 95 'dependencies': [ | 102 'dependencies': [ |
| 96 '../third_party/nss/nss.gyp:nspr', | 103 '../third_party/nss/nss.gyp:nspr', |
| 97 '../third_party/nss/nss.gyp:nss', | 104 '../third_party/nss/nss.gyp:nss', |
| 98 ], | 105 ], |
| 99 'export_dependent_settings': [ | 106 'export_dependent_settings': [ |
| 100 '../third_party/nss/nss.gyp:nspr', | 107 '../third_party/nss/nss.gyp:nspr', |
| 101 '../third_party/nss/nss.gyp:nss', | 108 '../third_party/nss/nss.gyp:nss', |
| 102 ], | 109 ], |
| 103 }], | 110 }], |
| 104 [ 'OS != "win"', { | 111 [ 'OS != "win"', { |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 201 ], | 208 ], |
| 202 'dependencies': [ | 209 'dependencies': [ |
| 203 '../build/linux/system.gyp:ssl', | 210 '../build/linux/system.gyp:ssl', |
| 204 ], | 211 ], |
| 205 }, { # os_posix != 1 or OS == "mac" or OS == "android" or OS == "ios" | 212 }, { # os_posix != 1 or OS == "mac" or OS == "android" or OS == "ios" |
| 206 'sources!': [ | 213 'sources!': [ |
| 207 'rsa_private_key_nss_unittest.cc', | 214 'rsa_private_key_nss_unittest.cc', |
| 208 'openpgp_symmetric_encryption_unittest.cc', | 215 'openpgp_symmetric_encryption_unittest.cc', |
| 209 ] | 216 ] |
| 210 }], | 217 }], |
| 211 [ 'OS == "mac" or OS == "ios" or OS == "win"', { | 218 [ 'use_openssl == 0 and (OS == "mac" or OS == "ios" or OS == "win")', { |
| 212 'dependencies': [ | 219 'dependencies': [ |
| 213 '../third_party/nss/nss.gyp:nss', | 220 '../third_party/nss/nss.gyp:nss', |
| 214 ], | 221 ], |
| 215 }], | 222 }], |
| 216 [ 'OS == "mac"', { | 223 [ 'use_openssl == 0 and OS == "mac"', { |
|
wtc
2014/03/20 21:14:56
I think these two blocks can be simply deleted. We
haavardm
2014/03/21 13:08:21
Thanks, I'll test.
On 2014/03/20 21:14:56, wtc wr
haavardm
2014/03/24 18:48:52
Done.
| |
| 217 'dependencies': [ | 224 'dependencies': [ |
| 218 '../third_party/nss/nss.gyp:nspr', | 225 '../third_party/nss/nss.gyp:nspr', |
| 219 ], | 226 ], |
| 220 }], | 227 }], |
| 221 [ 'OS == "win"', { | 228 [ 'OS == "win"', { |
| 222 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 229 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 223 'msvs_disabled_warnings': [4267, ], | 230 'msvs_disabled_warnings': [4267, ], |
| 224 }], | 231 }], |
| 225 [ 'use_openssl==1', { | 232 [ 'use_openssl==1', { |
| 226 'sources!': [ | 233 'sources!': [ |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 258 'configurations': { | 265 'configurations': { |
| 259 'Common_Base': { | 266 'Common_Base': { |
| 260 'msvs_target_platform': 'x64', | 267 'msvs_target_platform': 'x64', |
| 261 }, | 268 }, |
| 262 }, | 269 }, |
| 263 }, | 270 }, |
| 264 ], | 271 ], |
| 265 }], | 272 }], |
| 266 ], | 273 ], |
| 267 } | 274 } |
| OLD | NEW |