Adding APIs for using AccessibilityNodeProvider to android-support-v4.

1. AccessibilityNodeProvider APIs enable a View to report a virtual
   sub-tree rooted at it. Adding APIs that enable using that facility
   in a backwards compatible fashion.

bug:5940165

Change-Id: I441762f4f943d5e0d149c114f974c992be4df20d
diff --git a/v4/Android.mk b/v4/Android.mk
index 5c2cac8..267747e 100644
--- a/v4/Android.mk
+++ b/v4/Android.mk
@@ -80,6 +80,16 @@
 
 # -----------------------------------------------------------------------
 
+# A helper sub-library that makes direct use of JellyBean APIs.
+include $(CLEAR_VARS)
+LOCAL_MODULE := android-support-v4-jellybean
+#TODO: Update LOCAL_SDK_VERSION as soon JellyBean has such. (tracked by bug:5947249)
+LOCAL_SDK_VERSION := current
+LOCAL_SRC_FILES := $(call all-java-files-under, jellybean)
+include $(BUILD_STATIC_JAVA_LIBRARY)
+
+# -----------------------------------------------------------------------
+
 # Here is the final static library that apps can link against.
 include $(CLEAR_VARS)
 LOCAL_MODULE := android-support-v4
@@ -92,7 +102,8 @@
         android-support-v4-honeycomb \
         android-support-v4-honeycomb-mr2 \
         android-support-v4-ics \
-        android-support-v4-ics-mr1
+        android-support-v4-ics-mr1 \
+        android-support-v4-jellybean
 include $(BUILD_STATIC_JAVA_LIBRARY)
 
 # Include this library in the build server's output directory