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

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

Issue 988693005: Chromium roll (https://codereview.chromium.org/976353002) (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: fixed bad android build patch Created 5 years, 9 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/edk/system/data_pipe.h ('k') | mojo/public/mojo_application.gni » ('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 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_${cpu_arch})" ] 20 data_deps = [ "//nacl_bindings:irt_mojo(//native_client/build/toolchain/nacl :irt_${target_cpu})" ]
21 } 21 }
22 } 22 }
23 23
24 # Untrusted code 24 # Untrusted code
25 if (is_nacl) { 25 if (is_nacl) {
26 # Unit test for the Mojo public API. 26 # Unit test for the Mojo public API.
27 executable("monacl_test") { 27 executable("monacl_test") {
28 testonly = true 28 testonly = true
29 sources = [ 29 sources = [
30 "//mojo/public/cpp/system/tests/core_unittest.cc", 30 "//mojo/public/cpp/system/tests/core_unittest.cc",
(...skipping 11 matching lines...) Expand all
42 42
43 group("mojo_nacl") { 43 group("mojo_nacl") {
44 deps = [ 44 deps = [
45 "//services/nacl:nacl_content_handler", 45 "//services/nacl:nacl_content_handler",
46 ] 46 ]
47 } 47 }
48 48
49 group("mojo_nacl_tests") { 49 group("mojo_nacl_tests") {
50 testonly = true 50 testonly = true
51 nacl_toolchain = 51 nacl_toolchain =
52 "//native_client/build/toolchain/nacl:clang_newlib_${cpu_arch}" 52 "//native_client/build/toolchain/nacl:clang_newlib_${target_cpu}"
53 deps = [ 53 deps = [
54 ":monacl_shell", 54 ":monacl_shell",
55 ":monacl_test($nacl_toolchain)", 55 ":monacl_test($nacl_toolchain)",
56 "//examples/apptest($nacl_toolchain)", 56 "//examples/apptest($nacl_toolchain)",
57 "//examples/wget($nacl_toolchain)", 57 "//examples/wget($nacl_toolchain)",
58 ] 58 ]
59 } 59 }
OLDNEW
« no previous file with comments | « mojo/edk/system/data_pipe.h ('k') | mojo/public/mojo_application.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698