Remove libimgpatch

Stop building libimgpatch as it's merely a subset of libapplypatch.

Test: unit tests pass

Change-Id: I0735ec053344404434a50e53a36e3f55964c2e4f
This commit is contained in:
Tianjie Xu 2019-07-02 15:09:24 -07:00
parent e1701454b2
commit 45c40ec876
2 changed files with 2 additions and 35 deletions

View file

@ -168,35 +168,3 @@ cc_binary_host {
"libz",
],
}
cc_library_static {
name: "libimgpatch",
// The host module is for recovery_host_test (Linux only).
host_supported: true,
defaults: [
"applypatch_defaults",
],
srcs: [
"bspatch.cpp",
"imgpatch.cpp",
],
static_libs: [
"libbase",
"libbspatch",
"libbz",
"libcrypto",
"libedify",
"libotautil",
"libz",
],
target: {
darwin: {
enabled: false,
},
},
}

View file

@ -50,12 +50,11 @@ cc_defaults {
},
}
// libapplypatch, libapplypatch_modes, libimgpatch
// libapplypatch, libapplypatch_modes
libapplypatch_static_libs = [
"libapplypatch_modes",
"libapplypatch",
"libedify",
"libimgpatch",
"libotautil",
"libbsdiff",
"libbspatch",
@ -180,7 +179,7 @@ cc_test_host {
target: {
darwin: {
// libimgdiff is not available on the Mac.
// libapplypatch in "libupdater_defaults" is not available on the Mac.
enabled: false,
},
},