🌐 AI搜索 & 代理 主页
blob: 6723ce4990b745f9410dea169acd66af44c4e893 [file] [log] [blame]
ahe@google.com18c3dd32012-03-17 16:25:411# Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
dgrove@google.com6e10bcc2011-10-05 05:04:262# 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.
4
5{
6 'targets': [
7 {
kustermann@google.com28436e12013-04-08 13:58:168 'target_name': 'most',
amouravski@google.come4d99892013-04-02 20:52:039 'type': 'none',
10 'dependencies': [
11 'analyzer',
amouravski@google.come4d99892013-04-02 20:52:0312 'create_sdk',
13 'dart2js',
14 'editor',
15 'packages',
16 'runtime',
17 'samples',
amouravski@google.come4d99892013-04-02 20:52:0318 ],
19 },
20 {
ahe@google.comf4ca9542012-11-19 11:35:5721 # This is the target that is built on the VM build bots. It
22 # must depend on anything that is required by the VM test
23 # suites.
dgrove@google.com6e10bcc2011-10-05 05:04:2624 'target_name': 'runtime',
25 'type': 'none',
26 'dependencies': [
27 'runtime/dart-runtime.gyp:dart',
iposva@google.comd7bdc7e2012-08-31 22:44:2028 'runtime/dart-runtime.gyp:dart_no_snapshot',
dgrove@google.com6e10bcc2011-10-05 05:04:2629 'runtime/dart-runtime.gyp:run_vm_tests',
ngeoffray@google.com29a8add2011-10-13 12:13:4430 'runtime/dart-runtime.gyp:process_test',
ahe@google.comf4ca9542012-11-19 11:35:5731 'packages',
zra@google.com3508d332013-12-20 17:51:3432 'runtime/dart-runtime.gyp:test_extension',
33 'runtime/dart-runtime.gyp:sample_extension',
whesse@google.com5623cf62013-05-29 09:43:1034 ],
dgrove@google.com6e10bcc2011-10-05 05:04:2635 },
ngeoffray@google.combd14d6f2011-11-04 11:27:4936 {
ahe@google.com3c919432012-04-30 13:05:3537 'target_name': 'create_sdk',
dgrove@google.comd83560f2011-12-02 23:20:3538 'type': 'none',
39 'dependencies': [
ahe@google.come38d0982012-04-30 12:42:1040 'runtime/dart-runtime.gyp:dart',
ahe@google.com9ed60802012-10-30 11:42:4241 'utils/compiler/compiler.gyp:dart2js',
nweiz@google.comcc6e2f72013-04-24 20:43:3942 'utils/pub/pub.gyp:pub',
pquitslund@google.comf3e7bc72014-02-10 19:03:0843 'dartfmt',
devoncarew@google.comc2824762013-04-15 16:52:0844 'analyzer',
dgrove@google.comd83560f2011-12-02 23:20:3545 ],
46 'actions': [
47 {
ahe@google.com3c919432012-04-30 13:05:3548 'action_name': 'create_sdk_py',
dgrove@google.comd83560f2011-12-02 23:20:3549 'inputs': [
ahe@google.com7a3632d2012-11-27 09:24:1250 '<!@(["python", "tools/list_files.py", "\\.dart$", "sdk/lib"])',
whesse@google.com5c164602014-03-06 15:08:4351 '<!@(["python", "tools/list_files.py", "", '
52 '"sdk/lib/_internal/lib/preambles"])',
ahe@google.comd45a3d02012-11-29 14:49:4453 '<!@(["python", "tools/list_files.py", "", "sdk/bin"])',
dgrove@google.comd83560f2011-12-02 23:20:3554 'tools/create_sdk.py',
ahe@google.come38d0982012-04-30 12:42:1055 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)',
ahe@google.com216289b2013-07-23 14:58:2856 '<(SHARED_INTERMEDIATE_DIR)/dart2js.dart.snapshot',
ricow@google.com00da8662013-04-11 05:47:2457 '<(SHARED_INTERMEDIATE_DIR)/utils_wrapper.dart.snapshot',
nweiz@google.comcc6e2f72013-04-24 20:43:3958 '<(SHARED_INTERMEDIATE_DIR)/pub.dart.snapshot',
devoncarew@google.comc2824762013-04-15 16:52:0859 '<(PRODUCT_DIR)/dartanalyzer/dartanalyzer.jar',
pquitslund@google.comf3e7bc72014-02-10 19:03:0860 '<(SHARED_INTERMEDIATE_DIR)/dartfmt.dart.snapshot',
ricow@google.comb55717e2013-11-11 08:53:0661 'tools/VERSION'
dgrove@google.comd83560f2011-12-02 23:20:3562 ],
dgrove@google.com502ab122011-12-02 23:28:1363 'outputs': [
dgrove@google.com182b3842012-09-27 18:07:0264 '<(PRODUCT_DIR)/dart-sdk/README',
dgrove@google.com502ab122011-12-02 23:28:1365 ],
dgrove@google.comd83560f2011-12-02 23:20:3566 'action': [
67 'python',
68 'tools/create_sdk.py',
ricow@google.com0a657bf2013-04-11 12:19:3569 '--sdk_output_dir', '<(PRODUCT_DIR)/dart-sdk',
nweiz@google.comcc6e2f72013-04-24 20:43:3970 '--snapshot_location', '<(SHARED_INTERMEDIATE_DIR)/'
dgrove@google.comd83560f2011-12-02 23:20:3571 ],
72 'message': 'Creating SDK.',
73 },
ahe@google.com3c919432012-04-30 13:05:3574 ],
ahe@google.com3c919432012-04-30 13:05:3575 },
76 {
ahe@google.com18c3dd32012-03-17 16:25:4177 'target_name': 'dart2js',
78 'type': 'none',
79 'dependencies': [
ahe@google.com18c3dd32012-03-17 16:25:4180 'utils/compiler/compiler.gyp:dart2js',
ahe@google.com18c3dd32012-03-17 16:25:4181 ],
82 },
rnystrom@google.comd2ca2752012-03-30 20:24:0683 {
ricow@google.com2542e962013-02-21 08:25:1884 'target_name': 'analyzer',
85 'type': 'none',
86 'dependencies': [
ricow@google.com2542e962013-02-21 08:25:1887 'editor/analyzer.gyp:analyzer',
88 ],
89 },
90 {
pquitslund@google.comf3e7bc72014-02-10 19:03:0891 'target_name': 'dartfmt',
92 'type': 'none',
93 'dependencies': [
94 'utils/dartfmt/dartfmt.gyp:dartfmt',
95 ],
96 },
97 {
floitsch@google.come0979d92013-04-06 00:09:0798 # This is the target that is built on the dart2dart bots.
99 # It must depend on anything that is required by dart2dart
100 # tests.
101 'target_name': 'dart2dart_bot',
102 'type': 'none',
103 'dependencies': [
104 'create_sdk',
105 'packages',
106 ],
107 },
108 {
kustermann@google.comf35937f2013-02-14 17:49:29109 # This is the target that is built on the dartc bots.
110 # It must depend on anything that is required by dartc
111 # tests.
112 'target_name': 'dartc_bot',
113 'type': 'none',
114 'dependencies': [
115 'create_sdk',
116 'packages',
117 ],
118 },
119 {
ahe@google.comf4ca9542012-11-19 11:35:57120 # This is the target that is built on the dart2js build bots.
121 # It must depend on anything that is required by the dart2js
122 # test suites.
ahe@google.com9ed60802012-10-30 11:42:42123 'target_name': 'dart2js_bot',
124 'type': 'none',
125 'dependencies': [
ahe@google.com9ed60802012-10-30 11:42:42126 'create_sdk',
ahe@google.comf4ca9542012-11-19 11:35:57127 'packages',
ahe@google.com9ed60802012-10-30 11:42:42128 ],
129 },
130 {
rnystrom@google.comd2ca2752012-03-30 20:24:06131 'target_name': 'api_docs',
132 'type': 'none',
133 'dependencies': [
alanknight@google.com03d0cd82013-11-20 21:51:51134 'utils/apidoc/docgen.gyp:docgen',
rnystrom@google.comd2ca2752012-03-30 20:24:06135 ],
whesse@google.com52ff8212012-08-22 11:10:07136 },
137 {
ricow@google.com8a85df82013-03-19 18:21:46138 'target_name': 'editor',
139 'type': 'none',
140 'dependencies': [
141 'editor/build/generated/editor_deps.gyp:editor_deps',
142
143 # This dependency on create_sdk does not mean that the Editor
144 # is rebuilt if the SDK is. It only means that when you build
145 # the Editor, you should also build the SDK. If we wanted to
146 # make sure that the editor is rebuilt when the SDK is, we
147 # should list a *file* in PRODUCT_DIR which the action below
148 # uses as input.
149 # This is the desired behavior as we would otherwise have to
150 # rebuild the editor each time the VM, dart2js, or library
151 # code changes.
152 'create_sdk',
153 ],
154 'actions': [
155 {
156 'action_name': 'create_editor_py',
157 'inputs': [
158 'tools/create_editor.py',
159 '<(SHARED_INTERMEDIATE_DIR)/editor_deps/editor.stamp',
160 '<!@(["python", "tools/list_files.py", "", "editor/tools/features/com.google.dart.tools.deploy.feature_releng"])',
161 ],
162 'outputs': [
163 '<(PRODUCT_DIR)/editor/VERSION',
164 ],
165 'action': [
166 'python',
167 'tools/create_editor.py',
168 '--out', '<(PRODUCT_DIR)/editor',
169 '--build', '<(INTERMEDIATE_DIR)',
170 ],
171 'message': 'Creating editor.',
172 },
173 ],
174 },
175 {
whesse@google.com52ff8212012-08-22 11:10:07176 'target_name': 'samples',
177 'type': 'none',
shailentuli@google.com6c93ab72013-09-26 00:19:04178 'dependencies': [],
gram@google.come247b602012-11-30 00:10:27179 'conditions': [
vsm@google.come7604532013-01-22 16:28:13180 ['OS!="android"', {
gram@google.com9703d7b2013-01-16 21:17:52181 'dependencies': [
iposva@google.com0ac13512013-11-07 01:22:43182 'runtime/dart-runtime.gyp:sample_extension',
gram@google.com9703d7b2013-01-16 21:17:52183 ],
184 },
185 ],
186 ]
whesse@google.com52ff8212012-08-22 11:10:07187 },
ahe@google.comf4ca9542012-11-19 11:35:57188 {
189 'target_name': 'packages',
190 'type': 'none',
191 'dependencies': [
192 'pkg/pkg.gyp:pkg_packages',
193 ],
194 },
ahe@google.com26e76d12014-01-15 14:10:02195 {
196 'target_name': 'try',
197 'type': 'none',
198 'dependencies': [
199 'create_sdk',
200 'site/try/build_try.gyp:try_site',
201 ],
202 },
dgrove@google.com6e10bcc2011-10-05 05:04:26203 ],
204}