Chromium Code Reviews| 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': [ |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 42 }, | 42 }, |
| 43 { | 43 { |
| 44 # Build the SDK. This target is separate from upload_sdk as the | 44 # Build the SDK. This target is separate from upload_sdk as the |
| 45 # editor needs to build the SDK without uploading it. | 45 # editor needs to build the SDK without uploading it. |
| 46 'target_name': 'create_sdk', | 46 'target_name': 'create_sdk', |
| 47 'type': 'none', | 47 'type': 'none', |
| 48 'dependencies': [ | 48 'dependencies': [ |
| 49 'runtime/dart-runtime.gyp:dart', | 49 'runtime/dart-runtime.gyp:dart', |
| 50 'utils/compiler/compiler.gyp:dart2js', | 50 'utils/compiler/compiler.gyp:dart2js', |
| 51 'utils/pub/pub.gyp:pub', | 51 'utils/pub/pub.gyp:pub', |
| 52 'utils/dartfmt/dartfmt.gyp:dartfmt', | |
| 52 'analyzer', | 53 'analyzer', |
|
kustermann
2013/12/06 08:47:08
Why not depending on 'dartfmt' defined in this fil
pquitslund
2013/12/06 17:55:43
I was following the example of dart2js and pub. U
| |
| 53 ], | 54 ], |
| 54 'actions': [ | 55 'actions': [ |
| 55 { | 56 { |
| 56 'action_name': 'create_sdk_py', | 57 'action_name': 'create_sdk_py', |
| 57 'inputs': [ | 58 'inputs': [ |
| 58 '<!@(["python", "tools/list_files.py", "\\.dart$", "sdk/lib"])', | 59 '<!@(["python", "tools/list_files.py", "\\.dart$", "sdk/lib"])', |
| 59 '<!@(["python", "tools/list_files.py", "", "sdk/bin"])', | 60 '<!@(["python", "tools/list_files.py", "", "sdk/bin"])', |
| 60 'tools/create_sdk.py', | 61 'tools/create_sdk.py', |
| 61 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | 62 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
| 62 '<(SHARED_INTERMEDIATE_DIR)/dart2js.dart.snapshot', | 63 '<(SHARED_INTERMEDIATE_DIR)/dart2js.dart.snapshot', |
| 63 '<(SHARED_INTERMEDIATE_DIR)/utils_wrapper.dart.snapshot', | 64 '<(SHARED_INTERMEDIATE_DIR)/utils_wrapper.dart.snapshot', |
| 64 '<(SHARED_INTERMEDIATE_DIR)/pub.dart.snapshot', | 65 '<(SHARED_INTERMEDIATE_DIR)/pub.dart.snapshot', |
| 65 '<(PRODUCT_DIR)/dartanalyzer/dartanalyzer.jar', | 66 '<(PRODUCT_DIR)/dartanalyzer/dartanalyzer.jar', |
| 67 '<(SHARED_INTERMEDIATE_DIR)/dartfmt.dart.snapshot', | |
| 66 'tools/VERSION' | 68 'tools/VERSION' |
| 67 ], | 69 ], |
| 68 'outputs': [ | 70 'outputs': [ |
| 69 '<(PRODUCT_DIR)/dart-sdk/README', | 71 '<(PRODUCT_DIR)/dart-sdk/README', |
| 70 ], | 72 ], |
| 71 'action': [ | 73 'action': [ |
| 72 'python', | 74 'python', |
| 73 'tools/create_sdk.py', | 75 'tools/create_sdk.py', |
| 74 '--sdk_output_dir', '<(PRODUCT_DIR)/dart-sdk', | 76 '--sdk_output_dir', '<(PRODUCT_DIR)/dart-sdk', |
| 75 '--snapshot_location', '<(SHARED_INTERMEDIATE_DIR)/' | 77 '--snapshot_location', '<(SHARED_INTERMEDIATE_DIR)/' |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 112 ], | 114 ], |
| 113 }, | 115 }, |
| 114 { | 116 { |
| 115 'target_name': 'analyzer', | 117 'target_name': 'analyzer', |
| 116 'type': 'none', | 118 'type': 'none', |
| 117 'dependencies': [ | 119 'dependencies': [ |
| 118 'editor/analyzer.gyp:analyzer', | 120 'editor/analyzer.gyp:analyzer', |
| 119 ], | 121 ], |
| 120 }, | 122 }, |
| 121 { | 123 { |
| 124 'target_name': 'dartfmt', | |
| 125 'type': 'none', | |
| 126 'dependencies': [ | |
| 127 'utils/dartfmt/dartfmt.gyp:dartfmt', | |
| 128 ], | |
| 129 }, | |
| 130 { | |
| 122 # This is the target that is built on the dart2dart bots. | 131 # This is the target that is built on the dart2dart bots. |
| 123 # It must depend on anything that is required by dart2dart | 132 # It must depend on anything that is required by dart2dart |
| 124 # tests. | 133 # tests. |
| 125 'target_name': 'dart2dart_bot', | 134 'target_name': 'dart2dart_bot', |
| 126 'type': 'none', | 135 'type': 'none', |
| 127 'dependencies': [ | 136 'dependencies': [ |
| 128 'create_sdk', | 137 'create_sdk', |
| 129 'packages', | 138 'packages', |
| 130 ], | 139 ], |
| 131 }, | 140 }, |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 211 }, | 220 }, |
| 212 { | 221 { |
| 213 'target_name': 'packages', | 222 'target_name': 'packages', |
| 214 'type': 'none', | 223 'type': 'none', |
| 215 'dependencies': [ | 224 'dependencies': [ |
| 216 'pkg/pkg.gyp:pkg_packages', | 225 'pkg/pkg.gyp:pkg_packages', |
| 217 ], | 226 ], |
| 218 }, | 227 }, |
| 219 ], | 228 ], |
| 220 } | 229 } |
| OLD | NEW |