Index: skia/skia.gyp |
diff --git a/skia/skia.gyp b/skia/skia.gyp |
index ca063d13be3b819a64537602367ced72bd59d7cb..eea745ca2780e732e0efd47b8e544b0c6ff919d3 100644 |
--- a/skia/skia.gyp |
+++ b/skia/skia.gyp |
@@ -38,6 +38,15 @@ |
'skia_library', |
'skia_chrome', |
], |
+ 'direct_dependent_settings': { |
+ 'conditions': [ |
+ [ 'OS == "win"', { |
+ 'defines': [ |
+ 'GR_GL_FUNCTION_TYPE=__stdcall', |
+ ], |
+ }], |
+ ], |
+ }, |
}, |
{ |
'target_name': 'skia_chrome', |
@@ -70,6 +79,13 @@ |
'GR_GL_IGNORE_ES3_MSAA=0', |
], |
'direct_dependent_settings': { |
+ 'conditions': [ |
+ [ 'OS == "win"', { |
+ 'defines': [ |
+ 'GR_GL_FUNCTION_TYPE=__stdcall', |
+ ], |
+ }], |
+ ], |
'defines': [ |
'SKIA_DLL', |
'GR_GL_IGNORE_ES3_MSAA=0', |