-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathAndroid.mk
executable file
·47 lines (33 loc) · 1.44 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
# Copyright 2007-2008 The Android Open Source Project
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
# Include res dir from chips
chips_dir := ../../../frameworks/opt/chips/res
contacts_common_dir := ../ContactsCommon
phone_common_dir := ../PhoneCommon
res_dirs := res $(chips_dir) $(contacts_common_dir)/res $(phone_common_dir)/res
src_dirs := src $(contacts_common_dir)/src $(phone_common_dir)/src
$(shell rm -f $(LOCAL_PATH)/chips)
LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES := $(call all-java-files-under, $(src_dirs))
LOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, $(res_dirs))
LOCAL_PACKAGE_NAME := Mms
# Builds against the public SDK
#LOCAL_SDK_VERSION := current
LOCAL_JAVA_LIBRARIES += telephony-common
LOCAL_STATIC_JAVA_LIBRARIES += android-common jsr305
LOCAL_STATIC_JAVA_LIBRARIES += libchips
LOCAL_STATIC_JAVA_LIBRARIES += com.android.vcard libphonenumber libgeocoding guava
LOCAL_STATIC_JAVA_LIBRARIES += android-support-v7-palette
LOCAL_STATIC_JAVA_LIBRARIES += android-support-v4
LOCAL_AAPT_FLAGS := \
--auto-add-overlay \
--extra-packages com.android.ex.chips \
--extra-packages com.android.contacts.common \
--extra-packages com.android.phone.common
LOCAL_REQUIRED_MODULES := SoundRecorder
LOCAL_PROGUARD_FLAG_FILES := proguard.flags
LOCAL_PRIVILEGED_MODULE := true
include $(BUILD_PACKAGE)
# This finds and builds the test apk as well, so a single make does both.
include $(call all-makefiles-under,$(LOCAL_PATH))