2013-04-01 11:36:59 -07:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 12:47:22 -08: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-23 14:52:00 -07:00
|
|
|
EXPORTS.vorbis += [
|
|
|
|
'include/vorbis/codec.h',
|
2013-11-11 12:30:16 -08:00
|
|
|
'include/vorbis/vorbisenc.h',
|
2013-10-23 14:52:00 -07:00
|
|
|
]
|
|
|
|
|
2013-12-01 11:58:23 -08:00
|
|
|
UNIFIED_SOURCES += [
|
2013-10-23 14:52:00 -07:00
|
|
|
'lib/vorbis_analysis.c',
|
|
|
|
'lib/vorbis_bitrate.c',
|
|
|
|
'lib/vorbis_block.c',
|
|
|
|
'lib/vorbis_envelope.c',
|
|
|
|
'lib/vorbis_floor0.c',
|
|
|
|
'lib/vorbis_lookup.c',
|
|
|
|
'lib/vorbis_lpc.c',
|
|
|
|
'lib/vorbis_lsp.c',
|
|
|
|
'lib/vorbis_mapping0.c',
|
|
|
|
'lib/vorbis_mdct.c',
|
|
|
|
'lib/vorbis_psy.c',
|
|
|
|
'lib/vorbis_registry.c',
|
|
|
|
'lib/vorbis_sharedbook.c',
|
|
|
|
'lib/vorbis_smallft.c',
|
|
|
|
'lib/vorbis_synthesis.c',
|
2013-11-11 12:30:16 -08:00
|
|
|
'lib/vorbisenc.c',
|
2013-10-23 14:52:00 -07:00
|
|
|
]
|
|
|
|
|
2013-12-01 11:58:23 -08:00
|
|
|
# These files can't be unified because of function redefinitions.
|
|
|
|
SOURCES += [
|
|
|
|
'lib/vorbis_codebook.c',
|
|
|
|
'lib/vorbis_floor1.c',
|
|
|
|
'lib/vorbis_info.c',
|
|
|
|
'lib/vorbis_res0.c',
|
|
|
|
'lib/vorbis_window.c',
|
|
|
|
]
|
|
|
|
|
2013-11-11 12:30:16 -08:00
|
|
|
LOCAL_INCLUDES += ['lib']
|
|
|
|
|
2013-10-24 13:06:00 -07:00
|
|
|
if CONFIG['OS_ARCH'] == 'AIX':
|
|
|
|
DEFINES['alloca'] = '__alloca'
|
|
|
|
|
2013-10-24 13:05:00 -07:00
|
|
|
if CONFIG['OS_ARCH'] == 'SunOS':
|
|
|
|
DEFINES['HAVE_ALLOCA_H'] = True
|
|
|
|
|
2013-10-23 14:52:00 -07:00
|
|
|
MSVC_ENABLE_PGO = True
|
|
|
|
|
2013-11-22 06:03:21 -08:00
|
|
|
if CONFIG['GKMEDIAS_SHARED_LIBRARY']:
|
2013-10-23 14:52:00 -07:00
|
|
|
NO_VISIBILITY_FLAGS = True
|
2013-11-18 18:47:14 -08:00
|
|
|
|
|
|
|
FINAL_LIBRARY = 'gkmedias'
|