summaryrefslogtreecommitdiffstats
path: root/tools/check_builds.sh
diff options
context:
space:
mode:
authorJoe Onorato <>2009-04-18 22:36:21 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2009-04-18 22:36:21 -0700
commit7ee52de5c310fb0c3ad0df3f1b3d65cf85efc12e (patch)
tree373d106016b002467d633dfaacce9c96820b1ab4 /tools/check_builds.sh
parenteb1bbbec8166400c6a350cdc428d7c8788879652 (diff)
downloadbuild-7ee52de5c310fb0c3ad0df3f1b3d65cf85efc12e.tar.gz
build-7ee52de5c310fb0c3ad0df3f1b3d65cf85efc12e.tar.bz2
build-7ee52de5c310fb0c3ad0df3f1b3d65cf85efc12e.zip
AI 146824: am: CL 146738 am: CL 146687 The maps and gtalkservice libraries were still being included in
all of the builds. Fix that. We really need to get this generic_with_google product out of build/target and into vendor/google, but that can come later. Original author: joeo Merged from: //branches/cupcake/... Original author: android-build Automated import of CL 146824
Diffstat (limited to 'tools/check_builds.sh')
-rw-r--r--[-rwxr-xr-x]tools/check_builds.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/check_builds.sh b/tools/check_builds.sh
index 599aafafe..fd380dd7d 100755..100644
--- a/tools/check_builds.sh
+++ b/tools/check_builds.sh
@@ -40,6 +40,7 @@ function do_builds
while [ -n "$1" ]
do
rm -rf $TEST_BUILD_DIR/$PREFIX-$1
+ make PRODUCT-$(echo $1 | sed "s/-.*//" )-installclean
make -j6 PRODUCT-$1 dist DIST_DIR=$TEST_BUILD_DIR/$PREFIX-$1
if [ $? -ne 0 ] ; then
echo FAILED
@@ -74,3 +75,18 @@ function check_builds
compare_builds "$@"
}
+function diff_builds
+{
+ local inputs=
+ while [ -n "$1" ]
+ do
+ diff $TEST_BUILD_DIR/golden-$1/installed-files.txt $TEST_BUILD_DIR/dist-$1/installed-files.txt &> /dev/null
+ if [ $? != 0 ]; then
+ echo =========== $1 ===========
+ diff $TEST_BUILD_DIR/golden-$1/installed-files.txt $TEST_BUILD_DIR/dist-$1/installed-files.txt
+ fi
+ shift
+ done
+ build/tools/compare_fileslist.py $inputs > $TEST_BUILD_DIR/sizes.html
+}
+