| OLD | NEW |
| (Empty) | |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 # Trusted code |
| 6 if (!is_nacl) { |
| 7 # A simple shell for running untrusted binaries that talk to the Mojo |
| 8 # embedder. (No services.) |
| 9 executable("monacl_shell") { |
| 10 testonly = true |
| 11 sources = [ |
| 12 "monacl_shell.cc", |
| 13 ] |
| 14 deps = [ |
| 15 "//base:base", |
| 16 "//mojo/edk/system:system", |
| 17 "//mojo/nacl/sfi/nacl_bindings:monacl_sel", |
| 18 ] |
| 19 |
| 20 data_deps = [ "//mojo/nacl/sfi/nacl_bindings:irt_mojo(//build/toolchain/nacl
:irt_${target_cpu})" ] |
| 21 } |
| 22 } |
| 23 |
| 24 group("mojo_nacl") { |
| 25 deps = [ |
| 26 "//services/nacl:nacl_content_handler", |
| 27 ] |
| 28 } |
| 29 |
| 30 group("mojo_nacl_tests") { |
| 31 testonly = true |
| 32 deps = [ |
| 33 "//mojo/nacl:mojo_nacl_tests_untrusted(//build/toolchain/nacl:clang_newlib_$
{current_cpu})", |
| 34 ":monacl_shell", |
| 35 ] |
| 36 } |
| OLD | NEW |