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

Unified 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, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/isolate/isolate_frog.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/apidoc/apidoc.gyp
diff --git a/utils/apidoc/apidoc.gyp b/utils/apidoc/apidoc.gyp
index b03af87998379cad4d7ca307507dfa8747c32b6d..f7d7b0f919e2b55a5df66095f65763974a914ac1 100644
--- a/utils/apidoc/apidoc.gyp
+++ b/utils/apidoc/apidoc.gyp
@@ -3,6 +3,16 @@
# BSD-style license that can be found in the LICENSE file.
{
+ 'variables' : {
+ 'script_suffix%': '',
+ },
+ 'conditions' : [
+ ['OS=="win"', {
+ 'variables' : {
+ 'script_suffix': '.bat',
+ },
+ }],
+ ],
'targets': [
{
'target_name': 'api_docs',
@@ -20,9 +30,9 @@
'inputs': [
'<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)',
'<(PRODUCT_DIR)/dart2js',
+ '<(PRODUCT_DIR)/dart2js.bat',
'<!@(["python", "../../tools/list_files.py", "\\.(css|ico|js|json|png|sh|txt|yaml|py)$", ".", "../../lib/dartdoc"])',
'<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../lib", "../../runtime/lib", "../../runtime/bin"])',
- '<@(_sources)',
],
'outputs': [
'<(PRODUCT_DIR)/api_docs/index.html',
@@ -33,8 +43,9 @@
'apidoc.dart',
'--out=<(PRODUCT_DIR)/api_docs',
'--mode=live-nav',
- '--compiler=<(PRODUCT_DIR)/dart2js',
+ '--compiler=<(PRODUCT_DIR)/dart2js<(script_suffix)',
],
+ 'message': 'Running apidoc: <(_action)',
},
],
}
« 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