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