Remove duplication of bootclasspath in DefaultLibraries
Don't add bootclasspath libraries as classpath dependencies too.
Test: m -j checkbuild
Change-Id: Icb45e45536ce3babab73f67d281ca593edd4ab7f
diff --git a/java/config/config.go b/java/config/config.go
index 3029a5a..4f74ef2 100644
--- a/java/config/config.go
+++ b/java/config/config.go
@@ -26,7 +26,8 @@
var (
pctx = android.NewPackageContext("android/soong/java/config")
- DefaultLibraries = []string{"core-oj", "core-libart", "ext", "framework", "okhttp"}
+ DefaultBootclasspathLibraries = []string{"core-oj", "core-libart"}
+ DefaultLibraries = []string{"ext", "framework", "okhttp"}
)
func init() {