summaryrefslogtreecommitdiff
path: root/java/system_modules.go
diff options
context:
space:
mode:
author Paul Duffin <paulduffin@google.com> 2021-04-02 10:24:13 +0100
committer Paul Duffin <paulduffin@google.com> 2021-04-06 21:20:58 +0100
commit864116ce3f76ef7bcde9a5779a1df0d9facaa4ea (patch)
tree8aeab82bfa9d3c4c36c590887b0d345f74d34035 /java/system_modules.go
parente1d3837645846596d3db0e0e5bc559e8d2876e0b (diff)
Add PrebuiltNameFromSource
Bug: 177892522 Test: m nothing Change-Id: I45274836d59adbd6b2a2a848705b189398f1e766
Diffstat (limited to 'java/system_modules.go')
-rw-r--r--java/system_modules.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/system_modules.go b/java/system_modules.go
index 8c69051ae..320a2bbbf 100644
--- a/java/system_modules.go
+++ b/java/system_modules.go
@@ -236,7 +236,7 @@ func (system *systemModulesImport) Prebuilt() *android.Prebuilt {
// modules.
func (system *systemModulesImport) ComponentDepsMutator(ctx android.BottomUpMutatorContext) {
for _, lib := range system.properties.Libs {
- ctx.AddVariationDependencies(nil, systemModulesLibsTag, "prebuilt_"+lib)
+ ctx.AddVariationDependencies(nil, systemModulesLibsTag, android.PrebuiltNameFromSource(lib))
}
}