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

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

Issue 1323823002: Adding nonsfi content handler (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Respond to code review, git cl format Created 5 years, 3 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 | « no previous file | mojo/nacl/irt_mojo_nonsfi.h » ('j') | mojo/nacl/irt_mojo_nonsfi.h » ('J')
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 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 "//nacl_bindings:monacl_sel", 17 "//nacl_bindings:monacl_sel",
18 ] 18 ]
19 19
20 data_deps = [ "//nacl_bindings:irt_mojo(//native_client/build/toolchain/nacl :irt_${target_cpu})" ] 20 data_deps = [ "//nacl_bindings:irt_mojo(//native_client/build/toolchain/nacl :irt_${target_cpu})" ]
21 } 21 }
22 22
23 executable("monacl_shell_nonsfi") { 23 executable("monacl_shell_nonsfi") {
24 testonly = true 24 testonly = true
25 sources = [ 25 sources = [
26 "monacl_shell_nonsfi.cc", 26 "monacl_shell_nonsfi.cc",
27 ] 27 ]
28 deps = [ 28 deps = [
29 ":irt_mojo_nonsfi",
29 "//mojo/edk/system", 30 "//mojo/edk/system",
30 "//mojo/public/c/system",
31 "//mojo/public/platform/nacl:mojo_irt_header",
32 "//native_client/src/nonsfi/irt:irt_interfaces",
33 "//native_client/src/nonsfi/loader:elf_loader", 31 "//native_client/src/nonsfi/loader:elf_loader",
34 ] 32 ]
35 } 33 }
36 } 34 }
37 35
38 # Untrusted code 36 # Untrusted code
39 if (is_nacl) { 37 if (is_nacl) {
40 # Unit test for the Mojo public API. 38 # Unit test for the Mojo public API.
41 executable("monacl_test") { 39 executable("monacl_test") {
42 testonly = true 40 testonly = true
(...skipping 24 matching lines...) Expand all
67 #"//services/http_server", 65 #"//services/http_server",
68 "//services/http_server:apptests", 66 "//services/http_server:apptests",
69 "//services/view_manager:mojo_view_manager_client_apptests", 67 "//services/view_manager:mojo_view_manager_client_apptests",
70 "//services/view_manager:view_manager_service_apptests", 68 "//services/view_manager:view_manager_service_apptests",
71 "//services/window_manager:window_manager_apptests", 69 "//services/window_manager:window_manager_apptests",
72 "//shell:apptests", 70 "//shell:apptests",
73 ] 71 ]
74 } 72 }
75 } 73 }
76 74
75 static_library("irt_mojo_nonsfi") {
76 sources = [
77 "irt_mojo_nonsfi.cc",
78 "irt_mojo_nonsfi.h",
79 ]
80
81 deps = [
82 "//mojo/public/c/system",
83 "//mojo/public/platform/nacl:mojo_irt_header",
84 "//native_client/src/nonsfi/irt:irt_interfaces",
85 ]
86 }
87
77 group("mojo_nacl") { 88 group("mojo_nacl") {
78 deps = [ 89 deps = [
79 "//services/nacl:nacl_content_handler", 90 "//services/nacl:nacl_content_handler",
91 "//services/nacl:nacl_content_handler_nonsfi",
80 ] 92 ]
81 } 93 }
82 94
83 group("mojo_pnacl_tests") { 95 group("mojo_pnacl_tests") {
84 testonly = true 96 testonly = true
85 deps = [ 97 deps = [
86 ":monacl_test(//native_client/build/toolchain/nacl:newlib_pnacl)", 98 ":monacl_test(//native_client/build/toolchain/nacl:newlib_pnacl)",
87 ] 99 ]
88 } 100 }
89 101
90 group("mojo_nacl_tests") { 102 group("mojo_nacl_tests") {
91 testonly = true 103 testonly = true
92 deps = [ 104 deps = [
93 ":mojo_nacl_tests_untrusted(//native_client/build/toolchain/nacl:clang_newli b_${current_cpu})", 105 ":mojo_nacl_tests_untrusted(//native_client/build/toolchain/nacl:clang_newli b_${current_cpu})",
94 ":monacl_shell", 106 ":monacl_shell",
95 ":mojo_pnacl_tests", 107 ":mojo_pnacl_tests",
96 ] 108 ]
97 } 109 }
OLDNEW
« no previous file with comments | « no previous file | mojo/nacl/irt_mojo_nonsfi.h » ('j') | mojo/nacl/irt_mojo_nonsfi.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698