1// Copyright (C) 2018 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_team: "trendy_team_renderscript_nnapi",
17    default_applicable_licenses: ["Android-Apache-2.0"],
18}
19
20java_library_static {
21    name: "test-composers-tests",
22    srcs: ["src/**/*.java"],
23    sdk_version: "current",
24    host_supported: true,
25    libs: [
26        "guava",
27        "test-composers",
28        "truth",
29    ],
30    target: {
31        android: {
32            libs: [
33                "junit",
34                "mockito-target",
35            ],
36        },
37        host: {
38            libs: [
39                "junit-host",
40                "mockito",
41                "objenesis",
42            ],
43        },
44    },
45}
46
47//#####################################
48
49java_test_host {
50    name: "HostTestComposersTests",
51    static_libs: [
52        "guava",
53        "junit-host",
54        "test-composers",
55        "test-composers-tests",
56        "truth",
57        "mockito",
58        "objenesis",
59    ],
60}
61