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

Side by Side Diff: client/dom/scripts/fremontcutbuilder.py

Issue 8588010: Regenerate from IDL with LANGUAGE_JAVASCRIPT on (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Map Array to List Created 9 years, 1 month 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 | « client/dom/scripts/dartgenerator.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 #!/usr/bin/python 1 #!/usr/bin/python
2 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 2 # Copyright (c) 2011, 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 import database 6 import database
7 import databasebuilder 7 import databasebuilder
8 import idlparser 8 import idlparser
9 import os.path 9 import os.path
10 import logging.config 10 import logging.config
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 'xml', 47 'xml',
48 ] 48 ]
49 # TODO(vsm): Move this to a README. 49 # TODO(vsm): Move this to a README.
50 # This is the Dart SVN revision. 50 # This is the Dart SVN revision.
51 webkit_revision = '1060' 51 webkit_revision = '1060'
52 52
53 # TODO(vsm): Reconcile what is exposed here and inside WebKit code 53 # TODO(vsm): Reconcile what is exposed here and inside WebKit code
54 # generation. 54 # generation.
55 webkit_defines = [ 55 webkit_defines = [
56 'LANGUAGE_DART', 56 'LANGUAGE_DART',
57 'LANGUAGE_JAVASCRIPT',
57 'ENABLE_DOM_STORAGE', 58 'ENABLE_DOM_STORAGE',
58 'ENABLE_NOTIFICATIONS', 59 'ENABLE_NOTIFICATIONS',
59 'ENABLE_OFFLINE_WEB_APPLICATIONS', 60 'ENABLE_OFFLINE_WEB_APPLICATIONS',
60 'ENABLE_REQUEST_ANIMATION_FRAME', 61 'ENABLE_REQUEST_ANIMATION_FRAME',
61 'ENABLE_WEB_TIMING', 62 'ENABLE_WEB_TIMING',
62 ] 63 ]
63 webkit_options = databasebuilder.DatabaseBuilderOptions( 64 webkit_options = databasebuilder.DatabaseBuilderOptions(
64 idl_syntax=idlparser.WEBKIT_SYNTAX, 65 idl_syntax=idlparser.WEBKIT_SYNTAX,
65 # TODO(vsm): What else should we define as on when processing IDL? 66 # TODO(vsm): What else should we define as on when processing IDL?
66 idl_defines=webkit_defines, 67 idl_defines=webkit_defines,
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 118
118 builder.fix_displacements('WebKit') 119 builder.fix_displacements('WebKit')
119 120
120 # Cleanup: 121 # Cleanup:
121 builder.normalize_annotations(['WebKit', 'Dart']) 122 builder.normalize_annotations(['WebKit', 'Dart'])
122 123
123 db.Save() 124 db.Save()
124 125
125 if __name__ == '__main__': 126 if __name__ == '__main__':
126 sys.exit(main()) 127 sys.exit(main())
OLDNEW
« no previous file with comments | « client/dom/scripts/dartgenerator.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698