summaryrefslogtreecommitdiffstats
path: root/NativeCode.mk
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2012-08-28 17:56:09 -0700
committerElliott Hughes <enh@google.com>2012-08-28 17:56:09 -0700
commit73d3e262ecf514ef17f47da335fdad899aecc3dc (patch)
treeae19ecfc6d5f54a8716dadc4bd187ff0066e38f8 /NativeCode.mk
parentd285287034b34bbb67b6cfdc8065468cbcbac585 (diff)
downloadlibcore-73d3e262ecf514ef17f47da335fdad899aecc3dc.zip
libcore-73d3e262ecf514ef17f47da335fdad899aecc3dc.tar.gz
libcore-73d3e262ecf514ef17f47da335fdad899aecc3dc.tar.bz2
Add dependencies on the makefiles.
I've been enjoying this in bionic for a while now, and was annoyed not to have make do the right thing in libcore. Change-Id: Idcd2db48349202259887499a1f47d85c5d205d54
Diffstat (limited to 'NativeCode.mk')
-rw-r--r--NativeCode.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/NativeCode.mk b/NativeCode.mk
index fae0fce..1aab901 100644
--- a/NativeCode.mk
+++ b/NativeCode.mk
@@ -53,6 +53,7 @@ endef
# set up.
include $(CLEAR_VARS)
LOCAL_MODULE := $(core_magic_local_target)
+LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/NativeCode.mk
core_src_files :=
# Include the sub.mk files.
@@ -88,6 +89,7 @@ LOCAL_SHARED_LIBRARIES := $(core_shared_libraries) libexpat libicuuc libicui18n
LOCAL_STATIC_LIBRARIES := $(core_static_libraries)
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE := libjavacore
+LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/NativeCode.mk
LOCAL_C_INCLUDES += external/stlport/stlport bionic/ bionic/libstdc++/include
LOCAL_SHARED_LIBRARIES += libstlport
@@ -108,6 +110,7 @@ ifeq ($(WITH_HOST_DALVIK),true)
LOCAL_LDLIBS += -ldl -lpthread
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE := libjavacore
+ LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/NativeCode.mk
LOCAL_SHARED_LIBRARIES := $(core_shared_libraries) libexpat libicuuc libicui18n libssl libcrypto libz-host
LOCAL_STATIC_LIBRARIES := $(core_static_libraries)
include $(BUILD_HOST_SHARED_LIBRARY)