• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright (C) 2025 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//      http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14//
15// This file is autogenerated by copybara, please do not edit.
16
17license {
18    name: "linux_firmware_btusb-r8822cu_license",
19    visibility: ["//visibility:private"],
20    license_kinds: ["BSD-Binary-Only"],
21    license_text: ["LICENSE"],
22}
23
24install_symlink {
25    name: "linux_firmware_btusb-r8822cu-symlink-1",
26    visibility: ["//visibility:private"],
27    symlink_target: "rtl8761bu_config.bin",
28    installed_location: "firmware/rtl_bt/rtl8822cu_config.bin",
29    vendor: true,
30}
31
32prebuilt_firmware {
33    name: "linux_firmware_btusb-r8822cu",
34    // In general linux-firmware gets pulled in by a product adding it
35    // to PRODUCT_PACKAGES, so we don't need visibility to anything outside
36    // of linux-firmware. We allow visibility between all the linux-firmware
37    // sub-packages so that one linux-firmare can use `required` for other
38    // linux-firmware.
39    visibility: ["//external/linux-firmware:__subpackages__"],
40    licenses: ["linux_firmware_btusb-r8822cu_license"],
41    srcs: ["rtl_bt/rtl8822cu_fw.bin"],
42    dsts: ["rtl_bt/rtl8822cu_fw.bin"],
43    vendor: true,
44    required: [
45        "linux_firmware_btusb-rtl8761bu_config",
46        "linux_firmware_btusb-r8822cu-symlink-1",
47    ],
48}
49