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.stubs.system", 31 "android.test.runner.stubs.system", 32 "framework-adservices.stubs.module_lib", // For user consent 33 "framework-annotations-lib", 34 "framework-configinfrastructure.stubs.module_lib", 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 "federated-compute-java-proto-lite", 47 "kotlin-stdlib", 48 "kotlin-test", 49 "kotlinx-coroutines-android", 50 "mobile_data_downloader_lib", 51 "modules-utils-build", 52 "ondevicepersonalization-protos", 53 "ondevicepersonalization-plugin-lib", 54 "apache-velocity-engine-core", 55 "flatbuffers-java", 56 "modules-utils-list-slice", 57 "owasp-java-encoder", 58 "tensorflowlite_java", 59 "adservices-shared-spe", 60 ], 61 sdk_version: "module_current", 62 target_sdk_version: "current", 63 min_sdk_version: "Tiramisu", 64 test_suites: [ 65 "general-tests", 66 ], 67 manifest: "AndroidManifest.xml", 68 test_config: "AndroidTest.xml", 69 jni_libs: [ 70 "libdexmakerjvmtiagent", 71 "libstaticjvmtiagent", 72 "libfcp_cpp_dep_jni", 73 ], 74} 75