Use more variables from Soong
Remove more copies of variables that are computed by Soong.
Test: m checkbuild
Change-Id: If78d4650438cc91d00c691db2fc97c5b790d5648
diff --git a/core/package_internal.mk b/core/package_internal.mk
index 2130058..c06a63c 100644
--- a/core/package_internal.mk
+++ b/core/package_internal.mk
@@ -452,7 +452,7 @@
certificate := $(LOCAL_CERTIFICATE).x509.pem
additional_certificates := $(foreach c,$(LOCAL_ADDITIONAL_CERTIFICATES), $(c).x509.pem $(c).pk8)
-$(LOCAL_BUILT_MODULE): $(private_key) $(certificate) $(SIGNAPK_JAR)
+$(LOCAL_BUILT_MODULE): $(private_key) $(certificate) $(SIGNAPK_JAR) $(SIGNAPK_JNI_LIBRARY_PATH)
$(LOCAL_BUILT_MODULE): PRIVATE_PRIVATE_KEY := $(private_key)
$(LOCAL_BUILT_MODULE): PRIVATE_CERTIFICATE := $(certificate)