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

Side by Side Diff: lib/html/scripts/systemhtml.py

Issue 10950007: Fix generating html_dart2js.dart and html_dartium.dart files. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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 | « lib/html/scripts/systembase.py ('k') | lib/html/scripts/systemnative.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/python
2 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3 # for details. All rights reserved. Use of this source code is governed by a 3 # for details. All rights reserved. Use of this source code is governed by a
4 # BSD-style license that can be found in the LICENSE file. 4 # BSD-style license that can be found in the LICENSE file.
5 5
6 """This module provides shared functionality for the system to generate 6 """This module provides shared functionality for the system to generate
7 Dart:html APIs from the IDL database.""" 7 Dart:html APIs from the IDL database."""
8 8
9 import emitter 9 import emitter
10 10
(...skipping 1205 matching lines...) Expand 10 before | Expand all | Expand 10 after
1216 1216
1217 class HtmlDart2JSSystem(System): 1217 class HtmlDart2JSSystem(System):
1218 1218
1219 def __init__(self, options): 1219 def __init__(self, options):
1220 super(HtmlDart2JSSystem, self).__init__(options) 1220 super(HtmlDart2JSSystem, self).__init__(options)
1221 1221
1222 def ImplementationGenerator(self, interface): 1222 def ImplementationGenerator(self, interface):
1223 return HtmlDart2JSClassGenerator(self, interface) 1223 return HtmlDart2JSClassGenerator(self, interface)
1224 1224
1225 def GenerateLibraries(self, dart_files): 1225 def GenerateLibraries(self, dart_files):
1226 auxiliary_dir = os.path.relpath(self._auxiliary_dir, self._output_dir)
1226 self._GenerateLibFile( 1227 self._GenerateLibFile(
1227 'html_dart2js.darttemplate', 1228 'html_dart2js.darttemplate',
1228 os.path.join(self._output_dir, 'html_dart2js.dart'), 1229 os.path.join(self._output_dir, 'html_dart2js.dart'),
1229 dart_files) 1230 dart_files,
1231 AUXILIARY_DIR=systembase.MassagePath(auxiliary_dir))
1230 1232
1231 def Finish(self): 1233 def Finish(self):
1232 pass 1234 pass
OLDNEW
« no previous file with comments | « lib/html/scripts/systembase.py ('k') | lib/html/scripts/systemnative.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698