| OLD | NEW |
| 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 17 matching lines...) Expand all Loading... |
| 28 webkit_dirs = [ | 28 webkit_dirs = [ |
| 29 'Modules/indexeddb', | 29 'Modules/indexeddb', |
| 30 'css', | 30 'css', |
| 31 'dom', | 31 'dom', |
| 32 'fileapi', | 32 'fileapi', |
| 33 'html', | 33 'html', |
| 34 'html/canvas', | 34 'html/canvas', |
| 35 'inspector', | 35 'inspector', |
| 36 'loader', | 36 'loader', |
| 37 'loader/appcache', | 37 'loader/appcache', |
| 38 'mediastream', |
| 38 'notifications', | 39 'notifications', |
| 39 'page', | 40 'page', |
| 40 'plugins', | 41 'plugins', |
| 41 'storage', | 42 'storage', |
| 42 'svg', | 43 'svg', |
| 43 'webaudio', | 44 'webaudio', |
| 44 'websockets', | 45 'websockets', |
| 45 'workers', | 46 'workers', |
| 46 'xml', | 47 'xml', |
| 47 ] | 48 ] |
| 49 |
| 48 # TODO(vsm): Move this to a README. | 50 # TODO(vsm): Move this to a README. |
| 49 # This is the Dart SVN revision. | 51 # This is the Dart SVN revision. |
| 50 webkit_revision = '1060' | 52 webkit_revision = '1060' |
| 51 | 53 |
| 52 # TODO(vsm): Reconcile what is exposed here and inside WebKit code | 54 # TODO(vsm): Reconcile what is exposed here and inside WebKit code |
| 53 # generation. We need to recheck this periodically for now. | 55 # generation. We need to recheck this periodically for now. |
| 54 webkit_defines = [ | 56 webkit_defines = [ |
| 55 'LANGUAGE_DART', | 57 'LANGUAGE_DART', |
| 56 'LANGUAGE_JAVASCRIPT', | 58 'LANGUAGE_JAVASCRIPT', |
| 57 | 59 |
| (...skipping 29 matching lines...) Expand all Loading... |
| 87 'ENABLE_MHTML', | 89 'ENABLE_MHTML', |
| 88 'ENABLE_MOUSE_LOCK_API', | 90 'ENABLE_MOUSE_LOCK_API', |
| 89 'ENABLE_NOTIFICATIONS', | 91 'ENABLE_NOTIFICATIONS', |
| 90 'ENABLE_PAGE_VISIBILITY_API', | 92 'ENABLE_PAGE_VISIBILITY_API', |
| 91 'ENABLE_PROGRESS_TAG', | 93 'ENABLE_PROGRESS_TAG', |
| 92 'ENABLE_QUOTA', | 94 'ENABLE_QUOTA', |
| 93 'ENABLE_REGISTER_PROTOCOL_HANDLER', | 95 'ENABLE_REGISTER_PROTOCOL_HANDLER', |
| 94 'ENABLE_REQUEST_ANIMATION_FRAME', | 96 'ENABLE_REQUEST_ANIMATION_FRAME', |
| 95 'ENABLE_RUBY', | 97 'ENABLE_RUBY', |
| 96 'ENABLE_SANDBOX', | 98 'ENABLE_SANDBOX', |
| 99 'ENABLE_SHADOW_DOM', |
| 97 'ENABLE_SHARED_WORKERS', | 100 'ENABLE_SHARED_WORKERS', |
| 98 'ENABLE_SMOOTH_SCROLLING', | 101 'ENABLE_SMOOTH_SCROLLING', |
| 99 'ENABLE_SQL_DATABASE', | 102 'ENABLE_SQL_DATABASE', |
| 100 'ENABLE_SVG', | 103 'ENABLE_SVG', |
| 101 'ENABLE_SVG_FONTS', | 104 'ENABLE_SVG_FONTS', |
| 102 'ENABLE_TOUCH_EVENTS', | 105 'ENABLE_TOUCH_EVENTS', |
| 103 'ENABLE_V8_SCRIPT_DEBUG_SERVER', | 106 'ENABLE_V8_SCRIPT_DEBUG_SERVER', |
| 104 'ENABLE_VIDEO', | 107 'ENABLE_VIDEO', |
| 105 'ENABLE_VIDEO_TRACK', | 108 'ENABLE_VIDEO_TRACK', |
| 106 'ENABLE_WEBGL', | 109 'ENABLE_WEBGL', |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 | 175 |
| 173 builder.fix_displacements('WebKit') | 176 builder.fix_displacements('WebKit') |
| 174 | 177 |
| 175 # Cleanup: | 178 # Cleanup: |
| 176 builder.normalize_annotations(['WebKit', 'Dart']) | 179 builder.normalize_annotations(['WebKit', 'Dart']) |
| 177 | 180 |
| 178 db.Save() | 181 db.Save() |
| 179 | 182 |
| 180 if __name__ == '__main__': | 183 if __name__ == '__main__': |
| 181 sys.exit(main()) | 184 sys.exit(main()) |
| OLD | NEW |