rootpa: Set LOCAL_PRIVATE_PLATFORM_APIS
authorAnton Hansson <hansson@google.com>
Wed, 21 Feb 2018 14:11:44 +0000 (14:11 +0000)
committerJan Altensen <info@stricted.net>
Sun, 5 Apr 2020 01:04:11 +0000 (03:04 +0200)
commitb6b842631d7b0567257ab0033c109647a261da3e
tree304fd0f460b392c08fc2268289c54b8cfdd4c398
parentff05545bcebed7a13a0451ca887a8818d992e135
rootpa: 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.

Test: make relevant packages
Bug: 73535841
Change-Id: Ib244e0b7de264191a94d8b0e6512be2a580ec59f
mobicore/rootpa/Code/Android/app/Android.mk