Chromium Code Reviews| 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 46 'ENABLE_JAVASCRIPT_DEBUGGER', | 46 'ENABLE_JAVASCRIPT_DEBUGGER', |
| 47 'ENABLE_JAVASCRIPT_I18N_API', | 47 'ENABLE_JAVASCRIPT_I18N_API', |
| 48 'ENABLE_LEGACY_NOTIFICATIONS', | 48 'ENABLE_LEGACY_NOTIFICATIONS', |
| 49 'ENABLE_LINK_PREFETCH', | 49 'ENABLE_LINK_PREFETCH', |
| 50 'ENABLE_MEDIA_SOURCE', | 50 'ENABLE_MEDIA_SOURCE', |
| 51 'ENABLE_MEDIA_STATISTICS', | 51 'ENABLE_MEDIA_STATISTICS', |
| 52 'ENABLE_MEDIA_STREAM', | 52 'ENABLE_MEDIA_STREAM', |
| 53 'ENABLE_METER_ELEMENT', | 53 'ENABLE_METER_ELEMENT', |
| 54 'ENABLE_METER_TAG', | 54 'ENABLE_METER_TAG', |
| 55 'ENABLE_MHTML', | 55 'ENABLE_MHTML', |
| 56 'ENABLE_MUTATION_OBSERVERS', | |
|
podivilov
2013/01/18 13:17:00
Why are you removing this?
| |
| 57 'ENABLE_NOTIFICATIONS', | 56 'ENABLE_NOTIFICATIONS', |
| 58 'ENABLE_OVERFLOW_SCROLLING', | 57 'ENABLE_OVERFLOW_SCROLLING', |
| 59 'ENABLE_PAGE_POPUP', | 58 'ENABLE_PAGE_POPUP', |
| 60 'ENABLE_PAGE_VISIBILITY_API', | 59 'ENABLE_PAGE_VISIBILITY_API', |
| 61 'ENABLE_POINTER_LOCK', | 60 'ENABLE_POINTER_LOCK', |
| 62 'ENABLE_PROGRESS_ELEMENT', | 61 'ENABLE_PROGRESS_ELEMENT', |
| 63 'ENABLE_PROGRESS_TAG', | 62 'ENABLE_PROGRESS_TAG', |
| 64 'ENABLE_QUOTA', | 63 'ENABLE_QUOTA', |
| 65 'ENABLE_REGISTER_PROTOCOL_HANDLER', | 64 'ENABLE_REGISTER_PROTOCOL_HANDLER', |
| 66 'ENABLE_REQUEST_ANIMATION_FRAME', | 65 'ENABLE_REQUEST_ANIMATION_FRAME', |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 199 | 198 |
| 200 for dir_name in webkit_dirs: | 199 for dir_name in webkit_dirs: |
| 201 dir_path = os.path.join(webcore_dir, dir_name) | 200 dir_path = os.path.join(webcore_dir, dir_name) |
| 202 os.path.walk(dir_path, visitor, None) | 201 os.path.walk(dir_path, visitor, None) |
| 203 | 202 |
| 204 database_dir = os.path.join(current_dir, '..', 'database') | 203 database_dir = os.path.join(current_dir, '..', 'database') |
| 205 return build_database(idl_files, database_dir, parallel=parallel) | 204 return build_database(idl_files, database_dir, parallel=parallel) |
| 206 | 205 |
| 207 if __name__ == '__main__': | 206 if __name__ == '__main__': |
| 208 sys.exit(main()) | 207 sys.exit(main()) |
| OLD | NEW |