blob: e1650e1bb411509bf5b048741932da4288a32161 [file] [log] [blame]
Jeff Sharkey9e0036e2013-04-26 16:54:55 -07001LOCAL_PATH:= $(call my-dir)
2include $(CLEAR_VARS)
3
4LOCAL_MODULE_TAGS := optional
5
Jeff Sharkey6d97d3c2013-09-06 10:43:45 -07006LOCAL_SRC_FILES := $(call all-java-files-under, src)
Jeff Sharkey9e0036e2013-04-26 16:54:55 -07007
Ben Kwaa747d2e2015-08-24 10:15:56 -07008LOCAL_STATIC_JAVA_LIBRARIES := android-support-v4
9# The design lib requires that the client package use appcompat themes.
10LOCAL_STATIC_JAVA_LIBRARIES += android-support-v7-appcompat
Ben Kwae3dfebf2016-02-18 16:45:45 -080011LOCAL_STATIC_JAVA_LIBRARIES += android-support-v13
Ben Kwaa747d2e2015-08-24 10:15:56 -070012# Supplies material design components, e.g. Snackbar.
13LOCAL_STATIC_JAVA_LIBRARIES += android-support-design
14LOCAL_STATIC_JAVA_LIBRARIES += android-support-v7-recyclerview
15LOCAL_STATIC_JAVA_LIBRARIES += guava
16
Ying Wang94252de2015-09-02 11:17:04 -070017LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
Ben Kwaa747d2e2015-08-24 10:15:56 -070018# Not quite sure why it is necessary to explicitly pull in resources from the
19# appcompat lib, but the demo code indicates it's necessary (see
20# development/samples/Support7Demos/Android.mk)
Ying Wang94252de2015-09-02 11:17:04 -070021LOCAL_RESOURCE_DIR += \
22 frameworks/support/v7/appcompat/res \
23 frameworks/support/design/res \
24 frameworks/support/v7/recyclerview/res
Ben Kwaa747d2e2015-08-24 10:15:56 -070025
26# Again, required to pull in appcompat resources. See abovementioned demo code.
Ying Wang94252de2015-09-02 11:17:04 -070027LOCAL_AAPT_FLAGS := \
28 --auto-add-overlay \
29 --extra-packages android.support.v7.appcompat \
30 --extra-packages android.support.design \
31 --extra-packages android.support.v7.recyclerview
Jeff Sharkeybc2971d2013-07-31 20:53:22 -070032
Jeff Sharkey9e0036e2013-04-26 16:54:55 -070033LOCAL_PACKAGE_NAME := DocumentsUI
34LOCAL_CERTIFICATE := platform
35
36include $(BUILD_PACKAGE)
Ben Kwa62539a22015-04-22 15:43:17 -070037
38include $(LOCAL_PATH)/tests/Android.mk