forked from dart-archive/sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlk_targets.gypi
80 lines (67 loc) · 1.9 KB
/
lk_targets.gypi
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
# Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file
# for details. All rights reserved. Use of this source code is governed by a
# BSD-style license that can be found in the LICENSE.md file.
# TODO(ahe): Move this file elsewhere?
{
'includes': [
'common.gypi'
],
'variables': {
'LK_PROJECT%': 'qemu-virt-dartino',
'LK_CPU%': 'cortex-a15',
'LK_FPU%': 'vfpv3',
'LK_FLOAT-ABI%': 'softfp',
},
'target_defaults': {
'configurations': {
'dartino_lk_flags': {
'abstract': 1,
'inherit_from': [
'dartino_lk',
'dartino_use_single_precision',
],
'target_conditions': [
['_toolset=="target"', {
'cflags': [
'-mcpu=<(LK_CPU)',
'-mfpu=<(LK_FPU)',
'-mfloat-abi=<(LK_FLOAT-ABI)',
'-include',
'build-<(LK_PROJECT)/config.h',
],
}],
],
},
'DebugLK': {
'inherit_from': [
'dartino_base', 'dartino_debug', 'dartino_lk_flags',
'dartino_disable_live_coding',
'dartino_disable_native_processes',
'dartino_disable_print_interceptors',
],
},
'ReleaseLK': {
'inherit_from': [
'dartino_base', 'dartino_release', 'dartino_lk_flags',
'dartino_disable_live_coding',
'dartino_disable_native_processes',
'dartino_disable_print_interceptors',
],
},
'DebugLKFull': {
'inherit_from': [
'dartino_base', 'dartino_debug', 'dartino_lk_flags',
'dartino_disable_native_processes',
'dartino_disable_print_interceptors',
],
},
'ReleaseLKFull': {
'inherit_from': [
'dartino_base', 'dartino_release', 'dartino_lk_flags',
'dartino_disable_native_processes',
'dartino_disable_print_interceptors',
],
},
},
},
}