After the big rename we will need to tweak Jinja's tmpl files, to account for renamed method names. For example, in third_party/WebKit/Source/bindings/templates/dictionary_impl.h.tmpl we will need to change |toV8Impl| to |ToV8Impl|.
It would be great if the generated files contained a reference back to the Jinja's tmpl file used to generate them. This would make it easier to identify the tmpl files that need tweaking.
This is a nice-to-have, although not-quite-blocking for issue 578344 (tracking the "big rename" in Blink).
Comment 1 by lukasza@chromium.org
, Dec 14 2016I tried to look at Jinja's documentation and couldn't figure out how to accomplish this (referring back to Jinja's *.tmpl file) only by tweaking third_party/WebKit/Source/bindings/templates/copyright_block.txt. I see that I can kind of refer to my current template via {{self}}, but the only documented usage of {{self}} is to refer to other blocks in the same template. I don't see a way to refer to the template that included me. OTOH, maybe something like https://codereview.chromium.org/2569923003 is a reasonable way to move forward? WDYT?