Default uninstallable modules' tag to optional

Change-Id: I31faee42c807b3b6d7b85feea6c74860c89d45de
This commit is contained in:
Ying Wang 2010-12-10 11:17:28 -08:00
parent dad569b4e8
commit 2fd81cf11e
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