xref: /aosp_15_r20/cts/tests/ondeviceintelligence/Android.bp (revision b7c941bb3fa97aba169d73cee0bed2de8ac964bf)
1// Copyright (C) 2022 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//      http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15package {
16    // See: http://go/android-license-faq
17    default_applicable_licenses: [
18        "Android-Apache-2.0",
19    ],
20}
21
22android_test {
23    name: "CtsOnDeviceIntelligenceServiceTestCases",
24    team: "trendy_team_machine_learning",
25    defaults: ["cts_defaults"],
26    dex_preopt: {
27        enabled: false,
28    },
29    optimize: {
30        enabled: false,
31    },
32    platform_apis: true,
33    static_libs: [
34        "androidx.test.rules",
35        "androidx.test.ext.junit",
36        "androidx.test.core",
37        "compatibility-device-util-axt",
38        "platform-test-annotations",
39        "compatibility-device-util-axt",
40        "cts-wm-util",
41        "android.app.ondeviceintelligence-aconfig-java",
42        "android-common",
43        "android-support-v4",
44        "libprotobuf-java-nano",
45    ],
46    libs: [
47        "android.test.base.stubs.system",
48        "android.test.runner.stubs.system",
49    ],
50    srcs: [
51        "src/**/*.java",
52        "src/**/*.proto",
53    ],
54    // Tag this module as a cts test artifact
55    test_suites: [
56        "cts",
57        "general-tests",
58    ],
59    proto: {
60        type: "nano",
61    },
62    target_sdk_version: "current",
63}
64