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