1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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'],
)
|