1LOCAL_PATH:= $(call my-dir) 2include $(CLEAR_VARS) 3 4# Include res dir from chips 5chips_dir := ../../../frameworks/opt/chips/res 6color_picker_dir := ../../../frameworks/opt/colorpicker/res 7datetimepicker_dir := ../../../frameworks/opt/datetimepicker/res 8timezonepicker_dir := ../../../frameworks/opt/timezonepicker/res 9res_dirs := $(chips_dir) $(color_picker_dir) $(datetimepicker_dir) $(timezonepicker_dir) res 10src_dirs := src 11 12LOCAL_JACK_COVERAGE_INCLUDE_FILTER := com.android.calendar.* 13 14LOCAL_MODULE_TAGS := optional 15 16LOCAL_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 25LOCAL_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 34LOCAL_SDK_VERSION := current 35 36LOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, $(res_dirs)) 37 38LOCAL_PACKAGE_NAME := Calendar 39 40LOCAL_PROGUARD_FLAG_FILES := proguard.flags \ 41 ../../../frameworks/opt/datetimepicker/proguard.flags 42 43LOCAL_AAPT_FLAGS := --auto-add-overlay 44LOCAL_AAPT_FLAGS += --extra-packages com.android.ex.chips 45LOCAL_AAPT_FLAGS += --extra-packages com.android.colorpicker 46LOCAL_AAPT_FLAGS += --extra-packages com.android.datetimepicker 47LOCAL_AAPT_FLAGS += --extra-packages com.android.timezonepicker 48 49include $(BUILD_PACKAGE) 50 51# Use the following include to make our test apk. 52include $(call all-makefiles-under,$(LOCAL_PATH)) 53