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

Side by Side Diff: Tools/Scripts/webkitpy/bindings/main.py

Issue 831483004: IDL: Make enums have global visibility (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « Source/modules/serviceworkers/WindowClient.idl ('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 # Copyright (C) 2011 Google Inc. All rights reserved. 1 # Copyright (C) 2011 Google Inc. All rights reserved.
2 # 2 #
3 # Redistribution and use in source and binary forms, with or without 3 # Redistribution and use in source and binary forms, with or without
4 # modification, are permitted provided that the following conditions 4 # modification, are permitted provided that the following conditions
5 # are met: 5 # are met:
6 # 1. Redistributions of source code must retain the above copyright 6 # 1. Redistributions of source code must retain the above copyright
7 # notice, this list of conditions and the following disclaimer. 7 # notice, this list of conditions and the following disclaimer.
8 # 2. Redistributions in binary form must reproduce the above copyright 8 # 2. Redistributions in binary form must reproduce the above copyright
9 # notice, this list of conditions and the following disclaimer in the 9 # notice, this list of conditions and the following disclaimer in the
10 # documentation and/or other materials provided with the distribution. 10 # documentation and/or other materials provided with the distribution.
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 output_dir, 281 output_dir,
282 info_provider=component_info_providers[component], 282 info_provider=component_info_providers[component],
283 only_if_changed=True) 283 only_if_changed=True)
284 if component == 'core': 284 if component == 'core':
285 partial_interface_output_dir = os.path.join(output_directory, 285 partial_interface_output_dir = os.path.join(output_directory,
286 'modules') 286 'modules')
287 if not os.path.exists(partial_interface_output_dir): 287 if not os.path.exists(partial_interface_output_dir):
288 os.makedirs(partial_interface_output_dir) 288 os.makedirs(partial_interface_output_dir)
289 idl_partial_interface_compiler = IdlCompilerV8( 289 idl_partial_interface_compiler = IdlCompilerV8(
290 partial_interface_output_dir, 290 partial_interface_output_dir,
291 info_provider=component_info_providers[component], 291 info_provider=component_info_providers['modules'],
292 only_if_changed=True, 292 only_if_changed=True,
293 target_component='modules') 293 target_component='modules')
294 else: 294 else:
295 idl_partial_interface_compiler = None 295 idl_partial_interface_compiler = None
296 296
297 dictionary_impl_compiler = IdlCompilerDictionaryImpl( 297 dictionary_impl_compiler = IdlCompilerDictionaryImpl(
298 output_dir, info_provider=component_info_providers[component], 298 output_dir, info_provider=component_info_providers[component],
299 only_if_changed=True) 299 only_if_changed=True)
300 300
301 idl_filenames = [] 301 idl_filenames = []
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 339
340 340
341 def run_bindings_tests(reset_results, verbose): 341 def run_bindings_tests(reset_results, verbose):
342 # Generate output into the reference directory if resetting results, or 342 # Generate output into the reference directory if resetting results, or
343 # a temp directory if not. 343 # a temp directory if not.
344 if reset_results: 344 if reset_results:
345 print 'Resetting results' 345 print 'Resetting results'
346 return bindings_tests(reference_directory, verbose) 346 return bindings_tests(reference_directory, verbose)
347 with TemporaryDirectory() as temp_dir: 347 with TemporaryDirectory() as temp_dir:
348 return bindings_tests(temp_dir, verbose) 348 return bindings_tests(temp_dir, verbose)
OLDNEW
« no previous file with comments | « Source/modules/serviceworkers/WindowClient.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698