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

Issue 9323047: Update sizes.py to print a list of all static initializers (Closed)

Created:
8 years, 10 months ago by Tyler Breisacher (Chromium)
Modified:
8 years, 10 months ago
Reviewers:
Lei Zhang, Nico
CC:
chromium-reviews
Visibility:
Public.

Description

Update sizes.py to print a list of all static initializers BUG=102013 TEST='sizes' step prints list of initializers as well as the number of initializers Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=120884

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 4

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 1

Patch Set 5 : '' #

Patch Set 6 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -2 lines) Patch
build/scripts/slave/chromium/sizes.py View 1 2 3 4 5 3 chunks +13 lines, -2 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
Tyler Breisacher (Chromium)
8 years, 10 months ago (2012-02-03 22:40:04 UTC) #1
Lei Zhang
https://chromiumcodereview.appspot.com/9323047/diff/2001/build/scripts/slave/chromium/sizes.py File build/scripts/slave/chromium/sizes.py (right): https://chromiumcodereview.appspot.com/9323047/diff/2001/build/scripts/slave/chromium/sizes.py#newcode170 build/scripts/slave/chromium/sizes.py:170: if 'Release' in target_dir: Otherwise, maybe os.path.basename(target_dir) is more ...
8 years, 10 months ago (2012-02-03 22:54:57 UTC) #2
Tyler Breisacher (Chromium)
https://chromiumcodereview.appspot.com/9323047/diff/2001/build/scripts/slave/chromium/sizes.py File build/scripts/slave/chromium/sizes.py (right): https://chromiumcodereview.appspot.com/9323047/diff/2001/build/scripts/slave/chromium/sizes.py#newcode170 build/scripts/slave/chromium/sizes.py:170: if 'Release' in target_dir: You're right, that's probably cleaner. ...
8 years, 10 months ago (2012-02-04 03:03:19 UTC) #3
Lei Zhang
https://chromiumcodereview.appspot.com/9323047/diff/2004/build/scripts/slave/chromium/sizes.py File build/scripts/slave/chromium/sizes.py (right): https://chromiumcodereview.appspot.com/9323047/diff/2004/build/scripts/slave/chromium/sizes.py#newcode171 build/scripts/slave/chromium/sizes.py:171: dump_static_initializers = os.path.join(os.path.dirname(target_dir), So how about os.path.join(options.build_dir, 'tools', 'linux', ...
8 years, 10 months ago (2012-02-04 03:10:00 UTC) #4
Tyler Breisacher (Chromium)
Good idea. Thanks.
8 years, 10 months ago (2012-02-04 03:18:11 UTC) #5
Lei Zhang
lgtm
8 years, 10 months ago (2012-02-04 03:20:33 UTC) #6
Tyler Breisacher (Chromium)
Adding thakis@ for OWNER approval. Also, would you happen to know if there are any ...
8 years, 10 months ago (2012-02-04 03:50:33 UTC) #7
Nico
I like the idea of printing the list of static initializers, that should make life ...
8 years, 10 months ago (2012-02-04 17:33:39 UTC) #8
cmp
This shouldn't confuse the bots, as long as dump-static-intializers doesn't output any lines matching the ...
8 years, 10 months ago (2012-02-06 19:02:09 UTC) #9
Tyler Breisacher (Chromium)
On 2012/02/04 17:33:39, Nico wrote: > I'd like to keep the previous method of coming ...
8 years, 10 months ago (2012-02-06 19:38:49 UTC) #10
Nico
On 2012/02/06 19:38:49, Tyler Breisacher wrote: > On 2012/02/04 17:33:39, Nico wrote: > > I'd ...
8 years, 10 months ago (2012-02-07 04:26:03 UTC) #11
Tyler Breisacher (Chromium)
All good points. Reverting back to the old code for getting the number > Maybe ...
8 years, 10 months ago (2012-02-07 05:47:51 UTC) #12
Nico
lgtm
8 years, 10 months ago (2012-02-07 06:21:41 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tbreisacher@chromium.org/9323047/11001
8 years, 10 months ago (2012-02-07 19:36:08 UTC) #14
commit-bot: I haz the power
8 years, 10 months ago (2012-02-07 19:36:09 UTC) #15
Can't process patch for file build/scripts/slave/chromium/sizes.py.
File's status is None, patchset upload is incomplete.

Powered by Google App Engine
This is Rietveld 408576698