blob: f70277de5d545da7be860573bb8f47e5f3705509 [file] [log] [blame]
Santos Cordon7d4ddf62013-07-10 11:58:08 -07001LOCAL_PATH:= $(call my-dir)
2
3# Build the Phone app which includes the emergency dialer. See Contacts
4# for the 'other' dialer.
5include $(CLEAR_VARS)
6
Sai Cheemalapati14462b62014-06-18 13:53:56 -07007phone_common_dir := ../../apps/PhoneCommon
8
Sailesh Nepal788959e2014-07-08 23:36:40 -07009src_dirs := src $(phone_common_dir)/src sip/src
Eric Erfanianc712d4b2018-01-03 16:36:14 -080010res_dirs := res \
11 $(phone_common_dir)/res \
12 sip/res \
13 src/com/android/phone/assisteddialing/res \
14 src/com/android/phone/settings/assisteddialing/res
Sai Cheemalapati14462b62014-06-18 13:53:56 -070015
Colin Crossc64180a2017-01-19 14:18:45 -080016LOCAL_JAVA_LIBRARIES := \
17 telephony-common \
18 voip-common \
19 ims-common \
20 org.apache.http.legacy
21
Aurimas Liutikas9f24ec12017-12-04 19:01:49 -080022LOCAL_STATIC_ANDROID_LIBRARIES := \
Colin Crossc64180a2017-01-19 14:18:45 -080023 android-support-v7-appcompat \
24 android-support-v7-preference \
25 android-support-v7-recyclerview \
Aurimas Liutikas9f24ec12017-12-04 19:01:49 -080026 android-support-v14-preference
27
28LOCAL_STATIC_JAVA_LIBRARIES := \
Alan Viverette34c163a2017-05-02 17:18:27 +000029 guava \
30 volley
Santos Cordonf6bb89d2013-07-12 14:21:14 -070031
Sai Cheemalapati14462b62014-06-18 13:53:56 -070032LOCAL_SRC_FILES := $(call all-java-files-under, $(src_dirs))
Santos Cordon7d4ddf62013-07-10 11:58:08 -070033LOCAL_SRC_FILES += \
34 src/com/android/phone/EventLogTags.logtags \
35 src/com/android/phone/INetworkQueryService.aidl \
36 src/com/android/phone/INetworkQueryServiceCallback.aidl
Sai Cheemalapati14462b62014-06-18 13:53:56 -070037LOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, $(res_dirs))
Aurimas Liutikas9f24ec12017-12-04 19:01:49 -080038LOCAL_USE_AAPT2 := true
Fan Zhangc57b9ee2017-07-07 20:57:33 -070039
Sai Cheemalapati14462b62014-06-18 13:53:56 -070040LOCAL_AAPT_FLAGS := \
Sailesh Nepal788959e2014-07-08 23:36:40 -070041 --extra-packages com.android.phone.common \
Eric Erfanianc712d4b2018-01-03 16:36:14 -080042 --extra-packages com.android.services.telephony.sip \
43 --extra-packages com.android.phone.assisteddialing \
44 --extra-packages com.android.phone.settings.assisteddialing
Santos Cordon7d4ddf62013-07-10 11:58:08 -070045
46LOCAL_PACKAGE_NAME := TeleService
Santos Cordon50a47892013-07-11 11:09:04 -070047
Santos Cordon7d4ddf62013-07-10 11:58:08 -070048LOCAL_CERTIFICATE := platform
49LOCAL_PRIVILEGED_MODULE := true
50
Sailesh Nepal788959e2014-07-08 23:36:40 -070051LOCAL_PROGUARD_FLAG_FILES := proguard.flags sip/proguard.flags
Santos Cordon7d4ddf62013-07-10 11:58:08 -070052
Mahaver Choprac738a382016-02-05 15:46:37 +000053include frameworks/base/packages/SettingsLib/common.mk
54
Santos Cordon7d4ddf62013-07-10 11:58:08 -070055include $(BUILD_PACKAGE)
56
57# Build the test package
58include $(call all-makefiles-under,$(LOCAL_PATH))