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

Issue 2706243013: Android: improve static initializer counting in resource_sizes.py. (Closed)

Created:
3 years, 10 months ago by estevenson
Modified:
3 years, 9 months ago
Reviewers:
agrieve
CC:
chromium-reviews, mikecase+watch_chromium.org, jbudorick+watch_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Android: improve static initializer counting in resource_sizes.py. This CL also includes some other cleanup items: * Add a helper function for reading a single file from a zip archive * Ensure stale output dirs aren't used by checking the build id of .so files * Use the APK version of .so files instead of the output-dir version when possible * Remove obsolete args * Use argparse instead of optparse * Use toolchain specific binary utilities BUG=695177 Review-Url: https://codereview.chromium.org/2706243013 Cr-Commit-Position: refs/heads/master@{#453698} Committed: https://chromium.googlesource.com/chromium/src/+/636c61da146a7294fa65857a6d5c0ed04f99c586

Patch Set 1 #

Total comments: 4

Patch Set 2 : Remove obsolete args + use correct toolchain #

Total comments: 6

Patch Set 3 : Addressed agrieve comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+129 lines, -118 lines) Patch
M build/android/BUILD.gn View 1 2 chunks +2 lines, -0 lines 0 comments Download
M build/android/gyp/util/build_utils.py View 2 chunks +5 lines, -0 lines 0 comments Download
M build/android/resource_sizes.py View 1 2 15 chunks +122 lines, -118 lines 0 comments Download

Messages

Total messages: 16 (6 generated)
estevenson
ptal Andrew!
3 years, 10 months ago (2017-02-24 18:47:30 UTC) #2
agrieve
FYI since you're looking at SIs anyways, I think the best way to get them ...
3 years, 10 months ago (2017-02-24 20:04:21 UTC) #3
agrieve
On 2017/02/24 20:04:21, agrieve wrote: > FYI since you're looking at SIs anyways, I think ...
3 years, 10 months ago (2017-02-24 20:04:39 UTC) #4
estevenson
ptal Andrew! I'll wait to see what happens in https://codereview.chromium.org/2718743002/ before landing this of course. ...
3 years, 9 months ago (2017-02-28 00:58:46 UTC) #5
agrieve
lgtm https://codereview.chromium.org/2706243013/diff/20001/build/android/resource_sizes.py File build/android/resource_sizes.py (right): https://codereview.chromium.org/2706243013/diff/20001/build/android/resource_sizes.py#newcode123 build/android/resource_sizes.py:123: tools_prefix = tools_prefix if tools_prefix else '' nit: ...
3 years, 9 months ago (2017-02-28 15:20:59 UTC) #6
estevenson
https://codereview.chromium.org/2706243013/diff/20001/build/android/resource_sizes.py File build/android/resource_sizes.py (right): https://codereview.chromium.org/2706243013/diff/20001/build/android/resource_sizes.py#newcode123 build/android/resource_sizes.py:123: tools_prefix = tools_prefix if tools_prefix else '' On 2017/02/28 ...
3 years, 9 months ago (2017-02-28 16:49:57 UTC) #8
estevenson
On 2017/02/28 16:49:57, estevenson wrote: > https://codereview.chromium.org/2706243013/diff/20001/build/android/resource_sizes.py > File build/android/resource_sizes.py (right): > > https://codereview.chromium.org/2706243013/diff/20001/build/android/resource_sizes.py#newcode123 > ...
3 years, 9 months ago (2017-02-28 19:33:18 UTC) #9
agrieve
On 2017/02/28 19:33:18, estevenson wrote: > On 2017/02/28 16:49:57, estevenson wrote: > > > https://codereview.chromium.org/2706243013/diff/20001/build/android/resource_sizes.py ...
3 years, 9 months ago (2017-02-28 19:35:36 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2706243013/40001
3 years, 9 months ago (2017-02-28 19:44:43 UTC) #13
commit-bot: I haz the power
3 years, 9 months ago (2017-02-28 21:02:19 UTC) #16
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/636c61da146a7294fa65857a6d5c...

Powered by Google App Engine
This is Rietveld 408576698