summaryrefslogtreecommitdiff
path: root/extents_file_unittest.cc
diff options
context:
space:
mode:
authorAlex Deymo <deymo@google.com>2017-03-02 16:10:41 -0800
committerAlex Deymo <deymo@google.com>2017-05-03 18:29:10 -0700
commitddf9db52938e67d4dcbf7c4f159b094eaddbabeb (patch)
tree07a1e5f4ca7d47b4412bac6c443ea756276caf7d /extents_file_unittest.cc
parentb9fa8599064d10afd8c231155500f0b8e934d71f (diff)
downloadbsdiff-ddf9db52938e67d4dcbf7c4f159b094eaddbabeb.tar.gz
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
Diffstat (limited to 'extents_file_unittest.cc')
-rw-r--r--extents_file_unittest.cc4
1 files changed, 2 insertions, 2 deletions
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 <gtest/gtest.h>
#include <gmock/gmock.h>
#include <string>
#include <vector>
-#include "file_interface.h"
+#include "bsdiff/file_interface.h"
using std::string;
using std::vector;