Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(359)

Side by Side Diff: utils/compiler/compiler.gyp

Issue 12084010: Change option --use_script_snapshot to --use-script-snapshot (easier to type). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tools/create_sdk.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 {
11 'target_name': 'dart2js', 11 'target_name': 'dart2js',
12 'type': 'none', 12 'type': 'none',
13 'dependencies': [ 13 'dependencies': [
14 '../../runtime/dart-runtime.gyp:dart', 14 '../../runtime/dart-runtime.gyp:dart',
15 ], 15 ],
16 'actions': [ 16 'actions': [
17 { 17 {
18 'action_name': 'generate_dart2js_snapshot', 18 'action_name': 'generate_dart2js_snapshot',
19 'inputs': [ 19 'inputs': [
20 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)gen_snapshot<(EXECUTABLE_SUFFIX) ',
21 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', 20 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)',
22 '../../sdk/lib/_internal/libraries.dart', 21 '../../sdk/lib/_internal/libraries.dart',
23 '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../sdk/ lib/_internal/compiler", "../../runtime/lib"])', 22 '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../sdk/ lib/_internal/compiler", "../../runtime/lib"])',
24 ], 23 ],
25 'outputs': [ 24 'outputs': [
26 '<(PRODUCT_DIR)/dart2js.snapshot', 25 '<(PRODUCT_DIR)/dart2js.snapshot',
27 ], 26 ],
28 'action': [ 27 'action': [
29 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)gen_snapshot<(EXECUTABLE_SUFFIX) ', 28 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)',
30 # Note: we don't store the snapshot in the location where 29 # Note: we don't store the snapshot in the location where
31 # the dart2js script is looking for it. The motivation 30 # the dart2js script is looking for it. The motivation
32 # for that is to support an incremental development model 31 # for that is to support an incremental development model
33 # for dart2js compiler engineers. However, we install the 32 # for dart2js compiler engineers. However, we install the
34 # snapshot in the proper location when building the SDK. 33 # snapshot in the proper location when building the SDK.
35 '--script_snapshot=<(PRODUCT_DIR)/dart2js.snapshot', 34 '--generate-script-snapshot=<(PRODUCT_DIR)/dart2js.snapshot',
36 '../../sdk/lib/_internal/compiler/implementation/dart2js.dart', 35 '../../sdk/lib/_internal/compiler/implementation/dart2js.dart',
37 ], 36 ],
38 }, 37 },
39 { 38 {
40 # TODO(ahe): Remove this action after a few days. 39 # TODO(ahe): Remove this action after a few days.
41 'action_name': 'remove_old_scripts', 40 'action_name': 'remove_old_scripts',
42 'inputs': [ 41 'inputs': [
43 'remove_old_scripts.py', 42 'remove_old_scripts.py',
44 ], 43 ],
45 'outputs': [ 44 'outputs': [
46 '<(INTERMEDIATE_DIR)/<(_action_name).success', 45 '<(INTERMEDIATE_DIR)/<(_action_name).success',
47 ], 46 ],
48 'action': [ 47 'action': [
49 'python', 48 'python',
50 '<@(_inputs)', 49 '<@(_inputs)',
51 '<@(_outputs)', 50 '<@(_outputs)',
52 '<(PRODUCT_DIR)/dart2js', 51 '<(PRODUCT_DIR)/dart2js',
53 '<(PRODUCT_DIR)/dart2js.bat', 52 '<(PRODUCT_DIR)/dart2js.bat',
54 '<(PRODUCT_DIR)/dart2js_developer', 53 '<(PRODUCT_DIR)/dart2js_developer',
55 '<(PRODUCT_DIR)/dart2js_developer.bat', 54 '<(PRODUCT_DIR)/dart2js_developer.bat',
56 '<(PRODUCT_DIR)/dartdoc', 55 '<(PRODUCT_DIR)/dartdoc',
57 '<(PRODUCT_DIR)/dartdoc.bat', 56 '<(PRODUCT_DIR)/dartdoc.bat',
58 ] 57 ]
59 }, 58 },
60 ], 59 ],
61 }, 60 },
62 ], 61 ],
63 } 62 }
OLDNEW
« no previous file with comments | « tools/create_sdk.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698