summaryrefslogtreecommitdiff
path: root/cmds/uiautomator
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2017-05-30 10:57:34 -0700
committerColin Cross <ccross@android.com>2017-05-30 10:57:34 -0700
commit0b81f9727f5f67192058bbe82c8ce23467971924 (patch)
tree984edfd15dac89446e4c3ca03bf2b26c61c28025 /cmds/uiautomator
parent8e7057ccf3824d1421a12abad7a2ba8b07e877c6 (diff)
Use LOCAL_ADDITIONAL_DEPENDENCIES instead of build system internals
Instead of directly adding dependencies to full_classes_compiled_jar and full_classes_jack, just use LOCAL_ADDITIONAL_DEPENDENCIES and let the build system take care of where the dependencies are needed. Test: builds Change-Id: Ia3078fe0aa54b2d69821a9879cfe43414e1e9c4f
Diffstat (limited to 'cmds/uiautomator')
-rw-r--r--cmds/uiautomator/library/Android.mk5
1 files changed, 2 insertions, 3 deletions
diff --git a/cmds/uiautomator/library/Android.mk b/cmds/uiautomator/library/Android.mk
index f932388b0617..536cbef41feb 100644
--- a/cmds/uiautomator/library/Android.mk
+++ b/cmds/uiautomator/library/Android.mk
@@ -64,10 +64,9 @@ include $(CLEAR_VARS)
LOCAL_MODULE := android_uiautomator
LOCAL_JAVA_LIBRARIES := $(uiautomator.core_java_libraries)
LOCAL_SOURCE_FILES_ALL_GENERATED := true
-include $(BUILD_STATIC_JAVA_LIBRARY)
# Make sure to run droiddoc first to generate the stub source files.
-$(full_classes_compiled_jar) : $(uiautomator_stubs_stamp)
-$(built_dex_intermediate) : $(uiautomator_stubs_stamp)
+LOCAL_ADDITIONAL_DEPENDENCIES := $(uiautomator_stubs_stamp)
+include $(BUILD_STATIC_JAVA_LIBRARY)
###############################################
# API check