1// Copyright (C) 2023 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.
14package {
15    default_applicable_licenses: ["Android-Apache-2.0"],
16}
17
18android_test {
19    name: "AdServicesSharedLibrariesUnitTests",
20    srcs: [
21        "java/**/*.java",
22        ":adservices-shared-sideless-meta-testing-sources",
23        ":adservices-shared-sideless-tests-sources",
24    ],
25    defaults: ["adservices-shared-extended-mockito-defaults"],
26    static_libs: [
27        "adservices-shared-common",
28        "adservices-shared-error-logging",
29        "adservices-shared-exceptions",
30        "adservices-shared-mockito-expectations",
31        "adservices-shared-proto-lite",
32        "adservices-shared-proto-utils",
33        "adservices-shared-spe",
34        "adservices-shared-storage",
35        "adservices-shared-testing",
36        "adservices-shared-util",
37        "androidx.test.core",
38        "androidx.test.runner",
39        "auto_value_annotations",
40        "truth",
41    ],
42    plugins: ["auto_annotation_plugin"],
43    min_sdk_version: "30",
44    test_suites: [
45        "general-tests",
46        "mts-adservices",
47    ],
48}
49