| OLD | NEW |
| 1 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2011, 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 'variables': { | 20 'variables': { |
| 20 # The Dartium build has this layout: | 21 # The Dartium build has this layout: |
| 21 # src/dart/compiler/dart.gyp (this file) | 22 # src/dart/compiler/dart.gyp (this file) |
| 22 # src/v8/src/d8.gyp | 23 # src/v8/src/d8.gyp |
| 23 'v8_location%': '../../v8', | 24 'v8_location%': '../../v8', |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 'dartc.xml', | 113 'dartc.xml', |
| 113 'domlib_sources.gypi', | 114 'domlib_sources.gypi', |
| 114 '<@(domlib_sources)', | 115 '<@(domlib_sources)', |
| 115 '<@(domlib_resources)', | 116 '<@(domlib_resources)', |
| 116 'htmllib_sources.gypi', | 117 'htmllib_sources.gypi', |
| 117 '<@(htmllib_sources)', | 118 '<@(htmllib_sources)', |
| 118 '<@(htmllib_resources)', | 119 '<@(htmllib_resources)', |
| 119 'jsonlib_sources.gypi', | 120 'jsonlib_sources.gypi', |
| 120 '<@(jsonlib_sources)', | 121 '<@(jsonlib_sources)', |
| 121 '<@(jsonlib_resources)', | 122 '<@(jsonlib_resources)', |
| 123 'isolatelib_sources.gypi', |
| 124 '<@(isolatelib_sources)', |
| 125 '<@(isolatelib_resources)', |
| 122 ], | 126 ], |
| 123 'outputs': [ | 127 'outputs': [ |
| 124 '<(INTERMEDIATE_DIR)/<(_target_name)/syslib.stamp', | 128 '<(INTERMEDIATE_DIR)/<(_target_name)/syslib.stamp', |
| 125 '<(INTERMEDIATE_DIR)/<(_target_name)/corelib.jar.stamp', | 129 '<(INTERMEDIATE_DIR)/<(_target_name)/corelib.jar.stamp', |
| 126 '<(INTERMEDIATE_DIR)/<(_target_name)/domlib.jar.stamp', | 130 '<(INTERMEDIATE_DIR)/<(_target_name)/domlib.jar.stamp', |
| 127 '<(INTERMEDIATE_DIR)/<(_target_name)/htmllib.jar.stamp', | 131 '<(INTERMEDIATE_DIR)/<(_target_name)/htmllib.jar.stamp', |
| 128 '<(INTERMEDIATE_DIR)/<(_target_name)/jsonlib.jar.stamp', | 132 '<(INTERMEDIATE_DIR)/<(_target_name)/jsonlib.jar.stamp', |
| 133 '<(INTERMEDIATE_DIR)/<(_target_name)/isolatelib.jar.stamp', |
| 129 ], | 134 ], |
| 130 'action': [ | 135 'action': [ |
| 131 '../third_party/apache_ant/v1_7_1/bin/ant', | 136 '../third_party/apache_ant/v1_7_1/bin/ant', |
| 132 '-f', 'dartc.xml', | 137 '-f', 'dartc.xml', |
| 133 '-Dbuild.dir=<(INTERMEDIATE_DIR)/<(_target_name)', | 138 '-Dbuild.dir=<(INTERMEDIATE_DIR)/<(_target_name)', |
| 134 '-Ddist.dir=<(PRODUCT_DIR)/compiler', | 139 '-Ddist.dir=<(PRODUCT_DIR)/compiler', |
| 135 'syslib_clean', | 140 'syslib_clean', |
| 136 'syslib', | 141 'syslib', |
| 137 ], | 142 ], |
| 138 }, | 143 }, |
| 139 { | 144 { |
| 140 'message': 'Compiling dart system libraries to <(INTERMEDIATE_DIR)/<(_
target_name)/api', | 145 'message': 'Compiling dart system libraries to <(INTERMEDIATE_DIR)/<(_
target_name)/api', |
| 141 'action_name': 'compile_systemlibrary', | 146 'action_name': 'compile_systemlibrary', |
| 142 'inputs': [ | 147 'inputs': [ |
| 143 '<(PRODUCT_DIR)/dartc', | 148 '<(PRODUCT_DIR)/dartc', |
| 144 '<(INTERMEDIATE_DIR)/<(_target_name)/syslib.stamp', | 149 '<(INTERMEDIATE_DIR)/<(_target_name)/syslib.stamp', |
| 145 'api.dart', | 150 'api.dart', |
| 146 ], | 151 ], |
| 147 'outputs': [ | 152 'outputs': [ |
| 148 '<(INTERMEDIATE_DIR)/<(_target_name)/api/dart/core/com/google/dart/c
orelib/corelib.dart.deps', | 153 '<(INTERMEDIATE_DIR)/<(_target_name)/api/dart/core/com/google/dart/c
orelib/corelib.dart.deps', |
| 149 '<(INTERMEDIATE_DIR)/<(_target_name)/api/dart/dom/dom/dom.dart.deps'
, | 154 '<(INTERMEDIATE_DIR)/<(_target_name)/api/dart/dom/dom/dom.dart.deps'
, |
| 150 '<(INTERMEDIATE_DIR)/<(_target_name)/api/dart/html/html/html.dart.de
ps', | 155 '<(INTERMEDIATE_DIR)/<(_target_name)/api/dart/html/html/html.dart.de
ps', |
| 151 '<(INTERMEDIATE_DIR)/<(_target_name)/api/dart/json/json/json.dart.de
ps', | 156 '<(INTERMEDIATE_DIR)/<(_target_name)/api/dart/json/json/json.dart.de
ps', |
| 157 '<(INTERMEDIATE_DIR)/<(_target_name)/api/dart/isolate/isolate/isolat
e_compiler.dart.deps', |
| 152 ], | 158 ], |
| 153 'action': [ | 159 'action': [ |
| 154 '<(PRODUCT_DIR)/dartc', 'api.dart', | 160 '<(PRODUCT_DIR)/dartc', 'api.dart', |
| 155 '--fatal-warnings', '--fatal-type-errors', | 161 '--fatal-warnings', '--fatal-type-errors', |
| 156 '--deprecated-generate-code', | 162 '--deprecated-generate-code', |
| 157 '-out', '<(INTERMEDIATE_DIR)/<(_target_name)/api', | 163 '-out', '<(INTERMEDIATE_DIR)/<(_target_name)/api', |
| 158 ], | 164 ], |
| 159 }, | 165 }, |
| 160 { | 166 { |
| 161 'message': 'Packaging dart:core artifacts', | 167 'message': 'Packaging dart:core artifacts', |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 210 '<(INTERMEDIATE_DIR)/<(_target_name)/api/dart/json/json/json.dart.de
ps', | 216 '<(INTERMEDIATE_DIR)/<(_target_name)/api/dart/json/json/json.dart.de
ps', |
| 211 'api.dart', | 217 'api.dart', |
| 212 ], | 218 ], |
| 213 'outputs': [ | 219 'outputs': [ |
| 214 '<(PRODUCT_DIR)/compiler/lib/jsonlib.jar', | 220 '<(PRODUCT_DIR)/compiler/lib/jsonlib.jar', |
| 215 ], | 221 ], |
| 216 'action': [ | 222 'action': [ |
| 217 'jar', 'u0f', '<(PRODUCT_DIR)/compiler/lib/jsonlib.jar', '-C', '<(IN
TERMEDIATE_DIR)/<(_target_name)/api/dart/json', 'json', | 223 'jar', 'u0f', '<(PRODUCT_DIR)/compiler/lib/jsonlib.jar', '-C', '<(IN
TERMEDIATE_DIR)/<(_target_name)/api/dart/json', 'json', |
| 218 ], | 224 ], |
| 219 }, | 225 }, |
| 226 { |
| 227 'message': 'Packaging dart:isolate artifacts', |
| 228 'action_name': 'package_isolatelib_artifacts', |
| 229 'inputs': [ |
| 230 '<(INTERMEDIATE_DIR)/<(_target_name)/isolatelib.jar.stamp', |
| 231 '<(INTERMEDIATE_DIR)/<(_target_name)/api/dart/isolate/isolate/isolat
e_compiler.dart.deps', |
| 232 'api.dart', |
| 233 ], |
| 234 'outputs': [ |
| 235 '<(PRODUCT_DIR)/compiler/lib/isolatelib.jar', |
| 236 ], |
| 237 'action': [ |
| 238 'jar', 'u0f', '<(PRODUCT_DIR)/compiler/lib/isolatelib.jar', '-C', |
| 239 '<(INTERMEDIATE_DIR)/<(_target_name)/api/dart/isolate', 'isolate', |
| 240 ], |
| 241 }, |
| 220 ], | 242 ], |
| 221 }, | 243 }, |
| 222 { | 244 { |
| 223 # GYP won't generate a catch-all target if there's only one target. | 245 # GYP won't generate a catch-all target if there's only one target. |
| 224 'target_name': 'dummy', | 246 'target_name': 'dummy', |
| 225 'type': 'none', | 247 'type': 'none', |
| 226 }, | 248 }, |
| 227 ], | 249 ], |
| 228 } | 250 } |
| OLD | NEW |