Use module specific soong variable when last_optional_release is set. am: 25a6a5df1b
Original change: https://android-review.googlesource.com/c/platform/packages/modules/common/+/2766466 Change-Id: I82f9698c898ea8285bb0bc0b5b3f643a31424e8a Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
committed by
Automerger Merge Worker
commit
dd34bb23fa
@@ -922,8 +922,7 @@ class MainlineModule:
|
||||
|
||||
# If the module is optional then it needs its own Soong config
|
||||
# variable to allow it to be managed separately from other modules.
|
||||
if (self.last_optional_release and
|
||||
self.last_optional_release > build_release):
|
||||
if self.last_optional_release:
|
||||
config_var = ConfigVar(
|
||||
namespace=f"{self.short_name}_module",
|
||||
name="source_build",
|
||||
|
||||
Reference in New Issue
Block a user