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