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

Unified Diff: gyp/skflate.gyp

Issue 152513007: Build Skia for a bare-bones embedded Linux system. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: again Created 6 years, 10 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
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',
+ ],
+ },
+ ],
+}

Powered by Google App Engine
This is Rietveld 408576698