diff options
Diffstat (limited to 'gyp/giflib.gyp')
-rw-r--r-- | gyp/giflib.gyp | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/gyp/giflib.gyp b/gyp/giflib.gyp index 3a2c2153bf..9263835d2e 100644 --- a/gyp/giflib.gyp +++ b/gyp/giflib.gyp @@ -11,7 +11,7 @@ { 'target_name': 'giflib', 'conditions': [ - [ 'skia_giflib_static', + [ 'skia_android_framework == 0', { 'type': 'static_library', 'defines': [ @@ -35,17 +35,18 @@ '../third_party/externals/giflib/gifalloc.c', '../third_party/externals/giflib/gif_err.c', ], - }, { # not skia_giflib_static + }, { # skia_android_framework 'type': 'none', 'direct_dependent_settings': { - 'link_settings': { - 'libraries': [ - '-lgif', - ], - }, - }, + 'libraries' : [ + 'libgif.a', + ], + 'include_dirs': [ + 'external/giflib', + ] + } } - ], + ] ] } ] |