Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(439)

Issue 6858089: Enable profiling options to be selectively enabled for a given build (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years ago by DerekS
Modified:
12 years ago
Reviewers:
epoger, EricB
CC:
skia-review_googlegroups.com
Base URL:
https://skia.googlecode.com/svn/trunk
Visibility:
Public.

Description

Enable profiling options to be selectively enabled for a given build Committed: https://code.google.com/p/skia/source/detail?r=6598

Patch Set 1 #

Patch Set 2 : add back removed file #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -0 lines) Patch
M gyp/common_conditions.gypi View 1 chunk +3 lines, -0 lines 3 comments Download
M gyp/common_variables.gypi View 2 chunks +2 lines, -0 lines 3 comments Download
M gyp/opts.gyp View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 4
DerekS
I need to be able to add additional compile flags when profiling, but if there ...
12 years ago (2012-11-28 17:12:53 UTC) #1
EricB
https://codereview.appspot.com/6858089/diff/2001/gyp/common_conditions.gypi File gyp/common_conditions.gypi (right): https://codereview.appspot.com/6858089/diff/2001/gyp/common_conditions.gypi#newcode293 gyp/common_conditions.gypi:293: [ 'skia_profile_enabled == 1', { I don't think you ...
12 years ago (2012-11-28 17:47:47 UTC) #2
DerekS
https://codereview.appspot.com/6858089/diff/2001/gyp/common_conditions.gypi File gyp/common_conditions.gypi (right): https://codereview.appspot.com/6858089/diff/2001/gyp/common_conditions.gypi#newcode293 gyp/common_conditions.gypi:293: [ 'skia_profile_enabled == 1', { On 2012/11/28 17:47:47, EricB ...
12 years ago (2012-11-28 17:55:33 UTC) #3
EricB
12 years ago (2012-11-28 17:58:08 UTC) #4
LGTM

https://codereview.appspot.com/6858089/diff/2001/gyp/common_conditions.gypi
File gyp/common_conditions.gypi (right):

https://codereview.appspot.com/6858089/diff/2001/gyp/common_conditions.gypi#n...
gyp/common_conditions.gypi:293: [ 'skia_profile_enabled == 1', {
On 2012/11/28 17:55:34, DerekS wrote:
> On 2012/11/28 17:47:47, EricB wrote:
> > I don't think you need the "== 1" since Python considers 1 to be truth-y and
0
> > to be false-y.
> 
> I was just sticking with the style of the rest of this file.

Makes sense.  We're pretty inconsistent about it.

https://codereview.appspot.com/6858089/diff/2001/gyp/common_variables.gypi
File gyp/common_variables.gypi (right):

https://codereview.appspot.com/6858089/diff/2001/gyp/common_variables.gypi#ne...
gyp/common_variables.gypi:89: 'skia_profile_enabled%': 0,
On 2012/11/28 17:55:34, DerekS wrote:
> On 2012/11/28 17:47:47, EricB wrote:
> > Does this flag only affect Android?  If so, maybe the flag should be named
to
> > make that clear.
> 
> For right now it only is used by android, but I suspect that other platforms
> want to do something similar.  Basically, it allows me to build in release
mode
> while still including symbols and frame pointers.

SGTM
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b