blob: e8583baba9e5875fe40454159fdc3fa430a202fd [file] [log] [blame]
Motomu Utsumifcac4852022-10-26 19:28:31 +09001#!/bin/bash
2
3# This script is expected to run after gen_android_bp is modified.
4#
5# ./update_result.sh desc.json
6#
7# TARGETS contains targets which are supported by gen_android_bp and
8# this script generates Android.bp.swp from TARGETS.
9# This makes it easy to realize unintended impact/degression on
10# previously supported targets.
11
12set -eux
13
14TARGETS=(
15 "//third_party/zlib:zlib"
16)
17
18BASEDIR=$(dirname "$0")
19$BASEDIR/gen_android_bp --desc $1 --out $BASEDIR/Android.bp ${TARGETS[@]}