summaryrefslogtreecommitdiffstats
path: root/core/notice_files.mk
diff options
context:
space:
mode:
Diffstat (limited to 'core/notice_files.mk')
-rw-r--r--core/notice_files.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/notice_files.mk b/core/notice_files.mk
index 74beb49..ee50394 100644
--- a/core/notice_files.mk
+++ b/core/notice_files.mk
@@ -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