From ddf9db52938e67d4dcbf7c4f159b094eaddbabeb Mon Sep 17 00:00:00 2001 From: Alex Deymo Date: Thu, 2 Mar 2017 16:10:41 -0800 Subject: Update Makefile to build shared libraries. The Makefile didn't build libbspatch and libbsdiff. This patch includes those libraries in the Makefile and moves the header files exposed by those to an include/bsdiff subdirectory following the Android convention so calling program can include "bsdiff/bspatch.h" avoiding any collision with other libraries. The Android.mk is updated to export the new include path while keeping the old style until calling programs are updated. The new Makefile allows Chromium OS to build the new libraries. Bug: None Test: FEATURES=test emerge-link bsdiff; sudo emerge bsdiff Test: mmma external/bsdiff Change-Id: I2ea9251eb224e9418fe236e4c4c9c5621853f590 --- extents_file_unittest.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'extents_file_unittest.cc') diff --git a/extents_file_unittest.cc b/extents_file_unittest.cc index 73cedb2..0bac750 100644 --- a/extents_file_unittest.cc +++ b/extents_file_unittest.cc @@ -2,14 +2,14 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "extents_file.h" +#include "bsdiff/extents_file.h" #include #include #include #include -#include "file_interface.h" +#include "bsdiff/file_interface.h" using std::string; using std::vector; -- cgit v1.2.3