blob: ad61038ad139b001595c4bc1171b6663a42ef8b4 [file] [log] [blame]
# 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/gles2:mgl",
"//mojo/nacl/sfi/nacl_bindings:monacl_sel",
"//mojo/public/cpp/environment:standalone",
]
data_deps = [
"//mojo/nacl/sfi/nacl_bindings:irt_mojo(//build/toolchain/nacl:irt_${target_cpu})",
]
}
}
group("mojo_nacl") {
deps = [
"//services/nacl:content_handler_sfi",
]
}
group("mojo_nacl_tests") {
testonly = true
deps = [
"//mojo/nacl:mojo_nacl_tests_untrusted(//build/toolchain/nacl:clang_newlib_${current_cpu})",
":monacl_shell",
]
}