From 77a69ecb70765f09f40c249a1546b5de7b2ee7f8 Mon Sep 17 00:00:00 2001 From: Nan Zhang Date: Thu, 2 Aug 2018 16:28:26 -0700 Subject: [PATCH] Use config.DefaultLibraries for droiddoc Test: m -j ds-static-docs Bug: b/70351683 Change-Id: I867fb12004e0b6e1bc22f455585386109f0df2d1 --- java/droiddoc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/droiddoc.go b/java/droiddoc.go index 5b02abbd4..137eaaffb 100644 --- a/java/droiddoc.go +++ b/java/droiddoc.go @@ -349,7 +349,7 @@ func (j *Javadoc) addDeps(ctx android.BottomUpMutatorContext) { ctx.AddDependency(ctx.Module(), systemModulesTag, config.DefaultSystemModules) } if !Bool(j.properties.No_framework_libs) { - ctx.AddDependency(ctx.Module(), libTag, []string{"ext", "framework"}...) + ctx.AddDependency(ctx.Module(), libTag, config.DefaultLibraries...) } } else if sdkDep.useModule { if ctx.Config().TargetOpenJDK9() {