blob: f9321d9e6a857ae39db0d8979f27130f781d7ab5 [file] [log] [blame]
#!/bin/bash
# This script is expected to run after gen_android_bp is modified.
#
# ./update_result.sh
#
# TARGETS contains targets which are supported by gen_android_bp and
# this script generates Android.bp.swp from TARGETS.
# This makes it easy to realize unintended impact/degression on
# previously supported targets.
set -eux
TARGETS=(
"//components/cronet/android:cronet"
)
BASEDIR=$(dirname "$0")
$BASEDIR/gen_android_bp --desc $BASEDIR/desc.json --out $BASEDIR/Android.bp ${TARGETS[@]}