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
This commit is contained in:
Andi-Bogdan Postelnicu 2021-08-25 10:46:17 +00:00
parent 58441a048a
commit 2fc4f70e9b
222 changed files with 438 additions and 0 deletions

View file

@ -71,3 +71,5 @@ GeneratedFile(
FINAL_LIBRARY = "xul" FINAL_LIBRARY = "xul"
include("/ipc/chromium/chromium-config.mozbuild") include("/ipc/chromium/chromium-config.mozbuild")
REQUIRES_UNIFIED_BUILD = True

View file

@ -57,3 +57,5 @@ if CONFIG["CC_TYPE"] == "clang-cl":
CXXFLAGS += ["-Wno-extra-tokens"] CXXFLAGS += ["-Wno-extra-tokens"]
include("/ipc/chromium/chromium-config.mozbuild") include("/ipc/chromium/chromium-config.mozbuild")
REQUIRES_UNIFIED_BUILD = True

View file

@ -81,3 +81,5 @@ if CONFIG["CC_TYPE"] == "clang-cl":
include("/ipc/chromium/chromium-config.mozbuild") include("/ipc/chromium/chromium-config.mozbuild")
FINAL_LIBRARY = "xul" FINAL_LIBRARY = "xul"
REQUIRES_UNIFIED_BUILD = True

View file

@ -22,3 +22,5 @@ LOCAL_INCLUDES += [
include("/ipc/chromium/chromium-config.mozbuild") include("/ipc/chromium/chromium-config.mozbuild")
FINAL_LIBRARY = "xul" FINAL_LIBRARY = "xul"
REQUIRES_UNIFIED_BUILD = True

View file

@ -54,3 +54,5 @@ DisableStlWrapping()
with Files("**"): with Files("**"):
BUG_COMPONENT = ("Firefox", "Launcher Process") BUG_COMPONENT = ("Firefox", "Launcher Process")
REQUIRES_UNIFIED_BUILD = True

View file

@ -49,3 +49,5 @@ DisableStlWrapping()
with Files("**"): with Files("**"):
BUG_COMPONENT = ("Firefox", "Launcher Process") BUG_COMPONENT = ("Firefox", "Launcher Process")
REQUIRES_UNIFIED_BUILD = True

View file

@ -77,3 +77,5 @@ FINAL_LIBRARY = "xul"
with Files("**"): with Files("**"):
BUG_COMPONENT = ("Core", "Security: CAPS") BUG_COMPONENT = ("Core", "Security: CAPS")
REQUIRES_UNIFIED_BUILD = True

View file

@ -13,3 +13,5 @@ UNIFIED_SOURCES += [
include("/ipc/chromium/chromium-config.mozbuild") include("/ipc/chromium/chromium-config.mozbuild")
FINAL_LIBRARY = "xul-gtest" FINAL_LIBRARY = "xul-gtest"
REQUIRES_UNIFIED_BUILD = True

View file

@ -45,3 +45,5 @@ if CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk":
with Files("**"): with Files("**"):
BUG_COMPONENT = ("Toolkit", "Startup and Profile System") BUG_COMPONENT = ("Toolkit", "Startup and Profile System")
REQUIRES_UNIFIED_BUILD = True

View file

@ -254,3 +254,5 @@ EXPORTS.nspr.private += [
"/nsprpub/pr/include/private/pprthred.h", "/nsprpub/pr/include/private/pprthred.h",
"/nsprpub/pr/include/private/prpriv.h", "/nsprpub/pr/include/private/prpriv.h",
] ]
REQUIRES_UNIFIED_BUILD = True

View file

@ -34,3 +34,5 @@ if CONFIG["CC_TYPE"] == "clang":
CXXFLAGS += ["-Wno-null-dereference"] CXXFLAGS += ["-Wno-null-dereference"]
FINAL_LIBRARY = "xul-gtest" FINAL_LIBRARY = "xul-gtest"
REQUIRES_UNIFIED_BUILD = True

View file

@ -56,6 +56,7 @@ UNIFIED_SOURCES = [
if CONFIG["MOZ_WIDGET_TOOLKIT"] == "cocoa": if CONFIG["MOZ_WIDGET_TOOLKIT"] == "cocoa":
UNIFIED_SOURCES += ["cocoa/CocoaGamepad.cpp"] UNIFIED_SOURCES += ["cocoa/CocoaGamepad.cpp"]
elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "windows": elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "windows":
REQUIRES_UNIFIED_BUILD = True
UNIFIED_SOURCES += ["windows/WindowsGamepad.cpp"] UNIFIED_SOURCES += ["windows/WindowsGamepad.cpp"]
elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "android": elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "android":
UNIFIED_SOURCES += ["android/AndroidGamepad.cpp"] UNIFIED_SOURCES += ["android/AndroidGamepad.cpp"]

View file

@ -12,6 +12,7 @@ UNIFIED_SOURCES += [
] ]
if CONFIG["MOZ_APPLEMEDIA"]: if CONFIG["MOZ_APPLEMEDIA"]:
REQUIRES_UNIFIED_BUILD = True
UNIFIED_SOURCES += ["TestMediaKeysEventMac.mm", "TestMediaKeysEventMediaCenter.mm"] UNIFIED_SOURCES += ["TestMediaKeysEventMac.mm", "TestMediaKeysEventMediaCenter.mm"]
include("/ipc/chromium/chromium-config.mozbuild") include("/ipc/chromium/chromium-config.mozbuild")

View file

@ -43,3 +43,5 @@ FINAL_LIBRARY = "xul"
# Add libFuzzer configuration directives # Add libFuzzer configuration directives
include("/tools/fuzzing/libfuzzer-config.mozbuild") include("/tools/fuzzing/libfuzzer-config.mozbuild")
REQUIRES_UNIFIED_BUILD = True

View file

@ -32,6 +32,7 @@ if CONFIG["MOZ_WEBRTC"]:
"android_video_capture/video_capture_android.cc", "android_video_capture/video_capture_android.cc",
] ]
elif CONFIG["OS_TARGET"] == "Darwin": elif CONFIG["OS_TARGET"] == "Darwin":
REQUIRES_UNIFIED_BUILD = True
UNIFIED_SOURCES += [ UNIFIED_SOURCES += [
"objc_video_capture/device_info.mm", "objc_video_capture/device_info.mm",
"objc_video_capture/device_info_objc.mm", "objc_video_capture/device_info_objc.mm",

View file

@ -25,6 +25,7 @@ elif CONFIG['MOZ_TSAN']:
GYP_DIRS['nICEr'].input = 'nICEr/nicer.gyp' GYP_DIRS['nICEr'].input = 'nICEr/nicer.gyp'
GYP_DIRS['nICEr'].variables = gyp_vars_copy 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['nICEr'].sandbox_vars['FINAL_LIBRARY'] = 'xul'
GYP_DIRS['nrappkit'].input = 'nrappkit/nrappkit.gyp' GYP_DIRS['nrappkit'].input = 'nrappkit/nrappkit.gyp'
GYP_DIRS['nrappkit'].variables = gyp_vars_copy GYP_DIRS['nrappkit'].variables = gyp_vars_copy

View file

@ -39,3 +39,5 @@ XPCSHELL_TESTS_MANIFESTS += ["tests/unit/xpcshell.ini"]
if CONFIG["CC_TYPE"] in ("clang", "gcc"): if CONFIG["CC_TYPE"] in ("clang", "gcc"):
CXXFLAGS += ["-Wno-error=shadow"] CXXFLAGS += ["-Wno-error=shadow"]
REQUIRES_UNIFIED_BUILD = True

View file

@ -70,3 +70,5 @@ LOCAL_INCLUDES += [
] ]
FINAL_LIBRARY = "xul" FINAL_LIBRARY = "xul"
REQUIRES_UNIFIED_BUILD = True

View file

@ -32,3 +32,5 @@ UNIFIED_SOURCES += [
] ]
FINAL_LIBRARY = "xul" FINAL_LIBRARY = "xul"
REQUIRES_UNIFIED_BUILD = True

View file

@ -74,6 +74,7 @@ if CONFIG["OS_ARCH"] == "WINNT":
] ]
if CONFIG["OS_TARGET"] == "WINNT": if CONFIG["OS_TARGET"] == "WINNT":
REQUIRES_UNIFIED_BUILD = True
EXPORTS.mozilla.dom += [ EXPORTS.mozilla.dom += [
"WinWebAuthnManager.h", "WinWebAuthnManager.h",
] ]

View file

@ -289,3 +289,5 @@ if CONFIG['MOZ_X11']:
if CONFIG['MOZ_ENABLE_CAIRO_FT']: if CONFIG['MOZ_ENABLE_CAIRO_FT']:
CFLAGS += CONFIG['CAIRO_FT_CFLAGS'] CFLAGS += CONFIG['CAIRO_FT_CFLAGS']
CXXFLAGS += CONFIG['CAIRO_FT_CFLAGS'] CXXFLAGS += CONFIG['CAIRO_FT_CFLAGS']
REQUIRES_UNIFIED_BUILD = True

View file

@ -55,6 +55,7 @@ EXPORTS += [
# Win32 is a special snowflake, for ANGLE # Win32 is a special snowflake, for ANGLE
if CONFIG["MOZ_WIDGET_TOOLKIT"] == "windows": if CONFIG["MOZ_WIDGET_TOOLKIT"] == "windows":
REQUIRES_UNIFIED_BUILD = True
EXPORTS += [ EXPORTS += [
"GLContextWGL.h", "GLContextWGL.h",
"SharedSurfaceANGLE.h", # Needs <windows.h> for `HANDLE`. "SharedSurfaceANGLE.h", # Needs <windows.h> for `HANDLE`.

View file

@ -125,3 +125,5 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android':
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows': if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
DEFINES['UNICODE'] = True DEFINES['UNICODE'] = True
REQUIRES_UNIFIED_BUILD = True

View file

@ -298,6 +298,7 @@ if CONFIG["MOZ_WAYLAND"]:
] ]
if CONFIG["MOZ_WIDGET_TOOLKIT"] == "cocoa": if CONFIG["MOZ_WIDGET_TOOLKIT"] == "cocoa":
REQUIRES_UNIFIED_BUILD = True
EXPORTS.mozilla.layers += [ EXPORTS.mozilla.layers += [
"NativeLayerCA.h", "NativeLayerCA.h",
"SurfacePoolCA.h", "SurfacePoolCA.h",

View file

@ -144,6 +144,7 @@ elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk":
] ]
elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "windows": elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "windows":
REQUIRES_UNIFIED_BUILD = True
EXPORTS += [ EXPORTS += [
"gfxDWriteFonts.h", "gfxDWriteFonts.h",
"gfxGDIFont.h", "gfxGDIFont.h",

View file

@ -72,6 +72,7 @@ if CONFIG["MOZ_WIDGET_TOOLKIT"] == "android":
] ]
if CONFIG["MOZ_ENABLE_D3D10_LAYER"]: if CONFIG["MOZ_ENABLE_D3D10_LAYER"]:
REQUIRES_UNIFIED_BUILD = True
DEFINES["MOZ_ENABLE_D3D10_LAYER"] = True DEFINES["MOZ_ENABLE_D3D10_LAYER"] = True
EXPORTS.mozilla.webrender += [ EXPORTS.mozilla.webrender += [
"DCLayerTree.h", "DCLayerTree.h",

View file

@ -63,6 +63,7 @@ elif CONFIG["OS_TARGET"] == "Linux":
"fallback/FallbackBattery.cpp", "fallback/FallbackBattery.cpp",
] ]
elif CONFIG["OS_TARGET"] == "WINNT": elif CONFIG["OS_TARGET"] == "WINNT":
REQUIRES_UNIFIED_BUILD = True
UNIFIED_SOURCES += [ UNIFIED_SOURCES += [
"fallback/FallbackScreenConfiguration.cpp", "fallback/FallbackScreenConfiguration.cpp",
"fallback/FallbackVibration.cpp", "fallback/FallbackVibration.cpp",

View file

@ -13,3 +13,5 @@ UNIFIED_SOURCES += [
] ]
FINAL_LIBRARY = "xul-gtest" FINAL_LIBRARY = "xul-gtest"
REQUIRES_UNIFIED_BUILD = True

View file

@ -37,3 +37,5 @@ if not CONFIG["JS_STANDALONE"]:
DEFINES["MOZ_HAS_MOZGLUE"] = True DEFINES["MOZ_HAS_MOZGLUE"] = True
Library("intlcomponents") Library("intlcomponents")
REQUIRES_UNIFIED_BUILD = True

View file

@ -11,3 +11,5 @@ if not (CONFIG["OS_TARGET"] == "WINNT" and CONFIG["CPU_ARCH"] == "aarch64"):
UNIFIED_SOURCES += ["TestEncoding.cpp"] UNIFIED_SOURCES += ["TestEncoding.cpp"]
FINAL_LIBRARY = "xul-gtest" FINAL_LIBRARY = "xul-gtest"
REQUIRES_UNIFIED_BUILD = True

View file

@ -23,3 +23,5 @@ if CONFIG["CC_TYPE"] in ("clang", "gcc"):
if CONFIG["COMPILE_ENVIRONMENT"]: if CONFIG["COMPILE_ENVIRONMENT"]:
CbindgenHeader("mapped_hyph.h", inputs=["/third_party/rust/mapped_hyph"]) CbindgenHeader("mapped_hyph.h", inputs=["/third_party/rust/mapped_hyph"])
REQUIRES_UNIFIED_BUILD = True

View file

@ -58,3 +58,5 @@ MOCHITEST_CHROME_MANIFESTS += ["test/mochitest/chrome.ini"]
SPHINX_TREES["/l10n"] = "docs" SPHINX_TREES["/l10n"] = "docs"
FINAL_LIBRARY = "xul" FINAL_LIBRARY = "xul"
REQUIRES_UNIFIED_BUILD = True

View file

@ -11,3 +11,5 @@ FINAL_LIBRARY = "xul"
LOCAL_INCLUDES += [ LOCAL_INCLUDES += [
"..", "..",
] ]
REQUIRES_UNIFIED_BUILD = True

View file

@ -10,3 +10,5 @@ FINAL_LIBRARY = "xul"
LOCAL_INCLUDES += [ LOCAL_INCLUDES += [
"..", "..",
] ]
REQUIRES_UNIFIED_BUILD = True

View file

@ -89,3 +89,5 @@ if CONFIG["COMPILE_ENVIRONMENT"]:
"!fluent_langneg_ffi_generated.h", "!fluent_langneg_ffi_generated.h",
"!unic_langid_ffi_generated.h", "!unic_langid_ffi_generated.h",
] ]
REQUIRES_UNIFIED_BUILD = True

View file

@ -13,3 +13,5 @@ UNIFIED_SOURCES += [
] ]
FINAL_LIBRARY = "xul-gtest" FINAL_LIBRARY = "xul-gtest"
REQUIRES_UNIFIED_BUILD = True

View file

@ -42,3 +42,5 @@ else:
] ]
FINAL_LIBRARY = "xul" FINAL_LIBRARY = "xul"
REQUIRES_UNIFIED_BUILD = True

View file

@ -32,3 +32,5 @@ FINAL_LIBRARY = "xul"
if CONFIG["CC_TYPE"] in ("clang", "gcc"): if CONFIG["CC_TYPE"] in ("clang", "gcc"):
CXXFLAGS += ["-Wno-error=shadow"] CXXFLAGS += ["-Wno-error=shadow"]
REQUIRES_UNIFIED_BUILD = True

View file

@ -36,3 +36,5 @@ GeneratedFile(
GeneratedFile("IsCombiningDiacritic.h", script="is_combining_diacritic.py", force=True) GeneratedFile("IsCombiningDiacritic.h", script="is_combining_diacritic.py", force=True)
FINAL_LIBRARY = "xul" FINAL_LIBRARY = "xul"
REQUIRES_UNIFIED_BUILD = True

View file

@ -136,3 +136,5 @@ FINAL_LIBRARY = "xul"
if CONFIG["CC_TYPE"] in ("clang", "gcc"): if CONFIG["CC_TYPE"] in ("clang", "gcc"):
CXXFLAGS += ["-Wno-error=shadow"] CXXFLAGS += ["-Wno-error=shadow"]
REQUIRES_UNIFIED_BUILD = True

View file

@ -91,3 +91,5 @@ FINAL_LIBRARY = "xul"
with Files("**"): with Files("**"):
BUG_COMPONENT = ("Core", "IPC: MSCOM") BUG_COMPONENT = ("Core", "IPC: MSCOM")
SCHEDULES.exclusive = ["windows"] SCHEDULES.exclusive = ["windows"]
REQUIRES_UNIFIED_BUILD = True

View file

@ -15,3 +15,5 @@ UNIFIED_SOURCES += [
"ActCtxResource.cpp", "ActCtxResource.cpp",
"ProcessRuntimeShared.cpp", "ProcessRuntimeShared.cpp",
] ]
REQUIRES_UNIFIED_BUILD = True

View file

@ -38,3 +38,5 @@ FORCE_STATIC_LIB = True
# This DLL may be loaded into other processes, so we need static libs for # This DLL may be loaded into other processes, so we need static libs for
# Windows 7 and Windows 8. # Windows 7 and Windows 8.
USE_STATIC_LIBS = True USE_STATIC_LIBS = True
REQUIRES_UNIFIED_BUILD = True

View file

@ -29,3 +29,5 @@ UNIFIED_SOURCES = [
"Script.cpp", "Script.cpp",
"Source.cpp", "Source.cpp",
] ]
REQUIRES_UNIFIED_BUILD = True

View file

@ -16,3 +16,5 @@ FORCE_STATIC_LIB = True
for var in ('ANSI_ARROWS', 'HAVE_TCGETATTR', 'HIDE', 'USE_DIRENT', 'SYS_UNIX', for var in ('ANSI_ARROWS', 'HAVE_TCGETATTR', 'HIDE', 'USE_DIRENT', 'SYS_UNIX',
'HAVE_STDLIB', 'UNIQUE_HISTORY'): 'HAVE_STDLIB', 'UNIQUE_HISTORY'):
DEFINES[var] = True DEFINES[var] = True
REQUIRES_UNIFIED_BUILD = True

View file

@ -82,3 +82,5 @@ SOURCES += [
if CONFIG["FUZZING_INTERFACES"] and CONFIG["LIBFUZZER"]: if CONFIG["FUZZING_INTERFACES"] and CONFIG["LIBFUZZER"]:
include("/tools/fuzzing/libfuzzer-config.mozbuild") include("/tools/fuzzing/libfuzzer-config.mozbuild")
REQUIRES_UNIFIED_BUILD = True

View file

@ -42,3 +42,5 @@ USE_LIBS += [
] ]
DEFINES["topsrcdir"] = "%s/js/src" % TOPSRCDIR DEFINES["topsrcdir"] = "%s/js/src" % TOPSRCDIR
REQUIRES_UNIFIED_BUILD = True

View file

@ -53,3 +53,5 @@ UNIFIED_SOURCES += [
SOURCES += [ SOURCES += [
"StoreBuffer.cpp", "StoreBuffer.cpp",
] ]
REQUIRES_UNIFIED_BUILD = True

View file

@ -63,3 +63,5 @@ USE_LIBS += [
DEFINES["topsrcdir"] = "%s/js/src" % TOPSRCDIR DEFINES["topsrcdir"] = "%s/js/src" % TOPSRCDIR
FINAL_TARGET_PP_FILES += ["gdb-tests-gdb.py.in"] FINAL_TARGET_PP_FILES += ["gdb-tests-gdb.py.in"]
OBJDIR_FILES.js.src.gdb += ["!/dist/bin/gdb-tests-gdb.py"] OBJDIR_FILES.js.src.gdb += ["!/dist/bin/gdb-tests-gdb.py"]
REQUIRES_UNIFIED_BUILD = True

View file

@ -43,3 +43,5 @@ if CONFIG["JS_HAS_INTL_API"]:
# coverage instrumentation in FUZZING mode. # coverage instrumentation in FUZZING mode.
if CONFIG["FUZZING_INTERFACES"] and CONFIG["LIBFUZZER"]: if CONFIG["FUZZING_INTERFACES"] and CONFIG["LIBFUZZER"]:
include("/tools/fuzzing/libfuzzer-config.mozbuild") include("/tools/fuzzing/libfuzzer-config.mozbuild")
REQUIRES_UNIFIED_BUILD = True

View file

@ -249,3 +249,5 @@ GeneratedFile(
if CONFIG["FUZZING_INTERFACES"] or CONFIG["FUZZING_JS_FUZZILLI"]: if CONFIG["FUZZING_INTERFACES"] or CONFIG["FUZZING_JS_FUZZILLI"]:
include("/tools/fuzzing/libfuzzer-config.mozbuild") include("/tools/fuzzing/libfuzzer-config.mozbuild")
REQUIRES_UNIFIED_BUILD = True

View file

@ -188,3 +188,5 @@ USE_LIBS += [
DEFINES["topsrcdir"] = "%s/js/src" % TOPSRCDIR DEFINES["topsrcdir"] = "%s/js/src" % TOPSRCDIR
OBJDIR_PP_FILES.js.src["jsapi-tests"] += ["jsapi-tests-gdb.py.in"] OBJDIR_PP_FILES.js.src["jsapi-tests"] += ["jsapi-tests-gdb.py.in"]
REQUIRES_UNIFIED_BUILD = True

View file

@ -57,3 +57,5 @@ OBJDIR_FILES.js.src += ["!/dist/bin/js%s" % CONFIG["BIN_SUFFIX"]]
# Also make the stack grow towards 0 so that if SpiderMonkey's stack limiter is buggy, overflow will likely trap. # Also make the stack grow towards 0 so that if SpiderMonkey's stack limiter is buggy, overflow will likely trap.
if CONFIG["OS_ARCH"] == "WASI": if CONFIG["OS_ARCH"] == "WASI":
LDFLAGS += ["-Wl,-z,stack-size=1048576", "-Wl,--stack-first"] LDFLAGS += ["-Wl,-z,stack-size=1048576", "-Wl,--stack-first"]
REQUIRES_UNIFIED_BUILD = True

View file

@ -61,3 +61,5 @@ include("/ipc/chromium/chromium-config.mozbuild")
if CONFIG["CC_TYPE"] in ("clang", "gcc"): if CONFIG["CC_TYPE"] in ("clang", "gcc"):
CXXFLAGS += ["-Wno-shadow"] CXXFLAGS += ["-Wno-shadow"]
REQUIRES_UNIFIED_BUILD = True

View file

@ -75,3 +75,5 @@ LOCAL_INCLUDES += [
if CONFIG["CC_TYPE"] in ("clang", "gcc"): if CONFIG["CC_TYPE"] in ("clang", "gcc"):
CXXFLAGS += ["-Wno-shadow", "-Werror=format"] CXXFLAGS += ["-Wno-shadow", "-Werror=format"]
REQUIRES_UNIFIED_BUILD = True

View file

@ -17,3 +17,5 @@ UNIFIED_SOURCES += [
] ]
FINAL_LIBRARY = "xul" FINAL_LIBRARY = "xul"
REQUIRES_UNIFIED_BUILD = True

View file

@ -33,3 +33,5 @@ LOCAL_INCLUDES += [
if CONFIG["CC_TYPE"] in ("clang", "gcc"): if CONFIG["CC_TYPE"] in ("clang", "gcc"):
CXXFLAGS += ["-Wno-shadow"] CXXFLAGS += ["-Wno-shadow"]
REQUIRES_UNIFIED_BUILD = True

View file

@ -28,3 +28,5 @@ if CONFIG["CC_TYPE"] == "clang":
CXXFLAGS += ["-Wno-null-dereference"] CXXFLAGS += ["-Wno-null-dereference"]
FINAL_LIBRARY = "xul-gtest" FINAL_LIBRARY = "xul-gtest"
REQUIRES_UNIFIED_BUILD = True

View file

@ -186,3 +186,5 @@ MOCHITEST_CHROME_MANIFESTS += ["tests/chrome/chrome.ini"]
if CONFIG["CC_TYPE"] in ("clang", "gcc"): if CONFIG["CC_TYPE"] in ("clang", "gcc"):
CXXFLAGS += ["-Wno-error=shadow"] CXXFLAGS += ["-Wno-error=shadow"]
REQUIRES_UNIFIED_BUILD = True

View file

@ -77,3 +77,5 @@ FINAL_LIBRARY = "xul"
if CONFIG["CC_TYPE"] in ("clang", "gcc"): if CONFIG["CC_TYPE"] in ("clang", "gcc"):
CXXFLAGS += ["-Wno-error=shadow"] CXXFLAGS += ["-Wno-error=shadow"]
REQUIRES_UNIFIED_BUILD = True

View file

@ -53,3 +53,5 @@ LOCAL_INCLUDES += [
if CONFIG["CC_TYPE"] in ("clang", "gcc"): if CONFIG["CC_TYPE"] in ("clang", "gcc"):
CXXFLAGS += ["-Wno-error=shadow"] CXXFLAGS += ["-Wno-error=shadow"]
REQUIRES_UNIFIED_BUILD = True

View file

@ -270,3 +270,5 @@ if CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk":
if CONFIG["CC_TYPE"] in ("clang", "gcc"): if CONFIG["CC_TYPE"] in ("clang", "gcc"):
CXXFLAGS += ["-Wno-error=shadow"] CXXFLAGS += ["-Wno-error=shadow"]
REQUIRES_UNIFIED_BUILD = True

View file

@ -38,3 +38,5 @@ LOCAL_INCLUDES += [
"../style", "../style",
"/dom/base", "/dom/base",
] ]
REQUIRES_UNIFIED_BUILD = True

View file

@ -63,3 +63,5 @@ RESOURCE_FILES.fonts += [
if CONFIG["CC_TYPE"] in ("clang", "gcc"): if CONFIG["CC_TYPE"] in ("clang", "gcc"):
CXXFLAGS += ["-Wno-error=shadow"] CXXFLAGS += ["-Wno-error=shadow"]
REQUIRES_UNIFIED_BUILD = True

View file

@ -73,3 +73,5 @@ FINAL_LIBRARY = "xul"
if CONFIG["CC_TYPE"] in ("clang", "gcc"): if CONFIG["CC_TYPE"] in ("clang", "gcc"):
CXXFLAGS += ["-Wno-error=shadow"] CXXFLAGS += ["-Wno-error=shadow"]
REQUIRES_UNIFIED_BUILD = True

View file

@ -38,3 +38,5 @@ LOCAL_INCLUDES += [
"/gfx/2d/", "/gfx/2d/",
"/netwerk/base/", "/netwerk/base/",
] ]
REQUIRES_UNIFIED_BUILD = True

View file

@ -322,3 +322,5 @@ if CONFIG["COMPILE_ENVIRONMENT"]:
CONFIGURE_SUBST_FILES += [ CONFIGURE_SUBST_FILES += [
"extra-bindgen-flags", "extra-bindgen-flags",
] ]
REQUIRES_UNIFIED_BUILD = True

View file

@ -22,3 +22,5 @@ GeneratedFile(
) )
FINAL_LIBRARY = "xul-gtest" FINAL_LIBRARY = "xul-gtest"
REQUIRES_UNIFIED_BUILD = True

View file

@ -94,3 +94,5 @@ LOCAL_INCLUDES += [
RESOURCE_FILES += [ RESOURCE_FILES += [
"svg.css", "svg.css",
] ]
REQUIRES_UNIFIED_BUILD = True

View file

@ -54,3 +54,5 @@ DEFINES["DEBUG_TABLE_STRATEGY_off"] = True
if CONFIG["CC_TYPE"] in ("clang", "gcc"): if CONFIG["CC_TYPE"] in ("clang", "gcc"):
CXXFLAGS += ["-Wno-error=shadow"] CXXFLAGS += ["-Wno-error=shadow"]
REQUIRES_UNIFIED_BUILD = True

View file

@ -22,3 +22,5 @@ XPCOM_MANIFESTS += [
include("/ipc/chromium/chromium-config.mozbuild") include("/ipc/chromium/chromium-config.mozbuild")
FINAL_LIBRARY = "xul" FINAL_LIBRARY = "xul"
REQUIRES_UNIFIED_BUILD = True

View file

@ -76,3 +76,5 @@ LOCAL_INCLUDES += [
if CONFIG["CC_TYPE"] in ("clang", "gcc"): if CONFIG["CC_TYPE"] in ("clang", "gcc"):
CXXFLAGS += ["-Wno-error=shadow"] CXXFLAGS += ["-Wno-error=shadow"]
REQUIRES_UNIFIED_BUILD = True

View file

@ -47,3 +47,5 @@ LOCAL_INCLUDES += [
if CONFIG["CC_TYPE"] in ("clang", "gcc"): if CONFIG["CC_TYPE"] in ("clang", "gcc"):
CXXFLAGS += ["-Wno-error=shadow"] CXXFLAGS += ["-Wno-error=shadow"]
REQUIRES_UNIFIED_BUILD = True

View file

@ -74,3 +74,5 @@ elif CONFIG["CC_TYPE"] == "clang-cl":
"-FI", "-FI",
"stdio.h", # for sprintf() prototype "stdio.h", # for sprintf() prototype
] ]
REQUIRES_UNIFIED_BUILD = True

View file

@ -73,3 +73,5 @@ if CONFIG['CC_TYPE'] in ('clang', 'gcc'):
CXXFLAGS += ['-Wno-error=shadow'] CXXFLAGS += ['-Wno-error=shadow']
FINAL_LIBRARY = 'xul-gtest' FINAL_LIBRARY = 'xul-gtest'
REQUIRES_UNIFIED_BUILD = True

View file

@ -22,3 +22,5 @@ FINAL_LIBRARY = 'gkmedias'
# Add libFuzzer configuration directives # Add libFuzzer configuration directives
include('/tools/fuzzing/libfuzzer-config.mozbuild') include('/tools/fuzzing/libfuzzer-config.mozbuild')
REQUIRES_UNIFIED_BUILD = True

View file

@ -144,3 +144,5 @@ if CONFIG['CC_TYPE'] in ('clang', 'gcc'):
# Add libFuzzer configuration directives # Add libFuzzer configuration directives
include('/tools/fuzzing/libfuzzer-config.mozbuild') include('/tools/fuzzing/libfuzzer-config.mozbuild')
REQUIRES_UNIFIED_BUILD = True

View file

@ -76,3 +76,5 @@ AllowCompilerWarnings()
if CONFIG['CC_TYPE'] in ('clang', 'gcc'): if CONFIG['CC_TYPE'] in ('clang', 'gcc'):
CFLAGS += ['-std=gnu89'] CFLAGS += ['-std=gnu89']
REQUIRES_UNIFIED_BUILD = True

View file

@ -51,3 +51,5 @@ FINAL_LIBRARY = 'lgpllibs'
# Use abort() instead of exception in SoundTouch. # Use abort() instead of exception in SoundTouch.
DEFINES['ST_NO_EXCEPTION_HANDLING'] = 1 DEFINES['ST_NO_EXCEPTION_HANDLING'] = 1
REQUIRES_UNIFIED_BUILD = True

View file

@ -113,3 +113,5 @@ if CONFIG['GNU_AS']:
ASFLAGS += [ ASFLAGS += [
'-no-integrated-as', '-no-integrated-as',
] ]
REQUIRES_UNIFIED_BUILD = True

View file

@ -59,3 +59,5 @@ if CONFIG['CC_TYPE'] in ('clang', 'gcc'):
# Add libFuzzer configuration directives # Add libFuzzer configuration directives
#include('/tools/fuzzing/libfuzzer-config.mozbuild') #include('/tools/fuzzing/libfuzzer-config.mozbuild')
REQUIRES_UNIFIED_BUILD = True

View file

@ -57,3 +57,5 @@ DisableStlWrapping()
if CONFIG["CC_TYPE"] == "clang-cl": if CONFIG["CC_TYPE"] == "clang-cl":
AllowCompilerWarnings() # workaround for bug 1090497 AllowCompilerWarnings() # workaround for bug 1090497
REQUIRES_UNIFIED_BUILD = True

View file

@ -61,3 +61,5 @@ LOCAL_INCLUDES += [
] ]
DIST_INSTALL = True DIST_INSTALL = True
REQUIRES_UNIFIED_BUILD = True

View file

@ -36,3 +36,5 @@ UNIFIED_SOURCES += [
DisableStlWrapping() DisableStlWrapping()
include("/mozglue/build/replace_malloc.mozbuild") include("/mozglue/build/replace_malloc.mozbuild")
REQUIRES_UNIFIED_BUILD = True

View file

@ -198,3 +198,5 @@ if CONFIG["MOZ_NEEDS_LIBATOMIC"]:
OS_LIBS += ["atomic"] OS_LIBS += ["atomic"]
DEFINES["LZ4LIB_VISIBILITY"] = "" DEFINES["LZ4LIB_VISIBILITY"] = ""
REQUIRES_UNIFIED_BUILD = True

View file

@ -30,3 +30,5 @@ if not CONFIG["MOZILLA_OFFICIAL"]:
# ] # ]
FINAL_LIBRARY = "xul-gtest" FINAL_LIBRARY = "xul-gtest"
REQUIRES_UNIFIED_BUILD = True

View file

@ -32,3 +32,5 @@ AllowCompilerWarnings()
CFLAGS += ['-DBROTLI_BUILD_PORTABLE'] CFLAGS += ['-DBROTLI_BUILD_PORTABLE']
Library('brotli') Library('brotli')
REQUIRES_UNIFIED_BUILD = True

View file

@ -45,3 +45,5 @@ XPCOM_MANIFESTS += [
include("/ipc/chromium/chromium-config.mozbuild") include("/ipc/chromium/chromium-config.mozbuild")
FINAL_LIBRARY = "xul" FINAL_LIBRARY = "xul"
REQUIRES_UNIFIED_BUILD = True

View file

@ -25,3 +25,5 @@ XPCOM_MANIFESTS += [
] ]
FINAL_LIBRARY = "xul" FINAL_LIBRARY = "xul"
REQUIRES_UNIFIED_BUILD = True

View file

@ -28,3 +28,5 @@ c11_flags = ["-std=gnu11"]
if CONFIG["CC_TYPE"] == "clang-cl": if CONFIG["CC_TYPE"] == "clang-cl":
c11_flags.insert(0, "-Xclang") c11_flags.insert(0, "-Xclang")
CFLAGS += c11_flags CFLAGS += c11_flags
REQUIRES_UNIFIED_BUILD = True

View file

@ -37,3 +37,5 @@ if CONFIG["MOZ_BUILD_APP"] != "tools/update-packaging":
if CONFIG["OS_ARCH"] == "WINNT": if CONFIG["OS_ARCH"] == "WINNT":
USE_STATIC_LIBS = True USE_STATIC_LIBS = True
REQUIRES_UNIFIED_BUILD = True

View file

@ -47,3 +47,5 @@ c11_flags = ["-std=gnu11"]
if CONFIG["CC_TYPE"] == "clang-cl": if CONFIG["CC_TYPE"] == "clang-cl":
c11_flags.insert(0, "-Xclang") c11_flags.insert(0, "-Xclang")
CFLAGS += c11_flags CFLAGS += c11_flags
REQUIRES_UNIFIED_BUILD = True

View file

@ -172,3 +172,5 @@ else:
if CONFIG["MOZ_BACKGROUNDTASKS"]: if CONFIG["MOZ_BACKGROUNDTASKS"]:
DEFINES["MOZ_BACKGROUNDTASKS"] = True DEFINES["MOZ_BACKGROUNDTASKS"] = True
REQUIRES_UNIFIED_BUILD = True

View file

@ -26,3 +26,5 @@ if CONFIG["CC_TYPE"] == "clang":
CXXFLAGS += ["-Wno-null-dereference"] CXXFLAGS += ["-Wno-null-dereference"]
FINAL_LIBRARY = "xul-gtest" FINAL_LIBRARY = "xul-gtest"
REQUIRES_UNIFIED_BUILD = True

View file

@ -25,3 +25,5 @@ EXPORTS.woff2 += [
AllowCompilerWarnings() AllowCompilerWarnings()
Library('woff2') Library('woff2')
REQUIRES_UNIFIED_BUILD = True

View file

@ -37,3 +37,5 @@ if CONFIG['OS_ARCH'] == 'WINNT':
USE_STATIC_LIBS = True USE_STATIC_LIBS = True
Library('xz-embedded') Library('xz-embedded')
REQUIRES_UNIFIED_BUILD = True

View file

@ -21,3 +21,5 @@ if CONFIG["CC_TYPE"] in ("clang", "gcc"):
CXXFLAGS += ["-Wno-error=shadow"] CXXFLAGS += ["-Wno-error=shadow"]
ASFLAGS += ["-I", SRCDIR] ASFLAGS += ["-I", SRCDIR]
REQUIRES_UNIFIED_BUILD = True

View file

@ -323,3 +323,5 @@ if CONFIG["MOZ_WIDGET_TOOLKIT"] == "cocoa":
if CONFIG["CC_TYPE"] in ("clang", "gcc"): if CONFIG["CC_TYPE"] in ("clang", "gcc"):
CXXFLAGS += ["-Wno-error=shadow"] CXXFLAGS += ["-Wno-error=shadow"]
REQUIRES_UNIFIED_BUILD = True

View file

@ -24,3 +24,5 @@ LOCAL_INCLUDES += [
if CONFIG["CC_TYPE"] in ("clang", "gcc"): if CONFIG["CC_TYPE"] in ("clang", "gcc"):
CXXFLAGS += ["-Wno-error=shadow"] CXXFLAGS += ["-Wno-error=shadow"]
REQUIRES_UNIFIED_BUILD = True

View file

@ -74,3 +74,5 @@ FINAL_LIBRARY = "xul"
if CONFIG["CC_TYPE"] in ("clang", "gcc"): if CONFIG["CC_TYPE"] in ("clang", "gcc"):
CXXFLAGS += ["-Wno-error=shadow"] CXXFLAGS += ["-Wno-error=shadow"]
REQUIRES_UNIFIED_BUILD = True

Some files were not shown because too many files have changed in this diff Show more