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"
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"]
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")
FINAL_LIBRARY = "xul"
REQUIRES_UNIFIED_BUILD = True

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -45,3 +45,5 @@ if CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk":
with Files("**"):
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/prpriv.h",
]
REQUIRES_UNIFIED_BUILD = True

View File

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

View File

@ -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"]

View File

@ -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")

View File

@ -43,3 +43,5 @@ FINAL_LIBRARY = "xul"
# Add libFuzzer configuration directives
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",
]
elif CONFIG["OS_TARGET"] == "Darwin":
REQUIRES_UNIFIED_BUILD = True
UNIFIED_SOURCES += [
"objc_video_capture/device_info.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'].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

View File

@ -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

View File

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

View File

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

View File

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

View File

@ -289,3 +289,5 @@ if CONFIG['MOZ_X11']:
if CONFIG['MOZ_ENABLE_CAIRO_FT']:
CFLAGS += 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
if CONFIG["MOZ_WIDGET_TOOLKIT"] == "windows":
REQUIRES_UNIFIED_BUILD = True
EXPORTS += [
"GLContextWGL.h",
"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':
DEFINES['UNICODE'] = True
REQUIRES_UNIFIED_BUILD = True

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -37,3 +37,5 @@ if not CONFIG["JS_STANDALONE"]:
DEFINES["MOZ_HAS_MOZGLUE"] = True
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"]
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"]:
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"
FINAL_LIBRARY = "xul"
REQUIRES_UNIFIED_BUILD = True

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -32,3 +32,5 @@ FINAL_LIBRARY = "xul"
if CONFIG["CC_TYPE"] in ("clang", "gcc"):
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)
FINAL_LIBRARY = "xul"
REQUIRES_UNIFIED_BUILD = True

View File

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

View File

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

View File

@ -15,3 +15,5 @@ UNIFIED_SOURCES += [
"ActCtxResource.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
# Windows 7 and Windows 8.
USE_STATIC_LIBS = True
REQUIRES_UNIFIED_BUILD = True

View File

@ -29,3 +29,5 @@ UNIFIED_SOURCES = [
"Script.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',
'HAVE_STDLIB', 'UNIQUE_HISTORY'):
DEFINES[var] = True
REQUIRES_UNIFIED_BUILD = True

View File

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

View File

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

View File

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

View File

@ -63,3 +63,5 @@ USE_LIBS += [
DEFINES["topsrcdir"] = "%s/js/src" % TOPSRCDIR
FINAL_TARGET_PP_FILES += ["gdb-tests-gdb.py.in"]
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.
if CONFIG["FUZZING_INTERFACES"] and CONFIG["LIBFUZZER"]:
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"]:
include("/tools/fuzzing/libfuzzer-config.mozbuild")
REQUIRES_UNIFIED_BUILD = True

View File

@ -188,3 +188,5 @@ USE_LIBS += [
DEFINES["topsrcdir"] = "%s/js/src" % TOPSRCDIR
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.
if CONFIG["OS_ARCH"] == "WASI":
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"):
CXXFLAGS += ["-Wno-shadow"]
REQUIRES_UNIFIED_BUILD = True

View File

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

View File

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

View File

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

View File

@ -28,3 +28,5 @@ if CONFIG["CC_TYPE"] == "clang":
CXXFLAGS += ["-Wno-null-dereference"]
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"):
CXXFLAGS += ["-Wno-error=shadow"]
REQUIRES_UNIFIED_BUILD = True

View File

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

View File

@ -53,3 +53,5 @@ LOCAL_INCLUDES += [
if CONFIG["CC_TYPE"] in ("clang", "gcc"):
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"):
CXXFLAGS += ["-Wno-error=shadow"]
REQUIRES_UNIFIED_BUILD = True

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -94,3 +94,5 @@ LOCAL_INCLUDES += [
RESOURCE_FILES += [
"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"):
CXXFLAGS += ["-Wno-error=shadow"]
REQUIRES_UNIFIED_BUILD = True

View File

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

View File

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

View File

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

View File

@ -74,3 +74,5 @@ elif CONFIG["CC_TYPE"] == "clang-cl":
"-FI",
"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']
FINAL_LIBRARY = 'xul-gtest'
REQUIRES_UNIFIED_BUILD = True

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -28,3 +28,5 @@ c11_flags = ["-std=gnu11"]
if CONFIG["CC_TYPE"] == "clang-cl":
c11_flags.insert(0, "-Xclang")
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":
USE_STATIC_LIBS = True
REQUIRES_UNIFIED_BUILD = True

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -21,3 +21,5 @@ if CONFIG["CC_TYPE"] in ("clang", "gcc"):
CXXFLAGS += ["-Wno-error=shadow"]
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"):
CXXFLAGS += ["-Wno-error=shadow"]
REQUIRES_UNIFIED_BUILD = True

View File

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

View File

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

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