Bob Badour | e539dba | 2021-02-12 17:07:05 -0800 | [diff] [blame] | 1 | package { |
| 2 | // See: http://go/android-license-faq |
| 3 | // A large-scale-change added 'default_applicable_licenses' to import |
| 4 | // all of the 'license_kinds' from "frameworks_base_license" |
| 5 | // to get the below license kinds: |
| 6 | // SPDX-license-identifier-Apache-2.0 |
| 7 | default_applicable_licenses: ["frameworks_base_license"], |
| 8 | } |
| 9 | |
Colin Cross | 747e7c1 | 2017-10-24 16:21:22 -0700 | [diff] [blame] | 10 | java_library_static { |
| 11 | name: "framework-protos", |
| 12 | host_supported: true, |
| 13 | proto: { |
| 14 | type: "nano", |
| 15 | }, |
| 16 | srcs: ["src/**/*.proto"], |
Wale Ogunwale | 691af68 | 2019-02-11 03:09:10 -0800 | [diff] [blame] | 17 | sdk_version: "9", |
Tobias Thierer | d65595a | 2018-02-05 15:49:52 +0000 | [diff] [blame] | 18 | // Pin java_version until jarjar is certified to support later versions. http://b/72703434 |
| 19 | java_version: "1.8", |
Colin Cross | 747e7c1 | 2017-10-24 16:21:22 -0700 | [diff] [blame] | 20 | target: { |
| 21 | android: { |
| 22 | jarjar_rules: "jarjar-rules.txt", |
| 23 | }, |
| 24 | host: { |
| 25 | static_libs: ["libprotobuf-java-nano"], |
| 26 | }, |
| 27 | }, |
| 28 | } |
Remi NGUYEN VAN | 8551d39 | 2019-01-31 15:34:12 +0900 | [diff] [blame] | 29 | |
| 30 | java_library_static { |
| 31 | name: "metrics-constants-protos", |
| 32 | host_supported: true, |
| 33 | proto: { |
| 34 | type: "nano", |
| 35 | }, |
| 36 | srcs: ["src/metrics_constants/metrics_constants.proto"], |
Remi NGUYEN VAN | 8551d39 | 2019-01-31 15:34:12 +0900 | [diff] [blame] | 37 | sdk_version: "system_current", |
Jooyung Han | 6c8a51c | 2020-06-16 01:39:56 +0900 | [diff] [blame] | 38 | // this is part of updatable modules(CaptivePortalLogin) which targets 29(Q) |
| 39 | min_sdk_version: "29", |
Remi NGUYEN VAN | 8551d39 | 2019-01-31 15:34:12 +0900 | [diff] [blame] | 40 | } |
David Su | 6bb0d10 | 2020-01-12 15:41:07 -0800 | [diff] [blame] | 41 | |
| 42 | filegroup { |
| 43 | name: "system-messages-proto-src", |
| 44 | srcs: ["src/system_messages.proto"], |
| 45 | } |
Mike Ma | d2672bd | 2020-01-15 15:57:20 -0800 | [diff] [blame] | 46 | |
| 47 | filegroup { |
| 48 | name: "ipconnectivity-proto-src", |
| 49 | srcs: ["src/ipconnectivity.proto"], |
| 50 | } |