| 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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 'css', | 162 'css', |
| 163 'dom', | 163 'dom', |
| 164 'fileapi', | 164 'fileapi', |
| 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/gamepad', |
| 172 'Modules/geolocation', | 173 'Modules/geolocation', |
| 173 'Modules/indexeddb', | 174 'Modules/indexeddb', |
| 174 'Modules/mediastream', | 175 'Modules/mediastream', |
| 175 'Modules/notifications', | 176 'Modules/notifications', |
| 177 'Modules/quota', |
| 176 'Modules/speech', | 178 'Modules/speech', |
| 177 'Modules/webaudio', | 179 'Modules/webaudio', |
| 178 'Modules/webdatabase', | 180 'Modules/webdatabase', |
| 179 'Modules/websockets', | 181 'Modules/websockets', |
| 180 'page', | 182 'page', |
| 181 'plugins', | 183 'plugins', |
| 182 'storage', | 184 'storage', |
| 183 'svg', | 185 'svg', |
| 184 'workers', | 186 'workers', |
| 185 'xml', | 187 'xml', |
| (...skipping 19 matching lines...) Expand all Loading... |
| 205 | 207 |
| 206 for dir_name in webkit_dirs: | 208 for dir_name in webkit_dirs: |
| 207 dir_path = os.path.join(webcore_dir, dir_name) | 209 dir_path = os.path.join(webcore_dir, dir_name) |
| 208 os.path.walk(dir_path, visitor, None) | 210 os.path.walk(dir_path, visitor, None) |
| 209 | 211 |
| 210 database_dir = os.path.join(current_dir, '..', 'database') | 212 database_dir = os.path.join(current_dir, '..', 'database') |
| 211 return build_database(idl_files, database_dir) | 213 return build_database(idl_files, database_dir) |
| 212 | 214 |
| 213 if __name__ == '__main__': | 215 if __name__ == '__main__': |
| 214 sys.exit(main()) | 216 sys.exit(main()) |
| OLD | NEW |