blob: c21c5cc5e61f06a01930a1d88377718f27e72cec [file] [log] [blame]
Jeff Sharkeye22d02e2013-04-26 16:54:55 -07001LOCAL_PATH:= $(call my-dir)
2include $(CLEAR_VARS)
3
4LOCAL_MODULE_TAGS := optional
5
Jeff Sharkey06c41872013-09-06 10:43:45 -07006LOCAL_SRC_FILES := $(call all-java-files-under, src)
Jeff Sharkeye22d02e2013-04-26 16:54:55 -07007
Ben Kwa3512cb22015-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
11# Supplies material design components, e.g. Snackbar.
12LOCAL_STATIC_JAVA_LIBRARIES += android-support-design
13LOCAL_STATIC_JAVA_LIBRARIES += android-support-v7-recyclerview
14LOCAL_STATIC_JAVA_LIBRARIES += guava
15
16LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
17# Not quite sure why it is necessary to explicitly pull in resources from the
18# appcompat lib, but the demo code indicates it's necessary (see
19# development/samples/Support7Demos/Android.mk)
20LOCAL_RESOURCE_DIR += frameworks/support/v7/appcompat/res
21LOCAL_RESOURCE_DIR += frameworks/support/design/res
22
23# Again, required to pull in appcompat resources. See abovementioned demo code.
24LOCAL_AAPT_FLAGS := --auto-add-overlay
25LOCAL_AAPT_FLAGS += --extra-packages android.support.v7.appcompat
26LOCAL_AAPT_FLAGS += --extra-packages android.support.design
Jeff Sharkey46165b52013-07-31 20:53:22 -070027
Jeff Sharkeye22d02e2013-04-26 16:54:55 -070028LOCAL_PACKAGE_NAME := DocumentsUI
29LOCAL_CERTIFICATE := platform
30
31include $(BUILD_PACKAGE)
Ben Kwabed23c32015-04-22 15:43:17 -070032
33include $(LOCAL_PATH)/tests/Android.mk