| OLD | NEW |
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 'targets': [ | 9 'targets': [ |
| 10 { | 10 { |
| 11 'target_name': 'crypto', | 11 'target_name': 'crypto', |
| 12 'type': '<(component)', | 12 'type': '<(component)', |
| 13 'product_name': 'crcrypto', # Avoid colliding with OpenSSL's libcrypto | 13 'product_name': 'crcrypto', # Avoid colliding with OpenSSL's libcrypto |
| 14 'dependencies': [ | 14 'dependencies': [ |
| 15 '../base/base.gyp:base', | 15 '../base/base.gyp:base', |
| 16 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 16 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
| 17 ], | 17 ], |
| 18 'defines': [ | 18 'defines': [ |
| 19 'CRYPTO_IMPLEMENTATION', | 19 'CRYPTO_IMPLEMENTATION', |
| 20 ], | 20 ], |
| 21 'msvs_disabled_warnings': [ | 21 'msvs_disabled_warnings': [ |
| 22 4018, | 22 4018, |
| 23 ], | 23 ], |
| 24 'conditions': [ | 24 'conditions': [ |
| 25 [ 'os_posix == 1 and OS != "mac"', { | 25 [ 'os_posix == 1 and OS != "mac" and OS != "android"', { |
| 26 'dependencies': [ | 26 'dependencies': [ |
| 27 '../build/linux/system.gyp:ssl', | 27 '../build/linux/system.gyp:ssl', |
| 28 ], | 28 ], |
| 29 'export_dependent_settings': [ | 29 'export_dependent_settings': [ |
| 30 '../build/linux/system.gyp:ssl', | 30 '../build/linux/system.gyp:ssl', |
| 31 ], | 31 ], |
| 32 'conditions': [ | 32 'conditions': [ |
| 33 [ 'chromeos==1', { | 33 [ 'chromeos==1', { |
| 34 'sources/': [ ['include', '_chromeos\\.cc$'] ] | 34 'sources/': [ ['include', '_chromeos\\.cc$'] ] |
| 35 }, | 35 }, |
| 36 ], | 36 ], |
| 37 ], | 37 ], |
| 38 }, { # os_posix != 1 or OS == "mac" | 38 }, { # os_posix != 1 or OS == "mac" or OS == "android" |
| 39 'sources/': [ | 39 'sources/': [ |
| 40 ['exclude', '_nss\.cc$'], | 40 ['exclude', '_nss\.cc$'], |
| 41 ], | 41 ], |
| 42 'sources!': [ | 42 'sources!': [ |
| 43 'openpgp_symmetric_encryption.cc', | 43 'openpgp_symmetric_encryption.cc', |
| 44 ], | 44 ], |
| 45 }], | 45 }], |
| 46 [ 'OS == "android"', { |
| 47 'dependencies': [ |
| 48 '../build/android/system.gyp:ssl', |
| 49 ], |
| 50 }], |
| 46 [ 'OS == "freebsd" or OS == "openbsd"', { | 51 [ 'OS == "freebsd" or OS == "openbsd"', { |
| 47 'link_settings': { | 52 'link_settings': { |
| 48 'libraries': [ | 53 'libraries': [ |
| 49 '-L/usr/local/lib -lexecinfo', | 54 '-L/usr/local/lib -lexecinfo', |
| 50 ], | 55 ], |
| 51 }, | 56 }, |
| 52 }, | 57 }, |
| 53 ], | 58 ], |
| 54 [ 'OS == "mac"', { | 59 [ 'OS == "mac"', { |
| 55 'link_settings': { | 60 'link_settings': { |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 [ 'use_openssl==1', { | 232 [ 'use_openssl==1', { |
| 228 'sources!': [ | 233 'sources!': [ |
| 229 'openpgp_symmetric_encryption_unittest.cc', | 234 'openpgp_symmetric_encryption_unittest.cc', |
| 230 'rsa_private_key_nss_unittest.cc', | 235 'rsa_private_key_nss_unittest.cc', |
| 231 ], | 236 ], |
| 232 }], | 237 }], |
| 233 ], | 238 ], |
| 234 }, | 239 }, |
| 235 ], | 240 ], |
| 236 } | 241 } |
| OLD | NEW |