Add always_use_prebuilt_sdks for soong selects
Test: presubmits
Bug: 403514488
Change-Id: I3606d9cf1e958fd89f2804e0a40515092854f574
diff --git a/android/module.go b/android/module.go
index c6c4fd8..334e5b7 100644
--- a/android/module.go
+++ b/android/module.go
@@ -2654,6 +2654,8 @@
return proptools.ConfigurableValueBool(ctx.Config().UseDebugArt())
case "selinux_ignore_neverallows":
return proptools.ConfigurableValueBool(ctx.Config().SelinuxIgnoreNeverallows())
+ case "always_use_prebuilt_sdks":
+ return proptools.ConfigurableValueBool(ctx.Config().AlwaysUsePrebuiltSdks())
default:
// TODO(b/323382414): Might add these on a case-by-case basis
ctx.OtherModulePropertyErrorf(m, property, fmt.Sprintf("TODO(b/323382414): Product variable %q is not yet supported in selects", variable))