blob: ad0277c15ef7c65a0e71e8669530090cd113296a [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#
Motomu Utsumiefde2d22022-10-28 12:20:46 +09005# ./update_result.sh
Motomu Utsumifcac4852022-10-26 19:28:31 +09006#
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=(
Patrick Rohrcb035942022-11-01 12:12:52 -070015 "//net:net"
Motomu Utsumifcac4852022-10-26 19:28:31 +090016)
17
18BASEDIR=$(dirname "$0")
Motomu Utsumiefde2d22022-10-28 12:20:46 +090019$BASEDIR/gen_android_bp --desc $BASEDIR/desc.json --out $BASEDIR/Android.bp ${TARGETS[@]}