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

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

Issue 13784002: Only build apidoc in release mode. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address comments Created 7 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 | « dart/tools/only_in_release_mode.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 'script_suffix%': '', 7 'script_suffix%': '',
8 }, 8 },
9 'conditions' : [ 9 'conditions' : [
10 ['OS=="win"', { 10 ['OS=="win"', {
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 # the output directory. 59 # the output directory.
60 'inputs': [ 60 'inputs': [
61 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', 61 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)',
62 '<(PRODUCT_DIR)/dart2js.snapshot', 62 '<(PRODUCT_DIR)/dart2js.snapshot',
63 '<!@(["python", "../../tools/list_files.py", "\\.(css|ico|js|json|pn g|sh|txt|yaml|py)$", ".", "../../sdk/lib/_internal/dartdoc"])', 63 '<!@(["python", "../../tools/list_files.py", "\\.(css|ico|js|json|pn g|sh|txt|yaml|py)$", ".", "../../sdk/lib/_internal/dartdoc"])',
64 '<!@(["python", "../../tools/list_files.py", "\\.dart$", ".", "../.. /sdk/lib", "../../runtime/lib", "../../runtime/bin"])', 64 '<!@(["python", "../../tools/list_files.py", "\\.dart$", ".", "../.. /sdk/lib", "../../runtime/lib", "../../runtime/bin"])',
65 '../../sdk/bin/dart', 65 '../../sdk/bin/dart',
66 '../../sdk/bin/dart.bat', 66 '../../sdk/bin/dart.bat',
67 '../../sdk/bin/dart2js', 67 '../../sdk/bin/dart2js',
68 '../../sdk/bin/dart2js.bat', 68 '../../sdk/bin/dart2js.bat',
69 '../../tools/only_in_release_mode.py',
69 ], 70 ],
70 'outputs': [ 71 'outputs': [
71 '<(PRODUCT_DIR)/api_docs/index.html', 72 '<(PRODUCT_DIR)/api_docs/index.html',
72 '<(PRODUCT_DIR)/api_docs/client-static.js', 73 '<(PRODUCT_DIR)/api_docs/client-static.js',
73 ], 74 ],
74 'action': [ 75 'action': [
76 'python',
77 '../../tools/only_in_release_mode.py',
78 '--outputs=<(_outputs)',
79 '--mode=$(DART_BUILD_MODE)',
80 '--',
75 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', 81 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)',
76 '--package-root=<(PRODUCT_DIR)/packages/', 82 '--package-root=<(PRODUCT_DIR)/packages/',
77 'apidoc.dart', 83 'apidoc.dart',
78 '--out=<(PRODUCT_DIR)/api_docs', 84 '--out=<(PRODUCT_DIR)/api_docs',
79 '--version=<!@(["python", "../../tools/print_version.py"])', 85 '--version=<!@(["python", "../../tools/print_version.py"])',
80 '--package-root=<(PRODUCT_DIR)/packages', 86 '--package-root=<(PRODUCT_DIR)/packages',
81 '--mode=static', 87 '--mode=static',
82 '--exclude-lib=analyzer_experimental', 88 '--exclude-lib=analyzer_experimental',
83 '--exclude-lib=browser', 89 '--exclude-lib=browser',
84 '--exclude-lib=dartdoc', 90 '--exclude-lib=dartdoc',
85 '--exclude-lib=http', 91 '--exclude-lib=http',
86 '--exclude-lib=oauth2', 92 '--exclude-lib=oauth2',
87 '--exclude-lib=pathos', 93 '--exclude-lib=pathos',
88 '--exclude-lib=scheduled_test', 94 '--exclude-lib=scheduled_test',
89 '--exclude-lib=stack_trace', 95 '--exclude-lib=stack_trace',
90 '--exclude-lib=webdriver', 96 '--exclude-lib=webdriver',
91 '--exclude-lib=yaml', 97 '--exclude-lib=yaml',
92 '--include-lib=matcher', 98 '--include-lib=matcher',
93 '--include-lib=mock', 99 '--include-lib=mock',
94 ], 100 ],
95 'message': 'Running apidoc: <(_action)', 101 'message': 'Running apidoc: <(_action)',
96 }, 102 },
97 ], 103 ],
98 } 104 }
99 ], 105 ],
100 } 106 }
OLDNEW
« no previous file with comments | « dart/tools/only_in_release_mode.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698