How to skip tests when compiling AOSP module like SystemUI?
11:10 23 May 2026

When running mmm frameworks/base/packages/SystemUI, it compiles tests such as [100% 51/51 47s remaining] //frameworks/base/packages/SystemUI/tests:SystemUITests install SystemUITests.apk [common].

DISABLE_ROBO_RUN_TESTS=true skips Robolectric tests, but can I skip compiling tests entirely?

android-source