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

Unified Diff: tools/dom/scripts/dartdomgenerator.py

Issue 11914004: Removing dependency on dart binary from go.sh. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Upload again. Created 7 years, 11 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 | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/scripts/dartdomgenerator.py
diff --git a/tools/dom/scripts/dartdomgenerator.py b/tools/dom/scripts/dartdomgenerator.py
index 24ef49e1ac206c2f593f4efe9a5c205bffac81ea..6678a3c564128cf9f1b04f930dab2a183f0ee424 100755
--- a/tools/dom/scripts/dartdomgenerator.py
+++ b/tools/dom/scripts/dartdomgenerator.py
@@ -195,24 +195,6 @@ def main():
database = LoadDatabase(database_dir, options.use_database_cache)
GenerateFromDatabase(database, dart2js_output_dir, dartium_output_dir)
- _logger.info('Add documentation to generated classes.')
- html_to_json_script = os.path.relpath(
- '../../html_json_doc/bin/html_json_doc.dart',
- current_dir)
- html_output_dir = os.path.join(output_dir, 'dart2js/dart/html/')
- svg_output_dir = os.path.join(output_dir, 'dart2js/dart/svg/')
- html_json_path = os.path.relpath('../docs/html_docs.json')
- svg_json_path = os.path.relpath('../docs/svg_docs.json')
-
- path_to_dart = utils.DartSdkBinary()
- html_command = ' '.join([path_to_dart, html_to_json_script,
- '--mode=json-to-html', html_output_dir,
- html_json_path])
- svg_command = ' '.join([path_to_dart, html_to_json_script,
- '--mode=json-to-html', svg_output_dir, svg_json_path])
- subprocess.call([html_command], shell=True)
- subprocess.call([svg_command], shell=True)
-
if 'htmldart2js' in systems:
_logger.info('Generating dart2js single files.')
for library_name in _libraries:
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698