Merge "Add deprecation warning for base-rules-hook" am: e30f7e8be1
Original change: https://android-review.googlesource.com/c/platform/build/+/2080730 Change-Id: Id2b7f201b00a2ba36055c90374a161a36c43933a Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -20,7 +20,11 @@ $(call record-module-type,base_rules)
|
||||
# Users can define base-rules-hook in their buildspec.mk to perform
|
||||
# arbitrary operations as each module is included.
|
||||
ifdef base-rules-hook
|
||||
$(if $(base-rules-hook),)
|
||||
ifndef _has_warned_about_base_rules_hook
|
||||
$(warning base-rules-hook is deprecated, please remove usages of it and/or convert to Soong.)
|
||||
_has_warned_about_base_rules_hook := true
|
||||
endif
|
||||
$(if $(base-rules-hook),)
|
||||
endif
|
||||
|
||||
###########################################################
|
||||
|
Reference in New Issue
Block a user