Refactor product config files
This cl renames product_config/utils.bzl to android_product.bzl for
clarity, and moves platforms/product_variables/product_platform.bzl
to product_config/product_variables_providing_rule.bzl for consistency
because it's only ever used from android_product.bzl.
Also move a number of functions from
product_variables_providing_rule.bzl to android_product.bzl because
they're only used from android_product.bzl. In theory there's no need
for product_variables_providing_rule.bzl because that rule is also
only used from android_product.bzl, but I plan on adding more to this
rule to make it complicated enough to warrent its own file.
Bug: 269577299
Test: b build --config=android `bmod com.android.adbd`
Change-Id: I08a1eb672641f2e27ad8b9c20c2e3cab0146dfe1
3 files changed