am 17bfe263: Use LOCAL_REQUIRED_MODULES instead of LOCAL_ADDITIONAL_DEPENDENCIES so we only relink the tests on libart changes but do not recompile them.
* commit '17bfe263d8a37aa4da4c5088e4245dedaebc3ff8':
Use LOCAL_REQUIRED_MODULES instead of LOCAL_ADDITIONAL_DEPENDENCIES so we only relink the tests on libart changes but do not recompile them.
diff --git a/build/Android.gtest.mk b/build/Android.gtest.mk
index 0fb8b01..407cef9 100644
--- a/build/Android.gtest.mk
+++ b/build/Android.gtest.mk
@@ -107,13 +107,9 @@
LOCAL_C_INCLUDES += $(ART_C_INCLUDES) art/runtime art/compiler
LOCAL_SHARED_LIBRARIES := libartd-compiler libartd
# dex2oatd is needed to go libartd-compiler and libartd
- ifeq ($$(art_target_or_host),target)
- LOCAL_ADDITIONAL_DEPENDENCIES := $(TARGET_OUT_EXECUTABLES)/dex2oatd
- else
- LOCAL_ADDITIONAL_DEPENDENCIES := $(HOST_OUT_EXECUTABLES)/dex2oatd
- endif
+ LOCAL_REQUIRED_MODULES := dex2oatd
- LOCAL_ADDITIONAL_DEPENDENCIES += art/build/Android.common.mk
+ LOCAL_ADDITIONAL_DEPENDENCIES := art/build/Android.common.mk
LOCAL_ADDITIONAL_DEPENDENCIES += art/build/Android.gtest.mk
# Mac OS linker doesn't understand --export-dynamic.