summaryrefslogtreecommitdiff
path: root/apex/apex.go
diff options
context:
space:
mode:
author Jaewoong Jung <jungjw@google.com> 2020-05-14 14:15:24 -0700
committer Jaewoong Jung <jungjw@google.com> 2020-05-15 11:02:01 -0700
commitfa00c061873cc89d036d43103956a85cc4b1548c (patch)
treebcfc394560e738ed5b172ee73410284acd40f44d /apex/apex.go
parenta3e88856583c549c59e503e811fc11dea941a55d (diff)
Add apex_set module.
apex_set takes an .apks file that contains a set of prebuilt apexes with different configurations. It uses extract_apks to select and install the best matching one for the current target. Bug: 153456259 Test: apex_test.go Test: com.android.media.apks Change-Id: I1da8bbcf1611b7c580a0cb225856cbd7029cc0a7
Diffstat (limited to 'apex/apex.go')
-rw-r--r--apex/apex.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/apex/apex.go b/apex/apex.go
index 9525ff22c..0b68ae4eb 100644
--- a/apex/apex.go
+++ b/apex/apex.go
@@ -722,6 +722,7 @@ func init() {
android.RegisterModuleType("apex_defaults", defaultsFactory)
android.RegisterModuleType("prebuilt_apex", PrebuiltFactory)
android.RegisterModuleType("override_apex", overrideApexFactory)
+ android.RegisterModuleType("apex_set", apexSetFactory)
android.PreDepsMutators(RegisterPreDepsMutators)
android.PostDepsMutators(RegisterPostDepsMutators)