diff options
author | yfriedman@chromium.org <yfriedman@chromium.org@4ff67af0-8c30-449e-8e8b-ad334ec8d88c> | 2013-04-10 20:24:51 +0000 |
---|---|---|
committer | yfriedman@chromium.org <yfriedman@chromium.org@4ff67af0-8c30-449e-8e8b-ad334ec8d88c> | 2013-04-10 20:24:51 +0000 |
commit | 5bd6e0516e7862af183eec10dc90ceb086a6062f (patch) | |
tree | bc7205c25cae1b0249b7b8f2b643cc390b42fa0c | |
parent | 68de3786db8fdc41c6cb3179d5bc38bb3dc125c9 (diff) | |
download | openssl-5bd6e0516e7862af183eec10dc90ceb086a6062f.tar.gz |
Make openssl a component.
This is needed for the Android component build.
BUG=158821
Review URL: https://codereview.appspot.com/8246044
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/openssl@193445 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
-rw-r--r-- | openssl.gyp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/openssl.gyp b/openssl.gyp index c285521..8dca186 100644 --- a/openssl.gyp +++ b/openssl.gyp @@ -6,7 +6,7 @@ 'targets': [ { 'target_name': 'openssl', - 'type': 'static_library', + 'type': '<(component)', 'includes': [ # Include the auto-generated gypi file. '../../third_party/openssl/openssl.gypi' @@ -66,6 +66,13 @@ 'openssl_include_dirs+': [ 'config/x64' ], }, }], + ['component == "shared_library"', { + 'conditions': [ + ['os_posix == 1 and OS != "mac" and OS != "ios"', { + 'cflags!': ['-fvisibility=hidden'], + }], + ], + }], ['clang==1', { 'cflags': [ # OpenSSL has a few |if ((foo == NULL))| checks. |