1#!/bin/bash 2 3set -o errexit 4set -o xtrace 5 6DIR=$(dirname $0) 7 8"${DIR}"/generate_bp.py "${DIR}"/selected_targets.json | \ 9 grep -v 'PACKAGE_VERSION' | \ 10 grep -v 'PACKAGE_STRING' >"${DIR}"/../Android.bp 11 12# The alsa device causes a double lock on a mutex, don't use it 13sed -i -e 's/WEBRTC_ENABLE_LINUX_ALSA/WEBRTC_DUMMY_FILE_DEVICES/g' "${DIR}/../Android.bp" 14 15source "${DIR}"/../../../build/envsetup.sh 16 17bpfmt -w "${DIR}"/../Android.bp 18 19