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 |
Eric Erfanian | 945409f | 2018-02-21 19:26:15 +0000 | [diff] [blame] | 10 | res_dirs := res $(phone_common_dir)/res sip/res |
Leo Hsu | bd5525c | 2018-07-20 19:10:30 +0800 | [diff] [blame] | 11 | asset_dirs := assets ecc/output |
Sai Cheemalapati | 14462b6 | 2014-06-18 13:53:56 -0700 | [diff] [blame] | 12 | |
Colin Cross | c64180a | 2017-01-19 14:18:45 -0800 | [diff] [blame] | 13 | LOCAL_JAVA_LIBRARIES := \ |
| 14 | telephony-common \ |
| 15 | voip-common \ |
| 16 | ims-common \ |
Leo Hsu | bd5525c | 2018-07-20 19:10:30 +0800 | [diff] [blame] | 17 | org.apache.http.legacy \ |
| 18 | libprotobuf-java-nano |
Colin Cross | c64180a | 2017-01-19 14:18:45 -0800 | [diff] [blame] | 19 | |
Aurimas Liutikas | 9f24ec1 | 2017-12-04 19:01:49 -0800 | [diff] [blame] | 20 | LOCAL_STATIC_ANDROID_LIBRARIES := \ |
Colin Cross | c64180a | 2017-01-19 14:18:45 -0800 | [diff] [blame] | 21 | android-support-v7-appcompat \ |
| 22 | android-support-v7-preference \ |
| 23 | android-support-v7-recyclerview \ |
Aurimas Liutikas | 9f24ec1 | 2017-12-04 19:01:49 -0800 | [diff] [blame] | 24 | android-support-v14-preference |
| 25 | |
| 26 | LOCAL_STATIC_JAVA_LIBRARIES := \ |
Alan Viverette | 34c163a | 2017-05-02 17:18:27 +0000 | [diff] [blame] | 27 | guava \ |
| 28 | volley |
Santos Cordon | f6bb89d | 2013-07-12 14:21:14 -0700 | [diff] [blame] | 29 | |
Sai Cheemalapati | 14462b6 | 2014-06-18 13:53:56 -0700 | [diff] [blame] | 30 | LOCAL_SRC_FILES := $(call all-java-files-under, $(src_dirs)) |
Leo Hsu | bd5525c | 2018-07-20 19:10:30 +0800 | [diff] [blame] | 31 | LOCAL_SRC_FILES += $(call all-proto-files-under, ecc/proto) |
Santos Cordon | 7d4ddf6 | 2013-07-10 11:58:08 -0700 | [diff] [blame] | 32 | LOCAL_SRC_FILES += \ |
| 33 | src/com/android/phone/EventLogTags.logtags \ |
| 34 | src/com/android/phone/INetworkQueryService.aidl \ |
| 35 | src/com/android/phone/INetworkQueryServiceCallback.aidl |
Sai Cheemalapati | 14462b6 | 2014-06-18 13:53:56 -0700 | [diff] [blame] | 36 | LOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, $(res_dirs)) |
Leo Hsu | bd5525c | 2018-07-20 19:10:30 +0800 | [diff] [blame] | 37 | LOCAL_ASSET_DIR := $(addprefix $(LOCAL_PATH)/, $(asset_dirs)) |
Aurimas Liutikas | 9f24ec1 | 2017-12-04 19:01:49 -0800 | [diff] [blame] | 38 | LOCAL_USE_AAPT2 := true |
Fan Zhang | c57b9ee | 2017-07-07 20:57:33 -0700 | [diff] [blame] | 39 | |
Sai Cheemalapati | 14462b6 | 2014-06-18 13:53:56 -0700 | [diff] [blame] | 40 | LOCAL_AAPT_FLAGS := \ |
Sailesh Nepal | 788959e | 2014-07-08 23:36:40 -0700 | [diff] [blame] | 41 | --extra-packages com.android.phone.common \ |
Eric Erfanian | 945409f | 2018-02-21 19:26:15 +0000 | [diff] [blame] | 42 | --extra-packages com.android.services.telephony.sip |
Santos Cordon | 7d4ddf6 | 2013-07-10 11:58:08 -0700 | [diff] [blame] | 43 | |
| 44 | LOCAL_PACKAGE_NAME := TeleService |
Anton Hansson | 2871940 | 2018-02-23 16:06:17 +0000 | [diff] [blame] | 45 | LOCAL_PRIVATE_PLATFORM_APIS := true |
Santos Cordon | 50a4789 | 2013-07-11 11:09:04 -0700 | [diff] [blame] | 46 | |
Santos Cordon | 7d4ddf6 | 2013-07-10 11:58:08 -0700 | [diff] [blame] | 47 | LOCAL_CERTIFICATE := platform |
| 48 | LOCAL_PRIVILEGED_MODULE := true |
| 49 | |
Sailesh Nepal | 788959e | 2014-07-08 23:36:40 -0700 | [diff] [blame] | 50 | LOCAL_PROGUARD_FLAG_FILES := proguard.flags sip/proguard.flags |
Santos Cordon | 7d4ddf6 | 2013-07-10 11:58:08 -0700 | [diff] [blame] | 51 | |
Mahaver Chopra | c738a38 | 2016-02-05 15:46:37 +0000 | [diff] [blame] | 52 | include frameworks/base/packages/SettingsLib/common.mk |
| 53 | |
Santos Cordon | 7d4ddf6 | 2013-07-10 11:58:08 -0700 | [diff] [blame] | 54 | include $(BUILD_PACKAGE) |
| 55 | |
| 56 | # Build the test package |
| 57 | include $(call all-makefiles-under,$(LOCAL_PATH)) |
Leo Hsu | bd5525c | 2018-07-20 19:10:30 +0800 | [diff] [blame] | 58 | |