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

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

Issue 8895013: Add enables consistent with Chrome's WebKit (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Alpha the ENABLEs Created 9 years 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/generated/wrapping_dom_externs.js ('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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 'webaudio', 42 'webaudio',
43 'websockets', 43 'websockets',
44 'workers', 44 'workers',
45 'xml', 45 'xml',
46 ] 46 ]
47 # TODO(vsm): Move this to a README. 47 # TODO(vsm): Move this to a README.
48 # This is the Dart SVN revision. 48 # This is the Dart SVN revision.
49 webkit_revision = '1060' 49 webkit_revision = '1060'
50 50
51 # TODO(vsm): Reconcile what is exposed here and inside WebKit code 51 # TODO(vsm): Reconcile what is exposed here and inside WebKit code
52 # generation. 52 # generation. We need to recheck this periodically for now.
53 webkit_defines = [ 53 webkit_defines = [
54 'LANGUAGE_DART', 54 'LANGUAGE_DART',
55 'LANGUAGE_JAVASCRIPT', 55 'LANGUAGE_JAVASCRIPT',
56 'ENABLE_DOM_STORAGE', 56
57 # Enabled Chrome WebKit build.
58 'ENABLE_3D_PLUGIN',
59 'ENABLE_3D_RENDERING',
60 'ENABLE_ACCELERATED_2D_CANVAS',
61 'ENABLE_BLOB',
62 'ENABLE_BLOB_SLICE',
63 'ENABLE_CHANNEL_MESSAGING',
64 'ENABLE_CLIENT_BASED_GEOLOCATION',
65 'ENABLE_DATA_TRANSFER_ITEMS',
66 'ENABLE_DETAILS',
67 'ENABLE_DEVICE_ORIENTATION',
68 'ENABLE_DIRECTORY_UPLOAD',
69 'ENABLE_DOWNLOAD_ATTRIBUTE',
57 'ENABLE_FILE_SYSTEM', 70 'ENABLE_FILE_SYSTEM',
71 'ENABLE_FILTERS',
58 'ENABLE_FULLSCREEN_API', 72 'ENABLE_FULLSCREEN_API',
73 'ENABLE_GAMEPAD',
74 'ENABLE_GEOLOCATION',
75 'ENABLE_GESTURE_EVENTS',
76 'ENABLE_GESTURE_RECOGNIZER',
77 'ENABLE_INDEXED_DATABASE',
78 'ENABLE_INPUT_SPEECH',
79 'ENABLE_JAVASCRIPT_DEBUGGER',
80 'ENABLE_JAVASCRIPT_I18N_API',
81 'ENABLE_LINK_PREFETCH',
82 'ENABLE_MEDIA_SOURCE',
83 'ENABLE_MEDIA_STATISTICS',
84 'ENABLE_MEDIA_STREAM',
85 'ENABLE_METER_TAG',
86 'ENABLE_MHTML',
87 'ENABLE_MOUSE_LOCK_API',
59 'ENABLE_NOTIFICATIONS', 88 'ENABLE_NOTIFICATIONS',
60 'ENABLE_OFFLINE_WEB_APPLICATIONS', 89 'ENABLE_PAGE_VISIBILITY_API',
90 'ENABLE_PROGRESS_TAG',
91 'ENABLE_QUOTA',
92 'ENABLE_REGISTER_PROTOCOL_HANDLER',
61 'ENABLE_REQUEST_ANIMATION_FRAME', 93 'ENABLE_REQUEST_ANIMATION_FRAME',
94 'ENABLE_RUBY',
95 'ENABLE_SANDBOX',
96 'ENABLE_SHARED_WORKERS',
97 'ENABLE_SMOOTH_SCROLLING',
98 'ENABLE_SQL_DATABASE',
99 'ENABLE_SVG',
100 'ENABLE_SVG_FONTS',
101 'ENABLE_TOUCH_EVENTS',
102 'ENABLE_V8_SCRIPT_DEBUG_SERVER',
62 'ENABLE_VIDEO', 103 'ENABLE_VIDEO',
104 'ENABLE_VIDEO_TRACK',
105 'ENABLE_WEBGL',
106 'ENABLE_WEB_AUDIO',
107 'ENABLE_WEB_SOCKETS',
63 'ENABLE_WEB_TIMING', 108 'ENABLE_WEB_TIMING',
109 'ENABLE_WORKERS',
110 'ENABLE_XHR_RESPONSE_BLOB',
111 'ENABLE_XSLT',
64 ] 112 ]
65 webkit_options = databasebuilder.DatabaseBuilderOptions( 113 webkit_options = databasebuilder.DatabaseBuilderOptions(
66 idl_syntax=idlparser.WEBKIT_SYNTAX, 114 idl_syntax=idlparser.WEBKIT_SYNTAX,
67 # TODO(vsm): What else should we define as on when processing IDL? 115 # TODO(vsm): What else should we define as on when processing IDL?
68 idl_defines=webkit_defines, 116 idl_defines=webkit_defines,
69 source='WebKit', 117 source='WebKit',
70 source_attributes={'revision': webkit_revision}, 118 source_attributes={'revision': webkit_revision},
71 type_rename_map={ 119 type_rename_map={
72 'float': 'double', 120 'float': 'double',
73 'BarInfo': 'BarProp', 121 'BarInfo': 'BarProp',
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 167
120 builder.fix_displacements('WebKit') 168 builder.fix_displacements('WebKit')
121 169
122 # Cleanup: 170 # Cleanup:
123 builder.normalize_annotations(['WebKit', 'Dart']) 171 builder.normalize_annotations(['WebKit', 'Dart'])
124 172
125 db.Save() 173 db.Save()
126 174
127 if __name__ == '__main__': 175 if __name__ == '__main__':
128 sys.exit(main()) 176 sys.exit(main())
OLDNEW
« no previous file with comments | « client/dom/generated/wrapping_dom_externs.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698