Merge "Don't fail if a target of type NONE has a NOTICE file present"

This commit is contained in:
Steve Block
2012-06-27 09:02:39 -07:00
committed by Android (Google) Code Review

View File

@@ -4,6 +4,11 @@
notice_file:=$(strip $(wildcard $(LOCAL_PATH)/NOTICE))
ifeq ($(LOCAL_MODULE_CLASS),NONE)
# We ignore NOTICE files for modules of type NONE.
notice_file :=
endif
ifdef notice_file
# This relies on the name of the directory in PRODUCT_OUT matching where