Merge master@5428150 into git_qt-dev-plus-aosp.
am: 1272c58d97

Change-Id: Ia5e8a0f80e90046ec5f23d1872f7d5f3c3ef1831
diff --git a/abi/bootstrap b/abi/bootstrap
index 30ea3e3..c2f0120 100755
--- a/abi/bootstrap
+++ b/abi/bootstrap
@@ -14,7 +14,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-ABIGAIL_VERSION=1.5
+ABIGAIL_VERSION=1.6
 
 NUM_CORES=$(cat /proc/cpuinfo | grep -c proc)
 BASE_DIR=$(readlink -f $(dirname $0))
@@ -29,8 +29,11 @@
 
 set -x
 
+PACKAGES="libxml2-dev elfutils libdw-dev"
 # Install the dependencies.
-sudo apt-get install libxml2-dev elfutils libdw-dev
+if ! dpkg -s ${PACKAGES} > /dev/null 2>&1 ; then
+    sudo apt-get install ${PACKAGES}
+fi
 
 if [ ! -d "${LIBABIGAIL_SRC}" ]; then
   git clone git://sourceware.org/git/libabigail.git "${LIBABIGAIL_SRC}"