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

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

Issue 116043013: Add a snapshot for docgen and use it in the build (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Review fixes, also don't always use the SDK package-root and allow relative target names Created 6 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
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_snapshots', 19 'action_name': 'generate_snapshots',
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$", "../../sdk/ lib/_internal/compiler", "../../runtime/lib", "../../sdk/lib/_internal/dartdoc"] )', 23 '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../sdk/ lib/_internal/compiler", "../../runtime/lib", "../../sdk/lib/_internal/dartdoc", "../../pkg/docgen"])',
ricow1 2014/01/08 06:39:49 we probably already have this indirectly through t
Alan Knight 2014/01/08 22:19:02 OK, removed. I had some problems with it not rebui
24 'create_snapshot.dart', 24 'create_snapshot.dart',
25 '<(SHARED_INTERMEDIATE_DIR)/packages.stamp', 25 '<(SHARED_INTERMEDIATE_DIR)/packages.stamp',
26 '../../tools/VERSION', 26 '../../tools/VERSION',
27 ], 27 ],
28 'outputs': [ 28 'outputs': [
29 '<(SHARED_INTERMEDIATE_DIR)/utils_wrapper.dart.snapshot', 29 '<(SHARED_INTERMEDIATE_DIR)/utils_wrapper.dart.snapshot',
30 '<(SHARED_INTERMEDIATE_DIR)/dart2js.dart.snapshot', 30 '<(SHARED_INTERMEDIATE_DIR)/dart2js.dart.snapshot',
31 ], 31 ],
32 'action': [ 32 'action': [
33 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', 33 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)',
34 'create_snapshot.dart', 34 'create_snapshot.dart',
35 '--output_dir=<(SHARED_INTERMEDIATE_DIR)', 35 '--output_dir=<(SHARED_INTERMEDIATE_DIR)',
36 '--dart2js_main=sdk/lib/_internal/compiler/implementation/dart2js.da rt', 36 '--dart2js_main=sdk/lib/_internal/compiler/implementation/dart2js.da rt',
37 '--dartdoc_main=sdk/lib/_internal/dartdoc/bin/dartdoc.dart', 37 '--dartdoc_main=sdk/lib/_internal/dartdoc/bin/dartdoc.dart',
38 '--docgen_main=pkg/docgen/bin/docgen.dart',
38 '--package_root=<(PRODUCT_DIR)/packages/', 39 '--package_root=<(PRODUCT_DIR)/packages/',
39 ], 40 ],
40 }, 41 },
41 ], 42 ],
42 }, 43 },
43 ], 44 ],
44 } 45 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698