summaryrefslogtreecommitdiff
path: root/sample
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2015-05-19 16:08:31 -0700
committerYing Wang <wangying@google.com>2015-05-19 16:08:31 -0700
commitd0cd336716cba7c8b8fb1ecd4f281daba4e7d67c (patch)
tree96d0001c90275855086fd1c525f23df44e56c7a5 /sample
parenta3c7af5b849967c4eada9126a934225bd89722ef (diff)
downloadphotoviewer-d0cd336716cba7c8b8fb1ecd4f281daba4e7d67c.tar.gz
Use $(SUPPORT_LIBRARY_ROOT) to reference support library resource.
The build system sets up $(SUPPORT_LIBRARY_ROOT) based on if it's platform build or apps-only build. Change-Id: I9e5317e305629339cbbce5a5d263c1ae3a9ca2ba
Diffstat (limited to 'sample')
-rw-r--r--sample/Android.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/Android.mk b/sample/Android.mk
index 8fb912b..a0e44ed 100644
--- a/sample/Android.mk
+++ b/sample/Android.mk
@@ -41,7 +41,7 @@ include $(BUILD_PACKAGE)
#Include res dir from photoviewer
photo_dir := ../res ../appcompat/res
-res_dirs := $(photo_dir) res ../../../../prebuilts/sdk/current/support/v7/appcompat/res
+res_dirs := $(photo_dir) res ../../../../$(SUPPORT_LIBRARY_ROOT)/v7/appcompat/res
# Build APK
include $(CLEAR_VARS)