aboutsummaryrefslogtreecommitdiffstats
path: root/build_test.bash
diff options
context:
space:
mode:
Diffstat (limited to 'build_test.bash')
-rwxr-xr-xbuild_test.bash6
1 files changed, 6 insertions, 0 deletions
diff --git a/build_test.bash b/build_test.bash
index f8333666..ab841cb0 100755
--- a/build_test.bash
+++ b/build_test.bash
@@ -30,5 +30,11 @@ export TRACE_BEGIN_SOONG=$(date +%s%N)
export TOP=$(cd $(dirname ${BASH_SOURCE[0]})/../..; PWD= /bin/pwd)
source "${TOP}/build/soong/cmd/microfactory/microfactory.bash"
+case $(uname) in
+ Linux)
+ export LD_PRELOAD=/lib/x86_64-linux-gnu/libSegFault.so
+ ;;
+esac
+
build_go multiproduct_kati android/soong/cmd/multiproduct_kati
exec "$(getoutdir)/multiproduct_kati" "$@"