blob: b41c394ee67fede2615e064aa1a8e02532a67dd5 [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 := \
Chiao Cheng94b10b52012-08-17 16:59:12 -070021 com.android.phone.shared \
22 com.android.vcard \
23 android-common \
24 guava \
25 android-support-v13 \
26 android-support-v4 \
27 android-ex-variablespeed \
28
29LOCAL_REQUIRED_MODULES := libvariablespeed
30
31LOCAL_PACKAGE_NAME := Dialer
32LOCAL_CERTIFICATE := shared
33
34LOCAL_PROGUARD_FLAG_FILES := proguard.flags
35
36include $(BUILD_PACKAGE)
37
38# Use the folloing include to make our test apk.
39include $(call all-makefiles-under,$(LOCAL_PATH))