2013-04-26 16:54:55 -07:00
|
|
|
LOCAL_PATH:= $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
|
2013-09-06 10:43:45 -07:00
|
|
|
LOCAL_SRC_FILES := $(call all-java-files-under, src)
|
2013-04-26 16:54:55 -07:00
|
|
|
|
2015-08-24 10:15:56 -07:00
|
|
|
LOCAL_STATIC_JAVA_LIBRARIES := android-support-v4
|
|
|
|
# The design lib requires that the client package use appcompat themes.
|
|
|
|
LOCAL_STATIC_JAVA_LIBRARIES += android-support-v7-appcompat
|
2016-02-18 16:45:45 -08:00
|
|
|
LOCAL_STATIC_JAVA_LIBRARIES += android-support-v13
|
2015-08-24 10:15:56 -07:00
|
|
|
# Supplies material design components, e.g. Snackbar.
|
|
|
|
LOCAL_STATIC_JAVA_LIBRARIES += android-support-design
|
|
|
|
LOCAL_STATIC_JAVA_LIBRARIES += android-support-v7-recyclerview
|
|
|
|
LOCAL_STATIC_JAVA_LIBRARIES += guava
|
|
|
|
|
2015-09-02 11:17:04 -07:00
|
|
|
LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
|
2015-08-24 10:15:56 -07:00
|
|
|
# Not quite sure why it is necessary to explicitly pull in resources from the
|
|
|
|
# appcompat lib, but the demo code indicates it's necessary (see
|
|
|
|
# development/samples/Support7Demos/Android.mk)
|
2015-09-02 11:17:04 -07:00
|
|
|
LOCAL_RESOURCE_DIR += \
|
|
|
|
frameworks/support/v7/appcompat/res \
|
|
|
|
frameworks/support/design/res \
|
|
|
|
frameworks/support/v7/recyclerview/res
|
2015-08-24 10:15:56 -07:00
|
|
|
|
|
|
|
# Again, required to pull in appcompat resources. See abovementioned demo code.
|
2015-09-02 11:17:04 -07:00
|
|
|
LOCAL_AAPT_FLAGS := \
|
|
|
|
--auto-add-overlay \
|
|
|
|
--extra-packages android.support.v7.appcompat \
|
|
|
|
--extra-packages android.support.design \
|
|
|
|
--extra-packages android.support.v7.recyclerview
|
2013-07-31 20:53:22 -07:00
|
|
|
|
2016-02-25 13:34:03 -08:00
|
|
|
LOCAL_JACK_FLAGS := \
|
|
|
|
-D jack.assert.policy=enable \
|
|
|
|
-D jack.optimization.inner-class.accessors=true
|
|
|
|
|
2013-04-26 16:54:55 -07:00
|
|
|
LOCAL_PACKAGE_NAME := DocumentsUI
|
|
|
|
LOCAL_CERTIFICATE := platform
|
|
|
|
|
|
|
|
include $(BUILD_PACKAGE)
|
2016-03-02 16:58:55 +09:00
|
|
|
include $(call all-makefiles-under, $(LOCAL_PATH))
|