| 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/gles2:mgl", |
| 18 "//mojo/nacl/sfi/nacl_bindings:monacl_sel", | 18 "//mojo/nacl/sfi/nacl_bindings:monacl_sel", |
| 19 "//mojo/public/cpp/environment:standalone", | 19 "//mojo/public/cpp/environment:standalone", |
| 20 ] | 20 ] |
| 21 | 21 |
| 22 data_deps = [ | 22 data_deps = [ |
| 23 "//mojo/nacl/sfi/nacl_bindings:irt_mojo(//build/toolchain/nacl:irt_${targe
t_cpu})", | 23 "//mojo/nacl/sfi/nacl_bindings:irt_mojo(//build/toolchain/nacl:irt_${targe
t_cpu})", |
| 24 ] | 24 ] |
| 25 } | 25 } |
| 26 } | 26 } |
| 27 | 27 |
| 28 group("mojo_nacl") { | 28 group("mojo_nacl") { |
| 29 deps = [ | 29 deps = [ |
| 30 "//services/nacl:nacl_content_handler", | 30 "//services/nacl:content_handler_sfi", |
| 31 ] | 31 ] |
| 32 } | 32 } |
| 33 | 33 |
| 34 group("mojo_nacl_tests") { | 34 group("mojo_nacl_tests") { |
| 35 testonly = true | 35 testonly = true |
| 36 deps = [ | 36 deps = [ |
| 37 "//mojo/nacl:mojo_nacl_tests_untrusted(//build/toolchain/nacl:clang_newlib_$
{current_cpu})", | 37 "//mojo/nacl:mojo_nacl_tests_untrusted(//build/toolchain/nacl:clang_newlib_$
{current_cpu})", |
| 38 ":monacl_shell", | 38 ":monacl_shell", |
| 39 ] | 39 ] |
| 40 } | 40 } |
| OLD | NEW |