blob: ce67d7562d95b4a768d6a7a562af934ff52d946f [file] [log] [blame]
Chiao Cheng94b10b52012-08-17 16:59:12 -07001LOCAL_PATH:= $(call my-dir)
2include $(CLEAR_VARS)
3
4LOCAL_MODULE_TAGS := optional
5
6# This should become ContactsCommon
7contacts_common_dir := ../Contacts
8
9src_dirs := src $(contacts_common_dir)/src
10res_dirs := res $(contacts_common_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
18
19LOCAL_JAVA_LIBRARIES := telephony-common
20LOCAL_STATIC_JAVA_LIBRARIES := \
21 com.android.phone.common \
22 com.android.phone.shared \
23 com.android.vcard \
24 android-common \
25 guava \
26 android-support-v13 \
27 android-support-v4 \
28 android-ex-variablespeed \
29
30LOCAL_REQUIRED_MODULES := libvariablespeed
31
32LOCAL_PACKAGE_NAME := Dialer
33LOCAL_CERTIFICATE := shared
34
35LOCAL_PROGUARD_FLAG_FILES := proguard.flags
36
37include $(BUILD_PACKAGE)
38
39# Use the folloing include to make our test apk.
40include $(call all-makefiles-under,$(LOCAL_PATH))