You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
437 B

#!/bin/bash
set -o errexit
set -o xtrace
DIR=$(dirname $0)
"${DIR}"/generate_bp.py "${DIR}"/selected_targets.json | \
grep -v 'PACKAGE_VERSION' | \
grep -v 'PACKAGE_STRING' >"${DIR}"/../Android.bp
# The alsa device causes a double lock on a mutex, don't use it
sed -i -e 's/WEBRTC_ENABLE_LINUX_ALSA/WEBRTC_DUMMY_FILE_DEVICES/g' "${DIR}/../Android.bp"
source "${DIR}"/../../../build/envsetup.sh
bpfmt -w "${DIR}"/../Android.bp