commit | 6a116ecdfcb799eac345f704048018aab5cb4501 | [log] [tgz] |
---|---|---|
author | Anton Hansson <hansson@google.com> | Thu Feb 22 14:33:32 2018 +0000 |
committer | Anton Hansson <hansson@google.com> | Fri Feb 23 11:11:11 2018 +0000 |
tree | c874a14b20eee448904d72e6d836ec2f00c6c9ce | |
parent | ccde0fb9b7a4360ea3a80703e74da9cb29793392 [diff] |
cts: 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: I5afdfc8e1e523768db9065dd3571cb31bc1dfac5