Build etc/hosts using Soong
https://r.android.com/3046094 added a new etc_hosts package
that can be used to build and install /etc/hosts. Switch
the Trusty build to use it.
Bug: None
Test: m
Change-Id: I5174dba20c9d119c6be0c9a69df2f5b47dfdccb4
diff --git a/qemu_trusty_base.mk b/qemu_trusty_base.mk
index a28d7f9..97601ce 100644
--- a/qemu_trusty_base.mk
+++ b/qemu_trusty_base.mk
@@ -40,6 +40,7 @@
com.android.runtime \
com.android.sdkext \
dhcpclient \
+ etc_hosts \
gatekeeperd \
hwservicemanager \
init_system \
@@ -108,9 +109,6 @@
PRODUCT_PACKAGES += init.usb.rc init.usb.configfs.rc
-PRODUCT_COPY_FILES += \
- system/core/rootdir/etc/hosts:system/etc/hosts \
-
PRODUCT_FULL_TREBLE_OVERRIDE := true
PRODUCT_COPY_FILES += \