• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
15// Make test APK
16// ============================================================
17
18package {
19    default_applicable_licenses: ["Android-Apache-2.0"],
20}
21
22android_test {
23    name: "FrameworkOnDevicePersonalizationTests",
24    srcs: [
25        "**/*.java",
26        "**/*.aidl"
27    ],
28    defaults: ["framework-ondevicepersonalization-test-defaults"],
29    min_sdk_version: "Tiramisu",
30    sdk_version: "module_current",
31    target_sdk_version: "Tiramisu",
32    static_libs: [
33        "androidx.test.core",
34        "androidx.test.ext.junit",
35        "androidx.test.rules",
36        "frameworks-base-testutils",
37        "guava",
38        "libprotobuf-java-lite",
39        "tensorflow_core_proto_java_lite",
40        "mockito-target-minus-junit4",
41        "ondevicepersonalization-testing-utils",
42        "truth",
43        "compatibility-device-util-axt",
44    ],
45    libs: [
46        "android.test.runner.stubs",
47        "android.test.base.stubs",
48        "framework-connectivity",
49    ],
50    test_mainline_modules: ["com.google.android.ondevicepersonalization.apex"],
51    test_suites: [
52        "general-tests",
53        "mts-ondevicepersonalization",
54    ],
55    test_config: "AndroidTest.xml",
56}
57