summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Shirriff <kens@google.com>2009-12-01 17:38:52 -0800
committerKen Shirriff <kens@google.com>2009-12-01 17:42:41 -0800
commitb9297d0d534648f7047a34596eaf99b8c87b1260 (patch)
tree39967460b11e6e64a94373cc4923db3ac00ec688
parent54be503563f9644e1b39502000de583dd809a91c (diff)
downloadframeworks_native-b9297d0d534648f7047a34596eaf99b8c87b1260.zip
frameworks_native-b9297d0d534648f7047a34596eaf99b8c87b1260.tar.gz
frameworks_native-b9297d0d534648f7047a34596eaf99b8c87b1260.tar.bz2
Generate a calendar static Java library.
This contains the calendar contract and pim functions for use by the sync adapter. This library is a duplicate of the functions in the framework.
-rw-r--r--calendar/Android.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/calendar/Android.mk b/calendar/Android.mk
new file mode 100644
index 0000000..fd20dfa
--- /dev/null
+++ b/calendar/Android.mk
@@ -0,0 +1,18 @@
+# Copyright 2009 Google, Inc.
+
+LOCAL_PATH := $(call my-dir)
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := calendar
+LOCAL_SRC_FILES := \
+ ../core/java/android/provider/Calendar.java \
+ ../core/java/android/pim/EventRecurrence.java \
+ ../core/java/android/pim/ICalendar.java \
+ ../core/java/android/pim/RecurrenceSet.java \
+ ../core/java/android/pim/ContactsAsyncHelper.java \
+ ../core/java/android/pim/DateException.java
+
+include $(BUILD_STATIC_JAVA_LIBRARY)
+
+# Include this library in the build server's output directory
+$(call dist-for-goals, droid, $(LOCAL_BUILT_MODULE):calendar.jar)