summaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp56
1 files changed, 56 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 00000000..3c6477b3
--- /dev/null
+++ b/Android.bp
@@ -0,0 +1,56 @@
+package {
+
+ default_applicable_licenses: ["packages_apps_Calendar_license"],
+}
+
+license {
+
+ name: "packages_apps_Calendar_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-Apache-2.0",
+ ],
+ license_text: [
+ "NOTICE",
+ ],
+}
+
+// Include res dir from chips
+
+android_app {
+ name: "Calendar",
+
+ jacoco: {
+ include_filter: ["com.android.calendar.**"],
+ },
+
+ srcs: [
+ "src/**/*.kt",
+ ],
+
+ // bundled
+ //LOCAL_STATIC_JAVA_LIBRARIES +=
+ //# android-common
+ //# libchips
+ //# calendar-common
+
+ // unbundled
+ static_libs: [
+ "android-common",
+ "libchips",
+ "colorpicker",
+ "android-opt-timezonepicker",
+ "androidx.legacy_legacy-support-v4",
+ "calendar-common",
+ ],
+
+ sdk_version: "current",
+ target_sdk_version: "30",
+ optimize: {
+ proguard_flags_files: ["proguard.flags"],
+ },
+
+ product_specific: true,
+
+ aaptflags: ["--auto-add-overlay"],
+}