[android] Enable several C++ Interop and other tests
Also, update NDK and Ubuntu versions to the latest in the Android doc, enable inline bridging when building the compiler for Android, and update the default arch set by build-script to AArch64, as that is by far the most commonly used now.
These C++ Interop tests were all disabled over the years because of build errors with the Android NDK, but @hyp's recent pull #72161 adding a modularized Bionic module map fixed them and the inline bridging issue in the compiler itself. Alex, let me know if these tests all pass for you too.
@drodriguez, perhaps you'd like to take a look at this pull too.
@swift-ci please smoke test
Sigh, File "/home/build-user/swift/test/lit.cfg", line 618, in <module> toolchain_lib_dir = make_path(config.swift_lib_dir, 'swift', 'android' if kIsAndroid else host_os) NameError: name 'kIsAndroid' is not defined.
I had simply hacked in make_path(config.swift_lib_dir, 'swift', 'android') in my local testing and then cleaned it up with the kIsAndroid check before submitting, without checking if that variable had been defined yet.
I'll clean that up and run the validation suite natively on Android on the entirety of this pull before asking for another CI run.
Alright, fixed the lit.cfg error and ran this entire pull through the compiler validation suite natively on Android, before splitting it up into narrower commits and rebasing it here.
This is ready for review and another CI run.
@kateinoigakukun, need a CI run here.
@egorzhdan, maybe you can review.
@rauhul, need a CI run here.
@bnbarham, ready for a CI run here.
@swift-ci please test
Alright, passed CI, just need @egorzhdan or some one to review.
@etcwilde, if you would review the few remaining Android changes, we can get this in.
@bnbarham, ready for merge.
@hyp, would you merge?
Sorry, missed initial ping. Merged!