aboutsummaryrefslogtreecommitdiffstats
path: root/apex
diff options
context:
space:
mode:
authorJaewoong Jung <jungjw@google.com>2019-02-22 16:28:40 -0800
committerJaewoong Jung <jungjw@google.com>2019-02-27 14:35:39 -0800
commitaa65e17016152d0d73cd10ab3987bc3bd5c2ef91 (patch)
treea5438418e791c46ff902a1f919fddce269342a45 /apex
parent6bd446620c663de2aba60f1dde554e8ebca39f6a (diff)
downloadbuild_soong-aa65e17016152d0d73cd10ab3987bc3bd5c2ef91.tar.gz
build_soong-aa65e17016152d0d73cd10ab3987bc3bd5c2ef91.tar.bz2
build_soong-aa65e17016152d0d73cd10ab3987bc3bd5c2ef91.zip
Add override_module.
This new module type replaces the inherit-package function in make by allowing developers to override the name, the certificate, and the manifest package name of an android_app module. Bug: 122957760 Fixes: 123640028 Test: app_test.go + BrowserGoogle Change-Id: Iefe447e7078b25039233221361ef95c83a29973a
Diffstat (limited to 'apex')
-rw-r--r--apex/apex.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/apex/apex.go b/apex/apex.go
index 9ab51875..5d0c52a9 100644
--- a/apex/apex.go
+++ b/apex/apex.go
@@ -534,7 +534,7 @@ func (a *apexBundle) DepsMutator(ctx android.BottomUpMutatorContext) {
func (a *apexBundle) getCertString(ctx android.BaseContext) string {
certificate, overridden := ctx.DeviceConfig().OverrideCertificateFor(ctx.ModuleName())
if overridden {
- return ":" + certificate
+ return certificate
}
return String(a.properties.Certificate)
}