1 LOCAL_PATH:= $(call my-dir)
4 LOCAL_MODULE_TAGS := optional
5 LOCAL_PRIVILEGED_MODULE := true
7 LOCAL_SRC_FILES := $(call all-java-files-under, src)
9 LOCAL_STATIC_JAVA_LIBRARIES := android-support-v4
10 # The design lib requires that the client package use appcompat themes.
11 LOCAL_STATIC_JAVA_LIBRARIES += android-support-v7-appcompat
12 LOCAL_STATIC_JAVA_LIBRARIES += android-support-v13
13 # Supplies material design components, e.g. Snackbar.
14 LOCAL_STATIC_JAVA_LIBRARIES += android-support-design
15 LOCAL_STATIC_JAVA_LIBRARIES += android-support-v7-recyclerview
16 LOCAL_STATIC_JAVA_LIBRARIES += guava
18 LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
19 # Not quite sure why it is necessary to explicitly pull in resources from the
20 # appcompat lib, but the demo code indicates it's necessary (see
21 # development/samples/Support7Demos/Android.mk)
22 LOCAL_RESOURCE_DIR += \
23 frameworks/support/v7/appcompat/res \
24 frameworks/support/design/res \
25 frameworks/support/v7/recyclerview/res
27 # Again, required to pull in appcompat resources. See abovementioned demo code.
30 --extra-packages android.support.v7.appcompat \
31 --extra-packages android.support.design \
32 --extra-packages android.support.v7.recyclerview
35 -D jack.optimization.inner-class.accessors=true
37 # Only enable asserts on userdebug/eng builds
38 ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
39 LOCAL_JACK_FLAGS += -D jack.assert.policy=enable
42 LOCAL_PACKAGE_NAME := DocumentsUI
43 LOCAL_CERTIFICATE := platform
45 include $(BUILD_PACKAGE)
46 include $(call all-makefiles-under, $(LOCAL_PATH))