Android.mk revision 287194069c04d4f923c23da83dc2736415dff085
17d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos CordonLOCAL_PATH:= $(call my-dir)
27d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordon
37d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordon# Build the Phone app which includes the emergency dialer. See Contacts
47d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordon# for the 'other' dialer.
57d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordoninclude $(CLEAR_VARS)
67d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordon
714462b65dee767d897219d685d41357c9b78c33fSai Cheemalapatiphone_common_dir := ../../apps/PhoneCommon
814462b65dee767d897219d685d41357c9b78c33fSai Cheemalapati
9788959e2d798da2d8a34cf89779421966d200f3dSailesh Nepalsrc_dirs := src $(phone_common_dir)/src sip/src
10788959e2d798da2d8a34cf89779421966d200f3dSailesh Nepalres_dirs := res $(phone_common_dir)/res sip/res
1114462b65dee767d897219d685d41357c9b78c33fSai Cheemalapati
12c64180a998f5a546f7680ff5174d664d49cff873Colin CrossLOCAL_JAVA_LIBRARIES := \
13c64180a998f5a546f7680ff5174d664d49cff873Colin Cross        telephony-common \
14c64180a998f5a546f7680ff5174d664d49cff873Colin Cross        voip-common \
15c64180a998f5a546f7680ff5174d664d49cff873Colin Cross        ims-common \
16c64180a998f5a546f7680ff5174d664d49cff873Colin Cross        org.apache.http.legacy
17c64180a998f5a546f7680ff5174d664d49cff873Colin Cross
1814462b65dee767d897219d685d41357c9b78c33fSai CheemalapatiLOCAL_STATIC_JAVA_LIBRARIES := \
19c64180a998f5a546f7680ff5174d664d49cff873Colin Cross        android-support-v7-appcompat \
20c64180a998f5a546f7680ff5174d664d49cff873Colin Cross        android-support-v7-preference \
21c64180a998f5a546f7680ff5174d664d49cff873Colin Cross        android-support-v7-recyclerview \
2234c163aabd9474417e7ced5a6d60133098f51a95Alan Viverette        android-support-v14-preference \
2334c163aabd9474417e7ced5a6d60133098f51a95Alan Viverette        guava \
2434c163aabd9474417e7ced5a6d60133098f51a95Alan Viverette        volley
25f6bb89d4fd6ceca5139d765e7116cca7996d54f5Santos Cordon
2614462b65dee767d897219d685d41357c9b78c33fSai CheemalapatiLOCAL_SRC_FILES := $(call all-java-files-under, $(src_dirs))
277d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos CordonLOCAL_SRC_FILES += \
287d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordon        src/com/android/phone/EventLogTags.logtags \
297d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordon        src/com/android/phone/INetworkQueryService.aidl \
307d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordon        src/com/android/phone/INetworkQueryServiceCallback.aidl
3114462b65dee767d897219d685d41357c9b78c33fSai CheemalapatiLOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, $(res_dirs))
3214462b65dee767d897219d685d41357c9b78c33fSai Cheemalapati
33c57b9ee4ae86d377866fa4438a2f1bef379d92c5Fan ZhangLOCAL_RESOURCE_DIR += \
34c57b9ee4ae86d377866fa4438a2f1bef379d92c5Fan Zhang    frameworks/support/v7/appcompat/res \
35c57b9ee4ae86d377866fa4438a2f1bef379d92c5Fan Zhang    frameworks/support/v7/preference/res \
36c57b9ee4ae86d377866fa4438a2f1bef379d92c5Fan Zhang    frameworks/support/v7/recyclerview/res \
37c57b9ee4ae86d377866fa4438a2f1bef379d92c5Fan Zhang    frameworks/support/v14/preference/res
38c57b9ee4ae86d377866fa4438a2f1bef379d92c5Fan Zhang
3914462b65dee767d897219d685d41357c9b78c33fSai CheemalapatiLOCAL_AAPT_FLAGS := \
4014462b65dee767d897219d685d41357c9b78c33fSai Cheemalapati    --auto-add-overlay \
41788959e2d798da2d8a34cf89779421966d200f3dSailesh Nepal    --extra-packages com.android.phone.common \
42c57b9ee4ae86d377866fa4438a2f1bef379d92c5Fan Zhang    --extra-packages com.android.services.telephony.sip \
43c57b9ee4ae86d377866fa4438a2f1bef379d92c5Fan Zhang    --extra-packages android.support.v7.appcompat \
44c57b9ee4ae86d377866fa4438a2f1bef379d92c5Fan Zhang    --extra-packages android.support.v7.preference \
45c57b9ee4ae86d377866fa4438a2f1bef379d92c5Fan Zhang    --extra-packages android.support.v7.recyclerview \
46c57b9ee4ae86d377866fa4438a2f1bef379d92c5Fan Zhang    --extra-packages android.support.v14.preference
477d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordon
487d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos CordonLOCAL_PACKAGE_NAME := TeleService
49287194069c04d4f923c23da83dc2736415dff085Anton HanssonLOCAL_PRIVATE_PLATFORM_APIS := true
5050a47893c161abb76e2e8b2ec7afaad1621dc2c8Santos Cordon
517d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos CordonLOCAL_CERTIFICATE := platform
527d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos CordonLOCAL_PRIVILEGED_MODULE := true
537d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordon
54788959e2d798da2d8a34cf89779421966d200f3dSailesh NepalLOCAL_PROGUARD_FLAG_FILES := proguard.flags sip/proguard.flags
557d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordon
56c738a389d4f52b421556d5bc3c88cdfb4624a77cMahaver Choprainclude frameworks/base/packages/SettingsLib/common.mk
57c738a389d4f52b421556d5bc3c88cdfb4624a77cMahaver Chopra
587d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordoninclude $(BUILD_PACKAGE)
597d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordon
607d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordon# Build the test package
617d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordoninclude $(call all-makefiles-under,$(LOCAL_PATH))
62