Index: skia/skia.gyp |
diff --git a/skia/skia.gyp b/skia/skia.gyp |
index b03c3b29ebc024d8fc8f8b6aa93b4548364ba96b..ce0aae18f991f0e69594e0620ade62950124db04 100644 |
--- a/skia/skia.gyp |
+++ b/skia/skia.gyp |
@@ -13,6 +13,13 @@ |
{ |
'target_name': 'skia_library', |
'type': 'static_library', |
+ # The optimize: 'max' scattered throughout are particularly |
+ # important when compiled by MSVC 2013, which seems |
+ # to mis-link-time-compile code that's built with |
+ # different optimization levels. http://crbug.com/543583 |
+ 'variables': { |
+ 'optimize': 'max', |
+ }, |
'includes': [ |
'skia_common.gypi', |
'skia_library.gypi', |
@@ -29,6 +36,13 @@ |
'targets': [ |
{ |
'target_name': 'skia', |
+ # The optimize: 'max' scattered throughout are particularly |
+ # important when compiled by MSVC 2013, which seems |
+ # to mis-link-time-compile code that's built with |
+ # different optimization levels. http://crbug.com/543583 |
+ 'variables': { |
+ 'optimize': 'max', |
+ }, |
'type': 'none', |
'dependencies': [ |
'skia_library', |
@@ -63,6 +77,13 @@ |
'targets': [ |
{ |
'target_name': 'skia', |
+ # The optimize: 'max' scattered throughout are particularly |
+ # important when compiled by MSVC 2013, which seems |
+ # to mis-link-time-compile code that's built with |
+ # different optimization levels. http://crbug.com/543583 |
+ 'variables': { |
+ 'optimize': 'max', |
+ }, |
'type': 'shared_library', |
'includes': [ |
# Include skia_common.gypi first since it contains filename |
@@ -108,6 +129,13 @@ |
'targets': [ |
{ |
'target_name': 'image_operations_bench', |
+ # The optimize: 'max' scattered throughout are particularly |
+ # important when compiled by MSVC 2013, which seems |
+ # to mis-link-time-compile code that's built with |
+ # different optimization levels. http://crbug.com/543583 |
+ 'variables': { |
+ 'optimize': 'max', |
+ }, |
'type': 'executable', |
'dependencies': [ |
'../base/base.gyp:base', |
@@ -123,6 +151,13 @@ |
{ |
'target_name': 'filter_fuzz_stub', |
'type': 'executable', |
+ # The optimize: 'max' scattered throughout are particularly |
+ # important when compiled by MSVC 2013, which seems |
+ # to mis-link-time-compile code that's built with |
+ # different optimization levels. http://crbug.com/543583 |
+ 'variables': { |
+ 'optimize': 'max', |
+ }, |
'dependencies': [ |
'../base/base.gyp:base', |
'../base/base.gyp:test_support_base', |
@@ -138,6 +173,13 @@ |
{ |
'target_name': 'skia_mojo', |
'type': 'static_library', |
+ # The optimize: 'max' scattered throughout are particularly |
+ # important when compiled by MSVC 2013, which seems |
+ # to mis-link-time-compile code that's built with |
+ # different optimization levels. http://crbug.com/543583 |
+ 'variables': { |
+ 'optimize': 'max', |
+ }, |
'dependencies': [ |
'skia', |
'../base/base.gyp:base', |