1LOCAL_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 7phone_common_dir := ../../apps/PhoneCommon 8 9src_dirs := src $(phone_common_dir)/src sip/src 10res_dirs := res $(phone_common_dir)/res sip/res 11 12LOCAL_JAVA_LIBRARIES := \ 13 telephony-common \ 14 voip-common \ 15 ims-common \ 16 org.apache.http.legacy 17 18LOCAL_STATIC_ANDROID_LIBRARIES := \ 19 android-support-v7-appcompat \ 20 android-support-v7-preference \ 21 android-support-v7-recyclerview \ 22 android-support-v14-preference 23 24LOCAL_STATIC_JAVA_LIBRARIES := \ 25 guava \ 26 volley 27 28LOCAL_SRC_FILES := $(call all-java-files-under, $(src_dirs)) 29LOCAL_SRC_FILES += \ 30 src/com/android/phone/EventLogTags.logtags \ 31 src/com/android/phone/INetworkQueryService.aidl \ 32 src/com/android/phone/INetworkQueryServiceCallback.aidl 33LOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, $(res_dirs)) 34LOCAL_USE_AAPT2 := true 35 36LOCAL_AAPT_FLAGS := \ 37 --extra-packages com.android.phone.common \ 38 --extra-packages com.android.services.telephony.sip 39 40LOCAL_PACKAGE_NAME := TeleService 41LOCAL_PRIVATE_PLATFORM_APIS := true 42 43LOCAL_CERTIFICATE := platform 44LOCAL_PRIVILEGED_MODULE := true 45 46LOCAL_PROGUARD_FLAG_FILES := proguard.flags sip/proguard.flags 47 48include frameworks/base/packages/SettingsLib/common.mk 49 50include $(BUILD_PACKAGE) 51 52# Build the test package 53include $(call all-makefiles-under,$(LOCAL_PATH)) 54