summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2015-05-19 16:18:58 -0700
committerYing Wang <wangying@google.com>2015-05-19 16:18:58 -0700
commita25fa23347df8fb7ee9a8d7317973f6cfd300547 (patch)
treeea08912496d37ef722825fa22bb30869249c4c1a /Android.mk
parenta67caef65aa37d45f1649a81a4aa52b8c7b88014 (diff)
downloadandroid_packages_apps_UnifiedEmail-a25fa23347df8fb7ee9a8d7317973f6cfd300547.tar.gz
android_packages_apps_UnifiedEmail-a25fa23347df8fb7ee9a8d7317973f6cfd300547.tar.bz2
android_packages_apps_UnifiedEmail-a25fa23347df8fb7ee9a8d7317973f6cfd300547.zip
Use $(SUPPORT_LIBRARY_ROOT) to reference support library resource dir.
The build system sets up $(SUPPORT_LIBRARY_ROOT) based on if it's platform build or apps-only build. Change-Id: Ib9c5f9dfc5604f3f76add2151f855e102b5c84c4
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/Android.mk b/Android.mk
index d00c9c179..3a2db9046 100644
--- a/Android.mk
+++ b/Android.mk
@@ -18,9 +18,9 @@ LOCAL_PATH:= $(call my-dir)
chips_dir := ../../../frameworks/opt/chips/res
#Include res dir from libraries
-appcompat_dir := ../../../prebuilts/sdk/current/support/v7/appcompat/res
+appcompat_dir := ../../../$(SUPPORT_LIBRARY_ROOT)/v7/appcompat/res
photo_dir := ../../../frameworks/opt/photoviewer/res ../../../frameworks/opt/photoviewer/appcompat/res
-gridlayout_dir := ../../../prebuilts/sdk/current/support/v7/gridlayout/res
+gridlayout_dir := ../../../$(SUPPORT_LIBRARY_ROOT)/v7/gridlayout/res
bitmap_dir := ../../../frameworks/opt/bitmap/res
datetimepicker_dir := ../../../frameworks/opt/datetimepicker/res
res_dirs := res $(appcompat_dir) $(chips_dir) $(photo_dir) $(gridlayout_dir) $(bitmap_dir) $(datetimepicker_dir)