Support select for product variable "build_from_text_stub"
This allows using select syntax on the product variable
"build_from_text_stub"
Test: m nothing --no-skip-soong-tests
Bug: 323382414
Change-Id: I73b687a4034990443e26eb3bef24c8b07acb75b4
diff --git a/android/module.go b/android/module.go
index d6c129a..c3e812b 100644
--- a/android/module.go
+++ b/android/module.go
@@ -2290,6 +2290,8 @@
}
variable := condition.Arg(0)
switch variable {
+ case "build_from_text_stub":
+ return proptools.ConfigurableValueBool(ctx.Config().BuildFromTextStub())
case "debuggable":
return proptools.ConfigurableValueBool(ctx.Config().Debuggable())
case "use_debug_art":