| Index: crypto/crypto.gyp
|
| diff --git a/crypto/crypto.gyp b/crypto/crypto.gyp
|
| index f660e4cd0eede118e73f723cbc0e55a535dbce82..7a31e8475dba4e4fc77e8e4906b9c1d874d0aa56 100644
|
| --- a/crypto/crypto.gyp
|
| +++ b/crypto/crypto.gyp
|
| @@ -9,7 +9,6 @@
|
| 'targets': [
|
| {
|
| 'target_name': 'crypto',
|
| - 'type': '<(component)',
|
| 'product_name': 'crcrypto', # Avoid colliding with OpenSSL's libcrypto
|
| 'dependencies': [
|
| '../base/base.gyp:base',
|
| @@ -68,13 +67,16 @@
|
| '../third_party/nss/nss.gyp:nss',
|
| ],
|
| }],
|
| - [ 'OS != "win"', {
|
| + [ 'OS == "win"', {
|
| + 'type': '<(component)',
|
| + }, { # else OS != "win"
|
| + 'type': 'static_library',
|
| 'sources!': [
|
| 'capi_util.h',
|
| 'capi_util.cc',
|
| ],
|
| }],
|
| - [ 'component == "shared_library"', {
|
| + [ 'OS == "win" and component == "shared_library"', {
|
| 'defines': [
|
| 'CRYPTO_IMPLEMENTATION',
|
| ],
|
|
|