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

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

Issue 11187028: Generate snapshot for dartj2s; use it in the SDK. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Disable optimizations during gen_snapshot to work around crash Created 8 years, 2 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 | « dart/utils/compiler/build_helper.dart ('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 {
(...skipping 27 matching lines...) Expand all
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 }
OLDNEW
« no previous file with comments | « dart/utils/compiler/build_helper.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698