Get Support Library resources from prebuilts
am: 9420375022
Change-Id: Id22a9f168143dac94fdebb59f0d5be7579f78416
This commit is contained in:
commit
7774172763
|
@ -60,9 +60,9 @@ LOCAL_AAPT_FLAGS := --auto-add-overlay \
|
|||
--extra-packages android.support.v7.recyclerview
|
||||
|
||||
LOCAL_RESOURCE_DIR += \
|
||||
frameworks/support/compat/res \
|
||||
frameworks/support/v7/appcompat/res \
|
||||
frameworks/support/v7/recyclerview/res
|
||||
prebuilts/sdk/current/supportcompat/res \
|
||||
prebuilts/sdk/current/supportv7/appcompat/res \
|
||||
prebuilts/sdk/current/supportv7/recyclerview/res
|
||||
|
||||
LOCAL_JAVA_LIBRARIES := \
|
||||
android-support-annotations \
|
||||
|
|
|
@ -41,14 +41,14 @@ endif
|
|||
|
||||
# Include support-v7-appcompat, if not already included
|
||||
ifeq (,$(findstring android-support-v7-appcompat,$(LOCAL_STATIC_JAVA_LIBRARIES)))
|
||||
LOCAL_RESOURCE_DIR += frameworks/support/v7/appcompat/res
|
||||
LOCAL_RESOURCE_DIR += prebuilts/sdk/current/support/v7/appcompat/res
|
||||
LOCAL_AAPT_FLAGS += --extra-packages android.support.v7.appcompat
|
||||
LOCAL_STATIC_JAVA_LIBRARIES += android-support-v7-appcompat
|
||||
endif
|
||||
|
||||
# Include support-v7-recyclerview, if not already included
|
||||
ifeq (,$(findstring android-support-v7-recyclerview,$(LOCAL_STATIC_JAVA_LIBRARIES)))
|
||||
LOCAL_RESOURCE_DIR += frameworks/support/v7/recyclerview/res
|
||||
LOCAL_RESOURCE_DIR += prebuilts/sdk/current/support/v7/recyclerview/res
|
||||
LOCAL_AAPT_FLAGS += --extra-packages android.support.v7.recyclerview
|
||||
LOCAL_STATIC_JAVA_LIBRARIES += android-support-v7-recyclerview
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue