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