Make the bouncy castle keystore available for the host build.
Change-Id: I1d126f594808d748af0662032f9dff5ee69377e6
diff --git a/NativeCode.mk b/NativeCode.mk
index 6caf79c..cffb99f 100644
--- a/NativeCode.mk
+++ b/NativeCode.mk
@@ -121,8 +121,9 @@
LOCAL_SHARED_LIBRARIES := $(core_shared_libraries)
LOCAL_STATIC_LIBRARIES := $(core_static_libraries)
LOCAL_MODULE := libjavacore-host
+ LOCAL_ADDITIONAL_DEPENDENCIES += $(HOST_OUT)/etc/security/cacerts.bks
include $(BUILD_HOST_STATIC_LIBRARY)
- # TODO: Figure out cacerts.bks for the host.
+ $(eval $(call copy-one-file,$(LOCAL_PATH)/luni/src/main/files/cacerts.bks,$(HOST_OUT)/etc/security/cacerts.bks))
endif