summaryrefslogtreecommitdiffstats
path: root/ridljar/BUCK
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:06:44 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:06:44 +0000
commited5640d8b587fbcfed7dd7967f3de04b37a76f26 (patch)
tree7a5f7c6c9d02226d7471cb3cc8fbbf631b415303 /ridljar/BUCK
parentInitial commit. (diff)
downloadlibreoffice-upstream.tar.xz
libreoffice-upstream.zip
Adding upstream version 4:7.4.7.upstream/4%7.4.7upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'ridljar/BUCK')
-rw-r--r--ridljar/BUCK46
1 files changed, 46 insertions, 0 deletions
diff --git a/ridljar/BUCK b/ridljar/BUCK
new file mode 100644
index 000000000..b67d1c6a1
--- /dev/null
+++ b/ridljar/BUCK
@@ -0,0 +1,46 @@
+
+genrule(
+ name = 'ridl-src',
+ cmd = ' && '.join([
+ 'cd $TMP',
+ 'echo "FAKE SOURCE ARCHIVE" > README',
+ 'zip -qr $OUT *',
+ ]),
+ out = 'ridl-src.jar',
+ visibility = ['PUBLIC'],
+)
+
+genrule(
+ name = 'ridl-javadoc',
+ cmd = ' && '.join([
+ 'cd $TMP',
+ 'echo "FAKE JAVADOC ARCHIVE" > README',
+ 'zip -qr $OUT *',
+ ]),
+ out = 'ridl-javadoc.jar',
+ visibility = ['PUBLIC'],
+)
+
+java_sources(
+ name = 'libreoffice-src',
+ srcs = glob(['com/**']),
+ root = '.',
+ visibility = ['PUBLIC'],
+)
+
+java_doc(
+ name = 'libreoffice-javadoc',
+ title = 'LibreOffice types for the Java Uno typesystem',
+ pkgs = [
+ 'com.sun.star.comp',
+ 'com.sun.star.lib',
+ 'com.sun.star.uno',
+ ],
+ paths = ['.'],
+ srcs = glob(['com/**']),
+ deps = [
+ '//:unoloader',
+ '//:libreoffice',
+ ],
+ visibility = ['PUBLIC'],
+)