From 51c07e4b85c6dad7af20b3e79c1edd32e23e7feb Mon Sep 17 00:00:00 2001 From: Wolfgang Wiedmeyer Date: Mon, 25 Jan 2016 03:12:46 +0100 Subject: get java libraries from prebuilts/tools from host Signed-off-by: Wolfgang Wiedmeyer --- libs/host/Android.mk | 14 ++++++++++++++ libs/host/asm.jar | 1 + libs/host/guava.jar | 1 + libs/host/org-netbeans-api-visual.jar | 1 + libs/host/org-openide-util-lookup.jar | 1 + libs/host/org-openide-util.jar | 1 + 6 files changed, 19 insertions(+) create mode 120000 libs/host/asm.jar create mode 120000 libs/host/guava.jar create mode 120000 libs/host/org-netbeans-api-visual.jar create mode 120000 libs/host/org-openide-util-lookup.jar create mode 120000 libs/host/org-openide-util.jar (limited to 'libs') diff --git a/libs/host/Android.mk b/libs/host/Android.mk index cab878b..d493bce 100644 --- a/libs/host/Android.mk +++ b/libs/host/Android.mk @@ -27,3 +27,17 @@ include $(BUILD_HOST_STATIC_LIBRARY) # Include toolchain prebuilt modules if they exist. -include $(TARGET_TOOLCHAIN_ROOT)/toolchain.mk + +# prebuilt java libraries from host machines +include $(CLEAR_VARS) + +LOCAL_PREBUILT_JAVA_LIBRARIES := \ + asm-tools:asm$(COMMON_JAVA_PACKAGE_SUFFIX) \ + guava-tools:guava$(COMMON_JAVA_PACKAGE_SUFFIX) \ + org-netbeans-api-visual$(COMMON_JAVA_PACKAGE_SUFFIX) \ + org-openide-util$(COMMON_JAVA_PACKAGE_SUFFIX) \ + org-openide-util-lookup$(COMMON_JAVA_PACKAGE_SUFFIX) + +LOCAL_MODULE_TAGS := optional + +include $(BUILD_HOST_PREBUILT) diff --git a/libs/host/asm.jar b/libs/host/asm.jar new file mode 120000 index 0000000..fdaf0f5 --- /dev/null +++ b/libs/host/asm.jar @@ -0,0 +1 @@ +/usr/share/java/asm4.jar \ No newline at end of file diff --git a/libs/host/guava.jar b/libs/host/guava.jar new file mode 120000 index 0000000..03632c4 --- /dev/null +++ b/libs/host/guava.jar @@ -0,0 +1 @@ +/usr/share/java/guava.jar \ No newline at end of file diff --git a/libs/host/org-netbeans-api-visual.jar b/libs/host/org-netbeans-api-visual.jar new file mode 120000 index 0000000..42c71fd --- /dev/null +++ b/libs/host/org-netbeans-api-visual.jar @@ -0,0 +1 @@ +/usr/share/netbeans/platform18/modules/org-netbeans-api-visual.jar \ No newline at end of file diff --git a/libs/host/org-openide-util-lookup.jar b/libs/host/org-openide-util-lookup.jar new file mode 120000 index 0000000..43f4766 --- /dev/null +++ b/libs/host/org-openide-util-lookup.jar @@ -0,0 +1 @@ +/usr/share/java/org-openide-util-lookup.jar \ No newline at end of file diff --git a/libs/host/org-openide-util.jar b/libs/host/org-openide-util.jar new file mode 120000 index 0000000..6bca032 --- /dev/null +++ b/libs/host/org-openide-util.jar @@ -0,0 +1 @@ +/usr/share/java/org-openide-util.jar \ No newline at end of file -- cgit v1.1