summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cc/genrule.go2
-rw-r--r--genrule/genrule.go1
2 files changed, 3 insertions, 0 deletions
diff --git a/cc/genrule.go b/cc/genrule.go
index decf6ea57..e594f4b2f 100644
--- a/cc/genrule.go
+++ b/cc/genrule.go
@@ -42,5 +42,7 @@ func genRuleFactory() android.Module {
android.InitAndroidArchModule(module, android.HostAndDeviceSupported, android.MultilibBoth)
+ android.InitApexModule(module)
+
return module
}
diff --git a/genrule/genrule.go b/genrule/genrule.go
index 87e6747e9..34adbc06c 100644
--- a/genrule/genrule.go
+++ b/genrule/genrule.go
@@ -101,6 +101,7 @@ type generatorProperties struct {
type Module struct {
android.ModuleBase
android.DefaultableModuleBase
+ android.ApexModuleBase
// For other packages to make their own genrules with extra
// properties