History log of /external/bsdiff/Android.mk
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3867e5b67b7e2796e155722a8a6c64598359b12b 18-May-2017 Alex Deymo <deymo@google.com> Merge "Update Makefile to build shared libraries." am: 47db46b45d am: 12afdd6c49 am: 532fcc8cfa
am: ce81b3e884

Change-Id: Iec0b8b5e23f5e7639a7ca9dfafc2064575e6e081
ddf9db52938e67d4dcbf7c4f159b094eaddbabeb 03-Mar-2017 Alex Deymo <deymo@google.com> 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
/external/bsdiff/Android.mk
c52b8ce9e2c2ef8ba4e7008b8812eb1913e1e59d 25-Mar-2017 Dan Shi <dshi@google.com> Add test config to bsdiff_unittest

Details about test configs changes are tracked in doc
https://docs.google.com/document/d/1EWUjJ7fjy8ge_Nk0YQbFdRp8DSHo3z6GU0R8jLgrAcw/edit#

Bug: 35882476
Test: local test
Change-Id: I4e1cd403db420f2997da124fb58d6930e9bdfd8a
/external/bsdiff/Android.mk
0ef4f650aa33b5efc64d0b722557552f15b8f4e0 01-Feb-2017 Sen Jiang <senj@google.com> Remove bspatch_recovery.

update_engine is using libbspatch now.

Test: m dist
Change-Id: Ifaece91a6794897264c279015d827c254a3c4858
/external/bsdiff/Android.mk
716d569273ef2aeacfe7555f60f7784b2366225d 10-May-2016 Sen Jiang <senj@google.com> Provide interface for in memory bspatch.

Renamed existing MemoryFile to BufferFile, and added a read only
MemoryFile to provide file interface to read file data already in
memory without extra copy (extra memory usage).

Added write only SinkFile to provide sink function support used in
applypatch. It will enable imgpatch the ability to stream output.

Test: mma
Bug: 26982501

Change-Id: I025ce4064c9f46623dd73f24d30e21e88f08a292
/external/bsdiff/Android.mk
4bbeb1a12ddb13f9126015b2a51ae5b9394bcf9b 29-Jul-2016 Alex Deymo <deymo@google.com> Build a static bspatch for recovery.

The recovery image must include only static binary. This patch compiles
bspatch as a static binary and installs it in recovery so it can be used
by update_engine_sideload.

Bug: 27178350
TEST=`mmma external/bsdiff` builds the recovery static file.

Change-Id: Ic589b8426a60a101b89b3072be7a868859ccc1e5
/external/bsdiff/Android.mk
c97d9656216f0dfd7d6308e56b97cbd9820d5e43 01-Jun-2016 Tao Bao <tbao@google.com> Revert "Generate statically linked bsdiff."

This reverts commit f41dd73d356d7a12dcb17a472bf0dc3bcc10dadc.

Bug: 28941046
Change-Id: I18b297a742659c6312dc3d17a8eabdc39b2551c2
/external/bsdiff/Android.mk
f41dd73d356d7a12dcb17a472bf0dc3bcc10dadc 31-May-2016 Tao Bao <tbao@google.com> Generate statically linked bsdiff.

Bug: 28941046
Change-Id: I76e3a0f6ad24439193f913661e78aa10b30d4e78
/external/bsdiff/Android.mk
9b93e6a79279547a193fa0946246ce28a0417c90 04-May-2016 Sen Jiang <senj@google.com> Separate reading old and new files from bsdiff().

This is needed so that others like applypatch can use bsdiff in memory.

Bug: 26982501
Test: mma

Change-Id: Ida0e11e35f088604498d1cc919fb5ca19f36fd62
/external/bsdiff/Android.mk
5b372b684ac4f9585fb2a00098d77f959bec0074 29-Mar-2016 Sen Jiang <senj@google.com> Stream the output to disk.

Now that update_engine no longer uses minor version 1, old file and
new file are always different in the device, so we can write the
output to disk right away to save memory.
The old behavior is still kept if the new file is overlapping with the
old file for paycheck.py usage.

Test: bsdiff_unittest
Test: apply a 3M patch overwriting old file, uses 25M memory.
Test: apply a 3M patch not overwriting old file, uses 9M memory.
Bug: 25773600

Change-Id: Ic289c9bcc6f1810d0f222a9a4241c05756084b1c
/external/bsdiff/Android.mk
9abc204dc47c6c1365e5413543d310ff7ec29038 19-Feb-2016 Jed Estep <jestep@google.com> Add a device-side unittest target

This change also adds two static libs, libbspatch and libbsdiff,
which encapsulate the dependencies of both the binaries and the
unit tests.

TEST=`mma external/bsdiff` and ran unittests on host and bullhead:NRC47C

Bug: 26971929
Change-Id: Ica0b17fa60f3ddf86d03ae12e6c099efbdd1296b
/external/bsdiff/Android.mk
cdbad9a10607260dd9b6acd888a0bfe6c0aa6063 29-Sep-2015 Alex Deymo <deymo@google.com> Build bspatch for the target.

Bug: 24478450
Test: mma on arm

Change-Id: I6e6a433ab94927d35cba5ea90ed7d0d3968495ce
/external/bsdiff/Android.mk
792b0a5d2fc29cd8d5ba91be5dd1d34f0676f53b 23-Oct-2015 Alex Deymo <deymo@google.com> Build unittests on Android.

The unitests were compiled in the Makefile but not on Android. This
patch builds the unittests for the host on Android.

Bug: 24478450
Test: mmma external/bsdiff && out/host/linux-x86/bin/bsdiff_unittest

Change-Id: Ib9f70e57273e585f31b46068d29b277aaae611eb
/external/bsdiff/Android.mk
03f1debab429e673ba5e9e317c5a04e36e850cef 13-Oct-2015 Alex Deymo <deymo@google.com> bspatch: Use a C++ interface for file access.

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
/external/bsdiff/Android.mk
20891f9c246ec36e6c148579522ac00051b64457 13-Oct-2015 Alex Deymo <deymo@google.com> Convert C sources to C++.

To help refactoring the FILE* access behind an interface and better
integrate with unittest code, this patch moves the C sources to C++.
Minor changes to make this conform to C++ were included.

Bug: 24478450
Test: `make all test && ./unittests`; mm

Change-Id: I27d7fb0660efc18ea0cb84ff544c9dd9c4803050
/external/bsdiff/Android.mk
870b802fc022bffe91baed0e917539212c40a901 29-Sep-2015 Alex Deymo <deymo@google.com> Disable GNU extensions in bspatch code.

Bspatch uses fopencookie(3) and some other GNU extensions not
implemented on mac and some targets. This patch fixes the build by
disabling the code using those features, that will be re-enabled on a
follow up CL.

Change-Id: Ibc7975b3ab6b4afa7c7ac1ee445173973a2a570a
Test: `mmma external/bsdiff` on the target and on mac.
/external/bsdiff/Android.mk
b7e3b8e0ccc4099f7cad6229a3f81eb694383a40 23-Sep-2015 Alex Deymo <deymo@google.com> Update Android.mk to build Chromium OS changes.

The merged CLs from Chromium OS include a new dependency in
libdivsufsort and split some source files. This patch includes changes
to the Android.mk to build with the new CLs.

Bug: 24332905
Change-Id: Id7cc128bc7527e2c1eadc2319dd249e5746a903f
Test: mmm external/bsdiff; make otatools
/external/bsdiff/Android.mk
10e6119c595ed5bf3d20064709b57384a7f13b9f 22-May-2012 Joe Onorato <joeo@google.com> host modules don't need LOCAL_MODULE_TAGS

Change-Id: I9bceb790b67e3197a2f1470041e3c268caa1ef58
/external/bsdiff/Android.mk
81872540236d9bb15cccf963d05b9de48baa5375 12-Jul-2011 Jeff Brown <jeffbrown@google.com> Remove the simulator target from all makefiles.
Bug: 5010576

Change-Id: Iff124dd7b79a5b338ddadbcfc0a67d09b151bcae
/external/bsdiff/Android.mk
c285feace7a051368d4c5069cc6e0f30cd769f0d 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/external/bsdiff/Android.mk
7ba06301a23a7ddc64bfcdb21b046606a5ba3a05 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/external/bsdiff/Android.mk
03874566c6f74e11d030fa2c534b3dd5a06721af 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/external/bsdiff/Android.mk