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/chrome.toml"]
9 XPCSHELL_TESTS_MANIFESTS += ["test/xpcshell/xpcshell.toml"]
11 if CONFIG["ENABLE_TESTS"]:
12 DIRS += ["test/gtest"]
15 "nsIProfileMigrator.idl",
16 "nsIProfileUnlocker.idl",
17 "nsIToolkitProfile.idl",
18 "nsIToolkitProfileService.idl",
21 XPIDL_MODULE = "toolkitprofile"
23 EXPORTS += ["nsProfileLock.h"]
25 UNIFIED_SOURCES += ["nsProfileLock.cpp"]
27 if CONFIG["OS_ARCH"] == "WINNT":
28 UNIFIED_SOURCES += ["ProfileUnlockerWin.cpp"]
30 if CONFIG["OS_TARGET"] == "Android":
31 UNIFIED_SOURCES += ["ProfileUnlockerAndroid.cpp"]
33 UNIFIED_SOURCES += ["nsToolkitProfileService.cpp"]
39 if CONFIG["MOZ_HAS_REMOTE"]:
40 LOCAL_INCLUDES += ["../components/remote"]
44 for var in ("MOZ_APP_NAME", "MOZ_APP_BASENAME"):
45 DEFINES[var] = '"%s"' % CONFIG[var]
47 for var in ("MOZ_CREATE_LEGACY_PROFILE",):
51 JAR_MANIFESTS += ["jar.mn"]
54 BUG_COMPONENT = ("Toolkit", "Startup and Profile System")