Skip to content
Snippets Groups Projects
  1. Sep 26, 2017
    • Alex Deymo's avatar
      Include missing header. · 35fd1e0c
      Alex Deymo authored
      Include stdint.h for uint64_t. Also remove a redundant return at the
      end of a function.
      
      Bug: None
      Test: make
      Change-Id: I7712bd8020bc063463f5fee09fa05439b462cfac
      35fd1e0c
  2. May 04, 2017
    • Alex Deymo's avatar
      Update Makefile to build shared libraries. · ddf9db52
      Alex Deymo authored
      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
      ddf9db52
  3. Nov 24, 2015
  4. Oct 24, 2015
    • Alex Deymo's avatar
      FileInterface: Implement GetSize(). · daf35169
      Alex Deymo authored
      Implemented a method to get the size of the FileInterface object
      directly.
      
      Bug: 24478450
      Change-Id: I9aab80b33cc554551ce79bfee52e94e8e04775db
      Test: make all test && ./unittest
      daf35169
    • Alex Deymo's avatar
      bspatch: Use a C++ interface for file access. · 03f1deba
      Alex Deymo authored
      This patch moves the exfile.cc implementation to a C++ class with an
      abstract interface of a file. The implementation of exfile.cc, renamed
      to extents_file.cc, now uses C++ STL classes and has unittests to test
      its core functionality.
      
      Bug: 24478450
      Test: Unittests added. make all test -j5 && ./unittests
      
      Change-Id: I8d8f07150ad2ea465c55b5178ca9fbab49185eea
      03f1deba
Loading