Skip to main content

android

RuleDescription
android_aarAn android_aar() rule is used to generate an Android AAR.
android_app_modularityAn android_app_modularity() rule is used to determine the modular structure of an Android app.
android_binaryAn android_binary() rule is used to generate an Android APK.
android_build_configAn android_build_config() rule is used to generate a BuildConfig class with global configuration variables that other android_library() rules can compile against.
android_bundleAn android_bundle() rule is used to generate an Android App Bundle (AAB).
android_emulators
android_instrumentation_apkAn android_instrumentation_apk() rule is used to generate an Android Instrumentation APK.
android_instrumentation_testAn android_instrumentation_test() rule is used to define apks that should be used to run Android instrumentation tests.
android_libraryAn android_library() rule is used to define a set of Java files that can be compiled together against the Android SDK.
android_manifestAn android_manifest() rule is used to generate an Android Manifest to be used by android_binary() and android_aar() rules.
android_prebuilt_aarAn android_prebuilt_aar() rule takes an .aar file and makes it available as an Android dependency.
android_resourceAn android_resource() rule is used to bundle Android resources that are traditionally stored in res and assets directories.
apk_genruleAn apk_genrule() rule is used to post-process an APK.
gen_aidlA gen_aidl() rule is used to generate .java files from .aidl files.
keystoreA keystore() contains the data for a key pair created by the keytool executable that comes with the JDK.
ndk_toolchain
prebuilt_native_libraryA prebuilt_native_library() rule is used to bundle native libraries (i.e., .so files) for Android.
robolectric_testA robolectric_test() rule is used to define a set of .java files that contain tests to run via JUnit with Robolectric test runner.