Bug 1412057 - Do not attempt to enable the clang plugin in mozconfigs during artifact builds on try. r=nalexander

MozReview-Commit-ID: HSEdJeYbCeC

--HG--
extra : rebase_source : d41c96c0a3e4427e17cf478fcfafe1a5d4b178cf
This commit is contained in:
Chris Manchester 2017-10-26 13:04:54 -07:00
Родитель 93903f0306
Коммит 9cc53d37d9
2 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -46,9 +46,10 @@ export HOST_LDFLAGS="-g"
ac_add_options --target=x86_64-apple-darwin
ac_add_options --with-macos-private-frameworks=$CROSS_PRIVATE_FRAMEWORKS
if [ "x$MOZ_PKG_SPECIAL" != "xasan" ]; then
if [ "x$MOZ_PKG_SPECIAL" != "xasan" -a -z "$MOZ_AUTOMATION_ARTIFACT_BUILDS" ]; then
# Enable static analysis checks by default on OSX cross builds.
# Exception is ASan, where this breaks.
# The option is not valid on artifact builds, so don't add it there either.
ac_add_options --enable-clang-plugin
fi

Просмотреть файл

@ -4,3 +4,4 @@
MOZ_AUTOMATION_BUILD_SYMBOLS=0
MOZ_AUTOMATION_L10N_CHECK=0
MOZ_AUTOMATION_PACKAGE_GENERATED_SOURCES=0
MOZ_AUTOMATION_ARTIFACT_BUILDS=1