aboutsummaryrefslogtreecommitdiffstats
path: root/genrule/genrule.go
diff options
context:
space:
mode:
Diffstat (limited to 'genrule/genrule.go')
-rw-r--r--genrule/genrule.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/genrule/genrule.go b/genrule/genrule.go
index 2052dfdd..a5a4c71f 100644
--- a/genrule/genrule.go
+++ b/genrule/genrule.go
@@ -20,9 +20,15 @@ import (
"github.com/google/blueprint"
"github.com/google/blueprint/pathtools"
+ "android/soong"
"android/soong/common"
)
+func init() {
+ soong.RegisterModuleType("gensrcs", GenSrcsFactory)
+ soong.RegisterModuleType("genrule", GenRuleFactory)
+}
+
var (
pctx = blueprint.NewPackageContext("android/soong/genrule")
)