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

Side by Side Diff: third_party/WebKit/Tools/Scripts/webkitpy/bindings/bindings_tests.py

Issue 2648173002: Rename webmodule codegen bits to WebAgentAPI. (Closed)
Patch Set: Created 3 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
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 20 matching lines...) Expand all
31 31
32 from webkitpy.common.system.executive import Executive 32 from webkitpy.common.system.executive import Executive
33 33
34 from webkitpy.common import webkit_finder 34 from webkitpy.common import webkit_finder
35 webkit_finder.add_bindings_scripts_dir_to_sys_path() 35 webkit_finder.add_bindings_scripts_dir_to_sys_path()
36 36
37 from code_generator_v8 import CodeGeneratorDictionaryImpl 37 from code_generator_v8 import CodeGeneratorDictionaryImpl
38 from code_generator_v8 import CodeGeneratorV8 38 from code_generator_v8 import CodeGeneratorV8
39 from code_generator_v8 import CodeGeneratorUnionType 39 from code_generator_v8 import CodeGeneratorUnionType
40 from code_generator_v8 import CodeGeneratorCallbackFunction 40 from code_generator_v8 import CodeGeneratorCallbackFunction
41 from code_generator_web_module import CodeGeneratorWebModule 41 from code_generator_blink_api import CodeGeneratorBlinkAPI
42 from compute_interfaces_info_individual import InterfaceInfoCollector 42 from compute_interfaces_info_individual import InterfaceInfoCollector
43 from compute_interfaces_info_overall import (compute_interfaces_info_overall, 43 from compute_interfaces_info_overall import (compute_interfaces_info_overall,
44 interfaces_info) 44 interfaces_info)
45 from idl_compiler import (generate_bindings, 45 from idl_compiler import (generate_bindings,
46 generate_union_type_containers, 46 generate_union_type_containers,
47 generate_dictionary_impl, 47 generate_dictionary_impl,
48 generate_callback_function_impl) 48 generate_callback_function_impl)
49 from utilities import ComponentInfoProviderCore 49 from utilities import ComponentInfoProviderCore
50 from utilities import ComponentInfoProviderModules 50 from utilities import ComponentInfoProviderModules
51 51
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 generate_union_type_containers(CodeGeneratorUnionType, 330 generate_union_type_containers(CodeGeneratorUnionType,
331 info_provider, options) 331 info_provider, options)
332 generate_callback_function_impl(CodeGeneratorCallbackFunction, 332 generate_callback_function_impl(CodeGeneratorCallbackFunction,
333 info_provider, options) 333 info_provider, options)
334 generate_bindings( 334 generate_bindings(
335 CodeGeneratorV8, 335 CodeGeneratorV8,
336 info_provider, 336 info_provider,
337 options, 337 options,
338 idl_filenames) 338 idl_filenames)
339 generate_bindings( 339 generate_bindings(
340 CodeGeneratorWebModule, 340 CodeGeneratorBlinkAPI,
341 info_provider, 341 info_provider,
342 options, 342 options,
343 idl_filenames) 343 idl_filenames)
344 generate_bindings( 344 generate_bindings(
345 CodeGeneratorV8, 345 CodeGeneratorV8,
346 partial_interface_info_provider, 346 partial_interface_info_provider,
347 partial_interface_options, 347 partial_interface_options,
348 partial_interface_filenames) 348 partial_interface_filenames)
349 generate_dictionary_impl( 349 generate_dictionary_impl(
350 CodeGeneratorDictionaryImpl, 350 CodeGeneratorDictionaryImpl,
(...skipping 20 matching lines...) Expand all
371 371
372 372
373 def run_bindings_tests(reset_results, verbose): 373 def run_bindings_tests(reset_results, verbose):
374 # Generate output into the reference directory if resetting results, or 374 # Generate output into the reference directory if resetting results, or
375 # a temp directory if not. 375 # a temp directory if not.
376 if reset_results: 376 if reset_results:
377 print 'Resetting results' 377 print 'Resetting results'
378 return bindings_tests(REFERENCE_DIRECTORY, verbose) 378 return bindings_tests(REFERENCE_DIRECTORY, verbose)
379 with TemporaryDirectory() as temp_dir: 379 with TemporaryDirectory() as temp_dir:
380 return bindings_tests(temp_dir, verbose) 380 return bindings_tests(temp_dir, verbose)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698