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

Unified Diff: third_party/boringssl/boringssl_lib.gypi

Issue 428753004: BoringSSL: roll DEPS and enable dynamic visibility. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix quotes in GN file. 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 | « third_party/boringssl/boringssl.gypi ('k') | third_party/boringssl/linux-arm/crypto/aes/aes-armv4.S » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/boringssl/boringssl_lib.gypi
diff --git a/third_party/boringssl/boringssl_lib.gypi b/third_party/boringssl/boringssl_lib.gypi
index 84a0c6fe3f187aca370e9a88b93376a4f377945d..2fd16535ae04292ceadab9f9740ba7c8f394d439 100644
--- a/third_party/boringssl/boringssl_lib.gypi
+++ b/third_party/boringssl/boringssl_lib.gypi
@@ -13,7 +13,13 @@
'sources': [
'<@(boringssl_lib_sources)',
],
+ 'defines': [ 'BORINGSSL_IMPLEMENTATION' ],
'conditions': [
+ ['component == "shared_library"', {
+ 'defines': [
+ 'BORINGSSL_SHARED_LIBRARY',
+ ],
+ }],
['target_arch == "arm"', {
'sources': [ '<@(boringssl_linux_arm_sources)' ],
}],
@@ -49,19 +55,6 @@
['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' ],
- 'conditions': [
- ['os_posix == 1 and OS != "mac"', {
- # Avoid link failures on Linux x86-64.
- # See http://rt.openssl.org/Ticket/Display.html?id=2466&user=guest&pass=guest
- 'ldflags+': [ '-Wl,-Bsymbolic' ],
- }],
- ],
- }],
],
'include_dirs': [
'src/include',
@@ -74,6 +67,13 @@
'include_dirs': [
'src/include',
],
+ 'conditions': [
+ ['component == "shared_library"', {
+ 'defines': [
+ 'BORINGSSL_SHARED_LIBRARY',
+ ],
+ }],
+ ],
},
},
],
« no previous file with comments | « third_party/boringssl/boringssl.gypi ('k') | third_party/boringssl/linux-arm/crypto/aes/aes-armv4.S » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698