From 777c940a87944192afaa28904c30145bfeb54d09 Mon Sep 17 00:00:00 2001 From: "dominikg@chromium.org" Date: Tue, 24 Sep 2013 02:39:54 +0000 Subject: libpng 1.6.3 Update libpng from version 1.2.45 to 1.6.3. Enable NEON implementation of libpng for ARM devices running Android. libpng performs a check a runtime to see if the device actually supports NEON. BUG= Review URL: https://chromiumcodereview.appspot.com/23271006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224858 0039d316-1c4b-4281-b951-d872f2087c98 --- third_party/libpng/libpng.gyp | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'third_party/libpng/libpng.gyp') diff --git a/third_party/libpng/libpng.gyp b/third_party/libpng/libpng.gyp index 38082f4..bd4e3a8 100644 --- a/third_party/libpng/libpng.gyp +++ b/third_party/libpng/libpng.gyp @@ -6,6 +6,7 @@ 'targets': [ { 'target_name': 'libpng', + 'toolsets': ['target', 'host'], 'dependencies': [ '../zlib/zlib.gyp:zlib', ], @@ -67,10 +68,18 @@ 'defines': [ 'PNG_USE_DLL', ], - }, + }, }], - ['OS=="android"', { - 'toolsets': ['target', 'host'], + ['OS=="android" and _toolset=="target"', { + 'includes': [ + "../../build/android/cpufeatures.gypi", + ], + }], + ['target_arch=="arm"', { + 'sources': [ + 'arm/arm_init.c', + 'arm/filter_neon.S', + ], }], ], }, -- cgit v1.1