| 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/sanitizers/sanitizers.gni") | 5 import("//build/config/sanitizers/sanitizers.gni") |
| 6 | 6 |
| 7 # Config for us and everybody else depending on BoringSSL. | 7 # Config for us and everybody else depending on BoringSSL. |
| 8 config("openssl_config") { | 8 config("openssl_config") { |
| 9 include_dirs = [] | 9 defines = [ "OPENSSL_SMALL" ] |
| 10 include_dirs += [ "src/include" ] | 10 include_dirs = [ "src/include" ] |
| 11 if (is_component_build) { | 11 if (is_component_build) { |
| 12 defines = [ "BORINGSSL_SHARED_LIBRARY" ] | 12 defines += [ "BORINGSSL_SHARED_LIBRARY" ] |
| 13 } | 13 } |
| 14 } | 14 } |
| 15 | 15 |
| 16 # Config internal to this build file. | 16 # Config internal to this build file. |
| 17 config("openssl_internal_config") { | 17 config("openssl_internal_config") { |
| 18 visibility = [ ":*" ] # Only targets in this file can depend on this. | 18 visibility = [ ":*" ] # Only targets in this file can depend on this. |
| 19 } | 19 } |
| 20 | 20 |
| 21 # The list of BoringSSL files is kept in boringssl.gypi. | 21 # The list of BoringSSL files is kept in boringssl.gypi. |
| 22 gypi_values = | 22 gypi_values = |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 } else if (current_cpu == "arm64" && (is_linux || is_android)) { | 94 } else if (current_cpu == "arm64" && (is_linux || is_android)) { |
| 95 sources += gypi_values.boringssl_linux_aarch64_sources | 95 sources += gypi_values.boringssl_linux_aarch64_sources |
| 96 } else { | 96 } else { |
| 97 defines += [ "OPENSSL_NO_ASM" ] | 97 defines += [ "OPENSSL_NO_ASM" ] |
| 98 } | 98 } |
| 99 | 99 |
| 100 if (is_nacl) { | 100 if (is_nacl) { |
| 101 deps += [ "//native_client_sdk/src/libraries/nacl_io" ] | 101 deps += [ "//native_client_sdk/src/libraries/nacl_io" ] |
| 102 } | 102 } |
| 103 } | 103 } |
| OLD | NEW |