commit | d01997faa6463406222735f4a3aa81ae5b32afff | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Tue Mar 14 18:11:38 2017 -0700 |
committer | Colin Cross <ccross@android.com> | Tue Mar 21 10:23:45 2017 -0700 |
tree | ed7e87b4151ee2ea19b720262426a32f6177d4c1 | |
parent | d69837deea9d02e2f87cc74dca9bec27c7385db8 [diff] |
Use DEFAULT_APP_TARGET_SDK for dx and desugar DEFAULT_APP_TARGET_SDK is PLATFORM_VERSION_CODENAME (for example 'P') for non-release builds, and PLATFORM_SDK_VERSION (for example 25) for release builds. Use it for dx and desugar, and translate PLATFORM_VERSION_CODENAME to 10000 to enable features in the current development version. Bug: 36087246 Bug: 36118520 Test: m -j ANDROID_COMPILE_WITH_JACK=false Change-Id: I3d6bbc36a8869e4ced6bb850bc32f37b4cba3f85