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

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

Issue 10662048: Build uses dart2js.bat on Windows (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 | « lib/isolate/isolate_frog.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' : {
7 'script_suffix%': '',
8 },
9 'conditions' : [
10 ['OS=="win"', {
11 'variables' : {
12 'script_suffix': '.bat',
13 },
14 }],
15 ],
6 'targets': [ 16 'targets': [
7 { 17 {
8 'target_name': 'api_docs', 18 'target_name': 'api_docs',
9 'type': 'none', 19 'type': 'none',
10 'dependencies': [ 20 'dependencies': [
11 '../../utils/compiler/compiler.gyp:dart2js', 21 '../../utils/compiler/compiler.gyp:dart2js',
12 '../../runtime/dart-runtime.gyp:dart', 22 '../../runtime/dart-runtime.gyp:dart',
13 ], 23 ],
14 'includes': [ 24 'includes': [
15 '../../corelib/src/corelib_sources.gypi', 25 '../../corelib/src/corelib_sources.gypi',
16 ], 26 ],
17 'actions': [ 27 'actions': [
18 { 28 {
19 'action_name': 'run_apidoc', 29 'action_name': 'run_apidoc',
20 'inputs': [ 30 'inputs': [
21 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', 31 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)',
22 '<(PRODUCT_DIR)/dart2js', 32 '<(PRODUCT_DIR)/dart2js',
33 '<(PRODUCT_DIR)/dart2js.bat',
23 '<!@(["python", "../../tools/list_files.py", "\\.(css|ico|js|json|pn g|sh|txt|yaml|py)$", ".", "../../lib/dartdoc"])', 34 '<!@(["python", "../../tools/list_files.py", "\\.(css|ico|js|json|pn g|sh|txt|yaml|py)$", ".", "../../lib/dartdoc"])',
24 '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../lib" , "../../runtime/lib", "../../runtime/bin"])', 35 '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../lib" , "../../runtime/lib", "../../runtime/bin"])',
25 '<@(_sources)',
26 ], 36 ],
27 'outputs': [ 37 'outputs': [
28 '<(PRODUCT_DIR)/api_docs/index.html', 38 '<(PRODUCT_DIR)/api_docs/index.html',
29 '<(PRODUCT_DIR)/api_docs/client-live-nav.js', 39 '<(PRODUCT_DIR)/api_docs/client-live-nav.js',
30 ], 40 ],
31 'action': [ 41 'action': [
32 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', 42 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)',
33 'apidoc.dart', 43 'apidoc.dart',
34 '--out=<(PRODUCT_DIR)/api_docs', 44 '--out=<(PRODUCT_DIR)/api_docs',
35 '--mode=live-nav', 45 '--mode=live-nav',
36 '--compiler=<(PRODUCT_DIR)/dart2js', 46 '--compiler=<(PRODUCT_DIR)/dart2js<(script_suffix)',
37 ], 47 ],
48 'message': 'Running apidoc: <(_action)',
38 }, 49 },
39 ], 50 ],
40 } 51 }
41 ], 52 ],
42 } 53 }
OLDNEW
« no previous file with comments | « lib/isolate/isolate_frog.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698