summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2016-01-25 02:12:46 (GMT)
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-01-02 17:17:05 (GMT)
commit93b95c74b0a05997a3f74f5273fe5bac75791e5b (patch)
treed33183fb6d8f8a9dbf34670d087c9bd94ddaf1e1
parentb875c706ab040ce2ac46e79128d6484d1d9b75f9 (diff)
downloadbuild-93b95c74b0a05997a3f74f5273fe5bac75791e5b.zip
build-93b95c74b0a05997a3f74f5273fe5bac75791e5b.tar.gz
build-93b95c74b0a05997a3f74f5273fe5bac75791e5b.tar.bz2
get java libraries from prebuilts/tools from host
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
-rw-r--r--libs/host/Android.mk14
l---------libs/host/asm.jar1
l---------libs/host/guava.jar1
l---------libs/host/org-netbeans-api-visual.jar1
l---------libs/host/org-openide-util-lookup.jar1
l---------libs/host/org-openide-util.jar1
6 files changed, 19 insertions, 0 deletions
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