forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathandroid-settings.gypi
More file actions
104 lines (93 loc) · 1.15 KB
/
android-settings.gypi
File metadata and controls
104 lines (93 loc) · 1.15 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
{
'cflags':
[
'-fstrict-aliasing',
'-fvisibility=hidden',
],
'cflags_c':
[
'-std=gnu99',
'-Wstrict-prototypes',
],
'cflags_cc':
[
'-std=c++03',
'-fno-exceptions',
'-fno-rtti',
],
'target_conditions':
[
[
'silence_warnings == 0',
{
'cflags':
[
'-Wall',
'-Wextra',
'-Wno-unused-parameter', # Just contributes build noise
],
'cflags_c':
[
'-Werror=declaration-after-statement', # Ensure compliance with C89
],
},
{
'cflags':
[
'-w', # Disable warnings
'-fpermissive', # Be more lax with old code
'-Wno-return-type',
],
},
],
],
'configurations':
{
'Debug':
{
'cflags':
[
'-O0',
'-g3',
],
'defines':
[
'_DEBUG',
],
},
'Release':
{
'cflags':
[
'-O3',
'-g3',
],
'defines':
[
'_RELEASE',
'NDEBUG',
],
},
'Fast':
{
'cflags':
[
'-O0',
'-g0',
],
'defines':
[
'_RELEASE',
'NDEBUG',
],
},
},
'defines':
[
'TARGET_PLATFORM_MOBILE',
'TARGET_SUBPLATFORM_ANDROID',
'ANDROID',
'_MOBILE',
'ANDROID_NDK',
],
}