OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 # Config for us and everybody else depending on BoringSSL. | 5 # Config for us and everybody else depending on BoringSSL. |
6 config("openssl_config") { | 6 config("openssl_config") { |
7 include_dirs = [] | 7 include_dirs = [] |
8 include_dirs += [ "src/include" ] | 8 include_dirs += [ "src/include" ] |
9 } | 9 } |
10 | 10 |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 defines += [ "OPENSSL_NO_ASM" ] | 64 defines += [ "OPENSSL_NO_ASM" ] |
65 } | 65 } |
66 | 66 |
67 if (is_component_build) { | 67 if (is_component_build) { |
68 if (!is_win) { | 68 if (!is_win) { |
69 configs -= [ "//build/config/gcc:symbol_visibility_hidden" ] | 69 configs -= [ "//build/config/gcc:symbol_visibility_hidden" ] |
70 } | 70 } |
71 if (is_posix && !is_mac) { | 71 if (is_posix && !is_mac) { |
72 # Avoid link failures on Linux x86-64. | 72 # Avoid link failures on Linux x86-64. |
73 # See http://rt.openssl.org/Ticket/Display.html?id=2466&user=guest&pass=gu
est | 73 # See http://rt.openssl.org/Ticket/Display.html?id=2466&user=guest&pass=gu
est |
74 ldflags += [ "-Wl,-Bsymbolic" ] | 74 ldflags = [ "-Wl,-Bsymbolic" ] |
75 } | 75 } |
76 } | 76 } |
77 } | 77 } |
OLD | NEW |