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