forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmojo_public_nacl.gyp
87 lines (85 loc) · 2.23 KB
/
mojo_public_nacl.gyp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# Copyright 2016 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'variables': {
'chromium_code': 1,
},
'includes': [
'../build/common_untrusted.gypi',
'mojo_public.gypi',
],
'target_defaults' : {
'include_dirs': [
'..',
],
},
'targets': [
{
# GN version: //mojo/public/c/system
'target_name': 'mojo_public_system_nacl',
'type': 'none',
'variables': {
'nacl_untrusted_build': 1,
'nlib_target': 'libmojo_public_system_nacl.a',
'build_glibc': 0,
'build_newlib': 0,
'build_irt': 1,
'build_pnacl_newlib': 0,
'build_nonsfi_helper': 1,
},
'sources': [
'<@(mojo_public_system_sources)',
],
'defines': [
'MOJO_SYSTEM_IMPLEMENTATION',
],
},
{
# GN version: //mojo/public/cpp/bindings
'target_name': 'mojo_cpp_bindings_nacl',
'type': 'none',
'variables': {
'nacl_untrusted_build': 1,
'nlib_target': 'libmojo_cpp_bindings_nacl.a',
'build_glibc': 0,
'build_newlib': 0,
'build_irt': 1,
'build_pnacl_newlib': 0,
'build_nonsfi_helper': 1,
},
'dependencies': [
'../base/base_nacl.gyp:base_nacl',
'../base/base_nacl.gyp:base_nacl_nonsfi',
'../mojo/mojo_public.gyp:mojo_interface_bindings_cpp_sources',
'mojo_cpp_system_nacl',
],
'sources': [
'<@(mojo_cpp_bindings_sources)',
# This comes from the mojo_interface_bindings_cpp_sources dependency.
'>@(mojom_generated_sources)',
],
},
{
# GN version: //mojo/public/cpp/system
'target_name': 'mojo_cpp_system_nacl',
'type': 'none',
'variables': {
'nacl_untrusted_build': 1,
'nlib_target': 'libmojo_cpp_system_nacl.a',
'build_glibc': 0,
'build_newlib': 0,
'build_irt': 1,
'build_pnacl_newlib': 0,
'build_nonsfi_helper': 1,
},
'sources': [
'<@(mojo_cpp_system_sources)',
],
'dependencies': [
'../base/base_nacl.gyp:base_nacl',
'mojo_public_system_nacl',
],
},
],
}