Use support lib gridlayout.

Change-Id: I019cb12bfd88ea08d1efe8e300887f6ca8731005
diff --git a/Android.mk b/Android.mk
index 4c1d85c..719f142 100644
--- a/Android.mk
+++ b/Android.mk
@@ -19,7 +19,8 @@
 
 #Include res dir from photoviewer
 photo_dir := ../../../frameworks/opt/photoviewer/res ../../../frameworks/opt/photoviewer/activity/res
-res_dirs := res $(chips_dir) $(photo_dir)
+gridlayout_dir := ../../../frameworks/support/v7/gridlayout/res
+res_dirs := res $(chips_dir) $(photo_dir) $(gridlayout_dir)
 
 
 ##################################################
@@ -34,6 +35,7 @@
 LOCAL_STATIC_JAVA_LIBRARIES += guava
 LOCAL_STATIC_JAVA_LIBRARIES += android-common
 LOCAL_STATIC_JAVA_LIBRARIES += android-support-v4
+LOCAL_STATIC_JAVA_LIBRARIES += android-support-v7-gridlayout
 LOCAL_STATIC_JAVA_LIBRARIES += android-support-v13
 
 LOCAL_SDK_VERSION := current
@@ -42,7 +44,7 @@
         $(call all-logtags-files-under, $(src_dirs))
 LOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, $(res_dirs))
 LOCAL_AAPT_FLAGS := --auto-add-overlay
-LOCAL_AAPT_FLAGS += --extra-packages com.android.ex.chips:com.android.ex.photo
+LOCAL_AAPT_FLAGS += --extra-packages com.android.ex.chips:com.android.ex.photo:android.support.v7.gridlayout
 
 LOCAL_PROGUARD_FLAG_FILES := proguard.flags