Add Android.mk as a dependency as well
Change-Id: I19e91eb766fcc55e9a610421a67a7c8706fdaa46
diff --git a/keystore-engine/Android.mk b/keystore-engine/Android.mk
index acad442..40fb6c3 100644
--- a/keystore-engine/Android.mk
+++ b/keystore-engine/Android.mk
@@ -37,4 +37,6 @@
libbinder \
libkeystore_binder
+LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
+
include $(BUILD_SHARED_LIBRARY)
diff --git a/keystore/Android.mk b/keystore/Android.mk
index 8824dfe..dd3a12d 100644
--- a/keystore/Android.mk
+++ b/keystore/Android.mk
@@ -23,6 +23,7 @@
LOCAL_SHARED_LIBRARIES := libcutils libcrypto libhardware libkeystore_binder libutils libbinder
LOCAL_MODULE := keystore
LOCAL_MODULE_TAGS := optional
+LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
@@ -32,6 +33,7 @@
LOCAL_SHARED_LIBRARIES := libcutils libcrypto libkeystore_binder libutils libbinder
LOCAL_MODULE := keystore_cli
LOCAL_MODULE_TAGS := debug
+LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
include $(BUILD_EXECUTABLE)
# Library for keystore clients
@@ -43,4 +45,5 @@
LOCAL_MODULE_TAGS := optional
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
+LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
include $(BUILD_SHARED_LIBRARY)
diff --git a/softkeymaster/Android.mk b/softkeymaster/Android.mk
index 63c2ba1..8e19a93 100644
--- a/softkeymaster/Android.mk
+++ b/softkeymaster/Android.mk
@@ -32,4 +32,6 @@
LOCAL_MODULE_TAGS := optional
+LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
+
include $(BUILD_SHARED_LIBRARY)