summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-native__client__sdk_src_BUILD.gn
blob: 6983b7f9dfae6168595f9d07dfb85c72f0668144 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- native_client_sdk/src/BUILD.gn.orig	2017-04-19 19:06:36 UTC
+++ native_client_sdk/src/BUILD.gn
@@ -7,7 +7,7 @@ import("//build/config/features.gni")
 declare_args() {
   # Set to true if cross compiling trusted (e.g. building sel_ldr_arm on x86)
   # binaries is supported.
-  enable_cross_trusted = is_linux
+  enable_cross_trusted = is_linux || is_bsd
 
   # Build the nacl SDK untrusted components.  This is disabled by default since
   # not all NaCl untrusted compilers are in goma (e.g arm-nacl-glibc)
@@ -28,7 +28,7 @@ if (enable_nacl) {
         "//native_client/src/trusted/service_runtime:sel_ldr",
         "//native_client/src/trusted/validator/driver:ncval_new",
       ]
-      if (is_linux) {
+      if (is_linux || is_bsd) {
         deps += [ "//native_client/src/nonsfi/loader:nonsfi_loader" ]
       }
     }