1// Copyright (C) 2021 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 15package { 16 default_applicable_licenses: ["Android-Apache-2.0"], 17} 18 19prebuilt_etc { 20 name: "com.google.cf.bt.rc", 21 src: "com.google.cf.bt.rc", 22 installable: false, 23} 24 25prebuilt_etc { 26 name: "android.hardware.bluetooth-service.default.xml", 27 src: ":manifest_android.hardware.bluetooth-service.default.xml", 28 sub_dir: "vintf", 29 installable: false, 30} 31 32prebuilt_etc { 33 name: "android.hardware.bluetooth.finder-service.default.xml", 34 src: ":manifest_android.hardware.bluetooth.finder-service.default.xml", 35 sub_dir: "vintf", 36 installable: false, 37} 38 39prebuilt_etc { 40 name: "android.hardware.bluetooth.ranging-service.default.xml", 41 src: ":manifest_android.hardware.bluetooth.ranging-service.default.xml", 42 sub_dir: "vintf", 43 installable: false, 44} 45 46prebuilt_etc { 47 name: "android.hardware.bluetooth.lmp_event-service.default.xml", 48 src: ":manifest_android.hardware.bluetooth.lmp_event-service.default.xml", 49 sub_dir: "vintf", 50 installable: false, 51} 52 53apex { 54 name: "com.google.cf.bt", 55 manifest: "manifest.json", 56 file_contexts: "file_contexts", 57 key: "com.google.cf.apex.key", 58 certificate: ":com.google.cf.apex.certificate", 59 updatable: false, 60 soc_specific: true, 61 62 binaries: [ 63 "android.hardware.bluetooth-service.default", 64 "android.hardware.bluetooth.finder-service.default", 65 "android.hardware.bluetooth.ranging-service.default", 66 "android.hardware.bluetooth.lmp_event-service.default", 67 "bt_vhci_forwarder", 68 ], 69 prebuilts: [ 70 // permissions 71 "android.hardware.bluetooth_le.prebuilt.xml", 72 "android.hardware.bluetooth.prebuilt.xml", 73 // vintf 74 "android.hardware.bluetooth-service.default.xml", 75 "android.hardware.bluetooth.finder-service.default.xml", 76 "android.hardware.bluetooth.ranging-service.default.xml", 77 "android.hardware.bluetooth.lmp_event-service.default.xml", 78 // init rc 79 "com.google.cf.bt.rc", 80 ], 81} 82