xref: /aosp_15_r20/test/catbox/tools/catbox-tradefed/Android.bp (revision cf2b7170afc0c862dd83220c810a915824e7d4c6)
1*cf2b7170SAndroid Build Coastguard Worker// Copyright (C) 2021 The Android Open Source Project
2*cf2b7170SAndroid Build Coastguard Worker//
3*cf2b7170SAndroid Build Coastguard Worker// Licensed under the Apache License, Version 2.0 (the "License");
4*cf2b7170SAndroid Build Coastguard Worker// you may not use this file except in compliance with the License.
5*cf2b7170SAndroid Build Coastguard Worker// You may obtain a copy of the License at
6*cf2b7170SAndroid Build Coastguard Worker//
7*cf2b7170SAndroid Build Coastguard Worker//      http://www.apache.org/licenses/LICENSE-2.0
8*cf2b7170SAndroid Build Coastguard Worker//
9*cf2b7170SAndroid Build Coastguard Worker// Unless required by applicable law or agreed to in writing, software
10*cf2b7170SAndroid Build Coastguard Worker// distributed under the License is distributed on an "AS IS" BASIS,
11*cf2b7170SAndroid Build Coastguard Worker// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12*cf2b7170SAndroid Build Coastguard Worker// See the License for the specific language governing permissions and
13*cf2b7170SAndroid Build Coastguard Worker// limitations under the License.
14*cf2b7170SAndroid Build Coastguard Worker
15*cf2b7170SAndroid Build Coastguard Workerpackage {
16*cf2b7170SAndroid Build Coastguard Worker    default_applicable_licenses: ["Android-Apache-2.0"],
17*cf2b7170SAndroid Build Coastguard Worker}
18*cf2b7170SAndroid Build Coastguard Worker
19*cf2b7170SAndroid Build Coastguard Workerjava_library_host {
20*cf2b7170SAndroid Build Coastguard Worker    name: "catbox-tradefed-lib",
21*cf2b7170SAndroid Build Coastguard Worker    java_resource_dirs: ["res"],
22*cf2b7170SAndroid Build Coastguard Worker    static_libs: [
23*cf2b7170SAndroid Build Coastguard Worker        "cts-tradefed-harness",
24*cf2b7170SAndroid Build Coastguard Worker        "catbox-common",
25*cf2b7170SAndroid Build Coastguard Worker        "catbox-preparer-lib",
26*cf2b7170SAndroid Build Coastguard Worker        "catbox-report-lib",
27*cf2b7170SAndroid Build Coastguard Worker    ],
28*cf2b7170SAndroid Build Coastguard Worker    required: ["compatibility-host-util"],
29*cf2b7170SAndroid Build Coastguard Worker}
30*cf2b7170SAndroid Build Coastguard Worker
31*cf2b7170SAndroid Build Coastguard Workertradefed_binary_host {
32*cf2b7170SAndroid Build Coastguard Worker    name: "catbox-tradefed",
33*cf2b7170SAndroid Build Coastguard Worker    java_resource_dirs: ["res"],
34*cf2b7170SAndroid Build Coastguard Worker    wrapper: "etc/catbox-tradefed",
35*cf2b7170SAndroid Build Coastguard Worker    short_name: "CATBOX",
36*cf2b7170SAndroid Build Coastguard Worker    full_name: "Complete Automotive Test in a Box",
37*cf2b7170SAndroid Build Coastguard Worker    version: "1.0",
38*cf2b7170SAndroid Build Coastguard Worker    static_libs: [
39*cf2b7170SAndroid Build Coastguard Worker        "cts-tradefed-harness",
40*cf2b7170SAndroid Build Coastguard Worker        "catbox-common",
41*cf2b7170SAndroid Build Coastguard Worker        "catbox-preparer-lib",
42*cf2b7170SAndroid Build Coastguard Worker        "catbox-test-runner-lib",
43*cf2b7170SAndroid Build Coastguard Worker    ],
44*cf2b7170SAndroid Build Coastguard Worker    required: [
45*cf2b7170SAndroid Build Coastguard Worker        "compatibility-host-util",
46*cf2b7170SAndroid Build Coastguard Worker        "catbox-report-lib",
47*cf2b7170SAndroid Build Coastguard Worker    ],
48*cf2b7170SAndroid Build Coastguard Worker}
49