1package {
2    default_applicable_licenses: ["Android-Apache-2.0"],
3}
4
5filegroup {
6    name: "bedstead-enterprise-common-srcs",
7    srcs: [
8        "src/main/kotlin/com/android/bedstead/enterprise/annotations/*.kt",
9        "src/main/kotlin/com/android/bedstead/enterprise/annotations/*.java",
10        "src/main/kotlin/com/android/bedstead/enterprise/annotations/parameterized/*.kt",
11        "src/main/kotlin/com/android/bedstead/enterprise/annotations/parameterized/*.java",
12    ],
13}
14
15//TODO(b/336991736) below filegroup is temporary for compatibility with other repositories
16filegroup {
17    name: "bedstead-enterprise-harrier-temporary-srcs",
18    srcs: [
19        "src/main/kotlin/**/*.kt",
20        "src/main/kotlin/**/*.java",
21    ],
22}
23
24android_library {
25    name: "bedstead-enterprise",
26    srcs: [
27        "src/main/kotlin/**/*.kt",
28        "src/main/kotlin/**/*.java",
29    ],
30    manifest: "src/main/AndroidManifest.xml",
31    min_sdk_version: "29",
32    static_libs: [
33        "bedstead-multiuser",
34        "Harrier",
35        "Nene",
36    ],
37}
38
39android_test {
40    name: "bedstead-enterprise-test",
41    srcs: [
42        "src/test/kotlin/**/*.kt",
43        "src/test/kotlin/**/*.java",
44    ],
45    test_suites: [
46        "general-tests",
47    ],
48    static_libs: [
49        "Harrier",
50        "Nene",
51        "bedstead-multiuser",
52        "bedstead-enterprise",
53        "truth",
54        "testng", // used for assertThrows
55    ],
56    manifest: "src/test/AndroidManifest.xml",
57    min_sdk_version: "29",
58}
59