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 | |
Jay Shrauner | 0f68a71 | 2014-07-16 16:13:57 -0700 | [diff] [blame] | 6 | incallui_dir := ../InCallUI |
Chiao Cheng | 9d4f3b2 | 2012-09-05 16:00:16 -0700 | [diff] [blame] | 7 | contacts_common_dir := ../ContactsCommon |
Sai Cheemalapati | fd723ca | 2014-06-19 12:30:07 -0700 | [diff] [blame] | 8 | phone_common_dir := ../PhoneCommon |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 9 | |
Jay Shrauner | 0f68a71 | 2014-07-16 16:13:57 -0700 | [diff] [blame] | 10 | src_dirs := src \ |
| 11 | $(incallui_dir)/src \ |
| 12 | $(contacts_common_dir)/src \ |
| 13 | $(phone_common_dir)/src |
| 14 | |
| 15 | res_dirs := res \ |
| 16 | $(incallui_dir)/res \ |
| 17 | $(contacts_common_dir)/res \ |
| 18 | $(phone_common_dir)/res |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 19 | |
emancebo | 891d8d3 | 2014-08-04 17:07:05 -0700 | [diff] [blame] | 20 | LOCAL_SRC_FILES := $(call all-java-files-under, $(src_dirs)) $(call all-Iaidl-files-under, $(src_dirs)) |
cretin45 | 20d0c6e | 2014-07-23 16:32:45 -0700 | [diff] [blame] | 21 | LOCAL_SRC_FILES += ../../providers/ContactsProvider/src/com/android/providers/contacts/NameSplitter.java \ |
| 22 | ../../providers/ContactsProvider/src/com/android/providers/contacts/HanziToPinyin.java \ |
| 23 | ../../providers/ContactsProvider/src/com/android/providers/contacts/util/NeededForTesting.java |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 24 | LOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, $(res_dirs)) |
Xiao-Long Chen | a3e67ac | 2014-11-12 17:01:47 -0800 | [diff] [blame] | 25 | LOCAL_ASSET_DIR := $(LOCAL_PATH)/assets |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 26 | |
| 27 | LOCAL_AAPT_FLAGS := \ |
| 28 | --auto-add-overlay \ |
Sai Cheemalapati | fd723ca | 2014-06-19 12:30:07 -0700 | [diff] [blame] | 29 | --extra-packages com.android.incallui \ |
Jay Shrauner | 0f68a71 | 2014-07-16 16:13:57 -0700 | [diff] [blame] | 30 | --extra-packages com.android.contacts.common \ |
Sai Cheemalapati | fd723ca | 2014-06-19 12:30:07 -0700 | [diff] [blame] | 31 | --extra-packages com.android.phone.common |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 32 | |
Suchand Ghosh | a68ac9f | 2014-09-24 10:44:23 +0530 | [diff] [blame] | 33 | LOCAL_JAVA_LIBRARIES := telephony-common \ |
| 34 | ims-common |
| 35 | |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 36 | LOCAL_STATIC_JAVA_LIBRARIES := \ |
Santos Cordon | c286ae2 | 2013-09-03 15:58:07 -0700 | [diff] [blame] | 37 | com.android.services.telephony.common \ |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 38 | com.android.vcard \ |
| 39 | android-common \ |
| 40 | guava \ |
| 41 | android-support-v13 \ |
| 42 | android-support-v4 \ |
| 43 | android-ex-variablespeed \ |
Christine Chen | 641ab5a | 2013-10-23 17:19:42 -0700 | [diff] [blame] | 44 | libphonenumber \ |
| 45 | libgeocoding |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 46 | |
| 47 | LOCAL_REQUIRED_MODULES := libvariablespeed |
| 48 | |
| 49 | LOCAL_PACKAGE_NAME := Dialer |
| 50 | LOCAL_CERTIFICATE := shared |
Christopher Tate | 5e9d0c4 | 2013-06-18 13:18:16 -0700 | [diff] [blame] | 51 | LOCAL_PRIVILEGED_MODULE := true |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 52 | |
Santos Cordon | c286ae2 | 2013-09-03 15:58:07 -0700 | [diff] [blame] | 53 | LOCAL_PROGUARD_FLAG_FILES := proguard.flags $(incallui_dir)/proguard.flags |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 54 | |
Christine Chen | 641ab5a | 2013-10-23 17:19:42 -0700 | [diff] [blame] | 55 | # Uncomment the following line to build against the current SDK |
| 56 | # This is required for building an unbundled app. |
| 57 | # LOCAL_SDK_VERSION := current |
| 58 | |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 59 | include $(BUILD_PACKAGE) |
| 60 | |
Santos Cordon | 472c277 | 2013-03-18 17:43:21 -0700 | [diff] [blame] | 61 | # Use the following include to make our test apk. |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 62 | include $(call all-makefiles-under,$(LOCAL_PATH)) |