device/google/cuttlefish_common: 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
Exempt-From-Owner-Approval: Global cleanup, cp from master
Change-Id: I5106e9361e9b800dba823c3ca5b486d0f8531896
Merged-In: I5106e9361e9b800dba823c3ca5b486d0f8531896
(cherry picked from commit 39ab764d706333f1ebeb46492fb6c457f2eef06f)
1 file changed
tree: bb5e60ccba96770477b0f597830895e78791824b
  1. common/
  2. guest/
  3. host/
  4. tools/
  5. Android.bp
  6. Android.mk
  7. OWNERS