зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1278700 - Skip checks and build steps causing artifact builds to fail in automation. r=mshal
MozReview-Commit-ID: 6r1qiFC96hz
This commit is contained in:
Родитель
4821b30b36
Коммит
d4291f218b
|
@ -15,13 +15,13 @@ if CONFIG['ENABLE_TESTS']:
|
|||
|
||||
NO_PGO = True
|
||||
|
||||
if CONFIG['WIN32_REDIST_DIR']:
|
||||
if CONFIG['WIN32_REDIST_DIR'] and CONFIG['COMPILE_ENVIRONMENT']:
|
||||
for f in ['MSVC_C_RUNTIME_DLL', 'MSVC_CXX_RUNTIME_DLL']:
|
||||
FINAL_TARGET_FILES += [
|
||||
'%%%s/%s' % (CONFIG['WIN32_REDIST_DIR'], CONFIG[f])
|
||||
]
|
||||
|
||||
if CONFIG['WIN_UCRT_REDIST_DIR']:
|
||||
if CONFIG['WIN_UCRT_REDIST_DIR'] and CONFIG['COMPILE_ENVIRONMENT']:
|
||||
for f in ['api-ms-win-*.dll', 'ucrtbase.dll']:
|
||||
FINAL_TARGET_FILES += [
|
||||
'%%%s/%s' % (CONFIG['WIN_UCRT_REDIST_DIR'], f)
|
||||
|
|
|
@ -1531,7 +1531,7 @@ case "$target" in
|
|||
|
||||
case "$target" in
|
||||
i*86-*)
|
||||
if test "$HAVE_64BIT_BUILD"; then
|
||||
if test "$HAVE_64BIT_BUILD" -a -n "$COMPILE_ENVIRONMENT"; then
|
||||
AC_MSG_ERROR([You are targeting i386 but using the 64-bit compiler.])
|
||||
fi
|
||||
|
||||
|
@ -1547,7 +1547,7 @@ case "$target" in
|
|||
AC_DEFINE(_X86_)
|
||||
;;
|
||||
x86_64-*)
|
||||
if test -z "$HAVE_64BIT_BUILD"; then
|
||||
if test -z "$HAVE_64BIT_BUILD" -a -n "$COMPILE_ENVIRONMENT"; then
|
||||
AC_MSG_ERROR([You are targeting 64-bit but using the 32-bit compiler.])
|
||||
fi
|
||||
if test -n "$_WIN32_MSVC"; then
|
||||
|
@ -4382,7 +4382,7 @@ if test -n "$MOZ_CRASHREPORTER"; then
|
|||
fi
|
||||
|
||||
if test "$OS_ARCH" = "WINNT"; then
|
||||
if test -z "$HAVE_64BIT_BUILD"; then
|
||||
if test -z "$HAVE_64BIT_BUILD" -a -n "$COMPILE_ENVIRONMENT"; then
|
||||
MOZ_CRASHREPORTER_INJECTOR=1
|
||||
AC_DEFINE(MOZ_CRASHREPORTER_INJECTOR)
|
||||
fi
|
||||
|
|
Загрузка…
Ссылка в новой задаче