Correct way to specify additional dependencies
Previous one was not covering all the targets Bug: 17548097 Bug: 18186310 (cherry picked from commit 4a9e1937c56511aef579312bf39ab345f9179230) Change-Id: I2cd9e58893555d16cbfe291b2d1279621489d5ad
This commit is contained in:
parent
382e06ce8e
commit
4d0c1f673f
@ -15,6 +15,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
|
LOCAL_ADDITIONAL_DEPENDENCIES := $(common_additional_dependencies)
|
||||||
|
|
||||||
LOCAL_MODULE := $(module)
|
LOCAL_MODULE := $(module)
|
||||||
LOCAL_MODULE_TAGS := $(module_tag)
|
LOCAL_MODULE_TAGS := $(module_tag)
|
||||||
|
@ -28,6 +28,8 @@ else
|
|||||||
build_host := false
|
build_host := false
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
common_additional_dependencies := $(LOCAL_PATH)/Android.mk $(LOCAL_PATH)/Android.build.mk
|
||||||
|
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
# All standard tests.
|
# All standard tests.
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
|
@ -17,6 +17,13 @@
|
|||||||
LOCAL_PATH := $(call my-dir)
|
LOCAL_PATH := $(call my-dir)
|
||||||
TEST_PATH := $(LOCAL_PATH)/..
|
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.
|
# Library used by dlfcn tests.
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user