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_sfi") { | |
10 testonly = true | |
11 sources = [ | |
12 "monacl_shell.cc", | |
13 ] | |
14 deps = [ | |
15 "//base", | |
16 "//mojo/edk/base_edk", | |
17 "//mojo/edk/system", | |
18 "//mojo/gles2:mgl", | |
19 "//mojo/nacl/sfi/nacl_bindings:monacl_sel", | |
20 "//mojo/public/cpp/environment:standalone", | |
21 ] | |
22 | |
23 data_deps = [ | |
24 "//mojo/nacl/sfi/nacl_bindings:irt_mojo(//build/toolchain/nacl:irt_${targe
t_cpu})", | |
25 ] | |
26 } | |
27 } | |
28 | |
29 group("mojo_nacl") { | |
30 deps = [ | |
31 "//services/nacl/sfi:content_handler_sfi_nexe", | |
32 ] | |
33 } | |
34 | |
35 group("mojo_nacl_tests_sfi") { | |
36 testonly = true | |
37 deps = [ | |
38 "//mojo/nacl:mojo_nacl_tests_untrusted(//build/toolchain/nacl:clang_newlib_$
{current_cpu})", | |
39 ":monacl_shell_sfi", | |
40 ] | |
41 } | |
OLD | NEW |