Merge mozilla-central to autoland. CLOSED TREE
[gecko.git] / toolkit / themes / moz.build
blobfe4ffb69494ae858009efac043c40c5dd6c8f853
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/.
7 # Theme Selection
9 # Shared (toolkit/themes/shared/) is always included.
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
18 toolkit = CONFIG["MOZ_WIDGET_TOOLKIT"]
19 app = CONFIG["MOZ_BUILD_APP"]
21 if toolkit == "cocoa":
22     DIRS += ["osx"]
23 elif toolkit == "gtk":
24     DIRS += ["linux"]
25 elif app == "mobile/android":
26     DIRS += ["mobile"]
27 else:
28     DIRS += ["windows"]
30 with Files("**"):
31     BUG_COMPONENT = ("Toolkit", "Themes")
33 SPHINX_TREES["shared/design-system/docs"] = "shared/design-system/docs"