mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 11:26:09 +00:00
2fc4f70e9b
Automatically generated path that adds flag `REQUIRES_UNIFIED_BUILD = True` to `moz.build` when the module governed by the build config file is not buildable outside on the unified environment. This needs to be done in order to have a hybrid build system that adds the possibility of combing unified build components with ones that are built outside of the unified eco system. Differential Revision: https://phabricator.services.mozilla.com/D122345
40 lines
872 B
Python
40 lines
872 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 = ("Core", "XPCOM")
|
|
|
|
TEST_DIRS += ["test"]
|
|
BROWSER_CHROME_MANIFESTS += ["test/browser/browser.ini"]
|
|
|
|
EXPORTS.mozilla.scache += [
|
|
"StartupCache.h",
|
|
"StartupCacheUtils.h",
|
|
]
|
|
|
|
UNIFIED_SOURCES += [
|
|
"StartupCache.cpp",
|
|
"StartupCacheInfo.cpp",
|
|
"StartupCacheUtils.cpp",
|
|
]
|
|
|
|
XPCOM_MANIFESTS += [
|
|
"components.conf",
|
|
]
|
|
|
|
XPIDL_MODULE = "startupcache"
|
|
|
|
XPIDL_SOURCES += [
|
|
"nsIStartupCacheInfo.idl",
|
|
]
|
|
|
|
if CONFIG["MOZ_BACKGROUNDTASKS"]:
|
|
DEFINES["MOZ_BACKGROUNDTASKS"] = True
|
|
|
|
FINAL_LIBRARY = "xul"
|
|
|
|
REQUIRES_UNIFIED_BUILD = True
|