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

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

Issue 10837033: Roll IDL to multivm@733 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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/dom/dom.dart ('k') | lib/html/dart2js/html_dart2js.dart » ('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) 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 logging.config 9 import logging.config
10 import os.path 10 import os.path
11 import sys 11 import sys
12 12
13 # TODO(antonm): most probably should go away or be autogenerated on IDLs roll. 13 # TODO(antonm): most probably should go away or be autogenerated on IDLs roll.
14 DEFAULT_FEATURE_DEFINES = [ 14 DEFAULT_FEATURE_DEFINES = [
15 # Enabled Chrome WebKit build. 15 # Enabled Chrome WebKit build.
16 'ENABLE_3D_PLUGIN', 16 'ENABLE_3D_PLUGIN',
17 'ENABLE_3D_RENDERING', 17 'ENABLE_3D_RENDERING',
18 'ENABLE_ACCELERATED_2D_CANVAS', 18 'ENABLE_ACCELERATED_2D_CANVAS',
19 'ENABLE_BATTERY_STATUS', 19 'ENABLE_BATTERY_STATUS',
20 'ENABLE_BLOB', 20 'ENABLE_BLOB',
21 'ENABLE_BLOB_SLICE', 21 'ENABLE_BLOB_SLICE',
22 'ENABLE_CALENDAR_PICKER', 22 'ENABLE_CALENDAR_PICKER',
23 'ENABLE_CHANNEL_MESSAGING', 23 'ENABLE_CHANNEL_MESSAGING',
24 'ENABLE_CSS_FILTERS', 24 'ENABLE_CSS_FILTERS',
25 'ENABLE_CSS_IMAGE_SET', 25 'ENABLE_CSS_IMAGE_SET',
26 'ENABLE_CSS_SHADERS', 26 'ENABLE_CSS_SHADERS',
27 'ENABLE_DART', 27 'ENABLE_DART',
28 'ENABLE_DATA_TRANSFER_ITEMS', 28 'ENABLE_DATA_TRANSFER_ITEMS',
29 'ENABLE_DETAILS', 29 'ENABLE_DETAILS',
30 'ENABLE_DETAILS_ELEMENT',
30 'ENABLE_DEVICE_ORIENTATION', 31 'ENABLE_DEVICE_ORIENTATION',
31 'ENABLE_DIRECTORY_UPLOAD', 32 'ENABLE_DIRECTORY_UPLOAD',
32 'ENABLE_DOWNLOAD_ATTRIBUTE', 33 'ENABLE_DOWNLOAD_ATTRIBUTE',
33 'ENABLE_ENCRYPTED_MEDIA', 34 'ENABLE_ENCRYPTED_MEDIA',
34 'ENABLE_FILE_SYSTEM', 35 'ENABLE_FILE_SYSTEM',
35 'ENABLE_FILTERS', 36 'ENABLE_FILTERS',
36 'ENABLE_FULLSCREEN_API', 37 'ENABLE_FULLSCREEN_API',
37 'ENABLE_GAMEPAD', 38 'ENABLE_GAMEPAD',
38 'ENABLE_GEOLOCATION', 39 'ENABLE_GEOLOCATION',
39 'ENABLE_GESTURE_EVENTS', 40 'ENABLE_GESTURE_EVENTS',
40 'ENABLE_INDEXED_DATABASE', 41 'ENABLE_INDEXED_DATABASE',
41 'ENABLE_INPUT_SPEECH', 42 'ENABLE_INPUT_SPEECH',
42 'ENABLE_INPUT_TYPE_COLOR', 43 'ENABLE_INPUT_TYPE_COLOR',
43 'ENABLE_INPUT_TYPE_DATE', 44 'ENABLE_INPUT_TYPE_DATE',
44 'ENABLE_JAVASCRIPT_DEBUGGER', 45 'ENABLE_JAVASCRIPT_DEBUGGER',
45 'ENABLE_JAVASCRIPT_I18N_API', 46 'ENABLE_JAVASCRIPT_I18N_API',
46 'ENABLE_LEGACY_NOTIFICATIONS', 47 'ENABLE_LEGACY_NOTIFICATIONS',
47 'ENABLE_LINK_PREFETCH', 48 'ENABLE_LINK_PREFETCH',
48 'ENABLE_MEDIA_SOURCE', 49 'ENABLE_MEDIA_SOURCE',
49 'ENABLE_MEDIA_STATISTICS', 50 'ENABLE_MEDIA_STATISTICS',
50 'ENABLE_MEDIA_STREAM', 51 'ENABLE_MEDIA_STREAM',
52 'ENABLE_METER_ELEMENT',
51 'ENABLE_METER_TAG', 53 'ENABLE_METER_TAG',
52 'ENABLE_MHTML', 54 'ENABLE_MHTML',
53 'ENABLE_MUTATION_OBSERVERS', 55 'ENABLE_MUTATION_OBSERVERS',
54 'ENABLE_NOTIFICATIONS', 56 'ENABLE_NOTIFICATIONS',
55 'ENABLE_OVERFLOW_SCROLLING', 57 'ENABLE_OVERFLOW_SCROLLING',
56 'ENABLE_PAGE_POPUP', 58 'ENABLE_PAGE_POPUP',
57 'ENABLE_PAGE_VISIBILITY_API', 59 'ENABLE_PAGE_VISIBILITY_API',
58 'ENABLE_POINTER_LOCK', 60 'ENABLE_POINTER_LOCK',
61 'ENABLE_PROGRESS_ELEMENT',
59 'ENABLE_PROGRESS_TAG', 62 'ENABLE_PROGRESS_TAG',
60 'ENABLE_QUOTA', 63 'ENABLE_QUOTA',
61 'ENABLE_REGISTER_PROTOCOL_HANDLER', 64 'ENABLE_REGISTER_PROTOCOL_HANDLER',
62 'ENABLE_REQUEST_ANIMATION_FRAME', 65 'ENABLE_REQUEST_ANIMATION_FRAME',
63 'ENABLE_RUBY', 66 'ENABLE_RUBY',
64 'ENABLE_SANDBOX', 67 'ENABLE_SANDBOX',
65 'ENABLE_SCRIPTED_SPEECH', 68 'ENABLE_SCRIPTED_SPEECH',
66 'ENABLE_SHADOW_DOM', 69 'ENABLE_SHADOW_DOM',
67 'ENABLE_SHARED_WORKERS', 70 'ENABLE_SHARED_WORKERS',
68 'ENABLE_SMOOTH_SCROLLING', 71 'ENABLE_SMOOTH_SCROLLING',
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 'html', 164 'html',
162 'html/canvas', 165 'html/canvas',
163 'inspector', 166 'inspector',
164 'loader', 167 'loader',
165 'loader/appcache', 168 'loader/appcache',
166 'Modules/battery', 169 'Modules/battery',
167 'Modules/filesystem', 170 'Modules/filesystem',
168 'Modules/gamepad', 171 'Modules/gamepad',
169 'Modules/geolocation', 172 'Modules/geolocation',
170 'Modules/indexeddb', 173 'Modules/indexeddb',
174 'Modules/mediasource',
171 'Modules/mediastream', 175 'Modules/mediastream',
172 'Modules/notifications', 176 'Modules/notifications',
173 'Modules/quota', 177 'Modules/quota',
174 'Modules/speech', 178 'Modules/speech',
175 'Modules/webaudio', 179 'Modules/webaudio',
176 'Modules/webdatabase', 180 'Modules/webdatabase',
177 'Modules/websockets', 181 'Modules/websockets',
178 'page', 182 'page',
179 'plugins', 183 'plugins',
180 'storage', 184 'storage',
(...skipping 22 matching lines...) Expand all
203 207
204 for dir_name in webkit_dirs: 208 for dir_name in webkit_dirs:
205 dir_path = os.path.join(webcore_dir, dir_name) 209 dir_path = os.path.join(webcore_dir, dir_name)
206 os.path.walk(dir_path, visitor, None) 210 os.path.walk(dir_path, visitor, None)
207 211
208 database_dir = os.path.join(current_dir, '..', 'database') 212 database_dir = os.path.join(current_dir, '..', 'database')
209 return build_database(idl_files, database_dir) 213 return build_database(idl_files, database_dir)
210 214
211 if __name__ == '__main__': 215 if __name__ == '__main__':
212 sys.exit(main()) 216 sys.exit(main())
OLDNEW
« no previous file with comments | « lib/dom/dom.dart ('k') | lib/html/dart2js/html_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698