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: I3cdb60f4444f2c1a9be565aecb0fd8e1193ddc9c 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
352b2d3f7a
@@ -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