2016-07-14 19:16:42 +03:00
|
|
|
# -*- Mode: python; 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
|
|
|
|
2016-04-19 09:45:34 +03:00
|
|
|
for var in ('target', 'MOZ_CONFIGURE_OPTIONS', 'CC', 'CC_VERSION', 'CXX'):
|
2013-11-27 17:55:07 +04:00
|
|
|
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']
|
|
|
|
|
2016-05-03 16:13:49 +03:00
|
|
|
if CONFIG['MOZ_ANDROID_CXX_STL'] == 'libc++':
|
|
|
|
DEFINES['MOZ_USE_LIBCXX'] = 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')
|
2016-02-10 07:38:31 +03:00
|
|
|
|
|
|
|
DEFINES['TOPOBJDIR'] = TOPOBJDIR
|