Merge "Build System: Add variable for copying test config"
am: ef2c15314b
Change-Id: Ib3e1c926d1eb83f35512c76e7a73358bf9495bc6
This commit is contained in:
commit
66d2f42d40
2 changed files with 6 additions and 2 deletions
|
@ -583,8 +583,11 @@ else
|
|||
$(eval n := $(or $(word 2,$(p)),$(notdir $(word 1, $(p))))) \
|
||||
$(foreach dir, $(call compatibility_suite_dirs,$(suite)), \
|
||||
$(s):$(dir)/$(n)))))
|
||||
|
||||
test_config := $(wildcard $(LOCAL_PATH)/AndroidTest.xml)
|
||||
ifeq (,$(LOCAL_TEST_CONFIG))
|
||||
test_config := $(wildcard $(LOCAL_PATH)/AndroidTest.xml)
|
||||
else
|
||||
test_config := $(LOCAL_PATH)/$(LOCAL_TEST_CONFIG)
|
||||
endif
|
||||
ifeq (,$(test_config))
|
||||
ifneq (true,$(is_native))
|
||||
is_instrumentation_test := true
|
||||
|
|
|
@ -270,6 +270,7 @@ LOCAL_STATIC_LIBRARIES:=
|
|||
LOCAL_STRIP_MODULE:=
|
||||
LOCAL_SYSTEM_SHARED_LIBRARIES:=none
|
||||
LOCAL_TARGET_REQUIRED_MODULES:=
|
||||
LOCAL_TEST_CONFIG:=
|
||||
LOCAL_TEST_CONFIG_OPTIONS:=
|
||||
LOCAL_TEST_DATA:=
|
||||
LOCAL_TEST_MODULE_TO_PROGUARD_WITH:=
|
||||
|
|
Loading…
Reference in a new issue