aboutsummaryrefslogtreecommitdiffstats
path: root/android
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2019-04-09 21:36:26 -0700
committerMichael Bestas <mkbestas@lineageos.org>2019-12-11 19:03:32 +0200
commit97152308e7c69ada3dd25121c0757db449689521 (patch)
treeb837e522b4c3a986352391f2446a2ab0cda37c96 /android
parent6e6370c4aa46a35d0fe504a34507fd9173990f9a (diff)
downloadbuild_soong-97152308e7c69ada3dd25121c0757db449689521.tar.gz
build_soong-97152308e7c69ada3dd25121c0757db449689521.tar.bz2
build_soong-97152308e7c69ada3dd25121c0757db449689521.zip
Stop using build/target -> build/make/target symlink
Instead, fully specify build/make/target/... everywhere Test: treehugger Change-Id: I07ba0e9b0604919a271afd5133070616e1f404fc
Diffstat (limited to 'android')
-rw-r--r--android/config.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/android/config.go b/android/config.go
index d1db87b2..0bf6ee31 100644
--- a/android/config.go
+++ b/android/config.go
@@ -584,7 +584,7 @@ func (c *config) DefaultAppCertificateDir(ctx PathContext) SourcePath {
if defaultCert != "" {
return PathForSource(ctx, filepath.Dir(defaultCert))
} else {
- return PathForSource(ctx, "build/target/product/security")
+ return PathForSource(ctx, "build/make/target/product/security")
}
}
@@ -601,7 +601,7 @@ func (c *config) DefaultAppCertificate(ctx PathContext) (pem, key SourcePath) {
func (c *config) ApexKeyDir(ctx ModuleContext) SourcePath {
// TODO(b/121224311): define another variable such as TARGET_APEX_KEY_OVERRIDE
defaultCert := String(c.productVariables.DefaultAppCertificate)
- if defaultCert == "" || filepath.Dir(defaultCert) == "build/target/product/security" {
+ if defaultCert == "" || filepath.Dir(defaultCert) == "build/make/target/product/security" {
// When defaultCert is unset or is set to the testkeys path, use the APEX keys
// that is under the module dir
return pathForModuleSrc(ctx)