Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(586)

Unified Diff: skia/skia.gyp

Issue 1260253003: gpu: Add calling convention for win32 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: another merge Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « skia/BUILD.gn ('k') | skia/skia_common.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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',
« no previous file with comments | « skia/BUILD.gn ('k') | skia/skia_common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698