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 'variables': { | 6 'variables': { |
7 'dart_dir': '../..', | 7 'dart_dir': '../..', |
8 }, | 8 }, |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
(...skipping 18 matching lines...) Expand all Loading... |
29 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)gen_snapshot<(EXECUTABLE_SUFFIX)
', | 29 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)gen_snapshot<(EXECUTABLE_SUFFIX)
', |
30 # Note: we don't store the snapshot in the location where | 30 # Note: we don't store the snapshot in the location where |
31 # the dart2js script is looking for it. The motivation | 31 # the dart2js script is looking for it. The motivation |
32 # for that is to support an incremental development model | 32 # for that is to support an incremental development model |
33 # for dart2js compiler engineers. However, we install the | 33 # for dart2js compiler engineers. However, we install the |
34 # snapshot in the proper location when building the SDK. | 34 # snapshot in the proper location when building the SDK. |
35 '--script_snapshot=<(PRODUCT_DIR)/dart2js.snapshot', | 35 '--script_snapshot=<(PRODUCT_DIR)/dart2js.snapshot', |
36 '../../sdk/lib/_internal/compiler/implementation/dart2js.dart', | 36 '../../sdk/lib/_internal/compiler/implementation/dart2js.dart', |
37 ], | 37 ], |
38 }, | 38 }, |
| 39 { |
| 40 # TODO(ahe): Remove this action after a few days. |
| 41 'action_name': 'remove_old_scripts', |
| 42 'inputs': [ |
| 43 'remove_old_scripts.py', |
| 44 ], |
| 45 'outputs': [ |
| 46 '<(INTERMEDIATE_DIR)/<(_action_name).success', |
| 47 ], |
| 48 'action': [ |
| 49 'python', |
| 50 '<@(_inputs)', |
| 51 '<@(_outputs)', |
| 52 '<(PRODUCT_DIR)/dart2js', |
| 53 '<(PRODUCT_DIR)/dart2js.bat', |
| 54 '<(PRODUCT_DIR)/dart2js_developer', |
| 55 '<(PRODUCT_DIR)/dart2js_developer.bat', |
| 56 '<(PRODUCT_DIR)/dartdoc', |
| 57 '<(PRODUCT_DIR)/dartdoc.bat', |
| 58 ] |
| 59 }, |
39 ], | 60 ], |
40 }, | 61 }, |
41 ], | 62 ], |
42 } | 63 } |
OLD | NEW |