Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Commit

Permalink
Use $(SUPPORT_LIBRARY_ROOT) to reference support library resource dir.
Browse files Browse the repository at this point in the history
The build system sets up $(SUPPORT_LIBRARY_ROOT) based on if it's
platform build or apps-only build.

Change-Id: I81e832138918c729e999690b4c3a215a3c989cfa
  • Loading branch information
Ying Wang committed May 19, 2015
1 parent a077ee4 commit 083af06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Android.mk
Expand Up @@ -20,12 +20,12 @@ LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)

# Include res dir from chips, unified, emailcommon, and photoviewer
appcompat_dir := ../../../prebuilts/sdk/current/support/v7/appcompat/res
appcompat_dir := ../../../$(SUPPORT_LIBRARY_ROOT)/v7/appcompat/res
chips_dir := ../../../frameworks/opt/chips/res
unified_email_dir := ../UnifiedEmail
photo_dir := ../../../frameworks/opt/photoviewer/res ../../../frameworks/opt/photoviewer/appcompat/res
emailcommon_dir := emailcommon
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_dir := res $(unified_email_dir)/res $(chips_dir) $(photo_dir) $(emailcommon_dir)/res $(appcompat_dir) $(gridlayout_dir) $(bitmap_dir) $(datetimepicker_dir)
Expand Down

0 comments on commit 083af06

Please sign in to comment.