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 'includes': [ | 6 'includes': [ |
7 'sources.gypi', | 7 'sources.gypi', |
8 'test_sources.gypi', | 8 'test_sources.gypi', |
9 'corelib_sources.gypi', | 9 'corelib_sources.gypi', |
10 'compiler_corelib_sources.gypi', | 10 'compiler_corelib_sources.gypi', |
11 'domlib_sources.gypi', | 11 'domlib_sources.gypi', |
12 'htmllib_sources.gypi', | 12 'htmllib_sources.gypi', |
13 'jsonlib_sources.gypi', | 13 'jsonlib_sources.gypi', |
| 14 'isolatelib_sources.gypi', |
14 ], | 15 ], |
15 'targets': [ | 16 'targets': [ |
16 { | 17 { |
17 'target_name': 'dartc', | 18 'target_name': 'dartc', |
18 'type': 'none', | 19 'type': 'none', |
19 'actions': [ | 20 'actions': [ |
20 { | 21 { |
21 'action_name': 'build_dartc', | 22 'action_name': 'build_dartc', |
22 'inputs': [ | 23 'inputs': [ |
23 'sources.gypi', | 24 'sources.gypi', |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 'dartc.xml', | 89 'dartc.xml', |
89 'domlib_sources.gypi', | 90 'domlib_sources.gypi', |
90 '<@(domlib_sources)', | 91 '<@(domlib_sources)', |
91 '<@(domlib_resources)', | 92 '<@(domlib_resources)', |
92 'htmllib_sources.gypi', | 93 'htmllib_sources.gypi', |
93 '<@(htmllib_sources)', | 94 '<@(htmllib_sources)', |
94 '<@(htmllib_resources)', | 95 '<@(htmllib_resources)', |
95 'jsonlib_sources.gypi', | 96 'jsonlib_sources.gypi', |
96 '<@(jsonlib_sources)', | 97 '<@(jsonlib_sources)', |
97 '<@(jsonlib_resources)', | 98 '<@(jsonlib_resources)', |
| 99 'isolatelib_sources.gypi', |
| 100 '<@(isolatelib_sources)', |
| 101 '<@(isolatelib_resources)', |
98 ], | 102 ], |
99 'outputs': [ | 103 'outputs': [ |
100 '<(INTERMEDIATE_DIR)/<(_target_name)/syslib.stamp', | 104 '<(INTERMEDIATE_DIR)/<(_target_name)/syslib.stamp', |
101 '<(INTERMEDIATE_DIR)/<(_target_name)/corelib.jar.stamp', | 105 '<(INTERMEDIATE_DIR)/<(_target_name)/corelib.jar.stamp', |
102 '<(INTERMEDIATE_DIR)/<(_target_name)/domlib.jar.stamp', | 106 '<(INTERMEDIATE_DIR)/<(_target_name)/domlib.jar.stamp', |
103 '<(INTERMEDIATE_DIR)/<(_target_name)/htmllib.jar.stamp', | 107 '<(INTERMEDIATE_DIR)/<(_target_name)/htmllib.jar.stamp', |
104 '<(INTERMEDIATE_DIR)/<(_target_name)/jsonlib.jar.stamp', | 108 '<(INTERMEDIATE_DIR)/<(_target_name)/jsonlib.jar.stamp', |
| 109 '<(INTERMEDIATE_DIR)/<(_target_name)/isolatelib.jar.stamp', |
105 ], | 110 ], |
106 'action': [ | 111 'action': [ |
107 '../third_party/apache_ant/v1_7_1/bin/ant', | 112 '../third_party/apache_ant/v1_7_1/bin/ant', |
108 '-f', 'dartc.xml', | 113 '-f', 'dartc.xml', |
109 '-Dbuild.dir=<(INTERMEDIATE_DIR)/<(_target_name)', | 114 '-Dbuild.dir=<(INTERMEDIATE_DIR)/<(_target_name)', |
110 '-Ddist.dir=<(PRODUCT_DIR)/compiler', | 115 '-Ddist.dir=<(PRODUCT_DIR)/compiler', |
111 'syslib_clean', | 116 'syslib_clean', |
112 'syslib', | 117 'syslib', |
113 ], | 118 ], |
114 }, | 119 }, |
115 { | 120 { |
116 'message': 'Compiling dart system libraries to <(INTERMEDIATE_DIR)/<(_
target_name)/api', | 121 'message': 'Compiling dart system libraries to <(INTERMEDIATE_DIR)/<(_
target_name)/api', |
117 'action_name': 'compile_systemlibrary', | 122 'action_name': 'compile_systemlibrary', |
118 'inputs': [ | 123 'inputs': [ |
119 '<(PRODUCT_DIR)/dartc', | 124 '<(PRODUCT_DIR)/dartc', |
120 '<(INTERMEDIATE_DIR)/<(_target_name)/syslib.stamp', | 125 '<(INTERMEDIATE_DIR)/<(_target_name)/syslib.stamp', |
121 'api.dart', | 126 'api.dart', |
122 ], | 127 ], |
123 'outputs': [ | 128 'outputs': [ |
124 '<(INTERMEDIATE_DIR)/<(_target_name)/api/dart/core/com/google/dart/c
orelib/corelib.dart.deps', | 129 '<(INTERMEDIATE_DIR)/<(_target_name)/api/dart/core/com/google/dart/c
orelib/corelib.dart.deps', |
125 '<(INTERMEDIATE_DIR)/<(_target_name)/api/dart/dom/dom/dom.dart.deps'
, | 130 '<(INTERMEDIATE_DIR)/<(_target_name)/api/dart/dom/dom/dom.dart.deps'
, |
126 '<(INTERMEDIATE_DIR)/<(_target_name)/api/dart/html/html/html.dart.de
ps', | 131 '<(INTERMEDIATE_DIR)/<(_target_name)/api/dart/html/html/html.dart.de
ps', |
127 '<(INTERMEDIATE_DIR)/<(_target_name)/api/dart/json/json/json.dart.de
ps', | 132 '<(INTERMEDIATE_DIR)/<(_target_name)/api/dart/json/json/json.dart.de
ps', |
| 133 '<(INTERMEDIATE_DIR)/<(_target_name)/api/dart/isolate/isolate/isolat
e_compiler.dart.deps', |
128 ], | 134 ], |
129 'action': [ | 135 'action': [ |
130 '<(PRODUCT_DIR)/dartc', 'api.dart', | 136 '<(PRODUCT_DIR)/dartc', 'api.dart', |
131 '--fatal-warnings', '--fatal-type-errors', | 137 '--fatal-warnings', '--fatal-type-errors', |
132 '--deprecated-generate-code', | 138 '--deprecated-generate-code', |
133 '-out', '<(INTERMEDIATE_DIR)/<(_target_name)/api', | 139 '-out', '<(INTERMEDIATE_DIR)/<(_target_name)/api', |
134 ], | 140 ], |
135 }, | 141 }, |
136 { | 142 { |
137 'message': 'Packaging dart:core artifacts', | 143 'message': 'Packaging dart:core artifacts', |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 '<(INTERMEDIATE_DIR)/<(_target_name)/api/dart/json/json/json.dart.de
ps', | 192 '<(INTERMEDIATE_DIR)/<(_target_name)/api/dart/json/json/json.dart.de
ps', |
187 'api.dart', | 193 'api.dart', |
188 ], | 194 ], |
189 'outputs': [ | 195 'outputs': [ |
190 '<(PRODUCT_DIR)/compiler/lib/jsonlib.jar', | 196 '<(PRODUCT_DIR)/compiler/lib/jsonlib.jar', |
191 ], | 197 ], |
192 'action': [ | 198 'action': [ |
193 'jar', 'u0f', '<(PRODUCT_DIR)/compiler/lib/jsonlib.jar', '-C', '<(IN
TERMEDIATE_DIR)/<(_target_name)/api/dart/json', 'json', | 199 'jar', 'u0f', '<(PRODUCT_DIR)/compiler/lib/jsonlib.jar', '-C', '<(IN
TERMEDIATE_DIR)/<(_target_name)/api/dart/json', 'json', |
194 ], | 200 ], |
195 }, | 201 }, |
| 202 { |
| 203 'message': 'Packaging dart:isolate artifacts', |
| 204 'action_name': 'package_isolatelib_artifacts', |
| 205 'inputs': [ |
| 206 '<(INTERMEDIATE_DIR)/<(_target_name)/isolatelib.jar.stamp', |
| 207 '<(INTERMEDIATE_DIR)/<(_target_name)/api/dart/isolate/isolate/isolat
e_compiler.dart.deps', |
| 208 'api.dart', |
| 209 ], |
| 210 'outputs': [ |
| 211 '<(PRODUCT_DIR)/compiler/lib/isolatelib.jar', |
| 212 ], |
| 213 'action': [ |
| 214 'jar', 'u0f', '<(PRODUCT_DIR)/compiler/lib/isolatelib.jar', '-C', |
| 215 '<(INTERMEDIATE_DIR)/<(_target_name)/api/dart/isolate', 'isolate', |
| 216 ], |
| 217 }, |
196 ], | 218 ], |
197 }, | 219 }, |
198 { | 220 { |
199 # GYP won't generate a catch-all target if there's only one target. | 221 # GYP won't generate a catch-all target if there's only one target. |
200 'target_name': 'dummy', | 222 'target_name': 'dummy', |
201 'type': 'none', | 223 'type': 'none', |
202 }, | 224 }, |
203 ], | 225 ], |
204 } | 226 } |
OLD | NEW |