OLD | NEW |
| (Empty) |
1 # Copyright 2016 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 'variables': { | |
7 'chromium_code': 1, | |
8 }, | |
9 'includes': [ | |
10 '../build/common_untrusted.gypi', | |
11 'mojo_public.gypi', | |
12 ], | |
13 'target_defaults' : { | |
14 'include_dirs': [ | |
15 '..', | |
16 ], | |
17 }, | |
18 'targets': [ | |
19 { | |
20 # GN version: //mojo/public/c/system | |
21 'target_name': 'mojo_public_system_nacl', | |
22 'type': 'none', | |
23 'variables': { | |
24 'nacl_untrusted_build': 1, | |
25 'nlib_target': 'libmojo_public_system_nacl.a', | |
26 'build_glibc': 0, | |
27 'build_newlib': 0, | |
28 'build_irt': 1, | |
29 'build_pnacl_newlib': 0, | |
30 'build_nonsfi_helper': 1, | |
31 }, | |
32 'sources': [ | |
33 '<@(mojo_public_system_sources)', | |
34 ], | |
35 'defines': [ | |
36 'MOJO_SYSTEM_IMPLEMENTATION', | |
37 ], | |
38 }, | |
39 { | |
40 # GN version: //mojo/public/cpp/bindings | |
41 'target_name': 'mojo_cpp_bindings_nacl', | |
42 'type': 'none', | |
43 'variables': { | |
44 'nacl_untrusted_build': 1, | |
45 'nlib_target': 'libmojo_cpp_bindings_nacl.a', | |
46 'build_glibc': 0, | |
47 'build_newlib': 0, | |
48 'build_irt': 1, | |
49 'build_pnacl_newlib': 0, | |
50 'build_nonsfi_helper': 1, | |
51 }, | |
52 'dependencies': [ | |
53 '../base/base_nacl.gyp:base_nacl', | |
54 '../base/base_nacl.gyp:base_nacl_nonsfi', | |
55 '../mojo/mojo_public.gyp:mojo_interface_bindings_cpp_sources', | |
56 'mojo_cpp_system_nacl', | |
57 ], | |
58 'sources': [ | |
59 '<@(mojo_cpp_bindings_sources)', | |
60 | |
61 # This comes from the mojo_interface_bindings_cpp_sources dependency. | |
62 '>@(mojom_generated_sources)', | |
63 ], | |
64 }, | |
65 { | |
66 # GN version: //mojo/public/cpp/system | |
67 'target_name': 'mojo_cpp_system_nacl', | |
68 'type': 'none', | |
69 'variables': { | |
70 'nacl_untrusted_build': 1, | |
71 'nlib_target': 'libmojo_cpp_system_nacl.a', | |
72 'build_glibc': 0, | |
73 'build_newlib': 0, | |
74 'build_irt': 1, | |
75 'build_pnacl_newlib': 0, | |
76 'build_nonsfi_helper': 1, | |
77 }, | |
78 'sources': [ | |
79 '<@(mojo_cpp_system_sources)', | |
80 ], | |
81 'dependencies': [ | |
82 '../base/base_nacl.gyp:base_nacl', | |
83 'mojo_public_system_nacl', | |
84 ], | |
85 }, | |
86 ], | |
87 } | |
OLD | NEW |