summaryrefslogtreecommitdiffstats
path: root/ridljar/BUCK
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 05:54:39 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 05:54:39 +0000
commit267c6f2ac71f92999e969232431ba04678e7437e (patch)
tree358c9467650e1d0a1d7227a21dac2e3d08b622b2 /ridljar/BUCK
parentInitial commit. (diff)
downloadlibreoffice-267c6f2ac71f92999e969232431ba04678e7437e.tar.xz
libreoffice-267c6f2ac71f92999e969232431ba04678e7437e.zip
Adding upstream version 4:24.2.0.upstream/4%24.2.0
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 0000000000..b67d1c6a11
--- /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'],
+)