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