Fix host multilib build.
Bug: 13751317
Change-Id: Ia5da0f1468296aa749c4cce161001b6c18a55e04
diff --git a/Android.mk b/Android.mk
index dc6a2e8..7ec8109 100644
--- a/Android.mk
+++ b/Android.mk
@@ -177,8 +177,10 @@
include $(CLEAR_VARS)
LOCAL_MODULE:= libRS
LOCAL_MODULE_TAGS := optional
+LOCAL_MODULE_CLASS := STATIC_LIBRARIES
+LOCAL_IS_HOST_MODULE := true
-intermediates := $(call intermediates-dir-for,STATIC_LIBRARIES,libRS,HOST,)
+intermediates := $(call local-generated-sources-dir)
# Generate custom headers