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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « dart/tools/only_in_release_mode.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/utils/apidoc/apidoc.gyp
diff --git a/dart/utils/apidoc/apidoc.gyp b/dart/utils/apidoc/apidoc.gyp
index df2e4c5c9173c95f14d5b41fc5fdbfcd6a004451..4d351c3693a7df3f69107ce5f3df86f5a5e8ac6f 100644
--- a/dart/utils/apidoc/apidoc.gyp
+++ b/dart/utils/apidoc/apidoc.gyp
@@ -66,12 +66,18 @@
'../../sdk/bin/dart.bat',
'../../sdk/bin/dart2js',
'../../sdk/bin/dart2js.bat',
+ '../../tools/only_in_release_mode.py',
],
'outputs': [
'<(PRODUCT_DIR)/api_docs/index.html',
'<(PRODUCT_DIR)/api_docs/client-static.js',
],
'action': [
+ 'python',
+ '../../tools/only_in_release_mode.py',
+ '--outputs=<(_outputs)',
+ '--mode=$(DART_BUILD_MODE)',
+ '--',
'<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)',
'--package-root=<(PRODUCT_DIR)/packages/',
'apidoc.dart',
« 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