summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorepoger@google.com <epoger@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-06-16 12:27:14 +0000
committerepoger@google.com <epoger@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-06-16 12:27:14 +0000
commit184de296b584ee5c831deffd26513e22bd10d862 (patch)
tree7bb390f55cd01dc0947dc6d7681241d6c3234ac4
parent9ac05818a7a59b6f41bf72843e698d011963e90b (diff)
downloadgyp-184de296b584ee5c831deffd26513e22bd10d862.tar.gz
remove libpng and zlib from third_party
http://codereview.appspot.com/4571077 git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@1609 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r--images.gyp6
-rw-r--r--libpng.gyp51
-rw-r--r--zlib.gyp53
3 files changed, 3 insertions, 107 deletions
diff --git a/images.gyp b/images.gyp
index 7aacd9a..e052f1e 100644
--- a/images.gyp
+++ b/images.gyp
@@ -96,13 +96,13 @@
# Any targets that depend on this target should link in libpng and
# our code that calls it.
# See http://code.google.com/p/gyp/wiki/InputFormatReference#Dependent_Settings
- 'dependencies' : [
- 'libpng.gyp:libpng',
- ],
'link_settings': {
'sources': [
'../src/images/SkImageDecoder_libpng.cpp',
],
+ 'libraries': [
+ '-lpng',
+ ],
},
# end libpng stuff
}],
diff --git a/libpng.gyp b/libpng.gyp
deleted file mode 100644
index 2998baa..0000000
--- a/libpng.gyp
+++ /dev/null
@@ -1,51 +0,0 @@
-# Gyp config to build libpng as needed for Skia.
-{
- 'targets': [
- {
- 'target_name': 'libpng',
- 'type': 'static_library',
- 'dependencies': [
- 'zlib.gyp:zlib',
- ],
- 'include_dirs': [
- '../third_party/libpng',
- ],
- 'sources': [
- '../third_party/libpng/png.h',
- '../third_party/libpng/pngconf.h',
- '../third_party/libpng/pngdebug.h',
- '../third_party/libpng/pnginfo.h',
- '../third_party/libpng/pnglibconf.h',
- '../third_party/libpng/pngpriv.h',
- '../third_party/libpng/pngstruct.h',
-
- '../third_party/libpng/png.c',
- '../third_party/libpng/pngerror.c',
- '../third_party/libpng/pngget.c',
- '../third_party/libpng/pngmem.c',
- '../third_party/libpng/pngpread.c',
- '../third_party/libpng/pngread.c',
- '../third_party/libpng/pngrio.c',
- '../third_party/libpng/pngrtran.c',
- '../third_party/libpng/pngrutil.c',
- '../third_party/libpng/pngset.c',
- '../third_party/libpng/pngtrans.c',
- '../third_party/libpng/pngwio.c',
- '../third_party/libpng/pngwrite.c',
- '../third_party/libpng/pngwtran.c',
- '../third_party/libpng/pngwutil.c',
- ],
- 'all_dependent_settings': {
- 'include_dirs': [
- '../third_party/libpng',
- ],
- },
- },
- ],
-}
-
-# Local Variables:
-# tab-width:2
-# indent-tabs-mode:nil
-# End:
-# vim: set expandtab tabstop=2 shiftwidth=2:
diff --git a/zlib.gyp b/zlib.gyp
deleted file mode 100644
index 3e1fd0a..0000000
--- a/zlib.gyp
+++ /dev/null
@@ -1,53 +0,0 @@
-# Gyp config to build zlib as needed for Skia.
-{
- 'targets': [
- {
- 'target_name': 'zlib',
- 'type': 'static_library',
- 'include_dirs': [
- '../third_party/zlib',
- ],
- 'sources': [
- '../third_party/zlib/crc32.h',
- '../third_party/zlib/deflate.h',
- '../third_party/zlib/gzguts.h',
- '../third_party/zlib/inffast.h',
- '../third_party/zlib/inffixed.h',
- '../third_party/zlib/inflate.h',
- '../third_party/zlib/inftrees.h',
- '../third_party/zlib/trees.h',
- '../third_party/zlib/zconf.h',
- '../third_party/zlib/zlib.h',
- '../third_party/zlib/zutil.h',
-
- '../third_party/zlib/adler32.c',
- '../third_party/zlib/compress.c',
- '../third_party/zlib/crc32.c',
- '../third_party/zlib/deflate.c',
- '../third_party/zlib/gzclose.c',
- '../third_party/zlib/gzlib.c',
- '../third_party/zlib/gzread.c',
- '../third_party/zlib/gzwrite.c',
- '../third_party/zlib/infback.c',
- '../third_party/zlib/inffast.c',
- '../third_party/zlib/inflate.c',
- '../third_party/zlib/inftrees.c',
- '../third_party/zlib/minigzip.c',
- '../third_party/zlib/trees.c',
- '../third_party/zlib/uncompr.c',
- '../third_party/zlib/zutil.c',
- ],
- 'all_dependent_settings': {
- 'include_dirs': [
- '../third_party/zlib',
- ],
- },
- },
- ],
-}
-
-# Local Variables:
-# tab-width:2
-# indent-tabs-mode:nil
-# End:
-# vim: set expandtab tabstop=2 shiftwidth=2: