Home | History | Annotate | Download | only in Calendar
      1 LOCAL_PATH:= $(call my-dir)
      2 include $(CLEAR_VARS)
      3 
      4 # Include res dir from chips
      5 chips_dir := ../../../frameworks/opt/chips/res
      6 color_picker_dir := ../../../frameworks/opt/colorpicker/res
      7 datetimepicker_dir := ../../../frameworks/opt/datetimepicker/res
      8 timezonepicker_dir := ../../../frameworks/opt/timezonepicker/res
      9 res_dirs := $(chips_dir) $(color_picker_dir) $(datetimepicker_dir) $(timezonepicker_dir) res
     10 src_dirs := src
     11 
     12 LOCAL_JACK_COVERAGE_INCLUDE_FILTER := com.android.calendar.*
     13 
     14 LOCAL_MODULE_TAGS := optional
     15 
     16 LOCAL_SRC_FILES := $(call all-java-files-under,$(src_dirs))
     17 
     18 # bundled
     19 #LOCAL_STATIC_JAVA_LIBRARIES += \
     20 #        android-common \
     21 #        libchips \
     22 #        calendar-common
     23 
     24 # unbundled
     25 LOCAL_STATIC_JAVA_LIBRARIES := \
     26         android-common \
     27         libchips \
     28         colorpicker \
     29         android-opt-datetimepicker \
     30         android-opt-timezonepicker \
     31         android-support-v4 \
     32         calendar-common
     33 
     34 LOCAL_SDK_VERSION := current
     35 
     36 LOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, $(res_dirs))
     37 
     38 LOCAL_PACKAGE_NAME := Calendar
     39 
     40 LOCAL_PROGUARD_FLAG_FILES := proguard.flags \
     41                              ../../../frameworks/opt/datetimepicker/proguard.flags
     42 
     43 LOCAL_AAPT_FLAGS := --auto-add-overlay
     44 LOCAL_AAPT_FLAGS += --extra-packages com.android.ex.chips
     45 LOCAL_AAPT_FLAGS += --extra-packages com.android.colorpicker
     46 LOCAL_AAPT_FLAGS += --extra-packages com.android.datetimepicker
     47 LOCAL_AAPT_FLAGS += --extra-packages com.android.timezonepicker
     48 
     49 include $(BUILD_PACKAGE)
     50 
     51 # Use the following include to make our test apk.
     52 include $(call all-makefiles-under,$(LOCAL_PATH))
     53