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

Unified Diff: gyp/images.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/dm.gypi ('k') | gyp/libjpeg.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gyp/images.gyp
diff --git a/gyp/images.gyp b/gyp/images.gyp
index 3c46ec1a8f0bf659bedc21feea5f1ab9278a5ed9..6f1151403265cce4aaff9a35aa6f4ecd9d0f7a76 100644
--- a/gyp/images.gyp
+++ b/gyp/images.gyp
@@ -14,7 +14,7 @@
'dependencies': [
'core.gyp:*',
'giflib.gyp:giflib',
- 'libjpeg.gyp:*',
+ 'libjpeg-turbo-selector.gyp:libjpeg-turbo-selector',
'etc1.gyp:libetc1',
'ktx.gyp:libSkKTX',
'libwebp.gyp:libwebp',
@@ -116,9 +116,6 @@
],
}],
[ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]', {
- 'export_dependent_settings': [
- 'libpng.gyp:libpng',
- ],
'dependencies': [
'libpng.gyp:libpng',
],
@@ -128,9 +125,6 @@
'include_dirs': [
'../src/utils',
],
- 'dependencies': [
- 'android_deps.gyp:png',
- ],
'cflags' : [
# SkImageDecoder_libpng includes png.h.
# In the version of libpng that we use on Android (1.2.46),
@@ -138,13 +132,11 @@
# in png.h, triggering a warning in C++11.
'-Wno-literal-suffix',
],
+ 'dependencies': [
+ 'libpng.gyp:libpng',
+ ],
'conditions': [
- [ 'skia_android_framework == 0', {
- 'export_dependent_settings': [
- 'android_deps.gyp:png',
- 'libjpeg.gyp:*'
- ],
- }, {
+ [ 'skia_android_framework == 1', {
# The android framework disables these decoders as they are of little use to
# Java applications that can't take advantage of the compressed formats.
'sources!': [
« no previous file with comments | « gyp/dm.gypi ('k') | gyp/libjpeg.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698