Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
[gecko.git] / media / libpng / moz.build
blob330f5ff75154435980614cd440587b64989158d2
1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 EXPORTS += [
8     'png.h',
9     'pngconf.h',
10     'pnglibconf.h'
13 UNIFIED_SOURCES += [
14     'png.c',
15     'pngerror.c',
16     'pngget.c',
17     'pngmem.c',
18     'pngpread.c',
19     'pngread.c',
20     'pngrio.c',
21     'pngrtran.c',
22     'pngrutil.c',
23     'pngset.c',
24     'pngtrans.c',
25     'pngwio.c',
26     'pngwrite.c',
27     'pngwutil.c'
30 if CONFIG['MOZ_PNG_ARM_NEON']:
31     DEFINES['MOZ_PNG_HAVE_ARM_NEON'] = True
32     UNIFIED_SOURCES += [
33         'arm/arm_init.c',
34         'arm/filter_neon_intrinsics.c'
35     ]
37     SOURCES += [
38         'arm/filter_neon.S'
39     ]
41 LIBRARY_NAME = 'mozpng'
43 MSVC_ENABLE_PGO = True
45 if CONFIG['GKMEDIAS_SHARED_LIBRARY']:
46     NO_VISIBILITY_FLAGS = True
48 FINAL_LIBRARY = 'gkmedias'