Colin Cross | 747e7c1 | 2017-10-24 16:21:22 -0700 | [diff] [blame] | 1 | java_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 Thierer | d65595a | 2018-02-05 15:49:52 +0000 | [diff] [blame] | 9 | // Pin java_version until jarjar is certified to support later versions. http://b/72703434 |
| 10 | java_version: "1.8", |
Colin Cross | 747e7c1 | 2017-10-24 16:21:22 -0700 | [diff] [blame] | 11 | target: { |
| 12 | android: { |
| 13 | jarjar_rules: "jarjar-rules.txt", |
| 14 | }, |
| 15 | host: { |
| 16 | static_libs: ["libprotobuf-java-nano"], |
| 17 | }, |
| 18 | }, |
| 19 | } |