summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-third__party_boringssl_BUILD.gn
blob: d1ea1b168a63f28ea7574ed0435d3d38c64d1340 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- third_party/boringssl/BUILD.gn.orig	2017-01-26 00:49:29 UTC
+++ third_party/boringssl/BUILD.gn
@@ -83,7 +83,7 @@ if (is_win && !is_msan) {
     } else if (current_cpu == "x64") {
       if (is_mac) {
         sources += crypto_sources_mac_x86_64
-      } else if (is_linux || is_android) {
+      } else if (is_linux || is_bsd || is_android) {
         sources += crypto_sources_linux_x86_64
       } else {
         public_configs = [ ":no_asm_config" ]
@@ -91,14 +91,14 @@ if (is_win && !is_msan) {
     } else if (current_cpu == "x86") {
       if (is_mac) {
         sources += crypto_sources_mac_x86
-      } else if (is_linux || is_android) {
+      } else if (is_linux || is_bsd || is_android) {
         sources += crypto_sources_linux_x86
       } else {
         public_configs = [ ":no_asm_config" ]
       }
-    } else if (current_cpu == "arm" && (is_linux || is_android)) {
+    } else if (current_cpu == "arm" && (is_linux || is_bsd || is_android)) {
       sources += crypto_sources_linux_arm
-    } else if (current_cpu == "arm64" && (is_linux || is_android)) {
+    } else if (current_cpu == "arm64" && (is_linux || is_bsd || is_android)) {
       sources += crypto_sources_linux_aarch64
     } else {
       public_configs = [ ":no_asm_config" ]