Always include JAR dependencies (not just with --static-deps) in Makefile
Bug: 76692459
Test: ./update_current.py -x <build-id>
Change-Id: Ie0f77e52089adbe153d668fe39902545f469f2d2
diff --git a/cmd/pom2mk/pom2mk.go b/cmd/pom2mk/pom2mk.go
index 63bcbb6..bf47896 100644
--- a/cmd/pom2mk/pom2mk.go
+++ b/cmd/pom2mk/pom2mk.go
@@ -195,9 +195,10 @@
LOCAL_MODULE_SUFFIX := .{{.Packaging}}
LOCAL_USE_AAPT2 := true
LOCAL_SDK_VERSION := {{.SdkVersion}}
-LOCAL_STATIC_ANDROID_LIBRARIES := \
-{{range .MkAarDeps}} {{.}} \
-{{end}}
+LOCAL_STATIC_JAVA_LIBRARIES :={{range .MkJarDeps}} \
+ {{.}}{{end}}
+LOCAL_STATIC_ANDROID_LIBRARIES :={{range .MkAarDeps}} \
+ {{.}}{{end}}
include $(BUILD_PREBUILT)
`))