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

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

Issue 14263014: Triage feature defines. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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
11 import sys 11 import sys
12 12
13 FEATURE_DISABLED = [ 13 FEATURE_DISABLED = [
14 'ENABLE_BATTERY_STATUS', 14 'ENABLE_BATTERY_STATUS',
15 # Triage.
16 'ENABLE_CSS3_CONDITIONAL_RULES', 15 'ENABLE_CSS3_CONDITIONAL_RULES',
17 'ENABLE_CSS_DEVICE_ADAPTATION', 16 'ENABLE_CSS_DEVICE_ADAPTATION',
18 'ENABLE_CUSTOM_ELEMENTS',
19 'ENABLE_ENCRYPTED_MEDIA_V2', 17 'ENABLE_ENCRYPTED_MEDIA_V2',
20 'ENABLE_INSPECTOR', 18 'ENABLE_INSPECTOR', # Internal DevTools API.
21 'ENABLE_MEDIA_CAPTURE', 19 'ENABLE_MEDIA_CAPTURE', # Only enabled on Android.
22 'ENABLE_MICRODATA', 20 'ENABLE_MICRODATA',
21 'ENABLE_ORIENTATION_EVENTS', # Only enabled on Android.
22 'ENABLE_PROXIMITY_EVENTS',
23 'ENABLE_SPEECH_SYNTHESIS',
24 'ENABLE_XHR_TIMEOUT',
25 # To enable.
23 'ENABLE_NAVIGATOR_CONTENT_UTILS', 26 'ENABLE_NAVIGATOR_CONTENT_UTILS',
24 'ENABLE_ORIENTATION_EVENTS',
25 'ENABLE_PROXIMITY_EVENTS',
26 'ENABLE_RESOURCE_TIMING', 27 'ENABLE_RESOURCE_TIMING',
27 'ENABLE_SPEECH_SYNTHESIS',
28 'ENABLE_USER_TIMING', 28 'ENABLE_USER_TIMING',
29 'ENABLE_VIDEO_TRACK ', 29 'ENABLE_VIDEO_TRACK ', # Sic! With the trailing space.
Mads Ager (google) 2013/04/15 17:42:28 Yikes!
Anton Muhin 2013/04/15 17:43:52 That's actually a bug in our scripts, I have a fix
30 'ENABLE_XHR_TIMEOUT'
31 ] 30 ]
32 31
33 FEATURE_DEFINES = [ 32 FEATURE_DEFINES = [
34 'ENABLE_BLOB', 33 'ENABLE_BLOB',
35 'ENABLE_CALENDAR_PICKER', 34 'ENABLE_CALENDAR_PICKER',
36 'ENABLE_CANVAS_PATH', 35 'ENABLE_CANVAS_PATH',
37 'ENABLE_CANVAS_PROXY', 36 'ENABLE_CANVAS_PROXY',
38 'ENABLE_CSS_FILTERS', 37 'ENABLE_CSS_FILTERS',
39 'ENABLE_CSS_REGIONS', 38 'ENABLE_CSS_REGIONS',
40 'ENABLE_CSS_SHADERS', 39 'ENABLE_CSS_SHADERS',
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 if ext == '.idl' and name not in ignored_idls: 180 if ext == '.idl' and name not in ignored_idls:
182 idl_files.append(file_name) 181 idl_files.append(file_name)
183 182
184 os.path.walk(webcore_dir, visitor, webcore_dir) 183 os.path.walk(webcore_dir, visitor, webcore_dir)
185 184
186 database_dir = os.path.join(current_dir, '..', 'database') 185 database_dir = os.path.join(current_dir, '..', 'database')
187 return build_database(idl_files, database_dir, parallel=parallel) 186 return build_database(idl_files, database_dir, parallel=parallel)
188 187
189 if __name__ == '__main__': 188 if __name__ == '__main__':
190 sys.exit(main()) 189 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