Bug 1933479 - Add tab close button on hover to vertical tabs when sidebar is collapse...
[gecko.git] / toolkit / profile / moz.build
blobd6ef149cfd7eb5853ccdafeb4605421e5bb62e48
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"]
14 XPIDL_SOURCES += [
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"]
35 LOCAL_INCLUDES += [
36     "../xre",
39 if CONFIG["MOZ_HAS_REMOTE"]:
40     LOCAL_INCLUDES += ["../components/remote"]
42 FINAL_LIBRARY = "xul"
44 for var in ("MOZ_APP_NAME", "MOZ_APP_BASENAME"):
45     DEFINES[var] = '"%s"' % CONFIG[var]
47 for var in ("MOZ_CREATE_LEGACY_PROFILE",):
48     if CONFIG[var]:
49         DEFINES[var] = True
51 JAR_MANIFESTS += ["jar.mn"]
53 with Files("**"):
54     BUG_COMPONENT = ("Toolkit", "Startup and Profile System")