OSDN Git Service

Eleven: Set LOCAL_PRIVATE_PLATFORM_APIS
authorAnton Hansson <hansson@google.com>
Wed, 21 Feb 2018 14:11:44 +0000 (14:11 +0000)
committerAdrian DC <radian.dc@gmail.com>
Sat, 11 Aug 2018 08:44:57 +0000 (10:44 +0200)
commitf1b554bae05494fb0bf49f1afc26c00394bc5226
tree3a03403e888b8a889982e9aa852418d984128ffc
parent3f6ab566c65034c4fba03585e29cc1816dec594c
Eleven: Set LOCAL_PRIVATE_PLATFORM_APIS

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.

Bug: 73535841
Change-Id: Iabb0556dc1c80c7fc7f6c76d61d5e441b03cdce0
Android.mk