This repository was archived by the owner on Aug 31, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 226
Expand file tree
/
Copy pathkernel-standalone.gyp
More file actions
119 lines (105 loc) · 1.98 KB
/
kernel-standalone.gyp
File metadata and controls
119 lines (105 loc) · 1.98 KB
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
'variables':
{
'module_name': 'kernel-standalone',
'module_test_dependencies':
[
'kernel-standalone',
'engine-common.gyp:security-community',
'../libfoundation/libfoundation.gyp:libFoundation',
'../libgraphics/libgraphics.gyp:libGraphics',
],
'module_test_include_dirs':
[
'include',
'src',
],
'module_test_defines': [ 'MODE_STANDALONE', ],
'module_test_sources':
[
'<@(engine_test_source_files)',
],
},
'includes':
[
'../common.gypi',
'engine-sources.gypi',
'../config/cpptest.gypi'
],
'targets':
[
{
'target_name': 'kernel-standalone',
'type': 'static_library',
'dependencies':
[
'kernel.gyp:kernel',
],
'includes':
[
'kernel-mode-template.gypi',
],
'variables':
{
'mode_macro': 'MODE_STANDALONE',
},
'sources':
[
'<@(engine_standalone_mode_source_files)',
],
# Standalones do *not* contain error message strings
'sources!':
[
'<(INTERMEDIATE_DIR)/src/encodederrors.cpp',
],
'conditions':
[
[
'OS == "android"',
{
'dependencies':
[
'kernel.gyp:kernel-java',
],
'sources':
[
'src/mblandroidad.cpp',
],
'actions':
[
{
'action_name': 'jar',
'message': 'JAR',
'inputs':
[
# Depend on the Java source files directly to ensure correct updates
'<@(engine_aidl_source_files)',
'<@(engine_java_source_files)',
],
'outputs':
[
'<(PRODUCT_DIR)/Classes-Community',
],
'action':
[
'<(jar_path)',
'cf',
'<@(_outputs)',
'-C', '<(PRODUCT_DIR)/classes_livecode_community',
'.',
],
},
],
'all_dependent_settings':
{
'variables':
{
'dist_aux_files': [ '<(PRODUCT_DIR)/Classes-Community' ],
},
},
},
],
],
},
],
}