build_images: Add support for all aspect resolutions
The canvas is supposed to be always square, but we shouldn't assume that
the panel height is always smaller than the width. This patch rearranges
the code to prevent that and make it more clear that we only have one
"size" value for the canvas sides.
BRANCH=none
BUG=none
TEST=Scaling works fine on Scarlet with next patch.
Change-Id: Ice174f66071691327dbc551fa1d5d56d3e8b1f86
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/826001
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
1 file changed