Merge "RRO for framework-res.apk is not force built against SystemSDK" into pi-dev

am: af12f13b50

Change-Id: Ia9b32911a163b452cb8b5cb44b7841a884d31d32
This commit is contained in:
Jiyong Park 2018-03-27 01:15:22 +00:00 committed by android-build-merger
commit 00bf723bf7
1 changed files with 6 additions and 1 deletions

View File

@ -25,7 +25,12 @@ ifdef BOARD_SYSTEMSDK_VERSIONS
ifneq (,$(filter JAVA_LIBRARIES APPS,$(LOCAL_MODULE_CLASS)))
ifndef LOCAL_SDK_VERSION
ifeq ($(_is_vendor_app),true)
LOCAL_SDK_VERSION := system_current
ifeq (,$(findstring __auto_generated_rro,$(LOCAL_MODULE)))
# Runtime resource overlay for framework-res is exempted from building
# against System SDK.
# TODO(b/35859726): remove this exception
LOCAL_SDK_VERSION := system_current
endif
endif
endif
endif