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

Side by Side Diff: mojo/monacl.gypi

Issue 385983008: Mojo + NaCl prototype. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Edits Created 6 years, 5 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/mojo_srcs.gypi ('k') | mojo/monacl/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2014 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 {
6 'conditions': [
7 ['disable_nacl==0 and disable_nacl_untrusted==0', {
8 'includes': [
9 '../build/common_untrusted.gypi',
10 '../components/nacl/nacl_defines.gypi',
11 ],
12 'targets': [
13 {
14 'target_name': 'monacl_sel',
15 'type': 'static_library',
16 'dependencies': [
17 '<(DEPTH)/native_client/src/trusted/service_runtime/service_runtime. gyp:sel',
18 ],
19 'defines': [
20 '<@(nacl_defines)',
21 ],
22 'include_dirs': [
23 '..',
24 ],
25 'sources': [
26 'monacl/mojo_syscall.cc',
27 'monacl/monacl_sel_main.cc',
28 ],
29 },
30 {
31 'target_name': 'monacl_shell',
32 'type': 'executable',
33 'dependencies': [
34 '../base/base.gyp:base',
35 'mojo_system_impl',
36 'monacl_sel',
37 # Make sure the IRT is built.
38 '<(DEPTH)/native_client/src/untrusted/irt/irt.gyp:irt_core_nexe',
39 ],
40 'sources': [
41 'monacl/monacl_shell.cc',
42 ],
43 },
44 {
45 'target_name': 'mojo_nacl',
46 'type': 'none',
47 'variables': {
48 'nlib_target': 'libmojo.a',
49 'build_glibc': 0,
50 'build_newlib': 1,
51 'build_pnacl_newlib': 0,
52 },
53 'defines': [
54 '<@(nacl_defines)',
55 ],
56 'sources': [
57 'monacl/libmojo.cc',
58 '<(DEPTH)/native_client/src/untrusted/nacl/imc_sendmsg.c',
Mark Seaborn 2014/07/21 23:25:44 Please don't do this! Instead, use the 'imc_sysca
59 ],
60 },
61 {
62 'target_name': 'monacl_test',
63 'type': 'none',
64 'variables': {
65 'nexe_target': 'monacl_test',
66 'build_newlib': 1,
67 'link_flags': [
68 '-pthread',
69 '-lmojo',
70 ],
71 'sources': [
72 '<@(mojo_public_system_unittest_sources)',
73 ],
74 },
75 'dependencies': [
76 '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
77 '<(DEPTH)/native_client/src/untrusted/nacl/nacl.gyp:nacl_lib',
78 '../testing/gtest_nacl.gyp:gtest_nacl',
79 '../testing/gtest_nacl.gyp:gtest_main_nacl',
80 'mojo_nacl',
81 ],
82 },
83 ],
84 }],
85 ],
86 }
OLDNEW
« no previous file with comments | « mojo/mojo_srcs.gypi ('k') | mojo/monacl/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698