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 | |
| 9 | src_dirs := src $(phone_common_dir)/src |
| 10 | res_dirs := res $(phone_common_dir)/res |
| 11 | |
Santos Cordon | 7d4ddf6 | 2013-07-10 11:58:08 -0700 | [diff] [blame] | 12 | LOCAL_JAVA_LIBRARIES := telephony-common voip-common |
Sai Cheemalapati | 14462b6 | 2014-06-18 13:53:56 -0700 | [diff] [blame] | 13 | LOCAL_STATIC_JAVA_LIBRARIES := \ |
Santos Cordon | 63a8424 | 2013-07-23 13:32:52 -0700 | [diff] [blame] | 14 | com.android.services.telephony.common \ |
Santos Cordon | b01deb5 | 2013-08-06 23:46:06 -0700 | [diff] [blame] | 15 | guava \ |
Santos Cordon | f6bb89d | 2013-07-12 14:21:14 -0700 | [diff] [blame] | 16 | |
Sai Cheemalapati | 14462b6 | 2014-06-18 13:53:56 -0700 | [diff] [blame] | 17 | LOCAL_SRC_FILES := $(call all-java-files-under, $(src_dirs)) |
Santos Cordon | 7d4ddf6 | 2013-07-10 11:58:08 -0700 | [diff] [blame] | 18 | LOCAL_SRC_FILES += \ |
| 19 | src/com/android/phone/EventLogTags.logtags \ |
| 20 | src/com/android/phone/INetworkQueryService.aidl \ |
| 21 | src/com/android/phone/INetworkQueryServiceCallback.aidl |
Sai Cheemalapati | 14462b6 | 2014-06-18 13:53:56 -0700 | [diff] [blame] | 22 | LOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, $(res_dirs)) |
| 23 | |
| 24 | LOCAL_AAPT_FLAGS := \ |
| 25 | --auto-add-overlay \ |
| 26 | --extra-packages com.android.phone.common |
Santos Cordon | 7d4ddf6 | 2013-07-10 11:58:08 -0700 | [diff] [blame] | 27 | |
| 28 | LOCAL_PACKAGE_NAME := TeleService |
Santos Cordon | 50a4789 | 2013-07-11 11:09:04 -0700 | [diff] [blame] | 29 | |
Santos Cordon | 7d4ddf6 | 2013-07-10 11:58:08 -0700 | [diff] [blame] | 30 | LOCAL_CERTIFICATE := platform |
| 31 | LOCAL_PRIVILEGED_MODULE := true |
| 32 | |
| 33 | LOCAL_PROGUARD_FLAG_FILES := proguard.flags |
| 34 | |
| 35 | include $(BUILD_PACKAGE) |
| 36 | |
| 37 | # Build the test package |
| 38 | include $(call all-makefiles-under,$(LOCAL_PATH)) |