Merge "Add support when LOCAL_PRIVATE_PLATFORM_APIS is true." am: 24fff76404

am: 211d44d298

Change-Id: I5f8414b5ba6e66c13daae5f64459a83e4b8e3158
This commit is contained in:
Sundong Ahn
2018-05-27 19:46:33 -07:00
committed by android-build-merger

View File

@@ -263,9 +263,8 @@ ifndef LOCAL_IS_HOST_MODULE
ifneq (,$(TARGET_BUILD_APPS))
sdk_libs := $(foreach lib_name,$(LOCAL_SDK_LIBRARIES),$(call resolve-prebuilt-sdk-module,system_current,$(lib_name)))
else
# When SDK libraries are referenced from modules built without SDK, provide the system stub to them
# because it has the largest API surface.
sdk_libs := $(foreach lib_name,$(LOCAL_SDK_LIBRARIES),$(lib_name).stubs.system)
# When SDK libraries are referenced from modules built without SDK, provide the all APIs to them
sdk_libs := $(foreach lib_name,$(LOCAL_SDK_LIBRARIES),$(lib_name).impl)
endif
else
ifeq ($(LOCAL_NO_STANDARD_LIBRARIES),true)