Bug 1321065 - Default to --enable-profiling for nightly milestones. r=gps
☠☠ backed out by 8f217ad4bcd3 ☠ ☠
authorMike Hommey <mh+mozilla@glandium.org>
Wed, 30 Nov 2016 06:47:38 +0900
changeset 372037 7ad3151a0a797b2230a45483c1adabf4d896405b
parent 372036 c021b68fc7dfbc9890e225db9d98e4763d7f08b6
child 372038 02c0dad1974eb9a35c324543cbfbf1e94ba486df
push id1419
push userjlund@mozilla.com
push dateMon, 10 Apr 2017 20:44:07 +0000
treeherdermozilla-release@5e6801b73ef6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgps
bugs1321065
milestone53.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1321065 - Default to --enable-profiling for nightly milestones. r=gps
js/moz.configure
--- a/js/moz.configure
+++ b/js/moz.configure
@@ -137,16 +137,17 @@ js_option('--enable-callgrind', env='MOZ
 def callgrind(value):
     if value:
         return True
 
 set_define('MOZ_CALLGRIND', callgrind)
 imply_option('--enable-profiling', callgrind)
 
 js_option('--enable-profiling', env='MOZ_PROFILING',
+          default=delayed_getattr(milestone, 'is_nightly'),
           help='Set compile flags necessary for using sampling profilers '
                '(e.g. shark, perf)')
 
 @depends('--enable-profiling')
 def profiling(value):
     if value:
         return True