blob: 124549b505514d1dad9369d3f9d158e1fd36cda3 [file] [log] [blame]
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -08001LOCAL_PATH:= $(call my-dir)
2include $(CLEAR_VARS)
3
Jean-Baptiste Queruac600532010-01-05 16:27:23 -08004LOCAL_MODULE_TAGS := optional
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -08005
Chiao Cheng3a8df862012-09-04 16:30:17 -07006contacts_common_dir := ../ContactsCommon
Sai Cheemalapati974e1702014-06-20 14:52:03 -07007phone_common_dir := ../PhoneCommon
Chiao Cheng3a8df862012-09-04 16:30:17 -07008
Sai Cheemalapati974e1702014-06-20 14:52:03 -07009src_dirs := src $(contacts_common_dir)/src $(phone_common_dir)/src
10res_dirs := res $(contacts_common_dir)/res $(phone_common_dir)/res
Chiao Cheng3a8df862012-09-04 16:30:17 -070011
12LOCAL_SRC_FILES := $(call all-java-files-under, $(src_dirs))
Paul Soulosac9b3162014-07-30 16:45:01 -070013LOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, $(res_dirs)) \
14 frameworks/support/v7/cardview/res
Chiao Cheng3a8df862012-09-04 16:30:17 -070015
16LOCAL_AAPT_FLAGS := \
17 --auto-add-overlay \
Sai Cheemalapati974e1702014-06-20 14:52:03 -070018 --extra-packages com.android.contacts.common \
Paul Soulosac9b3162014-07-30 16:45:01 -070019 --extra-packages com.android.phone.common \
20 --extra-packages android.support.v7.cardview
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080021
Wink Saville1fc437a2013-01-28 15:28:50 -080022LOCAL_JAVA_LIBRARIES := telephony-common voip-common
Jeff Sharkeycde73892011-04-07 00:48:02 -070023LOCAL_STATIC_JAVA_LIBRARIES := \
Jeff Sharkeycde73892011-04-07 00:48:02 -070024 com.android.vcard \
25 android-common \
Katherine Kuan79700882011-06-14 17:40:33 -070026 guava \
27 android-support-v13 \
Paul Soulosac9b3162014-07-30 16:45:01 -070028 android-support-v7-cardview \
Brian Attwell31b2d422014-06-05 00:14:58 -070029 android-support-v7-palette \
Hugo Hudsonb002f512011-07-15 17:41:12 +010030 android-support-v4 \
Christine Chen7aa24582013-10-24 12:15:22 -070031 libphonenumber \
32 libgeocoding
Hugo Hudsonb002f512011-07-15 17:41:12 +010033
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080034LOCAL_PACKAGE_NAME := Contacts
35LOCAL_CERTIFICATE := shared
Christopher Tate8d0a1042013-05-10 14:09:52 -070036LOCAL_PRIVILEGED_MODULE := true
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080037
Ying Wangf261e802010-09-29 15:23:54 -070038LOCAL_PROGUARD_FLAG_FILES := proguard.flags
Daniel Lehmann69bfe082010-03-04 21:25:03 -080039
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080040include $(BUILD_PACKAGE)
41
42# Use the folloing include to make our test apk.
43include $(call all-makefiles-under,$(LOCAL_PATH))