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

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

Issue 14262002: Enables necessary for Dartium. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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 | « sdk/lib/html/dartium/html_dartium.dart ('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 logging.config 9 import logging.config
10 import os.path 10 import os.path
11 import sys 11 import sys
12 12
13 FEATURE_DISABLED = [ 13 FEATURE_DISABLED = [
14 'ENABLE_BATTERY_STATUS', 14 'ENABLE_BATTERY_STATUS',
15 # Triage. 15 # Triage.
16 'ENABLE_CANVAS_PATH', 16 'ENABLE_CANVAS_PATH',
17 'ENABLE_CANVAS_PROXY', 17 'ENABLE_CANVAS_PROXY',
18 'ENABLE_CSS3_CONDITIONAL_RULES', 18 'ENABLE_CSS3_CONDITIONAL_RULES',
19 'ENABLE_CSS_DEVICE_ADAPTATION', 19 'ENABLE_CSS_DEVICE_ADAPTATION',
20 'ENABLE_CSS_REGIONS',
21 'ENABLE_CUSTOM_ELEMENTS', 20 'ENABLE_CUSTOM_ELEMENTS',
22 'ENABLE_DIALOG_ELEMENT',
23 'ENABLE_ENCRYPTED_MEDIA_V2', 21 'ENABLE_ENCRYPTED_MEDIA_V2',
24 'ENABLE_FONT_LOAD_EVENTS',
25 'ENABLE_INSPECTOR', 22 'ENABLE_INSPECTOR',
26 'ENABLE_MEDIA_CAPTURE', 23 'ENABLE_MEDIA_CAPTURE',
27 'ENABLE_MICRODATA', 24 'ENABLE_MICRODATA',
28 'ENABLE_NAVIGATOR_CONTENT_UTILS', 25 'ENABLE_NAVIGATOR_CONTENT_UTILS',
29 'ENABLE_ORIENTATION_EVENTS', 26 'ENABLE_ORIENTATION_EVENTS',
30 'ENABLE_PERFORMANCE_TIMELINE',
31 'ENABLE_PROXIMITY_EVENTS', 27 'ENABLE_PROXIMITY_EVENTS',
32 'ENABLE_REQUEST_AUTOCOMPLETE',
33 'ENABLE_RESOURCE_TIMING', 28 'ENABLE_RESOURCE_TIMING',
34 'ENABLE_SPEECH_SYNTHESIS', 29 'ENABLE_SPEECH_SYNTHESIS',
35 'ENABLE_USER_TIMING', 30 'ENABLE_USER_TIMING',
36 'ENABLE_VIDEO_TRACK ', 31 'ENABLE_VIDEO_TRACK ',
37 'ENABLE_XHR_TIMEOUT' 32 'ENABLE_XHR_TIMEOUT'
38 ] 33 ]
39 34
40 FEATURE_DEFINES = [ 35 FEATURE_DEFINES = [
41 'ENABLE_BLOB', 36 'ENABLE_BLOB',
42 'ENABLE_CALENDAR_PICKER', 37 'ENABLE_CALENDAR_PICKER',
43 'ENABLE_CSS_FILTERS', 38 'ENABLE_CSS_FILTERS',
39 'ENABLE_CSS_REGIONS',
44 'ENABLE_CSS_SHADERS', 40 'ENABLE_CSS_SHADERS',
41 'ENABLE_CUSTOM_ELEMENTS',
45 'ENABLE_DATALIST_ELEMENT', 42 'ENABLE_DATALIST_ELEMENT',
46 'ENABLE_DETAILS_ELEMENT', 43 'ENABLE_DETAILS_ELEMENT',
47 'ENABLE_DEVICE_ORIENTATION', 44 'ENABLE_DEVICE_ORIENTATION',
45 'ENABLE_DIALOG_ELEMENT',
48 'ENABLE_DIRECTORY_UPLOAD', 46 'ENABLE_DIRECTORY_UPLOAD',
49 'ENABLE_DOWNLOAD_ATTRIBUTE', 47 'ENABLE_DOWNLOAD_ATTRIBUTE',
50 'ENABLE_ENCRYPTED_MEDIA', 48 'ENABLE_ENCRYPTED_MEDIA',
51 'ENABLE_FILE_SYSTEM', 49 'ENABLE_FILE_SYSTEM',
52 'ENABLE_FILTERS', 50 'ENABLE_FILTERS',
51 'ENABLE_FONT_LOAD_EVENTS',
53 'ENABLE_GAMEPAD', 52 'ENABLE_GAMEPAD',
54 'ENABLE_GEOLOCATION', 53 'ENABLE_GEOLOCATION',
55 'ENABLE_INPUT_SPEECH', 54 'ENABLE_INPUT_SPEECH',
56 'ENABLE_JAVASCRIPT_DEBUGGER', 55 'ENABLE_JAVASCRIPT_DEBUGGER',
57 'ENABLE_LEGACY_NOTIFICATIONS', 56 'ENABLE_LEGACY_NOTIFICATIONS',
58 'ENABLE_MEDIA_STATISTICS', 57 'ENABLE_MEDIA_STATISTICS',
59 'ENABLE_MEDIA_STREAM', 58 'ENABLE_MEDIA_STREAM',
60 'ENABLE_METER_ELEMENT', 59 'ENABLE_METER_ELEMENT',
61 'ENABLE_NOTIFICATIONS', 60 'ENABLE_NOTIFICATIONS',
62 'ENABLE_PAGE_POPUP', 61 'ENABLE_PAGE_POPUP',
62 'ENABLE_PERFORMANCE_TIMELINE',
63 'ENABLE_POINTER_LOCK', 63 'ENABLE_POINTER_LOCK',
64 'ENABLE_PROGRESS_ELEMENT', 64 'ENABLE_PROGRESS_ELEMENT',
65 'ENABLE_QUOTA', 65 'ENABLE_QUOTA',
66 'ENABLE_REQUEST_ANIMATION_FRAME', 66 'ENABLE_REQUEST_ANIMATION_FRAME',
67 'ENABLE_REQUEST_AUTOCOMPLETE',
67 'ENABLE_SCRIPTED_SPEECH', 68 'ENABLE_SCRIPTED_SPEECH',
68 'ENABLE_SHADOW_DOM', 69 'ENABLE_SHADOW_DOM',
69 'ENABLE_SHARED_WORKERS', 70 'ENABLE_SHARED_WORKERS',
70 'ENABLE_SQL_DATABASE', 71 'ENABLE_SQL_DATABASE',
71 'ENABLE_STYLE_SCOPED', 72 'ENABLE_STYLE_SCOPED',
72 'ENABLE_SVG', 73 'ENABLE_SVG',
73 'ENABLE_SVG_FONTS', 74 'ENABLE_SVG_FONTS',
74 'ENABLE_TOUCH_EVENTS', 75 'ENABLE_TOUCH_EVENTS',
75 'ENABLE_VIDEO', 76 'ENABLE_VIDEO',
76 'ENABLE_VIDEO_TRACK', 77 'ENABLE_VIDEO_TRACK',
78 'ENABLE_WEB_AUDIO',
77 'ENABLE_WEBGL', 79 'ENABLE_WEBGL',
78 'ENABLE_WEB_AUDIO',
79 'ENABLE_WEB_SOCKETS', 80 'ENABLE_WEB_SOCKETS',
80 'ENABLE_WEB_TIMING', 81 'ENABLE_WEB_TIMING',
81 'ENABLE_WORKERS', 82 'ENABLE_WORKERS',
82 'ENABLE_XSLT', 83 'ENABLE_XSLT',
83 ] 84 ]
84 85
85 def build_database(idl_files, database_dir, parallel=False): 86 def build_database(idl_files, database_dir, parallel=False):
86 """This code reconstructs the FremontCut IDL database from W3C, 87 """This code reconstructs the FremontCut IDL database from W3C,
87 WebKit and Dart IDL files.""" 88 WebKit and Dart IDL files."""
88 current_dir = os.path.dirname(__file__) 89 current_dir = os.path.dirname(__file__)
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 if ext == '.idl' and name not in ignored_idls: 181 if ext == '.idl' and name not in ignored_idls:
181 idl_files.append(file_name) 182 idl_files.append(file_name)
182 183
183 os.path.walk(webcore_dir, visitor, webcore_dir) 184 os.path.walk(webcore_dir, visitor, webcore_dir)
184 185
185 database_dir = os.path.join(current_dir, '..', 'database') 186 database_dir = os.path.join(current_dir, '..', 'database')
186 return build_database(idl_files, database_dir, parallel=parallel) 187 return build_database(idl_files, database_dir, parallel=parallel)
187 188
188 if __name__ == '__main__': 189 if __name__ == '__main__':
189 sys.exit(main()) 190 sys.exit(main())
OLDNEW
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698