Differential D22184 Diff 64134 www/qt5-webengine/files/patch-src_3rdparty_chromium_third__party_boringssl_BUILD.gn
Changeset View
Changeset View
Standalone View
Standalone View
www/qt5-webengine/files/patch-src_3rdparty_chromium_third__party_boringssl_BUILD.gn
--- src/3rdparty/chromium/third_party/boringssl/BUILD.gn.orig 2018-11-13 18:25:11 UTC | --- src/3rdparty/chromium/third_party/boringssl/BUILD.gn.orig 2019-05-23 14:39:34.000000000 +0200 | ||||
+++ src/3rdparty/chromium/third_party/boringssl/BUILD.gn | +++ src/3rdparty/chromium/third_party/boringssl/BUILD.gn 2019-10-29 02:28:30.690043000 +0100 | ||||
@@ -72,7 +72,7 @@ if (is_win && !is_msan) { | @@ -71,7 +77,7 @@ | ||||
} else if (current_cpu == "x64") { | } else if (current_cpu == "x64") { | ||||
if (is_mac) { | if (is_mac) { | ||||
sources += crypto_sources_mac_x86_64 | sources += crypto_sources_mac_x86_64 | ||||
- } else if (is_linux || is_android) { | - } else if (is_linux || is_android) { | ||||
+ } else if (is_linux || is_bsd || is_android) { | + } else if (is_linux || is_bsd || is_android) { | ||||
sources += crypto_sources_linux_x86_64 | sources += crypto_sources_linux_x86_64 | ||||
} else { | } else { | ||||
public_configs = [ ":no_asm_config" ] | public_configs = [ ":no_asm_config" ] | ||||
@@ -80,13 +80,13 @@ if (is_win && !is_msan) { | @@ -79,13 +85,13 @@ | ||||
} else if (current_cpu == "x86") { | } else if (current_cpu == "x86") { | ||||
if (is_mac) { | if (is_mac) { | ||||
sources += crypto_sources_mac_x86 | sources += crypto_sources_mac_x86 | ||||
- } else if (is_linux || is_android) { | - } else if (is_linux || is_android) { | ||||
+ } else if (is_linux || is_bsd || is_android) { | + } else if (is_linux || is_bsd || is_android) { | ||||
sources += crypto_sources_linux_x86 | sources += crypto_sources_linux_x86 | ||||
} else { | } else { | ||||
public_configs = [ ":no_asm_config" ] | public_configs = [ ":no_asm_config" ] | ||||
} | } | ||||
} else if (current_cpu == "arm") { | } else if (current_cpu == "arm") { | ||||
- if (is_linux || is_android) { | - if (is_linux || is_android) { | ||||
+ if (is_linux || is_bsd || is_android) { | + if (is_linux || is_bsd || is_android) { | ||||
sources += crypto_sources_linux_arm | sources += crypto_sources_linux_arm | ||||
} else if (is_ios) { | } else if (is_ios) { | ||||
sources += crypto_sources_ios_arm | sources += crypto_sources_ios_arm | ||||
@@ -94,7 +94,7 @@ if (is_win && !is_msan) { | @@ -93,10 +99,17 @@ | ||||
public_configs = [ ":no_asm_config" ] | public_configs = [ ":no_asm_config" ] | ||||
} | } | ||||
} else if (current_cpu == "arm64") { | } else if (current_cpu == "arm64") { | ||||
- if (is_linux || is_android) { | - if (is_linux || is_android) { | ||||
+ if (is_linux || is_bsd || is_android) { | + if (is_linux || is_bsd || is_android) { | ||||
sources += crypto_sources_linux_aarch64 | sources += crypto_sources_linux_aarch64 | ||||
} else if (is_ios) { | } else if (is_ios) { | ||||
sources += crypto_sources_ios_aarch64 | sources += crypto_sources_ios_aarch64 | ||||
+ } else { | |||||
+ public_configs = [ ":no_asm_config" ] | |||||
+ } | |||||
+ } else if (current_cpu == "ppc64") { | |||||
+ if (is_linux || is_bsd) { | |||||
+ # TODO: ppc64 (be) check | |||||
+ sources += crypto_sources_linux_ppc64le | |||||
} else { | |||||
public_configs = [ ":no_asm_config" ] | |||||
} |