xref: /aosp_15_r20/frameworks/base/services/tests/security/intrusiondetection/Android.bp (revision d57664e9bc4670b3ecf6748a746a57c557b6bc9e)
1package {
2    default_team: "trendy_team_platform_security",
3    // See: http://go/android-license-faq
4    // A large-scale-change added 'default_applicable_licenses' to import
5    // all of the 'license_kinds' from "frameworks_base_license"
6    // to get the below license kinds:
7    //   SPDX-license-identifier-Apache-2.0
8    default_applicable_licenses: ["frameworks_base_license"],
9}
10
11android_test {
12    name: "IntrusionDetectionServiceTests",
13    srcs: [
14        "src/**/*.java",
15    ],
16
17    static_libs: [
18        "androidx.test.core",
19        "androidx.test.rules",
20        "androidx.test.runner",
21        "compatibility-device-util-axt",
22        "coretests-aidl",
23        "frameworks-base-testutils",
24        "junit",
25        "platform-test-annotations",
26        "servicestests-utils",
27        "services.core",
28        "truth",
29        "Nene",
30        "Harrier",
31        "TestApp",
32    ],
33    data: [
34        ":TestIntrusionDetectionApp",
35    ],
36
37    platform_apis: true,
38
39    test_suites: [
40        "device-tests",
41        "automotive-tests",
42    ],
43
44    certificate: "platform",
45    dxflags: ["--multi-dex"],
46    optimize: {
47        enabled: false,
48    },
49}
50