Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(138)

Unified Diff: third_party/boringssl/boringssl.gyp

Issue 404613002: Fix BoringSSL build and tests on OS X. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/socket/ssl_client_socket_openssl.cc ('k') | third_party/boringssl/boringssl_tests.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/boringssl/boringssl.gyp
diff --git a/third_party/boringssl/boringssl.gyp b/third_party/boringssl/boringssl.gyp
index 19e3fcb69587710a741a35bdbfc09eb4791f55a7..1aa7489330927837592fafba52c6e05068fdbfcd 100644
--- a/third_party/boringssl/boringssl.gyp
+++ b/third_party/boringssl/boringssl.gyp
@@ -9,7 +9,7 @@
'targets': [
{
'target_name': 'boringssl',
- 'type': 'static_library',
+ 'type': '<(component)',
'includes': [
'boringssl.gypi',
],
@@ -52,6 +52,12 @@
['target_arch != "arm" and target_arch != "ia32" and target_arch != "x64"', {
'defines': [ 'OPENSSL_NO_ASM' ],
}],
+ ['component == "shared_library"', {
+ 'xcode_settings': {
+ 'GCC_SYMBOLS_PRIVATE_EXTERN': 'NO', # no -fvisibility=hidden
+ },
+ 'cflags!': ['-fvisibility=hidden'],
+ }],
],
'include_dirs': [
'src/include',
« no previous file with comments | « net/socket/ssl_client_socket_openssl.cc ('k') | third_party/boringssl/boringssl_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698