| # Common target platforms for Android Platform builds. |
| # |
| # Platforms represent distinct hardware environments: |
| # |
| # - CPU architecture |
| # - Hardware capabilities |
| # - Firmware differences |
| # |
| # Platforms do NOT represent different software packages, that is the |
| # reposibility of the top-level targets being built. |
| # |
| # These model after the arch and OS definitions in build/soong/android/arch.go. |
| |
| load(":platform_utils.bzl", "platform_utils") |
| |
| package(default_visibility = ["//visibility:public"]) |
| |
| platform_utils(name = "platform_utils") |
| |
| # This constraint setting will only be active during mixed builds, do not include it in other |
| # platforms. |
| constraint_setting(name = "mixed_builds_constraint") |
| |
| constraint_value( |
| name = "mixed_builds", |
| constraint_setting = ":mixed_builds_constraint", |
| ) |