Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(199)

Side by Side Diff: mojo/nacl/sfi/nacl_bindings/BUILD.gn

Issue 1398213003: Refactored Non-SFI and SFI NaCl into separate directories. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « mojo/nacl/sfi/monacl_shell.cc ('k') | mojo/nacl/sfi/nacl_bindings/irt_entry_mojo.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 library for launching a NaCl sandbox connected to a Mojo embedder. 7 # A library for launching a NaCl sandbox connected to a Mojo embedder.
8 source_set("monacl_sel") { 8 source_set("monacl_sel") {
9 sources = [ 9 sources = [
10 "mojo_syscall.cc", 10 "mojo_syscall.cc",
11 "mojo_syscall_internal.h", 11 "mojo_syscall_internal.h",
12 "monacl_sel_main.cc", 12 "monacl_sel_main.cc",
13 ] 13 ]
14 deps = [ 14 deps = [
15 "../mojo/public/c/system", 15 "//mojo/public/c/system",
16 "//mojo/public/platform/native:system_impl_private_api",
16 17
17 # This target makes sure we have all the pre-processor defines needed to 18 # This target makes sure we have all the pre-processor defines needed to
18 # use NaCl's headers. 19 # use NaCl's headers.
19 "//build/config/nacl:nacl_base", 20 "//build/config/nacl:nacl_base",
20 "//native_client/src/trusted/desc:nrd_xfer", 21 "//native_client/src/trusted/desc:nrd_xfer",
21 "//native_client/src/trusted/service_runtime:sel_main_chrome", 22 "//native_client/src/trusted/service_runtime:sel_main_chrome",
22 ] 23 ]
23 } 24 }
24 } 25 }
25 26
26 # Untrusted code 27 # Untrusted code
27 if (is_nacl) { 28 if (is_nacl) {
28 executable("irt_mojo") { 29 executable("irt_mojo") {
29 cflags_c = [ "-std=c99" ] 30 cflags_c = [ "-std=c99" ]
30 sources = [ 31 sources = [
31 "../mojo/public/platform/nacl/mojo_irt.h", 32 "../../../../mojo/public/platform/nacl/mojo_irt.h",
32 "irt_entry_mojo.c", 33 "irt_entry_mojo.c",
33 "mojo_irt.c", 34 "mojo_irt.c",
34 ] 35 ]
35 deps = [ 36 deps = [
36 "../mojo/public/c/system", 37 "//mojo/public/c/system",
37 "//build/config/nacl:nacl_base", 38 "//build/config/nacl:nacl_base",
38 "//native_client/src/untrusted/irt:irt_core_lib", 39 "//native_client/src/untrusted/irt:irt_core_lib",
39 "//native_client/src/untrusted/nacl:imc_syscalls", 40 "//native_client/src/untrusted/nacl:imc_syscalls",
40 ] 41 ]
41 } 42 }
42 } 43 }
OLDNEW
« no previous file with comments | « mojo/nacl/sfi/monacl_shell.cc ('k') | mojo/nacl/sfi/nacl_bindings/irt_entry_mojo.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698