1package {
2    // See: http://go/android-license-faq
3    default_applicable_licenses: ["Android-Apache-2.0"],
4}
5
6android_app_import {
7    name: "CarDialerApp",
8    apk: "CarDialerApp.apk",
9    privileged: true,
10    certificate: "platform",
11    required: [
12        "allowed_privapp_com.android.car.dialer",
13        "preinstalled-packages-com.android.car.dialer.xml",
14        "prebuilt_default-permissions-com.android.car.dialer.xml",
15    ],
16    overrides: ["Dialer"],
17    // This flag is needed because we're inehriting 2 `uses-library` tags from `androidx.window`
18    // that it's coming from Compose support in `car-ui-lib` in the manifest. And Soong is
19    // enforcing that both the shared libraries must be in the image. But since both of them are
20    // set to optional we can use the following flag to ignore the build error.
21    optional_uses_libs: [
22        "androidx.window.extensions",
23        "androidx.window.sidecar"
24    ]
25}
26
27prebuilt_etc {
28    name: "preinstalled-packages-com.android.car.dialer.xml",
29    src: "preinstalled-packages-com.android.car.dialer.xml",
30    sub_dir: "sysconfig",
31}
32
33prebuilt_etc {
34    name: "prebuilt_default-permissions-com.android.car.dialer.xml",
35    sub_dir: "default-permissions",
36    src: "default-permissions-com.android.car.dialer.xml",
37}
38