2016-07-14 16:16:42 +00:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 21:19:09 +00: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/.
|
|
|
|
|
|
|
|
# Theme Selection
|
|
|
|
#
|
2015-11-09 15:22:24 +00:00
|
|
|
# Shared (toolkit/themes/shared/) is always included.
|
|
|
|
#
|
2013-02-25 21:19:09 +00:00
|
|
|
# MacOS X osx (toolkit/themes/osx)
|
2015-11-09 15:22:24 +00:00
|
|
|
# Windows windows (toolkit/themes/windows) +
|
|
|
|
# non-mac (toolkit/themes/shared/non-mac)
|
|
|
|
# GNOME/Linux linux (toolkit/themes/linux)
|
|
|
|
# non-mac (toolkit/themes/shared/non-mac)
|
2015-11-20 17:03:01 +00:00
|
|
|
# mobile native UIs that do not use XUL for UI
|
2013-02-25 21:19:09 +00:00
|
|
|
|
|
|
|
toolkit = CONFIG['MOZ_WIDGET_TOOLKIT']
|
2015-11-20 17:03:01 +00:00
|
|
|
app = CONFIG['MOZ_BUILD_APP']
|
2013-02-25 21:19:09 +00:00
|
|
|
|
|
|
|
if toolkit == 'cocoa':
|
|
|
|
DIRS += ['osx']
|
2018-01-10 09:04:59 +00:00
|
|
|
elif toolkit == 'gtk3':
|
2015-11-09 15:22:24 +00:00
|
|
|
DIRS += ['linux']
|
2016-05-10 14:50:01 +00:00
|
|
|
elif app == 'mobile/android':
|
2015-11-28 17:52:22 +00:00
|
|
|
DIRS += ['mobile']
|
2013-02-25 21:19:09 +00:00
|
|
|
else:
|
|
|
|
DIRS += ['windows']
|
|
|
|
|
2015-03-15 18:36:24 +00:00
|
|
|
with Files('**'):
|
|
|
|
BUG_COMPONENT = ('Toolkit', 'Themes')
|