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