blob: e1650e1bb411509bf5b048741932da4288a32161 [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
Ben Kwa13e26052016-02-18 16:45:45 -080011LOCAL_STATIC_JAVA_LIBRARIES += android-support-v13
Ben Kwa3512cb22015-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 Wangccd9ee32015-09-02 11:17:04 -070017LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
Ben Kwa3512cb22015-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 Wangccd9ee32015-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 Kwa3512cb22015-08-24 10:15:56 -070025
26# Again, required to pull in appcompat resources. See abovementioned demo code.
Ying Wangccd9ee32015-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 Sharkey46165b52013-07-31 20:53:22 -070032
Jeff Sharkeye22d02e2013-04-26 16:54:55 -070033LOCAL_PACKAGE_NAME := DocumentsUI
34LOCAL_CERTIFICATE := platform
35
36include $(BUILD_PACKAGE)
Ben Kwabed23c32015-04-22 15:43:17 -070037
38include $(LOCAL_PATH)/tests/Android.mk