Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b258d6e1 authored by Yo Chiang's avatar Yo Chiang Committed by Automerger Merge Worker
Browse files

Merge "Error if $(LOCAL_PATH) is empty" am: cbdfc3a5 am: 1d2de914 am: 1958d492 am: 984a5c37

Original change: https://android-review.googlesource.com/c/platform/build/+/1396207

Change-Id: I33e00f9d0169a08c439fd54d325f0d06880c05b3
parents c9fbe64e 984a5c37
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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)