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

Issue 14812015: [Android] Auto-generate only necessary v14 resources. (Closed)

Created:
7 years, 7 months ago by Kibeom Kim (inactive)
Modified:
7 years, 7 months ago
Reviewers:
newt (away)
CC:
chromium-reviews, craigdh+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, ilevy-cc_chromium.org, klundberg+watch_chromium.org, frankf+watch_chromium.org
Visibility:
Public.

Description

[Android] Auto-generate only necessary v14 resources. V14 Resource auto-generation was introduced by crbug.com/235118. However, some resources doesn't use v17 attributes, so we don't need to generate for all resources. BUG=239742 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=199564

Patch Set 1 #

Patch Set 2 : comment update. #

Total comments: 12

Patch Set 3 : fix based on newt's comment #

Patch Set 4 : remaning 'overlay' to 'compatibility' #

Total comments: 2

Patch Set 5 : (newt's comment) added 'compatible' on comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -389 lines) Patch
D build/android/gyp/copy_v17_resources.py View 1 chunk +0 lines, -98 lines 0 comments Download
A + build/android/gyp/generate_v14_compatible_resources.py View 1 2 3 4 8 chunks +86 lines, -53 lines 0 comments Download
D build/android/gyp/generate_v14_resources.py View 1 2 3 1 chunk +0 lines, -204 lines 0 comments Download
M build/java.gypi View 1 2 3 5 chunks +10 lines, -34 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Kibeom Kim (inactive)
7 years, 7 months ago (2013-05-10 09:50:51 UTC) #1
newt (away)
a few small comments. also: could you measure the impact of this change on APK ...
7 years, 7 months ago (2013-05-10 17:10:00 UTC) #2
Kibeom Kim (inactive)
https://codereview.chromium.org/14812015/diff/3001/build/android/gyp/generate_v14_overlay_resources.py File build/android/gyp/generate_v14_overlay_resources.py (right): https://codereview.chromium.org/14812015/diff/3001/build/android/gyp/generate_v14_overlay_resources.py#newcode67 build/android/gyp/generate_v14_overlay_resources.py:67: def WarnDeprecatedAttribute(name, value, filename): On 2013/05/10 17:10:01, newt wrote: ...
7 years, 7 months ago (2013-05-10 17:46:14 UTC) #3
Kibeom Kim (inactive)
note: this CL reduced apk size by 52k. The initial autogeneration CL added ~100k.
7 years, 7 months ago (2013-05-10 17:52:46 UTC) #4
newt (away)
sweet, that's terrabytes of bandwidth saved by users :) https://codereview.chromium.org/14812015/diff/3001/build/android/gyp/generate_v14_overlay_resources.py File build/android/gyp/generate_v14_overlay_resources.py (right): https://codereview.chromium.org/14812015/diff/3001/build/android/gyp/generate_v14_overlay_resources.py#newcode130 build/android/gyp/generate_v14_overlay_resources.py:130: ...
7 years, 7 months ago (2013-05-10 18:06:27 UTC) #5
Kibeom Kim (inactive)
Renamed overlay to compatibility https://codereview.chromium.org/14812015/diff/3001/build/android/gyp/generate_v14_overlay_resources.py File build/android/gyp/generate_v14_overlay_resources.py (right): https://codereview.chromium.org/14812015/diff/3001/build/android/gyp/generate_v14_overlay_resources.py#newcode179 build/android/gyp/generate_v14_overlay_resources.py:179: 'used to generate v14 resources') ...
7 years, 7 months ago (2013-05-10 18:42:55 UTC) #6
newt (away)
lgtm (1 nit) https://codereview.chromium.org/14812015/diff/16001/build/android/gyp/generate_v14_compatible_resources.py File build/android/gyp/generate_v14_compatible_resources.py (right): https://codereview.chromium.org/14812015/diff/16001/build/android/gyp/generate_v14_compatible_resources.py#newcode186 build/android/gyp/generate_v14_compatible_resources.py:186: 'v14 resources will be generated') add ...
7 years, 7 months ago (2013-05-10 18:47:33 UTC) #7
Kibeom Kim (inactive)
https://codereview.chromium.org/14812015/diff/16001/build/android/gyp/generate_v14_compatible_resources.py File build/android/gyp/generate_v14_compatible_resources.py (right): https://codereview.chromium.org/14812015/diff/16001/build/android/gyp/generate_v14_compatible_resources.py#newcode186 build/android/gyp/generate_v14_compatible_resources.py:186: 'v14 resources will be generated') On 2013/05/10 18:47:33, newt ...
7 years, 7 months ago (2013-05-10 18:50:56 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kkimlabs@chromium.org/14812015/16004
7 years, 7 months ago (2013-05-10 18:51:12 UTC) #9
commit-bot: I haz the power
7 years, 7 months ago (2013-05-10 23:11:39 UTC) #10
Message was sent while issue was closed.
Change committed as 199564

Powered by Google App Engine
This is Rietveld 408576698