1 LOCAL_PATH:= $(call my-dir)
4 LOCAL_MODULE_TAGS := optional
6 LOCAL_SRC_FILES := $(call all-java-files-under, src)
8 LOCAL_STATIC_JAVA_LIBRARIES := android-support-v4
9 # The design lib requires that the client package use appcompat themes.
10 LOCAL_STATIC_JAVA_LIBRARIES += android-support-v7-appcompat
11 LOCAL_STATIC_JAVA_LIBRARIES += android-support-v13
12 # Supplies material design components, e.g. Snackbar.
13 LOCAL_STATIC_JAVA_LIBRARIES += android-support-design
14 LOCAL_STATIC_JAVA_LIBRARIES += android-support-v7-recyclerview
15 LOCAL_STATIC_JAVA_LIBRARIES += guava
17 LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
18 # 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)
21 LOCAL_RESOURCE_DIR += \
22 frameworks/support/v7/appcompat/res \
23 frameworks/support/design/res \
24 frameworks/support/v7/recyclerview/res
26 # Again, required to pull in appcompat resources. See abovementioned demo code.
29 --extra-packages android.support.v7.appcompat \
30 --extra-packages android.support.design \
31 --extra-packages android.support.v7.recyclerview
34 -D jack.optimization.inner-class.accessors=true
36 # Only enable asserts on userdebug/eng builds
37 ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
38 LOCAL_JACK_FLAGS += -D jack.assert.policy=enable
41 LOCAL_PACKAGE_NAME := DocumentsUI
42 LOCAL_CERTIFICATE := platform
44 include $(BUILD_PACKAGE)
45 include $(call all-makefiles-under, $(LOCAL_PATH))