summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaewoong Jung <jungjw@google.com>2020-06-04 17:02:45 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-06-04 17:02:45 +0000
commit61980a2afb319198af92e53ad82c01ce74f028b4 (patch)
treee1ad9714a372ff8e7c82fa514a436c79bbf3dfc2
parentcdcf0feafaedf844390522b81cd2c48ec2b08d7d (diff)
parent1f4f211d8d7675643799b00e24b5e57ade9f0af1 (diff)
downloadca-certificates-android11-mainline-documentsui-release.tar.gz
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/ca-certificates/+/11709848 Change-Id: I6a343185853402c29fb16dbefd13dedf75252387
-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)