Merge "Build libimgdiff as a host only library" am: 9341e970ba am: b84b6422fa
am: 304c389360
Change-Id: I6a7e5721fdefc37955a7293d359c317471eb0b31
diff --git a/applypatch/Android.bp b/applypatch/Android.bp
index 620ca6c..64dd38d 100644
--- a/applypatch/Android.bp
+++ b/applypatch/Android.bp
@@ -114,11 +114,9 @@
],
}
-cc_library_static {
+cc_library_host_static {
name: "libimgdiff",
- host_supported: true,
-
defaults: [
"applypatch_defaults",
],
diff --git a/tests/Android.bp b/tests/Android.bp
index fec2f07..1801f3b 100644
--- a/tests/Android.bp
+++ b/tests/Android.bp
@@ -50,12 +50,11 @@
},
}
-// libapplypatch, libapplypatch_modes, libimgdiff, libimgpatch
+// libapplypatch, libapplypatch_modes, libimgpatch
libapplypatch_static_libs = [
"libapplypatch_modes",
"libapplypatch",
"libedify",
- "libimgdiff",
"libimgpatch",
"libotautil",
"libbsdiff",