Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(319)

Side by Side Diff: tools/dom/scripts/fremontcutbuilder.py

Issue 16399010: Remove now unused enables. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 15 matching lines...) Expand all
26 'ENABLE_XHR_TIMEOUT', 26 'ENABLE_XHR_TIMEOUT',
27 ] 27 ]
28 28
29 FEATURE_DEFINES = [ 29 FEATURE_DEFINES = [
30 'ENABLE_CALENDAR_PICKER', # Not on Android 30 'ENABLE_CALENDAR_PICKER', # Not on Android
31 'ENABLE_ENCRYPTED_MEDIA_V2', 31 'ENABLE_ENCRYPTED_MEDIA_V2',
32 'ENABLE_INPUT_SPEECH', # Not on Android 32 'ENABLE_INPUT_SPEECH', # Not on Android
33 'ENABLE_LEGACY_NOTIFICATIONS', # Not on Android 33 'ENABLE_LEGACY_NOTIFICATIONS', # Not on Android
34 'ENABLE_NAVIGATOR_CONTENT_UTILS', # Not on Android 34 'ENABLE_NAVIGATOR_CONTENT_UTILS', # Not on Android
35 'ENABLE_NOTIFICATIONS', # Not on Android 35 'ENABLE_NOTIFICATIONS', # Not on Android
36 'ENABLE_SVG',
37 'ENABLE_SVG_FONTS', 36 'ENABLE_SVG_FONTS',
38 'ENABLE_WEB_AUDIO', # Not on Android 37 'ENABLE_WEB_AUDIO', # Not on Android
39 'ENABLE_WEBGL',
40 ] 38 ]
41 39
42 def build_database(idl_files, database_dir, feature_defines=None, parallel=False ): 40 def build_database(idl_files, database_dir, feature_defines=None, parallel=False ):
43 """This code reconstructs the FremontCut IDL database from W3C, 41 """This code reconstructs the FremontCut IDL database from W3C,
44 WebKit and Dart IDL files.""" 42 WebKit and Dart IDL files."""
45 current_dir = os.path.dirname(__file__) 43 current_dir = os.path.dirname(__file__)
46 logging.config.fileConfig(os.path.join(current_dir, "logging.conf")) 44 logging.config.fileConfig(os.path.join(current_dir, "logging.conf"))
47 45
48 db = database.Database(database_dir) 46 db = database.Database(database_dir)
49 47
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 if ext == '.idl': 136 if ext == '.idl':
139 idl_files.append(file_name) 137 idl_files.append(file_name)
140 138
141 os.path.walk(webcore_dir, visitor, webcore_dir) 139 os.path.walk(webcore_dir, visitor, webcore_dir)
142 140
143 database_dir = os.path.join(current_dir, '..', 'database') 141 database_dir = os.path.join(current_dir, '..', 'database')
144 return build_database(idl_files, database_dir, parallel=parallel) 142 return build_database(idl_files, database_dir, parallel=parallel)
145 143
146 if __name__ == '__main__': 144 if __name__ == '__main__':
147 sys.exit(main()) 145 sys.exit(main())
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698