2013-04-01 22:36:59 +04:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 01:19:09 +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/.
|
|
|
|
|
|
|
|
TEST_DIRS += ['tests']
|
2013-11-27 17:55:07 +04:00
|
|
|
|
2014-07-23 03:40:12 +04:00
|
|
|
for var in ('target', 'ac_configure_args', 'CC', 'CC_VERSION',
|
2013-11-27 17:55:07 +04:00
|
|
|
'CXX', 'CXX_VERSION'):
|
|
|
|
DEFINES[var] = CONFIG[var]
|
|
|
|
|
2014-07-23 03:40:12 +04:00
|
|
|
DEFINES['CFLAGS'] = CONFIG['OS_CFLAGS']
|
|
|
|
|
2013-11-27 17:55:07 +04:00
|
|
|
if CONFIG['OS_TARGET'] == 'Android':
|
|
|
|
DEFINES['ANDROID_PACKAGE_NAME'] = CONFIG['ANDROID_PACKAGE_NAME']
|
|
|
|
|
2015-10-15 10:29:05 +03:00
|
|
|
if CONFIG['MOZ_ANDROID_CXX_STL'] == 'mozstlport':
|
2013-11-27 17:55:07 +04:00
|
|
|
DEFINES['USE_STLPORT'] = True
|
2013-12-10 11:18:11 +04:00
|
|
|
|
2016-01-05 05:35:13 +03:00
|
|
|
if CONFIG['MOZ_BUILD_APP'] == 'mobile/android':
|
|
|
|
DEFINES['MOZ_FENNEC'] = True
|
|
|
|
|
2014-07-23 03:40:12 +04:00
|
|
|
JAR_MANIFESTS += ['jar.mn']
|
2015-03-15 21:36:24 +03:00
|
|
|
|
|
|
|
with Files('aboutTelemetry.*'):
|
|
|
|
BUG_COMPONENT = ('Toolkit', 'Telemetry')
|
|
|
|
|
|
|
|
with Files('customizeToolbar.*'):
|
|
|
|
BUG_COMPONENT = ('Toolkit', 'Toolbars and Toolbar Customization')
|
|
|
|
|
|
|
|
with Files('widgets/*'):
|
|
|
|
BUG_COMPONENT = ('Toolkit', 'XUL Widgets')
|