1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/media/webrtc/trunk/build/internal/release_impl_official.gypi Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,43 @@ 1.4 +# Copyright (c) 2011 The Chromium Authors. All rights reserved. 1.5 +# Use of this source code is governed by a BSD-style license that can be 1.6 +# found in the LICENSE file. 1.7 +{ 1.8 + 'includes': ['release_defaults.gypi'], 1.9 + 'defines': ['OFFICIAL_BUILD'], 1.10 + 'msvs_settings': { 1.11 + 'VCCLCompilerTool': { 1.12 + 'InlineFunctionExpansion': '2', 1.13 + 'EnableIntrinsicFunctions': 'true', 1.14 + 'EnableFiberSafeOptimizations': 'true', 1.15 + 'OmitFramePointers': 'false', 1.16 + # The above is not sufficient (http://crbug.com/106711): it 1.17 + # simply eliminates an explicit "/Oy", but both /O2 and /Ox 1.18 + # perform FPO regardless, so we must explicitly disable. 1.19 + # We still want the false setting above to avoid having 1.20 + # "/Oy /Oy-" and warnings about overriding. 1.21 + 'AdditionalOptions': ['/Oy-'], 1.22 + }, 1.23 + 'VCLibrarianTool': { 1.24 + 'AdditionalOptions': [ 1.25 + '/ltcg', 1.26 + '/expectedoutputsize:120000000' 1.27 + ], 1.28 + }, 1.29 + 'VCLinkerTool': { 1.30 + 'AdditionalOptions': [ 1.31 + '/time', 1.32 + # This may reduce memory fragmentation during linking. 1.33 + # The expected size is 40*1024*1024, which gives us about 10M of 1.34 + # headroom as of Dec 16, 2011. 1.35 + '/expectedoutputsize:41943040', 1.36 + ], 1.37 + 'LinkTimeCodeGeneration': '1', 1.38 + # The /PROFILE flag causes the linker to add a "FIXUP" debug stream to 1.39 + # the generated PDB. According to MSDN documentation, this flag is only 1.40 + # available (or perhaps supported) in the Enterprise (team development) 1.41 + # version of Visual Studio. If this blocks your official build, simply 1.42 + # comment out this line, then re-run "gclient runhooks". 1.43 + 'Profile': 'true', 1.44 + }, 1.45 + }, 1.46 +}