2013-04-01 18:36:59 +00:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 20:47:22 +00:00
|
|
|
# vim: set filetype=python:
|
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
2013-04-16 19:24:43 +00:00
|
|
|
EXPORTS += [
|
|
|
|
'mozpngconf.h',
|
|
|
|
'png.h',
|
2013-12-20 16:37:47 +00:00
|
|
|
'pngconf.h'
|
2013-04-16 19:24:43 +00:00
|
|
|
]
|
|
|
|
|
2013-11-11 16:56:58 +00:00
|
|
|
UNIFIED_SOURCES += [
|
2013-06-04 15:08:44 +00:00
|
|
|
'png.c',
|
|
|
|
'pngerror.c',
|
|
|
|
'pngget.c',
|
|
|
|
'pngmem.c',
|
|
|
|
'pngpread.c',
|
|
|
|
'pngread.c',
|
|
|
|
'pngrio.c',
|
|
|
|
'pngrtran.c',
|
|
|
|
'pngrutil.c',
|
2013-07-18 14:27:21 +00:00
|
|
|
'pngset.c',
|
|
|
|
'pngtrans.c',
|
2013-06-04 15:08:44 +00:00
|
|
|
'pngwio.c',
|
|
|
|
'pngwrite.c',
|
2013-12-20 16:37:47 +00:00
|
|
|
'pngwutil.c'
|
2013-06-04 15:08:44 +00:00
|
|
|
]
|
2013-06-17 19:21:01 +00:00
|
|
|
|
2013-07-18 14:27:21 +00:00
|
|
|
if CONFIG['MOZ_PNG_ARM_NEON']:
|
2013-12-20 16:37:47 +00:00
|
|
|
DEFINES['MOZ_PNG_HAVE_ARM_NEON'] = True
|
2013-12-04 13:01:34 +00:00
|
|
|
UNIFIED_SOURCES += [
|
2013-12-20 16:37:47 +00:00
|
|
|
'arm/arm_init.c',
|
|
|
|
'arm/filter_neon_intrinsics.c'
|
2013-07-18 14:27:21 +00:00
|
|
|
]
|
2013-06-17 19:21:01 +00:00
|
|
|
|
2013-10-24 23:23:05 +00:00
|
|
|
SOURCES += [
|
2013-07-18 14:27:21 +00:00
|
|
|
'arm/filter_neon.S'
|
|
|
|
]
|
|
|
|
|
|
|
|
LIBRARY_NAME = 'mozpng'
|
2013-08-22 06:56:01 +00:00
|
|
|
|
|
|
|
MSVC_ENABLE_PGO = True
|
|
|
|
|
2013-11-22 14:03:21 +00:00
|
|
|
if CONFIG['GKMEDIAS_SHARED_LIBRARY']:
|
2013-10-24 19:06:19 +00:00
|
|
|
NO_VISIBILITY_FLAGS = True
|
2013-11-19 02:47:14 +00:00
|
|
|
|
|
|
|
FINAL_LIBRARY = 'gkmedias'
|