From 67ab5d95058d6fe1bab71b3f69e1934728902995 Mon Sep 17 00:00:00 2001 From: Narayan Kamath Date: Mon, 27 Apr 2015 16:25:53 +0100 Subject: Use base::WriteFully in zip_archive. We're already linking against libbase but we'll have to add a libbase dependency to every target that includes libziparchive as a STATIC_LIBRARY dependency, given that there's no way to express that what we want (except by adding a LOCAL_WHOLE_STATIC_LIBRARY dependency on libbase to libziparchive but that seems bad too) Bug: http://b/21558406 Change-Id: I294ad389a9c61a1134a7bc323da25b0004a8f1e0 (cherry picked from commit e97e66ea7c624190afa4639d6ddc60e7d013f46c) --- fastboot/Android.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'fastboot') diff --git a/fastboot/Android.mk b/fastboot/Android.mk index 0648826..23cb404 100644 --- a/fastboot/Android.mk +++ b/fastboot/Android.mk @@ -58,7 +58,8 @@ LOCAL_STATIC_LIBRARIES := \ libsparse_host \ libutils \ liblog \ - libz + libz \ + libbase ifneq ($(HOST_OS),windows) LOCAL_STATIC_LIBRARIES += libselinux -- cgit v1.1