Add framework-module-defaults for java_sdk_library

Provides defaults for java_sdk_library to that are equivalent to those
already used by the framework modules to simplify conversion.

* The java_api_finder is in the defaults as that should be used by
  all mainline modules.
* The public/system/module_lib scopes are explicitly specified in the
  defaults to include module_lib but exclude test as changing that
  behaviour by default would break upwards of 24 existing
  java_sdk_library usages.
* The stubs for each API scope is compiled against module_current
  because if they compiled against the scope specific sdk version it
  would create cycles for "current" and "system_current" because some
  of the modules contribute to those.

Test: m update-api
Bug: 155164730
Change-Id: Icd5b893b080d3a8b92b11b856a71b700be96dafa
1 file changed