- Detect Android toolchain target arch and set runtime library name appropriately.
- Merged a lot of Android and non-Android code paths.
- Android is only supported in standalone build of compiler-rt now.
- Linking lsan-common in ASan-Android (makes lsan annotations work).
- Relying on -fsanitize=address linker flag when building tests (again, unification with non-Android path).
- Runtime library moved from lib/asan to lib/linux for some reason. It's probably better this way.
Btw, why separate compiler setting for tests? Will it go away when we switch to standalone build?
While you're here, please mention OUTPUT_NAME in the comment.