Instead of using Gradle to build emulator-base, instead use CMake.