xref: /aosp_15_r20/build/bazel/platforms/BUILD.bazel (revision 7594170e27e0732bc44b93d1440d87a54b6ffe7c)
1# Common target platforms for Android Platform builds.
2#
3# Platforms represent distinct hardware environments:
4#
5#   - CPU architecture
6#   - Hardware capabilities
7#   - Firmware differences
8#
9# Platforms do NOT represent different software packages, that is the
10# reposibility of the top-level targets being built.
11#
12# These model after the arch and OS definitions in build/soong/android/arch.go.
13
14load(":platform_utils.bzl", "platform_utils")
15
16package(default_visibility = ["//visibility:public"])
17
18platform_utils(name = "platform_utils")
19
20# This constraint setting will only be active during mixed builds, do not include it in other
21# platforms.
22constraint_setting(name = "mixed_builds_constraint")
23
24constraint_value(
25    name = "mixed_builds",
26    constraint_setting = ":mixed_builds_constraint",
27)
28