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

Commit e30f7e8b authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Add deprecation warning for base-rules-hook"

parents 2b9eda69 f773f3a0
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -20,6 +20,10 @@ $(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
  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