diff options
author | Ying Wang <wangying@google.com> | 2014-07-19 17:00:50 -0700 |
---|---|---|
committer | Ying Wang <wangying@google.com> | 2014-07-19 17:00:50 -0700 |
commit | efb935800bce97abe0938270ba4c9cd3af6fb7b9 (patch) | |
tree | fbce59b895518f4815a7c17e28d4e382fc268c48 /core/config.mk | |
parent | 50367cc77db4f576f6e7421e6b302395d202482e (diff) | |
download | build-efb935800bce97abe0938270ba4c9cd3af6fb7b9.zip build-efb935800bce97abe0938270ba4c9cd3af6fb7b9.tar.gz build-efb935800bce97abe0938270ba4c9cd3af6fb7b9.tar.bz2 |
Support "LOCAL_SDK_VERSION := system_current"
A module can declare "LOCAL_SDK_VERSION := system_current" to build
against the android system stubs generated from source.
For now this is only supported in platform build.
Change-Id: I1e9bbd159886bc0ea3a02b1dc4cbcb1a56e9cb15
Diffstat (limited to 'core/config.mk')
-rw-r--r-- | core/config.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/config.mk b/core/config.mk index 0e612a7..46f9084 100644 --- a/core/config.mk +++ b/core/config.mk @@ -585,7 +585,8 @@ endef TARGET_AVAILABLE_SDK_VERSIONS := $(call numerically_sort,\ $(patsubst $(HISTORICAL_SDK_VERSIONS_ROOT)/%/android.jar,%, \ - $(wildcard $(HISTORICAL_SDK_VERSIONS_ROOT)/*/android.jar))) + $(wildcard $(HISTORICAL_SDK_VERSIONS_ROOT)/*/android.jar))) \ + system_current INTERNAL_PLATFORM_API_FILE := $(TARGET_OUT_COMMON_INTERMEDIATES)/PACKAGING/public_api.txt INTERNAL_PLATFORM_REMOVED_API_FILE := $(TARGET_OUT_COMMON_INTERMEDIATES)/PACKAGING/removed.txt |