xref: /aosp_15_r20/external/skia/tools/testrunners/unit/android_unit_test.bzl (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1"""This module defines the android_unit_test macro."""
2
3load("//tools/testrunners/common/android:android_test.bzl", "android_test")
4
5def android_unit_test(deps = [], **kwargs):
6    """Defines an Android unit test.
7
8    This macro is just a wrapper around the android_test macro with the necessary defaults for
9    Android unit tests. See the android_test macro documentation for details.
10
11    Args:
12        deps: Dependencies for this test to run.
13        **kwargs: Any arguments to pass to the underlying android_test macro instance.
14    """
15    android_test(deps = deps + [
16        "//tools/testrunners/unit:testrunner",
17    ], **kwargs)
18