| Build the APK with buck2, from pins rather than from a second checkout a71ef8f nandi 18d ago | 1 | # There is no compiler toolchain here, and that is the whole design. |
| 2 | # |
| 3 | # The APK's two native pieces are built by jolt-native: libvidya by its buck2 |
| 4 | # graph, and the glue by the NDK its scripts/ pins. Everything this repo adds |
| 5 | # on top — the boot image, the dex, the packaging — is a tool invocation, so |
| 6 | # genrule is the only toolchain the graph needs. Nothing here is resolved |
| 7 | # against the machine except the Android SDK, which .buckconfig.local names. |
| 8 | load("@prelude//toolchains:genrule.bzl", "system_genrule_toolchain") |
| 9 | load("@prelude//toolchains:python.bzl", "system_python_bootstrap_toolchain") |
| 10 | |
| 11 | system_genrule_toolchain( |
| 12 | name = "genrule", |
| 13 | visibility = ["PUBLIC"], |
| 14 | ) |
| 15 | |
| 16 | system_python_bootstrap_toolchain( |
| 17 | name = "python_bootstrap", |
| 18 | visibility = ["PUBLIC"], |
| 19 | ) |