third_party.pigweed.src/pw_android_toolchain/README.md
Scott James Remnant aa00a15beb pw_android_toolchain: Generate Android NDK toolchains
The default Pigweed pw_toolchain defines the `ar`, `cc`, and `cxx`
tools in the base toolchain definition, and builds more customization
on top.

For Android, since those paths are defined based on build args and
toolchain defaults such as `current_cpu` and `api_level`, instead
provide "pw_generate_android_toolchain" that defines them last before
calling "generate_toolchain".

Otherwise arrange matters such that defining Android targets feels
as close to the other Pigweed targets as possible.

Change-Id: Ic28b62f18c2600cea9c9890389672604e9741773
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/55340
Commit-Queue: Scott James Remnant <keybuk@google.com>
Reviewed-by: Anthony DiGirolamo <tonymd@google.com>
2021-08-05 20:38:59 +00:00

48 B

pw_android_toolchain: Android NDK toolchains