Santos Cordon | 7d4ddf6 | 2013-07-10 11:58:08 -0700 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | |
| 3 | # Build the Phone app which includes the emergency dialer. See Contacts |
| 4 | # for the 'other' dialer. |
| 5 | include $(CLEAR_VARS) |
| 6 | |
Sai Cheemalapati | 14462b6 | 2014-06-18 13:53:56 -0700 | [diff] [blame] | 7 | phone_common_dir := ../../apps/PhoneCommon |
| 8 | |
Sailesh Nepal | 788959e | 2014-07-08 23:36:40 -0700 | [diff] [blame] | 9 | src_dirs := src $(phone_common_dir)/src sip/src |
| 10 | res_dirs := res $(phone_common_dir)/res sip/res |
Sai Cheemalapati | 14462b6 | 2014-06-18 13:53:56 -0700 | [diff] [blame] | 11 | |
Etan Cohen | 0ca1c80 | 2014-07-07 15:35:48 -0700 | [diff] [blame] | 12 | LOCAL_JAVA_LIBRARIES := telephony-common voip-common ims-common |
Sai Cheemalapati | 14462b6 | 2014-06-18 13:53:56 -0700 | [diff] [blame] | 13 | LOCAL_STATIC_JAVA_LIBRARIES := \ |
Ta-wei Yen | b250ce8 | 2016-06-07 15:16:30 -0700 | [diff] [blame] | 14 | org.apache.http.legacy \ |
| 15 | guava \ |
| 16 | volley |
Santos Cordon | f6bb89d | 2013-07-12 14:21:14 -0700 | [diff] [blame] | 17 | |
Sai Cheemalapati | 14462b6 | 2014-06-18 13:53:56 -0700 | [diff] [blame] | 18 | LOCAL_SRC_FILES := $(call all-java-files-under, $(src_dirs)) |
Santos Cordon | 7d4ddf6 | 2013-07-10 11:58:08 -0700 | [diff] [blame] | 19 | LOCAL_SRC_FILES += \ |
| 20 | src/com/android/phone/EventLogTags.logtags \ |
| 21 | src/com/android/phone/INetworkQueryService.aidl \ |
| 22 | src/com/android/phone/INetworkQueryServiceCallback.aidl |
Sai Cheemalapati | 14462b6 | 2014-06-18 13:53:56 -0700 | [diff] [blame] | 23 | LOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, $(res_dirs)) |
| 24 | |
| 25 | LOCAL_AAPT_FLAGS := \ |
| 26 | --auto-add-overlay \ |
Sailesh Nepal | 788959e | 2014-07-08 23:36:40 -0700 | [diff] [blame] | 27 | --extra-packages com.android.phone.common \ |
| 28 | --extra-packages com.android.services.telephony.sip |
Santos Cordon | 7d4ddf6 | 2013-07-10 11:58:08 -0700 | [diff] [blame] | 29 | |
| 30 | LOCAL_PACKAGE_NAME := TeleService |
Santos Cordon | 50a4789 | 2013-07-11 11:09:04 -0700 | [diff] [blame] | 31 | |
Santos Cordon | 7d4ddf6 | 2013-07-10 11:58:08 -0700 | [diff] [blame] | 32 | LOCAL_CERTIFICATE := platform |
| 33 | LOCAL_PRIVILEGED_MODULE := true |
| 34 | |
Sailesh Nepal | 788959e | 2014-07-08 23:36:40 -0700 | [diff] [blame] | 35 | LOCAL_PROGUARD_FLAG_FILES := proguard.flags sip/proguard.flags |
Santos Cordon | 7d4ddf6 | 2013-07-10 11:58:08 -0700 | [diff] [blame] | 36 | |
Mahaver Chopra | c738a38 | 2016-02-05 15:46:37 +0000 | [diff] [blame] | 37 | include frameworks/base/packages/SettingsLib/common.mk |
| 38 | |
Santos Cordon | 7d4ddf6 | 2013-07-10 11:58:08 -0700 | [diff] [blame] | 39 | include $(BUILD_PACKAGE) |
| 40 | |
| 41 | # Build the test package |
| 42 | include $(call all-makefiles-under,$(LOCAL_PATH)) |