2016-07-14 19:16:42 +03:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 01:19:09 +04:00
|
|
|
# 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/.
|
|
|
|
|
2014-02-07 01:00:20 +04:00
|
|
|
MOCHITEST_CHROME_MANIFESTS += ["test/chrome.ini"]
|
2013-03-12 21:17:46 +04:00
|
|
|
|
2019-01-14 20:27:34 +03:00
|
|
|
XPCSHELL_TESTS_MANIFESTS += ["xpcshell/xpcshell.ini"]
|
|
|
|
|
2016-09-16 18:31:14 +03:00
|
|
|
if CONFIG["ENABLE_TESTS"]:
|
|
|
|
DIRS += ["gtest"]
|
|
|
|
|
2013-03-12 21:17:46 +04:00
|
|
|
XPIDL_SOURCES += [
|
|
|
|
"nsIProfileMigrator.idl",
|
2015-06-12 02:32:30 +03:00
|
|
|
"nsIProfileUnlocker.idl",
|
2013-03-12 21:17:46 +04:00
|
|
|
"nsIToolkitProfile.idl",
|
|
|
|
"nsIToolkitProfileService.idl",
|
|
|
|
]
|
|
|
|
|
2013-03-12 09:00:00 +04:00
|
|
|
XPIDL_MODULE = "toolkitprofile"
|
|
|
|
|
2015-05-15 03:49:20 +03:00
|
|
|
UNIFIED_SOURCES += ["nsProfileLock.cpp"]
|
2013-10-24 03:00:23 +04:00
|
|
|
|
2014-08-21 02:47:11 +04:00
|
|
|
if CONFIG["OS_ARCH"] == "WINNT":
|
2015-06-12 02:26:01 +03:00
|
|
|
UNIFIED_SOURCES += ["ProfileUnlockerWin.cpp"]
|
2014-08-21 02:47:11 +04:00
|
|
|
|
2021-03-15 20:04:41 +03:00
|
|
|
if CONFIG["OS_TARGET"] == "Android":
|
|
|
|
UNIFIED_SOURCES += ["ProfileUnlockerAndroid.cpp"]
|
|
|
|
|
2013-10-24 03:00:23 +04:00
|
|
|
UNIFIED_SOURCES += ["nsToolkitProfileService.cpp"]
|
2013-04-24 01:54:15 +04:00
|
|
|
|
2013-09-26 00:39:06 +04:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
"../xre",
|
|
|
|
]
|
2013-11-19 06:47:14 +04:00
|
|
|
|
2014-07-23 03:37:51 +04:00
|
|
|
FINAL_LIBRARY = "xul"
|
2013-12-10 11:18:11 +04:00
|
|
|
|
2021-10-25 19:07:08 +03:00
|
|
|
for var in ("MOZ_APP_NAME", "MOZ_APP_BASENAME"):
|
|
|
|
DEFINES[var] = '"%s"' % CONFIG[var]
|
2021-08-27 21:51:41 +03:00
|
|
|
|
2014-02-07 01:00:20 +04:00
|
|
|
JAR_MANIFESTS += ["jar.mn"]
|
2015-03-15 21:36:24 +03:00
|
|
|
|
|
|
|
with Files("**"):
|
|
|
|
BUG_COMPONENT = ("Toolkit", "Startup and Profile System")
|