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

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

Issue 19795006: dart2js has its own snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Removed extra argument. Created 7 years, 5 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/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 '../../pkg/pkg.gyp:pkg_packages', 15 '../../pkg/pkg.gyp:pkg_packages',
16 ], 16 ],
17 'actions': [ 17 'actions': [
18 { 18 {
19 'action_name': 'generate_dart2js_snapshot', 19 'action_name': 'generate_dart2js_snapshot',
20 'inputs': [ 20 'inputs': [
21 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', 21 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)',
22 '../../sdk/lib/_internal/libraries.dart', 22 '../../sdk/lib/_internal/libraries.dart',
23 '<!@(["python", "../../tools/list_files.py", "\\.dart$",'
24 ' "../../sdk/lib/_internal/compiler", "../../runtime/lib"])',
25 '../../sdk/lib/_internal/libraries.dart',
26 ],
27 'outputs': [
28 '<(SHARED_INTERMEDIATE_DIR)/dart2js.dart.snapshot',
29 ],
30 'action': [
31 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)',
32 # Note: we don't store the snapshot in the location where
33 # the dart2js script is looking for it. The motivation
34 # for that is to support an incremental development model
35 # for dart2js compiler engineers. However, we install the
36 # snapshot in the proper location when building the SDK.
37 '--snapshot=<(SHARED_INTERMEDIATE_DIR)/dart2js.dart.snapshot',
38 '../../sdk/lib/_internal/compiler/implementation/dart2js.dart',
39 ],
40 },
41 {
42 'action_name': 'generate_dartdoc_snapshot',
43 'inputs': [
44 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)',
45 '../../sdk/lib/_internal/libraries.dart',
23 '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../sdk/ lib/_internal/compiler", "../../runtime/lib", "../../sdk/lib/_internal/dartdoc"] )', 46 '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../sdk/ lib/_internal/compiler", "../../runtime/lib", "../../sdk/lib/_internal/dartdoc"] )',
24 'create_snapshot.dart', 47 'create_snapshot.dart',
25 '<(SHARED_INTERMEDIATE_DIR)/packages.stamp', 48 '<(SHARED_INTERMEDIATE_DIR)/packages.stamp',
26 ], 49 ],
27 'outputs': [ 50 'outputs': [
28 '<(SHARED_INTERMEDIATE_DIR)/utils_wrapper.dart.snapshot', 51 '<(SHARED_INTERMEDIATE_DIR)/utils_wrapper.dart.snapshot',
29 ], 52 ],
30 'action': [ 53 'action': [
31 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', 54 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)',
32 'create_snapshot.dart', 55 'create_snapshot.dart',
33 '--output_dir=<(SHARED_INTERMEDIATE_DIR)', 56 '--output_dir=<(SHARED_INTERMEDIATE_DIR)',
34 '--dart2js_main=sdk/lib/_internal/compiler/implementation/dart2js.da rt', 57 '--dart2js_main=sdk/lib/_internal/compiler/implementation/dart2js.da rt',
35 '--dartdoc_main=sdk/lib/_internal/dartdoc/bin/dartdoc.dart', 58 '--dartdoc_main=sdk/lib/_internal/dartdoc/bin/dartdoc.dart',
36 '--package_root=<(PRODUCT_DIR)/packages/', 59 '--package_root=<(PRODUCT_DIR)/packages/',
37 ], 60 ],
38 }, 61 },
39 ], 62 ],
40 }, 63 },
41 ], 64 ],
42 } 65 }
OLDNEW
« no previous file with comments | « dart/tools/create_sdk.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698