1load("@//build/bazel/product_config:android_product.bzl", "android_product") 2load(":product_labels.bzl", "products") 3 4package(default_visibility = [ 5 "@//build/bazel/product_config:__subpackages__", 6]) 7 8# This package contains pregenerated soong.variables files for the aosp_<arch> products, used to 9# make platforms for testing. This is an optimization, we could generate these directly from source 10# at build time but it would add time to every `m nothing`. Converting the product config makefiles 11# to starlark and checking them in would also solve this performance issue. 12# 13# This is also where we can define platforms that have set product config variables to certain 14# values for testing. Unfortunately we cannot just transition on a single product config variable 15# due to limitations in bazel. 16 17[ 18 android_product( 19 name = k, 20 soong_variables = v, 21 ) 22 for k, v in products.items() 23] 24