aboutsummaryrefslogtreecommitdiffstats
path: root/android/mutator.go
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2016-10-06 16:12:58 -0700
committerColin Cross <ccross@android.com>2016-10-13 14:52:47 -0700
commitce75d2c6a23fdff806466fab7ad6d8ec471182e0 (patch)
tree7beffa26d89505d595ea3ca60bdf975d1145b7b9 /android/mutator.go
parent4498afc55b858e856d84925281dbf254a6280efb (diff)
downloadbuild_soong-ce75d2c6a23fdff806466fab7ad6d8ec471182e0.tar.gz
build_soong-ce75d2c6a23fdff806466fab7ad6d8ec471182e0.tar.bz2
build_soong-ce75d2c6a23fdff806466fab7ad6d8ec471182e0.zip
Initial prebuilt support
Support prebuilt shared libraries as an initial proof-of-concept of prebuilts. Future changes will support binaries and static libraries, and the ability to select which to use based on something besides blueprint properties. Test: TestPrebuilts run during m -j Change-Id: I6e84da667e9005ae11844bad01d25cbe4ced1ce3
Diffstat (limited to 'android/mutator.go')
-rw-r--r--android/mutator.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/android/mutator.go b/android/mutator.go
index b375bce2..8114b3e7 100644
--- a/android/mutator.go
+++ b/android/mutator.go
@@ -33,6 +33,7 @@ func registerMutators() {
}
ctx.TopDown("load_hooks", loadHookMutator).Parallel()
+ ctx.BottomUp("prebuilts", prebuiltMutator).Parallel()
ctx.BottomUp("defaults_deps", defaultsDepsMutator).Parallel()
ctx.TopDown("defaults", defaultsMutator).Parallel()
@@ -45,6 +46,9 @@ func registerMutators() {
ctx.BottomUp("deps", depsMutator).Parallel()
+ ctx.BottomUp("prebuilt_replace", PrebuiltReplaceMutator).Parallel()
+ ctx.TopDown("prebuilt_disable", PrebuiltDisableMutator).Parallel()
+
register(postDeps)
}