forked from krestenkrab/dart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdart.gyp
97 lines (96 loc) · 2.17 KB
/
dart.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
# Copyright (c) 2011, the Dart 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 file.
{
'targets': [
{
'target_name': 'compiler',
'type': 'none',
'dependencies': [
'compiler/dart-compiler.gyp:dartc',
],
'actions': []
},
{
'target_name': 'runtime',
'type': 'none',
'dependencies': [
'runtime/dart-runtime.gyp:dart',
'runtime/dart-runtime.gyp:run_vm_tests',
'runtime/dart-runtime.gyp:process_test',
],
},
{
'target_name': 'frog',
'type': 'none',
'dependencies': [
'frog/dart-frog.gyp:frog',
],
},
{
'target_name': 'frogsh',
'type': 'none',
'dependencies': [
'frog/dart-frog.gyp:frogsh',
],
},
{
'target_name': 'create_sdk',
'type': 'none',
'dependencies': [
'frog',
'runtime/dart-runtime.gyp:dart',
],
'actions': [
{
'action_name': 'create_sdk_py',
'inputs': [
'tools/create_sdk.py',
],
'outputs': [
'<(PRODUCT_DIR)/sdk',
],
'action': [
'python',
'tools/create_sdk.py',
'<(PRODUCT_DIR)/sdk',
],
'message': 'Creating SDK.',
},
],
},
{
'target_name': 'upload_sdk',
'type': 'none',
'dependencies': [
'create_sdk',
],
'actions': [
{
'action_name': 'upload_sdk_py',
'inputs': [
'<(PRODUCT_DIR)/sdk',
'tools/upload_sdk.py',
],
'outputs': [
'<(PRODUCT_DIR)/upload_sdk',
],
'action': [
'python',
'tools/upload_sdk.py',
'<(PRODUCT_DIR)/sdk'
],
},
],
}
# TODO(ngeoffray): Fling does not have proper dependencies,
# so don't build it for now.
#{
# 'target_name': 'client',
# 'type': 'none',
# 'dependencies': [
# 'client/dart.gyp:fling',
# ],
#},
],
}