Merge "Support core_current when exporting resources from a package" am: 64006ad4f3
am: 44cca0767e
am: c15e211a1c
Change-Id: I768268624b00cb42cefa5b0043133119e591e70d
This commit is contained in:
commit
ed767bc62a
1 changed files with 3 additions and 1 deletions
|
@ -476,7 +476,9 @@ ifneq ($(LOCAL_NO_STANDARD_LIBRARIES),true)
|
|||
# Most packages should link against the resources defined by framework-res.
|
||||
# Even if they don't have their own resources, they may use framework
|
||||
# resources.
|
||||
ifneq ($(filter-out current system_current test_current,$(LOCAL_SDK_RES_VERSION))$(if $(TARGET_BUILD_APPS),$(filter current system_current test_current,$(LOCAL_SDK_RES_VERSION))),)
|
||||
ifeq ($(LOCAL_SDK_RES_VERSION),core_current)
|
||||
# core_current doesn't contain any framework resources.
|
||||
else ifneq ($(filter-out current system_current test_current,$(LOCAL_SDK_RES_VERSION))$(if $(TARGET_BUILD_APPS),$(filter current system_current test_current,$(LOCAL_SDK_RES_VERSION))),)
|
||||
# for released sdk versions, the platform resources were built into android.jar.
|
||||
framework_res_package_export := \
|
||||
$(HISTORICAL_SDK_VERSIONS_ROOT)/$(LOCAL_SDK_RES_VERSION)/android.jar
|
||||
|
|
Loading…
Reference in a new issue