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

Unified Diff: Source/bindings/scripts/idl_compiler.py

Issue 646283004: Don't use PLY cache files in Tools/Scripts/run-bindings-tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/bindings/scripts/blink_idl_lexer.py ('k') | Tools/Scripts/webkitpy/bindings/main.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/scripts/idl_compiler.py
diff --git a/Source/bindings/scripts/idl_compiler.py b/Source/bindings/scripts/idl_compiler.py
index b3adfad10c372d431aa93a302243535c868f470c..33d933ba4a1423e0ce8b3d326fa7dab2434340fa 100755
--- a/Source/bindings/scripts/idl_compiler.py
+++ b/Source/bindings/scripts/idl_compiler.py
@@ -86,7 +86,7 @@ class IdlCompiler(object):
"""
__metaclass__ = abc.ABCMeta
- def __init__(self, output_directory, cache_directory='',
+ def __init__(self, output_directory, cache_directory=None,
code_generator=None, interfaces_info=None,
interfaces_info_filename='', only_if_changed=False,
target_component=None):
@@ -97,7 +97,6 @@ class IdlCompiler(object):
(avoids auxiliary file in run-bindings-tests)
interfaces_info_file: filename of pickled interfaces_info
"""
- cache_directory = cache_directory or output_directory
self.cache_directory = cache_directory
self.code_generator = code_generator
if interfaces_info_filename:
« no previous file with comments | « Source/bindings/scripts/blink_idl_lexer.py ('k') | Tools/Scripts/webkitpy/bindings/main.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698