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, |
Wale Ogunwale | 691af68 | 2019-02-11 03:09:10 -0800 | [diff] [blame] | 9 | sdk_version: "9", |
Tobias Thierer | d65595a | 2018-02-05 15:49:52 +0000 | [diff] [blame] | 10 | // Pin java_version until jarjar is certified to support later versions. http://b/72703434 |
| 11 | java_version: "1.8", |
Colin Cross | 747e7c1 | 2017-10-24 16:21:22 -0700 | [diff] [blame] | 12 | target: { |
| 13 | android: { |
| 14 | jarjar_rules: "jarjar-rules.txt", |
| 15 | }, |
| 16 | host: { |
| 17 | static_libs: ["libprotobuf-java-nano"], |
| 18 | }, |
| 19 | }, |
| 20 | } |
Remi NGUYEN VAN | 8551d39 | 2019-01-31 15:34:12 +0900 | [diff] [blame] | 21 | |
| 22 | java_library_static { |
| 23 | name: "metrics-constants-protos", |
| 24 | host_supported: true, |
| 25 | proto: { |
| 26 | type: "nano", |
| 27 | }, |
| 28 | srcs: ["src/metrics_constants/metrics_constants.proto"], |
| 29 | no_framework_libs: true, |
| 30 | sdk_version: "system_current", |
Remi NGUYEN VAN | 8551d39 | 2019-01-31 15:34:12 +0900 | [diff] [blame] | 31 | } |