Android.mk revision 14462b65dee767d897219d685d41357c9b78c33f
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
914462b65dee767d897219d685d41357c9b78c33fSai Cheemalapatisrc_dirs := src $(phone_common_dir)/src
1014462b65dee767d897219d685d41357c9b78c33fSai Cheemalapatires_dirs := res $(phone_common_dir)/res
1114462b65dee767d897219d685d41357c9b78c33fSai Cheemalapati
127d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos CordonLOCAL_JAVA_LIBRARIES := telephony-common voip-common
1314462b65dee767d897219d685d41357c9b78c33fSai CheemalapatiLOCAL_STATIC_JAVA_LIBRARIES := \
1463a8424848966c0e94a78c4200bb091366dca3b8Santos Cordon        com.android.services.telephony.common \
15b01deb52890e2c5cb97e708040e11f433048b451Santos Cordon        guava \
16f6bb89d4fd6ceca5139d765e7116cca7996d54f5Santos Cordon
1714462b65dee767d897219d685d41357c9b78c33fSai CheemalapatiLOCAL_SRC_FILES := $(call all-java-files-under, $(src_dirs))
187d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos CordonLOCAL_SRC_FILES += \
197d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordon        src/com/android/phone/EventLogTags.logtags \
207d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordon        src/com/android/phone/INetworkQueryService.aidl \
217d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordon        src/com/android/phone/INetworkQueryServiceCallback.aidl
2214462b65dee767d897219d685d41357c9b78c33fSai CheemalapatiLOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, $(res_dirs))
2314462b65dee767d897219d685d41357c9b78c33fSai Cheemalapati
2414462b65dee767d897219d685d41357c9b78c33fSai CheemalapatiLOCAL_AAPT_FLAGS := \
2514462b65dee767d897219d685d41357c9b78c33fSai Cheemalapati    --auto-add-overlay \
2614462b65dee767d897219d685d41357c9b78c33fSai Cheemalapati    --extra-packages com.android.phone.common
277d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordon
287d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos CordonLOCAL_PACKAGE_NAME := TeleService
2950a47893c161abb76e2e8b2ec7afaad1621dc2c8Santos Cordon
307d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos CordonLOCAL_CERTIFICATE := platform
317d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos CordonLOCAL_PRIVILEGED_MODULE := true
327d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordon
337d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos CordonLOCAL_PROGUARD_FLAG_FILES := proguard.flags
347d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordon
357d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordoninclude $(BUILD_PACKAGE)
367d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordon
377d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordon# Build the test package
387d4ddf6dc0d7c8158bac3a5dec7936e837e95bddSantos Cordoninclude $(call all-makefiles-under,$(LOCAL_PATH))
39