Descriptionjinja2: make templates outside of // work again
A recent CL -- http://crrev.com/1002313002 -- made the jinja wrapper script
barf on templates located outside CHROMIUM_SRC (the used Jinja2 loader
disallows template paths with '..' components). While not actively used
currently in the Chromium build, it is a somewhat useful feature of the
wrapper that used to work.
Fix by instatiating the jinja template loader with a configurable path as the
search directory, rather than a hardcoded CHROMIUM_SRC. Usages with templates
outside CHROMIUM_SRC now must pass an appropriate --loader-base-dir value
to the wrapper script.
R=cjhopman,jbudorick
BUG=
Committed: https://crrev.com/65b1b8d1d29b68df077dfaec40d3fd4e8961758e
Cr-Commit-Position: refs/heads/master@{#324597}
Patch Set 1 #
Messages
Total messages: 9 (2 generated)
|