Source code

Revision control

Other Tools

1
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
2
# vim: set filetype=python:
3
# This Source Code Form is subject to the terms of the Mozilla Public
4
# License, v. 2.0. If a copy of the MPL was not distributed with this
5
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
7
# Theme Selection
8
#
9
# Shared (toolkit/themes/shared/) is always included.
10
#
11
# MacOS X osx (toolkit/themes/osx)
12
# Windows windows (toolkit/themes/windows) +
13
# non-mac (toolkit/themes/shared/non-mac)
14
# GNOME/Linux linux (toolkit/themes/linux)
15
# non-mac (toolkit/themes/shared/non-mac)
16
# mobile native UIs that do not use XUL for UI
17
18
toolkit = CONFIG['MOZ_WIDGET_TOOLKIT']
19
app = CONFIG['MOZ_BUILD_APP']
20
21
if toolkit == 'cocoa':
22
DIRS += ['osx']
23
elif toolkit == 'gtk3':
24
DIRS += ['linux']
25
elif app == 'mobile/android':
26
DIRS += ['mobile']
27
else:
28
DIRS += ['windows']
29
30
with Files('**'):
31
BUG_COMPONENT = ('Toolkit', 'Themes')