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