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

Commit 984a5c37 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

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

Change-Id: I9762299cb56bbd6af47887a462bdb7368acfce51
parents c17252f3 1958d492
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)