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 | } |
Remi NGUYEN VAN | 4727427 | 2019-01-30 23:39:24 +0900 | [diff] [blame] | 20 | |
| 21 | java_library_static { |
| 22 | name: "metrics-constants-protos", |
| 23 | host_supported: true, |
| 24 | proto: { |
| 25 | type: "nano", |
| 26 | }, |
| 27 | srcs: ["src/metrics_constants.proto"], |
| 28 | no_framework_libs: true, |
| 29 | sdk_version: "system_current", |
Remi NGUYEN VAN | 4727427 | 2019-01-30 23:39:24 +0900 | [diff] [blame] | 30 | } |