diff options
author | Brian Carlstrom <bdc@google.com> | 2011-03-06 23:15:39 -0800 |
---|---|---|
committer | Brian Carlstrom <bdc@google.com> | 2011-03-06 23:15:39 -0800 |
commit | d39b1d6298afe1cf6364d4d118596045005c8688 (patch) | |
tree | d1d6d4aa09f7a8956786dc74bdcdd8411af284cd /JavaLibrary.mk | |
parent | 546757cfab1ca7a1fb2029e7633b5db34876c63c (diff) | |
download | libcore-d39b1d6298afe1cf6364d4d118596045005c8688.zip libcore-d39b1d6298afe1cf6364d4d118596045005c8688.tar.gz libcore-d39b1d6298afe1cf6364d4d118596045005c8688.tar.bz2 |
"m dalvik-host" for quick minimal host build
Change-Id: I9df312fc2f887372e3fdb35863fa572020eb36f2
Diffstat (limited to 'JavaLibrary.mk')
-rw-r--r-- | JavaLibrary.mk | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/JavaLibrary.mk b/JavaLibrary.mk index 83ad202..7564cb5 100644 --- a/JavaLibrary.mk +++ b/JavaLibrary.mk @@ -175,6 +175,42 @@ ifeq ($(WITH_HOST_DALVIK),true) include $(BUILD_HOST_JAVA_LIBRARY) + # Make core-junit + include $(CLEAR_VARS) + LOCAL_SRC_FILES := $(call all-main-java-files-under,junit) + LOCAL_NO_STANDARD_LIBRARIES := true + LOCAL_JAVA_LIBRARIES := core-hostdex + LOCAL_JAVACFLAGS := $(local_javac_flags) + LOCAL_MODULE_TAGS := optional + LOCAL_MODULE := core-junit-hostdex + LOCAL_BUILD_HOST_DEX := true + include $(BUILD_HOST_JAVA_LIBRARY) + + # Make the sqlite JDBC driver. + include $(CLEAR_VARS) + LOCAL_SRC_FILES := $(call all-main-java-files-under,sqlite-jdbc) + LOCAL_NO_STANDARD_LIBRARIES := true + LOCAL_JAVA_LIBRARIES := core-hostdex + LOCAL_JAVACFLAGS := $(local_javac_flags) + LOCAL_MODULE_TAGS := optional + LOCAL_MODULE := sqlite-jdbc-hostdex + LOCAL_BUILD_HOST_DEX := true + include $(BUILD_HOST_JAVA_LIBRARY) + + # Make the core-tests library. + include $(CLEAR_VARS) + LOCAL_SRC_FILES := $(call all-test-java-files-under,dalvik dom json luni support xml) + LOCAL_JAVA_RESOURCE_DIRS := $(test_resource_dirs) + LOCAL_NO_STANDARD_LIBRARIES := true + LOCAL_JAVA_LIBRARIES := bouncycastle-hostdex core-hostdex core-junit-hostdex sqlite-jdbc-hostdex + LOCAL_DX_FLAGS := --core-library + LOCAL_JAVACFLAGS := $(local_javac_flags) + LOCAL_MODULE_TAGS := tests + LOCAL_MODULE := core-tests-hostdex + LOCAL_NO_EMMA_INSTRUMENT := true + LOCAL_NO_EMMA_COMPILE := true + LOCAL_BUILD_HOST_DEX := true + include $(BUILD_HOST_JAVA_LIBRARY) endif # |