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 "system_bt_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-Apache-2.0
7    default_applicable_licenses: ["system_bt_license"],
8}
9
10java_library_static {
11    name: "bluetooth-protos-lite",
12    host_supported: true,
13    proto: {
14        type: "lite",
15    },
16    srcs: [
17        "bluetooth/metrics/bluetooth.proto",
18        "bluetooth/bluetoothKeystore/keystore.proto",
19    ],
20    apex_available: [
21        "//apex_available:platform",
22        "com.android.bluetooth.updatable",
23    ],
24}
25
26cc_library_static {
27    name: "libbt-protos-lite",
28    host_supported: true,
29    proto: {
30        export_proto_headers: true,
31        type: "lite",
32    },
33    srcs: [
34        "bluetooth/metrics/bluetooth.proto",
35        "bluetooth/bluetoothKeystore/keystore.proto",
36    ],
37    apex_available: [
38        "//apex_available:platform",
39        "com.android.bluetooth.updatable",
40    ],
41}
42
43cc_library_static {
44    name: "libbluetooth-protos",
45    host_supported: true,
46    proto: {
47        export_proto_headers: true,
48        type: "lite",
49        include_dirs: ["external/protobuf/src"],
50    },
51    srcs: [
52        "bluetooth/metrics/bluetooth.proto",
53        "bluetooth/bluetoothKeystore/keystore.proto",
54    ],
55    apex_available: [
56        "//apex_available:platform",
57        "com.android.bluetooth.updatable",
58    ],
59}
60