Merge "Default uninstallable modules' tag to optional" into gingerbread

This commit is contained in:
Ying Wang 2010-12-10 16:17:59 -08:00 committed by Android (Google) Code Review
commit c797367857
1 changed files with 5 additions and 1 deletions

View File

@ -57,8 +57,12 @@ endif
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