Index: shell/BUILD.gn |
diff --git a/shell/BUILD.gn b/shell/BUILD.gn |
index 3f4838a69c0d969768b0be77038b08bb4ece83f6..168ea9c23d2c67a1197c12aeb86d0c7f05c2ed69 100644 |
--- a/shell/BUILD.gn |
+++ b/shell/BUILD.gn |
@@ -3,6 +3,7 @@ |
# found in the LICENSE file. |
import("//build/config/ui.gni") |
+import("//mojo/nacl/config.gni") |
import("//mojo/public/mojo.gni") |
import("//mojo/public/tools/bindings/mojom.gni") |
import("//testing/test.gni") |
@@ -191,6 +192,19 @@ source_set("lib") { |
"//url", |
] |
+ if (mojo_use_nacl) { |
+ defines = [ "MOJO_USE_NACL=1" ] |
+ |
+ sources += [ |
+ "nacl/nacl_service_runner.cc", |
+ "nacl/nacl_service_runner.h", |
+ ] |
+ |
+ deps += [ "//mojo/nacl:monacl_sel" ] |
+ |
+ data_deps = [ "//mojo/nacl:irt_mojo(//native_client/build/toolchain/nacl:irt_${cpu_arch})" ] |
+ } |
+ |
if (is_win) { |
deps -= [ "//shell/domain_socket" ] |
} |