IDL parser: fix rebuilding of (stale) cached parser tables
IDL parser: fix rebuilding of (stale) cached parser tables

The yacc parser's tables are cached to improve build performance, and are
rebuilt by running blink_idl_parser.py directly, which simply initializes
the IDL parser and expects PLY (yacc.py) to write the cached tables as a
side-effect.

However, if the file containing the cached tables exists, then PLY will
instead try to load the stale cache. If that succeeds, it will disable
the rewriting, since there's no point in writing to the cache what was
just read from it.

Fix by always deleting the cache file whenever blink_idl_parser.py is
executed directly, before initializing the parser. This way, PLY will not
use cached tables, and will instead write the cache file.

BUG=387631

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

git-svn-id: bf5cd6ccde378db821296732a091cfbcf5285fbd@176745 bbb929c8-8fbe-4397-9dbb-9b2b20218538

smishenk/blink-crosswalk,kurli/blink-crosswalk,Pluto-tv/blink-crosswalk,PeterWangIntel/blink-crosswalk,hgl888/blink-crosswalk-efl,PeterWangIntel/blink-crosswalk,ondra-novak/blink,nwjs/blink,Pluto-tv/blink-crosswalk,kurli/blink-crosswalk,kurli/blink-crosswalk,XiaosongWei/blink-crosswalk,Bysmyyr/blink-crosswalk,smishenk/blink-crosswalk,Pluto-tv/blink-crosswalk,jtg-gg/blink,ondra-novak/blink,Bysmyyr/blink-crosswalk,XiaosongWei/blink-crosswalk,kurli/blink-crosswalk,XiaosongWei/blink-crosswalk,XiaosongWei/blink-crosswalk,Pluto-tv/blink-crosswalk,Pluto-tv/blink-crosswalk,XiaosongWei/blink-crosswalk,Pluto-tv/blink-crosswalk,Bysmyyr/blink-crosswalk,nwjs/blink,Bysmyyr/blink-crosswalk,Bysmyyr/blink-crosswalk,hgl888/blink-crosswalk-efl,jtg-gg/blink,crosswalk-project/blink-crosswalk-efl,ondra-novak/blink,smishenk/blink-crosswalk,kurli/blink-crosswalk,Pluto-tv/blink-crosswalk,ondra-novak/blink,ondra-novak/blink,PeterWangIntel/blink-crosswalk,jtg-gg/blink,PeterWangIntel/blink-crosswalk,XiaosongWei/blink-crosswalk,jtg-gg/blink,modulexcite/blink,smishenk/blink-crosswalk,crosswalk-project/blink-crosswalk-efl,jtg-gg/blink,ondra-novak/blink,XiaosongWei/blink-crosswalk,crosswalk-project/blink-crosswalk-efl,smishenk/blink-crosswalk,crosswalk-project/blink-crosswalk-efl,modulexcite/blink,hgl888/blink-crosswalk-efl,kurli/blink-crosswalk,nwjs/blink,hgl888/blink-crosswalk-efl,hgl888/blink-crosswalk-efl,hgl888/blink-crosswalk-efl,jtg-gg/blink,nwjs/blink,PeterWangIntel/blink-crosswalk,nwjs/blink,modulexcite/blink,Bysmyyr/blink-crosswalk,jtg-gg/blink,smishenk/blink-crosswalk,crosswalk-project/blink-crosswalk-efl,kurli/blink-crosswalk,Pluto-tv/blink-crosswalk,crosswalk-project/blink-crosswalk-efl,PeterWangIntel/blink-crosswalk,smishenk/blink-crosswalk,hgl888/blink-crosswalk-efl,hgl888/blink-crosswalk-efl,kurli/blink-crosswalk,Bysmyyr/blink-crosswalk,Pluto-tv/blink-crosswalk,smishenk/blink-crosswalk,ondra-novak/blink,Bysmyyr/blink-crosswalk,modulexcite/blink,hgl888/blink-crosswalk-efl,nwjs/blink,ondra-novak/blink,PeterWangIntel/blink-crosswalk,jtg-gg/blink,crosswalk-project/blink-crosswalk-efl,modulexcite/blink,hgl888/blink-crosswalk-efl,XiaosongWei/blink-crosswalk,ondra-novak/blink,nwjs/blink,crosswalk-project/blink-crosswalk-efl,smishenk/blink-crosswalk,kurli/blink-crosswalk,nwjs/blink,modulexcite/blink,nwjs/blink,crosswalk-project/blink-crosswalk-efl,XiaosongWei/blink-crosswalk,modulexcite/blink,modulexcite/blink,Pluto-tv/blink-crosswalk,kurli/blink-crosswalk,modulexcite/blink,modulexcite/blink,nwjs/blink,Bysmyyr/blink-crosswalk,XiaosongWei/blink-crosswalk,PeterWangIntel/blink-crosswalk,PeterWangIntel/blink-crosswalk,Bysmyyr/blink-crosswalk,jtg-gg/blink,PeterWangIntel/blink-crosswalk,smishenk/blink-crosswalk,jtg-gg/blink