Commit 0b77c818 authored by jl@opera.com's avatar jl@opera.com

Add lextab.pyc as an output of the cached_lex_yacc_tables action

The primary output is lextab.py, but since it is imported, Python also
writes lextab.pyc. Listing it too as an output means it won't be left
around by "ninja -t clean" (and not much else, I think.)

Prior to the patch
  https://codereview.chromium.org/425953002/
the result of not having lextab.pyc listed as an output and running
"ninja -t clean" was a tree that would build correctly, but that would
always rerun all the IDL code generation scripts, and thus never become
"clean".

BUG=397909

Review URL: https://codereview.chromium.org/463063003

git-svn-id: svn://svn.chromium.org/blink/trunk@180142 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent d5411036
......@@ -22,6 +22,7 @@ action("cached_lex_yacc_tables") {
inputs = idl_lexer_parser_files
outputs = [
"$bindings_scripts_output_dir/lextab.py",
"$bindings_scripts_output_dir/lextab.pyc",
"$bindings_scripts_output_dir/parsetab.pickle",
]
......
......@@ -32,6 +32,7 @@
],
'outputs': [
'<(bindings_scripts_output_dir)/lextab.py',
'<(bindings_scripts_output_dir)/lextab.pyc',
'<(bindings_scripts_output_dir)/parsetab.pickle',
],
'action': [
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment