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

Commit 4693fd1d authored by Yo Chiang's avatar Yo Chiang
Browse files

Change RRO enforcement logic

Change RRO logic from
"Enforce RRO for all modules when PRODUCT_ENFORCE_RRO_TARGETS is '*'"
to
"Enforce RRO for all modules when PRODUCT_ENFORCE_RRO_TARGETS includes '*'"

Bug: b/137727426
Test: test build on local machine
Change-Id: I10b215c28919988ec58deb1fe3d5498ad4e73eb4
parent 4ad561c6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -99,7 +99,7 @@ include $(BUILD_SYSTEM)/support_libraries.mk

# Determine whether auto-RRO is enabled for this package.
enforce_rro_enabled :=
ifeq ($(PRODUCT_ENFORCE_RRO_TARGETS),*)
ifneq (,$(filter *, $(PRODUCT_ENFORCE_RRO_TARGETS)))
  # * means all system APKs, so enable conditionally based on module path.

  # Note that base_rules.mk has not yet been included, so it's likely that only