1 LOCAL_PATH:= $(call my-dir) 2 include $(CLEAR_VARS) 3 4 # include res directory from timepicker 5 datetimepicker_dir := ../../../frameworks/opt/datetimepicker/res 6 res_dirs := $(datetimepicker_dir) res 7 LOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, $(res_dirs)) 8 9 LOCAL_MODULE_TAGS := optional 10 11 LOCAL_STATIC_JAVA_LIBRARIES := android-support-v13 12 LOCAL_STATIC_JAVA_LIBRARIES += android-support-v4 13 LOCAL_STATIC_JAVA_LIBRARIES += android-opt-datetimepicker 14 15 LOCAL_SRC_FILES := $(call all-java-files-under, src) 16 17 LOCAL_PACKAGE_NAME := DeskClock 18 19 LOCAL_OVERRIDES_PACKAGES := AlarmClock 20 21 LOCAL_SDK_VERSION := current 22 23 LOCAL_PROGUARD_FLAG_FILES := proguard.flags 24 LOCAL_PROGUARD_FLAG_FILES += ../../../frameworks/opt/datetimepicker/proguard.flags 25 26 LOCAL_AAPT_FLAGS := --auto-add-overlay 27 LOCAL_AAPT_FLAGS += --extra-packages com.android.datetimepicker 28 29 include $(BUILD_PACKAGE) 30 31 # Use the following include to make our test apk. 32 include $(call all-makefiles-under,$(LOCAL_PATH)) 33