Comments (10)
That's how ndk-build deals with it. If it's an option for you it's going to be the most future proof path.
from rules_android_ndk.
cc @cpsauer have you looked at this at all?
from rules_android_ndk.
After some testing it seems like #41 is roughly what would be required for the simplest case
from rules_android_ndk.
I don't see anything about this in the changelog so far https://github.com/android/ndk/wiki/Changelog-r26, but maybe that kind of re-arranging isn't documented either
from rules_android_ndk.
Haven't yet, Keith, but really appreciate your moving this along.
Closest was trying to merge in support for major improvements in the backwards compatibility story (like Apple's @availables
) in #27
[I rather suspect Google probably has all this in their internal version, so maybe we can get a Googler to help export or otherwise facilitate collaboration? Really wish there were a good way to collaborate rather than this being a fork.]
from rules_android_ndk.
I updated my PR to be backwards compatible, but would definitely love to hear from @ahumesky if this is the right path #41
from rules_android_ndk.
We don't document when clang internals move around, no (we aren't usually aware that it's happened). The libandroid_support removal is a part of the kitkat removal. It was never needed for minSdkVersion >= 21
. The changelog really only documents user facing changes, not build system maintainer things. https://android.googlesource.com/platform/ndk/+/master/docs/BuildSystemMaintainers.md is the source for that (and it was missing the lib directory rename, so https://android-review.googlesource.com/c/platform/ndk/+/2670239 fixes that).
(I agree we probably should maintain a separate "changes" list in that build system maintainers doc, but it's next to impossible for me to go write that after the fact)
from rules_android_ndk.
Thanks for the context! So seems like my changes are alright, but maybe we should improve this further by calling -print-resource-dir
which I think would be fine for us to do
from rules_android_ndk.
from rules_android_ndk.
#42 is merged
from rules_android_ndk.
Related Issues (20)
- Cross compilation issues HOT 9
- Support cc toolchain resolution HOT 1
- Error when using unsupported NDK directory HOT 1
- Run app in an emulator in presubmit tests
- Does this project support bazel 5.2.0? HOT 19
- Remove "ndk/"-prefixed include path compatibility workarounds HOT 2
- Missing "default_crosstool" or "toolchain-libcpp" causing some Google dependencies fail to build for Android.
- How to correctly link to liblog? HOT 3
- Cross compilation issues with FFMPEG with Android HOT 4
- Building cc_binary with rules unable to find cc_toolchain_suite
- Adding downloading of NDK inside Bazel HOT 5
- ERROR: --nouse_workers_with_dexbuilder :: Unrecognized option: --nouse_workers_with_dexbuilder with Bazel@HEAD HOT 1
- NDK headers HOT 5
- Is Android NDK r25c support? HOT 3
- `std::cout` isn't initialized before any user-defined static initialization HOT 2
- Proposal: use a path relative to `ANDROID_HOME` like in Android Gradle Plugins
- Building with `--android_platforms=//:arm64` returns error. HOT 1
- [Bazel CI] Unable to fetch rules_android_maven: "empty string" HOT 1
- [Bazel CI] Error: Both --enable_bzlmod and --enable_workspace are disabled
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rules_android_ndk.