blob: a5e13350ebd221c901a092c846dc436395a15455 [file] [log] [blame]
Bob Badoure539dba2021-02-12 17:07:05 -08001package {
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 Cross747e7c12017-10-24 16:21:22 -070010java_library_static {
11 name: "framework-protos",
12 host_supported: true,
13 proto: {
14 type: "nano",
15 },
16 srcs: ["src/**/*.proto"],
Wale Ogunwale691af682019-02-11 03:09:10 -080017 sdk_version: "9",
Tobias Thiererd65595a2018-02-05 15:49:52 +000018 // Pin java_version until jarjar is certified to support later versions. http://b/72703434
19 java_version: "1.8",
Colin Cross747e7c12017-10-24 16:21:22 -070020 target: {
21 android: {
22 jarjar_rules: "jarjar-rules.txt",
23 },
24 host: {
25 static_libs: ["libprotobuf-java-nano"],
26 },
27 },
28}
Remi NGUYEN VAN8551d392019-01-31 15:34:12 +090029
30java_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 VAN8551d392019-01-31 15:34:12 +090037 sdk_version: "system_current",
Jooyung Han6c8a51c2020-06-16 01:39:56 +090038 // this is part of updatable modules(CaptivePortalLogin) which targets 29(Q)
39 min_sdk_version: "29",
Remi NGUYEN VAN8551d392019-01-31 15:34:12 +090040}
David Su6bb0d102020-01-12 15:41:07 -080041
42filegroup {
43 name: "system-messages-proto-src",
44 srcs: ["src/system_messages.proto"],
45}
Mike Mad2672bd2020-01-15 15:57:20 -080046
47filegroup {
48 name: "ipconnectivity-proto-src",
49 srcs: ["src/ipconnectivity.proto"],
50}