Android.mk revision c57b9ee4ae86d377866fa4438a2f1bef379d92c5
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 \ 23eb9c570f95dc9ca5367e6a04b042f302d0746c69Lucas Dupin colorextraction \ 2434c163aabd9474417e7ced5a6d60133098f51a95Alan Viverette guava \ 2534c163aabd9474417e7ced5a6d60133098f51a95Alan Viverette volley 26f6bb89d4fd6ceca5139d765e7116cca7996d54f5Santos Cordon 2714462b65dee767d897219d685d41357c9b78c33fSai CheemalapatiLOCAL_SRC_FILES := $(call all-java-files-under, $(src_dirs)) 287d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos CordonLOCAL_SRC_FILES += \ 297d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordon src/com/android/phone/EventLogTags.logtags \ 307d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordon src/com/android/phone/INetworkQueryService.aidl \ 317d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordon src/com/android/phone/INetworkQueryServiceCallback.aidl 3214462b65dee767d897219d685d41357c9b78c33fSai CheemalapatiLOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, $(res_dirs)) 3314462b65dee767d897219d685d41357c9b78c33fSai Cheemalapati 34c57b9ee4ae86d377866fa4438a2f1bef379d92c5Fan ZhangLOCAL_RESOURCE_DIR += \ 35c57b9ee4ae86d377866fa4438a2f1bef379d92c5Fan Zhang frameworks/support/v7/appcompat/res \ 36c57b9ee4ae86d377866fa4438a2f1bef379d92c5Fan Zhang frameworks/support/v7/preference/res \ 37c57b9ee4ae86d377866fa4438a2f1bef379d92c5Fan Zhang frameworks/support/v7/recyclerview/res \ 38c57b9ee4ae86d377866fa4438a2f1bef379d92c5Fan Zhang frameworks/support/v14/preference/res 39c57b9ee4ae86d377866fa4438a2f1bef379d92c5Fan Zhang 4014462b65dee767d897219d685d41357c9b78c33fSai CheemalapatiLOCAL_AAPT_FLAGS := \ 4114462b65dee767d897219d685d41357c9b78c33fSai Cheemalapati --auto-add-overlay \ 42788959e2d798da2d8a34cf89779421966d200f3dSailesh Nepal --extra-packages com.android.phone.common \ 43c57b9ee4ae86d377866fa4438a2f1bef379d92c5Fan Zhang --extra-packages com.android.services.telephony.sip \ 44c57b9ee4ae86d377866fa4438a2f1bef379d92c5Fan Zhang --extra-packages android.support.v7.appcompat \ 45c57b9ee4ae86d377866fa4438a2f1bef379d92c5Fan Zhang --extra-packages android.support.v7.preference \ 46c57b9ee4ae86d377866fa4438a2f1bef379d92c5Fan Zhang --extra-packages android.support.v7.recyclerview \ 47c57b9ee4ae86d377866fa4438a2f1bef379d92c5Fan Zhang --extra-packages android.support.v14.preference 487d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordon 497d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos CordonLOCAL_PACKAGE_NAME := TeleService 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