blob: c0aa8ccbccc10ab595f508ab5624a4e4d0dbfaf9 [file] [log] [blame]
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
# Include res dir from chips
chips_dir := ../../../frameworks/ex/chips/res
color_picker_dir := ../../../frameworks/opt/colorpicker/res
datetimepicker_dir := ../../../frameworks/opt/datetimepicker/res
res_dirs := $(chips_dir) $(color_picker_dir) $(datetimepicker_dir) res
src_dirs := src
LOCAL_EMMA_COVERAGE_FILTER := +com.android.calendar.*
LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES := $(call all-java-files-under,$(src_dirs))
# bundled
#LOCAL_STATIC_JAVA_LIBRARIES += \
# android-common \
# android-common-chips \
# calendar-common
# unbundled
LOCAL_STATIC_JAVA_LIBRARIES := \
android-common \
android-common-chips \
colorpicker \
android-opt-datetimepicker \
android-support-v4 \
calendar-common
LOCAL_SDK_VERSION := 17
LOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, $(res_dirs))
LOCAL_PACKAGE_NAME := Calendar
LOCAL_PROGUARD_FLAG_FILES := proguard.flags \
../../../frameworks/opt/datetimepicker/proguard.flags
LOCAL_AAPT_FLAGS := --auto-add-overlay
LOCAL_AAPT_FLAGS += --extra-packages com.android.ex.chips
LOCAL_AAPT_FLAGS += --extra-packages com.android.colorpicker
LOCAL_AAPT_FLAGS += --extra-packages com.android.datetimepicker
include $(BUILD_PACKAGE)
# Use the following include to make our test apk.
include $(call all-makefiles-under,$(LOCAL_PATH))