Jason Monk | 2ba4ce6 | 2015-01-13 10:08:23 -0500 | [diff] [blame] | 1 | # |
| 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 Lesinski | 5ff3ad6 | 2016-04-13 20:30:45 -0700 | [diff] [blame] | 16 | ifeq ($(LOCAL_USE_AAPT2),true) |
| 17 | LOCAL_STATIC_ANDROID_LIBRARIES += \ |
| 18 | android-support-annotations \ |
| 19 | android-support-v4 \ |
| 20 | SettingsLib |
| 21 | else |
Jason Monk | 2ba4ce6 | 2015-01-13 10:08:23 -0500 | [diff] [blame] | 22 | LOCAL_RESOURCE_DIR += $(call my-dir)/res |
| 23 | LOCAL_AAPT_FLAGS += --auto-add-overlay --extra-packages com.android.settingslib |
Adam Lesinski | 5ff3ad6 | 2016-04-13 20:30:45 -0700 | [diff] [blame] | 24 | LOCAL_STATIC_JAVA_LIBRARIES += \ |
| 25 | android-support-annotations \ |
| 26 | android-support-v4 \ |
| 27 | SettingsLib |
| 28 | endif |