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

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

Issue 246563005: Fixes docgen build step on Windows. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 8 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 | « no previous file | 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 'script_suffix%': '', 7 'script_suffix%': '',
8 }, 8 },
9 'conditions' : [ 9 'conditions' : [
10 ['OS=="win"', { 10 ['OS=="win"', {
11 'variables' : { 11 'variables' : {
12 'script_suffix': '.bat', 12 'script_suffix': '.bat',
13 }, 13 },
14 }], 14 }],
15 ], 15 ],
16 'targets': [ 16 'targets': [
17 { 17 {
18 'target_name': 'docgen', 18 'target_name': 'docgen',
19 'type': 'none', 19 'type': 'none',
20 'dependencies': [ 20 'dependencies': [
21 '../../utils/compiler/compiler.gyp:dart2js', 21 '../../create_sdk.gyp:create_sdk_internal',
22 '../../runtime/dart-runtime.gyp:dart',
23 '../../pkg/pkg.gyp:pkg_packages', 22 '../../pkg/pkg.gyp:pkg_packages',
24 ], 23 ],
25 'includes': [ 24 'includes': [
26 '../../sdk/lib/core/corelib_sources.gypi', 25 '../../sdk/lib/core/corelib_sources.gypi',
27 ], 26 ],
28 'actions': [ 27 'actions': [
29 { 28 {
30 'action_name': 'run_docgen', 29 'action_name': 'run_docgen',
31 # The 'inputs' list records the files whose timestamps are 30 # The 'inputs' list records the files whose timestamps are
32 # compared to the files listed in 'outputs'. If a file 31 # compared to the files listed in 'outputs'. If a file
(...skipping 24 matching lines...) Expand all
57 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', 56 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)',
58 '<(SHARED_INTERMEDIATE_DIR)/utils_wrapper.dart.snapshot', 57 '<(SHARED_INTERMEDIATE_DIR)/utils_wrapper.dart.snapshot',
59 '<!@(["python", "../../tools/list_files.py", "\\.(css|ico|js|json|pn g|sh|txt|yaml|py)$", ".", "../../sdk/lib/_internal/dartdoc"])', 58 '<!@(["python", "../../tools/list_files.py", "\\.(css|ico|js|json|pn g|sh|txt|yaml|py)$", ".", "../../sdk/lib/_internal/dartdoc"])',
60 '<!@(["python", "../../tools/list_files.py", "\\.dart$", ".", "../.. /sdk/lib", "../../runtime/lib", "../../runtime/bin"])', 59 '<!@(["python", "../../tools/list_files.py", "\\.dart$", ".", "../.. /sdk/lib", "../../runtime/lib", "../../runtime/bin"])',
61 '../../sdk/bin/dart', 60 '../../sdk/bin/dart',
62 '../../sdk/bin/dart.bat', 61 '../../sdk/bin/dart.bat',
63 '../../sdk/bin/dart2js', 62 '../../sdk/bin/dart2js',
64 '../../sdk/bin/dart2js.bat', 63 '../../sdk/bin/dart2js.bat',
65 '../../sdk/bin/docgen', 64 '../../sdk/bin/docgen',
66 '../../sdk/bin/docgen.bat', 65 '../../sdk/bin/docgen.bat',
67 '../../tools/only_in_release_mode.py', 66 '../../tools/only_in_release_mode.py',
ricow1 2014/04/23 11:38:01 If you want to do this you need to put '<(PRODUCT_
aam-me 2014/04/23 12:07:10 Ah, that explains sporadic failures I have seen ar
68 ], 67 ],
ricow1 2014/04/23 11:38:01 we also need to have packages as input, as stated
aam-me 2014/04/23 12:07:10 Done.
69 'outputs': [ 68 'outputs': [
70 '<(PRODUCT_DIR)/api_docs/docgen/index.json', 69 '<(PRODUCT_DIR)/api_docs/docgen/index.json',
71 ], 70 ],
72 'action': [ 71 'action': [
73 'python', 72 'python',
74 '../../tools/only_in_release_mode.py', 73 '../../tools/only_in_release_mode.py',
75 '<@(_outputs)', 74 '<@(_outputs)',
76 '--', 75 '--',
77 '../../sdk/bin/dart', 76 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart-sdk/bin/docgen<(script_suff ix)',
ricow1 2014/04/23 11:38:01 why executable prefix here?
aam-me 2014/04/23 12:07:10 Removed.
78 '--package-root=<(PRODUCT_DIR)/packages',
79 '../../pkg/docgen/bin/docgen.dart',
80 '--out=<(PRODUCT_DIR)/api_docs/docgen', 77 '--out=<(PRODUCT_DIR)/api_docs/docgen',
81 '--include-sdk', 78 '--include-sdk',
82 '--no-include-dependent-packages', 79 '--no-include-dependent-packages',
83 '--package-root=<(PRODUCT_DIR)/packages', 80 '--package-root=<(PRODUCT_DIR)/packages',
84 '--exclude-lib=async_helper', 81 '--exclude-lib=async_helper',
85 '--exclude-lib=expect', 82 '--exclude-lib=expect',
86 '--exclude-lib=docgen', 83 '--exclude-lib=docgen',
87 '../../pkg' 84 '../../pkg'
88 ], 85 ],
89 'message': 'Running docgen: <(_action)', 86 'message': 'Running docgen: <(_action)',
90 }, 87 },
91 ], 88 ],
92 } 89 }
93 ], 90 ],
94 } 91 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698