aboutsummaryrefslogtreecommitdiffstats
path: root/genrule
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2016-10-12 14:28:16 -0700
committerColin Cross <ccross@android.com>2016-10-12 14:30:44 -0700
commit798bfce9d00217716eaee2256878db625b9e6e2e (patch)
tree80939327c1f981ae0c689c907b37f8fb39334a99 /genrule
parent3f9bde87fb7f7da0ee41ff5674efee6177c88822 (diff)
downloadbuild_soong-798bfce9d00217716eaee2256878db625b9e6e2e.tar.gz
build_soong-798bfce9d00217716eaee2256878db625b9e6e2e.tar.bz2
build_soong-798bfce9d00217716eaee2256878db625b9e6e2e.zip
Move registration into android packageandroid-n-mr1-preview-2android-n-mr1-preview-1
Mutator registration is tightly coupled with the android package, move all registration from the soong package to the android package. Test: build.ninja identical Change-Id: Ie183d0b52cc7431c9e05b231934d189208ef1efe
Diffstat (limited to 'genrule')
-rw-r--r--genrule/genrule.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/genrule/genrule.go b/genrule/genrule.go
index 4a9b336d..baa6b335 100644
--- a/genrule/genrule.go
+++ b/genrule/genrule.go
@@ -19,13 +19,12 @@ import (
"github.com/google/blueprint"
- "android/soong"
"android/soong/android"
)
func init() {
- soong.RegisterModuleType("gensrcs", GenSrcsFactory)
- soong.RegisterModuleType("genrule", GenRuleFactory)
+ android.RegisterModuleType("gensrcs", GenSrcsFactory)
+ android.RegisterModuleType("genrule", GenRuleFactory)
android.RegisterBottomUpMutator("genrule_deps", genruleDepsMutator).Parallel()
}