Android.mk 970 B

123456789101112131415161718192021222324252627282930
  1. LOCAL_PATH:= $(call my-dir)
  2. include $(CLEAR_VARS)
  3. LOCAL_SRC_FILES := $(call all-java-files-under,src)
  4. # To connect to devices (and take hprof dumps).
  5. LOCAL_STATIC_JAVA_LIBRARIES := ddmlib-prebuilt tools-common-prebuilt
  6. # To process hprof dumps.
  7. LOCAL_STATIC_JAVA_LIBRARIES += perflib-prebuilt trove-prebuilt guavalib
  8. # For JDWP access we use the framework in the JDWP tests from Apache Harmony, for
  9. # convenience (and to not depend on internal JDK APIs).
  10. LOCAL_STATIC_JAVA_LIBRARIES += apache-harmony-jdwp-tests-host junit-host
  11. LOCAL_MODULE:= preload2
  12. include $(BUILD_HOST_JAVA_LIBRARY)
  13. # Copy to build artifacts
  14. $(call dist-for-goals,dist_files,$(LOCAL_BUILT_MODULE):$(LOCAL_MODULE).jar)
  15. # Copy the preload-tool shell script to the host's bin directory.
  16. include $(CLEAR_VARS)
  17. LOCAL_IS_HOST_MODULE := true
  18. LOCAL_MODULE_CLASS := EXECUTABLES
  19. LOCAL_MODULE := preload-tool
  20. LOCAL_SRC_FILES := preload-tool
  21. LOCAL_REQUIRED_MODULES := preload2
  22. include $(BUILD_PREBUILT)