Correct way to specify additional dependencies
Previous one was not covering all the targets Bug: 17548097 Change-Id: I425e0f8d6e5a43feabd29dcb327049b82754d249
This commit is contained in:
parent
5281e1fb15
commit
4a9e1937c5
@ -15,7 +15,7 @@
|
||||
#
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES := $(common_additional_dependencies)
|
||||
|
||||
LOCAL_MODULE := $(module)
|
||||
LOCAL_MODULE_TAGS := $(module_tag)
|
||||
|
@ -28,6 +28,8 @@ else
|
||||
build_host := false
|
||||
endif
|
||||
|
||||
common_additional_dependencies := $(LOCAL_PATH)/Android.mk $(LOCAL_PATH)/Android.build.mk
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# All standard tests.
|
||||
# -----------------------------------------------------------------------------
|
||||
@ -427,7 +429,5 @@ endif
|
||||
|
||||
endif # linux-x86
|
||||
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk $(LOCAL_PATH)/Android.build.mk
|
||||
|
||||
include $(call first-makefiles-under,$(LOCAL_PATH))
|
||||
endif # !BUILD_TINY_ANDROID
|
||||
|
@ -18,6 +18,12 @@ LOCAL_PATH := $(call my-dir)
|
||||
TEST_PATH := $(LOCAL_PATH)/..
|
||||
|
||||
common_cppflags += -std=gnu++11
|
||||
common_additional_dependencies := \
|
||||
$(LOCAL_PATH)/Android.mk \
|
||||
$(LOCAL_PATH)/Android.build.dlext_testzip.mk \
|
||||
$(LOCAL_PATH)/Android.build.testlib.mk \
|
||||
$(TEST_PATH)/Android.build.mk
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# Library used by dlfcn tests.
|
||||
# -----------------------------------------------------------------------------
|
||||
@ -348,9 +354,3 @@ libtest_dlsym_weak_func_src_files := \
|
||||
|
||||
module := libtest_dlsym_weak_func
|
||||
include $(LOCAL_PATH)/Android.build.testlib.mk
|
||||
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES := \
|
||||
$(LOCAL_PATH)/Android.mk \
|
||||
$(LOCAL_PATH)/Android.build.dlext_testzip.mk \
|
||||
$(LOCAL_PATH)/Android.build.testlib.mk \
|
||||
$(TEST_PATH)/Android.build.mk
|
||||
|
Loading…
x
Reference in New Issue
Block a user