Merge "Disallow setting LOCAL_MODULE_STEM for android packages" am: 55870dd500
am: 871500d4b6
Original change: https://android-review.googlesource.com/c/platform/build/+/1880753 Change-Id: Ieb08b50f9548ae60b2dc5d63e2be33924a11222f
This commit is contained in:
@@ -35,6 +35,10 @@ $(error $(LOCAL_PATH): Package modules may not define LOCAL_MODULE_SUFFIX)
|
||||
endif
|
||||
LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX)
|
||||
|
||||
ifneq ($(strip $(LOCAL_MODULE_STEM)$(LOCAL_BUILT_MODULE_STEM)),)
|
||||
$(error $(LOCAL_PATH): Package modules may not define LOCAL_MODULE_STEM or LOCAL_BUILT_MODULE_STEM)
|
||||
endif
|
||||
|
||||
ifneq ($(strip $(LOCAL_MODULE)),)
|
||||
$(error $(LOCAL_PATH): Package modules may not define LOCAL_MODULE)
|
||||
endif
|
||||
|
Reference in New Issue
Block a user