Skip to content

Commit

Permalink
Update NDK build doc to refer to the correct platform constraint for …
Browse files Browse the repository at this point in the history
…armeabi-v7a.

The [`rules_android_ndk`](https://github.com/bazelbuild/rules_android_ndk) repository only [defines a toolchain for platform `armv7`](https://github.com/bazelbuild/rules_android_ndk/blob/c2999e4c90d580e850ff1f3831554d5ea4b536a3/target_systems.bzl.tpl#L11).  This updates the [Android NDK bazel build doc](https://bazel.build/docs/android-ndk#configuring-target-abi) with the right platform constraint to work with the toolchain.

Closes bazelbuild#22891.

PiperOrigin-RevId: 648430716
Change-Id: I29ab0f3af199cea1f05cd953a44a653bb1df9e57
  • Loading branch information
wffurr authored and copybara-github committed Jul 1, 2024
1 parent 1f88b46 commit fdd04af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/en/docs/android-ndk.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ OS constraint. To migrate the CPU constraint, check this chart:

CPU Value | Platform
------------- | ------------------------------------------
`armeabi-v7a` | `@platforms//cpu:arm`
`armeabi-v7a` | `@platforms//cpu:armv7`
`arm64-v8a` | `@platforms//cpu:arm64`
`x86` | `@platforms//cpu:x86_32`
`x86_64` | `@platforms//cpu:x86_64`
Expand Down

0 comments on commit fdd04af

Please sign in to comment.