am dec4de45: Merge "Correct way to specify additional dependencies"

* commit 'dec4de456c046881fb1e8c7c7d0c27a11ef09eb7':
  Correct way to specify additional dependencies
This commit is contained in:
Dmitriy Ivanov 2014-10-17 20:33:55 +00:00 committed by Android Git Automerger
commit d8c3171172
3 changed files with 9 additions and 9 deletions

View File

@ -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)

View File

@ -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

View File

@ -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