1 LOCAL_PATH:= $(call my-dir) 2 include $(CLEAR_VARS) 3 4 LOCAL_MODULE_TAGS := optional 5 6 contacts_common_dir := ../ContactsCommon 7 8 src_dirs := src $(contacts_common_dir)/src 9 res_dirs := res $(contacts_common_dir)/res 10 11 LOCAL_SRC_FILES := $(call all-java-files-under, $(src_dirs)) 12 LOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, $(res_dirs)) 13 14 LOCAL_AAPT_FLAGS := \ 15 --auto-add-overlay \ 16 --extra-packages com.android.contacts.common 17 18 LOCAL_JAVA_LIBRARIES := telephony-common 19 LOCAL_STATIC_JAVA_LIBRARIES := \ 20 com.android.phone.shared \ 21 com.android.vcard \ 22 android-common \ 23 guava \ 24 android-support-v13 \ 25 android-support-v4 \ 26 android-ex-variablespeed \ 27 28 LOCAL_REQUIRED_MODULES := libvariablespeed 29 30 LOCAL_PACKAGE_NAME := Dialer 31 LOCAL_CERTIFICATE := shared 32 33 LOCAL_PROGUARD_FLAG_FILES := proguard.flags 34 35 include $(BUILD_PACKAGE) 36 37 # Use the following include to make our test apk. 38 include $(call all-makefiles-under,$(LOCAL_PATH)) 39