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 10945409fb0283108f266c48b55eec1eac3aaa40a4Eric Erfanianres_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 189f24ec1753690219d477bc362450fe46650253d9Aurimas LiutikasLOCAL_STATIC_ANDROID_LIBRARIES := \ 19c64180a998f5a546f7680ff5174d664d49cff873Colin Cross android-support-v7-appcompat \ 20c64180a998f5a546f7680ff5174d664d49cff873Colin Cross android-support-v7-preference \ 21c64180a998f5a546f7680ff5174d664d49cff873Colin Cross android-support-v7-recyclerview \ 229f24ec1753690219d477bc362450fe46650253d9Aurimas Liutikas android-support-v14-preference 239f24ec1753690219d477bc362450fe46650253d9Aurimas Liutikas 249f24ec1753690219d477bc362450fe46650253d9Aurimas LiutikasLOCAL_STATIC_JAVA_LIBRARIES := \ 2534c163aabd9474417e7ced5a6d60133098f51a95Alan Viverette guava \ 2634c163aabd9474417e7ced5a6d60133098f51a95Alan Viverette volley 27f6bb89d4fd6ceca5139d765e7116cca7996d54f5Santos Cordon 2814462b65dee767d897219d685d41357c9b78c33fSai CheemalapatiLOCAL_SRC_FILES := $(call all-java-files-under, $(src_dirs)) 297d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos CordonLOCAL_SRC_FILES += \ 307d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordon src/com/android/phone/EventLogTags.logtags \ 317d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordon src/com/android/phone/INetworkQueryService.aidl \ 327d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordon src/com/android/phone/INetworkQueryServiceCallback.aidl 3314462b65dee767d897219d685d41357c9b78c33fSai CheemalapatiLOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, $(res_dirs)) 349f24ec1753690219d477bc362450fe46650253d9Aurimas LiutikasLOCAL_USE_AAPT2 := true 35c57b9ee4ae86d377866fa4438a2f1bef379d92c5Fan Zhang 3614462b65dee767d897219d685d41357c9b78c33fSai CheemalapatiLOCAL_AAPT_FLAGS := \ 37788959e2d798da2d8a34cf89779421966d200f3dSailesh Nepal --extra-packages com.android.phone.common \ 38945409fb0283108f266c48b55eec1eac3aaa40a4Eric Erfanian --extra-packages com.android.services.telephony.sip 397d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordon 407d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos CordonLOCAL_PACKAGE_NAME := TeleService 41287194069c04d4f923c23da83dc2736415dff085Anton HanssonLOCAL_PRIVATE_PLATFORM_APIS := true 4250a47893c161abb76e2e8b2ec7afaad1621dc2c8Santos Cordon 437d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos CordonLOCAL_CERTIFICATE := platform 447d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos CordonLOCAL_PRIVILEGED_MODULE := true 457d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordon 46788959e2d798da2d8a34cf89779421966d200f3dSailesh NepalLOCAL_PROGUARD_FLAG_FILES := proguard.flags sip/proguard.flags 477d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordon 48c738a389d4f52b421556d5bc3c88cdfb4624a77cMahaver Choprainclude frameworks/base/packages/SettingsLib/common.mk 49c738a389d4f52b421556d5bc3c88cdfb4624a77cMahaver Chopra 507d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordoninclude $(BUILD_PACKAGE) 517d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordon 527d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordon# Build the test package 537d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordoninclude $(call all-makefiles-under,$(LOCAL_PATH)) 54