summaryrefslogtreecommitdiffstats
path: root/build/gyp_includes/internal/release_impl.gypi
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--build/gyp_includes/internal/release_impl.gypi17
1 files changed, 17 insertions, 0 deletions
diff --git a/build/gyp_includes/internal/release_impl.gypi b/build/gyp_includes/internal/release_impl.gypi
new file mode 100644
index 0000000000..5ac0e09d1e
--- /dev/null
+++ b/build/gyp_includes/internal/release_impl.gypi
@@ -0,0 +1,17 @@
+# Copyright (c) 2011 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+{
+ 'includes': ['release_defaults.gypi'],
+ 'msvs_settings': {
+ 'VCCLCompilerTool': {
+ 'OmitFramePointers': 'false',
+ # The above is not sufficient (http://crbug.com/106711): it
+ # simply eliminates an explicit "/Oy", but both /O2 and /Ox
+ # perform FPO regardless, so we must explicitly disable.
+ # We still want the false setting above to avoid having
+ # "/Oy /Oy-" and warnings about overriding.
+ 'AdditionalOptions': ['/Oy-'],
+ },
+ },
+}