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 7 phone_common_dir := ../../apps/PhoneCommon 8 9 src_dirs := src $(phone_common_dir)/src sip/src 10 res_dirs := res $(phone_common_dir)/res sip/res 11 12 LOCAL_JAVA_LIBRARIES := telephony-common voip-common ims-common 13 LOCAL_STATIC_JAVA_LIBRARIES := \ 14 org.apache.http.legacy \ 15 guava \ 16 volley 17 18 LOCAL_SRC_FILES := $(call all-java-files-under, $(src_dirs)) 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 23 LOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, $(res_dirs)) 24 25 LOCAL_AAPT_FLAGS := \ 26 --auto-add-overlay \ 27 --extra-packages com.android.phone.common \ 28 --extra-packages com.android.services.telephony.sip 29 30 LOCAL_PACKAGE_NAME := TeleService 31 32 LOCAL_CERTIFICATE := platform 33 LOCAL_PRIVILEGED_MODULE := true 34 35 LOCAL_PROGUARD_FLAG_FILES := proguard.flags sip/proguard.flags 36 37 include frameworks/base/packages/SettingsLib/common.mk 38 39 include $(BUILD_PACKAGE) 40 41 # Build the test package 42 include $(call all-makefiles-under,$(LOCAL_PATH)) 43