Import devel/llvm50 version 5.0.0_1
[dports.git] / www / chromium / files / patch-third__party_boringssl_BUILD.gn
1 --- third_party/boringssl/BUILD.gn.orig 2016-08-03 22:02:37.000000000 +0300
2 +++ third_party/boringssl/BUILD.gn      2016-09-03 01:48:31.761556000 +0300
3 @@ -83,7 +83,7 @@
4      } else if (current_cpu == "x64") {
5        if (is_mac) {
6          sources += crypto_sources_mac_x86_64
7 -      } else if (is_linux || is_android) {
8 +      } else if (is_linux || is_bsd || is_android) {
9          sources += crypto_sources_linux_x86_64
10        } else {
11          public_configs = [ ":no_asm_config" ]
12 @@ -91,14 +91,14 @@
13      } else if (current_cpu == "x86") {
14        if (is_mac) {
15          sources += crypto_sources_mac_x86
16 -      } else if (is_linux || is_android) {
17 +      } else if (is_linux || is_bsd || is_android) {
18          sources += crypto_sources_linux_x86
19        } else {
20          public_configs = [ ":no_asm_config" ]
21        }
22 -    } else if (current_cpu == "arm" && (is_linux || is_android)) {
23 +    } else if (current_cpu == "arm" && (is_linux || is_bsd || is_android)) {
24        sources += crypto_sources_linux_arm
25 -    } else if (current_cpu == "arm64" && (is_linux || is_android)) {
26 +    } else if (current_cpu == "arm64" && (is_linux || is_bsd || is_android)) {
27        sources += crypto_sources_linux_aarch64
28  
29        # TODO(davidben): Remove explicit arch flag once https://crbug.com/576858