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

Unified Diff: gyp/codec.gyp

Issue 1032253003: Enable both static and dynamically linked libpng (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: addressing comments Created 5 years, 9 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
« no previous file with comments | « no previous file | 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
index eb49f6cd5cc76e297bd0a5a995b66c91f6fc5106..13737739401e1ee62fb30c61b1496c489212b17a 100644
--- a/gyp/codec.gyp
+++ b/gyp/codec.gyp
@@ -18,7 +18,6 @@
'dependencies': [
'core.gyp:*',
'giflib.gyp:giflib',
- 'libpng.gyp:libpng',
],
'cflags':[
# FIXME: This gets around a longjmp warning. See
@@ -47,6 +46,21 @@
'../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',
+ ],
+ }, { # !skia_android_framework
+ 'dependencies': [
+ 'libpng.gyp:libpng_static',
+ ],
+ }
+ ]
+ ]
},
],
}
« no previous file with comments | « no previous file | gyp/common_variables.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698