• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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.rild.rc",
21    src: "com.google.cf.rild.rc",
22    installable: false,
23}
24
25prebuilt_etc {
26    name: "ld.config.txt",
27    src: "ld.config.txt",
28    installable: false,
29}
30
31apex {
32    name: "com.google.cf.rild",
33    manifest: "apex_manifest.json",
34    key: "com.google.cf.apex.key",
35    certificate: ":com.google.cf.apex.certificate",
36    file_contexts: "file_contexts",
37    use_vndk_as_stable: true,
38    updatable: false,
39    // Install the apex in /vendor/apex
40    soc_specific: true,
41    binaries: [
42        "libcuttlefish-rild",
43    ],
44    native_shared_libs: [
45        "libcuttlefish-ril-2",
46    ],
47    prebuilts: [
48        "android.hardware.telephony.gsm.prebuilt.xml",
49        "android.hardware.telephony.ims.prebuilt.xml",
50        "android.hardware.telephony.satellite.prebuilt.xml",
51        "com.google.cf.rild.rc",
52        "ld.config.txt",
53    ],
54    vintf_fragments: [":libril-modem-lib-manifests"],
55    overrides: [
56        "libril",
57        "libreference-ril",
58        "rild",
59    ],
60}
61