Description3 additions to common.gypi:
1) re-instate r113657 from crbug/106711:
win_release_OmitFramePointers=0 must explicitly pass /Oy-
since /O2 implies /Oy
2) add win_debug_OmitFramePointers as tri-state where blank
value (the default) avoids perturbing VS defaults
3) add win_release_extra_cflags and win_debug_extra_cflags
to make it easier to add custom local flags for
tool builds
BUG=106711
TEST=Tweaked these vars via GYP_DEFINES and include.gypi and confirmed the changes in build/All.vcproj
For example:
I have "'win_release_InlineFunctionExpansion': 0" in my include.gypi:
% GYP_DEFINES='win_debug_extra_cflags="/QIfist /nologo"' gclient runhooks
% grep -E -o 'Name="[^"|]*\|[^"]*"|Omit[^ ]*|include" AdditionalOptions="[^"]*"' build/All.vcproj
Name="Release|Win32"
include" AdditionalOptions="/MP /Ob0"
OmitFramePointers="true"
Name="Debug|Win32"
include" AdditionalOptions="/MP /QIfist /nologo"
Name="Release|x64"
include" AdditionalOptions="/MP /Ob0"
OmitFramePointers="true"
Name="Debug|x64"
include" AdditionalOptions="/MP /QIfist /nologo"
% GYP_DEFINES='win_release_extra_cflags="/QIfist /nologo" win_release_OmitFramePointers=0 win_debug_OmitFramePointers=1' gclient runhooks
% grep -E -o 'Name="[^"|]*\|[^"]*"|Omit[^ ]*|include" AdditionalOptions="[^"]*"' build/All.vcproj
Name="Release|Win32"
include" AdditionalOptions="/MP /QIfist /nologo /Ob0 /Oy-"
OmitFramePointers="false"
Name="Debug|Win32"
include" AdditionalOptions="/MP"
OmitFramePointers="true"
Name="Release|x64"
include" AdditionalOptions="/MP /QIfist /nologo /Ob0 /Oy-"
OmitFramePointers="false"
Name="Debug|x64"
include" AdditionalOptions="/MP"
OmitFramePointers="true"
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=114893
Patch Set 1 #Patch Set 2 : make it clear win_{release,debug}_OmitFramePointers are both tri-state #
Total comments: 5
Messages
Total messages: 10 (0 generated)
|