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        "Harrier",
42        "Nene",
43        "bedstead-root",
44        "truth",
45        "testng", // used for assertThrows
46    ],
47    manifest: "src/test/AndroidManifest.xml",
48    min_sdk_version: "29",
49}
50