Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(305)

Unified Diff: mojo/nacl/sfi/BUILD.gn

Issue 1398213003: Refactored Non-SFI and SFI NaCl into separate directories. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: mojo/nacl/sfi/BUILD.gn
diff --git a/mojo/nacl/sfi/BUILD.gn b/mojo/nacl/sfi/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..963c70f04a5c1fee9cacd1d88e7cf89e32e7b946
--- /dev/null
+++ b/mojo/nacl/sfi/BUILD.gn
@@ -0,0 +1,36 @@
+# Copyright 2015 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# Trusted code
+if (!is_nacl) {
+ # A simple shell for running untrusted binaries that talk to the Mojo
+ # embedder. (No services.)
+ executable("monacl_shell") {
+ testonly = true
+ sources = [
+ "monacl_shell.cc",
+ ]
+ deps = [
+ "//base:base",
+ "//mojo/edk/system:system",
+ "//mojo/nacl/sfi/nacl_bindings:monacl_sel",
+ ]
+
+ data_deps = [ "//mojo/nacl/sfi/nacl_bindings:irt_mojo(//build/toolchain/nacl:irt_${target_cpu})" ]
+ }
+}
+
+group("mojo_nacl") {
+ deps = [
+ "//services/nacl:nacl_content_handler",
+ ]
+}
+
+group("mojo_nacl_tests") {
+ testonly = true
+ deps = [
+ "//mojo/nacl:mojo_nacl_tests_untrusted(//build/toolchain/nacl:clang_newlib_${current_cpu})",
+ ":monacl_shell",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698