xref: /aosp_15_r20/cts/common/device-side/bedstead/modules/permissions/Android.bp (revision b7c941bb3fa97aba169d73cee0bed2de8ac964bf)
1package {
2    default_team: "trendy_team_enterprise",
3}
4
5// Because of the complex circular dependencies involving the permissions module so far
6// we have only separated the source code but it is still included as part of the build targets for
7// Harrier and Nene. We need to split Harrier and Nene into core targets to get the dependencies
8// flowing in a single direction to split these targets
9filegroup {
10    name: "bedstead-permissions-common-srcs",
11    srcs: [
12        "src/main/kotlin/com/android/bedstead/permissions/annotations/*.kt",
13        "src/main/kotlin/com/android/bedstead/permissions/annotations/*.java",
14        "src/main/kotlin/com/android/bedstead/permissions/CommonPermissions.java",
15    ],
16}
17
18filegroup {
19    name: "bedstead-permissions-harrier-srcs",
20    srcs: [
21        "src/main/kotlin/com/android/bedstead/permissions/*.kt",
22    ],
23}
24
25filegroup {
26    name: "bedstead-permissions-nene-srcs",
27    srcs: [
28        "src/main/kotlin/com/android/bedstead/permissions/*.java",
29    ],
30}
31
32android_test {
33    name: "bedstead-permissions-test",
34    srcs: [
35        "src/test/kotlin/**/*.kt",
36    ],
37    test_suites: [
38        "general-tests",
39    ],
40    static_libs: [
41        "bedstead",
42        "bedstead-root",
43        "truth",
44        "testng", // used for assertThrows
45    ],
46    manifest: "src/test/AndroidManifest.xml",
47    min_sdk_version: "29",
48}
49