diff --git a/core/notice_files.mk b/core/notice_files.mk index ee503946af..2840e60f0f 100644 --- a/core/notice_files.mk +++ b/core/notice_files.mk @@ -4,8 +4,8 @@ notice_file:=$(strip $(wildcard $(LOCAL_PATH)/NOTICE)) -ifeq ($(LOCAL_MODULE_CLASS),NONE) - # We ignore NOTICE files for modules of type NONE. +ifeq ($(LOCAL_MODULE_CLASS),GYP) + # We ignore NOTICE files for modules of type GYP. notice_file := endif