summaryrefslogtreecommitdiff
path: root/genrule
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2024-05-09 13:08:02 -0700
committer Colin Cross <ccross@android.com> 2024-06-28 10:31:05 -0700
commit483b4c4b105dd6d1c3afdd7d4e39e339b04f8cb0 (patch)
treee33923893a9976b152e983bdb1a19c9351bdf3b3 /genrule
parent6650b15953efe67f723ab9253992dc743ae3c799 (diff)
Support defaults for gensrcs modules
external/jemalloc/Android.bp has mulitple similar gensrcs, allow using a defaults modules to simplify them. Test: builds Flag: NONE Change-Id: If71a860c830e9502720caaf495b395ea28dd6983
Diffstat (limited to 'genrule')
-rw-r--r--genrule/genrule.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/genrule/genrule.go b/genrule/genrule.go
index c0942d3f1..5b40768b4 100644
--- a/genrule/genrule.go
+++ b/genrule/genrule.go
@@ -754,6 +754,7 @@ func NewGenSrcs() *Module {
func GenSrcsFactory() android.Module {
m := NewGenSrcs()
android.InitAndroidModule(m)
+ android.InitDefaultableModule(m)
return m
}