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

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: Better diff 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
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 ],
59 },
60 {
61 'target_name': 'monacl_test',
62 'type': 'none',
63 'variables': {
64 'nexe_target': 'monacl_test',
65 'build_newlib': 1,
66 'link_flags': [
67 '-pthread',
68 '-lmojo',
69 ],
70 'sources': [
71 '<@(mojo_public_system_unittest_sources)',
72 ],
73 },
74 'dependencies': [
75 '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
76 '<(DEPTH)/native_client/src/untrusted/nacl/nacl.gyp:nacl_lib',
77 '../testing/gtest_nacl.gyp:gtest_nacl',
78 '../testing/gtest_nacl.gyp:gtest_main_nacl',
79 'mojo_nacl',
80 ],
81 },
82 ],
83 }],
84 ],
85 }
OLDNEW
« no previous file with comments | « mojo/mojo_srcs.gypi ('k') | mojo/monacl/DEPS » ('j') | mojo/monacl/DEPS » ('J')

Powered by Google App Engine
This is Rietveld 408576698