OLD | NEW |
1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 # for details. All rights reserved. Use of this source code is governed by a | 2 # for details. All rights reserved. Use of this source code is governed by a |
3 # BSD-style license that can be found in the LICENSE file. | 3 # BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'most', | 8 'target_name': 'most', |
9 'type': 'none', | 9 'type': 'none', |
10 'dependencies': [ | 10 'dependencies': [ |
11 'analysis_server', | 11 'analysis_server', |
12 'analyzer_java', | |
13 'create_sdk', | 12 'create_sdk', |
14 'dart2js', | 13 'dart2js', |
15 'dartanalyzer', | 14 'dartanalyzer', |
16 'editor', | |
17 'packages', | 15 'packages', |
18 'runtime', | 16 'runtime', |
19 'samples', | 17 'samples', |
20 ], | 18 ], |
21 }, | 19 }, |
22 { | 20 { |
23 # This is the target that is built on the VM build bots. It | 21 # This is the target that is built on the VM build bots. It |
24 # must depend on anything that is required by the VM test | 22 # must depend on anything that is required by the VM test |
25 # suites. | 23 # suites. |
26 'target_name': 'runtime', | 24 'target_name': 'runtime', |
(...skipping 23 matching lines...) Expand all Loading... |
50 ], | 48 ], |
51 }, | 49 }, |
52 { | 50 { |
53 'target_name': 'dartanalyzer', | 51 'target_name': 'dartanalyzer', |
54 'type': 'none', | 52 'type': 'none', |
55 'dependencies': [ | 53 'dependencies': [ |
56 'utils/dartanalyzer/dartanalyzer.gyp:dartanalyzer', | 54 'utils/dartanalyzer/dartanalyzer.gyp:dartanalyzer', |
57 ], | 55 ], |
58 }, | 56 }, |
59 { | 57 { |
60 'target_name': 'analyzer_java', | |
61 'type': 'none', | |
62 'dependencies': [ | |
63 'editor/analyzer_java.gyp:analyzer', | |
64 ], | |
65 }, | |
66 { | |
67 'target_name': 'dartfmt', | 58 'target_name': 'dartfmt', |
68 'type': 'none', | 59 'type': 'none', |
69 'dependencies': [ | 60 'dependencies': [ |
70 'utils/dartfmt/dartfmt.gyp:dartfmt', | 61 'utils/dartfmt/dartfmt.gyp:dartfmt', |
71 ], | 62 ], |
72 }, | 63 }, |
73 { | 64 { |
74 'target_name': 'analysis_server', | 65 'target_name': 'analysis_server', |
75 'type': 'none', | 66 'type': 'none', |
76 'dependencies': [ | 67 'dependencies': [ |
(...skipping 26 matching lines...) Expand all Loading... |
103 ], | 94 ], |
104 }, | 95 }, |
105 { | 96 { |
106 'target_name': 'api_docs', | 97 'target_name': 'api_docs', |
107 'type': 'none', | 98 'type': 'none', |
108 'dependencies': [ | 99 'dependencies': [ |
109 'utils/apidoc/docgen.gyp:dartdocgen', | 100 'utils/apidoc/docgen.gyp:dartdocgen', |
110 ], | 101 ], |
111 }, | 102 }, |
112 { | 103 { |
113 'target_name': 'editor', | |
114 'type': 'none', | |
115 'dependencies': [ | |
116 'editor/build/generated/editor_deps.gyp:editor_deps', | |
117 | |
118 # This dependency on create_sdk does not mean that the | |
119 # Editor is rebuilt if the SDK is. It only means that when you build | |
120 # the Editor, you should also build the SDK. If we wanted to | |
121 # make sure that the editor is rebuilt when the SDK is, we | |
122 # should list a *file* in PRODUCT_DIR which the action below | |
123 # uses as input. | |
124 # This is the desired behavior as we would otherwise have to | |
125 # rebuild the editor each time the VM, dart2js, or library | |
126 # code changes. | |
127 'create_sdk', | |
128 ], | |
129 'actions': [ | |
130 { | |
131 'action_name': 'create_editor_py', | |
132 'inputs': [ | |
133 'tools/create_editor.py', | |
134 '<(SHARED_INTERMEDIATE_DIR)/editor_deps/editor.stamp', | |
135 '<!@(["python", "tools/list_files.py", "", "editor/tools/features/' | |
136 'com.google.dart.tools.deploy.feature_releng"])', | |
137 ], | |
138 'outputs': [ | |
139 '<(PRODUCT_DIR)/editor/VERSION', | |
140 ], | |
141 'action': [ | |
142 'python', | |
143 'tools/create_editor.py', | |
144 '--out', '<(PRODUCT_DIR)/editor', | |
145 '--build', '<(INTERMEDIATE_DIR)', | |
146 ], | |
147 'message': 'Creating editor.', | |
148 }, | |
149 ], | |
150 }, | |
151 { | |
152 'target_name': 'samples', | 104 'target_name': 'samples', |
153 'type': 'none', | 105 'type': 'none', |
154 'dependencies': [], | 106 'dependencies': [], |
155 'conditions': [ | 107 'conditions': [ |
156 ['OS!="android"', { | 108 ['OS!="android"', { |
157 'dependencies': [ | 109 'dependencies': [ |
158 'runtime/dart-runtime.gyp:sample_extension', | 110 'runtime/dart-runtime.gyp:sample_extension', |
159 ], | 111 ], |
160 }, | 112 }, |
161 ], | 113 ], |
162 ] | 114 ] |
163 }, | 115 }, |
164 { | 116 { |
165 'target_name': 'packages', | 117 'target_name': 'packages', |
166 'type': 'none', | 118 'type': 'none', |
167 'dependencies': [ | 119 'dependencies': [ |
168 'pkg/pkg.gyp:pkg_packages', | 120 'pkg/pkg.gyp:pkg_packages', |
169 ], | 121 ], |
170 }, | 122 }, |
171 { | 123 { |
172 'target_name': 'try', | 124 'target_name': 'try', |
173 'type': 'none', | 125 'type': 'none', |
174 'dependencies': [ | 126 'dependencies': [ |
175 'site/try/build_try.gyp:try_site', | 127 'site/try/build_try.gyp:try_site', |
176 ], | 128 ], |
177 }, | 129 }, |
178 ], | 130 ], |
179 } | 131 } |
OLD | NEW |