2016-07-14 19:16:42 +03:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 00:47:22 +04:00
|
|
|
# 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/.
|
|
|
|
|
2013-10-25 03:23:05 +04:00
|
|
|
SOURCES += [
|
2013-08-22 10:56:02 +04:00
|
|
|
'tremor_block.c',
|
|
|
|
'tremor_codebook.c',
|
|
|
|
'tremor_floor0.c',
|
|
|
|
'tremor_floor1.c',
|
|
|
|
'tremor_info.c',
|
|
|
|
'tremor_mapping0.c',
|
|
|
|
'tremor_mdct.c',
|
|
|
|
'tremor_registry.c',
|
|
|
|
'tremor_res012.c',
|
|
|
|
'tremor_sharedbook.c',
|
|
|
|
'tremor_synthesis.c',
|
|
|
|
'tremor_window.c',
|
|
|
|
]
|
|
|
|
|
2013-11-19 06:47:14 +04:00
|
|
|
FINAL_LIBRARY = 'gkmedias'
|
2013-11-27 17:55:07 +04:00
|
|
|
|
|
|
|
if CONFIG['OS_ARCH'] == 'AIX':
|
|
|
|
DEFINES['alloca'] = '__alloca'
|
|
|
|
|
2018-07-24 23:08:55 +03:00
|
|
|
if CONFIG['CPU_ARCH'] == 'arm' and CONFIG['CC_TYPE'] in ('clang', 'gcc') and not CONFIG['MOZ_THUMB2']:
|
2013-11-27 17:55:07 +04:00
|
|
|
DEFINES['_ARM_ASSEM_'] = True
|
2013-12-31 13:06:11 +04:00
|
|
|
|
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/media/libtremor/include/tremor',
|
|
|
|
]
|
|
|
|
|
2015-12-17 09:57:51 +03:00
|
|
|
# We allow warnings for third-party code that can be updated from upstream.
|
2017-10-26 01:12:09 +03:00
|
|
|
AllowCompilerWarnings()
|