Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Issue 106173002: Mirror images for RTL languages at build time. (Closed)

Created:
7 years ago by newt (away)
Modified:
6 years, 11 months ago
CC:
chromium-reviews, craigdh+watch_chromium.org, jam, joi+watch-content_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, ilevy-cc_chromium.org, darin-cc_chromium.org, klundberg+watch_chromium.org, frankf+watch_chromium.org, shashi
Visibility:
Public.

Description

Mirror images for RTL languages at build time. This adds a build step to generate mirrored images for use in right-to-left (RTL) languages. Images are mirrored by flipping the original image over the vertical axis. Every image must be explicitly listed as mirrorable or non-mirrorable in a config file. The goal: ensure that our RTL image assets are always up-to-date. BUG=290225 NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=243332

Patch Set 1 #

Patch Set 2 : split build_utils changes into separate CL #

Patch Set 3 : #

Total comments: 16

Patch Set 4 : Chris's comments #

Patch Set 5 : Kibeom's comments #

Patch Set 6 : rebased past CheckCallDie -> CheckOutput CL #

Patch Set 7 : update list of images to mirror #

Patch Set 8 : added 9-patch mirroring #

Patch Set 9 : don't run mirror_images for chrome/content/ui #

Patch Set 10 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+345 lines, -16 lines) Patch
A build/android/gyp/mirror_images.py View 1 2 3 4 5 6 7 1 chunk +278 lines, -0 lines 0 comments Download
M build/android/gyp/process_resources.py View 1 2 3 6 chunks +38 lines, -12 lines 0 comments Download
M build/install-build-deps-android.sh View 1 2 3 1 chunk +9 lines, -2 lines 0 comments Download
M build/java.gypi View 1 2 3 4 5 6 7 3 chunks +20 lines, -2 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
newt (away)
PTAL.
7 years ago (2013-12-05 18:54:52 UTC) #1
newt (away)
https://codereview.chromium.org/106173002/diff/40001/build/android/gyp/process_resources.py File build/android/gyp/process_resources.py (right): https://codereview.chromium.org/106173002/diff/40001/build/android/gyp/process_resources.py#newcode145 build/android/gyp/process_resources.py:145: CrunchImages(aapt, options.image_input_dir, options.crunch_output_dir) Chris, do we ever delete the ...
7 years ago (2013-12-05 19:33:21 UTC) #2
cjhopman
https://codereview.chromium.org/106173002/diff/40001/build/android/gyp/mirror_images.py File build/android/gyp/mirror_images.py (right): https://codereview.chromium.org/106173002/diff/40001/build/android/gyp/mirror_images.py#newcode152 build/android/gyp/mirror_images.py:152: errors.append(item + ' is listed multiple times.') I'd change ...
7 years ago (2013-12-06 17:28:22 UTC) #3
newt (away)
https://codereview.chromium.org/106173002/diff/40001/build/android/gyp/mirror_images.py File build/android/gyp/mirror_images.py (right): https://codereview.chromium.org/106173002/diff/40001/build/android/gyp/mirror_images.py#newcode152 build/android/gyp/mirror_images.py:152: errors.append(item + ' is listed multiple times.') On 2013/12/06 ...
7 years ago (2013-12-06 19:22:50 UTC) #4
Kibeom Kim (inactive)
lgtm https://codereview.chromium.org/106173002/diff/40001/build/android/gyp/mirror_images.py File build/android/gyp/mirror_images.py (right): https://codereview.chromium.org/106173002/diff/40001/build/android/gyp/mirror_images.py#newcode85 build/android/gyp/mirror_images.py:85: self.config_errors = [] how about using exception? or.. ...
7 years ago (2013-12-06 20:07:26 UTC) #5
newt (away)
https://codereview.chromium.org/106173002/diff/40001/build/android/gyp/mirror_images.py File build/android/gyp/mirror_images.py (right): https://codereview.chromium.org/106173002/diff/40001/build/android/gyp/mirror_images.py#newcode85 build/android/gyp/mirror_images.py:85: self.config_errors = [] On 2013/12/06 20:07:27, Kibeom Kim wrote: ...
7 years ago (2013-12-06 23:04:21 UTC) #6
cjhopman
lgtm
7 years ago (2013-12-13 21:42:03 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/newt@chromium.org/106173002/250001
6 years, 11 months ago (2014-01-07 15:47:12 UTC) #8
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) nacl_integration http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=242455
6 years, 11 months ago (2014-01-07 17:56:16 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/newt@chromium.org/106173002/250001
6 years, 11 months ago (2014-01-07 17:59:57 UTC) #10
commit-bot: I haz the power
Change committed as 243332
6 years, 11 months ago (2014-01-07 18:02:32 UTC) #11
pschmidt1
The change to install-build-deps-android.sh to install imagemagick has introduced a package dependency bug where ia32-libs ...
6 years, 11 months ago (2014-01-07 23:54:46 UTC) #12
newt (away)
A revert of this CL has been created in https://codereview.chromium.org/126543004/ by newt@chromium.org. The reason for ...
6 years, 11 months ago (2014-01-07 23:58:30 UTC) #13
newt (away)
pschmidt: I've reverted this for now, but would like to re-land it after dealing with ...
6 years, 11 months ago (2014-01-08 00:01:56 UTC) #14
pschmidt1
6 years, 11 months ago (2014-01-08 00:13:39 UTC) #15
Message was sent while issue was closed.
Our deploy scripts call build-install-deps.sh as well as
build-install-deps-android.sh
After calling these it go head with some additional package installs including
ia32-libs

With imagemagick installed ia32-libs can't be installed because of a now broken
package dependency.

So something is borked at Canonical's end.   We should be able to find a fix for
this.



On 2014/01/08 00:01:56, newt wrote:
> pschmidt: I've reverted this for now, but would like to re-land it after
> dealing with the package dependencies. Could you explain the problem in
> some more detail?
> 
> 
> On Tue, Jan 7, 2014 at 3:54 PM, <mailto:pschmidt@chromium.org> wrote:
> 
> > The change to install-build-deps-android.sh to install imagemagick has
> > introduced a package dependency bug where ia32-libs cannot be installed on
> > ubuntu precise systems.
> >
> > This is blocking chrome-infra's ability to deploy new systems.     Can you
> > please revert this?
> >
> > Thanks.
> >
> > https://codereview.chromium.org/106173002/
> >
> 
> To unsubscribe from this group and stop receiving emails from it, send an
email
> to mailto:chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698