blob: cf0ba6c6fd623ac2144419ee1de63a0abc2be4be [file] [log] [blame]
Jason Monk2ba4ce62015-01-13 10:08:23 -05001#
2# Include this make file to build your application against this module.
3#
4# Make sure to include it after you've set all your desired LOCAL variables.
5# Note that you must explicitly set your LOCAL_RESOURCE_DIR before including
6# this file.
7#
8# For example:
9#
10# LOCAL_RESOURCE_DIR := \
11# $(LOCAL_PATH)/res
12#
13# include frameworks/base/packages/SettingsLib/common.mk
14#
15
Adam Lesinski5ff3ad62016-04-13 20:30:45 -070016ifeq ($(LOCAL_USE_AAPT2),true)
17LOCAL_STATIC_ANDROID_LIBRARIES += \
18 android-support-annotations \
19 android-support-v4 \
20 SettingsLib
21else
Jason Monk2ba4ce62015-01-13 10:08:23 -050022LOCAL_RESOURCE_DIR += $(call my-dir)/res
23LOCAL_AAPT_FLAGS += --auto-add-overlay --extra-packages com.android.settingslib
Adam Lesinski5ff3ad62016-04-13 20:30:45 -070024LOCAL_STATIC_JAVA_LIBRARIES += \
25 android-support-annotations \
26 android-support-v4 \
27 SettingsLib
28endif