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 import("//build/config/android/config.gni") | 5 import("//build/config/android/config.gni") |
6 import("//build/config/sanitizers/sanitizers.gni") | 6 import("//build/config/sanitizers/sanitizers.gni") |
7 | 7 |
8 # Config for us and everybody else depending on BoringSSL. | 8 # Config for us and everybody else depending on BoringSSL. |
9 config("openssl_config") { | 9 config("openssl_config") { |
10 defines = [ "OPENSSL_SMALL" ] | |
11 include_dirs = [ "src/include" ] | 10 include_dirs = [ "src/include" ] |
12 if (is_component_build) { | 11 if (is_component_build) { |
13 defines += [ "BORINGSSL_SHARED_LIBRARY" ] | 12 defines = [ "BORINGSSL_SHARED_LIBRARY" ] |
14 } | 13 } |
15 } | 14 } |
16 | 15 |
17 # Config internal to this build file. | 16 # Config internal to this build file. |
18 config("openssl_internal_config") { | 17 config("openssl_internal_config") { |
19 visibility = [ ":*" ] # Only targets in this file can depend on this. | 18 visibility = [ ":*" ] # Only targets in this file can depend on this. |
20 } | 19 } |
21 | 20 |
22 # The list of BoringSSL files is kept in boringssl.gypi. | 21 # The list of BoringSSL files is kept in boringssl.gypi. |
23 gypi_values = | 22 gypi_values = |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 # is fixed. | 111 # is fixed. |
113 asmflags += [ "-march=armv8-a+crypto" ] | 112 asmflags += [ "-march=armv8-a+crypto" ] |
114 } else { | 113 } else { |
115 defines += [ "OPENSSL_NO_ASM" ] | 114 defines += [ "OPENSSL_NO_ASM" ] |
116 } | 115 } |
117 | 116 |
118 if (is_nacl) { | 117 if (is_nacl) { |
119 deps += [ "//native_client_sdk/src/libraries/nacl_io" ] | 118 deps += [ "//native_client_sdk/src/libraries/nacl_io" ] |
120 } | 119 } |
121 } | 120 } |
OLD | NEW |