| 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") |
| 6 |
| 5 # Config for us and everybody else depending on BoringSSL. | 7 # Config for us and everybody else depending on BoringSSL. |
| 6 config("openssl_config") { | 8 config("openssl_config") { |
| 7 include_dirs = [] | 9 include_dirs = [] |
| 8 include_dirs += [ "src/include" ] | 10 include_dirs += [ "src/include" ] |
| 9 if (is_component_build) { | 11 if (is_component_build) { |
| 10 defines = [ "BORINGSSL_SHARED_LIBRARY" ] | 12 defines = [ "BORINGSSL_SHARED_LIBRARY" ] |
| 11 } | 13 } |
| 12 } | 14 } |
| 13 | 15 |
| 14 # Config internal to this build file. | 16 # Config internal to this build file. |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 defines += [ "OPENSSL_NO_ASM" ] | 89 defines += [ "OPENSSL_NO_ASM" ] |
| 88 } | 90 } |
| 89 } else if (current_cpu == "arm" && (is_linux || is_android)) { | 91 } else if (current_cpu == "arm" && (is_linux || is_android)) { |
| 90 sources += gypi_values.boringssl_linux_arm_sources | 92 sources += gypi_values.boringssl_linux_arm_sources |
| 91 } else if (current_cpu == "arm64" && (is_linux || is_android)) { | 93 } else if (current_cpu == "arm64" && (is_linux || is_android)) { |
| 92 sources += gypi_values.boringssl_linux_aarch64_sources | 94 sources += gypi_values.boringssl_linux_aarch64_sources |
| 93 } else { | 95 } else { |
| 94 defines += [ "OPENSSL_NO_ASM" ] | 96 defines += [ "OPENSSL_NO_ASM" ] |
| 95 } | 97 } |
| 96 } | 98 } |
| OLD | NEW |