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    default_applicable_licenses: ["Android-Apache-2.0"],
17}
18
19android_test {
20    name: "OnDevicePersonalizationManualTests",
21    srcs: [
22        "src/**/*.java",
23        ":ondevicepersonalization-sources",
24        ":ondevicepersonalization-fbs",
25        ":chronicle-sources",
26        ":statslog-ondevicepersonalization-java-gen",
27        ":common-ondevicepersonalization-sources",
28    ],
29    libs: [
30        "android.test.base",
31        "android.test.runner",
32        "framework-adservices", // For user consent
33        "framework-annotations-lib",
34        "framework-configinfrastructure",
35        "framework-connectivity.stubs.module_lib",
36        "framework-location.stubs.module_lib",
37        "kotlin-annotations",
38        "truth",
39        "framework-ondevicepersonalization.impl",
40        "framework-statsd.stubs.module_lib", // For WW logging
41    ],
42    static_libs: [
43        "androidx.test.ext.junit",
44        "androidx.test.ext.truth",
45        "androidx.test.rules",
46        "kotlin-stdlib",
47        "kotlin-test",
48        "kotlinx-coroutines-android",
49        "mobile_data_downloader_lib",
50        "modules-utils-build",
51        "ondevicepersonalization-protos",
52        "ondevicepersonalization-plugin-lib",
53        "apache-velocity-engine-core",
54        "flatbuffers-java",
55        "modules-utils-list-slice",
56        "owasp-java-encoder",
57        "tensorflowlite_java",
58        "adservices-shared-spe",
59    ],
60    sdk_version: "module_current",
61    target_sdk_version: "current",
62    min_sdk_version: "Tiramisu",
63    test_suites: [
64        "general-tests",
65    ],
66    manifest: "AndroidManifest.xml",
67    test_config: "AndroidTest.xml",
68    jni_libs: [
69        "libdexmakerjvmtiagent",
70        "libstaticjvmtiagent",
71        "libfcp_cpp_dep_jni",
72    ],
73}
74