Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutotoolsToolchain] Improve Android cross-compilation UX #17470

Merged
merged 10 commits into from
Dec 18, 2024

Conversation

franramirez688
Copy link
Contributor

@franramirez688 franramirez688 commented Dec 16, 2024

Changelog: Feature: AutotoolsToolchain uses user's variables when Android cross-compilation at first.
Changelog: Feature: AutotoolsToolchain checks if Android cross-compilation paths exist.
Docs: conan-io/docs#3951
Closes: #17441
Closes: #16809

@franramirez688 franramirez688 changed the title [android] AutotoolsToolchain and MesonToolchain user choices [android] AutotoolsToolchain user choices Dec 16, 2024
@franramirez688 franramirez688 marked this pull request as ready for review December 16, 2024 15:45
@franramirez688 franramirez688 changed the title [android] AutotoolsToolchain user choices [AutotoolsToolchain] Improve Android cross-compilation UX Dec 16, 2024
@@ -69,10 +69,8 @@ def __init__(self, conanfile, namespace=None, prefix="/"):
# If cross-building and tools.android:ndk_path is defined, let's try to guess the Android
# cross-building flags
self.android_cross_flags = self._resolve_android_cross_compilation()
# Host triplet
if self.android_cross_flags:
self._host = self.android_cross_flags.pop("host")
Copy link
Contributor Author

@franramirez688 franramirez688 Dec 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@czoido czoido merged commit 586f983 into conan-io:develop2 Dec 18, 2024
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants