blob: 817a54d93268d8ae04f2ffca74935dc26cae181f [file] [log] [blame]
Colin Cross747e7c12017-10-24 16:21:22 -07001java_library_static {
2 name: "framework-protos",
3 host_supported: true,
4 proto: {
5 type: "nano",
6 },
7 srcs: ["src/**/*.proto"],
8 no_framework_libs: true,
Tobias Thiererd65595a2018-02-05 15:49:52 +00009 // Pin java_version until jarjar is certified to support later versions. http://b/72703434
10 java_version: "1.8",
Colin Cross747e7c12017-10-24 16:21:22 -070011 target: {
12 android: {
13 jarjar_rules: "jarjar-rules.txt",
14 },
15 host: {
16 static_libs: ["libprotobuf-java-nano"],
17 },
18 },
19}
Remi NGUYEN VAN8551d392019-01-31 15:34:12 +090020
21java_library_static {
22 name: "metrics-constants-protos",
23 host_supported: true,
24 proto: {
25 type: "nano",
26 },
27 srcs: ["src/metrics_constants/metrics_constants.proto"],
28 no_framework_libs: true,
29 sdk_version: "system_current",
30 // Pin java_version until jarjar is certified to support later versions. http://b/72703434
31 java_version: "1.8",
32 target: {
33 android: {
34 jarjar_rules: "jarjar-rules.txt",
35 },
36 host: {
37 static_libs: ["libprotobuf-java-nano"],
38 },
39 },
40}