Merge "Unify target and host Java compilation"
diff --git a/core/base_rules.mk b/core/base_rules.mk
index 7782c33..d00f2a3 100644
--- a/core/base_rules.mk
+++ b/core/base_rules.mk
@@ -57,8 +57,12 @@
 
 LOCAL_MODULE_TAGS := $(sort $(LOCAL_MODULE_TAGS))
 ifeq (,$(LOCAL_MODULE_TAGS))
-# Modules without tags fall back to user (which is changed to user eng below)
+ifeq (true,$(LOCAL_UNINSTALLABLE_MODULE))
+LOCAL_MODULE_TAGS := optional
+else
+# Installable modules without tags fall back to user (which is changed to user eng below)
 LOCAL_MODULE_TAGS := user
+endif
 #$(warning default tags: $(lastword $(filter-out config/% out/%,$(MAKEFILE_LIST))))
 endif
 
diff --git a/target/product/generic_no_telephony.mk b/target/product/generic_no_telephony.mk
index 6635d2c..e2b0f5a 100644
--- a/target/product/generic_no_telephony.mk
+++ b/target/product/generic_no_telephony.mk
@@ -36,7 +36,6 @@
     Music \
     Provision \
     Phone \
-    Protips \
     QuickSearchBox \
     Settings \
     Sync \