summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2020-06-04 21:41:54 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2020-06-04 21:41:54 +0000
commit8eebf2d552eca4cd94836aba1da0850bba8646f4 (patch)
treee1ad9714a372ff8e7c82fa514a436c79bbf3dfc2
parentcdcf0feafaedf844390522b81cd2c48ec2b08d7d (diff)
parent61980a2afb319198af92e53ad82c01ce74f028b4 (diff)
downloadca-certificates-android11-mainline-release.tar.gz
Change-Id: I2e75fcef67d065854f95b88e22e8b62a35744513
-rw-r--r--soong/Android.bp1
-rw-r--r--soong/ca_certificates.go5
2 files changed, 4 insertions, 2 deletions
diff --git a/soong/Android.bp b/soong/Android.bp
index 252d314..8e9789b 100644
--- a/soong/Android.bp
+++ b/soong/Android.bp
@@ -3,6 +3,7 @@ bootstrap_go_package {
pkgPath: "android/soong/system/ca-certificates",
deps: [
"soong-android",
+ "soong-etc",
"soong-phony",
],
srcs: [
diff --git a/soong/ca_certificates.go b/soong/ca_certificates.go
index fa6f141..0cddd22 100644
--- a/soong/ca_certificates.go
+++ b/soong/ca_certificates.go
@@ -7,6 +7,7 @@ import (
"github.com/google/blueprint/proptools"
"android/soong/android"
+ "android/soong/etc"
"android/soong/phony"
)
@@ -62,7 +63,7 @@ func caCertificatesFactory() android.Module {
p := phony.PhonyFactory()
c := &caCertificatesProperties{}
android.AddLoadHook(p, func(ctx android.LoadHookContext) {
- caCertificatesLoadHook(ctx, android.PrebuiltEtcFactory, c)
+ caCertificatesLoadHook(ctx, etc.PrebuiltEtcFactory, c)
})
p.AddProperties(c)
@@ -73,7 +74,7 @@ func caCertificatesHostFactory() android.Module {
p := phony.PhonyFactory()
c := &caCertificatesProperties{}
android.AddLoadHook(p, func(ctx android.LoadHookContext) {
- caCertificatesLoadHook(ctx, android.PrebuiltEtcHostFactory, c)
+ caCertificatesLoadHook(ctx, etc.PrebuiltEtcHostFactory, c)
})
p.AddProperties(c)