diff options
author | Anton Hansson <hansson@google.com> | 2018-02-21 14:13:16 +0000 |
---|---|---|
committer | Anton Hansson <hansson@google.com> | 2018-02-21 14:49:58 +0000 |
commit | 5bfee7faac8b6cce4b8dce56c701fdc4eabd173b (patch) | |
tree | 1f8e2bd2e3a2d8cfc4aedb0c27e167c270936f7d /Android.bp | |
parent | 69c2bef525372e32bf49159f91d9a23d3600a581 (diff) | |
download | objenesis-5bfee7faac8b6cce4b8dce56c701fdc4eabd173b.tar.gz |
Set LOCAL_SDK_VERSION where possible.
This change sets LOCAL_SDK_VERSION for all packages where
this is possible without breaking the build, and
LOCAL_PRIVATE_PLATFORM_APIS := true otherwise.
Setting one of these two will be made required soon, and this
is a change in preparation for that. Not setting LOCAL_SDK_VERSION
makes the app implicitly depend on the bootclasspath, which is
often not required. This change effectively makes depending on
private apis opt-in rather than opt-out.
Test: make relevant packages
Bug: 73535841
Change-Id: Iccca8c1115b3169fa5847e4513adfdfb44915637
Diffstat (limited to 'Android.bp')
-rw-r--r-- | Android.bp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -35,6 +35,7 @@ java_library_host { java_library_static { name: "objenesis-tck", no_framework_libs: true, + sdk_version: "current", static_libs: ["objenesis"], srcs: ["tck/src/main/java/**/*.java"], |