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"], |
Wale Ogunwale | 691af68 | 2019-02-11 03:09:10 -0800 | [diff] [blame] | 8 | sdk_version: "9", |
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 | 8551d39 | 2019-01-31 15:34:12 +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/metrics_constants.proto"], |
Remi NGUYEN VAN | 8551d39 | 2019-01-31 15:34:12 +0900 | [diff] [blame] | 28 | sdk_version: "system_current", |
Remi NGUYEN VAN | 8551d39 | 2019-01-31 15:34:12 +0900 | [diff] [blame] | 29 | } |
David Su | 6bb0d10 | 2020-01-12 15:41:07 -0800 | [diff] [blame] | 30 | |
| 31 | filegroup { |
| 32 | name: "system-messages-proto-src", |
| 33 | srcs: ["src/system_messages.proto"], |
| 34 | } |
Mike Ma | d2672bd | 2020-01-15 15:57:20 -0800 | [diff] [blame] | 35 | |
| 36 | filegroup { |
| 37 | name: "ipconnectivity-proto-src", |
| 38 | srcs: ["src/ipconnectivity.proto"], |
| 39 | } |