gecko-dev/browser/themes/moz.build
Kris Maglione a15a869f4f Bug 1525762: Part 2a - Migrate built-in LWTs to static WebExtension themes. r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D24627

--HG--
rename : browser/base/content/defaultthemes/dark.icon.svg => browser/themes/addons/dark/icon.svg
rename : browser/base/content/defaultthemes/light.icon.svg => browser/themes/addons/light/icon.svg
rename : toolkit/mozapps/extensions/content/default-theme-icon.svg => toolkit/mozapps/extensions/default-theme/icon.svg
extra : rebase_source : a844186d5a113b596c6bb6bdcd49f443e1879ab2
extra : histedit_source : a5b745dcdac9106fe224895d13862b156feb1eb0
2019-02-08 14:18:52 -08:00

32 lines
746 B
Python

# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# 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/.
with Files("**"):
BUG_COMPONENT = ("Firefox", "Theme")
toolkit = CONFIG['MOZ_WIDGET_TOOLKIT']
if toolkit == 'cocoa':
DIRS += ['osx']
elif toolkit == 'gtk3':
DIRS += ['linux']
else:
DIRS += ['windows']
DIRS += [
'addons/dark',
'addons/light',
]
with Files('osx/**'):
SCHEDULES.exclusive = ['macosx']
with Files('linux/**'):
SCHEDULES.exclusive = ['linux']
with Files('windows/**'):
SCHEDULES.exclusive = ['windows']