Skip to content
Snippets Groups Projects
Commit 2fc4f70e authored by Andi-Bogdan Postelnicu's avatar Andi-Bogdan Postelnicu
Browse files

Bug 1725145 - Preparation for the hybrid build env....

Bug 1725145 - Preparation for the hybrid build env. r=necko-reviewers,firefox-build-system-reviewers,valentin,glandium

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
parent 58441a04
No related branches found
No related tags found
No related merge requests found
Showing
with 35 additions and 0 deletions
......@@ -71,3 +71,5 @@ GeneratedFile(
FINAL_LIBRARY = "xul"
include("/ipc/chromium/chromium-config.mozbuild")
REQUIRES_UNIFIED_BUILD = True
......@@ -57,3 +57,5 @@ if CONFIG["CC_TYPE"] == "clang-cl":
CXXFLAGS += ["-Wno-extra-tokens"]
include("/ipc/chromium/chromium-config.mozbuild")
REQUIRES_UNIFIED_BUILD = True
......@@ -81,3 +81,5 @@ if CONFIG["CC_TYPE"] == "clang-cl":
include("/ipc/chromium/chromium-config.mozbuild")
FINAL_LIBRARY = "xul"
REQUIRES_UNIFIED_BUILD = True
......@@ -22,3 +22,5 @@ LOCAL_INCLUDES += [
include("/ipc/chromium/chromium-config.mozbuild")
FINAL_LIBRARY = "xul"
REQUIRES_UNIFIED_BUILD = True
......@@ -54,3 +54,5 @@ DisableStlWrapping()
with Files("**"):
BUG_COMPONENT = ("Firefox", "Launcher Process")
REQUIRES_UNIFIED_BUILD = True
......@@ -49,3 +49,5 @@ DisableStlWrapping()
with Files("**"):
BUG_COMPONENT = ("Firefox", "Launcher Process")
REQUIRES_UNIFIED_BUILD = True
......@@ -77,3 +77,5 @@ FINAL_LIBRARY = "xul"
with Files("**"):
BUG_COMPONENT = ("Core", "Security: CAPS")
REQUIRES_UNIFIED_BUILD = True
......@@ -13,3 +13,5 @@ UNIFIED_SOURCES += [
include("/ipc/chromium/chromium-config.mozbuild")
FINAL_LIBRARY = "xul-gtest"
REQUIRES_UNIFIED_BUILD = True
......@@ -45,3 +45,5 @@ if CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk":
with Files("**"):
BUG_COMPONENT = ("Toolkit", "Startup and Profile System")
REQUIRES_UNIFIED_BUILD = True
......@@ -254,3 +254,5 @@ EXPORTS.nspr.private += [
"/nsprpub/pr/include/private/pprthred.h",
"/nsprpub/pr/include/private/prpriv.h",
]
REQUIRES_UNIFIED_BUILD = True
......@@ -34,3 +34,5 @@ if CONFIG["CC_TYPE"] == "clang":
CXXFLAGS += ["-Wno-null-dereference"]
FINAL_LIBRARY = "xul-gtest"
REQUIRES_UNIFIED_BUILD = True
......@@ -56,6 +56,7 @@ UNIFIED_SOURCES = [
if CONFIG["MOZ_WIDGET_TOOLKIT"] == "cocoa":
UNIFIED_SOURCES += ["cocoa/CocoaGamepad.cpp"]
elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "windows":
REQUIRES_UNIFIED_BUILD = True
UNIFIED_SOURCES += ["windows/WindowsGamepad.cpp"]
elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "android":
UNIFIED_SOURCES += ["android/AndroidGamepad.cpp"]
......
......@@ -12,6 +12,7 @@ UNIFIED_SOURCES += [
]
if CONFIG["MOZ_APPLEMEDIA"]:
REQUIRES_UNIFIED_BUILD = True
UNIFIED_SOURCES += ["TestMediaKeysEventMac.mm", "TestMediaKeysEventMediaCenter.mm"]
include("/ipc/chromium/chromium-config.mozbuild")
......
......@@ -43,3 +43,5 @@ FINAL_LIBRARY = "xul"
# Add libFuzzer configuration directives
include("/tools/fuzzing/libfuzzer-config.mozbuild")
REQUIRES_UNIFIED_BUILD = True
......@@ -32,6 +32,7 @@ if CONFIG["MOZ_WEBRTC"]:
"android_video_capture/video_capture_android.cc",
]
elif CONFIG["OS_TARGET"] == "Darwin":
REQUIRES_UNIFIED_BUILD = True
UNIFIED_SOURCES += [
"objc_video_capture/device_info.mm",
"objc_video_capture/device_info_objc.mm",
......
......@@ -25,6 +25,7 @@ elif CONFIG['MOZ_TSAN']:
GYP_DIRS['nICEr'].input = 'nICEr/nicer.gyp'
GYP_DIRS['nICEr'].variables = gyp_vars_copy
GYP_DIRS['nICEr'].sandbox_vars['REQUIRES_UNIFIED_BUILD'] = True
GYP_DIRS['nICEr'].sandbox_vars['FINAL_LIBRARY'] = 'xul'
GYP_DIRS['nrappkit'].input = 'nrappkit/nrappkit.gyp'
GYP_DIRS['nrappkit'].variables = gyp_vars_copy
......
......@@ -39,3 +39,5 @@ XPCSHELL_TESTS_MANIFESTS += ["tests/unit/xpcshell.ini"]
if CONFIG["CC_TYPE"] in ("clang", "gcc"):
CXXFLAGS += ["-Wno-error=shadow"]
REQUIRES_UNIFIED_BUILD = True
......@@ -70,3 +70,5 @@ LOCAL_INCLUDES += [
]
FINAL_LIBRARY = "xul"
REQUIRES_UNIFIED_BUILD = True
......@@ -32,3 +32,5 @@ UNIFIED_SOURCES += [
]
FINAL_LIBRARY = "xul"
REQUIRES_UNIFIED_BUILD = True
......@@ -74,6 +74,7 @@ if CONFIG["OS_ARCH"] == "WINNT":
]
if CONFIG["OS_TARGET"] == "WINNT":
REQUIRES_UNIFIED_BUILD = True
EXPORTS.mozilla.dom += [
"WinWebAuthnManager.h",
]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment