-
Notifications
You must be signed in to change notification settings - Fork 0
/
Android.mk
66 lines (50 loc) · 1.86 KB
/
Android.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
LOCAL_PATH:= $(call my-dir)
# Build the Phone app which includes the emergency dialer. See Contacts
# for the 'other' dialer.
include $(CLEAR_VARS)
phone_common_dir := ../../apps/PhoneCommon
src_dirs := src $(phone_common_dir)/src sip/src
res_dirs := res $(phone_common_dir)/res sip/res
asset_dirs := assets ecc/output
LOCAL_JAVA_LIBRARIES := \
telephony-common \
voip-common \
ims-common \
org.apache.http.legacy \
telephony-ext \
ims-ext-common \
libprotobuf-java-nano
LOCAL_STATIC_ANDROID_LIBRARIES := \
android-support-v7-appcompat \
android-support-v7-preference \
android-support-v7-recyclerview \
android-support-v14-preference
LOCAL_STATIC_JAVA_LIBRARIES := \
ims-ext-common \
guava \
volley \
ims-ext-common
LOCAL_SRC_FILES := $(call all-java-files-under, $(src_dirs))
LOCAL_SRC_FILES += $(call all-proto-files-under, ecc/proto)
LOCAL_SRC_FILES += \
src/com/android/phone/EventLogTags.logtags \
src/com/android/phone/INetworkQueryService.aidl \
src/com/android/phone/INetworkQueryServiceCallback.aidl
LOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, $(res_dirs))
LOCAL_ASSET_DIR := $(addprefix $(LOCAL_PATH)/, $(asset_dirs))
LOCAL_USE_AAPT2 := true
LOCAL_AAPT_FLAGS := \
--extra-packages com.android.phone.common \
--extra-packages com.android.services.telephony.sip
LOCAL_PACKAGE_NAME := TeleService
LOCAL_PRIVATE_PLATFORM_APIS := true
LOCAL_CERTIFICATE := platform
LOCAL_PRIVILEGED_MODULE := true
LOCAL_PROGUARD_FLAG_FILES := proguard.flags sip/proguard.flags
ifeq ($(TARGET_USES_ALTERNATIVE_MANUAL_NETWORK_SELECT),true)
LOCAL_REQUIRED_MODULES := CustomNetworkSettings
endif
include frameworks/base/packages/SettingsLib/common.mk
include $(BUILD_PACKAGE)
# Build the test package
include $(call all-makefiles-under,$(LOCAL_PATH))