Skip the cache size check on host
When running the update simulation, we choose to skip the cache size
check for now due to the lack of "/cache" on host. And in later cls we
can implement a cache size estimator to make the check more constrained.
Also build the host version of support libraries.
Test: unit test pass
Change-Id: I3ed93c857fd02f7b62f5baba9130f75c3236e717
diff --git a/otafault/Android.bp b/otafault/Android.bp
index 91a5d9a..30d5610 100644
--- a/otafault/Android.bp
+++ b/otafault/Android.bp
@@ -15,6 +15,8 @@
cc_library_static {
name: "libotafault",
+ host_supported: true,
+
srcs: [
"config.cpp",
"ota_io.cpp",