1package {
2    default_applicable_licenses: ["Android-Apache-2.0"],
3}
4
5// TODO(b/203507664): Remove NeneInternal once we no longer need QUERY_ALL_PACKAGES to install
6android_library {
7    name: "NeneInternal",
8    sdk_version: "test_current",
9    srcs: [
10        "src/main/java/**/*.java"
11    ],
12    manifest: "src/main/AndroidManifestInternal.xml",
13    static_libs: [
14        "compatibility-device-util-axt",
15        "guava",
16        "Queryable",
17        "RemoteFrameworkClasses"
18    ],
19    min_sdk_version: "27"
20}
21
22android_library {
23    name: "Nene",
24    sdk_version: "test_current",
25    srcs: [
26        "src/main/java/**/*.java"
27    ],
28    manifest: "src/main/AndroidManifest.xml",
29    static_libs: [
30        "compatibility-device-util-axt",
31        "guava",
32        "Queryable",
33        "RemoteFrameworkClasses"
34    ],
35    min_sdk_version: "27"
36}
37
38android_test {
39    name: "NeneTest",
40    srcs: [
41        "src/test/java/**/*.java"
42    ],
43    test_suites: [
44        "general-tests",
45    ],
46    static_libs: [
47        "TestApp",
48        "Nene",
49        "EventLib",
50        "Harrier",
51        "androidx.test.ext.junit",
52        "ctstestrunner-axt",
53        "compatibility-device-util-axt",
54        "truth-prebuilt",
55        "testng" // for assertThrows
56    ],
57    data: [":NeneTestApp1"],
58    manifest: "src/test/AndroidManifest.xml",
59    min_sdk_version: "27"
60}
61
62android_test_helper_app {
63    name: "NeneTestApp1",
64    static_libs: [
65        "EventLib"
66    ],
67    manifest: "testapps/TestApp1.xml",
68    min_sdk_version: "27"
69}
70