The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | include $(CLEAR_VARS) |
| 3 | |
Jean-Baptiste Queru | ac60053 | 2010-01-05 16:27:23 -0800 | [diff] [blame] | 4 | LOCAL_MODULE_TAGS := optional |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 5 | |
Chiao Cheng | 3a8df86 | 2012-09-04 16:30:17 -0700 | [diff] [blame] | 6 | contacts_common_dir := ../ContactsCommon |
Sai Cheemalapati | 974e170 | 2014-06-20 14:52:03 -0700 | [diff] [blame] | 7 | phone_common_dir := ../PhoneCommon |
Chiao Cheng | 3a8df86 | 2012-09-04 16:30:17 -0700 | [diff] [blame] | 8 | |
Sai Cheemalapati | 974e170 | 2014-06-20 14:52:03 -0700 | [diff] [blame] | 9 | src_dirs := src $(contacts_common_dir)/src $(phone_common_dir)/src |
| 10 | res_dirs := res $(contacts_common_dir)/res $(phone_common_dir)/res |
Chiao Cheng | 3a8df86 | 2012-09-04 16:30:17 -0700 | [diff] [blame] | 11 | |
| 12 | LOCAL_SRC_FILES := $(call all-java-files-under, $(src_dirs)) |
Paul Soulos | ac9b316 | 2014-07-30 16:45:01 -0700 | [diff] [blame] | 13 | LOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, $(res_dirs)) \ |
| 14 | frameworks/support/v7/cardview/res |
Chiao Cheng | 3a8df86 | 2012-09-04 16:30:17 -0700 | [diff] [blame] | 15 | |
| 16 | LOCAL_AAPT_FLAGS := \ |
| 17 | --auto-add-overlay \ |
Sai Cheemalapati | 974e170 | 2014-06-20 14:52:03 -0700 | [diff] [blame] | 18 | --extra-packages com.android.contacts.common \ |
Paul Soulos | ac9b316 | 2014-07-30 16:45:01 -0700 | [diff] [blame] | 19 | --extra-packages com.android.phone.common \ |
| 20 | --extra-packages android.support.v7.cardview |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 21 | |
Wink Saville | 1fc437a | 2013-01-28 15:28:50 -0800 | [diff] [blame] | 22 | LOCAL_JAVA_LIBRARIES := telephony-common voip-common |
Jeff Sharkey | cde7389 | 2011-04-07 00:48:02 -0700 | [diff] [blame] | 23 | LOCAL_STATIC_JAVA_LIBRARIES := \ |
Jeff Sharkey | cde7389 | 2011-04-07 00:48:02 -0700 | [diff] [blame] | 24 | com.android.vcard \ |
| 25 | android-common \ |
Katherine Kuan | 7970088 | 2011-06-14 17:40:33 -0700 | [diff] [blame] | 26 | guava \ |
| 27 | android-support-v13 \ |
Paul Soulos | ac9b316 | 2014-07-30 16:45:01 -0700 | [diff] [blame] | 28 | android-support-v7-cardview \ |
Brian Attwell | 31b2d42 | 2014-06-05 00:14:58 -0700 | [diff] [blame] | 29 | android-support-v7-palette \ |
Hugo Hudson | b002f51 | 2011-07-15 17:41:12 +0100 | [diff] [blame] | 30 | android-support-v4 \ |
Christine Chen | 7aa2458 | 2013-10-24 12:15:22 -0700 | [diff] [blame] | 31 | libphonenumber \ |
| 32 | libgeocoding |
Hugo Hudson | b002f51 | 2011-07-15 17:41:12 +0100 | [diff] [blame] | 33 | |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 34 | LOCAL_PACKAGE_NAME := Contacts |
| 35 | LOCAL_CERTIFICATE := shared |
Christopher Tate | 8d0a104 | 2013-05-10 14:09:52 -0700 | [diff] [blame] | 36 | LOCAL_PRIVILEGED_MODULE := true |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 37 | |
Ying Wang | f261e80 | 2010-09-29 15:23:54 -0700 | [diff] [blame] | 38 | LOCAL_PROGUARD_FLAG_FILES := proguard.flags |
Daniel Lehmann | 69bfe08 | 2010-03-04 21:25:03 -0800 | [diff] [blame] | 39 | |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 40 | include $(BUILD_PACKAGE) |
| 41 | |
| 42 | # Use the folloing include to make our test apk. |
| 43 | include $(call all-makefiles-under,$(LOCAL_PATH)) |