Android.mk revision 34c163aabd9474417e7ced5a6d60133098f51a95
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
3314462b65dee767d897219d685d41357c9b78c33fSai CheemalapatiLOCAL_AAPT_FLAGS := \
3414462b65dee767d897219d685d41357c9b78c33fSai Cheemalapati    --auto-add-overlay \
35788959e2d798da2d8a34cf89779421966d200f3dSailesh Nepal    --extra-packages com.android.phone.common \
36788959e2d798da2d8a34cf89779421966d200f3dSailesh Nepal    --extra-packages com.android.services.telephony.sip
377d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordon
387d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos CordonLOCAL_PACKAGE_NAME := TeleService
3950a47893c161abb76e2e8b2ec7afaad1621dc2c8Santos Cordon
407d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos CordonLOCAL_CERTIFICATE := platform
417d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos CordonLOCAL_PRIVILEGED_MODULE := true
427d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordon
43788959e2d798da2d8a34cf89779421966d200f3dSailesh NepalLOCAL_PROGUARD_FLAG_FILES := proguard.flags sip/proguard.flags
447d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordon
45c738a389d4f52b421556d5bc3c88cdfb4624a77cMahaver Choprainclude frameworks/base/packages/SettingsLib/common.mk
46c738a389d4f52b421556d5bc3c88cdfb4624a77cMahaver Chopra
477d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordoninclude $(BUILD_PACKAGE)
487d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordon
497d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordon# Build the test package
507d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordoninclude $(call all-makefiles-under,$(LOCAL_PATH))
51