Merge "Error if $(LOCAL_PATH) is empty" am: cbdfc3a5ed
Original change: https://android-review.googlesource.com/c/platform/build/+/1396207 Change-Id: Icd947b29a97698545998cfb3d06ef8ab77e2c813
This commit is contained in:
@@ -27,6 +27,11 @@ endif
|
||||
## Common instructions for a generic module.
|
||||
###########################################################
|
||||
|
||||
LOCAL_PATH := $(strip $(LOCAL_PATH))
|
||||
ifeq ($(LOCAL_PATH),)
|
||||
$(error LOCAL_PATH is not defined)
|
||||
endif
|
||||
|
||||
LOCAL_MODULE := $(strip $(LOCAL_MODULE))
|
||||
ifeq ($(LOCAL_MODULE),)
|
||||
$(error $(LOCAL_PATH): LOCAL_MODULE is not defined)
|
||||
|
||||
Reference in New Issue
Block a user