am 528362f0: Default host module tag to optional.

Merge commit '528362f07460cfee42190e68ee2ffde4f08f0af4' into gingerbread-plus-aosp

* commit '528362f07460cfee42190e68ee2ffde4f08f0af4':
  Default host module tag to optional.
diff --git a/core/base_rules.mk b/core/base_rules.mk
index c587d64..97bcb29 100644
--- a/core/base_rules.mk
+++ b/core/base_rules.mk
@@ -57,9 +57,12 @@
 
 LOCAL_MODULE_TAGS := $(sort $(LOCAL_MODULE_TAGS))
 ifeq (,$(LOCAL_MODULE_TAGS))
+ifeq (,$(LOCAL_IS_HOST_MODULE))
 # Modules without tags fall back to user (which is changed to user eng below)
 LOCAL_MODULE_TAGS := user
-#$(warning default tags: $(lastword $(filter-out config/% out/%,$(MAKEFILE_LIST))))
+else
+LOCAL_MODULE_TAGS := optional
+endif
 endif
 
 # Only the tags mentioned in this test are expected to be set by module