diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-12 17:19:58 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-12 17:19:58 +0000 |
commit | db7a78c5e9bd35c11393377d91b3792c456de115 (patch) | |
tree | b8fa7fad6d9c563b4c3b13a80c19cf0d5cc0229b /crypto/crypto.gyp | |
parent | 5458863bbbec73cb21a6c368c34a1bab153ac79c (diff) | |
download | chromium_src-db7a78c5e9bd35c11393377d91b3792c456de115.zip chromium_src-db7a78c5e9bd35c11393377d91b3792c456de115.tar.gz chromium_src-db7a78c5e9bd35c11393377d91b3792c456de115.tar.bz2 |
crypto: enable components build for Linux
Expose some more API via CRYPTO_API and refactor gyp file.
Review URL: http://codereview.chromium.org/7336009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92188 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'crypto/crypto.gyp')
-rw-r--r-- | crypto/crypto.gyp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/crypto/crypto.gyp b/crypto/crypto.gyp index 53a41ef5..a6df806 100644 --- a/crypto/crypto.gyp +++ b/crypto/crypto.gyp @@ -9,6 +9,7 @@ 'targets': [ { 'target_name': 'crypto', + 'type': '<(component)', 'product_name': 'crcrypto', # Avoid colliding with OpenSSL's libcrypto 'dependencies': [ '../base/base.gyp:base', @@ -67,16 +68,13 @@ '../third_party/nss/nss.gyp:nss', ], }], - [ 'OS == "win"', { - 'type': '<(component)', - }, { # else OS != "win" - 'type': 'static_library', + [ 'OS != "win"', { 'sources!': [ 'capi_util.h', 'capi_util.cc', ], }], - [ 'OS == "win" and component == "shared_library"', { + [ 'component == "shared_library"', { 'defines': [ 'CRYPTO_DLL', 'CRYPTO_IMPLEMENTATION', |