bind-gen: Improve newline-handling in code generation
Use of "${ x | trim }" of Mako template unconditionally removes whitespaces including newlines. It makes it hard to insert empty lines in generated code. This patch revisits the newline problem again, and improves it. Bug: 839389 Change-Id: If838b4766fe8938e7f7c2bfb2ff8802d56ac9441 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1883830Reviewed-by:Hitoshi Yoshida <peria@chromium.org> Commit-Queue: Yuki Shiino <yukishiino@chromium.org> Cr-Commit-Position: refs/heads/master@{#709894}
Showing
Please register or sign in to comment