Index: gyp/codec.gyp |
diff --git a/gyp/codec.gyp b/gyp/codec.gyp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f538e63531300752f4263a16e88bf823ee5797a7 |
--- /dev/null |
+++ b/gyp/codec.gyp |
@@ -0,0 +1,50 @@ |
+# GYP file for codec project. |
+{ |
+ 'targets': [ |
+ { |
+ 'target_name': 'codec', |
+ 'product_name': 'skia_codec', |
+ 'type': 'static_library', |
+ 'standalone_static_library': 1, |
+ 'dependencies': [ |
+ 'core.gyp:*', |
+ 'libjpeg.gyp:*', |
+ 'etc1.gyp:libetc1', |
+ 'ktx.gyp:libSkKTX', |
+ 'libwebp.gyp:libwebp', |
+ 'utils.gyp:utils', |
+ ], |
+ 'include_dirs': [ |
+ '../include/codec', |
+ '../src/codec', |
+ ], |
+ 'sources': [ |
+ '../src/codec/SkCodec.cpp', |
+ '../src/codec/SkCodec_libpng.cpp', |
+ '../src/codec/SkSwizzler.cpp', |
+ ], |
+ 'conditions': [ |
+ [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "android", "mac", "ios"]', { |
djsollen
2015/02/25 20:52:15
I think you can remove this condition and the one
scroggo
2015/02/25 21:33:52
Done. This explains my Windows trybot failure, I t
|
+ 'dependencies': [ |
+ 'libpng.gyp:libpng', |
djsollen
2015/02/25 20:52:15
this gyp file still uses the android_deps.gyp inte
scroggo
2015/02/25 21:33:52
I set it in common_variables.
|
+ ], |
+ }], |
+ [ 'skia_os == "chromeos"', { |
+ 'dependencies': [ |
+ 'libpng.gyp:libpng', |
+ ], |
+ }], |
+ [ 'skia_os == "ios"', { |
+ 'include_dirs': [ |
+ '../include/utils/mac', |
djsollen
2015/02/25 20:52:15
is this needed?
scroggo
2015/02/25 21:33:52
No. Removed.
|
+ ], |
+ }], |
+ ], |
+ 'direct_dependent_settings': { |
+ 'include_dirs': [ |
+ '../include/codec', |
+ ], |
+ }, |
+ }, |
+ ], |
+} |