gfx/ycbcr/moz.build
author Gaia Pushbot <release+gaiajson@mozilla.com>
Wed, 11 Sep 2013 09:00:25 -0700
changeset 146638 787feb7772d259c6c65133ef475c0c1307ff4882
parent 143767 043b46d19b1c37a40a8ea651a856908487fb0f41
child 149669 20613b2d640db9fd2b62b01ccc3ff6551151886f
permissions -rw-r--r--
Bumping gaia.json for 2 gaia-central revision(s) ======== https://hg.mozilla.org/integration/gaia-central/rev/cdf75f3e9e3a Author: Fabien Cazenave <fabien@cazenave.cc> Desc: Merge pull request #12108 from fabi1cazenave/smsExplicitL10nArguments-bug915058 Bug 915058 - [SMS] use more explicit l10n arguments in dialog.js, r=julienw ======== https://hg.mozilla.org/integration/gaia-central/rev/d3eb0645e8d0 Author: Fabien Cazenave <fabien@cazenave.cc> Desc: Bug 915058 - [SMS] use more explicit l10n arguments in dialog.js, r=julienw

# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
# 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/.

MODULE = 'ycbcr'

EXPORTS += [
    'chromium_types.h',
    'ycbcr_to_rgb565.h',
    'yuv_convert.h',
    'yuv_row.h',
]

CPP_SOURCES += [
    'ycbcr_to_rgb565.cpp',
    'yuv_convert.cpp',
    'yuv_row_c.cpp',
    'yuv_row_table.cpp',
]

if CONFIG['INTEL_ARCHITECTURE']:
    CPP_SOURCES += [
        'yuv_convert_sse2.cpp',
    ]

    # MSVC doesn't support MMX when targeting AMD64.
    if CONFIG['_MSC_VER']:
        if CONFIG['OS_TEST'] != 'x86_64':
            CPP_SOURCES += [
                'yuv_convert_mmx.cpp',
            ]
    else:
        CPP_SOURCES += [
            'yuv_convert_mmx.cpp',
        ]

if CONFIG['_MSC_VER']:
    if CONFIG['OS_TEST'] == 'x86_64':
        if CONFIG['_MSC_VER'] == '1400':
            # VC8 doesn't support some SSE2 built-in functions
            CPP_SOURCES += [
                'yuv_row_win.cpp',
            ]
        else:
            CPP_SOURCES += [
                'yuv_row_win64.cpp',
            ]
    else:
        CPP_SOURCES += [
            'yuv_row_win.cpp',
        ]
elif CONFIG['OS_ARCH'] in ('Linux', 'SunOS', 'Darwin', 'DragonFly',
                           'FreeBSD', 'NetBSD', 'OpenBSD'):
    CPP_SOURCES += [
        'yuv_row_posix.cpp',
    ]
else:
    CPP_SOURCES += [
        'yuv_row_other.cpp',
    ]

if CONFIG['CPU_ARCH'] == 'arm' and CONFIG['HAVE_ARM_NEON']:
    ASFILES += [
        'yuv_row_arm.s',
    ]
    CPP_SOURCES += [
        'yuv_convert_arm.cpp',
    ]

LIBRARY_NAME = 'ycbcr'

LIBXUL_LIBRARY = True