Convert the sdk proto genrule to use soong var

Instead of baking it into the Android.bp file, define the canonical
value in build/make and reuse it here.

Bug: 195281582
Test: m current_sdkinfo and inspect
Change-Id: Ifd426ca602c14e7a5c5605622da11c992d0c5c59
Merged-In: Ifd426ca602c14e7a5c5605622da11c992d0c5c59
1 file changed
tree: 99cfad9b05f75acbed2d5b8835d92d7fdc0a964b
  1. build/
  2. java/
  3. proto/
  4. sdk/
  5. tools/
  6. Android.bp
  7. generate_ml_bundle.sh
  8. MODULES_OWNERS
  9. OWNERS
  10. PREBUILTS_MODULE_OWNERS
  11. PREUPLOAD.cfg
  12. README.md
README.md

packages/modules/common

This project includes mainline build and other utility code. Any library code intended for use by modules should go in frameworks/libs/modules-utils instead.

java code

This project uses a single source path for java code. All java code should go in the java directory with subdirectories corresponding to the java package. Android.bp files should go alongside the java source files, and should only include java source for a single java package to encourage good code hygiene.

Tests for java code should go in the javatests directory and follow the same structure.