It would be awesome if we could automatically warn CL authors that their image assets are not optimized.
I'm wondering if this could be something we add to the android binary size bot or maybe something else existing? Wouldn't catch things for other platforms, but I don't know if there is a general purpose bot that could do this.
Basically any CL I see come by with assets I add a boiler plate comment:
"""
If we do need to add pngs, please make sure you run them through the compression script:
https://cs.chromium.org/chromium/src/chrome/app/theme/README?l=5
"""
The gotcha is that script is slow...really slow...so we wouldn't want to slow the CQ down but it would be good to automate this away if possible.
It would be nice to not have to do that.
Comment 1 by twelling...@chromium.org
, Jan 11Labels: Type-Task