Andreas Gampe | 554d7ee | 2015-09-15 08:57:12 -0700 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | |
| 3 | include $(CLEAR_VARS) |
| 4 | |
| 5 | LOCAL_SRC_FILES := $(call all-java-files-under,src) |
Andreas Gampe | 554d7ee | 2015-09-15 08:57:12 -0700 | [diff] [blame] | 6 | |
| 7 | # To connect to devices (and take hprof dumps). |
| 8 | LOCAL_STATIC_JAVA_LIBRARIES := ddmlib-prebuilt |
| 9 | |
| 10 | # To process hprof dumps. |
| 11 | LOCAL_STATIC_JAVA_LIBRARIES += perflib-prebuilt trove-prebuilt guavalib |
| 12 | |
| 13 | # For JDWP access we use the framework in the JDWP tests from Apache Harmony, for |
| 14 | # convenience (and to not depend on internal JDK APIs). |
| 15 | LOCAL_STATIC_JAVA_LIBRARIES += apache-harmony-jdwp-tests-host junit |
| 16 | |
| 17 | LOCAL_MODULE:= preload2 |
| 18 | |
| 19 | include $(BUILD_HOST_JAVA_LIBRARY) |
| 20 | |
| 21 | # Copy the preload-tool shell script to the host's bin directory. |
| 22 | include $(CLEAR_VARS) |
| 23 | LOCAL_IS_HOST_MODULE := true |
Andreas Gampe | 554d7ee | 2015-09-15 08:57:12 -0700 | [diff] [blame] | 24 | LOCAL_MODULE_CLASS := EXECUTABLES |
| 25 | LOCAL_MODULE := preload-tool |
Dan Willemsen | 98ff0b7 | 2016-03-23 00:42:44 -0700 | [diff] [blame] | 26 | LOCAL_SRC_FILES := preload-tool |
| 27 | LOCAL_REQUIRED_MODULES := preload2 |
| 28 | include $(BUILD_PREBUILT) |