Jingwen Chen | 5d86449 | 2021-02-24 07:20:12 -0500 | [diff] [blame^] | 1 | package bp2build |
2 | |||||
3 | import "android/soong/android" | ||||
4 | |||||
5 | // Configurability support for bp2build. | ||||
6 | |||||
7 | var ( | ||||
8 | // A map of architectures to the Bazel label of the constraint_value. | ||||
9 | platformArchMap = map[android.ArchType]string{ | ||||
10 | android.Arm: "@bazel_tools//platforms:arm", | ||||
11 | android.Arm64: "@bazel_tools//platforms:aarch64", | ||||
12 | android.X86: "@bazel_tools//platforms:x86_32", | ||||
13 | android.X86_64: "@bazel_tools//platforms:x86_64", | ||||
14 | } | ||||
15 | ) |