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

Unified Diff: gyp/codec.gyp

Issue 1406153015: Remove dependencies on Android's forked decoder libraries (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: It is 2015 Created 5 years, 1 month 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
« no previous file with comments | « gyp/android_deps.gyp ('k') | gyp/dm.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
index 3888d4f3701d491ab0a26ee1a2e48f736896bc57..ace6e5a202d49fb559c0820e95bc7186d1058c1d 100644
--- a/gyp/codec.gyp
+++ b/gyp/codec.gyp
@@ -18,6 +18,8 @@
'dependencies': [
'core.gyp:*',
'giflib.gyp:giflib',
+ 'libjpeg-turbo-selector.gyp:libjpeg-turbo-selector',
+ 'libpng.gyp:libpng',
'libwebp.gyp:libwebp',
],
'cflags':[
@@ -58,37 +60,9 @@
'../include/codec',
],
},
- 'conditions': [
- [ 'skia_android_framework == 1',
- {
- # TODO(djsollen): this is a temporary dependency until we can update
- # the android framework to a more recent version of libpng.
- 'dependencies': [
- 'libpng.gyp:libpng',
- ],
- # TODO(msarett): Add libjpeg-turbo to Android so we can compile SkJpegCodec
- # for the framework.
- 'sources!': [
- '../src/codec/SkJpegCodec.cpp',
- '../src/codec/SkJpegDecoderMgr.cpp',
- '../src/codec/SkJpegUtility_codec.cpp',
- ],
- }, { # !skia_android_framework
- 'dependencies': [
- # TODO(msarett): Add libjpeg-turbo to Android so this can be a global
- # dependency.
- 'libjpeg-turbo.gyp:libjpeg-turbo',
- 'libpng.gyp:libpng_static',
- ],
- 'export_dependent_settings': [
- 'libjpeg-turbo.gyp:libjpeg-turbo',
- ],
- 'defines': [
- 'TURBO_HAS_SKIP',
- ],
- }
- ]
- ]
+ 'defines': [
+ 'TURBO_HAS_SKIP',
+ ],
},
],
}
« no previous file with comments | « gyp/android_deps.gyp ('k') | gyp/dm.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698