redefine properly the android api in CMakeList instead of redefining the api for each project. Cleaning CMake flags to prevent obsolete cache value from being used. Temporarily duplicated sanitizer flags definition while we can't get them properly from cache
AAUDIO sanitizer test
2019-11-14 17:24:43.031 10742-10768/? I/org.linphone.tester: SUMMARY: AddressSanitizer: heap-use-after-free (/data/app/org.linphone.tester-9EiGEJ7ghqCLSH2OZO-bQQ==/lib/arm64/libmsaaudio.so+0xc1b3) 2019-11-14 17:24:43.032 10742-10768/? I/org.linphone.tester: Shadow bytes around the buggy address: 2019-11-14 17:24:43.032 10742-10768/? I/org.linphone.tester: 0x0017e0000670: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 2019-11-14 17:24:43.032 10742-10768/? I/org.linphone.tester: 0x0017e0000680: 00 00 00 00 00 00 00 00 00 00 00 00 00 fa fa fa 2019-11-14 17:24:43.032 10742-10768/? I/org.linphone.tester: 0x0017e0000690: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd 2019-11-14 17:24:43.032 10742-10768/? I/org.linphone.tester: 0x0017e00006a0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 2019-11-14 17:24:43.032 10742-10768/? I/org.linphone.tester: 0x0017e00006b0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 2019-11-14 17:24:43.032 10742-10768/? I/org.linphone.tester: =>0x0017e00006c0: fd fd fd[fd]fd fd fd fd fd fd fa fa fa fa fa fa 2019-11-14 17:24:43.032 10742-10768/? I/org.linphone.tester: 0x0017e00006d0: fa fa fa fa 00 00 00 00 00 00 00 00 00 00 00 00 2019-11-14 17:24:43.032 10742-10768/? I/org.linphone.tester: 0x0017e00006e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 2019-11-14 17:24:43.032 10742-10768/? I/org.linphone.tester: 0x0017e00006f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 2019-11-14 17:24:43.032 10742-10768/? I/org.linphone.tester: 0x0017e0000700: 00 00 00 00 00 fa fa fa fa fa fa fa fa fa fa fa 2019-11-14 17:24:43.032 10742-10768/? I/org.linphone.tester: 0x0017e0000710: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 2019-11-14 17:24:43.032 10742-10768/? I/org.linphone.tester: Shadow byte legend (one shadow byte represents 8 application bytes):