1//
2// Copyright (C) 2019 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8//      http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15//
16
17android_test {
18    name: "TextClassifierServiceTest",
19
20    manifest: "AndroidManifest.xml",
21
22    srcs: [
23        "src/**/*.java",
24    ],
25
26    static_libs: [
27        "androidx.test.ext.junit",
28        "androidx.test.rules",
29        "androidx.test.espresso.core",
30        "androidx.test.ext.truth",
31        "mockito-target-minus-junit4",
32        "ub-uiautomator",
33        "testng",
34        "compatibility-device-util-axt",
35        "androidx.room_room-runtime",
36        "TextClassifierServiceLib",
37        "statsdprotolite",
38        "textclassifierprotoslite",
39    ],
40
41    jni_libs: [
42        "libtextclassifier",
43        "libdexmakerjvmtiagent"
44    ],
45
46    test_suites: [
47        "device-tests", "mts"
48    ],
49
50    plugins: ["androidx.room_room-compiler-plugin",],
51    platform_apis: true,
52    use_embedded_native_libs: true,
53    compile_multilib: "both",
54
55    instrumentation_for: "TextClassifierService",
56}