Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | include $(CLEAR_VARS) |
| 3 | |
| 4 | LOCAL_MODULE_TAGS := optional |
| 5 | |
Chiao Cheng | 9d4f3b2 | 2012-09-05 16:00:16 -0700 | [diff] [blame] | 6 | contacts_common_dir := ../ContactsCommon |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 7 | |
Chiao Cheng | 4f128ea | 2012-12-06 16:05:14 -0800 | [diff] [blame] | 8 | src_dirs := src $(contacts_common_dir)/src |
| 9 | res_dirs := res $(contacts_common_dir)/res |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 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 \ |
Chiao Cheng | 4f128ea | 2012-12-06 16:05:14 -0800 | [diff] [blame] | 16 | --extra-packages com.android.contacts.common |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 17 | |
| 18 | LOCAL_JAVA_LIBRARIES := telephony-common |
| 19 | LOCAL_STATIC_JAVA_LIBRARIES := \ |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 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 |
Christopher Tate | 5e9d0c4 | 2013-06-18 13:18:16 -0700 | [diff] [blame] | 32 | LOCAL_PRIVILEGED_MODULE := true |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 33 | |
| 34 | LOCAL_PROGUARD_FLAG_FILES := proguard.flags |
| 35 | |
| 36 | include $(BUILD_PACKAGE) |
| 37 | |
Santos Cordon | 472c277 | 2013-03-18 17:43:21 -0700 | [diff] [blame] | 38 | # Use the following include to make our test apk. |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 39 | include $(call all-makefiles-under,$(LOCAL_PATH)) |