rules_android_ndk icon indicating copy to clipboard operation
rules_android_ndk copied to clipboard

Results 42 rules_android_ndk issues
Sort by recently updated
recently updated
newest added

Declare an empty repository with empty toolchains and an error message when the path to the NDK was missing. Based on a comment from https://github.com/bazelbuild/rules_android_ndk/pull/61#discussion_r1473436245 and a very similar approach...

I'm using bazel `7.0.2` right now. Compilation with command: ```bazel build //apps/playground-android --fat_apk_cpu=arm64-v8a --android_crosstool_top=@androidndk//:toolchain --noincompatible_enable_android_toolchain_resolution``` works fine. But I'd like to build it with command: ```bazel build //apps/playground-android --android_platforms=//apps/playground-android:android_arm64_platform``` `android_arm64_platform`...

I'm building an app with Bazel and `flutter` (which sadly is not integrated at all) and was puzzled when I realized `ANDROID_NDK_HOME` is completely ignored by the latest version of...

enhancement
good first issue

The rule now ignores `ANDROID_NDK_HOME` and defaults to downloading the `r25c` NDK for the current platform (failing if the platform is not supported). One can specify three new attributes: -...

clang version 14.0.7 bazel 5.3.0 The minimal source code `source.cc` is ```c++ #include struct S { S() { // std::ios_base::Init init; std::cout

`android_ndk_repository` in `rules.bzl` is currently hard-coded for Linux.

enhancement
P1

How do I get access to NDK headers `android/log.h`, `android_native_app_glue.h`, etc. This does not seem to be documented.

This makes it possible to enable C++ toolchain resolution in Bazel.

I have a working prototype of downloading the NDK directly in Bazel for both Linux and macOS. Would that be something interesting to contribute in `rules_android_ndk`? I find providing the...

I'm trying to upgrade a [project](https://github.com/ngzhian/cpuinfo/tree/workspace) to use rules_android_ndk (from the packaged one) and am facing some issues: ``` $ bazel build :cpuinfo --cpu=arm64-v8a --crosstool_top=@androidndk//:toolchain --host_crosstool_top=@bazel_tools//tools/cpp:toolchain ERROR: /usr/local/google/home/zhin/.cache/bazel/_bazel_zhin/6c29bbe1edd74d1c184bd5850967e7c9/external/androidndk/BUILD:9:6: no such...