forked from dart-archive/sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dartino.gyp
117 lines (116 loc) · 2.86 KB
/
dartino.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
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
# 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.
{
'targets': [
{
'target_name': 'dartino-vm',
'type': 'none',
'dependencies': [
'src/vm/vm.gyp:dartino-vm',
],
},
{
'target_name': 'dartino-flashify',
'type': 'none',
'dependencies': [
'src/vm/vm.gyp:dartino-flashify',
],
},
{
'target_name': 'c_test_library',
'type': 'none',
'dependencies': [
'src/vm/vm.gyp:ffi_test_library',
'src/vm/vm.gyp:ffi_test_local_library',
],
},
{
'target_name': 'mdns_extension_lib',
'type': 'none',
'dependencies': [
'src/pkg/mdns/mdns.gyp:mdns_extension_lib',
],
},
{
'target_name': 'power_management_extension_lib',
'type': 'none',
'dependencies': [
'src/pkg/power_management/power_management.gyp:'
'power_management_extension_lib',
],
},
{
'target_name': 'mbedtls_lib',
'type': 'none',
'dependencies': [
'src/pkg/mbedtls/mbedtls.gyp:mbedtls',
],
},
{
'target_name': 'serial_port_extension_lib',
'type': 'none',
'dependencies': [
'src/pkg/serial_port/serial_port.gyp:serial_port',
],
},
{
'target_name': 'natives_json',
'type': 'none',
'toolsets': ['target'],
'dependencies': [
'src/shared/shared.gyp:natives_json',
],
},
{
'target_name': 'flashtool',
'type': 'none',
'toolsets': ['host'],
'dependencies': [
'src/tools/flashtool/flashtool.gyp:flashtool',
],
},
{
'target_name': 'toplevel_dartino',
'type': 'none',
'toolsets': ['target'],
'dependencies': [
'src/tools/driver/driver.gyp:dartino',
'src/tools/driver/driver.gyp:dartino_for_sdk',
'copy_dart#host',
],
},
{
# C++ based test executables. See also tests/cc_tests/README.md.
'target_name': 'cc_tests',
'type': 'none',
'toolsets': ['target'],
'dependencies': [
'src/shared/shared.gyp:shared_cc_tests',
'src/vm/vm.gyp:vm_cc_tests',
'src/freertos/freertos_dartino_host_tests.gyp:freertos_dartino_host_cc_tests',
],
},
{
'target_name': 'multiprogram_cc_test',
'type': 'none',
'toolsets': ['target'],
'dependencies': [
'src/vm/vm.gyp:multiprogram_cc_test',
],
},
{
'target_name': 'copy_dart',
'type': 'none',
'toolsets': ['host'],
'copies': [
{
'destination': '<(PRODUCT_DIR)',
'files': [
'third_party/bin/<(OS)/dart<(EXECUTABLE_SUFFIX)',
],
},
],
},
],
}