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 |
Santos Cordon | c286ae2 | 2013-09-03 15:58:07 -0700 | [diff] [blame] | 7 | incallui_dir := ../InCallUI |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 8 | |
Santos Cordon | c286ae2 | 2013-09-03 15:58:07 -0700 | [diff] [blame] | 9 | src_dirs := src $(contacts_common_dir)/src $(incallui_dir)/src |
| 10 | res_dirs := res $(contacts_common_dir)/res $(incallui_dir)/res |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 11 | |
| 12 | LOCAL_SRC_FILES := $(call all-java-files-under, $(src_dirs)) |
| 13 | LOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, $(res_dirs)) |
| 14 | |
| 15 | LOCAL_AAPT_FLAGS := \ |
| 16 | --auto-add-overlay \ |
Santos Cordon | c286ae2 | 2013-09-03 15:58:07 -0700 | [diff] [blame] | 17 | --extra-packages com.android.contacts.common \ |
| 18 | --extra-packages com.android.incallui |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 19 | |
| 20 | LOCAL_JAVA_LIBRARIES := telephony-common |
| 21 | LOCAL_STATIC_JAVA_LIBRARIES := \ |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 22 | com.android.phone.shared \ |
Santos Cordon | c286ae2 | 2013-09-03 15:58:07 -0700 | [diff] [blame] | 23 | com.android.services.telephony.common \ |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 24 | com.android.vcard \ |
| 25 | android-common \ |
| 26 | guava \ |
| 27 | android-support-v13 \ |
| 28 | android-support-v4 \ |
| 29 | android-ex-variablespeed \ |
| 30 | |
| 31 | LOCAL_REQUIRED_MODULES := libvariablespeed |
| 32 | |
| 33 | LOCAL_PACKAGE_NAME := Dialer |
| 34 | LOCAL_CERTIFICATE := shared |
Christopher Tate | 5e9d0c4 | 2013-06-18 13:18:16 -0700 | [diff] [blame] | 35 | LOCAL_PRIVILEGED_MODULE := true |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 36 | |
Santos Cordon | c286ae2 | 2013-09-03 15:58:07 -0700 | [diff] [blame] | 37 | LOCAL_PROGUARD_FLAG_FILES := proguard.flags $(incallui_dir)/proguard.flags |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 38 | |
| 39 | include $(BUILD_PACKAGE) |
| 40 | |
Santos Cordon | 472c277 | 2013-03-18 17:43:21 -0700 | [diff] [blame] | 41 | # Use the following include to make our test apk. |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 42 | include $(call all-makefiles-under,$(LOCAL_PATH)) |