Build libimgdiff as a host only library

Stop building libimgdiff on device because we are only running
patching there.

Test: unit tests pass
Change-Id: I4225c6b52a536617301a64c405e325799a303b40
This commit is contained in:
Tianjie Xu 2019-06-28 11:04:07 -07:00
parent 4955648c4c
commit 42d7779caf
2 changed files with 2 additions and 5 deletions

View file

@ -114,11 +114,9 @@ cc_binary {
],
}
cc_library_static {
cc_library_host_static {
name: "libimgdiff",
host_supported: true,
defaults: [
"applypatch_defaults",
],

View file

@ -50,12 +50,11 @@ cc_defaults {
},
}
// libapplypatch, libapplypatch_modes, libimgdiff, libimgpatch
// libapplypatch, libapplypatch_modes, libimgpatch
libapplypatch_static_libs = [
"libapplypatch_modes",
"libapplypatch",
"libedify",
"libimgdiff",
"libimgpatch",
"libotautil",
"libbsdiff",