2013-04-01 11:36:59 -07:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 13:19:09 -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/.
|
|
|
|
|
|
|
|
TEST_DIRS += ['tests']
|
2013-11-27 05:55:07 -08:00
|
|
|
|
2014-07-22 16:40:12 -07:00
|
|
|
for var in ('target', 'ac_configure_args', 'CC', 'CC_VERSION',
|
2013-11-27 05:55:07 -08:00
|
|
|
'CXX', 'CXX_VERSION'):
|
|
|
|
DEFINES[var] = CONFIG[var]
|
|
|
|
|
2014-07-22 16:40:12 -07:00
|
|
|
DEFINES['CFLAGS'] = CONFIG['OS_CFLAGS']
|
|
|
|
|
2013-11-27 05:55:07 -08:00
|
|
|
if CONFIG['OS_TARGET'] == 'Android':
|
|
|
|
DEFINES['ANDROID_PACKAGE_NAME'] = CONFIG['ANDROID_PACKAGE_NAME']
|
|
|
|
|
|
|
|
if 'stlport' in CONFIG['STLPORT_LIBS']:
|
|
|
|
DEFINES['USE_STLPORT'] = True
|
2013-12-09 23:18:11 -08:00
|
|
|
|
2014-07-22 16:40:12 -07:00
|
|
|
JAR_MANIFESTS += ['jar.mn']
|