| 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 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 | 208 |
| 209 for dir_name in webkit_dirs: | 209 for dir_name in webkit_dirs: |
| 210 dir_path = os.path.join(webcore_dir, dir_name) | 210 dir_path = os.path.join(webcore_dir, dir_name) |
| 211 os.path.walk(dir_path, visitor, None) | 211 os.path.walk(dir_path, visitor, None) |
| 212 | 212 |
| 213 database_dir = os.path.join(current_dir, '..', 'database') | 213 database_dir = os.path.join(current_dir, '..', 'database') |
| 214 return build_database(idl_files, database_dir) | 214 return build_database(idl_files, database_dir) |
| 215 | 215 |
| 216 if __name__ == '__main__': | 216 if __name__ == '__main__': |
| 217 sys.exit(main()) | 217 sys.exit(main()) |
| OLD | NEW |