| 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 if (is_component_build) { | 9 if (is_component_build) { |
| 10 defines = [ "BORINGSSL_SHARED_LIBRARY" ] | 10 defines = [ "BORINGSSL_SHARED_LIBRARY" ] |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 } else { | 86 } else { |
| 87 defines += [ "OPENSSL_NO_ASM" ] | 87 defines += [ "OPENSSL_NO_ASM" ] |
| 88 } | 88 } |
| 89 } else if (current_cpu == "arm" && (is_linux || is_android)) { | 89 } else if (current_cpu == "arm" && (is_linux || is_android)) { |
| 90 sources += gypi_values.boringssl_linux_arm_sources | 90 sources += gypi_values.boringssl_linux_arm_sources |
| 91 } else if (current_cpu == "arm64" && (is_linux || is_android)) { | 91 } else if (current_cpu == "arm64" && (is_linux || is_android)) { |
| 92 sources += gypi_values.boringssl_linux_aarch64_sources | 92 sources += gypi_values.boringssl_linux_aarch64_sources |
| 93 } else { | 93 } else { |
| 94 defines += [ "OPENSSL_NO_ASM" ] | 94 defines += [ "OPENSSL_NO_ASM" ] |
| 95 } | 95 } |
| 96 |
| 97 if (is_nacl) { |
| 98 deps += [ "//native_client_sdk/src/libraries/nacl_io" ] |
| 99 } |
| 96 } | 100 } |
| OLD | NEW |