Remove Google Play Services dependency
PS2: inline hasGms usage, don't use addprefix for a single entry,
remove unused imports
Change-Id: I1eb1fb76e4b80e26992599e3511d265abbfa1cd7
This commit is contained in:
12
Android.mk
12
Android.mk
@@ -14,19 +14,15 @@ LOCAL_PROGUARD_FLAG_FILES := proguard.flags
|
||||
LOCAL_STATIC_JAVA_LIBRARIES := \
|
||||
android-support-v4 \
|
||||
android-support-v13 \
|
||||
play \
|
||||
libphonenumber \
|
||||
org.cyanogenmod.platform.sdk
|
||||
|
||||
LOCAL_JAVA_LIBRARIES := telephony-common
|
||||
LOCAL_JAVA_LIBRARIES := \
|
||||
org.cyanogenmod.platform.internal \
|
||||
telephony-common
|
||||
|
||||
# Include res dir from chips
|
||||
google_play_dir := ../../../external/google/google_play_services/libproject/google-play-services_lib/res
|
||||
res_dir := $(google_play_dir) res
|
||||
|
||||
LOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, $(res_dir))
|
||||
LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
|
||||
LOCAL_AAPT_FLAGS := --auto-add-overlay
|
||||
LOCAL_AAPT_FLAGS += --extra-packages com.google.android.gms
|
||||
|
||||
include frameworks/opt/setupwizard/library/common.mk
|
||||
|
||||
|
||||
Reference in New Issue
Block a user