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 MOCHITEST_CHROME_MANIFESTS += ["test/chrome.ini"]
9 XPCSHELL_TESTS_MANIFESTS += ["xpcshell/xpcshell.ini"]
11 if CONFIG["ENABLE_TESTS"]:
15 "nsIProfileMigrator.idl",
16 "nsIProfileUnlocker.idl",
17 "nsIToolkitProfile.idl",
18 "nsIToolkitProfileService.idl",
21 XPIDL_MODULE = "toolkitprofile"
23 UNIFIED_SOURCES += ["nsProfileLock.cpp"]
25 if CONFIG["OS_ARCH"] == "WINNT":
26 UNIFIED_SOURCES += ["ProfileUnlockerWin.cpp"]
28 if CONFIG["OS_TARGET"] == "Android":
29 UNIFIED_SOURCES += ["ProfileUnlockerAndroid.cpp"]
31 UNIFIED_SOURCES += ["nsToolkitProfileService.cpp"]
39 for var in ("MOZ_APP_NAME", "MOZ_APP_BASENAME"):
40 DEFINES[var] = '"%s"' % CONFIG[var]
42 JAR_MANIFESTS += ["jar.mn"]
45 BUG_COMPONENT = ("Toolkit", "Startup and Profile System")