devtools/madb: extract Android application variant properties

The Gradle/Go code is refactored so that the Gradle script extracts
more information about the application variant outputs.

One variant can have multiple .apk files, and the properties of each
.apk are extracted and cached, such as the absolute path of the .apk
file and its filters indicating what device configurations (e.g. ABIs,
and screen sizes) are compatible with the specific .apk.

Highlevel changes:

* projectIds -> variantProperties
* idCache -> propertyCache (id_cache.go -> property_cache.go)
* one Gradle task for extracting all the information, instead of
  smaller individual tasks
* Gradle script now prints the results in JSON instead of plaintext,
  which is then parsed back to variantProperty instance in Go.

This CL is meant to be the first pass of implementing "madb install"
command, which needs to know the variant output properties and their
filters, in order to install the best matching .apk (among many) to
the individual devices.

Change-Id: I444253aee291ae69fe59a5c02410631d20030caa
11 files changed
tree: 3184ac0bae302171eafac5a9826fb23d769dc121
  1. bendroid/
  2. dashboard/
  3. data/
  4. godepcop/
  5. gologcop/
  6. internal/
  7. jiri-api/
  8. jiri-contributors/
  9. jiri-copyright/
  10. jiri-dockergo/
  11. jiri-go/
  12. jiri-goext/
  13. jiri-oncall/
  14. jiri-profile-v23/
  15. jiri-run/
  16. jiri-swift/
  17. jiri-test/
  18. jiri-v23-profile/
  19. jiridoc/
  20. madb/
  21. mailer/
  22. oncall/
  23. postsubmit/
  24. presubmit/
  25. tooldata/
  26. tracify/
  27. vbinary/
  28. vcloud/
  29. vjenkins/
  30. vkiosk/
  31. vmon/
  32. .gitignore
  33. .godepcop
  34. .jiriignore
  35. AUTHORS
  36. CONTRIBUTING.md
  37. CONTRIBUTORS
  38. LICENSE
  39. PATENTS
  40. README.md
  41. VERSION
README.md

This repository contains developer tools used to install and contribute to Vanadium.

For more information, see the installation and contributing instructions.

This repository is fetched and the tools are built as part of the Vanadium installation process for contributors.