зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1659806 - Set -fcrash-diagnostics-dir on Android CI builds r=geckoview-reviewers,froydnj,agi
This will make clang put reproducers for compiler crashes into the artifacts upload directory. We've been doing this on other platforms for a while but it seems Android was left out. Differential Revision: https://phabricator.services.mozilla.com/D87482
This commit is contained in:
Родитель
959b5eaaee
Коммит
69c3b9a896
|
@ -28,6 +28,8 @@ if [ -z "$NO_NDK" -a -z "$USE_ARTIFACT" ]; then
|
|||
# We use our own clang instead of the NDK's clang.
|
||||
CC="$MOZ_FETCHES_DIR/clang/bin/clang"
|
||||
CXX="$MOZ_FETCHES_DIR/clang/bin/clang++"
|
||||
CFLAGS="$CFLAGS -fcrash-diagnostics-dir=${UPLOAD_PATH}"
|
||||
CXXFLAGS="$CXXFLAGS -fcrash-diagnostics-dir=${UPLOAD_PATH}"
|
||||
ac_add_options --with-android-ndk="$MOZ_FETCHES_DIR/android-ndk"
|
||||
# Make sure that any host binaries we build use whatever libraries clang
|
||||
# linked against, rather than what's on the system.
|
||||
|
|
Загрузка…
Ссылка в новой задаче