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

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

Issue 14049015: Allow spaces around conditions. (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 | « tools/dom/scripts/databasebuilder.py ('k') | 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 'ENABLE_CSS3_CONDITIONAL_RULES', 15 'ENABLE_CSS3_CONDITIONAL_RULES',
16 'ENABLE_CSS_DEVICE_ADAPTATION', 16 'ENABLE_CSS_DEVICE_ADAPTATION',
17 'ENABLE_CUSTOM_SCHEME_HANDLER', 17 'ENABLE_CUSTOM_SCHEME_HANDLER',
18 'ENABLE_ENCRYPTED_MEDIA_V2', 18 'ENABLE_ENCRYPTED_MEDIA_V2',
19 'ENABLE_INSPECTOR', # Internal DevTools API. 19 'ENABLE_INSPECTOR', # Internal DevTools API.
20 'ENABLE_MEDIA_CAPTURE', # Only enabled on Android. 20 'ENABLE_MEDIA_CAPTURE', # Only enabled on Android.
21 'ENABLE_MICRODATA', 21 'ENABLE_MICRODATA',
22 'ENABLE_ORIENTATION_EVENTS', # Only enabled on Android. 22 'ENABLE_ORIENTATION_EVENTS', # Only enabled on Android.
23 'ENABLE_PROXIMITY_EVENTS', 23 'ENABLE_PROXIMITY_EVENTS',
24 'ENABLE_SPEECH_SYNTHESIS', 24 'ENABLE_SPEECH_SYNTHESIS',
25 'ENABLE_WEBVTT_REGIONS',
25 'ENABLE_XHR_TIMEOUT', 26 'ENABLE_XHR_TIMEOUT',
26 # To enable.
27 'ENABLE_VIDEO_TRACK ', # Sic! With the trailing space.
28 ] 27 ]
29 28
30 FEATURE_DEFINES = [ 29 FEATURE_DEFINES = [
31 'ENABLE_BLOB', 30 'ENABLE_BLOB',
32 'ENABLE_CALENDAR_PICKER', 31 'ENABLE_CALENDAR_PICKER',
33 'ENABLE_CANVAS_PATH', 32 'ENABLE_CANVAS_PATH',
34 'ENABLE_CANVAS_PROXY', 33 'ENABLE_CANVAS_PROXY',
35 'ENABLE_CSS_FILTERS', 34 'ENABLE_CSS_FILTERS',
36 'ENABLE_CSS_REGIONS', 35 'ENABLE_CSS_REGIONS',
37 'ENABLE_CSS_SHADERS', 36 'ENABLE_CSS_SHADERS',
(...skipping 143 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 | « tools/dom/scripts/databasebuilder.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698