media/libpng/moz.build

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     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     'mozpngconf.h',
     9     'png.h',
    10     'pngconf.h'
    11 ]
    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'
    28 ]
    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'

mercurial