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-03-19 22:47:00 +04:00
|
|
|
MODULE = 'png'
|
|
|
|
|
2013-04-16 23:24:43 +04:00
|
|
|
EXPORTS += [
|
|
|
|
'mozpngconf.h',
|
|
|
|
'png.h',
|
|
|
|
'pngconf.h',
|
|
|
|
]
|
|
|
|
|
2013-06-04 19:08:44 +04:00
|
|
|
CSRCS += [
|
|
|
|
'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',
|
|
|
|
'pngwtran.c',
|
|
|
|
'pngwutil.c',
|
|
|
|
]
|
2013-06-17 23:21:01 +04:00
|
|
|
|
2013-07-18 18:27:21 +04:00
|
|
|
if CONFIG['MOZ_PNG_ARM_NEON']:
|
|
|
|
DIRS += [
|
|
|
|
'arm',
|
|
|
|
]
|
|
|
|
|
|
|
|
if CONFIG['MOZ_PNG_ARM_NEON']:
|
|
|
|
CSRCS += [
|
|
|
|
'arm/arm_init.c'
|
|
|
|
]
|
2013-06-17 23:21:01 +04:00
|
|
|
|
2013-07-18 18:27:21 +04:00
|
|
|
if CONFIG['MOZ_PNG_ARM_NEON']:
|
|
|
|
SSRCS += [
|
|
|
|
'arm/filter_neon.S'
|
|
|
|
]
|
|
|
|
|
|
|
|
LIBRARY_NAME = 'mozpng'
|
2013-08-22 10:56:01 +04:00
|
|
|
|
|
|
|
MSVC_ENABLE_PGO = True
|
|
|
|
|