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 library for launching a NaCl sandbox connected to a Mojo embedder. | |
8 source_set("monacl_sel") { | |
9 sources = [ | |
10 "mojo_syscall.cc", | |
11 "mojo_syscall_internal.h", | |
12 "monacl_sel_main.cc", | |
13 ] | |
14 deps = [ | |
15 "//mojo/public/c/system", | |
16 "//mojo/public/platform/native:system_impl_private_api", | |
17 | |
18 # This target makes sure we have all the pre-processor defines needed to | |
19 # use NaCl's headers. | |
20 "//build/config/nacl:nacl_base", | |
21 "//native_client/src/trusted/desc:nrd_xfer", | |
22 "//native_client/src/trusted/service_runtime:sel_main_chrome", | |
23 ] | |
24 } | |
25 } | |
26 | |
27 # Untrusted code | |
28 if (is_nacl) { | |
29 executable("irt_mojo") { | |
30 cflags_c = [ "-std=c99" ] | |
31 sources = [ | |
32 "../../../../mojo/public/platform/nacl/mojo_irt.h", | |
33 "irt_entry_mojo.c", | |
34 "mojo_irt.c", | |
35 ] | |
36 deps = [ | |
37 "//mojo/public/c/system", | |
38 "//build/config/nacl:nacl_base", | |
39 "//native_client/src/untrusted/irt:irt_core_lib", | |
40 "//native_client/src/untrusted/nacl:imc_syscalls", | |
41 ] | |
42 } | |
43 } | |
OLD | NEW |