media/libtremor/lib/moz.build

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/media/libtremor/lib/moz.build	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,33 @@
     1.4 +# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
     1.5 +# vim: set filetype=python:
     1.6 +# This Source Code Form is subject to the terms of the Mozilla Public
     1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this
     1.8 +# file, You can obtain one at http://mozilla.org/MPL/2.0/.
     1.9 +
    1.10 +SOURCES += [
    1.11 +    'tremor_block.c',
    1.12 +    'tremor_codebook.c',
    1.13 +    'tremor_floor0.c',
    1.14 +    'tremor_floor1.c',
    1.15 +    'tremor_info.c',
    1.16 +    'tremor_mapping0.c',
    1.17 +    'tremor_mdct.c',
    1.18 +    'tremor_registry.c',
    1.19 +    'tremor_res012.c',
    1.20 +    'tremor_sharedbook.c',
    1.21 +    'tremor_synthesis.c',
    1.22 +    'tremor_window.c',
    1.23 +]
    1.24 +
    1.25 +FINAL_LIBRARY = 'gkmedias'
    1.26 +
    1.27 +if CONFIG['OS_ARCH'] == 'AIX':
    1.28 +    DEFINES['alloca'] = '__alloca'
    1.29 +
    1.30 +if CONFIG['TARGET_CPU'] == 'arm' and CONFIG['GNU_CC'] and not CONFIG['MOZ_THUMB2']:
    1.31 +    DEFINES['_ARM_ASSEM_'] = True
    1.32 +
    1.33 +LOCAL_INCLUDES += [
    1.34 +    '/media/libtremor/include/tremor',
    1.35 +]
    1.36 +

mercurial