forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathkernel-mode-template.gypi
More file actions
96 lines (84 loc) · 1.43 KB
/
kernel-mode-template.gypi
File metadata and controls
96 lines (84 loc) · 1.43 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
{
'dependencies':
[
'engine-common.gyp:encode_version',
'../libfoundation/libfoundation.gyp:libFoundation',
'../libgraphics/libgraphics.gyp:libGraphics',
'../libscript/libscript.gyp:libScript',
'../libbrowser/libbrowser.gyp:libbrowser',
],
'conditions':
[
[
'cross_compile != 0',
{
'dependencies':
[
'../util/perfect/perfect.gyp:perfect#host',
],
},
{
'dependencies':
[
'../util/perfect/perfect.gyp:perfect',
],
},
],
],
'include_dirs':
[
'<(INTERMEDIATE_DIR)/src',
],
'sources':
[
'<@(engine_mode_dependent_files)',
],
'defines':
[
'>(mode_macro)',
],
'actions':
[
{
'action_name': 'Encode errors',
'inputs':
[
'../util/encode_errors.pl',
'src/executionerrors.h',
'src/parseerrors.h',
],
'outputs':
[
'<(INTERMEDIATE_DIR)/src/encodederrors.cpp',
],
'action':
[
'<@(perl)',
'../util/encode_errors.pl',
'./src',
'<@(_outputs)',
],
},
{
'action_name': 'Build keyword hash table',
'inputs':
[
'../util/hash_strings.pl',
# It really does depend on this but gyp doesn't compile sources listed as action inputs...
#'src/lextable.cpp',
],
'outputs':
[
'<(INTERMEDIATE_DIR)/src/hashedstrings.cpp',
],
'action':
[
'<@(perl)',
'../util/hash_strings.pl',
'./src/lextable.cpp',
'<@(_outputs)',
'>(perfect_path)',
],
},
],
}