Index: gyp/skflate.gyp |
diff --git a/gyp/skflate.gyp b/gyp/skflate.gyp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9e11cd9cc02ff2e602e1b25adb253620ee6bad51 |
--- /dev/null |
+++ b/gyp/skflate.gyp |
@@ -0,0 +1,26 @@ |
+# Target for including SkFlate. |
+{ |
+ 'targets': [ |
+ { |
+ 'target_name': 'skflate', |
+ 'type': 'static_library', |
+ 'dependencies': [ |
+ 'skia_lib.gyp:skia_lib', |
+ ], |
+ 'conditions': [ |
+ # When zlib is not availible on a system, |
+ # SkFlate::HaveFlate will just return false. |
+ [ 'skia_os != "win"', |
+ { |
+ 'dependencies': [ |
+ 'zlib.gyp:zlib', |
+ ], |
+ } |
+ ], |
+ ], |
+ 'sources': [ |
+ '../src/core/SkFlate.cpp', |
+ ], |
+ }, |
+ ], |
+} |