diff options
Diffstat (limited to 'ridljar/BUCK')
-rw-r--r-- | ridljar/BUCK | 46 |
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'], +) |