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

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: Fixed images.gyp 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
Index: gyp/codec.gyp
diff --git a/gyp/codec.gyp b/gyp/codec.gyp
index 3888d4f3701d491ab0a26ee1a2e48f736896bc57..6d12ae523b88a702c421333a484446e18b367e3b 100644
--- a/gyp/codec.gyp
+++ b/gyp/codec.gyp
@@ -58,6 +58,9 @@
'../include/codec',
],
},
+ 'defines': [
+ 'TURBO_HAS_SKIP',
+ ],
'conditions': [
[ 'skia_android_framework == 1',
{
@@ -65,27 +68,19 @@
# the android framework to a more recent version of libpng.
'dependencies': [
'libpng.gyp:libpng',
+ 'android_deps.gyp:libjpeg-turbo',
scroggo 2015/11/05 18:35:53 It's weird to me that we directly use libpng.gyp h
msarett 2015/11/05 22:13:25 Moving the decision out of this file.
],
- # 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',
+ 'export_dependent_settings': [
+ 'android_deps.gyp:libjpeg-turbo'
],
}, { # !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',
scroggo 2015/11/05 18:35:53 Do we still need libpng_static? I thought it was o
msarett 2015/11/05 22:13:25 I think we're fine to include libpng now. I think
scroggo 2015/11/05 22:24:55 Oh, sorry, I didn't mean we should not build a sta
],
'export_dependent_settings': [
'libjpeg-turbo.gyp:libjpeg-turbo',
],
- 'defines': [
- 'TURBO_HAS_SKIP',
- ],
}
]
]
« no previous file with comments | « gyp/android_deps.gyp ('k') | gyp/common_conditions.gypi » ('j') | gyp/images.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698