• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1package {
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
10java_library_static {
11    name: "framework-protos",
12    host_supported: true,
13    proto: {
14        type: "nano",
15    },
16    srcs: ["src/**/*.proto"],
17    sdk_version: "9",
18    // Pin java_version until jarjar is certified to support later versions. http://b/72703434
19    java_version: "1.8",
20    target: {
21        android: {
22            jarjar_rules: "jarjar-rules.txt",
23        },
24        host: {
25            static_libs: ["libprotobuf-java-nano"],
26        },
27    },
28}
29
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"],
37    sdk_version: "system_current",
38    // this is part of updatable modules(CaptivePortalLogin) which targets 29(Q)
39    min_sdk_version: "29",
40}
41
42filegroup {
43    name: "system-messages-proto-src",
44    srcs: ["src/system_messages.proto"],
45}
46
47filegroup {
48    name: "ipconnectivity-proto-src",
49    srcs: ["src/ipconnectivity.proto"],
50}
51