2015-01-13 10:08:23 -05:00
|
|
|
#
|
|
|
|
# Include this make file to build your application against this module.
|
|
|
|
#
|
|
|
|
# Make sure to include it after you've set all your desired LOCAL variables.
|
|
|
|
# Note that you must explicitly set your LOCAL_RESOURCE_DIR before including
|
|
|
|
# this file.
|
|
|
|
#
|
|
|
|
# For example:
|
|
|
|
#
|
|
|
|
# LOCAL_RESOURCE_DIR := \
|
|
|
|
# $(LOCAL_PATH)/res
|
|
|
|
#
|
|
|
|
# include frameworks/base/packages/SettingsLib/common.mk
|
|
|
|
#
|
|
|
|
|
2016-04-13 20:30:45 -07:00
|
|
|
ifeq ($(LOCAL_USE_AAPT2),true)
|
|
|
|
LOCAL_STATIC_ANDROID_LIBRARIES += \
|
|
|
|
android-support-annotations \
|
|
|
|
android-support-v4 \
|
|
|
|
SettingsLib
|
|
|
|
else
|
2015-01-13 10:08:23 -05:00
|
|
|
LOCAL_RESOURCE_DIR += $(call my-dir)/res
|
|
|
|
LOCAL_AAPT_FLAGS += --auto-add-overlay --extra-packages com.android.settingslib
|
2016-04-13 20:30:45 -07:00
|
|
|
LOCAL_STATIC_JAVA_LIBRARIES += \
|
|
|
|
android-support-annotations \
|
|
|
|
android-support-v4 \
|
2017-01-06 12:21:11 -08:00
|
|
|
android-support-v7-appcompat \
|
|
|
|
android-support-v7-preference \
|
|
|
|
android-support-v7-recyclerview \
|
|
|
|
android-support-v14-preference \
|
2016-04-13 20:30:45 -07:00
|
|
|
SettingsLib
|
|
|
|
endif
|