-
Notifications
You must be signed in to change notification settings - Fork 258
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
ndk-which should work with different ABIs #56
Comments
maybe add "--abi x86" or something. should probably move to python at the same time to benefit Windows users (rather than do bash argument parsing). |
https://android-review.googlesource.com/c/platform/ndk/+/722891 added --abi and switched the default. https://android-review.googlesource.com/c/platform/ndk/+/723009 cherrypicked this for r18 beta 2. |
Merged into r18. |
mehulagg
pushed a commit
to mehulagg/superproject
that referenced
this issue
Dec 21, 2019
* Update ndk from branch 'master' to e1f0ad12fc317c0ca3183529cc9625d3f084d981 - Merge "ndk-which: support all ABIs." - ndk-which: support all ABIs. Also switch the default to armeabi-v7a rather than armeabi which was removed in r17. We should probably just remove this tool, but as long as it's there, we should make it work. Bug: android/ndk#755 Bug: android/ndk#56 Test: `ndk-which --abi x86 objdump` and `ndk-which objdump` Change-Id: I034ee26d1a695bf771a0f38e0097650b61a78ca6
mehulagg
pushed a commit
to mehulagg/superproject
that referenced
this issue
Dec 21, 2019
* Update ndk from branch 'master' to e1f0ad12fc317c0ca3183529cc9625d3f084d981 - Merge "ndk-which: support all ABIs." - ndk-which: support all ABIs. Also switch the default to armeabi-v7a rather than armeabi which was removed in r17. We should probably just remove this tool, but as long as it's there, we should make it work. Bug: android/ndk#755 Bug: android/ndk#56 Test: `ndk-which --abi x86 objdump` and `ndk-which objdump` Change-Id: I034ee26d1a695bf771a0f38e0097650b61a78ca6
mehulagg
pushed a commit
to mehulagg/superproject
that referenced
this issue
Dec 21, 2019
* Update ndk from branch 'master' to e1f0ad12fc317c0ca3183529cc9625d3f084d981 - Merge "ndk-which: support all ABIs." - ndk-which: support all ABIs. Also switch the default to armeabi-v7a rather than armeabi which was removed in r17. We should probably just remove this tool, but as long as it's there, we should make it work. Bug: android/ndk#755 Bug: android/ndk#56 Test: `ndk-which --abi x86 objdump` and `ndk-which objdump` Change-Id: I034ee26d1a695bf771a0f38e0097650b61a78ca6
mehulagg
pushed a commit
to mehulagg/superproject
that referenced
this issue
Dec 21, 2019
* Update ndk from branch 'ndk-release-r18' to 477efcead24f1107e0200bbf75176913b38e9d01 - Merge "ndk-which: support all ABIs." into ndk-release-r18 - ndk-which: support all ABIs. Also switch the default to armeabi-v7a rather than armeabi which was removed in r17. We should probably just remove this tool, but as long as it's there, we should make it work. Bug: android/ndk#755 Bug: android/ndk#56 Test: `ndk-which --abi x86 objdump` and `ndk-which objdump` Change-Id: I034ee26d1a695bf771a0f38e0097650b61a78ca6 (cherry picked from commit e97023726375a8bd49a0e4da376b1da12624c3b3)
mehulagg
pushed a commit
to mehulagg/superproject
that referenced
this issue
Dec 21, 2019
* Update ndk from branch 'ndk-release-r18' to ed20dd9dd6b153bd13d412ad4a6843bd74fcd0cb - Merge "ndk-which: require exact ABI strings" into ndk-release-r18 - ndk-which: require exact ABI strings e.g. Allow x86, but not x86-foo or foo-x86. Bug: android/ndk#755 Bug: android/ndk#56 Test: `ndk-which --abi x86-foo objdump` Test: `ndk-which --abi foo-x86 objdump` Change-Id: If9bc43847265be90b432a3cb7b112040580726c8 (cherry picked from commit d626c3f2673f7e2681eba5090524f49d44cfb429)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ndk-which
uses only the armeabi ABI.in my specific case
ndk-which strip
gives$NDK_ROOT/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-strip
when what I want is$NDK_ROOT/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android-strip
.I think that ndk-which shall accept an optional argument or change it's behaviour from the current environment.
Best regards.
The text was updated successfully, but these errors were encountered: