media/libsoundtouch/src/moz.build
author Mike Hommey <mh+mozilla@glandium.org>
Tue, 19 Nov 2013 11:47:39 +0900
changeset 159082 05e66d941de21f4edbb22801c740878474d23b72
parent 159076 7161a2d28363197b76f4090900393cb19f201de4
child 159091 e4b59fdbc9c2dfc8d28cdcdc2888bf4a21376826
permissions -rw-r--r--
Bug 939044 - Remove most definitions of MODULE. r=mshal

# -*- 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/.

EXPORTS.soundtouch += [
    'FIFOSamplePipe.h',
    'SoundTouch.h',
    'soundtouch_config.h',
    'STTypes.h',
]

UNIFIED_SOURCES += [
    'AAFilter.cpp',
    'cpu_detect_x86.cpp',
    'FIFOSampleBuffer.cpp',
    'FIRFilter.cpp',
    'RateTransposer.cpp',
    'SoundTouch.cpp',
    'TDStretch.cpp',
]

if CONFIG['INTEL_ARCHITECTURE']:
    if CONFIG['MOZ_SAMPLE_TYPE_FLOAT32']:
        UNIFIED_SOURCES += [
            'sse_optimized.cpp',
        ]
    else:
        UNIFIED_SOURCES += [
            'mmx_optimized.cpp',
        ]

LIBRARY_NAME = 'soundtouch'

MSVC_ENABLE_PGO = True
NO_VISIBILITY_FLAGS = True

FINAL_LIBRARY = 'gkmedias'