| 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 logging.config | 9 import logging.config |
| 10 import os.path | 10 import os.path |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 'html', | 165 'html', |
| 166 'html/canvas', | 166 'html/canvas', |
| 167 'inspector', | 167 'inspector', |
| 168 'loader', | 168 'loader', |
| 169 'loader/appcache', | 169 'loader/appcache', |
| 170 'Modules/battery', | 170 'Modules/battery', |
| 171 'Modules/filesystem', | 171 'Modules/filesystem', |
| 172 'Modules/geolocation', | 172 'Modules/geolocation', |
| 173 'Modules/indexeddb', | 173 'Modules/indexeddb', |
| 174 'Modules/mediastream', | 174 'Modules/mediastream', |
| 175 'Modules/notifications', |
| 175 'Modules/speech', | 176 'Modules/speech', |
| 176 'Modules/webaudio', | 177 'Modules/webaudio', |
| 177 'Modules/webdatabase', | 178 'Modules/webdatabase', |
| 178 'Modules/websockets', | 179 'Modules/websockets', |
| 179 'notifications', | |
| 180 'page', | 180 'page', |
| 181 'plugins', | 181 'plugins', |
| 182 'storage', | 182 'storage', |
| 183 'svg', | 183 'svg', |
| 184 'workers', | 184 'workers', |
| 185 'xml', | 185 'xml', |
| 186 ] | 186 ] |
| 187 | 187 |
| 188 ignored_idls = [ | 188 ignored_idls = [ |
| 189 'AbstractView.idl', | 189 'AbstractView.idl', |
| (...skipping 15 matching lines...) Expand all Loading... |
| 205 | 205 |
| 206 for dir_name in webkit_dirs: | 206 for dir_name in webkit_dirs: |
| 207 dir_path = os.path.join(webcore_dir, dir_name) | 207 dir_path = os.path.join(webcore_dir, dir_name) |
| 208 os.path.walk(dir_path, visitor, None) | 208 os.path.walk(dir_path, visitor, None) |
| 209 | 209 |
| 210 database_dir = os.path.join(current_dir, '..', 'database') | 210 database_dir = os.path.join(current_dir, '..', 'database') |
| 211 return build_database(idl_files, database_dir) | 211 return build_database(idl_files, database_dir) |
| 212 | 212 |
| 213 if __name__ == '__main__': | 213 if __name__ == '__main__': |
| 214 sys.exit(main()) | 214 sys.exit(main()) |
| OLD | NEW |