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

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: 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
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 # Note: we don't store the snapshot in the location where
62 # the dart2js script is looking for it. The motivation
63 # for that is to support an incremental development model
64 # for dart2js compiler engineers. However, we install the
65 # snapshot in the proper location when building the SDK.
66 '--script_snapshot=<(PRODUCT_DIR)/dart2js.snapshot',
67 '../../lib/compiler/implementation/dart2js.dart',
68 ],
69 },
48 ], 70 ],
49 }, 71 },
50 ], 72 ],
51 } 73 }
OLDNEW
« dart/utils/compiler/build_helper.dart ('K') | « dart/utils/compiler/build_helper.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698