| 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 27 matching lines...) Expand all Loading... |
| 38 # Unfortunately, there is some strange interaction with | 38 # Unfortunately, there is some strange interaction with |
| 39 # GYP so it doesn't work. | 39 # GYP so it doesn't work. |
| 40 '<(PRODUCT_DIR)', | 40 '<(PRODUCT_DIR)', |
| 41 '<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | 41 '<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
| 42 'dart2js', | 42 'dart2js', |
| 43 'dart2js_developer', | 43 'dart2js_developer', |
| 44 'dartdoc', | 44 'dartdoc', |
| 45 '<(dart_dir)', | 45 '<(dart_dir)', |
| 46 ], | 46 ], |
| 47 }, | 47 }, |
| 48 { |
| 49 'action_name': 'generate_dart2js_snapshot', |
| 50 'inputs': [ |
| 51 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)gen_snapshot<(EXECUTABLE_SUFFIX)
', |
| 52 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
| 53 '../../lib/_internal/libraries.dart', |
| 54 '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../lib/
compiler", "../../runtime/lib"])', |
| 55 ], |
| 56 'outputs': [ |
| 57 '<(PRODUCT_DIR)/dart2js.snapshot', |
| 58 ], |
| 59 'action': [ |
| 60 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)gen_snapshot<(EXECUTABLE_SUFFIX)
', |
| 61 |
| 62 # TODO(ahe): Remove option when http://dartbug.com/5989 is fixed. |
| 63 '--optimization_counter_threshold=-1', |
| 64 |
| 65 # Note: we don't store the snapshot in the location where |
| 66 # the dart2js script is looking for it. The motivation |
| 67 # for that is to support an incremental development model |
| 68 # for dart2js compiler engineers. However, we install the |
| 69 # snapshot in the proper location when building the SDK. |
| 70 '--script_snapshot=<(PRODUCT_DIR)/dart2js.snapshot', |
| 71 '../../lib/compiler/implementation/dart2js.dart', |
| 72 ], |
| 73 }, |
| 48 ], | 74 ], |
| 49 }, | 75 }, |
| 50 ], | 76 ], |
| 51 } | 77 } |
| OLD | NEW |