2013-04-01 22:36:59 +04:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 00:47:22 +04: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 23:24:43 +04:00
|
|
|
EXPORTS += [
|
|
|
|
'mozpngconf.h',
|
|
|
|
'png.h',
|
2013-12-20 20:37:47 +04:00
|
|
|
'pngconf.h'
|
2013-04-16 23:24:43 +04:00
|
|
|
]
|
|
|
|
|
2013-11-11 20:56:58 +04:00
|
|
|
UNIFIED_SOURCES += [
|
2013-06-04 19:08:44 +04:00
|
|
|
'png.c',
|
|
|
|
'pngerror.c',
|
|
|
|
'pngget.c',
|
|
|
|
'pngmem.c',
|
|
|
|
'pngpread.c',
|
|
|
|
'pngread.c',
|
|
|
|
'pngrio.c',
|
|
|
|
'pngrtran.c',
|
|
|
|
'pngrutil.c',
|
2013-07-18 18:27:21 +04:00
|
|
|
'pngset.c',
|
|
|
|
'pngtrans.c',
|
2013-06-04 19:08:44 +04:00
|
|
|
'pngwio.c',
|
|
|
|
'pngwrite.c',
|
2013-12-20 20:37:47 +04:00
|
|
|
'pngwutil.c'
|
2013-06-04 19:08:44 +04:00
|
|
|
]
|
2013-06-17 23:21:01 +04:00
|
|
|
|
2013-07-18 18:27:21 +04:00
|
|
|
if CONFIG['MOZ_PNG_ARM_NEON']:
|
2013-12-20 20:37:47 +04:00
|
|
|
DEFINES['MOZ_PNG_HAVE_ARM_NEON'] = True
|
2013-12-04 17:01:34 +04:00
|
|
|
UNIFIED_SOURCES += [
|
2013-12-20 20:37:47 +04:00
|
|
|
'arm/arm_init.c',
|
|
|
|
'arm/filter_neon_intrinsics.c'
|
2013-07-18 18:27:21 +04:00
|
|
|
]
|
2013-06-17 23:21:01 +04:00
|
|
|
|
2013-10-25 03:23:05 +04:00
|
|
|
SOURCES += [
|
2013-07-18 18:27:21 +04:00
|
|
|
'arm/filter_neon.S'
|
|
|
|
]
|
|
|
|
|
|
|
|
LIBRARY_NAME = 'mozpng'
|
2013-08-22 10:56:01 +04:00
|
|
|
|
|
|
|
MSVC_ENABLE_PGO = True
|
|
|
|
|
2013-11-22 18:03:21 +04:00
|
|
|
if CONFIG['GKMEDIAS_SHARED_LIBRARY']:
|
2013-10-24 23:06:19 +04:00
|
|
|
NO_VISIBILITY_FLAGS = True
|
2013-11-19 06:47:14 +04:00
|
|
|
|
|
|
|
FINAL_LIBRARY = 'gkmedias'
|