cc: Make cc_genrule defaultable

Allows genrule_defaults to be used with cc_genrule.

This change does not create a cc_genrule_defaults, that can be done in a
follow-up change.

Bug: 325444956
Test: m [custom cc_genrule with defaults]
Change-Id: I9e2d26b31e04eb972801421d25b1ff6c8ef75369
This commit is contained in:
Aleks Todorov 2024-06-13 17:31:33 +01:00
parent 739b09eddf
commit ec2cf1e580

View file

@ -62,6 +62,8 @@ func GenRuleFactory() android.Module {
android.InitApexModule(module) android.InitApexModule(module)
android.InitDefaultableModule(module)
return module return module
} }