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: gyp/codec.gyp

Issue 930283002: Add SkCodec, including PNG implementation. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Make SkPngCodec work on Mac! Created 5 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
« DEPS ('K') | « dm/DMSrcSink.cpp ('k') | gyp/common_variables.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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',
+ ],
+ },
+ },
+ ],
+}
« DEPS ('K') | « dm/DMSrcSink.cpp ('k') | gyp/common_variables.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698