Android.mk revision b250ce8d53a07ee1900f979095479074ab7d509c
17d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos CordonLOCAL_PATH:= $(call my-dir)
27d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordon
37d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordon# Build the Phone app which includes the emergency dialer. See Contacts
47d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordon# for the 'other' dialer.
57d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordoninclude $(CLEAR_VARS)
67d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordon
714462b65dee767d897219d685d41357c9b78c33fSai Cheemalapatiphone_common_dir := ../../apps/PhoneCommon
814462b65dee767d897219d685d41357c9b78c33fSai Cheemalapati
9788959e2d798da2d8a34cf89779421966d200f3dSailesh Nepalsrc_dirs := src $(phone_common_dir)/src sip/src
10788959e2d798da2d8a34cf89779421966d200f3dSailesh Nepalres_dirs := res $(phone_common_dir)/res sip/res
1114462b65dee767d897219d685d41357c9b78c33fSai Cheemalapati
120ca1c80f1ca60966a16169b109e96ac19fa69743Etan CohenLOCAL_JAVA_LIBRARIES := telephony-common voip-common ims-common
1314462b65dee767d897219d685d41357c9b78c33fSai CheemalapatiLOCAL_STATIC_JAVA_LIBRARIES := \
14b250ce8d53a07ee1900f979095479074ab7d509cTa-wei Yen        org.apache.http.legacy \
15b250ce8d53a07ee1900f979095479074ab7d509cTa-wei Yen        guava \
16b250ce8d53a07ee1900f979095479074ab7d509cTa-wei Yen        volley
17f6bb89d4fd6ceca5139d765e7116cca7996d54f5Santos Cordon
1814462b65dee767d897219d685d41357c9b78c33fSai CheemalapatiLOCAL_SRC_FILES := $(call all-java-files-under, $(src_dirs))
197d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos CordonLOCAL_SRC_FILES += \
207d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordon        src/com/android/phone/EventLogTags.logtags \
217d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordon        src/com/android/phone/INetworkQueryService.aidl \
227d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordon        src/com/android/phone/INetworkQueryServiceCallback.aidl
2314462b65dee767d897219d685d41357c9b78c33fSai CheemalapatiLOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, $(res_dirs))
2414462b65dee767d897219d685d41357c9b78c33fSai Cheemalapati
2514462b65dee767d897219d685d41357c9b78c33fSai CheemalapatiLOCAL_AAPT_FLAGS := \
2614462b65dee767d897219d685d41357c9b78c33fSai Cheemalapati    --auto-add-overlay \
27788959e2d798da2d8a34cf89779421966d200f3dSailesh Nepal    --extra-packages com.android.phone.common \
28788959e2d798da2d8a34cf89779421966d200f3dSailesh Nepal    --extra-packages com.android.services.telephony.sip
297d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordon
307d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos CordonLOCAL_PACKAGE_NAME := TeleService
3150a47893c161abb76e2e8b2ec7afaad1621dc2c8Santos Cordon
327d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos CordonLOCAL_CERTIFICATE := platform
337d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos CordonLOCAL_PRIVILEGED_MODULE := true
347d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordon
35788959e2d798da2d8a34cf89779421966d200f3dSailesh NepalLOCAL_PROGUARD_FLAG_FILES := proguard.flags sip/proguard.flags
367d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordon
37c738a389d4f52b421556d5bc3c88cdfb4624a77cMahaver Choprainclude frameworks/base/packages/SettingsLib/common.mk
38c738a389d4f52b421556d5bc3c88cdfb4624a77cMahaver Chopra
397d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordoninclude $(BUILD_PACKAGE)
407d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordon
417d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordon# Build the test package
427d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordoninclude $(call all-makefiles-under,$(LOCAL_PATH))
43