summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--skia/skia_common.gypi5
-rw-r--r--third_party/third_party.gyp7
2 files changed, 12 insertions, 0 deletions
diff --git a/skia/skia_common.gypi b/skia/skia_common.gypi
index 4b7a51b6b1..0a8e019611 100644
--- a/skia/skia_common.gypi
+++ b/skia/skia_common.gypi
@@ -26,6 +26,11 @@
'SK_BUILD_FOR_IOS',
],
}],
+ [ 'OS == "win"', {
+ 'defines': [
+ 'SK_BUILD_FOR_WIN32',
+ ],
+ }],
[ 'OS != "mac"', {
'sources/': [
['exclude', '_mac\\.(cc|cpp|mm?)$'],
diff --git a/third_party/third_party.gyp b/third_party/third_party.gyp
index 758d23ef0d..665de0a146 100644
--- a/third_party/third_party.gyp
+++ b/third_party/third_party.gyp
@@ -327,6 +327,13 @@
'-Wno-shift-negative-value',
],
}],
+ ['OS == "win"', {
+ 'direct_dependent_settings': {
+ 'include_dirs': [
+ 'zlib_v128',
+ ],
+ }
+ }],
],
'variables': {
'clang_warning_flags': [