Bug 1074548 - Lazy-allocate webrtc trace buffers in RELEASE_BUILDs. r=ted, a=sledru
authorRandell Jesup <rjesup@jesup.org>
Tue, 30 Sep 2014 16:11:16 -0400
changeset 216900 002f9202019b
parent 216899 e3603d5accda
child 216901 6326278b28ac
push id3959
push userryanvm@gmail.com
push date2014-10-01 19:28 +0000
treeherdermozilla-beta@6326278b28ac [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersted, sledru
bugs1074548
milestone33.0
Bug 1074548 - Lazy-allocate webrtc trace buffers in RELEASE_BUILDs. r=ted, a=sledru
build/gyp.mozbuild
--- a/build/gyp.mozbuild
+++ b/build/gyp.mozbuild
@@ -26,17 +26,17 @@ gyp_vars = {
     'build_libvpx': 0,
     'build_libyuv': 0,
     'libyuv_dir': '/media/libyuv',
     'yuv_disable_avx2': 0 if CONFIG['HAVE_X86_AVX2'] else 1,
     # don't use openssl
     'use_openssl': 0,
 
     # saves 4MB when webrtc_trace is off
-    'enable_lazy_trace_alloc': 0,
+    'enable_lazy_trace_alloc': 1 if CONFIG['RELEASE_BUILD'] else 0,
 
      # turn off mandatory use of NEON and instead use NEON detection
     'arm_neon': 0,
     'arm_neon_optional': 1,
 
     'moz_widget_toolkit_gonk': 0,
     'moz_webrtc_omx': 0,