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 |
| 7 | |
| 8 | src_dirs := src $(contacts_common_dir)/src |
| 9 | res_dirs := res $(contacts_common_dir)/res |
| 10 | |
| 11 | LOCAL_SRC_FILES := $(call all-java-files-under, $(src_dirs)) |
| 12 | LOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, $(res_dirs)) |
| 13 | |
| 14 | LOCAL_AAPT_FLAGS := \ |
| 15 | --auto-add-overlay \ |
| 16 | --extra-packages com.android.contacts.common |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 17 | |
Wink Saville | 1fc437a | 2013-01-28 15:28:50 -0800 | [diff] [blame] | 18 | LOCAL_JAVA_LIBRARIES := telephony-common voip-common |
Jeff Sharkey | cde7389 | 2011-04-07 00:48:02 -0700 | [diff] [blame] | 19 | LOCAL_STATIC_JAVA_LIBRARIES := \ |
Chiao Cheng | a2180f3 | 2012-08-17 16:23:35 -0700 | [diff] [blame] | 20 | com.android.phone.shared \ |
Jeff Sharkey | cde7389 | 2011-04-07 00:48:02 -0700 | [diff] [blame] | 21 | com.android.vcard \ |
| 22 | android-common \ |
Katherine Kuan | 7970088 | 2011-06-14 17:40:33 -0700 | [diff] [blame] | 23 | guava \ |
| 24 | android-support-v13 \ |
Hugo Hudson | b002f51 | 2011-07-15 17:41:12 +0100 | [diff] [blame] | 25 | android-support-v4 \ |
| 26 | android-ex-variablespeed \ |
| 27 | |
| 28 | LOCAL_REQUIRED_MODULES := libvariablespeed |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 29 | |
| 30 | LOCAL_PACKAGE_NAME := Contacts |
| 31 | LOCAL_CERTIFICATE := shared |
Christopher Tate | 8d0a104 | 2013-05-10 14:09:52 -0700 | [diff] [blame] | 32 | LOCAL_PRIVILEGED_MODULE := true |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 33 | |
Ying Wang | f261e80 | 2010-09-29 15:23:54 -0700 | [diff] [blame] | 34 | LOCAL_PROGUARD_FLAG_FILES := proguard.flags |
Daniel Lehmann | 69bfe08 | 2010-03-04 21:25:03 -0800 | [diff] [blame] | 35 | |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 36 | include $(BUILD_PACKAGE) |
| 37 | |
| 38 | # Use the folloing include to make our test apk. |
| 39 | include $(call all-makefiles-under,$(LOCAL_PATH)) |