| Build the APK with buck2, from pins rather than from a second checkout a71ef8f nandi 19d ago | 1 | # The pins, as artifacts. |
| 2 | # |
| 3 | # A manifest a build action resolves has to be an input to that action, so that |
| 4 | # bumping the version it names invalidates what was built with the old one. |
| 5 | # android/BUCK hands this one to the boot image compile along with a DotSlash |
| 6 | # to read it with. |
| 7 | export_file( |
| 8 | name = "jolt", |
| 9 | mode = "reference", |
| 10 | visibility = ["PUBLIC"], |
| 11 | ) |
| 12 | |
| 13 | # The NDK lookup, and the driver that uses it. Inputs, so what links the glue |
| 14 | # is named by this repo rather than found next door: the APK's own link step |
| 15 | # needs a clang and an llvm-objcopy, and jolt-native is no longer required to |
| 16 | # be on the machine for that. |
| 17 | export_file( |
| 18 | name = "android-ndk-bin", |
| 19 | mode = "reference", |
| 20 | visibility = ["PUBLIC"], |
| 21 | ) |
| 22 | |
| 23 | export_file( |
| 24 | name = "android-cc", |
| 25 | mode = "reference", |
| 26 | visibility = ["PUBLIC"], |
| 27 | ) |
| 28 | |
| 29 | export_file( |
| 30 | name = "android-ndk.dotslash", |
| 31 | mode = "reference", |
| 32 | visibility = ["PUBLIC"], |
| 33 | ) |